Mercurial > dwindows
comparison configure @ 663:86c404056262
Updated revision control version of configure script to support Cocoa.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 25 Feb 2011 15:30:24 +0000 |
parents | 903a8f7bcb7c |
children | 39d848c20c05 |
comparison
equal
deleted
inserted
replaced
662:d7badd5606ca | 663:86c404056262 |
---|---|
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.65. | 3 # Generated by GNU Autoconf 2.68. |
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 Free Software Foundation, | 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
8 # Inc. | 8 # Foundation, 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= | |
92 case $0 in #(( | 93 case $0 in #(( |
93 *[\\/]* ) as_myself=$0 ;; | 94 *[\\/]* ) as_myself=$0 ;; |
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
95 for as_dir in $PATH | 96 for as_dir in $PATH |
96 do | 97 do |
212 | 213 |
213 if test "x$CONFIG_SHELL" != x; then : | 214 if test "x$CONFIG_SHELL" != x; then : |
214 # We cannot yet assume a decent shell, so we have to provide a | 215 # We cannot yet assume a decent shell, so we have to provide a |
215 # neutralization value for shells without unset; and this also | 216 # neutralization value for shells without unset; and this also |
216 # works around shells that cannot unset nonexistent variables. | 217 # works around shells that cannot unset nonexistent variables. |
218 # Preserve -v and -x to the replacement shell. | |
217 BASH_ENV=/dev/null | 219 BASH_ENV=/dev/null |
218 ENV=/dev/null | 220 ENV=/dev/null |
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
220 export CONFIG_SHELL | 222 export CONFIG_SHELL |
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | 223 case $- in # (((( |
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+"$@"} | |
222 fi | 230 fi |
223 | 231 |
224 if test x$as_have_required = xno; then : | 232 if test x$as_have_required = xno; then : |
225 $as_echo "$0: This script requires a shell more modern than all" | 233 $as_echo "$0: This script requires a shell more modern than all" |
226 $as_echo "$0: the shells that I found on your system." | 234 $as_echo "$0: the shells that I found on your system." |
314 } | 322 } |
315 s/.*/./; q'` | 323 s/.*/./; q'` |
316 test -d "$as_dir" && break | 324 test -d "$as_dir" && break |
317 done | 325 done |
318 test -z "$as_dirs" || eval "mkdir $as_dirs" | 326 test -z "$as_dirs" || eval "mkdir $as_dirs" |
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | 327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
320 | 328 |
321 | 329 |
322 } # as_fn_mkdir_p | 330 } # as_fn_mkdir_p |
323 # as_fn_append VAR VALUE | 331 # as_fn_append VAR VALUE |
324 # ---------------------- | 332 # ---------------------- |
354 as_val=`expr "$@" || test $? -eq 1` | 362 as_val=`expr "$@" || test $? -eq 1` |
355 } | 363 } |
356 fi # as_fn_arith | 364 fi # as_fn_arith |
357 | 365 |
358 | 366 |
359 # as_fn_error ERROR [LINENO LOG_FD] | 367 # as_fn_error STATUS ERROR [LINENO LOG_FD] |
360 # --------------------------------- | 368 # ---------------------------------------- |
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
363 # script with status $?, using 1 if that was 0. | 371 # script with STATUS, using 1 if that was 0. |
364 as_fn_error () | 372 as_fn_error () |
365 { | 373 { |
366 as_status=$?; test $as_status -eq 0 && as_status=1 | 374 as_status=$1; test $as_status -eq 0 && as_status=1 |
367 if test "$3"; then | 375 if test "$4"; then |
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | 377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
370 fi | 378 fi |
371 $as_echo "$as_me: error: $1" >&2 | 379 $as_echo "$as_me: error: $2" >&2 |
372 as_fn_exit $as_status | 380 as_fn_exit $as_status |
373 } # as_fn_error | 381 } # as_fn_error |
374 | 382 |
375 if expr a : '\(a\)' >/dev/null 2>&1 && | 383 if expr a : '\(a\)' >/dev/null 2>&1 && |
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 384 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
528 | 536 |
529 test -n "$DJDIR" || exec 7<&0 </dev/null | 537 test -n "$DJDIR" || exec 7<&0 </dev/null |
530 exec 6>&1 | 538 exec 6>&1 |
531 | 539 |
532 # Name of the host. | 540 # Name of the host. |
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
534 # so uname gets run too. | 542 # so uname gets run too. |
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
536 | 544 |
537 # | 545 # |
538 # Initializations. | 546 # Initializations. |
596 ARCH | 604 ARCH |
597 INSTALL_COMPAT | 605 INSTALL_COMPAT |
598 COMPAT_OBJECT | 606 COMPAT_OBJECT |
599 BROWSER_OBJECT | 607 BROWSER_OBJECT |
600 DW_DEFINE | 608 DW_DEFINE |
609 DW_DIR | |
601 DW_SRC | 610 DW_SRC |
602 SONAME | 611 SONAME |
603 SOSUFFIX | 612 SOSUFFIX |
604 SHAREDFLAG | 613 SHAREDFLAG |
605 MKDIR | 614 MKDIR |
706 LDFLAGS | 715 LDFLAGS |
707 LIBS | 716 LIBS |
708 CPPFLAGS | 717 CPPFLAGS |
709 CXX | 718 CXX |
710 CXXFLAGS | 719 CXXFLAGS |
720 LDFLAGS | |
721 LIBS | |
722 CPPFLAGS | |
711 CCC | 723 CCC |
712 CPP' | 724 CPP' |
713 | 725 |
714 | 726 |
715 # Initialize some variables set by options. | 727 # Initialize some variables set by options. |
770 ac_prev= | 782 ac_prev= |
771 continue | 783 continue |
772 fi | 784 fi |
773 | 785 |
774 case $ac_option in | 786 case $ac_option in |
775 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | 787 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
776 *) ac_optarg=yes ;; | 788 *=) ac_optarg= ;; |
789 *) ac_optarg=yes ;; | |
777 esac | 790 esac |
778 | 791 |
779 # Accept the important Cygnus configure options, so we can diagnose typos. | 792 # Accept the important Cygnus configure options, so we can diagnose typos. |
780 | 793 |
781 case $ac_dashdash$ac_option in | 794 case $ac_dashdash$ac_option in |
816 | 829 |
817 -disable-* | --disable-*) | 830 -disable-* | --disable-*) |
818 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 831 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
819 # Reject names that are not valid shell variable names. | 832 # Reject names that are not valid shell variable names. |
820 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 833 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
821 as_fn_error "invalid feature name: $ac_useropt" | 834 as_fn_error $? "invalid feature name: $ac_useropt" |
822 ac_useropt_orig=$ac_useropt | 835 ac_useropt_orig=$ac_useropt |
823 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 836 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
824 case $ac_user_opts in | 837 case $ac_user_opts in |
825 *" | 838 *" |
826 "enable_$ac_useropt" | 839 "enable_$ac_useropt" |
842 | 855 |
843 -enable-* | --enable-*) | 856 -enable-* | --enable-*) |
844 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 857 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
845 # Reject names that are not valid shell variable names. | 858 # Reject names that are not valid shell variable names. |
846 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 859 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
847 as_fn_error "invalid feature name: $ac_useropt" | 860 as_fn_error $? "invalid feature name: $ac_useropt" |
848 ac_useropt_orig=$ac_useropt | 861 ac_useropt_orig=$ac_useropt |
849 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 862 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
850 case $ac_user_opts in | 863 case $ac_user_opts in |
851 *" | 864 *" |
852 "enable_$ac_useropt" | 865 "enable_$ac_useropt" |
1046 | 1059 |
1047 -with-* | --with-*) | 1060 -with-* | --with-*) |
1048 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1061 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1049 # Reject names that are not valid shell variable names. | 1062 # Reject names that are not valid shell variable names. |
1050 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1051 as_fn_error "invalid package name: $ac_useropt" | 1064 as_fn_error $? "invalid package name: $ac_useropt" |
1052 ac_useropt_orig=$ac_useropt | 1065 ac_useropt_orig=$ac_useropt |
1053 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1066 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1054 case $ac_user_opts in | 1067 case $ac_user_opts in |
1055 *" | 1068 *" |
1056 "with_$ac_useropt" | 1069 "with_$ac_useropt" |
1062 | 1075 |
1063 -without-* | --without-*) | 1076 -without-* | --without-*) |
1064 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1077 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1065 # Reject names that are not valid shell variable names. | 1078 # Reject names that are not valid shell variable names. |
1066 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1067 as_fn_error "invalid package name: $ac_useropt" | 1080 as_fn_error $? "invalid package name: $ac_useropt" |
1068 ac_useropt_orig=$ac_useropt | 1081 ac_useropt_orig=$ac_useropt |
1069 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1082 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1070 case $ac_user_opts in | 1083 case $ac_user_opts in |
1071 *" | 1084 *" |
1072 "with_$ac_useropt" | 1085 "with_$ac_useropt" |
1092 ac_prev=x_libraries ;; | 1105 ac_prev=x_libraries ;; |
1093 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1106 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1094 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1107 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1095 x_libraries=$ac_optarg ;; | 1108 x_libraries=$ac_optarg ;; |
1096 | 1109 |
1097 -*) as_fn_error "unrecognized option: \`$ac_option' | 1110 -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1098 Try \`$0 --help' for more information." | 1111 Try \`$0 --help' for more information" |
1099 ;; | 1112 ;; |
1100 | 1113 |
1101 *=*) | 1114 *=*) |
1102 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1115 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1103 # Reject names that are not valid shell variable names. | 1116 # Reject names that are not valid shell variable names. |
1104 case $ac_envvar in #( | 1117 case $ac_envvar in #( |
1105 '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1118 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1106 as_fn_error "invalid variable name: \`$ac_envvar'" ;; | 1119 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1107 esac | 1120 esac |
1108 eval $ac_envvar=\$ac_optarg | 1121 eval $ac_envvar=\$ac_optarg |
1109 export $ac_envvar ;; | 1122 export $ac_envvar ;; |
1110 | 1123 |
1111 *) | 1124 *) |
1112 # FIXME: should be removed in autoconf 3.0. | 1125 # FIXME: should be removed in autoconf 3.0. |
1113 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 1126 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1114 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1127 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1115 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 1128 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1116 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 1129 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1117 ;; | 1130 ;; |
1118 | 1131 |
1119 esac | 1132 esac |
1120 done | 1133 done |
1121 | 1134 |
1122 if test -n "$ac_prev"; then | 1135 if test -n "$ac_prev"; then |
1123 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1136 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1124 as_fn_error "missing argument to $ac_option" | 1137 as_fn_error $? "missing argument to $ac_option" |
1125 fi | 1138 fi |
1126 | 1139 |
1127 if test -n "$ac_unrecognized_opts"; then | 1140 if test -n "$ac_unrecognized_opts"; then |
1128 case $enable_option_checking in | 1141 case $enable_option_checking in |
1129 no) ;; | 1142 no) ;; |
1130 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | 1143 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1131 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 1144 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1132 esac | 1145 esac |
1133 fi | 1146 fi |
1134 | 1147 |
1135 # Check all directory arguments for consistency. | 1148 # Check all directory arguments for consistency. |
1148 # Be sure to have absolute directory names. | 1161 # Be sure to have absolute directory names. |
1149 case $ac_val in | 1162 case $ac_val in |
1150 [\\/$]* | ?:[\\/]* ) continue;; | 1163 [\\/$]* | ?:[\\/]* ) continue;; |
1151 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1164 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1152 esac | 1165 esac |
1153 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" | 1166 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1154 done | 1167 done |
1155 | 1168 |
1156 # There might be people who depend on the old broken behavior: `$host' | 1169 # There might be people who depend on the old broken behavior: `$host' |
1157 # used to hold the argument of --host etc. | 1170 # used to hold the argument of --host etc. |
1158 # FIXME: To remove some day. | 1171 # FIXME: To remove some day. |
1162 | 1175 |
1163 # FIXME: To remove some day. | 1176 # FIXME: To remove some day. |
1164 if test "x$host_alias" != x; then | 1177 if test "x$host_alias" != x; then |
1165 if test "x$build_alias" = x; then | 1178 if test "x$build_alias" = x; then |
1166 cross_compiling=maybe | 1179 cross_compiling=maybe |
1167 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 1180 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1168 If a cross compiler is detected then cross compile mode will be used." >&2 | 1181 If a cross compiler is detected then cross compile mode will be used" >&2 |
1169 elif test "x$build_alias" != "x$host_alias"; then | 1182 elif test "x$build_alias" != "x$host_alias"; then |
1170 cross_compiling=yes | 1183 cross_compiling=yes |
1171 fi | 1184 fi |
1172 fi | 1185 fi |
1173 | 1186 |
1178 | 1191 |
1179 | 1192 |
1180 ac_pwd=`pwd` && test -n "$ac_pwd" && | 1193 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1181 ac_ls_di=`ls -di .` && | 1194 ac_ls_di=`ls -di .` && |
1182 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1195 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1183 as_fn_error "working directory cannot be determined" | 1196 as_fn_error $? "working directory cannot be determined" |
1184 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1197 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1185 as_fn_error "pwd does not report name of working directory" | 1198 as_fn_error $? "pwd does not report name of working directory" |
1186 | 1199 |
1187 | 1200 |
1188 # Find the source files, if location was not specified. | 1201 # Find the source files, if location was not specified. |
1189 if test -z "$srcdir"; then | 1202 if test -z "$srcdir"; then |
1190 ac_srcdir_defaulted=yes | 1203 ac_srcdir_defaulted=yes |
1219 else | 1232 else |
1220 ac_srcdir_defaulted=no | 1233 ac_srcdir_defaulted=no |
1221 fi | 1234 fi |
1222 if test ! -r "$srcdir/$ac_unique_file"; then | 1235 if test ! -r "$srcdir/$ac_unique_file"; then |
1223 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1236 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1224 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" | 1237 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1225 fi | 1238 fi |
1226 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1239 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1227 ac_abs_confdir=`( | 1240 ac_abs_confdir=`( |
1228 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" | 1241 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1229 pwd)` | 1242 pwd)` |
1230 # When building in place, set srcdir=. | 1243 # When building in place, set srcdir=. |
1231 if test "$ac_abs_confdir" = "$ac_pwd"; then | 1244 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1232 srcdir=. | 1245 srcdir=. |
1233 fi | 1246 fi |
1263 Configuration: | 1276 Configuration: |
1264 -h, --help display this help and exit | 1277 -h, --help display this help and exit |
1265 --help=short display options specific to this package | 1278 --help=short display options specific to this package |
1266 --help=recursive display the short help of all the included packages | 1279 --help=recursive display the short help of all the included packages |
1267 -V, --version display version information and exit | 1280 -V, --version display version information and exit |
1268 -q, --quiet, --silent do not print \`checking...' messages | 1281 -q, --quiet, --silent do not print \`checking ...' messages |
1269 --cache-file=FILE cache test results in FILE [disabled] | 1282 --cache-file=FILE cache test results in FILE [disabled] |
1270 -C, --config-cache alias for \`--cache-file=config.cache' | 1283 -C, --config-cache alias for \`--cache-file=config.cache' |
1271 -n, --no-create do not create output files | 1284 -n, --no-create do not create output files |
1272 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1285 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1273 | 1286 |
1414 | 1427 |
1415 test -n "$ac_init_help" && exit $ac_status | 1428 test -n "$ac_init_help" && exit $ac_status |
1416 if $ac_init_version; then | 1429 if $ac_init_version; then |
1417 cat <<\_ACEOF | 1430 cat <<\_ACEOF |
1418 configure | 1431 configure |
1419 generated by GNU Autoconf 2.65 | 1432 generated by GNU Autoconf 2.68 |
1420 | 1433 |
1421 Copyright (C) 2009 Free Software Foundation, Inc. | 1434 Copyright (C) 2010 Free Software Foundation, Inc. |
1422 This configure script is free software; the Free Software Foundation | 1435 This configure script is free software; the Free Software Foundation |
1423 gives unlimited permission to copy, distribute and modify it. | 1436 gives unlimited permission to copy, distribute and modify it. |
1424 _ACEOF | 1437 _ACEOF |
1425 exit | 1438 exit |
1426 fi | 1439 fi |
1460 $as_echo "$as_me: failed program was:" >&5 | 1473 $as_echo "$as_me: failed program was:" >&5 |
1461 sed 's/^/| /' conftest.$ac_ext >&5 | 1474 sed 's/^/| /' conftest.$ac_ext >&5 |
1462 | 1475 |
1463 ac_retval=1 | 1476 ac_retval=1 |
1464 fi | 1477 fi |
1465 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1478 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1466 as_fn_set_status $ac_retval | 1479 as_fn_set_status $ac_retval |
1467 | 1480 |
1468 } # ac_fn_c_try_compile | 1481 } # ac_fn_c_try_compile |
1469 | 1482 |
1470 # ac_fn_cxx_try_compile LINENO | 1483 # ac_fn_cxx_try_compile LINENO |
1498 $as_echo "$as_me: failed program was:" >&5 | 1511 $as_echo "$as_me: failed program was:" >&5 |
1499 sed 's/^/| /' conftest.$ac_ext >&5 | 1512 sed 's/^/| /' conftest.$ac_ext >&5 |
1500 | 1513 |
1501 ac_retval=1 | 1514 ac_retval=1 |
1502 fi | 1515 fi |
1503 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1516 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1504 as_fn_set_status $ac_retval | 1517 as_fn_set_status $ac_retval |
1505 | 1518 |
1506 } # ac_fn_cxx_try_compile | 1519 } # ac_fn_cxx_try_compile |
1507 | 1520 |
1508 # ac_fn_c_try_cpp LINENO | 1521 # ac_fn_c_try_cpp LINENO |
1524 grep -v '^ *+' conftest.err >conftest.er1 | 1537 grep -v '^ *+' conftest.err >conftest.er1 |
1525 cat conftest.er1 >&5 | 1538 cat conftest.er1 >&5 |
1526 mv -f conftest.er1 conftest.err | 1539 mv -f conftest.er1 conftest.err |
1527 fi | 1540 fi |
1528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 1541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1529 test $ac_status = 0; } >/dev/null && { | 1542 test $ac_status = 0; } > conftest.i && { |
1530 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | 1543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1531 test ! -s conftest.err | 1544 test ! -s conftest.err |
1532 }; then : | 1545 }; then : |
1533 ac_retval=0 | 1546 ac_retval=0 |
1534 else | 1547 else |
1535 $as_echo "$as_me: failed program was:" >&5 | 1548 $as_echo "$as_me: failed program was:" >&5 |
1536 sed 's/^/| /' conftest.$ac_ext >&5 | 1549 sed 's/^/| /' conftest.$ac_ext >&5 |
1537 | 1550 |
1538 ac_retval=1 | 1551 ac_retval=1 |
1539 fi | 1552 fi |
1540 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1541 as_fn_set_status $ac_retval | 1554 as_fn_set_status $ac_retval |
1542 | 1555 |
1543 } # ac_fn_c_try_cpp | 1556 } # ac_fn_c_try_cpp |
1544 | 1557 |
1545 # ac_fn_c_try_run LINENO | 1558 # ac_fn_c_try_run LINENO |
1577 sed 's/^/| /' conftest.$ac_ext >&5 | 1590 sed 's/^/| /' conftest.$ac_ext >&5 |
1578 | 1591 |
1579 ac_retval=$ac_status | 1592 ac_retval=$ac_status |
1580 fi | 1593 fi |
1581 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 1594 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1582 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1595 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1583 as_fn_set_status $ac_retval | 1596 as_fn_set_status $ac_retval |
1584 | 1597 |
1585 } # ac_fn_c_try_run | 1598 } # ac_fn_c_try_run |
1586 | 1599 |
1587 # ac_fn_c_try_link LINENO | 1600 # ac_fn_c_try_link LINENO |
1623 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | 1636 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1624 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | 1637 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1625 # interfere with the next link command; also delete a directory that is | 1638 # interfere with the next link command; also delete a directory that is |
1626 # left behind by Apple's compiler. We do this before executing the actions. | 1639 # left behind by Apple's compiler. We do this before executing the actions. |
1627 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 1640 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1628 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1629 as_fn_set_status $ac_retval | 1642 as_fn_set_status $ac_retval |
1630 | 1643 |
1631 } # ac_fn_c_try_link | 1644 } # ac_fn_c_try_link |
1632 | 1645 |
1633 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | 1646 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1636 # the include files in INCLUDES and setting the cache variable VAR | 1649 # the include files in INCLUDES and setting the cache variable VAR |
1637 # accordingly. | 1650 # accordingly. |
1638 ac_fn_c_check_header_mongrel () | 1651 ac_fn_c_check_header_mongrel () |
1639 { | 1652 { |
1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1641 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1654 if eval \${$3+:} false; then : |
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1643 $as_echo_n "checking for $2... " >&6; } | 1656 $as_echo_n "checking for $2... " >&6; } |
1644 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1657 if eval \${$3+:} false; then : |
1645 $as_echo_n "(cached) " >&6 | 1658 $as_echo_n "(cached) " >&6 |
1646 fi | 1659 fi |
1647 eval ac_res=\$$3 | 1660 eval ac_res=\$$3 |
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1649 $as_echo "$ac_res" >&6; } | 1662 $as_echo "$ac_res" >&6; } |
1675 if ac_fn_c_try_cpp "$LINENO"; then : | 1688 if ac_fn_c_try_cpp "$LINENO"; then : |
1676 ac_header_preproc=yes | 1689 ac_header_preproc=yes |
1677 else | 1690 else |
1678 ac_header_preproc=no | 1691 ac_header_preproc=no |
1679 fi | 1692 fi |
1680 rm -f conftest.err conftest.$ac_ext | 1693 rm -f conftest.err conftest.i conftest.$ac_ext |
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | 1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1682 $as_echo "$ac_header_preproc" >&6; } | 1695 $as_echo "$ac_header_preproc" >&6; } |
1683 | 1696 |
1684 # So? What about this header? | 1697 # So? What about this header? |
1685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | 1698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
1702 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 1715 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1703 ;; | 1716 ;; |
1704 esac | 1717 esac |
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1706 $as_echo_n "checking for $2... " >&6; } | 1719 $as_echo_n "checking for $2... " >&6; } |
1707 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1720 if eval \${$3+:} false; then : |
1708 $as_echo_n "(cached) " >&6 | 1721 $as_echo_n "(cached) " >&6 |
1709 else | 1722 else |
1710 eval "$3=\$ac_header_compiler" | 1723 eval "$3=\$ac_header_compiler" |
1711 fi | 1724 fi |
1712 eval ac_res=\$$3 | 1725 eval ac_res=\$$3 |
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1714 $as_echo "$ac_res" >&6; } | 1727 $as_echo "$ac_res" >&6; } |
1715 fi | 1728 fi |
1716 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1717 | 1730 |
1718 } # ac_fn_c_check_header_mongrel | 1731 } # ac_fn_c_check_header_mongrel |
1719 | 1732 |
1720 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | 1733 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1721 # ------------------------------------------------------- | 1734 # ------------------------------------------------------- |
1724 ac_fn_c_check_header_compile () | 1737 ac_fn_c_check_header_compile () |
1725 { | 1738 { |
1726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1728 $as_echo_n "checking for $2... " >&6; } | 1741 $as_echo_n "checking for $2... " >&6; } |
1729 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1742 if eval \${$3+:} false; then : |
1730 $as_echo_n "(cached) " >&6 | 1743 $as_echo_n "(cached) " >&6 |
1731 else | 1744 else |
1732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1733 /* end confdefs.h. */ | 1746 /* end confdefs.h. */ |
1734 $4 | 1747 $4 |
1742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 1755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1743 fi | 1756 fi |
1744 eval ac_res=\$$3 | 1757 eval ac_res=\$$3 |
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1746 $as_echo "$ac_res" >&6; } | 1759 $as_echo "$ac_res" >&6; } |
1747 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1748 | 1761 |
1749 } # ac_fn_c_check_header_compile | 1762 } # ac_fn_c_check_header_compile |
1750 | 1763 |
1751 # ac_fn_c_check_func LINENO FUNC VAR | 1764 # ac_fn_c_check_func LINENO FUNC VAR |
1752 # ---------------------------------- | 1765 # ---------------------------------- |
1754 ac_fn_c_check_func () | 1767 ac_fn_c_check_func () |
1755 { | 1768 { |
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1758 $as_echo_n "checking for $2... " >&6; } | 1771 $as_echo_n "checking for $2... " >&6; } |
1759 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1772 if eval \${$3+:} false; then : |
1760 $as_echo_n "(cached) " >&6 | 1773 $as_echo_n "(cached) " >&6 |
1761 else | 1774 else |
1762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1763 /* end confdefs.h. */ | 1776 /* end confdefs.h. */ |
1764 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | 1777 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
1809 conftest$ac_exeext conftest.$ac_ext | 1822 conftest$ac_exeext conftest.$ac_ext |
1810 fi | 1823 fi |
1811 eval ac_res=\$$3 | 1824 eval ac_res=\$$3 |
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1813 $as_echo "$ac_res" >&6; } | 1826 $as_echo "$ac_res" >&6; } |
1814 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1815 | 1828 |
1816 } # ac_fn_c_check_func | 1829 } # ac_fn_c_check_func |
1817 cat >config.log <<_ACEOF | 1830 cat >config.log <<_ACEOF |
1818 This file contains any messages produced by compilers while | 1831 This file contains any messages produced by compilers while |
1819 running configure, to aid debugging if configure makes a mistake. | 1832 running configure, to aid debugging if configure makes a mistake. |
1820 | 1833 |
1821 It was created by $as_me, which was | 1834 It was created by $as_me, which was |
1822 generated by GNU Autoconf 2.65. Invocation command line was | 1835 generated by GNU Autoconf 2.68. Invocation command line was |
1823 | 1836 |
1824 $ $0 $@ | 1837 $ $0 $@ |
1825 | 1838 |
1826 _ACEOF | 1839 _ACEOF |
1827 exec 5>>config.log | 1840 exec 5>>config.log |
1927 trap 'exit_status=$? | 1940 trap 'exit_status=$? |
1928 # Save into config.log some information that might help in debugging. | 1941 # Save into config.log some information that might help in debugging. |
1929 { | 1942 { |
1930 echo | 1943 echo |
1931 | 1944 |
1932 cat <<\_ASBOX | 1945 $as_echo "## ---------------- ## |
1933 ## ---------------- ## | |
1934 ## Cache variables. ## | 1946 ## Cache variables. ## |
1935 ## ---------------- ## | 1947 ## ---------------- ##" |
1936 _ASBOX | |
1937 echo | 1948 echo |
1938 # The following way of writing the cache mishandles newlines in values, | 1949 # The following way of writing the cache mishandles newlines in values, |
1939 ( | 1950 ( |
1940 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 1951 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1941 eval ac_val=\$$ac_var | 1952 eval ac_val=\$$ac_var |
1965 esac | | 1976 esac | |
1966 sort | 1977 sort |
1967 ) | 1978 ) |
1968 echo | 1979 echo |
1969 | 1980 |
1970 cat <<\_ASBOX | 1981 $as_echo "## ----------------- ## |
1971 ## ----------------- ## | |
1972 ## Output variables. ## | 1982 ## Output variables. ## |
1973 ## ----------------- ## | 1983 ## ----------------- ##" |
1974 _ASBOX | |
1975 echo | 1984 echo |
1976 for ac_var in $ac_subst_vars | 1985 for ac_var in $ac_subst_vars |
1977 do | 1986 do |
1978 eval ac_val=\$$ac_var | 1987 eval ac_val=\$$ac_var |
1979 case $ac_val in | 1988 case $ac_val in |
1982 $as_echo "$ac_var='\''$ac_val'\''" | 1991 $as_echo "$ac_var='\''$ac_val'\''" |
1983 done | sort | 1992 done | sort |
1984 echo | 1993 echo |
1985 | 1994 |
1986 if test -n "$ac_subst_files"; then | 1995 if test -n "$ac_subst_files"; then |
1987 cat <<\_ASBOX | 1996 $as_echo "## ------------------- ## |
1988 ## ------------------- ## | |
1989 ## File substitutions. ## | 1997 ## File substitutions. ## |
1990 ## ------------------- ## | 1998 ## ------------------- ##" |
1991 _ASBOX | |
1992 echo | 1999 echo |
1993 for ac_var in $ac_subst_files | 2000 for ac_var in $ac_subst_files |
1994 do | 2001 do |
1995 eval ac_val=\$$ac_var | 2002 eval ac_val=\$$ac_var |
1996 case $ac_val in | 2003 case $ac_val in |
2000 done | sort | 2007 done | sort |
2001 echo | 2008 echo |
2002 fi | 2009 fi |
2003 | 2010 |
2004 if test -s confdefs.h; then | 2011 if test -s confdefs.h; then |
2005 cat <<\_ASBOX | 2012 $as_echo "## ----------- ## |
2006 ## ----------- ## | |
2007 ## confdefs.h. ## | 2013 ## confdefs.h. ## |
2008 ## ----------- ## | 2014 ## ----------- ##" |
2009 _ASBOX | |
2010 echo | 2015 echo |
2011 cat confdefs.h | 2016 cat confdefs.h |
2012 echo | 2017 echo |
2013 fi | 2018 fi |
2014 test "$ac_signal" != 0 && | 2019 test "$ac_signal" != 0 && |
2059 # Let the site file select an alternate cache file if it wants to. | 2064 # Let the site file select an alternate cache file if it wants to. |
2060 # Prefer an explicitly selected file to automatically selected ones. | 2065 # Prefer an explicitly selected file to automatically selected ones. |
2061 ac_site_file1=NONE | 2066 ac_site_file1=NONE |
2062 ac_site_file2=NONE | 2067 ac_site_file2=NONE |
2063 if test -n "$CONFIG_SITE"; then | 2068 if test -n "$CONFIG_SITE"; then |
2064 ac_site_file1=$CONFIG_SITE | 2069 # We do not want a PATH search for 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 | |
2065 elif test "x$prefix" != xNONE; then | 2075 elif test "x$prefix" != xNONE; then |
2066 ac_site_file1=$prefix/share/config.site | 2076 ac_site_file1=$prefix/share/config.site |
2067 ac_site_file2=$prefix/etc/config.site | 2077 ac_site_file2=$prefix/etc/config.site |
2068 else | 2078 else |
2069 ac_site_file1=$ac_default_prefix/share/config.site | 2079 ac_site_file1=$ac_default_prefix/share/config.site |
2074 test "x$ac_site_file" = xNONE && continue | 2084 test "x$ac_site_file" = xNONE && continue |
2075 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 2085 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 2086 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2077 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 2087 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2078 sed 's/^/| /' "$ac_site_file" >&5 | 2088 sed 's/^/| /' "$ac_site_file" >&5 |
2079 . "$ac_site_file" | 2089 . "$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; } | |
2080 fi | 2094 fi |
2081 done | 2095 done |
2082 | 2096 |
2083 if test -r "$cache_file"; then | 2097 if test -r "$cache_file"; then |
2084 # Some versions of bash will fail to source /dev/null (special files | 2098 # Some versions of bash will fail to source /dev/null (special files |
2150 if $ac_cache_corrupted; then | 2164 if $ac_cache_corrupted; then |
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 2167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2154 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2168 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2155 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 2169 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2156 fi | 2170 fi |
2157 ## -------------------- ## | 2171 ## -------------------- ## |
2158 ## Main body of script. ## | 2172 ## Main body of script. ## |
2159 ## -------------------- ## | 2173 ## -------------------- ## |
2160 | 2174 |
2175 TARGET="dwindows" | 2189 TARGET="dwindows" |
2176 TARGET2="dwcompat" | 2190 TARGET2="dwcompat" |
2177 | 2191 |
2178 | 2192 |
2179 | 2193 |
2180 DW_SRC=gtk | 2194 DW_DIR=gtk |
2195 DW_SRC=dw.c | |
2181 DW_DEFINE=__UNIX__ | 2196 DW_DEFINE=__UNIX__ |
2182 SHAREDFLAG=-shared | 2197 SHAREDFLAG=-shared |
2183 SOSUFFIX=so | 2198 SOSUFFIX=so |
2184 | 2199 |
2185 | 2200 |
2195 if test -n "$ac_tool_prefix"; then | 2210 if test -n "$ac_tool_prefix"; then |
2196 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 2211 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2197 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 2212 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2199 $as_echo_n "checking for $ac_word... " >&6; } | 2214 $as_echo_n "checking for $ac_word... " >&6; } |
2200 if test "${ac_cv_prog_CC+set}" = set; then : | 2215 if ${ac_cv_prog_CC+:} false; then : |
2201 $as_echo_n "(cached) " >&6 | 2216 $as_echo_n "(cached) " >&6 |
2202 else | 2217 else |
2203 if test -n "$CC"; then | 2218 if test -n "$CC"; then |
2204 ac_cv_prog_CC="$CC" # Let the user override the test. | 2219 ac_cv_prog_CC="$CC" # Let the user override the test. |
2205 else | 2220 else |
2235 ac_ct_CC=$CC | 2250 ac_ct_CC=$CC |
2236 # Extract the first word of "gcc", so it can be a program name with args. | 2251 # Extract the first word of "gcc", so it can be a program name with args. |
2237 set dummy gcc; ac_word=$2 | 2252 set dummy gcc; ac_word=$2 |
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2239 $as_echo_n "checking for $ac_word... " >&6; } | 2254 $as_echo_n "checking for $ac_word... " >&6; } |
2240 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 2255 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2241 $as_echo_n "(cached) " >&6 | 2256 $as_echo_n "(cached) " >&6 |
2242 else | 2257 else |
2243 if test -n "$ac_ct_CC"; then | 2258 if test -n "$ac_ct_CC"; then |
2244 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2259 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2245 else | 2260 else |
2288 if test -n "$ac_tool_prefix"; then | 2303 if test -n "$ac_tool_prefix"; then |
2289 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 2304 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2290 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 2305 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2292 $as_echo_n "checking for $ac_word... " >&6; } | 2307 $as_echo_n "checking for $ac_word... " >&6; } |
2293 if test "${ac_cv_prog_CC+set}" = set; then : | 2308 if ${ac_cv_prog_CC+:} false; then : |
2294 $as_echo_n "(cached) " >&6 | 2309 $as_echo_n "(cached) " >&6 |
2295 else | 2310 else |
2296 if test -n "$CC"; then | 2311 if test -n "$CC"; then |
2297 ac_cv_prog_CC="$CC" # Let the user override the test. | 2312 ac_cv_prog_CC="$CC" # Let the user override the test. |
2298 else | 2313 else |
2328 if test -z "$CC"; then | 2343 if test -z "$CC"; then |
2329 # Extract the first word of "cc", so it can be a program name with args. | 2344 # Extract the first word of "cc", so it can be a program name with args. |
2330 set dummy cc; ac_word=$2 | 2345 set dummy cc; ac_word=$2 |
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2332 $as_echo_n "checking for $ac_word... " >&6; } | 2347 $as_echo_n "checking for $ac_word... " >&6; } |
2333 if test "${ac_cv_prog_CC+set}" = set; then : | 2348 if ${ac_cv_prog_CC+:} false; then : |
2334 $as_echo_n "(cached) " >&6 | 2349 $as_echo_n "(cached) " >&6 |
2335 else | 2350 else |
2336 if test -n "$CC"; then | 2351 if test -n "$CC"; then |
2337 ac_cv_prog_CC="$CC" # Let the user override the test. | 2352 ac_cv_prog_CC="$CC" # Let the user override the test. |
2338 else | 2353 else |
2387 do | 2402 do |
2388 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 2403 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2389 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2404 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2391 $as_echo_n "checking for $ac_word... " >&6; } | 2406 $as_echo_n "checking for $ac_word... " >&6; } |
2392 if test "${ac_cv_prog_CC+set}" = set; then : | 2407 if ${ac_cv_prog_CC+:} false; then : |
2393 $as_echo_n "(cached) " >&6 | 2408 $as_echo_n "(cached) " >&6 |
2394 else | 2409 else |
2395 if test -n "$CC"; then | 2410 if test -n "$CC"; then |
2396 ac_cv_prog_CC="$CC" # Let the user override the test. | 2411 ac_cv_prog_CC="$CC" # Let the user override the test. |
2397 else | 2412 else |
2431 do | 2446 do |
2432 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2447 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2433 set dummy $ac_prog; ac_word=$2 | 2448 set dummy $ac_prog; ac_word=$2 |
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2435 $as_echo_n "checking for $ac_word... " >&6; } | 2450 $as_echo_n "checking for $ac_word... " >&6; } |
2436 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 2451 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2437 $as_echo_n "(cached) " >&6 | 2452 $as_echo_n "(cached) " >&6 |
2438 else | 2453 else |
2439 if test -n "$ac_ct_CC"; then | 2454 if test -n "$ac_ct_CC"; then |
2440 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2455 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2441 else | 2456 else |
2485 fi | 2500 fi |
2486 | 2501 |
2487 | 2502 |
2488 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2503 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2490 as_fn_error "no acceptable C compiler found in \$PATH | 2505 as_fn_error $? "no acceptable C compiler found in \$PATH |
2491 See \`config.log' for more details." "$LINENO" 5; } | 2506 See \`config.log' for more details" "$LINENO" 5; } |
2492 | 2507 |
2493 # Provide some information about the compiler. | 2508 # Provide some information about the compiler. |
2494 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 2509 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2495 set X $ac_compile | 2510 set X $ac_compile |
2496 ac_compiler=$2 | 2511 ac_compiler=$2 |
2600 $as_echo "$as_me: failed program was:" >&5 | 2615 $as_echo "$as_me: failed program was:" >&5 |
2601 sed 's/^/| /' conftest.$ac_ext >&5 | 2616 sed 's/^/| /' conftest.$ac_ext >&5 |
2602 | 2617 |
2603 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2604 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2605 { as_fn_set_status 77 | 2620 as_fn_error 77 "C compiler cannot create executables |
2606 as_fn_error "C compiler cannot create executables | 2621 See \`config.log' for more details" "$LINENO" 5; } |
2607 See \`config.log' for more details." "$LINENO" 5; }; } | |
2608 else | 2622 else |
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2610 $as_echo "yes" >&6; } | 2624 $as_echo "yes" >&6; } |
2611 fi | 2625 fi |
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | 2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
2644 esac | 2658 esac |
2645 done | 2659 done |
2646 else | 2660 else |
2647 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2661 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2649 as_fn_error "cannot compute suffix of executables: cannot compile and link | 2663 as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
2650 See \`config.log' for more details." "$LINENO" 5; } | 2664 See \`config.log' for more details" "$LINENO" 5; } |
2651 fi | 2665 fi |
2652 rm -f conftest conftest$ac_cv_exeext | 2666 rm -f conftest conftest$ac_cv_exeext |
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2654 $as_echo "$ac_cv_exeext" >&6; } | 2668 $as_echo "$ac_cv_exeext" >&6; } |
2655 | 2669 |
2702 if test "$cross_compiling" = maybe; then | 2716 if test "$cross_compiling" = maybe; then |
2703 cross_compiling=yes | 2717 cross_compiling=yes |
2704 else | 2718 else |
2705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2707 as_fn_error "cannot run C compiled programs. | 2721 as_fn_error $? "cannot run C compiled programs. |
2708 If you meant to cross compile, use \`--host'. | 2722 If you meant to cross compile, use \`--host'. |
2709 See \`config.log' for more details." "$LINENO" 5; } | 2723 See \`config.log' for more details" "$LINENO" 5; } |
2710 fi | 2724 fi |
2711 fi | 2725 fi |
2712 fi | 2726 fi |
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | 2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
2714 $as_echo "$cross_compiling" >&6; } | 2728 $as_echo "$cross_compiling" >&6; } |
2715 | 2729 |
2716 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | 2730 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
2717 ac_clean_files=$ac_clean_files_save | 2731 ac_clean_files=$ac_clean_files_save |
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | 2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
2719 $as_echo_n "checking for suffix of object files... " >&6; } | 2733 $as_echo_n "checking for suffix of object files... " >&6; } |
2720 if test "${ac_cv_objext+set}" = set; then : | 2734 if ${ac_cv_objext+:} false; then : |
2721 $as_echo_n "(cached) " >&6 | 2735 $as_echo_n "(cached) " >&6 |
2722 else | 2736 else |
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2724 /* end confdefs.h. */ | 2738 /* end confdefs.h. */ |
2725 | 2739 |
2755 $as_echo "$as_me: failed program was:" >&5 | 2769 $as_echo "$as_me: failed program was:" >&5 |
2756 sed 's/^/| /' conftest.$ac_ext >&5 | 2770 sed 's/^/| /' conftest.$ac_ext >&5 |
2757 | 2771 |
2758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2772 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2760 as_fn_error "cannot compute suffix of object files: cannot compile | 2774 as_fn_error $? "cannot compute suffix of object files: cannot compile |
2761 See \`config.log' for more details." "$LINENO" 5; } | 2775 See \`config.log' for more details" "$LINENO" 5; } |
2762 fi | 2776 fi |
2763 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 2777 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2764 fi | 2778 fi |
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2766 $as_echo "$ac_cv_objext" >&6; } | 2780 $as_echo "$ac_cv_objext" >&6; } |
2767 OBJEXT=$ac_cv_objext | 2781 OBJEXT=$ac_cv_objext |
2768 ac_objext=$OBJEXT | 2782 ac_objext=$OBJEXT |
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
2770 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 2784 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
2771 if test "${ac_cv_c_compiler_gnu+set}" = set; then : | 2785 if ${ac_cv_c_compiler_gnu+:} false; then : |
2772 $as_echo_n "(cached) " >&6 | 2786 $as_echo_n "(cached) " >&6 |
2773 else | 2787 else |
2774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2775 /* end confdefs.h. */ | 2789 /* end confdefs.h. */ |
2776 | 2790 |
2803 fi | 2817 fi |
2804 ac_test_CFLAGS=${CFLAGS+set} | 2818 ac_test_CFLAGS=${CFLAGS+set} |
2805 ac_save_CFLAGS=$CFLAGS | 2819 ac_save_CFLAGS=$CFLAGS |
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
2807 $as_echo_n "checking whether $CC accepts -g... " >&6; } | 2821 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2808 if test "${ac_cv_prog_cc_g+set}" = set; then : | 2822 if ${ac_cv_prog_cc_g+:} false; then : |
2809 $as_echo_n "(cached) " >&6 | 2823 $as_echo_n "(cached) " >&6 |
2810 else | 2824 else |
2811 ac_save_c_werror_flag=$ac_c_werror_flag | 2825 ac_save_c_werror_flag=$ac_c_werror_flag |
2812 ac_c_werror_flag=yes | 2826 ac_c_werror_flag=yes |
2813 ac_cv_prog_cc_g=no | 2827 ac_cv_prog_cc_g=no |
2881 CFLAGS= | 2895 CFLAGS= |
2882 fi | 2896 fi |
2883 fi | 2897 fi |
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
2885 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 2899 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
2886 if test "${ac_cv_prog_cc_c89+set}" = set; then : | 2900 if ${ac_cv_prog_cc_c89+:} false; then : |
2887 $as_echo_n "(cached) " >&6 | 2901 $as_echo_n "(cached) " >&6 |
2888 else | 2902 else |
2889 ac_cv_prog_cc_c89=no | 2903 ac_cv_prog_cc_c89=no |
2890 ac_save_CC=$CC | 2904 ac_save_CC=$CC |
2891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2992 do | 3006 do |
2993 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 3007 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2994 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 3008 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2996 $as_echo_n "checking for $ac_word... " >&6; } | 3010 $as_echo_n "checking for $ac_word... " >&6; } |
2997 if test "${ac_cv_prog_CXX+set}" = set; then : | 3011 if ${ac_cv_prog_CXX+:} false; then : |
2998 $as_echo_n "(cached) " >&6 | 3012 $as_echo_n "(cached) " >&6 |
2999 else | 3013 else |
3000 if test -n "$CXX"; then | 3014 if test -n "$CXX"; then |
3001 ac_cv_prog_CXX="$CXX" # Let the user override the test. | 3015 ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3002 else | 3016 else |
3036 do | 3050 do |
3037 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3051 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3038 set dummy $ac_prog; ac_word=$2 | 3052 set dummy $ac_prog; ac_word=$2 |
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3040 $as_echo_n "checking for $ac_word... " >&6; } | 3054 $as_echo_n "checking for $ac_word... " >&6; } |
3041 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : | 3055 if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
3042 $as_echo_n "(cached) " >&6 | 3056 $as_echo_n "(cached) " >&6 |
3043 else | 3057 else |
3044 if test -n "$ac_ct_CXX"; then | 3058 if test -n "$ac_ct_CXX"; then |
3045 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 3059 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
3046 else | 3060 else |
3114 test $ac_status = 0; } | 3128 test $ac_status = 0; } |
3115 done | 3129 done |
3116 | 3130 |
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 | 3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
3118 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } | 3132 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
3119 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : | 3133 if ${ac_cv_cxx_compiler_gnu+:} false; then : |
3120 $as_echo_n "(cached) " >&6 | 3134 $as_echo_n "(cached) " >&6 |
3121 else | 3135 else |
3122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3123 /* end confdefs.h. */ | 3137 /* end confdefs.h. */ |
3124 | 3138 |
3151 fi | 3165 fi |
3152 ac_test_CXXFLAGS=${CXXFLAGS+set} | 3166 ac_test_CXXFLAGS=${CXXFLAGS+set} |
3153 ac_save_CXXFLAGS=$CXXFLAGS | 3167 ac_save_CXXFLAGS=$CXXFLAGS |
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 | 3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
3155 $as_echo_n "checking whether $CXX accepts -g... " >&6; } | 3169 $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
3156 if test "${ac_cv_prog_cxx_g+set}" = set; then : | 3170 if ${ac_cv_prog_cxx_g+:} false; then : |
3157 $as_echo_n "(cached) " >&6 | 3171 $as_echo_n "(cached) " >&6 |
3158 else | 3172 else |
3159 ac_save_cxx_werror_flag=$ac_cxx_werror_flag | 3173 ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
3160 ac_cxx_werror_flag=yes | 3174 ac_cxx_werror_flag=yes |
3161 ac_cv_prog_cxx_g=no | 3175 ac_cv_prog_cxx_g=no |
3238 | 3252 |
3239 # Extract the first word of "gmake", so it can be a program name with args. | 3253 # Extract the first word of "gmake", so it can be a program name with args. |
3240 set dummy gmake; ac_word=$2 | 3254 set dummy gmake; ac_word=$2 |
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3242 $as_echo_n "checking for $ac_word... " >&6; } | 3256 $as_echo_n "checking for $ac_word... " >&6; } |
3243 if test "${ac_cv_prog_MAKE+set}" = set; then : | 3257 if ${ac_cv_prog_MAKE+:} false; then : |
3244 $as_echo_n "(cached) " >&6 | 3258 $as_echo_n "(cached) " >&6 |
3245 else | 3259 else |
3246 if test -n "$MAKE"; then | 3260 if test -n "$MAKE"; then |
3247 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | 3261 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. |
3248 else | 3262 else |
3276 if test x"$MAKE" = x; then | 3290 if test x"$MAKE" = x; then |
3277 # Extract the first word of "make", so it can be a program name with args. | 3291 # Extract the first word of "make", so it can be a program name with args. |
3278 set dummy make; ac_word=$2 | 3292 set dummy make; ac_word=$2 |
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3280 $as_echo_n "checking for $ac_word... " >&6; } | 3294 $as_echo_n "checking for $ac_word... " >&6; } |
3281 if test "${ac_cv_prog_MAKE+set}" = set; then : | 3295 if ${ac_cv_prog_MAKE+:} false; then : |
3282 $as_echo_n "(cached) " >&6 | 3296 $as_echo_n "(cached) " >&6 |
3283 else | 3297 else |
3284 if test -n "$MAKE"; then | 3298 if test -n "$MAKE"; then |
3285 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | 3299 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. |
3286 else | 3300 else |
3313 | 3327 |
3314 fi | 3328 fi |
3315 | 3329 |
3316 ac_aux_dir= | 3330 ac_aux_dir= |
3317 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 3331 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
3318 for ac_t in install-sh install.sh shtool; do | 3332 if test -f "$ac_dir/install-sh"; then |
3319 if test -f "$ac_dir/$ac_t"; then | 3333 ac_aux_dir=$ac_dir |
3320 ac_aux_dir=$ac_dir | 3334 ac_install_sh="$ac_aux_dir/install-sh -c" |
3321 ac_install_sh="$ac_aux_dir/$ac_t -c" | 3335 break |
3322 break 2 | 3336 elif test -f "$ac_dir/install.sh"; then |
3323 fi | 3337 ac_aux_dir=$ac_dir |
3324 done | 3338 ac_install_sh="$ac_aux_dir/install.sh -c" |
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 | |
3325 done | 3345 done |
3326 if test -z "$ac_aux_dir"; then | 3346 if test -z "$ac_aux_dir"; then |
3327 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 3347 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
3328 fi | 3348 fi |
3329 | 3349 |
3330 # These three variables are undocumented and unsupported, | 3350 # These three variables are undocumented and unsupported, |
3331 # and are intended to be withdrawn in a future Autoconf release. | 3351 # and are intended to be withdrawn in a future Autoconf release. |
3332 # They can cause serious problems if a builder's source tree is in a directory | 3352 # They can cause serious problems if a builder's source tree is in a directory |
3351 # ./install, which can be erroneously created by make from ./install.sh. | 3371 # ./install, which can be erroneously created by make from ./install.sh. |
3352 # Reject install programs that cannot install multiple files. | 3372 # Reject install programs that cannot install multiple files. |
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | 3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
3354 $as_echo_n "checking for a BSD-compatible install... " >&6; } | 3374 $as_echo_n "checking for a BSD-compatible install... " >&6; } |
3355 if test -z "$INSTALL"; then | 3375 if test -z "$INSTALL"; then |
3356 if test "${ac_cv_path_install+set}" = set; then : | 3376 if ${ac_cv_path_install+:} false; then : |
3357 $as_echo_n "(cached) " >&6 | 3377 $as_echo_n "(cached) " >&6 |
3358 else | 3378 else |
3359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3360 for as_dir in $PATH | 3380 for as_dir in $PATH |
3361 do | 3381 do |
3500 # On Suns, sometimes $CPP names a directory. | 3520 # On Suns, sometimes $CPP names a directory. |
3501 if test -n "$CPP" && test -d "$CPP"; then | 3521 if test -n "$CPP" && test -d "$CPP"; then |
3502 CPP= | 3522 CPP= |
3503 fi | 3523 fi |
3504 if test -z "$CPP"; then | 3524 if test -z "$CPP"; then |
3505 if test "${ac_cv_prog_CPP+set}" = set; then : | 3525 if ${ac_cv_prog_CPP+:} false; then : |
3506 $as_echo_n "(cached) " >&6 | 3526 $as_echo_n "(cached) " >&6 |
3507 else | 3527 else |
3508 # Double quotes because CPP needs to be expanded | 3528 # Double quotes because CPP needs to be expanded |
3509 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 3529 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
3510 do | 3530 do |
3530 | 3550 |
3531 else | 3551 else |
3532 # Broken: fails on valid input. | 3552 # Broken: fails on valid input. |
3533 continue | 3553 continue |
3534 fi | 3554 fi |
3535 rm -f conftest.err conftest.$ac_ext | 3555 rm -f conftest.err conftest.i conftest.$ac_ext |
3536 | 3556 |
3537 # OK, works on sane cases. Now check whether nonexistent headers | 3557 # OK, works on sane cases. Now check whether nonexistent headers |
3538 # can be detected and how. | 3558 # can be detected and how. |
3539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3540 /* end confdefs.h. */ | 3560 /* end confdefs.h. */ |
3546 else | 3566 else |
3547 # Passes both tests. | 3567 # Passes both tests. |
3548 ac_preproc_ok=: | 3568 ac_preproc_ok=: |
3549 break | 3569 break |
3550 fi | 3570 fi |
3551 rm -f conftest.err conftest.$ac_ext | 3571 rm -f conftest.err conftest.i conftest.$ac_ext |
3552 | 3572 |
3553 done | 3573 done |
3554 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3574 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3555 rm -f conftest.err conftest.$ac_ext | 3575 rm -f conftest.i conftest.err conftest.$ac_ext |
3556 if $ac_preproc_ok; then : | 3576 if $ac_preproc_ok; then : |
3557 break | 3577 break |
3558 fi | 3578 fi |
3559 | 3579 |
3560 done | 3580 done |
3589 | 3609 |
3590 else | 3610 else |
3591 # Broken: fails on valid input. | 3611 # Broken: fails on valid input. |
3592 continue | 3612 continue |
3593 fi | 3613 fi |
3594 rm -f conftest.err conftest.$ac_ext | 3614 rm -f conftest.err conftest.i conftest.$ac_ext |
3595 | 3615 |
3596 # OK, works on sane cases. Now check whether nonexistent headers | 3616 # OK, works on sane cases. Now check whether nonexistent headers |
3597 # can be detected and how. | 3617 # can be detected and how. |
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3599 /* end confdefs.h. */ | 3619 /* end confdefs.h. */ |
3605 else | 3625 else |
3606 # Passes both tests. | 3626 # Passes both tests. |
3607 ac_preproc_ok=: | 3627 ac_preproc_ok=: |
3608 break | 3628 break |
3609 fi | 3629 fi |
3610 rm -f conftest.err conftest.$ac_ext | 3630 rm -f conftest.err conftest.i conftest.$ac_ext |
3611 | 3631 |
3612 done | 3632 done |
3613 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3633 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3614 rm -f conftest.err conftest.$ac_ext | 3634 rm -f conftest.i conftest.err conftest.$ac_ext |
3615 if $ac_preproc_ok; then : | 3635 if $ac_preproc_ok; then : |
3616 | 3636 |
3617 else | 3637 else |
3618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3620 as_fn_error "C preprocessor \"$CPP\" fails sanity check | 3640 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
3621 See \`config.log' for more details." "$LINENO" 5; } | 3641 See \`config.log' for more details" "$LINENO" 5; } |
3622 fi | 3642 fi |
3623 | 3643 |
3624 ac_ext=c | 3644 ac_ext=c |
3625 ac_cpp='$CPP $CPPFLAGS' | 3645 ac_cpp='$CPP $CPPFLAGS' |
3626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3628 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3648 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3629 | 3649 |
3630 | 3650 |
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | 3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
3632 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 3652 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
3633 if test "${ac_cv_path_GREP+set}" = set; then : | 3653 if ${ac_cv_path_GREP+:} false; then : |
3634 $as_echo_n "(cached) " >&6 | 3654 $as_echo_n "(cached) " >&6 |
3635 else | 3655 else |
3636 if test -z "$GREP"; then | 3656 if test -z "$GREP"; then |
3637 ac_path_GREP_found=false | 3657 ac_path_GREP_found=false |
3638 # Loop through the user's path and test for each of PROGNAME-LIST | 3658 # Loop through the user's path and test for each of PROGNAME-LIST |
3677 done | 3697 done |
3678 done | 3698 done |
3679 done | 3699 done |
3680 IFS=$as_save_IFS | 3700 IFS=$as_save_IFS |
3681 if test -z "$ac_cv_path_GREP"; then | 3701 if test -z "$ac_cv_path_GREP"; then |
3682 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 3702 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
3683 fi | 3703 fi |
3684 else | 3704 else |
3685 ac_cv_path_GREP=$GREP | 3705 ac_cv_path_GREP=$GREP |
3686 fi | 3706 fi |
3687 | 3707 |
3691 GREP="$ac_cv_path_GREP" | 3711 GREP="$ac_cv_path_GREP" |
3692 | 3712 |
3693 | 3713 |
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | 3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
3695 $as_echo_n "checking for egrep... " >&6; } | 3715 $as_echo_n "checking for egrep... " >&6; } |
3696 if test "${ac_cv_path_EGREP+set}" = set; then : | 3716 if ${ac_cv_path_EGREP+:} false; then : |
3697 $as_echo_n "(cached) " >&6 | 3717 $as_echo_n "(cached) " >&6 |
3698 else | 3718 else |
3699 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 3719 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
3700 then ac_cv_path_EGREP="$GREP -E" | 3720 then ac_cv_path_EGREP="$GREP -E" |
3701 else | 3721 else |
3743 done | 3763 done |
3744 done | 3764 done |
3745 done | 3765 done |
3746 IFS=$as_save_IFS | 3766 IFS=$as_save_IFS |
3747 if test -z "$ac_cv_path_EGREP"; then | 3767 if test -z "$ac_cv_path_EGREP"; then |
3748 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 3768 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
3749 fi | 3769 fi |
3750 else | 3770 else |
3751 ac_cv_path_EGREP=$EGREP | 3771 ac_cv_path_EGREP=$EGREP |
3752 fi | 3772 fi |
3753 | 3773 |
3758 EGREP="$ac_cv_path_EGREP" | 3778 EGREP="$ac_cv_path_EGREP" |
3759 | 3779 |
3760 | 3780 |
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
3762 $as_echo_n "checking for ANSI C header files... " >&6; } | 3782 $as_echo_n "checking for ANSI C header files... " >&6; } |
3763 if test "${ac_cv_header_stdc+set}" = set; then : | 3783 if ${ac_cv_header_stdc+:} false; then : |
3764 $as_echo_n "(cached) " >&6 | 3784 $as_echo_n "(cached) " >&6 |
3765 else | 3785 else |
3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3767 /* end confdefs.h. */ | 3787 /* end confdefs.h. */ |
3768 #include <stdlib.h> | 3788 #include <stdlib.h> |
3873 ac_header_dirent=no | 3893 ac_header_dirent=no |
3874 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do | 3894 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do |
3875 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` | 3895 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 | 3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 |
3877 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } | 3897 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } |
3878 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then : | 3898 if eval \${$as_ac_Header+:} false; then : |
3879 $as_echo_n "(cached) " >&6 | 3899 $as_echo_n "(cached) " >&6 |
3880 else | 3900 else |
3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3882 /* end confdefs.h. */ | 3902 /* end confdefs.h. */ |
3883 #include <sys/types.h> | 3903 #include <sys/types.h> |
3900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3901 fi | 3921 fi |
3902 eval ac_res=\$$as_ac_Header | 3922 eval ac_res=\$$as_ac_Header |
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
3904 $as_echo "$ac_res" >&6; } | 3924 $as_echo "$ac_res" >&6; } |
3905 eval as_val=\$$as_ac_Header | 3925 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
3906 if test "x$as_val" = x""yes; then : | |
3907 cat >>confdefs.h <<_ACEOF | 3926 cat >>confdefs.h <<_ACEOF |
3908 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 | 3927 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
3909 _ACEOF | 3928 _ACEOF |
3910 | 3929 |
3911 ac_header_dirent=$ac_hdr; break | 3930 ac_header_dirent=$ac_hdr; break |
3914 done | 3933 done |
3915 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | 3934 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
3916 if test $ac_header_dirent = dirent.h; then | 3935 if test $ac_header_dirent = dirent.h; then |
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 | 3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
3918 $as_echo_n "checking for library containing opendir... " >&6; } | 3937 $as_echo_n "checking for library containing opendir... " >&6; } |
3919 if test "${ac_cv_search_opendir+set}" = set; then : | 3938 if ${ac_cv_search_opendir+:} false; then : |
3920 $as_echo_n "(cached) " >&6 | 3939 $as_echo_n "(cached) " >&6 |
3921 else | 3940 else |
3922 ac_func_search_save_LIBS=$LIBS | 3941 ac_func_search_save_LIBS=$LIBS |
3923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3924 /* end confdefs.h. */ | 3943 /* end confdefs.h. */ |
3948 if ac_fn_c_try_link "$LINENO"; then : | 3967 if ac_fn_c_try_link "$LINENO"; then : |
3949 ac_cv_search_opendir=$ac_res | 3968 ac_cv_search_opendir=$ac_res |
3950 fi | 3969 fi |
3951 rm -f core conftest.err conftest.$ac_objext \ | 3970 rm -f core conftest.err conftest.$ac_objext \ |
3952 conftest$ac_exeext | 3971 conftest$ac_exeext |
3953 if test "${ac_cv_search_opendir+set}" = set; then : | 3972 if ${ac_cv_search_opendir+:} false; then : |
3954 break | 3973 break |
3955 fi | 3974 fi |
3956 done | 3975 done |
3957 if test "${ac_cv_search_opendir+set}" = set; then : | 3976 if ${ac_cv_search_opendir+:} false; then : |
3958 | 3977 |
3959 else | 3978 else |
3960 ac_cv_search_opendir=no | 3979 ac_cv_search_opendir=no |
3961 fi | 3980 fi |
3962 rm conftest.$ac_ext | 3981 rm conftest.$ac_ext |
3971 fi | 3990 fi |
3972 | 3991 |
3973 else | 3992 else |
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 | 3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
3975 $as_echo_n "checking for library containing opendir... " >&6; } | 3994 $as_echo_n "checking for library containing opendir... " >&6; } |
3976 if test "${ac_cv_search_opendir+set}" = set; then : | 3995 if ${ac_cv_search_opendir+:} false; then : |
3977 $as_echo_n "(cached) " >&6 | 3996 $as_echo_n "(cached) " >&6 |
3978 else | 3997 else |
3979 ac_func_search_save_LIBS=$LIBS | 3998 ac_func_search_save_LIBS=$LIBS |
3980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3981 /* end confdefs.h. */ | 4000 /* end confdefs.h. */ |
4005 if ac_fn_c_try_link "$LINENO"; then : | 4024 if ac_fn_c_try_link "$LINENO"; then : |
4006 ac_cv_search_opendir=$ac_res | 4025 ac_cv_search_opendir=$ac_res |
4007 fi | 4026 fi |
4008 rm -f core conftest.err conftest.$ac_objext \ | 4027 rm -f core conftest.err conftest.$ac_objext \ |
4009 conftest$ac_exeext | 4028 conftest$ac_exeext |
4010 if test "${ac_cv_search_opendir+set}" = set; then : | 4029 if ${ac_cv_search_opendir+:} false; then : |
4011 break | 4030 break |
4012 fi | 4031 fi |
4013 done | 4032 done |
4014 if test "${ac_cv_search_opendir+set}" = set; then : | 4033 if ${ac_cv_search_opendir+:} false; then : |
4015 | 4034 |
4016 else | 4035 else |
4017 ac_cv_search_opendir=no | 4036 ac_cv_search_opendir=no |
4018 fi | 4037 fi |
4019 rm conftest.$ac_ext | 4038 rm conftest.$ac_ext |
4034 inttypes.h stdint.h unistd.h | 4053 inttypes.h stdint.h unistd.h |
4035 do : | 4054 do : |
4036 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4055 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4037 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4056 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
4038 " | 4057 " |
4039 eval as_val=\$$as_ac_Header | 4058 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
4040 if test "x$as_val" = x""yes; then : | |
4041 cat >>confdefs.h <<_ACEOF | 4059 cat >>confdefs.h <<_ACEOF |
4042 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4060 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4043 _ACEOF | 4061 _ACEOF |
4044 | 4062 |
4045 fi | 4063 fi |
4048 | 4066 |
4049 | 4067 |
4050 for ac_header in unistd.h | 4068 for ac_header in unistd.h |
4051 do : | 4069 do : |
4052 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" | 4070 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" |
4053 if test "x$ac_cv_header_unistd_h" = x""yes; then : | 4071 if test "x$ac_cv_header_unistd_h" = xyes; then : |
4054 cat >>confdefs.h <<_ACEOF | 4072 cat >>confdefs.h <<_ACEOF |
4055 #define HAVE_UNISTD_H 1 | 4073 #define HAVE_UNISTD_H 1 |
4056 _ACEOF | 4074 _ACEOF |
4057 | 4075 |
4058 fi | 4076 fi |
4060 done | 4078 done |
4061 | 4079 |
4062 for ac_header in sys/stat.h | 4080 for ac_header in sys/stat.h |
4063 do : | 4081 do : |
4064 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default" | 4082 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default" |
4065 if test "x$ac_cv_header_sys_stat_h" = x""yes; then : | 4083 if test "x$ac_cv_header_sys_stat_h" = xyes; then : |
4066 cat >>confdefs.h <<_ACEOF | 4084 cat >>confdefs.h <<_ACEOF |
4067 #define HAVE_SYS_STAT_H 1 | 4085 #define HAVE_SYS_STAT_H 1 |
4068 _ACEOF | 4086 _ACEOF |
4069 | 4087 |
4070 fi | 4088 fi |
4073 | 4091 |
4074 | 4092 |
4075 for ac_func in pipe | 4093 for ac_func in pipe |
4076 do : | 4094 do : |
4077 ac_fn_c_check_func "$LINENO" "pipe" "ac_cv_func_pipe" | 4095 ac_fn_c_check_func "$LINENO" "pipe" "ac_cv_func_pipe" |
4078 if test "x$ac_cv_func_pipe" = x""yes; then : | 4096 if test "x$ac_cv_func_pipe" = xyes; then : |
4079 cat >>confdefs.h <<_ACEOF | 4097 cat >>confdefs.h <<_ACEOF |
4080 #define HAVE_PIPE 1 | 4098 #define HAVE_PIPE 1 |
4081 _ACEOF | 4099 _ACEOF |
4082 | 4100 |
4083 $as_echo "#define HAVE_PIPE 1" >>confdefs.h | 4101 $as_echo "#define HAVE_PIPE 1" >>confdefs.h |
4087 | 4105 |
4088 | 4106 |
4089 for ac_func in connect | 4107 for ac_func in connect |
4090 do : | 4108 do : |
4091 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" | 4109 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" |
4092 if test "x$ac_cv_func_connect" = x""yes; then : | 4110 if test "x$ac_cv_func_connect" = xyes; then : |
4093 cat >>confdefs.h <<_ACEOF | 4111 cat >>confdefs.h <<_ACEOF |
4094 #define HAVE_CONNECT 1 | 4112 #define HAVE_CONNECT 1 |
4095 _ACEOF | 4113 _ACEOF |
4096 | 4114 |
4097 fi | 4115 fi |
4099 | 4117 |
4100 if test x"$ac_cv_func_connect" = x"no"; then | 4118 if test x"$ac_cv_func_connect" = x"no"; then |
4101 if test -z "$libsocket"; then | 4119 if test -z "$libsocket"; then |
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 | 4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 |
4103 $as_echo_n "checking for socket in -lsocket... " >&6; } | 4121 $as_echo_n "checking for socket in -lsocket... " >&6; } |
4104 if test "${ac_cv_lib_socket_socket+set}" = set; then : | 4122 if ${ac_cv_lib_socket_socket+:} false; then : |
4105 $as_echo_n "(cached) " >&6 | 4123 $as_echo_n "(cached) " >&6 |
4106 else | 4124 else |
4107 ac_check_lib_save_LIBS=$LIBS | 4125 ac_check_lib_save_LIBS=$LIBS |
4108 LIBS="-lsocket $LIBS" | 4126 LIBS="-lsocket $LIBS" |
4109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4133 conftest$ac_exeext conftest.$ac_ext | 4151 conftest$ac_exeext conftest.$ac_ext |
4134 LIBS=$ac_check_lib_save_LIBS | 4152 LIBS=$ac_check_lib_save_LIBS |
4135 fi | 4153 fi |
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 | 4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 |
4137 $as_echo "$ac_cv_lib_socket_socket" >&6; } | 4155 $as_echo "$ac_cv_lib_socket_socket" >&6; } |
4138 if test "x$ac_cv_lib_socket_socket" = x""yes; then : | 4156 if test "x$ac_cv_lib_socket_socket" = xyes; then : |
4139 LIBS="$LIBS -lsocket" | 4157 LIBS="$LIBS -lsocket" |
4140 fi | 4158 fi |
4141 | 4159 |
4142 fi | 4160 fi |
4143 | 4161 |
4144 if test -z "$libinet"; then | 4162 if test -z "$libinet"; then |
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -linet" >&5 | 4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -linet" >&5 |
4146 $as_echo_n "checking for socket in -linet... " >&6; } | 4164 $as_echo_n "checking for socket in -linet... " >&6; } |
4147 if test "${ac_cv_lib_inet_socket+set}" = set; then : | 4165 if ${ac_cv_lib_inet_socket+:} false; then : |
4148 $as_echo_n "(cached) " >&6 | 4166 $as_echo_n "(cached) " >&6 |
4149 else | 4167 else |
4150 ac_check_lib_save_LIBS=$LIBS | 4168 ac_check_lib_save_LIBS=$LIBS |
4151 LIBS="-linet $LIBS" | 4169 LIBS="-linet $LIBS" |
4152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4176 conftest$ac_exeext conftest.$ac_ext | 4194 conftest$ac_exeext conftest.$ac_ext |
4177 LIBS=$ac_check_lib_save_LIBS | 4195 LIBS=$ac_check_lib_save_LIBS |
4178 fi | 4196 fi |
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_socket" >&5 | 4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_socket" >&5 |
4180 $as_echo "$ac_cv_lib_inet_socket" >&6; } | 4198 $as_echo "$ac_cv_lib_inet_socket" >&6; } |
4181 if test "x$ac_cv_lib_inet_socket" = x""yes; then : | 4199 if test "x$ac_cv_lib_inet_socket" = xyes; then : |
4182 libnsl=1; LIBS="$LIBS -linet -lnsl_s" | 4200 libnsl=1; LIBS="$LIBS -linet -lnsl_s" |
4183 fi | 4201 fi |
4184 | 4202 |
4185 fi | 4203 fi |
4186 | 4204 |
4187 if test -z "$libnsl"; then | 4205 if test -z "$libnsl"; then |
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lnsl" >&5 | 4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lnsl" >&5 |
4189 $as_echo_n "checking for gethostname in -lnsl... " >&6; } | 4207 $as_echo_n "checking for gethostname in -lnsl... " >&6; } |
4190 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then : | 4208 if ${ac_cv_lib_nsl_gethostname+:} false; then : |
4191 $as_echo_n "(cached) " >&6 | 4209 $as_echo_n "(cached) " >&6 |
4192 else | 4210 else |
4193 ac_check_lib_save_LIBS=$LIBS | 4211 ac_check_lib_save_LIBS=$LIBS |
4194 LIBS="-lnsl $LIBS" | 4212 LIBS="-lnsl $LIBS" |
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4219 conftest$ac_exeext conftest.$ac_ext | 4237 conftest$ac_exeext conftest.$ac_ext |
4220 LIBS=$ac_check_lib_save_LIBS | 4238 LIBS=$ac_check_lib_save_LIBS |
4221 fi | 4239 fi |
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostname" >&5 | 4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostname" >&5 |
4223 $as_echo "$ac_cv_lib_nsl_gethostname" >&6; } | 4241 $as_echo "$ac_cv_lib_nsl_gethostname" >&6; } |
4224 if test "x$ac_cv_lib_nsl_gethostname" = x""yes; then : | 4242 if test "x$ac_cv_lib_nsl_gethostname" = xyes; then : |
4225 LIBS="$LIBS -lnsl" | 4243 LIBS="$LIBS -lnsl" |
4226 fi | 4244 fi |
4227 | 4245 |
4228 fi | 4246 fi |
4229 fi | 4247 fi |
4230 | 4248 |
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwnam in -lsun" >&5 | 4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwnam in -lsun" >&5 |
4232 $as_echo_n "checking for getpwnam in -lsun... " >&6; } | 4250 $as_echo_n "checking for getpwnam in -lsun... " >&6; } |
4233 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then : | 4251 if ${ac_cv_lib_sun_getpwnam+:} false; then : |
4234 $as_echo_n "(cached) " >&6 | 4252 $as_echo_n "(cached) " >&6 |
4235 else | 4253 else |
4236 ac_check_lib_save_LIBS=$LIBS | 4254 ac_check_lib_save_LIBS=$LIBS |
4237 LIBS="-lsun $LIBS" | 4255 LIBS="-lsun $LIBS" |
4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4262 conftest$ac_exeext conftest.$ac_ext | 4280 conftest$ac_exeext conftest.$ac_ext |
4263 LIBS=$ac_check_lib_save_LIBS | 4281 LIBS=$ac_check_lib_save_LIBS |
4264 fi | 4282 fi |
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sun_getpwnam" >&5 | 4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sun_getpwnam" >&5 |
4266 $as_echo "$ac_cv_lib_sun_getpwnam" >&6; } | 4284 $as_echo "$ac_cv_lib_sun_getpwnam" >&6; } |
4267 if test "x$ac_cv_lib_sun_getpwnam" = x""yes; then : | 4285 if test "x$ac_cv_lib_sun_getpwnam" = xyes; then : |
4268 LIBS="$LIBS -lsun" | 4286 LIBS="$LIBS -lsun" |
4269 fi | 4287 fi |
4270 | 4288 |
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -ldgc" >&5 | 4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -ldgc" >&5 |
4272 $as_echo_n "checking for inet_addr in -ldgc... " >&6; } | 4290 $as_echo_n "checking for inet_addr in -ldgc... " >&6; } |
4273 if test "${ac_cv_lib_dgc_inet_addr+set}" = set; then : | 4291 if ${ac_cv_lib_dgc_inet_addr+:} false; then : |
4274 $as_echo_n "(cached) " >&6 | 4292 $as_echo_n "(cached) " >&6 |
4275 else | 4293 else |
4276 ac_check_lib_save_LIBS=$LIBS | 4294 ac_check_lib_save_LIBS=$LIBS |
4277 LIBS="-ldgc $LIBS" | 4295 LIBS="-ldgc $LIBS" |
4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4302 conftest$ac_exeext conftest.$ac_ext | 4320 conftest$ac_exeext conftest.$ac_ext |
4303 LIBS=$ac_check_lib_save_LIBS | 4321 LIBS=$ac_check_lib_save_LIBS |
4304 fi | 4322 fi |
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_inet_addr" >&5 | 4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_inet_addr" >&5 |
4306 $as_echo "$ac_cv_lib_dgc_inet_addr" >&6; } | 4324 $as_echo "$ac_cv_lib_dgc_inet_addr" >&6; } |
4307 if test "x$ac_cv_lib_dgc_inet_addr" = x""yes; then : | 4325 if test "x$ac_cv_lib_dgc_inet_addr" = xyes; then : |
4308 LIBS="$LIBS -ldgc" | 4326 LIBS="$LIBS -ldgc" |
4309 fi | 4327 fi |
4310 | 4328 |
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lresolv" >&5 | 4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lresolv" >&5 |
4312 $as_echo_n "checking for gethostbyname in -lresolv... " >&6; } | 4330 $as_echo_n "checking for gethostbyname in -lresolv... " >&6; } |
4313 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then : | 4331 if ${ac_cv_lib_resolv_gethostbyname+:} false; then : |
4314 $as_echo_n "(cached) " >&6 | 4332 $as_echo_n "(cached) " >&6 |
4315 else | 4333 else |
4316 ac_check_lib_save_LIBS=$LIBS | 4334 ac_check_lib_save_LIBS=$LIBS |
4317 LIBS="-lresolv $LIBS" | 4335 LIBS="-lresolv $LIBS" |
4318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4342 conftest$ac_exeext conftest.$ac_ext | 4360 conftest$ac_exeext conftest.$ac_ext |
4343 LIBS=$ac_check_lib_save_LIBS | 4361 LIBS=$ac_check_lib_save_LIBS |
4344 fi | 4362 fi |
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_gethostbyname" >&5 | 4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_gethostbyname" >&5 |
4346 $as_echo "$ac_cv_lib_resolv_gethostbyname" >&6; } | 4364 $as_echo "$ac_cv_lib_resolv_gethostbyname" >&6; } |
4347 if test "x$ac_cv_lib_resolv_gethostbyname" = x""yes; then : | 4365 if test "x$ac_cv_lib_resolv_gethostbyname" = xyes; then : |
4348 LIBS="$LIBS -lresolv" | 4366 LIBS="$LIBS -lresolv" |
4349 fi | 4367 fi |
4350 | 4368 |
4351 | 4369 |
4352 SONAME="" | 4370 SONAME="" |
4380 ;; | 4398 ;; |
4381 esac | 4399 esac |
4382 SHAREDFLAG="-dynamiclib -flat_namespace -undefined suppress" | 4400 SHAREDFLAG="-dynamiclib -flat_namespace -undefined suppress" |
4383 SOSUFFIX=dylib | 4401 SOSUFFIX=dylib |
4384 if test $with_gtk = yes; then | 4402 if test $with_gtk = yes; then |
4385 DW_SRC=gtk | 4403 DW_DIR=gtk |
4404 DW_SRC=dw.c | |
4386 LIBS="$LIBS -framework Gtk -framework Glib -framework Cairo" | 4405 LIBS="$LIBS -framework Gtk -framework Glib -framework Cairo" |
4387 GTK_CFLAGS="-I/Library/Frameworks/Gtk.framework/Headers -I/Library/Frameworks/Glib.framework/Headers -I/Library/Frameworks/Cairo.framework/Headers" | 4406 GTK_CFLAGS="-I/Library/Frameworks/Gtk.framework/Headers -I/Library/Frameworks/Glib.framework/Headers -I/Library/Frameworks/Cairo.framework/Headers" |
4388 else | 4407 else |
4389 DW_SRC=mac | 4408 DW_DIR=mac |
4409 DW_SRC=dw.m | |
4390 DW_DEFINE=__MAC__ | 4410 DW_DEFINE=__MAC__ |
4391 LIBS="$LIBS -framework Carbon" | 4411 LIBS="$LIBS -framework Cocoa -framework WebKit" |
4392 fi | 4412 fi |
4393 else | 4413 else |
4394 # Extract the first word of "pkg-config", so it can be a program name with args. | 4414 # Extract the first word of "pkg-config", so it can be a program name with args. |
4395 set dummy pkg-config; ac_word=$2 | 4415 set dummy pkg-config; ac_word=$2 |
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4397 $as_echo_n "checking for $ac_word... " >&6; } | 4417 $as_echo_n "checking for $ac_word... " >&6; } |
4398 if test "${ac_cv_prog_PKG_CFG+set}" = set; then : | 4418 if ${ac_cv_prog_PKG_CFG+:} false; then : |
4399 $as_echo_n "(cached) " >&6 | 4419 $as_echo_n "(cached) " >&6 |
4400 else | 4420 else |
4401 if test -n "$PKG_CFG"; then | 4421 if test -n "$PKG_CFG"; then |
4402 ac_cv_prog_PKG_CFG="$PKG_CFG" # Let the user override the test. | 4422 ac_cv_prog_PKG_CFG="$PKG_CFG" # Let the user override the test. |
4403 else | 4423 else |
4526 | 4546 |
4527 # Extract the first word of "glib-config", so it can be a program name with args. | 4547 # Extract the first word of "glib-config", so it can be a program name with args. |
4528 set dummy glib-config; ac_word=$2 | 4548 set dummy glib-config; ac_word=$2 |
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4530 $as_echo_n "checking for $ac_word... " >&6; } | 4550 $as_echo_n "checking for $ac_word... " >&6; } |
4531 if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then : | 4551 if ${ac_cv_path_GLIB_CONFIG+:} false; then : |
4532 $as_echo_n "(cached) " >&6 | 4552 $as_echo_n "(cached) " >&6 |
4533 else | 4553 else |
4534 case $GLIB_CONFIG in | 4554 case $GLIB_CONFIG in |
4535 [\\/]* | ?:[\\/]*) | 4555 [\\/]* | ?:[\\/]*) |
4536 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path. | 4556 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path. |
4733 LIBS="$ac_save_LIBS" | 4753 LIBS="$ac_save_LIBS" |
4734 fi | 4754 fi |
4735 fi | 4755 fi |
4736 GLIB_CFLAGS="" | 4756 GLIB_CFLAGS="" |
4737 GLIB_LIBS="" | 4757 GLIB_LIBS="" |
4738 as_fn_error "as_fn_error \"Cannot find GLIB: Is glib-config in path?\" \"$LINENO\" 5" "$LINENO" 5 | 4758 as_fn_error $? "as_fn_error $? \"Cannot find GLIB: Is glib-config in path?\" \"$LINENO\" 5" "$LINENO" 5 |
4739 fi | 4759 fi |
4740 | 4760 |
4741 | 4761 |
4742 rm -f conf.glibtest | 4762 rm -f conf.glibtest |
4743 | 4763 |
4789 | 4809 |
4790 # Extract the first word of "gtk-config", so it can be a program name with args. | 4810 # Extract the first word of "gtk-config", so it can be a program name with args. |
4791 set dummy gtk-config; ac_word=$2 | 4811 set dummy gtk-config; ac_word=$2 |
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4793 $as_echo_n "checking for $ac_word... " >&6; } | 4813 $as_echo_n "checking for $ac_word... " >&6; } |
4794 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then : | 4814 if ${ac_cv_path_GTK_CONFIG+:} false; then : |
4795 $as_echo_n "(cached) " >&6 | 4815 $as_echo_n "(cached) " >&6 |
4796 else | 4816 else |
4797 case $GTK_CONFIG in | 4817 case $GTK_CONFIG in |
4798 [\\/]* | ?:[\\/]*) | 4818 [\\/]* | ?:[\\/]*) |
4799 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. | 4819 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. |
4998 LIBS="$ac_save_LIBS" | 5018 LIBS="$ac_save_LIBS" |
4999 fi | 5019 fi |
5000 fi | 5020 fi |
5001 GTK_CFLAGS="" | 5021 GTK_CFLAGS="" |
5002 GTK_LIBS="" | 5022 GTK_LIBS="" |
5003 as_fn_error "as_fn_error \"Cannot find GTK: Is gtk-config in path?\" \"$LINENO\" 5" "$LINENO" 5 | 5023 as_fn_error $? "as_fn_error $? \"Cannot find GTK: Is gtk-config in path?\" \"$LINENO\" 5" "$LINENO" 5 |
5004 fi | 5024 fi |
5005 | 5025 |
5006 | 5026 |
5007 rm -f conf.gtktest | 5027 rm -f conf.gtktest |
5008 | 5028 |
5045 | 5065 |
5046 # Extract the first word of "imlib-config", so it can be a program name with args. | 5066 # Extract the first word of "imlib-config", so it can be a program name with args. |
5047 set dummy imlib-config; ac_word=$2 | 5067 set dummy imlib-config; ac_word=$2 |
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5049 $as_echo_n "checking for $ac_word... " >&6; } | 5069 $as_echo_n "checking for $ac_word... " >&6; } |
5050 if test "${ac_cv_path_IMLIB_CONFIG+set}" = set; then : | 5070 if ${ac_cv_path_IMLIB_CONFIG+:} false; then : |
5051 $as_echo_n "(cached) " >&6 | 5071 $as_echo_n "(cached) " >&6 |
5052 else | 5072 else |
5053 case $IMLIB_CONFIG in | 5073 case $IMLIB_CONFIG in |
5054 [\\/]* | ?:[\\/]*) | 5074 [\\/]* | ?:[\\/]*) |
5055 ac_cv_path_IMLIB_CONFIG="$IMLIB_CONFIG" # Let the user override the test with a path. | 5075 ac_cv_path_IMLIB_CONFIG="$IMLIB_CONFIG" # Let the user override the test with a path. |
5220 LIBS="$ac_save_LIBS" | 5240 LIBS="$ac_save_LIBS" |
5221 fi | 5241 fi |
5222 fi | 5242 fi |
5223 GDK_IMLIB_CFLAGS="" | 5243 GDK_IMLIB_CFLAGS="" |
5224 GDK_IMLIB_LIBS="" | 5244 GDK_IMLIB_LIBS="" |
5225 as_fn_error "IMLIB not found or too old. Dynamic Windows cannot build without it." "$LINENO" 5 | 5245 as_fn_error $? "IMLIB not found or too old. Dynamic Windows cannot build without it." "$LINENO" 5 |
5226 fi | 5246 fi |
5227 | 5247 |
5228 | 5248 |
5229 rm -f conf.gdkimlibtest | 5249 rm -f conf.gdkimlibtest |
5230 | 5250 |
5233 GTK_LIBS=`$PKG_CFG --libs gtk+-2.0 gthread-2.0` | 5253 GTK_LIBS=`$PKG_CFG --libs gtk+-2.0 gthread-2.0` |
5234 fi | 5254 fi |
5235 fi | 5255 fi |
5236 | 5256 |
5237 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" | 5257 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" |
5238 if test "x$ac_cv_header_pthread_h" = x""yes; then : | 5258 if test "x$ac_cv_header_pthread_h" = xyes; then : |
5239 | 5259 |
5240 else | 5260 else |
5241 as_fn_error "pthread header not found. Dynamic Windows cannot build without it." "$LINENO" 5 | 5261 as_fn_error $? "pthread header not found. Dynamic Windows cannot build without it." "$LINENO" 5 |
5242 fi | 5262 fi |
5243 | 5263 |
5244 | 5264 |
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5 | 5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5 |
5246 $as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; } | 5266 $as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; } |
5247 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then : | 5267 if ${ac_cv_lib_pthread_pthread_attr_init+:} false; then : |
5248 $as_echo_n "(cached) " >&6 | 5268 $as_echo_n "(cached) " >&6 |
5249 else | 5269 else |
5250 ac_check_lib_save_LIBS=$LIBS | 5270 ac_check_lib_save_LIBS=$LIBS |
5251 LIBS="-lpthread $LIBS" | 5271 LIBS="-lpthread $LIBS" |
5252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5276 conftest$ac_exeext conftest.$ac_ext | 5296 conftest$ac_exeext conftest.$ac_ext |
5277 LIBS=$ac_check_lib_save_LIBS | 5297 LIBS=$ac_check_lib_save_LIBS |
5278 fi | 5298 fi |
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_attr_init" >&5 | 5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_attr_init" >&5 |
5280 $as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; } | 5300 $as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; } |
5281 if test "x$ac_cv_lib_pthread_pthread_attr_init" = x""yes; then : | 5301 if test "x$ac_cv_lib_pthread_pthread_attr_init" = xyes; then : |
5282 PTHREAD_LIBS="-lpthread" | 5302 PTHREAD_LIBS="-lpthread" |
5283 else | 5303 else |
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthreads" >&5 | 5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthreads" >&5 |
5285 $as_echo_n "checking for pthread_attr_init in -lpthreads... " >&6; } | 5305 $as_echo_n "checking for pthread_attr_init in -lpthreads... " >&6; } |
5286 if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; then : | 5306 if ${ac_cv_lib_pthreads_pthread_attr_init+:} false; then : |
5287 $as_echo_n "(cached) " >&6 | 5307 $as_echo_n "(cached) " >&6 |
5288 else | 5308 else |
5289 ac_check_lib_save_LIBS=$LIBS | 5309 ac_check_lib_save_LIBS=$LIBS |
5290 LIBS="-lpthreads $LIBS" | 5310 LIBS="-lpthreads $LIBS" |
5291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5315 conftest$ac_exeext conftest.$ac_ext | 5335 conftest$ac_exeext conftest.$ac_ext |
5316 LIBS=$ac_check_lib_save_LIBS | 5336 LIBS=$ac_check_lib_save_LIBS |
5317 fi | 5337 fi |
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5 | 5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5 |
5319 $as_echo "$ac_cv_lib_pthreads_pthread_attr_init" >&6; } | 5339 $as_echo "$ac_cv_lib_pthreads_pthread_attr_init" >&6; } |
5320 if test "x$ac_cv_lib_pthreads_pthread_attr_init" = x""yes; then : | 5340 if test "x$ac_cv_lib_pthreads_pthread_attr_init" = xyes; then : |
5321 PTHREAD_LIBS="-lpthreads" | 5341 PTHREAD_LIBS="-lpthreads" |
5322 else | 5342 else |
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lc_r" >&5 | 5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lc_r" >&5 |
5324 $as_echo_n "checking for pthread_attr_init in -lc_r... " >&6; } | 5344 $as_echo_n "checking for pthread_attr_init in -lc_r... " >&6; } |
5325 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then : | 5345 if ${ac_cv_lib_c_r_pthread_attr_init+:} false; then : |
5326 $as_echo_n "(cached) " >&6 | 5346 $as_echo_n "(cached) " >&6 |
5327 else | 5347 else |
5328 ac_check_lib_save_LIBS=$LIBS | 5348 ac_check_lib_save_LIBS=$LIBS |
5329 LIBS="-lc_r $LIBS" | 5349 LIBS="-lc_r $LIBS" |
5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5354 conftest$ac_exeext conftest.$ac_ext | 5374 conftest$ac_exeext conftest.$ac_ext |
5355 LIBS=$ac_check_lib_save_LIBS | 5375 LIBS=$ac_check_lib_save_LIBS |
5356 fi | 5376 fi |
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_attr_init" >&5 | 5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_attr_init" >&5 |
5358 $as_echo "$ac_cv_lib_c_r_pthread_attr_init" >&6; } | 5378 $as_echo "$ac_cv_lib_c_r_pthread_attr_init" >&6; } |
5359 if test "x$ac_cv_lib_c_r_pthread_attr_init" = x""yes; then : | 5379 if test "x$ac_cv_lib_c_r_pthread_attr_init" = xyes; then : |
5360 PTHREAD_LIBS="-lc_r" | 5380 PTHREAD_LIBS="-lc_r" |
5361 else | 5381 else |
5362 as_fn_error "pthread library not found. dwindows cannot build without it. | 5382 as_fn_error $? "pthread library not found. dwindows cannot build without it. |
5363 " "$LINENO" 5 | 5383 " "$LINENO" 5 |
5364 | 5384 |
5365 fi | 5385 fi |
5366 | 5386 |
5367 | 5387 |
5379 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS" | 5399 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS" |
5380 BROWSER_OBJECT="browser.o" | 5400 BROWSER_OBJECT="browser.o" |
5381 if test $with_gtkmozembed = yes; then | 5401 if test $with_gtkmozembed = yes; then |
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk_moz_embed_new in -lgtkembedmoz" >&5 | 5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk_moz_embed_new in -lgtkembedmoz" >&5 |
5383 $as_echo_n "checking for gtk_moz_embed_new in -lgtkembedmoz... " >&6; } | 5403 $as_echo_n "checking for gtk_moz_embed_new in -lgtkembedmoz... " >&6; } |
5384 if test "${ac_cv_lib_gtkembedmoz_gtk_moz_embed_new+set}" = set; then : | 5404 if ${ac_cv_lib_gtkembedmoz_gtk_moz_embed_new+:} false; then : |
5385 $as_echo_n "(cached) " >&6 | 5405 $as_echo_n "(cached) " >&6 |
5386 else | 5406 else |
5387 ac_check_lib_save_LIBS=$LIBS | 5407 ac_check_lib_save_LIBS=$LIBS |
5388 LIBS="-lgtkembedmoz $LIBS" | 5408 LIBS="-lgtkembedmoz $LIBS" |
5389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5413 conftest$ac_exeext conftest.$ac_ext | 5433 conftest$ac_exeext conftest.$ac_ext |
5414 LIBS=$ac_check_lib_save_LIBS | 5434 LIBS=$ac_check_lib_save_LIBS |
5415 fi | 5435 fi |
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&5 | 5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&5 |
5417 $as_echo "$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&6; } | 5437 $as_echo "$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&6; } |
5418 if test "x$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" = x""yes; then : | 5438 if test "x$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" = xyes; then : |
5419 $as_echo "#define USE_GTKMOZEMBED 1" >>confdefs.h | 5439 $as_echo "#define USE_GTKMOZEMBED 1" >>confdefs.h |
5420 | 5440 |
5421 else | 5441 else |
5422 BROWSER_OBJECT="" | 5442 BROWSER_OBJECT="" |
5423 fi | 5443 fi |
5424 | 5444 |
5425 elif test $with_gtkhtml = yes; then | 5445 elif test $with_gtkhtml = yes; then |
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for html_document_new in -lgtkhtml-2" >&5 | 5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for html_document_new in -lgtkhtml-2" >&5 |
5427 $as_echo_n "checking for html_document_new in -lgtkhtml-2... " >&6; } | 5447 $as_echo_n "checking for html_document_new in -lgtkhtml-2... " >&6; } |
5428 if test "${ac_cv_lib_gtkhtml_2_html_document_new+set}" = set; then : | 5448 if ${ac_cv_lib_gtkhtml_2_html_document_new+:} false; then : |
5429 $as_echo_n "(cached) " >&6 | 5449 $as_echo_n "(cached) " >&6 |
5430 else | 5450 else |
5431 ac_check_lib_save_LIBS=$LIBS | 5451 ac_check_lib_save_LIBS=$LIBS |
5432 LIBS="-lgtkhtml-2 $LIBS" | 5452 LIBS="-lgtkhtml-2 $LIBS" |
5433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5457 conftest$ac_exeext conftest.$ac_ext | 5477 conftest$ac_exeext conftest.$ac_ext |
5458 LIBS=$ac_check_lib_save_LIBS | 5478 LIBS=$ac_check_lib_save_LIBS |
5459 fi | 5479 fi |
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gtkhtml_2_html_document_new" >&5 | 5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gtkhtml_2_html_document_new" >&5 |
5461 $as_echo "$ac_cv_lib_gtkhtml_2_html_document_new" >&6; } | 5481 $as_echo "$ac_cv_lib_gtkhtml_2_html_document_new" >&6; } |
5462 if test "x$ac_cv_lib_gtkhtml_2_html_document_new" = x""yes; then : | 5482 if test "x$ac_cv_lib_gtkhtml_2_html_document_new" = xyes; then : |
5463 $as_echo "#define USE_LIBGTKHTML2 1" >>confdefs.h | 5483 $as_echo "#define USE_LIBGTKHTML2 1" >>confdefs.h |
5464 | 5484 |
5465 else | 5485 else |
5466 BROWSER_OBJECT="" | 5486 BROWSER_OBJECT="" |
5467 fi | 5487 fi |
5468 | 5488 |
5469 else | 5489 else |
5470 as_ac_Lib=`$as_echo "ac_cv_lib_$WEBKIT_LIB''_webkit_web_view_new" | $as_tr_sh` | 5490 as_ac_Lib=`$as_echo "ac_cv_lib_$WEBKIT_LIB''_webkit_web_view_new" | $as_tr_sh` |
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for webkit_web_view_new in -l$WEBKIT_LIB" >&5 | 5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for webkit_web_view_new in -l$WEBKIT_LIB" >&5 |
5472 $as_echo_n "checking for webkit_web_view_new in -l$WEBKIT_LIB... " >&6; } | 5492 $as_echo_n "checking for webkit_web_view_new in -l$WEBKIT_LIB... " >&6; } |
5473 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : | 5493 if eval \${$as_ac_Lib+:} false; then : |
5474 $as_echo_n "(cached) " >&6 | 5494 $as_echo_n "(cached) " >&6 |
5475 else | 5495 else |
5476 ac_check_lib_save_LIBS=$LIBS | 5496 ac_check_lib_save_LIBS=$LIBS |
5477 LIBS="-l$WEBKIT_LIB $LIBS" | 5497 LIBS="-l$WEBKIT_LIB $LIBS" |
5478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5503 LIBS=$ac_check_lib_save_LIBS | 5523 LIBS=$ac_check_lib_save_LIBS |
5504 fi | 5524 fi |
5505 eval ac_res=\$$as_ac_Lib | 5525 eval ac_res=\$$as_ac_Lib |
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
5507 $as_echo "$ac_res" >&6; } | 5527 $as_echo "$ac_res" >&6; } |
5508 eval as_val=\$$as_ac_Lib | 5528 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : |
5509 if test "x$as_val" = x""yes; then : | |
5510 $as_echo "#define USE_WEBKIT 1" >>confdefs.h | 5529 $as_echo "#define USE_WEBKIT 1" >>confdefs.h |
5511 | 5530 |
5512 else | 5531 else |
5513 BROWSER_OBJECT="" | 5532 BROWSER_OBJECT="" |
5514 fi | 5533 fi |
5523 RM="rm -f" | 5542 RM="rm -f" |
5524 LN="ln -s" | 5543 LN="ln -s" |
5525 CP="cp" | 5544 CP="cp" |
5526 MV="mv" | 5545 MV="mv" |
5527 MKDIR="mkdir" | 5546 MKDIR="mkdir" |
5547 | |
5528 | 5548 |
5529 | 5549 |
5530 | 5550 |
5531 | 5551 |
5532 | 5552 |
5609 t end | 5629 t end |
5610 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 5630 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
5611 :end' >>confcache | 5631 :end' >>confcache |
5612 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 5632 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
5613 if test -w "$cache_file"; then | 5633 if test -w "$cache_file"; then |
5614 test "x$cache_file" != "x/dev/null" && | 5634 if test "x$cache_file" != "x/dev/null"; then |
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | 5635 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
5616 $as_echo "$as_me: updating cache $cache_file" >&6;} | 5636 $as_echo "$as_me: updating cache $cache_file" >&6;} |
5617 cat confcache >$cache_file | 5637 if test ! -f "$cache_file" || test -h "$cache_file"; then |
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 | |
5618 else | 5649 else |
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | 5650 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
5620 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 5651 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
5621 fi | 5652 fi |
5622 fi | 5653 fi |
5628 | 5659 |
5629 DEFS=-DHAVE_CONFIG_H | 5660 DEFS=-DHAVE_CONFIG_H |
5630 | 5661 |
5631 ac_libobjs= | 5662 ac_libobjs= |
5632 ac_ltlibobjs= | 5663 ac_ltlibobjs= |
5664 U= | |
5633 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 5665 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
5634 # 1. Remove the extension, and $U if already installed. | 5666 # 1. Remove the extension, and $U if already installed. |
5635 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 5667 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
5636 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 5668 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
5637 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 5669 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
5643 | 5675 |
5644 LTLIBOBJS=$ac_ltlibobjs | 5676 LTLIBOBJS=$ac_ltlibobjs |
5645 | 5677 |
5646 | 5678 |
5647 | 5679 |
5648 : ${CONFIG_STATUS=./config.status} | 5680 : "${CONFIG_STATUS=./config.status}" |
5649 ac_write_fail=0 | 5681 ac_write_fail=0 |
5650 ac_clean_files_save=$ac_clean_files | 5682 ac_clean_files_save=$ac_clean_files |
5651 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 5683 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 5684 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
5653 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 5685 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
5744 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 5776 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
5745 # splitting by setting IFS to empty value.) | 5777 # splitting by setting IFS to empty value.) |
5746 IFS=" "" $as_nl" | 5778 IFS=" "" $as_nl" |
5747 | 5779 |
5748 # Find who we are. Look in the path if we contain no directory separator. | 5780 # Find who we are. Look in the path if we contain no directory separator. |
5781 as_myself= | |
5749 case $0 in #(( | 5782 case $0 in #(( |
5750 *[\\/]* ) as_myself=$0 ;; | 5783 *[\\/]* ) as_myself=$0 ;; |
5751 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5784 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5752 for as_dir in $PATH | 5785 for as_dir in $PATH |
5753 do | 5786 do |
5789 | 5822 |
5790 # CDPATH. | 5823 # CDPATH. |
5791 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 5824 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
5792 | 5825 |
5793 | 5826 |
5794 # as_fn_error ERROR [LINENO LOG_FD] | 5827 # as_fn_error STATUS ERROR [LINENO LOG_FD] |
5795 # --------------------------------- | 5828 # ---------------------------------------- |
5796 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 5829 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
5797 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 5830 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
5798 # script with status $?, using 1 if that was 0. | 5831 # script with STATUS, using 1 if that was 0. |
5799 as_fn_error () | 5832 as_fn_error () |
5800 { | 5833 { |
5801 as_status=$?; test $as_status -eq 0 && as_status=1 | 5834 as_status=$1; test $as_status -eq 0 && as_status=1 |
5802 if test "$3"; then | 5835 if test "$4"; then |
5803 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 5836 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
5804 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | 5837 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
5805 fi | 5838 fi |
5806 $as_echo "$as_me: error: $1" >&2 | 5839 $as_echo "$as_me: error: $2" >&2 |
5807 as_fn_exit $as_status | 5840 as_fn_exit $as_status |
5808 } # as_fn_error | 5841 } # as_fn_error |
5809 | 5842 |
5810 | 5843 |
5811 # as_fn_set_status STATUS | 5844 # as_fn_set_status STATUS |
5997 } | 6030 } |
5998 s/.*/./; q'` | 6031 s/.*/./; q'` |
5999 test -d "$as_dir" && break | 6032 test -d "$as_dir" && break |
6000 done | 6033 done |
6001 test -z "$as_dirs" || eval "mkdir $as_dirs" | 6034 test -z "$as_dirs" || eval "mkdir $as_dirs" |
6002 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | 6035 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
6003 | 6036 |
6004 | 6037 |
6005 } # as_fn_mkdir_p | 6038 } # as_fn_mkdir_p |
6006 if mkdir -p . 2>/dev/null; then | 6039 if mkdir -p . 2>/dev/null; then |
6007 as_mkdir_p='mkdir -p "$as_dir"' | 6040 as_mkdir_p='mkdir -p "$as_dir"' |
6051 # Save the log message, to keep $0 and so on meaningful, and to | 6084 # Save the log message, to keep $0 and so on meaningful, and to |
6052 # report actual input values of CONFIG_FILES etc. instead of their | 6085 # report actual input values of CONFIG_FILES etc. instead of their |
6053 # values after options handling. | 6086 # values after options handling. |
6054 ac_log=" | 6087 ac_log=" |
6055 This file was extended by $as_me, which was | 6088 This file was extended by $as_me, which was |
6056 generated by GNU Autoconf 2.65. Invocation command line was | 6089 generated by GNU Autoconf 2.68. Invocation command line was |
6057 | 6090 |
6058 CONFIG_FILES = $CONFIG_FILES | 6091 CONFIG_FILES = $CONFIG_FILES |
6059 CONFIG_HEADERS = $CONFIG_HEADERS | 6092 CONFIG_HEADERS = $CONFIG_HEADERS |
6060 CONFIG_LINKS = $CONFIG_LINKS | 6093 CONFIG_LINKS = $CONFIG_LINKS |
6061 CONFIG_COMMANDS = $CONFIG_COMMANDS | 6094 CONFIG_COMMANDS = $CONFIG_COMMANDS |
6113 _ACEOF | 6146 _ACEOF |
6114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 6147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6115 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 6148 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
6116 ac_cs_version="\\ | 6149 ac_cs_version="\\ |
6117 config.status | 6150 config.status |
6118 configured by $0, generated by GNU Autoconf 2.65, | 6151 configured by $0, generated by GNU Autoconf 2.68, |
6119 with options \\"\$ac_cs_config\\" | 6152 with options \\"\$ac_cs_config\\" |
6120 | 6153 |
6121 Copyright (C) 2009 Free Software Foundation, Inc. | 6154 Copyright (C) 2010 Free Software Foundation, Inc. |
6122 This config.status script is free software; the Free Software Foundation | 6155 This config.status script is free software; the Free Software Foundation |
6123 gives unlimited permission to copy, distribute and modify it." | 6156 gives unlimited permission to copy, distribute and modify it." |
6124 | 6157 |
6125 ac_pwd='$ac_pwd' | 6158 ac_pwd='$ac_pwd' |
6126 srcdir='$srcdir' | 6159 srcdir='$srcdir' |
6132 # The default lists apply if the user does not specify any file. | 6165 # The default lists apply if the user does not specify any file. |
6133 ac_need_defaults=: | 6166 ac_need_defaults=: |
6134 while test $# != 0 | 6167 while test $# != 0 |
6135 do | 6168 do |
6136 case $1 in | 6169 case $1 in |
6137 --*=*) | 6170 --*=?*) |
6138 ac_option=`expr "X$1" : 'X\([^=]*\)='` | 6171 ac_option=`expr "X$1" : 'X\([^=]*\)='` |
6139 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | 6172 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
6173 ac_shift=: | |
6174 ;; | |
6175 --*=) | |
6176 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
6177 ac_optarg= | |
6140 ac_shift=: | 6178 ac_shift=: |
6141 ;; | 6179 ;; |
6142 *) | 6180 *) |
6143 ac_option=$1 | 6181 ac_option=$1 |
6144 ac_optarg=$2 | 6182 ac_optarg=$2 |
6158 debug=: ;; | 6196 debug=: ;; |
6159 --file | --fil | --fi | --f ) | 6197 --file | --fil | --fi | --f ) |
6160 $ac_shift | 6198 $ac_shift |
6161 case $ac_optarg in | 6199 case $ac_optarg in |
6162 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 6200 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
6201 '') as_fn_error $? "missing file argument" ;; | |
6163 esac | 6202 esac |
6164 as_fn_append CONFIG_FILES " '$ac_optarg'" | 6203 as_fn_append CONFIG_FILES " '$ac_optarg'" |
6165 ac_need_defaults=false;; | 6204 ac_need_defaults=false;; |
6166 --header | --heade | --head | --hea ) | 6205 --header | --heade | --head | --hea ) |
6167 $ac_shift | 6206 $ac_shift |
6170 esac | 6209 esac |
6171 as_fn_append CONFIG_HEADERS " '$ac_optarg'" | 6210 as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
6172 ac_need_defaults=false;; | 6211 ac_need_defaults=false;; |
6173 --he | --h) | 6212 --he | --h) |
6174 # Conflict between --help and --header | 6213 # Conflict between --help and --header |
6175 as_fn_error "ambiguous option: \`$1' | 6214 as_fn_error $? "ambiguous option: \`$1' |
6176 Try \`$0 --help' for more information.";; | 6215 Try \`$0 --help' for more information.";; |
6177 --help | --hel | -h ) | 6216 --help | --hel | -h ) |
6178 $as_echo "$ac_cs_usage"; exit ;; | 6217 $as_echo "$ac_cs_usage"; exit ;; |
6179 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 6218 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
6180 | -silent | --silent | --silen | --sile | --sil | --si | --s) | 6219 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
6181 ac_cs_silent=: ;; | 6220 ac_cs_silent=: ;; |
6182 | 6221 |
6183 # This is an error. | 6222 # This is an error. |
6184 -*) as_fn_error "unrecognized option: \`$1' | 6223 -*) as_fn_error $? "unrecognized option: \`$1' |
6185 Try \`$0 --help' for more information." ;; | 6224 Try \`$0 --help' for more information." ;; |
6186 | 6225 |
6187 *) as_fn_append ac_config_targets " $1" | 6226 *) as_fn_append ac_config_targets " $1" |
6188 ac_need_defaults=false ;; | 6227 ac_need_defaults=false ;; |
6189 | 6228 |
6232 case $ac_config_target in | 6271 case $ac_config_target in |
6233 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 6272 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
6234 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 6273 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
6235 "dwindows-config") CONFIG_FILES="$CONFIG_FILES dwindows-config" ;; | 6274 "dwindows-config") CONFIG_FILES="$CONFIG_FILES dwindows-config" ;; |
6236 | 6275 |
6237 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 6276 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
6238 esac | 6277 esac |
6239 done | 6278 done |
6240 | 6279 |
6241 | 6280 |
6242 # If the user did not use the arguments to specify the items to instantiate, | 6281 # If the user did not use the arguments to specify the items to instantiate, |
6254 # Hook for its removal unless debugging. | 6293 # Hook for its removal unless debugging. |
6255 # Note that there is a small window in which the directory will not be cleaned: | 6294 # Note that there is a small window in which the directory will not be cleaned: |
6256 # after its creation but before its name has been assigned to `$tmp'. | 6295 # after its creation but before its name has been assigned to `$tmp'. |
6257 $debug || | 6296 $debug || |
6258 { | 6297 { |
6259 tmp= | 6298 tmp= ac_tmp= |
6260 trap 'exit_status=$? | 6299 trap 'exit_status=$? |
6261 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | 6300 : "${ac_tmp:=$tmp}" |
6301 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | |
6262 ' 0 | 6302 ' 0 |
6263 trap 'as_fn_exit 1' 1 2 13 15 | 6303 trap 'as_fn_exit 1' 1 2 13 15 |
6264 } | 6304 } |
6265 # Create a (secure) tmp directory for tmp files. | 6305 # Create a (secure) tmp directory for tmp files. |
6266 | 6306 |
6267 { | 6307 { |
6268 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | 6308 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
6269 test -n "$tmp" && test -d "$tmp" | 6309 test -d "$tmp" |
6270 } || | 6310 } || |
6271 { | 6311 { |
6272 tmp=./conf$$-$RANDOM | 6312 tmp=./conf$$-$RANDOM |
6273 (umask 077 && mkdir "$tmp") | 6313 (umask 077 && mkdir "$tmp") |
6274 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 | 6314 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
6315 ac_tmp=$tmp | |
6275 | 6316 |
6276 # Set up the scripts for CONFIG_FILES section. | 6317 # Set up the scripts for CONFIG_FILES section. |
6277 # No need to generate them if there are no CONFIG_FILES. | 6318 # No need to generate them if there are no CONFIG_FILES. |
6278 # This happens for instance with `./config.status config.h'. | 6319 # This happens for instance with `./config.status config.h'. |
6279 if test -n "$CONFIG_FILES"; then | 6320 if test -n "$CONFIG_FILES"; then |
6286 if test "x$ac_cr" = x; then | 6327 if test "x$ac_cr" = x; then |
6287 eval ac_cr=\$\'\\r\' | 6328 eval ac_cr=\$\'\\r\' |
6288 fi | 6329 fi |
6289 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 6330 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
6290 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 6331 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
6291 ac_cs_awk_cr='\r' | 6332 ac_cs_awk_cr='\\r' |
6292 else | 6333 else |
6293 ac_cs_awk_cr=$ac_cr | 6334 ac_cs_awk_cr=$ac_cr |
6294 fi | 6335 fi |
6295 | 6336 |
6296 echo 'BEGIN {' >"$tmp/subs1.awk" && | 6337 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
6297 _ACEOF | 6338 _ACEOF |
6298 | 6339 |
6299 | 6340 |
6300 { | 6341 { |
6301 echo "cat >conf$$subs.awk <<_ACEOF" && | 6342 echo "cat >conf$$subs.awk <<_ACEOF" && |
6302 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 6343 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
6303 echo "_ACEOF" | 6344 echo "_ACEOF" |
6304 } >conf$$subs.sh || | 6345 } >conf$$subs.sh || |
6305 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 6346 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
6306 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | 6347 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
6307 ac_delim='%!_!# ' | 6348 ac_delim='%!_!# ' |
6308 for ac_last_try in false false false false false :; do | 6349 for ac_last_try in false false false false false :; do |
6309 . ./conf$$subs.sh || | 6350 . ./conf$$subs.sh || |
6310 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 6351 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
6311 | 6352 |
6312 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 6353 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
6313 if test $ac_delim_n = $ac_delim_num; then | 6354 if test $ac_delim_n = $ac_delim_num; then |
6314 break | 6355 break |
6315 elif $ac_last_try; then | 6356 elif $ac_last_try; then |
6316 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 6357 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
6317 else | 6358 else |
6318 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 6359 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
6319 fi | 6360 fi |
6320 done | 6361 done |
6321 rm -f conf$$subs.sh | 6362 rm -f conf$$subs.sh |
6322 | 6363 |
6323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 6364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6324 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | 6365 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
6325 _ACEOF | 6366 _ACEOF |
6326 sed -n ' | 6367 sed -n ' |
6327 h | 6368 h |
6328 s/^/S["/; s/!.*/"]=/ | 6369 s/^/S["/; s/!.*/"]=/ |
6329 p | 6370 p |
6367 } | 6408 } |
6368 ' >>$CONFIG_STATUS || ac_write_fail=1 | 6409 ' >>$CONFIG_STATUS || ac_write_fail=1 |
6369 rm -f conf$$subs.awk | 6410 rm -f conf$$subs.awk |
6370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 6411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6371 _ACAWK | 6412 _ACAWK |
6372 cat >>"\$tmp/subs1.awk" <<_ACAWK && | 6413 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
6373 for (key in S) S_is_set[key] = 1 | 6414 for (key in S) S_is_set[key] = 1 |
6374 FS = "" | 6415 FS = "" |
6375 | 6416 |
6376 } | 6417 } |
6377 { | 6418 { |
6399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 6440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6400 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | 6441 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
6401 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 6442 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
6402 else | 6443 else |
6403 cat | 6444 cat |
6404 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | 6445 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
6405 || as_fn_error "could not setup config files machinery" "$LINENO" 5 | 6446 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
6406 _ACEOF | 6447 _ACEOF |
6407 | 6448 |
6408 # VPATH may cause trouble with some makes, so we remove $(srcdir), | 6449 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
6409 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 6450 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
6410 # trailing colons and then remove the whole line if VPATH becomes empty | 6451 # trailing colons and then remove the whole line if VPATH becomes empty |
6411 # (actually we leave an empty line to preserve line numbers). | 6452 # (actually we leave an empty line to preserve line numbers). |
6412 if test "x$srcdir" = x.; then | 6453 if test "x$srcdir" = x.; then |
6413 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | 6454 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
6414 s/:*\$(srcdir):*/:/ | 6455 h |
6415 s/:*\${srcdir}:*/:/ | 6456 s/// |
6416 s/:*@srcdir@:*/:/ | 6457 s/^/:/ |
6417 s/^\([^=]*=[ ]*\):*/\1/ | 6458 s/[ ]*$/:/ |
6459 s/:\$(srcdir):/:/g | |
6460 s/:\${srcdir}:/:/g | |
6461 s/:@srcdir@:/:/g | |
6462 s/^:*// | |
6418 s/:*$// | 6463 s/:*$// |
6464 x | |
6465 s/\(=[ ]*\).*/\1/ | |
6466 G | |
6467 s/\n// | |
6419 s/^[^=]*=[ ]*$// | 6468 s/^[^=]*=[ ]*$// |
6420 }' | 6469 }' |
6421 fi | 6470 fi |
6422 | 6471 |
6423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 6472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6425 | 6474 |
6426 # Set up the scripts for CONFIG_HEADERS section. | 6475 # Set up the scripts for CONFIG_HEADERS section. |
6427 # No need to generate them if there are no CONFIG_HEADERS. | 6476 # No need to generate them if there are no CONFIG_HEADERS. |
6428 # This happens for instance with `./config.status Makefile'. | 6477 # This happens for instance with `./config.status Makefile'. |
6429 if test -n "$CONFIG_HEADERS"; then | 6478 if test -n "$CONFIG_HEADERS"; then |
6430 cat >"$tmp/defines.awk" <<\_ACAWK || | 6479 cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
6431 BEGIN { | 6480 BEGIN { |
6432 _ACEOF | 6481 _ACEOF |
6433 | 6482 |
6434 # Transform confdefs.h into an awk script `defines.awk', embedded as | 6483 # Transform confdefs.h into an awk script `defines.awk', embedded as |
6435 # here-document in config.status, that substitutes the proper values into | 6484 # here-document in config.status, that substitutes the proper values into |
6437 | 6486 |
6438 # Create a delimiter string that does not exist in confdefs.h, to ease | 6487 # Create a delimiter string that does not exist in confdefs.h, to ease |
6439 # handling of long lines. | 6488 # handling of long lines. |
6440 ac_delim='%!_!# ' | 6489 ac_delim='%!_!# ' |
6441 for ac_last_try in false false :; do | 6490 for ac_last_try in false false :; do |
6442 ac_t=`sed -n "/$ac_delim/p" confdefs.h` | 6491 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
6443 if test -z "$ac_t"; then | 6492 if test -z "$ac_tt"; then |
6444 break | 6493 break |
6445 elif $ac_last_try; then | 6494 elif $ac_last_try; then |
6446 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 | 6495 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
6447 else | 6496 else |
6448 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 6497 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
6449 fi | 6498 fi |
6450 done | 6499 done |
6451 | 6500 |
6526 } | 6575 } |
6527 { print } | 6576 { print } |
6528 _ACAWK | 6577 _ACAWK |
6529 _ACEOF | 6578 _ACEOF |
6530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 6579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6531 as_fn_error "could not setup config headers machinery" "$LINENO" 5 | 6580 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
6532 fi # test -n "$CONFIG_HEADERS" | 6581 fi # test -n "$CONFIG_HEADERS" |
6533 | 6582 |
6534 | 6583 |
6535 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " | 6584 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " |
6536 shift | 6585 shift |
6539 case $ac_tag in | 6588 case $ac_tag in |
6540 :[FHLC]) ac_mode=$ac_tag; continue;; | 6589 :[FHLC]) ac_mode=$ac_tag; continue;; |
6541 esac | 6590 esac |
6542 case $ac_mode$ac_tag in | 6591 case $ac_mode$ac_tag in |
6543 :[FHL]*:*);; | 6592 :[FHL]*:*);; |
6544 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; | 6593 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
6545 :[FH]-) ac_tag=-:-;; | 6594 :[FH]-) ac_tag=-:-;; |
6546 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 6595 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
6547 esac | 6596 esac |
6548 ac_save_IFS=$IFS | 6597 ac_save_IFS=$IFS |
6549 IFS=: | 6598 IFS=: |
6558 :[FH]) | 6607 :[FH]) |
6559 ac_file_inputs= | 6608 ac_file_inputs= |
6560 for ac_f | 6609 for ac_f |
6561 do | 6610 do |
6562 case $ac_f in | 6611 case $ac_f in |
6563 -) ac_f="$tmp/stdin";; | 6612 -) ac_f="$ac_tmp/stdin";; |
6564 *) # Look for the file first in the build tree, then in the source tree | 6613 *) # Look for the file first in the build tree, then in the source tree |
6565 # (if the path is not absolute). The absolute path cannot be DOS-style, | 6614 # (if the path is not absolute). The absolute path cannot be DOS-style, |
6566 # because $ac_f cannot contain `:'. | 6615 # because $ac_f cannot contain `:'. |
6567 test -f "$ac_f" || | 6616 test -f "$ac_f" || |
6568 case $ac_f in | 6617 case $ac_f in |
6569 [\\/$]*) false;; | 6618 [\\/$]*) false;; |
6570 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 6619 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
6571 esac || | 6620 esac || |
6572 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 6621 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
6573 esac | 6622 esac |
6574 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 6623 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
6575 as_fn_append ac_file_inputs " '$ac_f'" | 6624 as_fn_append ac_file_inputs " '$ac_f'" |
6576 done | 6625 done |
6577 | 6626 |
6593 sed 's/[\\\\&|]/\\\\&/g'`;; #( | 6642 sed 's/[\\\\&|]/\\\\&/g'`;; #( |
6594 *) ac_sed_conf_input=$configure_input;; | 6643 *) ac_sed_conf_input=$configure_input;; |
6595 esac | 6644 esac |
6596 | 6645 |
6597 case $ac_tag in | 6646 case $ac_tag in |
6598 *:-:* | *:-) cat >"$tmp/stdin" \ | 6647 *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
6599 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; | 6648 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
6600 esac | 6649 esac |
6601 ;; | 6650 ;; |
6602 esac | 6651 esac |
6603 | 6652 |
6604 ac_dir=`$as_dirname -- "$ac_file" || | 6653 ac_dir=`$as_dirname -- "$ac_file" || |
6724 s&@abs_builddir@&$ac_abs_builddir&;t t | 6773 s&@abs_builddir@&$ac_abs_builddir&;t t |
6725 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 6774 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
6726 s&@INSTALL@&$ac_INSTALL&;t t | 6775 s&@INSTALL@&$ac_INSTALL&;t t |
6727 $ac_datarootdir_hack | 6776 $ac_datarootdir_hack |
6728 " | 6777 " |
6729 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | 6778 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
6730 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 6779 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
6731 | 6780 |
6732 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 6781 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
6733 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 6782 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
6734 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 6783 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
6784 "$ac_tmp/out"`; test -z "$ac_out"; } && | |
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 6785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
6736 which seems to be undefined. Please make sure it is defined." >&5 | 6786 which seems to be undefined. Please make sure it is defined" >&5 |
6737 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 6787 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
6738 which seems to be undefined. Please make sure it is defined." >&2;} | 6788 which seems to be undefined. Please make sure it is defined" >&2;} |
6739 | 6789 |
6740 rm -f "$tmp/stdin" | 6790 rm -f "$ac_tmp/stdin" |
6741 case $ac_file in | 6791 case $ac_file in |
6742 -) cat "$tmp/out" && rm -f "$tmp/out";; | 6792 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
6743 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 6793 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
6744 esac \ | 6794 esac \ |
6745 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 6795 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
6746 ;; | 6796 ;; |
6747 :H) | 6797 :H) |
6748 # | 6798 # |
6749 # CONFIG_HEADER | 6799 # CONFIG_HEADER |
6750 # | 6800 # |
6751 if test x"$ac_file" != x-; then | 6801 if test x"$ac_file" != x-; then |
6752 { | 6802 { |
6753 $as_echo "/* $configure_input */" \ | 6803 $as_echo "/* $configure_input */" \ |
6754 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | 6804 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
6755 } >"$tmp/config.h" \ | 6805 } >"$ac_tmp/config.h" \ |
6756 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 6806 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
6757 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | 6807 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 6808 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
6759 $as_echo "$as_me: $ac_file is unchanged" >&6;} | 6809 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
6760 else | 6810 else |
6761 rm -f "$ac_file" | 6811 rm -f "$ac_file" |
6762 mv "$tmp/config.h" "$ac_file" \ | 6812 mv "$ac_tmp/config.h" "$ac_file" \ |
6763 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 6813 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
6764 fi | 6814 fi |
6765 else | 6815 else |
6766 $as_echo "/* $configure_input */" \ | 6816 $as_echo "/* $configure_input */" \ |
6767 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | 6817 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
6768 || as_fn_error "could not create -" "$LINENO" 5 | 6818 || as_fn_error $? "could not create -" "$LINENO" 5 |
6769 fi | 6819 fi |
6770 ;; | 6820 ;; |
6771 | 6821 |
6772 | 6822 |
6773 esac | 6823 esac |
6778 as_fn_exit 0 | 6828 as_fn_exit 0 |
6779 _ACEOF | 6829 _ACEOF |
6780 ac_clean_files=$ac_clean_files_save | 6830 ac_clean_files=$ac_clean_files_save |
6781 | 6831 |
6782 test $ac_write_fail = 0 || | 6832 test $ac_write_fail = 0 || |
6783 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 6833 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
6784 | 6834 |
6785 | 6835 |
6786 # configure is writing to config.log, and then calls config.status. | 6836 # configure is writing to config.log, and then calls config.status. |
6787 # config.status does its own redirection, appending to config.log. | 6837 # config.status does its own redirection, appending to config.log. |
6788 # Unfortunately, on DOS this fails, as config.log is still kept open | 6838 # Unfortunately, on DOS this fails, as config.log is still kept open |
6799 exec 5>/dev/null | 6849 exec 5>/dev/null |
6800 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 6850 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
6801 exec 5>>config.log | 6851 exec 5>>config.log |
6802 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 6852 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
6803 # would make configure fail if this is the last instruction. | 6853 # would make configure fail if this is the last instruction. |
6804 $ac_cs_success || as_fn_exit $? | 6854 $ac_cs_success || as_fn_exit 1 |
6805 fi | 6855 fi |
6806 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 6856 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 6857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
6808 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 6858 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
6809 fi | 6859 fi |