Mercurial > dwindows
comparison configure @ 1109:1c24949cf853
Fixed a configure warning about datarootdir. (Just ignoring it for now)
Upped the version number to 2.1 in configure.in and using autoconf 2.67.
Fixed a pair of Linux/gcc warnings in the compat library.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 26 Jul 2011 20:35:05 +0000 |
parents | 1ab93c92d3ea |
children | e4b13cd7a002 |
comparison
equal
deleted
inserted
replaced
1108:772d4c692ea5 | 1109:1c24949cf853 |
---|---|
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.67. |
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 ## -------------------- ## |
314 } | 314 } |
315 s/.*/./; q'` | 315 s/.*/./; q'` |
316 test -d "$as_dir" && break | 316 test -d "$as_dir" && break |
317 done | 317 done |
318 test -z "$as_dirs" || eval "mkdir $as_dirs" | 318 test -z "$as_dirs" || eval "mkdir $as_dirs" |
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | 319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
320 | 320 |
321 | 321 |
322 } # as_fn_mkdir_p | 322 } # as_fn_mkdir_p |
323 # as_fn_append VAR VALUE | 323 # as_fn_append VAR VALUE |
324 # ---------------------- | 324 # ---------------------- |
354 as_val=`expr "$@" || test $? -eq 1` | 354 as_val=`expr "$@" || test $? -eq 1` |
355 } | 355 } |
356 fi # as_fn_arith | 356 fi # as_fn_arith |
357 | 357 |
358 | 358 |
359 # as_fn_error ERROR [LINENO LOG_FD] | 359 # as_fn_error STATUS ERROR [LINENO LOG_FD] |
360 # --------------------------------- | 360 # ---------------------------------------- |
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
363 # script with status $?, using 1 if that was 0. | 363 # script with STATUS, using 1 if that was 0. |
364 as_fn_error () | 364 as_fn_error () |
365 { | 365 { |
366 as_status=$?; test $as_status -eq 0 && as_status=1 | 366 as_status=$1; test $as_status -eq 0 && as_status=1 |
367 if test "$3"; then | 367 if test "$4"; then |
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 368 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 | 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
370 fi | 370 fi |
371 $as_echo "$as_me: error: $1" >&2 | 371 $as_echo "$as_me: error: $2" >&2 |
372 as_fn_exit $as_status | 372 as_fn_exit $as_status |
373 } # as_fn_error | 373 } # as_fn_error |
374 | 374 |
375 if expr a : '\(a\)' >/dev/null 2>&1 && | 375 if expr a : '\(a\)' >/dev/null 2>&1 && |
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
528 | 528 |
529 test -n "$DJDIR" || exec 7<&0 </dev/null | 529 test -n "$DJDIR" || exec 7<&0 </dev/null |
530 exec 6>&1 | 530 exec 6>&1 |
531 | 531 |
532 # Name of the host. | 532 # Name of the host. |
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
534 # so uname gets run too. | 534 # so uname gets run too. |
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
536 | 536 |
537 # | 537 # |
538 # Initializations. | 538 # Initializations. |
791 ac_prev= | 791 ac_prev= |
792 continue | 792 continue |
793 fi | 793 fi |
794 | 794 |
795 case $ac_option in | 795 case $ac_option in |
796 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | 796 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
797 *) ac_optarg=yes ;; | 797 *=) ac_optarg= ;; |
798 *) ac_optarg=yes ;; | |
798 esac | 799 esac |
799 | 800 |
800 # Accept the important Cygnus configure options, so we can diagnose typos. | 801 # Accept the important Cygnus configure options, so we can diagnose typos. |
801 | 802 |
802 case $ac_dashdash$ac_option in | 803 case $ac_dashdash$ac_option in |
837 | 838 |
838 -disable-* | --disable-*) | 839 -disable-* | --disable-*) |
839 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 840 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
840 # Reject names that are not valid shell variable names. | 841 # Reject names that are not valid shell variable names. |
841 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 842 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
842 as_fn_error "invalid feature name: $ac_useropt" | 843 as_fn_error $? "invalid feature name: $ac_useropt" |
843 ac_useropt_orig=$ac_useropt | 844 ac_useropt_orig=$ac_useropt |
844 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 845 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
845 case $ac_user_opts in | 846 case $ac_user_opts in |
846 *" | 847 *" |
847 "enable_$ac_useropt" | 848 "enable_$ac_useropt" |
863 | 864 |
864 -enable-* | --enable-*) | 865 -enable-* | --enable-*) |
865 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 866 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
866 # Reject names that are not valid shell variable names. | 867 # Reject names that are not valid shell variable names. |
867 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
868 as_fn_error "invalid feature name: $ac_useropt" | 869 as_fn_error $? "invalid feature name: $ac_useropt" |
869 ac_useropt_orig=$ac_useropt | 870 ac_useropt_orig=$ac_useropt |
870 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 871 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
871 case $ac_user_opts in | 872 case $ac_user_opts in |
872 *" | 873 *" |
873 "enable_$ac_useropt" | 874 "enable_$ac_useropt" |
1067 | 1068 |
1068 -with-* | --with-*) | 1069 -with-* | --with-*) |
1069 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1070 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1070 # Reject names that are not valid shell variable names. | 1071 # Reject names that are not valid shell variable names. |
1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1072 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1072 as_fn_error "invalid package name: $ac_useropt" | 1073 as_fn_error $? "invalid package name: $ac_useropt" |
1073 ac_useropt_orig=$ac_useropt | 1074 ac_useropt_orig=$ac_useropt |
1074 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1075 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1075 case $ac_user_opts in | 1076 case $ac_user_opts in |
1076 *" | 1077 *" |
1077 "with_$ac_useropt" | 1078 "with_$ac_useropt" |
1083 | 1084 |
1084 -without-* | --without-*) | 1085 -without-* | --without-*) |
1085 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1086 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1086 # Reject names that are not valid shell variable names. | 1087 # Reject names that are not valid shell variable names. |
1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1088 as_fn_error "invalid package name: $ac_useropt" | 1089 as_fn_error $? "invalid package name: $ac_useropt" |
1089 ac_useropt_orig=$ac_useropt | 1090 ac_useropt_orig=$ac_useropt |
1090 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1091 case $ac_user_opts in | 1092 case $ac_user_opts in |
1092 *" | 1093 *" |
1093 "with_$ac_useropt" | 1094 "with_$ac_useropt" |
1113 ac_prev=x_libraries ;; | 1114 ac_prev=x_libraries ;; |
1114 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1115 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1115 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1116 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1116 x_libraries=$ac_optarg ;; | 1117 x_libraries=$ac_optarg ;; |
1117 | 1118 |
1118 -*) as_fn_error "unrecognized option: \`$ac_option' | 1119 -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1119 Try \`$0 --help' for more information." | 1120 Try \`$0 --help' for more information" |
1120 ;; | 1121 ;; |
1121 | 1122 |
1122 *=*) | 1123 *=*) |
1123 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1124 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1124 # Reject names that are not valid shell variable names. | 1125 # Reject names that are not valid shell variable names. |
1125 case $ac_envvar in #( | 1126 case $ac_envvar in #( |
1126 '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1127 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1127 as_fn_error "invalid variable name: \`$ac_envvar'" ;; | 1128 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1128 esac | 1129 esac |
1129 eval $ac_envvar=\$ac_optarg | 1130 eval $ac_envvar=\$ac_optarg |
1130 export $ac_envvar ;; | 1131 export $ac_envvar ;; |
1131 | 1132 |
1132 *) | 1133 *) |
1140 esac | 1141 esac |
1141 done | 1142 done |
1142 | 1143 |
1143 if test -n "$ac_prev"; then | 1144 if test -n "$ac_prev"; then |
1144 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1145 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1145 as_fn_error "missing argument to $ac_option" | 1146 as_fn_error $? "missing argument to $ac_option" |
1146 fi | 1147 fi |
1147 | 1148 |
1148 if test -n "$ac_unrecognized_opts"; then | 1149 if test -n "$ac_unrecognized_opts"; then |
1149 case $enable_option_checking in | 1150 case $enable_option_checking in |
1150 no) ;; | 1151 no) ;; |
1151 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | 1152 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1152 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 1153 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1153 esac | 1154 esac |
1154 fi | 1155 fi |
1155 | 1156 |
1156 # Check all directory arguments for consistency. | 1157 # Check all directory arguments for consistency. |
1169 # Be sure to have absolute directory names. | 1170 # Be sure to have absolute directory names. |
1170 case $ac_val in | 1171 case $ac_val in |
1171 [\\/$]* | ?:[\\/]* ) continue;; | 1172 [\\/$]* | ?:[\\/]* ) continue;; |
1172 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1173 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1173 esac | 1174 esac |
1174 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" | 1175 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1175 done | 1176 done |
1176 | 1177 |
1177 # There might be people who depend on the old broken behavior: `$host' | 1178 # There might be people who depend on the old broken behavior: `$host' |
1178 # used to hold the argument of --host etc. | 1179 # used to hold the argument of --host etc. |
1179 # FIXME: To remove some day. | 1180 # FIXME: To remove some day. |
1183 | 1184 |
1184 # FIXME: To remove some day. | 1185 # FIXME: To remove some day. |
1185 if test "x$host_alias" != x; then | 1186 if test "x$host_alias" != x; then |
1186 if test "x$build_alias" = x; then | 1187 if test "x$build_alias" = x; then |
1187 cross_compiling=maybe | 1188 cross_compiling=maybe |
1188 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 1189 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1189 If a cross compiler is detected then cross compile mode will be used." >&2 | 1190 If a cross compiler is detected then cross compile mode will be used" >&2 |
1190 elif test "x$build_alias" != "x$host_alias"; then | 1191 elif test "x$build_alias" != "x$host_alias"; then |
1191 cross_compiling=yes | 1192 cross_compiling=yes |
1192 fi | 1193 fi |
1193 fi | 1194 fi |
1194 | 1195 |
1199 | 1200 |
1200 | 1201 |
1201 ac_pwd=`pwd` && test -n "$ac_pwd" && | 1202 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1202 ac_ls_di=`ls -di .` && | 1203 ac_ls_di=`ls -di .` && |
1203 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1204 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1204 as_fn_error "working directory cannot be determined" | 1205 as_fn_error $? "working directory cannot be determined" |
1205 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1206 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1206 as_fn_error "pwd does not report name of working directory" | 1207 as_fn_error $? "pwd does not report name of working directory" |
1207 | 1208 |
1208 | 1209 |
1209 # Find the source files, if location was not specified. | 1210 # Find the source files, if location was not specified. |
1210 if test -z "$srcdir"; then | 1211 if test -z "$srcdir"; then |
1211 ac_srcdir_defaulted=yes | 1212 ac_srcdir_defaulted=yes |
1240 else | 1241 else |
1241 ac_srcdir_defaulted=no | 1242 ac_srcdir_defaulted=no |
1242 fi | 1243 fi |
1243 if test ! -r "$srcdir/$ac_unique_file"; then | 1244 if test ! -r "$srcdir/$ac_unique_file"; then |
1244 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1245 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1245 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" | 1246 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1246 fi | 1247 fi |
1247 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1248 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1248 ac_abs_confdir=`( | 1249 ac_abs_confdir=`( |
1249 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" | 1250 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1250 pwd)` | 1251 pwd)` |
1251 # When building in place, set srcdir=. | 1252 # When building in place, set srcdir=. |
1252 if test "$ac_abs_confdir" = "$ac_pwd"; then | 1253 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1253 srcdir=. | 1254 srcdir=. |
1254 fi | 1255 fi |
1284 Configuration: | 1285 Configuration: |
1285 -h, --help display this help and exit | 1286 -h, --help display this help and exit |
1286 --help=short display options specific to this package | 1287 --help=short display options specific to this package |
1287 --help=recursive display the short help of all the included packages | 1288 --help=recursive display the short help of all the included packages |
1288 -V, --version display version information and exit | 1289 -V, --version display version information and exit |
1289 -q, --quiet, --silent do not print \`checking...' messages | 1290 -q, --quiet, --silent do not print \`checking ...' messages |
1290 --cache-file=FILE cache test results in FILE [disabled] | 1291 --cache-file=FILE cache test results in FILE [disabled] |
1291 -C, --config-cache alias for \`--cache-file=config.cache' | 1292 -C, --config-cache alias for \`--cache-file=config.cache' |
1292 -n, --no-create do not create output files | 1293 -n, --no-create do not create output files |
1293 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1294 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1294 | 1295 |
1442 | 1443 |
1443 test -n "$ac_init_help" && exit $ac_status | 1444 test -n "$ac_init_help" && exit $ac_status |
1444 if $ac_init_version; then | 1445 if $ac_init_version; then |
1445 cat <<\_ACEOF | 1446 cat <<\_ACEOF |
1446 configure | 1447 configure |
1447 generated by GNU Autoconf 2.65 | 1448 generated by GNU Autoconf 2.67 |
1448 | 1449 |
1449 Copyright (C) 2009 Free Software Foundation, Inc. | 1450 Copyright (C) 2010 Free Software Foundation, Inc. |
1450 This configure script is free software; the Free Software Foundation | 1451 This configure script is free software; the Free Software Foundation |
1451 gives unlimited permission to copy, distribute and modify it. | 1452 gives unlimited permission to copy, distribute and modify it. |
1452 _ACEOF | 1453 _ACEOF |
1453 exit | 1454 exit |
1454 fi | 1455 fi |
1552 grep -v '^ *+' conftest.err >conftest.er1 | 1553 grep -v '^ *+' conftest.err >conftest.er1 |
1553 cat conftest.er1 >&5 | 1554 cat conftest.er1 >&5 |
1554 mv -f conftest.er1 conftest.err | 1555 mv -f conftest.er1 conftest.err |
1555 fi | 1556 fi |
1556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 1557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1557 test $ac_status = 0; } >/dev/null && { | 1558 test $ac_status = 0; } > conftest.i && { |
1558 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | 1559 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1559 test ! -s conftest.err | 1560 test ! -s conftest.err |
1560 }; then : | 1561 }; then : |
1561 ac_retval=0 | 1562 ac_retval=0 |
1562 else | 1563 else |
1664 # the include files in INCLUDES and setting the cache variable VAR | 1665 # the include files in INCLUDES and setting the cache variable VAR |
1665 # accordingly. | 1666 # accordingly. |
1666 ac_fn_c_check_header_mongrel () | 1667 ac_fn_c_check_header_mongrel () |
1667 { | 1668 { |
1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1669 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1670 if eval "test \"\${$3+set}\"" = set; then : |
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1671 $as_echo_n "checking for $2... " >&6; } | 1672 $as_echo_n "checking for $2... " >&6; } |
1672 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1673 if eval "test \"\${$3+set}\"" = set; then : |
1673 $as_echo_n "(cached) " >&6 | 1674 $as_echo_n "(cached) " >&6 |
1674 fi | 1675 fi |
1675 eval ac_res=\$$3 | 1676 eval ac_res=\$$3 |
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1677 $as_echo "$ac_res" >&6; } | 1678 $as_echo "$ac_res" >&6; } |
1703 if ac_fn_c_try_cpp "$LINENO"; then : | 1704 if ac_fn_c_try_cpp "$LINENO"; then : |
1704 ac_header_preproc=yes | 1705 ac_header_preproc=yes |
1705 else | 1706 else |
1706 ac_header_preproc=no | 1707 ac_header_preproc=no |
1707 fi | 1708 fi |
1708 rm -f conftest.err conftest.$ac_ext | 1709 rm -f conftest.err conftest.i conftest.$ac_ext |
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | 1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1710 $as_echo "$ac_header_preproc" >&6; } | 1711 $as_echo "$ac_header_preproc" >&6; } |
1711 | 1712 |
1712 # So? What about this header? | 1713 # So? What about this header? |
1713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | 1714 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
1730 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 1731 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1731 ;; | 1732 ;; |
1732 esac | 1733 esac |
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1734 $as_echo_n "checking for $2... " >&6; } | 1735 $as_echo_n "checking for $2... " >&6; } |
1735 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1736 if eval "test \"\${$3+set}\"" = set; then : |
1736 $as_echo_n "(cached) " >&6 | 1737 $as_echo_n "(cached) " >&6 |
1737 else | 1738 else |
1738 eval "$3=\$ac_header_compiler" | 1739 eval "$3=\$ac_header_compiler" |
1739 fi | 1740 fi |
1740 eval ac_res=\$$3 | 1741 eval ac_res=\$$3 |
1752 ac_fn_c_check_header_compile () | 1753 ac_fn_c_check_header_compile () |
1753 { | 1754 { |
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1756 $as_echo_n "checking for $2... " >&6; } | 1757 $as_echo_n "checking for $2... " >&6; } |
1757 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1758 if eval "test \"\${$3+set}\"" = set; then : |
1758 $as_echo_n "(cached) " >&6 | 1759 $as_echo_n "(cached) " >&6 |
1759 else | 1760 else |
1760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1761 /* end confdefs.h. */ | 1762 /* end confdefs.h. */ |
1762 $4 | 1763 $4 |
1782 ac_fn_c_check_func () | 1783 ac_fn_c_check_func () |
1783 { | 1784 { |
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1786 $as_echo_n "checking for $2... " >&6; } | 1787 $as_echo_n "checking for $2... " >&6; } |
1787 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1788 if eval "test \"\${$3+set}\"" = set; then : |
1788 $as_echo_n "(cached) " >&6 | 1789 $as_echo_n "(cached) " >&6 |
1789 else | 1790 else |
1790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1791 /* end confdefs.h. */ | 1792 /* end confdefs.h. */ |
1792 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | 1793 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
1845 cat >config.log <<_ACEOF | 1846 cat >config.log <<_ACEOF |
1846 This file contains any messages produced by compilers while | 1847 This file contains any messages produced by compilers while |
1847 running configure, to aid debugging if configure makes a mistake. | 1848 running configure, to aid debugging if configure makes a mistake. |
1848 | 1849 |
1849 It was created by $as_me, which was | 1850 It was created by $as_me, which was |
1850 generated by GNU Autoconf 2.65. Invocation command line was | 1851 generated by GNU Autoconf 2.67. Invocation command line was |
1851 | 1852 |
1852 $ $0 $@ | 1853 $ $0 $@ |
1853 | 1854 |
1854 _ACEOF | 1855 _ACEOF |
1855 exec 5>>config.log | 1856 exec 5>>config.log |
1955 trap 'exit_status=$? | 1956 trap 'exit_status=$? |
1956 # Save into config.log some information that might help in debugging. | 1957 # Save into config.log some information that might help in debugging. |
1957 { | 1958 { |
1958 echo | 1959 echo |
1959 | 1960 |
1960 cat <<\_ASBOX | 1961 $as_echo "## ---------------- ## |
1961 ## ---------------- ## | |
1962 ## Cache variables. ## | 1962 ## Cache variables. ## |
1963 ## ---------------- ## | 1963 ## ---------------- ##" |
1964 _ASBOX | |
1965 echo | 1964 echo |
1966 # The following way of writing the cache mishandles newlines in values, | 1965 # The following way of writing the cache mishandles newlines in values, |
1967 ( | 1966 ( |
1968 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 1967 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1969 eval ac_val=\$$ac_var | 1968 eval ac_val=\$$ac_var |
1993 esac | | 1992 esac | |
1994 sort | 1993 sort |
1995 ) | 1994 ) |
1996 echo | 1995 echo |
1997 | 1996 |
1998 cat <<\_ASBOX | 1997 $as_echo "## ----------------- ## |
1999 ## ----------------- ## | |
2000 ## Output variables. ## | 1998 ## Output variables. ## |
2001 ## ----------------- ## | 1999 ## ----------------- ##" |
2002 _ASBOX | |
2003 echo | 2000 echo |
2004 for ac_var in $ac_subst_vars | 2001 for ac_var in $ac_subst_vars |
2005 do | 2002 do |
2006 eval ac_val=\$$ac_var | 2003 eval ac_val=\$$ac_var |
2007 case $ac_val in | 2004 case $ac_val in |
2010 $as_echo "$ac_var='\''$ac_val'\''" | 2007 $as_echo "$ac_var='\''$ac_val'\''" |
2011 done | sort | 2008 done | sort |
2012 echo | 2009 echo |
2013 | 2010 |
2014 if test -n "$ac_subst_files"; then | 2011 if test -n "$ac_subst_files"; then |
2015 cat <<\_ASBOX | 2012 $as_echo "## ------------------- ## |
2016 ## ------------------- ## | |
2017 ## File substitutions. ## | 2013 ## File substitutions. ## |
2018 ## ------------------- ## | 2014 ## ------------------- ##" |
2019 _ASBOX | |
2020 echo | 2015 echo |
2021 for ac_var in $ac_subst_files | 2016 for ac_var in $ac_subst_files |
2022 do | 2017 do |
2023 eval ac_val=\$$ac_var | 2018 eval ac_val=\$$ac_var |
2024 case $ac_val in | 2019 case $ac_val in |
2028 done | sort | 2023 done | sort |
2029 echo | 2024 echo |
2030 fi | 2025 fi |
2031 | 2026 |
2032 if test -s confdefs.h; then | 2027 if test -s confdefs.h; then |
2033 cat <<\_ASBOX | 2028 $as_echo "## ----------- ## |
2034 ## ----------- ## | |
2035 ## confdefs.h. ## | 2029 ## confdefs.h. ## |
2036 ## ----------- ## | 2030 ## ----------- ##" |
2037 _ASBOX | |
2038 echo | 2031 echo |
2039 cat confdefs.h | 2032 cat confdefs.h |
2040 echo | 2033 echo |
2041 fi | 2034 fi |
2042 test "$ac_signal" != 0 && | 2035 test "$ac_signal" != 0 && |
2087 # Let the site file select an alternate cache file if it wants to. | 2080 # Let the site file select an alternate cache file if it wants to. |
2088 # Prefer an explicitly selected file to automatically selected ones. | 2081 # Prefer an explicitly selected file to automatically selected ones. |
2089 ac_site_file1=NONE | 2082 ac_site_file1=NONE |
2090 ac_site_file2=NONE | 2083 ac_site_file2=NONE |
2091 if test -n "$CONFIG_SITE"; then | 2084 if test -n "$CONFIG_SITE"; then |
2092 ac_site_file1=$CONFIG_SITE | 2085 # We do not want a PATH search for config.site. |
2086 case $CONFIG_SITE in #(( | |
2087 -*) ac_site_file1=./$CONFIG_SITE;; | |
2088 */*) ac_site_file1=$CONFIG_SITE;; | |
2089 *) ac_site_file1=./$CONFIG_SITE;; | |
2090 esac | |
2093 elif test "x$prefix" != xNONE; then | 2091 elif test "x$prefix" != xNONE; then |
2094 ac_site_file1=$prefix/share/config.site | 2092 ac_site_file1=$prefix/share/config.site |
2095 ac_site_file2=$prefix/etc/config.site | 2093 ac_site_file2=$prefix/etc/config.site |
2096 else | 2094 else |
2097 ac_site_file1=$ac_default_prefix/share/config.site | 2095 ac_site_file1=$ac_default_prefix/share/config.site |
2102 test "x$ac_site_file" = xNONE && continue | 2100 test "x$ac_site_file" = xNONE && continue |
2103 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 2101 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 2102 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2105 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 2103 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2106 sed 's/^/| /' "$ac_site_file" >&5 | 2104 sed 's/^/| /' "$ac_site_file" >&5 |
2107 . "$ac_site_file" | 2105 . "$ac_site_file" \ |
2106 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2108 as_fn_error $? "failed to load site script $ac_site_file | |
2109 See \`config.log' for more details" "$LINENO" 5 ; } | |
2108 fi | 2110 fi |
2109 done | 2111 done |
2110 | 2112 |
2111 if test -r "$cache_file"; then | 2113 if test -r "$cache_file"; then |
2112 # Some versions of bash will fail to source /dev/null (special files | 2114 # Some versions of bash will fail to source /dev/null (special files |
2178 if $ac_cache_corrupted; then | 2180 if $ac_cache_corrupted; then |
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2181 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 2183 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2182 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2184 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2183 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 2185 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2184 fi | 2186 fi |
2185 ## -------------------- ## | 2187 ## -------------------- ## |
2186 ## Main body of script. ## | 2188 ## Main body of script. ## |
2187 ## -------------------- ## | 2189 ## -------------------- ## |
2188 | 2190 |
2195 | 2197 |
2196 ac_config_headers="$ac_config_headers config.h" | 2198 ac_config_headers="$ac_config_headers config.h" |
2197 | 2199 |
2198 | 2200 |
2199 DW_MAJOR_VERSION=2 | 2201 DW_MAJOR_VERSION=2 |
2200 DW_MINOR_VERSION=0 | 2202 DW_MINOR_VERSION=1 |
2201 DW_SUB_VERSION=0 | 2203 DW_SUB_VERSION=0 |
2202 | 2204 |
2203 TARGET="dwindows" | 2205 TARGET="dwindows" |
2204 TARGET2="dwcompat" | 2206 TARGET2="dwcompat" |
2207 | |
2208 | |
2205 | 2209 |
2206 | 2210 |
2207 | 2211 |
2208 DW_DIR=gtk | 2212 DW_DIR=gtk |
2209 DW_SRC=dw.c | 2213 DW_SRC=dw.c |
2516 fi | 2520 fi |
2517 | 2521 |
2518 | 2522 |
2519 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2523 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2521 as_fn_error "no acceptable C compiler found in \$PATH | 2525 as_fn_error $? "no acceptable C compiler found in \$PATH |
2522 See \`config.log' for more details." "$LINENO" 5; } | 2526 See \`config.log' for more details" "$LINENO" 5 ; } |
2523 | 2527 |
2524 # Provide some information about the compiler. | 2528 # Provide some information about the compiler. |
2525 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 2529 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2526 set X $ac_compile | 2530 set X $ac_compile |
2527 ac_compiler=$2 | 2531 ac_compiler=$2 |
2631 $as_echo "$as_me: failed program was:" >&5 | 2635 $as_echo "$as_me: failed program was:" >&5 |
2632 sed 's/^/| /' conftest.$ac_ext >&5 | 2636 sed 's/^/| /' conftest.$ac_ext >&5 |
2633 | 2637 |
2634 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2636 { as_fn_set_status 77 | 2640 as_fn_error 77 "C compiler cannot create executables |
2637 as_fn_error "C compiler cannot create executables | 2641 See \`config.log' for more details" "$LINENO" 5 ; } |
2638 See \`config.log' for more details." "$LINENO" 5; }; } | |
2639 else | 2642 else |
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2641 $as_echo "yes" >&6; } | 2644 $as_echo "yes" >&6; } |
2642 fi | 2645 fi |
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | 2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
2675 esac | 2678 esac |
2676 done | 2679 done |
2677 else | 2680 else |
2678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2680 as_fn_error "cannot compute suffix of executables: cannot compile and link | 2683 as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
2681 See \`config.log' for more details." "$LINENO" 5; } | 2684 See \`config.log' for more details" "$LINENO" 5 ; } |
2682 fi | 2685 fi |
2683 rm -f conftest conftest$ac_cv_exeext | 2686 rm -f conftest conftest$ac_cv_exeext |
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2685 $as_echo "$ac_cv_exeext" >&6; } | 2688 $as_echo "$ac_cv_exeext" >&6; } |
2686 | 2689 |
2733 if test "$cross_compiling" = maybe; then | 2736 if test "$cross_compiling" = maybe; then |
2734 cross_compiling=yes | 2737 cross_compiling=yes |
2735 else | 2738 else |
2736 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2738 as_fn_error "cannot run C compiled programs. | 2741 as_fn_error $? "cannot run C compiled programs. |
2739 If you meant to cross compile, use \`--host'. | 2742 If you meant to cross compile, use \`--host'. |
2740 See \`config.log' for more details." "$LINENO" 5; } | 2743 See \`config.log' for more details" "$LINENO" 5 ; } |
2741 fi | 2744 fi |
2742 fi | 2745 fi |
2743 fi | 2746 fi |
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | 2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
2745 $as_echo "$cross_compiling" >&6; } | 2748 $as_echo "$cross_compiling" >&6; } |
2786 $as_echo "$as_me: failed program was:" >&5 | 2789 $as_echo "$as_me: failed program was:" >&5 |
2787 sed 's/^/| /' conftest.$ac_ext >&5 | 2790 sed 's/^/| /' conftest.$ac_ext >&5 |
2788 | 2791 |
2789 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2791 as_fn_error "cannot compute suffix of object files: cannot compile | 2794 as_fn_error $? "cannot compute suffix of object files: cannot compile |
2792 See \`config.log' for more details." "$LINENO" 5; } | 2795 See \`config.log' for more details" "$LINENO" 5 ; } |
2793 fi | 2796 fi |
2794 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 2797 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2795 fi | 2798 fi |
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2797 $as_echo "$ac_cv_objext" >&6; } | 2800 $as_echo "$ac_cv_objext" >&6; } |
3344 | 3347 |
3345 fi | 3348 fi |
3346 | 3349 |
3347 ac_aux_dir= | 3350 ac_aux_dir= |
3348 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 3351 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
3349 for ac_t in install-sh install.sh shtool; do | 3352 if test -f "$ac_dir/install-sh"; then |
3350 if test -f "$ac_dir/$ac_t"; then | 3353 ac_aux_dir=$ac_dir |
3351 ac_aux_dir=$ac_dir | 3354 ac_install_sh="$ac_aux_dir/install-sh -c" |
3352 ac_install_sh="$ac_aux_dir/$ac_t -c" | 3355 break |
3353 break 2 | 3356 elif test -f "$ac_dir/install.sh"; then |
3354 fi | 3357 ac_aux_dir=$ac_dir |
3355 done | 3358 ac_install_sh="$ac_aux_dir/install.sh -c" |
3359 break | |
3360 elif test -f "$ac_dir/shtool"; then | |
3361 ac_aux_dir=$ac_dir | |
3362 ac_install_sh="$ac_aux_dir/shtool install -c" | |
3363 break | |
3364 fi | |
3356 done | 3365 done |
3357 if test -z "$ac_aux_dir"; then | 3366 if test -z "$ac_aux_dir"; then |
3358 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 3367 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
3359 fi | 3368 fi |
3360 | 3369 |
3361 # These three variables are undocumented and unsupported, | 3370 # These three variables are undocumented and unsupported, |
3362 # and are intended to be withdrawn in a future Autoconf release. | 3371 # and are intended to be withdrawn in a future Autoconf release. |
3363 # They can cause serious problems if a builder's source tree is in a directory | 3372 # They can cause serious problems if a builder's source tree is in a directory |
3463 | 3472 |
3464 | 3473 |
3465 | 3474 |
3466 # Make sure we can run config.sub. | 3475 # Make sure we can run config.sub. |
3467 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 3476 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
3468 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 3477 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
3469 | 3478 |
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
3471 $as_echo_n "checking build system type... " >&6; } | 3480 $as_echo_n "checking build system type... " >&6; } |
3472 if test "${ac_cv_build+set}" = set; then : | 3481 if test "${ac_cv_build+set}" = set; then : |
3473 $as_echo_n "(cached) " >&6 | 3482 $as_echo_n "(cached) " >&6 |
3474 else | 3483 else |
3475 ac_build_alias=$build_alias | 3484 ac_build_alias=$build_alias |
3476 test "x$ac_build_alias" = x && | 3485 test "x$ac_build_alias" = x && |
3477 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 3486 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
3478 test "x$ac_build_alias" = x && | 3487 test "x$ac_build_alias" = x && |
3479 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 | 3488 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
3480 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 3489 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
3481 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 3490 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
3482 | 3491 |
3483 fi | 3492 fi |
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
3485 $as_echo "$ac_cv_build" >&6; } | 3494 $as_echo "$ac_cv_build" >&6; } |
3486 case $ac_cv_build in | 3495 case $ac_cv_build in |
3487 *-*-*) ;; | 3496 *-*-*) ;; |
3488 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; | 3497 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; |
3489 esac | 3498 esac |
3490 build=$ac_cv_build | 3499 build=$ac_cv_build |
3491 ac_save_IFS=$IFS; IFS='-' | 3500 ac_save_IFS=$IFS; IFS='-' |
3492 set x $ac_cv_build | 3501 set x $ac_cv_build |
3493 shift | 3502 shift |
3508 else | 3517 else |
3509 if test "x$host_alias" = x; then | 3518 if test "x$host_alias" = x; then |
3510 ac_cv_host=$ac_cv_build | 3519 ac_cv_host=$ac_cv_build |
3511 else | 3520 else |
3512 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 3521 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
3513 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 3522 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
3514 fi | 3523 fi |
3515 | 3524 |
3516 fi | 3525 fi |
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
3518 $as_echo "$ac_cv_host" >&6; } | 3527 $as_echo "$ac_cv_host" >&6; } |
3519 case $ac_cv_host in | 3528 case $ac_cv_host in |
3520 *-*-*) ;; | 3529 *-*-*) ;; |
3521 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; | 3530 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; |
3522 esac | 3531 esac |
3523 host=$ac_cv_host | 3532 host=$ac_cv_host |
3524 ac_save_IFS=$IFS; IFS='-' | 3533 ac_save_IFS=$IFS; IFS='-' |
3525 set x $ac_cv_host | 3534 set x $ac_cv_host |
3526 shift | 3535 shift |
3541 else | 3550 else |
3542 if test "x$target_alias" = x; then | 3551 if test "x$target_alias" = x; then |
3543 ac_cv_target=$ac_cv_host | 3552 ac_cv_target=$ac_cv_host |
3544 else | 3553 else |
3545 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || | 3554 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
3546 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 | 3555 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 |
3547 fi | 3556 fi |
3548 | 3557 |
3549 fi | 3558 fi |
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 | 3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 |
3551 $as_echo "$ac_cv_target" >&6; } | 3560 $as_echo "$ac_cv_target" >&6; } |
3552 case $ac_cv_target in | 3561 case $ac_cv_target in |
3553 *-*-*) ;; | 3562 *-*-*) ;; |
3554 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; | 3563 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; |
3555 esac | 3564 esac |
3556 target=$ac_cv_target | 3565 target=$ac_cv_target |
3557 ac_save_IFS=$IFS; IFS='-' | 3566 ac_save_IFS=$IFS; IFS='-' |
3558 set x $ac_cv_target | 3567 set x $ac_cv_target |
3559 shift | 3568 shift |
3691 | 3700 |
3692 else | 3701 else |
3693 # Broken: fails on valid input. | 3702 # Broken: fails on valid input. |
3694 continue | 3703 continue |
3695 fi | 3704 fi |
3696 rm -f conftest.err conftest.$ac_ext | 3705 rm -f conftest.err conftest.i conftest.$ac_ext |
3697 | 3706 |
3698 # OK, works on sane cases. Now check whether nonexistent headers | 3707 # OK, works on sane cases. Now check whether nonexistent headers |
3699 # can be detected and how. | 3708 # can be detected and how. |
3700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3701 /* end confdefs.h. */ | 3710 /* end confdefs.h. */ |
3707 else | 3716 else |
3708 # Passes both tests. | 3717 # Passes both tests. |
3709 ac_preproc_ok=: | 3718 ac_preproc_ok=: |
3710 break | 3719 break |
3711 fi | 3720 fi |
3712 rm -f conftest.err conftest.$ac_ext | 3721 rm -f conftest.err conftest.i conftest.$ac_ext |
3713 | 3722 |
3714 done | 3723 done |
3715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3724 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3716 rm -f conftest.err conftest.$ac_ext | 3725 rm -f conftest.i conftest.err conftest.$ac_ext |
3717 if $ac_preproc_ok; then : | 3726 if $ac_preproc_ok; then : |
3718 break | 3727 break |
3719 fi | 3728 fi |
3720 | 3729 |
3721 done | 3730 done |
3750 | 3759 |
3751 else | 3760 else |
3752 # Broken: fails on valid input. | 3761 # Broken: fails on valid input. |
3753 continue | 3762 continue |
3754 fi | 3763 fi |
3755 rm -f conftest.err conftest.$ac_ext | 3764 rm -f conftest.err conftest.i conftest.$ac_ext |
3756 | 3765 |
3757 # OK, works on sane cases. Now check whether nonexistent headers | 3766 # OK, works on sane cases. Now check whether nonexistent headers |
3758 # can be detected and how. | 3767 # can be detected and how. |
3759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3760 /* end confdefs.h. */ | 3769 /* end confdefs.h. */ |
3766 else | 3775 else |
3767 # Passes both tests. | 3776 # Passes both tests. |
3768 ac_preproc_ok=: | 3777 ac_preproc_ok=: |
3769 break | 3778 break |
3770 fi | 3779 fi |
3771 rm -f conftest.err conftest.$ac_ext | 3780 rm -f conftest.err conftest.i conftest.$ac_ext |
3772 | 3781 |
3773 done | 3782 done |
3774 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3783 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3775 rm -f conftest.err conftest.$ac_ext | 3784 rm -f conftest.i conftest.err conftest.$ac_ext |
3776 if $ac_preproc_ok; then : | 3785 if $ac_preproc_ok; then : |
3777 | 3786 |
3778 else | 3787 else |
3779 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3788 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3781 as_fn_error "C preprocessor \"$CPP\" fails sanity check | 3790 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
3782 See \`config.log' for more details." "$LINENO" 5; } | 3791 See \`config.log' for more details" "$LINENO" 5 ; } |
3783 fi | 3792 fi |
3784 | 3793 |
3785 ac_ext=c | 3794 ac_ext=c |
3786 ac_cpp='$CPP $CPPFLAGS' | 3795 ac_cpp='$CPP $CPPFLAGS' |
3787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3838 done | 3847 done |
3839 done | 3848 done |
3840 done | 3849 done |
3841 IFS=$as_save_IFS | 3850 IFS=$as_save_IFS |
3842 if test -z "$ac_cv_path_GREP"; then | 3851 if test -z "$ac_cv_path_GREP"; then |
3843 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 3852 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
3844 fi | 3853 fi |
3845 else | 3854 else |
3846 ac_cv_path_GREP=$GREP | 3855 ac_cv_path_GREP=$GREP |
3847 fi | 3856 fi |
3848 | 3857 |
3904 done | 3913 done |
3905 done | 3914 done |
3906 done | 3915 done |
3907 IFS=$as_save_IFS | 3916 IFS=$as_save_IFS |
3908 if test -z "$ac_cv_path_EGREP"; then | 3917 if test -z "$ac_cv_path_EGREP"; then |
3909 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 3918 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
3910 fi | 3919 fi |
3911 else | 3920 else |
3912 ac_cv_path_EGREP=$EGREP | 3921 ac_cv_path_EGREP=$EGREP |
3913 fi | 3922 fi |
3914 | 3923 |
4034 ac_header_dirent=no | 4043 ac_header_dirent=no |
4035 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do | 4044 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do |
4036 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` | 4045 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 | 4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 |
4038 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } | 4047 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } |
4039 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then : | 4048 if eval "test \"\${$as_ac_Header+set}\"" = set; then : |
4040 $as_echo_n "(cached) " >&6 | 4049 $as_echo_n "(cached) " >&6 |
4041 else | 4050 else |
4042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4043 /* end confdefs.h. */ | 4052 /* end confdefs.h. */ |
4044 #include <sys/types.h> | 4053 #include <sys/types.h> |
4061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4062 fi | 4071 fi |
4063 eval ac_res=\$$as_ac_Header | 4072 eval ac_res=\$$as_ac_Header |
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
4065 $as_echo "$ac_res" >&6; } | 4074 $as_echo "$ac_res" >&6; } |
4066 eval as_val=\$$as_ac_Header | 4075 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
4067 if test "x$as_val" = x""yes; then : | |
4068 cat >>confdefs.h <<_ACEOF | 4076 cat >>confdefs.h <<_ACEOF |
4069 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 | 4077 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
4070 _ACEOF | 4078 _ACEOF |
4071 | 4079 |
4072 ac_header_dirent=$ac_hdr; break | 4080 ac_header_dirent=$ac_hdr; break |
4195 inttypes.h stdint.h unistd.h | 4203 inttypes.h stdint.h unistd.h |
4196 do : | 4204 do : |
4197 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4205 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4198 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4206 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
4199 " | 4207 " |
4200 eval as_val=\$$as_ac_Header | 4208 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
4201 if test "x$as_val" = x""yes; then : | |
4202 cat >>confdefs.h <<_ACEOF | 4209 cat >>confdefs.h <<_ACEOF |
4203 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4210 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4204 _ACEOF | 4211 _ACEOF |
4205 | 4212 |
4206 fi | 4213 fi |
5000 LIBS="$ac_save_LIBS" | 5007 LIBS="$ac_save_LIBS" |
5001 fi | 5008 fi |
5002 fi | 5009 fi |
5003 GLIB_CFLAGS="" | 5010 GLIB_CFLAGS="" |
5004 GLIB_LIBS="" | 5011 GLIB_LIBS="" |
5005 as_fn_error "as_fn_error \"Cannot find GLIB: Is glib-config in path?\" \"$LINENO\" 5" "$LINENO" 5 | 5012 as_fn_error $? "as_fn_error $? \"Cannot find GLIB: Is glib-config in path?\" \"$LINENO\" 5 " "$LINENO" 5 |
5006 fi | 5013 fi |
5007 | 5014 |
5008 | 5015 |
5009 rm -f conf.glibtest | 5016 rm -f conf.glibtest |
5010 | 5017 |
5265 LIBS="$ac_save_LIBS" | 5272 LIBS="$ac_save_LIBS" |
5266 fi | 5273 fi |
5267 fi | 5274 fi |
5268 GTK_CFLAGS="" | 5275 GTK_CFLAGS="" |
5269 GTK_LIBS="" | 5276 GTK_LIBS="" |
5270 as_fn_error "as_fn_error \"Cannot find GTK: Is gtk-config in path?\" \"$LINENO\" 5" "$LINENO" 5 | 5277 as_fn_error $? "as_fn_error $? \"Cannot find GTK: Is gtk-config in path?\" \"$LINENO\" 5 " "$LINENO" 5 |
5271 fi | 5278 fi |
5272 | 5279 |
5273 | 5280 |
5274 rm -f conf.gtktest | 5281 rm -f conf.gtktest |
5275 | 5282 |
5487 LIBS="$ac_save_LIBS" | 5494 LIBS="$ac_save_LIBS" |
5488 fi | 5495 fi |
5489 fi | 5496 fi |
5490 GDK_IMLIB_CFLAGS="" | 5497 GDK_IMLIB_CFLAGS="" |
5491 GDK_IMLIB_LIBS="" | 5498 GDK_IMLIB_LIBS="" |
5492 as_fn_error "IMLIB not found or too old. Dynamic Windows cannot build without it." "$LINENO" 5 | 5499 as_fn_error $? "IMLIB not found or too old. Dynamic Windows cannot build without it." "$LINENO" 5 |
5493 fi | 5500 fi |
5494 | 5501 |
5495 | 5502 |
5496 rm -f conf.gdkimlibtest | 5503 rm -f conf.gdkimlibtest |
5497 | 5504 |
5504 if test $check_pthreads = "yes"; then | 5511 if test $check_pthreads = "yes"; then |
5505 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" | 5512 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" |
5506 if test "x$ac_cv_header_pthread_h" = x""yes; then : | 5513 if test "x$ac_cv_header_pthread_h" = x""yes; then : |
5507 | 5514 |
5508 else | 5515 else |
5509 as_fn_error "pthread header not found. Dynamic Windows cannot build without it." "$LINENO" 5 | 5516 as_fn_error $? "pthread header not found. Dynamic Windows cannot build without it." "$LINENO" 5 |
5510 fi | 5517 fi |
5511 | 5518 |
5512 | 5519 |
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5 | 5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5 |
5514 $as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; } | 5521 $as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; } |
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_attr_init" >&5 | 5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_attr_init" >&5 |
5665 $as_echo "$ac_cv_lib_c_pthread_attr_init" >&6; } | 5672 $as_echo "$ac_cv_lib_c_pthread_attr_init" >&6; } |
5666 if test "x$ac_cv_lib_c_pthread_attr_init" = x""yes; then : | 5673 if test "x$ac_cv_lib_c_pthread_attr_init" = x""yes; then : |
5667 PTHREAD_LIBS="-lc" | 5674 PTHREAD_LIBS="-lc" |
5668 else | 5675 else |
5669 as_fn_error "pthread library not found. dwindows cannot build without it." "$LINENO" 5 | 5676 as_fn_error $? "pthread library not found. dwindows cannot build without it." "$LINENO" 5 |
5670 | 5677 |
5671 fi | 5678 fi |
5672 | 5679 |
5673 | 5680 |
5674 fi | 5681 fi |
5778 | 5785 |
5779 else | 5786 else |
5780 as_ac_Lib=`$as_echo "ac_cv_lib_$WEBKIT_LIB''_webkit_web_view_new" | $as_tr_sh` | 5787 as_ac_Lib=`$as_echo "ac_cv_lib_$WEBKIT_LIB''_webkit_web_view_new" | $as_tr_sh` |
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for webkit_web_view_new in -l$WEBKIT_LIB" >&5 | 5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for webkit_web_view_new in -l$WEBKIT_LIB" >&5 |
5782 $as_echo_n "checking for webkit_web_view_new in -l$WEBKIT_LIB... " >&6; } | 5789 $as_echo_n "checking for webkit_web_view_new in -l$WEBKIT_LIB... " >&6; } |
5783 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : | 5790 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : |
5784 $as_echo_n "(cached) " >&6 | 5791 $as_echo_n "(cached) " >&6 |
5785 else | 5792 else |
5786 ac_check_lib_save_LIBS=$LIBS | 5793 ac_check_lib_save_LIBS=$LIBS |
5787 LIBS="-l$WEBKIT_LIB $LIBS" | 5794 LIBS="-l$WEBKIT_LIB $LIBS" |
5788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5813 LIBS=$ac_check_lib_save_LIBS | 5820 LIBS=$ac_check_lib_save_LIBS |
5814 fi | 5821 fi |
5815 eval ac_res=\$$as_ac_Lib | 5822 eval ac_res=\$$as_ac_Lib |
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
5817 $as_echo "$ac_res" >&6; } | 5824 $as_echo "$ac_res" >&6; } |
5818 eval as_val=\$$as_ac_Lib | 5825 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : |
5819 if test "x$as_val" = x""yes; then : | |
5820 $as_echo "#define USE_WEBKIT 1" >>confdefs.h | 5826 $as_echo "#define USE_WEBKIT 1" >>confdefs.h |
5821 | 5827 |
5822 else | 5828 else |
5823 BROWSER_OBJECT="" | 5829 BROWSER_OBJECT="" |
5824 fi | 5830 fi |
5947 | 5953 |
5948 DEFS=-DHAVE_CONFIG_H | 5954 DEFS=-DHAVE_CONFIG_H |
5949 | 5955 |
5950 ac_libobjs= | 5956 ac_libobjs= |
5951 ac_ltlibobjs= | 5957 ac_ltlibobjs= |
5958 U= | |
5952 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 5959 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
5953 # 1. Remove the extension, and $U if already installed. | 5960 # 1. Remove the extension, and $U if already installed. |
5954 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 5961 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
5955 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 5962 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
5956 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 5963 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
6108 | 6115 |
6109 # CDPATH. | 6116 # CDPATH. |
6110 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 6117 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
6111 | 6118 |
6112 | 6119 |
6113 # as_fn_error ERROR [LINENO LOG_FD] | 6120 # as_fn_error STATUS ERROR [LINENO LOG_FD] |
6114 # --------------------------------- | 6121 # ---------------------------------------- |
6115 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 6122 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
6116 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 6123 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
6117 # script with status $?, using 1 if that was 0. | 6124 # script with STATUS, using 1 if that was 0. |
6118 as_fn_error () | 6125 as_fn_error () |
6119 { | 6126 { |
6120 as_status=$?; test $as_status -eq 0 && as_status=1 | 6127 as_status=$1; test $as_status -eq 0 && as_status=1 |
6121 if test "$3"; then | 6128 if test "$4"; then |
6122 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 6129 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
6123 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | 6130 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
6124 fi | 6131 fi |
6125 $as_echo "$as_me: error: $1" >&2 | 6132 $as_echo "$as_me: error: $2" >&2 |
6126 as_fn_exit $as_status | 6133 as_fn_exit $as_status |
6127 } # as_fn_error | 6134 } # as_fn_error |
6128 | 6135 |
6129 | 6136 |
6130 # as_fn_set_status STATUS | 6137 # as_fn_set_status STATUS |
6316 } | 6323 } |
6317 s/.*/./; q'` | 6324 s/.*/./; q'` |
6318 test -d "$as_dir" && break | 6325 test -d "$as_dir" && break |
6319 done | 6326 done |
6320 test -z "$as_dirs" || eval "mkdir $as_dirs" | 6327 test -z "$as_dirs" || eval "mkdir $as_dirs" |
6321 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | 6328 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
6322 | 6329 |
6323 | 6330 |
6324 } # as_fn_mkdir_p | 6331 } # as_fn_mkdir_p |
6325 if mkdir -p . 2>/dev/null; then | 6332 if mkdir -p . 2>/dev/null; then |
6326 as_mkdir_p='mkdir -p "$as_dir"' | 6333 as_mkdir_p='mkdir -p "$as_dir"' |
6370 # Save the log message, to keep $0 and so on meaningful, and to | 6377 # Save the log message, to keep $0 and so on meaningful, and to |
6371 # report actual input values of CONFIG_FILES etc. instead of their | 6378 # report actual input values of CONFIG_FILES etc. instead of their |
6372 # values after options handling. | 6379 # values after options handling. |
6373 ac_log=" | 6380 ac_log=" |
6374 This file was extended by $as_me, which was | 6381 This file was extended by $as_me, which was |
6375 generated by GNU Autoconf 2.65. Invocation command line was | 6382 generated by GNU Autoconf 2.67. Invocation command line was |
6376 | 6383 |
6377 CONFIG_FILES = $CONFIG_FILES | 6384 CONFIG_FILES = $CONFIG_FILES |
6378 CONFIG_HEADERS = $CONFIG_HEADERS | 6385 CONFIG_HEADERS = $CONFIG_HEADERS |
6379 CONFIG_LINKS = $CONFIG_LINKS | 6386 CONFIG_LINKS = $CONFIG_LINKS |
6380 CONFIG_COMMANDS = $CONFIG_COMMANDS | 6387 CONFIG_COMMANDS = $CONFIG_COMMANDS |
6432 _ACEOF | 6439 _ACEOF |
6433 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 6440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6434 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 6441 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
6435 ac_cs_version="\\ | 6442 ac_cs_version="\\ |
6436 config.status | 6443 config.status |
6437 configured by $0, generated by GNU Autoconf 2.65, | 6444 configured by $0, generated by GNU Autoconf 2.67, |
6438 with options \\"\$ac_cs_config\\" | 6445 with options \\"\$ac_cs_config\\" |
6439 | 6446 |
6440 Copyright (C) 2009 Free Software Foundation, Inc. | 6447 Copyright (C) 2010 Free Software Foundation, Inc. |
6441 This config.status script is free software; the Free Software Foundation | 6448 This config.status script is free software; the Free Software Foundation |
6442 gives unlimited permission to copy, distribute and modify it." | 6449 gives unlimited permission to copy, distribute and modify it." |
6443 | 6450 |
6444 ac_pwd='$ac_pwd' | 6451 ac_pwd='$ac_pwd' |
6445 srcdir='$srcdir' | 6452 srcdir='$srcdir' |
6451 # The default lists apply if the user does not specify any file. | 6458 # The default lists apply if the user does not specify any file. |
6452 ac_need_defaults=: | 6459 ac_need_defaults=: |
6453 while test $# != 0 | 6460 while test $# != 0 |
6454 do | 6461 do |
6455 case $1 in | 6462 case $1 in |
6456 --*=*) | 6463 --*=?*) |
6457 ac_option=`expr "X$1" : 'X\([^=]*\)='` | 6464 ac_option=`expr "X$1" : 'X\([^=]*\)='` |
6458 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | 6465 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
6466 ac_shift=: | |
6467 ;; | |
6468 --*=) | |
6469 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
6470 ac_optarg= | |
6459 ac_shift=: | 6471 ac_shift=: |
6460 ;; | 6472 ;; |
6461 *) | 6473 *) |
6462 ac_option=$1 | 6474 ac_option=$1 |
6463 ac_optarg=$2 | 6475 ac_optarg=$2 |
6477 debug=: ;; | 6489 debug=: ;; |
6478 --file | --fil | --fi | --f ) | 6490 --file | --fil | --fi | --f ) |
6479 $ac_shift | 6491 $ac_shift |
6480 case $ac_optarg in | 6492 case $ac_optarg in |
6481 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 6493 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
6494 '') as_fn_error $? "missing file argument" ;; | |
6482 esac | 6495 esac |
6483 as_fn_append CONFIG_FILES " '$ac_optarg'" | 6496 as_fn_append CONFIG_FILES " '$ac_optarg'" |
6484 ac_need_defaults=false;; | 6497 ac_need_defaults=false;; |
6485 --header | --heade | --head | --hea ) | 6498 --header | --heade | --head | --hea ) |
6486 $ac_shift | 6499 $ac_shift |
6489 esac | 6502 esac |
6490 as_fn_append CONFIG_HEADERS " '$ac_optarg'" | 6503 as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
6491 ac_need_defaults=false;; | 6504 ac_need_defaults=false;; |
6492 --he | --h) | 6505 --he | --h) |
6493 # Conflict between --help and --header | 6506 # Conflict between --help and --header |
6494 as_fn_error "ambiguous option: \`$1' | 6507 as_fn_error $? "ambiguous option: \`$1' |
6495 Try \`$0 --help' for more information.";; | 6508 Try \`$0 --help' for more information.";; |
6496 --help | --hel | -h ) | 6509 --help | --hel | -h ) |
6497 $as_echo "$ac_cs_usage"; exit ;; | 6510 $as_echo "$ac_cs_usage"; exit ;; |
6498 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 6511 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
6499 | -silent | --silent | --silen | --sile | --sil | --si | --s) | 6512 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
6500 ac_cs_silent=: ;; | 6513 ac_cs_silent=: ;; |
6501 | 6514 |
6502 # This is an error. | 6515 # This is an error. |
6503 -*) as_fn_error "unrecognized option: \`$1' | 6516 -*) as_fn_error $? "unrecognized option: \`$1' |
6504 Try \`$0 --help' for more information." ;; | 6517 Try \`$0 --help' for more information." ;; |
6505 | 6518 |
6506 *) as_fn_append ac_config_targets " $1" | 6519 *) as_fn_append ac_config_targets " $1" |
6507 ac_need_defaults=false ;; | 6520 ac_need_defaults=false ;; |
6508 | 6521 |
6551 case $ac_config_target in | 6564 case $ac_config_target in |
6552 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 6565 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
6553 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 6566 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
6554 "dwindows-config") CONFIG_FILES="$CONFIG_FILES dwindows-config" ;; | 6567 "dwindows-config") CONFIG_FILES="$CONFIG_FILES dwindows-config" ;; |
6555 | 6568 |
6556 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 6569 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
6557 esac | 6570 esac |
6558 done | 6571 done |
6559 | 6572 |
6560 | 6573 |
6561 # If the user did not use the arguments to specify the items to instantiate, | 6574 # If the user did not use the arguments to specify the items to instantiate, |
6588 test -n "$tmp" && test -d "$tmp" | 6601 test -n "$tmp" && test -d "$tmp" |
6589 } || | 6602 } || |
6590 { | 6603 { |
6591 tmp=./conf$$-$RANDOM | 6604 tmp=./conf$$-$RANDOM |
6592 (umask 077 && mkdir "$tmp") | 6605 (umask 077 && mkdir "$tmp") |
6593 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 | 6606 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
6594 | 6607 |
6595 # Set up the scripts for CONFIG_FILES section. | 6608 # Set up the scripts for CONFIG_FILES section. |
6596 # No need to generate them if there are no CONFIG_FILES. | 6609 # No need to generate them if there are no CONFIG_FILES. |
6597 # This happens for instance with `./config.status config.h'. | 6610 # This happens for instance with `./config.status config.h'. |
6598 if test -n "$CONFIG_FILES"; then | 6611 if test -n "$CONFIG_FILES"; then |
6605 if test "x$ac_cr" = x; then | 6618 if test "x$ac_cr" = x; then |
6606 eval ac_cr=\$\'\\r\' | 6619 eval ac_cr=\$\'\\r\' |
6607 fi | 6620 fi |
6608 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 6621 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
6609 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 6622 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
6610 ac_cs_awk_cr='\r' | 6623 ac_cs_awk_cr='\\r' |
6611 else | 6624 else |
6612 ac_cs_awk_cr=$ac_cr | 6625 ac_cs_awk_cr=$ac_cr |
6613 fi | 6626 fi |
6614 | 6627 |
6615 echo 'BEGIN {' >"$tmp/subs1.awk" && | 6628 echo 'BEGIN {' >"$tmp/subs1.awk" && |
6619 { | 6632 { |
6620 echo "cat >conf$$subs.awk <<_ACEOF" && | 6633 echo "cat >conf$$subs.awk <<_ACEOF" && |
6621 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 6634 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
6622 echo "_ACEOF" | 6635 echo "_ACEOF" |
6623 } >conf$$subs.sh || | 6636 } >conf$$subs.sh || |
6624 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 6637 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
6625 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | 6638 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
6626 ac_delim='%!_!# ' | 6639 ac_delim='%!_!# ' |
6627 for ac_last_try in false false false false false :; do | 6640 for ac_last_try in false false false false false :; do |
6628 . ./conf$$subs.sh || | 6641 . ./conf$$subs.sh || |
6629 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 6642 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
6630 | 6643 |
6631 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 6644 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
6632 if test $ac_delim_n = $ac_delim_num; then | 6645 if test $ac_delim_n = $ac_delim_num; then |
6633 break | 6646 break |
6634 elif $ac_last_try; then | 6647 elif $ac_last_try; then |
6635 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 6648 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
6636 else | 6649 else |
6637 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 6650 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
6638 fi | 6651 fi |
6639 done | 6652 done |
6640 rm -f conf$$subs.sh | 6653 rm -f conf$$subs.sh |
6719 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | 6732 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
6720 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 6733 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
6721 else | 6734 else |
6722 cat | 6735 cat |
6723 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | 6736 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
6724 || as_fn_error "could not setup config files machinery" "$LINENO" 5 | 6737 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
6725 _ACEOF | 6738 _ACEOF |
6726 | 6739 |
6727 # VPATH may cause trouble with some makes, so we remove $(srcdir), | 6740 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
6728 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 6741 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
6729 # trailing colons and then remove the whole line if VPATH becomes empty | 6742 # trailing colons and then remove the whole line if VPATH becomes empty |
6730 # (actually we leave an empty line to preserve line numbers). | 6743 # (actually we leave an empty line to preserve line numbers). |
6731 if test "x$srcdir" = x.; then | 6744 if test "x$srcdir" = x.; then |
6732 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | 6745 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
6733 s/:*\$(srcdir):*/:/ | 6746 h |
6734 s/:*\${srcdir}:*/:/ | 6747 s/// |
6735 s/:*@srcdir@:*/:/ | 6748 s/^/:/ |
6736 s/^\([^=]*=[ ]*\):*/\1/ | 6749 s/[ ]*$/:/ |
6750 s/:\$(srcdir):/:/g | |
6751 s/:\${srcdir}:/:/g | |
6752 s/:@srcdir@:/:/g | |
6753 s/^:*// | |
6737 s/:*$// | 6754 s/:*$// |
6755 x | |
6756 s/\(=[ ]*\).*/\1/ | |
6757 G | |
6758 s/\n// | |
6738 s/^[^=]*=[ ]*$// | 6759 s/^[^=]*=[ ]*$// |
6739 }' | 6760 }' |
6740 fi | 6761 fi |
6741 | 6762 |
6742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 6763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6760 for ac_last_try in false false :; do | 6781 for ac_last_try in false false :; do |
6761 ac_t=`sed -n "/$ac_delim/p" confdefs.h` | 6782 ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
6762 if test -z "$ac_t"; then | 6783 if test -z "$ac_t"; then |
6763 break | 6784 break |
6764 elif $ac_last_try; then | 6785 elif $ac_last_try; then |
6765 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 | 6786 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
6766 else | 6787 else |
6767 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 6788 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
6768 fi | 6789 fi |
6769 done | 6790 done |
6770 | 6791 |
6845 } | 6866 } |
6846 { print } | 6867 { print } |
6847 _ACAWK | 6868 _ACAWK |
6848 _ACEOF | 6869 _ACEOF |
6849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 6870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6850 as_fn_error "could not setup config headers machinery" "$LINENO" 5 | 6871 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
6851 fi # test -n "$CONFIG_HEADERS" | 6872 fi # test -n "$CONFIG_HEADERS" |
6852 | 6873 |
6853 | 6874 |
6854 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " | 6875 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " |
6855 shift | 6876 shift |
6858 case $ac_tag in | 6879 case $ac_tag in |
6859 :[FHLC]) ac_mode=$ac_tag; continue;; | 6880 :[FHLC]) ac_mode=$ac_tag; continue;; |
6860 esac | 6881 esac |
6861 case $ac_mode$ac_tag in | 6882 case $ac_mode$ac_tag in |
6862 :[FHL]*:*);; | 6883 :[FHL]*:*);; |
6863 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; | 6884 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; |
6864 :[FH]-) ac_tag=-:-;; | 6885 :[FH]-) ac_tag=-:-;; |
6865 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 6886 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
6866 esac | 6887 esac |
6867 ac_save_IFS=$IFS | 6888 ac_save_IFS=$IFS |
6868 IFS=: | 6889 IFS=: |
6886 test -f "$ac_f" || | 6907 test -f "$ac_f" || |
6887 case $ac_f in | 6908 case $ac_f in |
6888 [\\/$]*) false;; | 6909 [\\/$]*) false;; |
6889 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 6910 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
6890 esac || | 6911 esac || |
6891 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 6912 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; |
6892 esac | 6913 esac |
6893 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 6914 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
6894 as_fn_append ac_file_inputs " '$ac_f'" | 6915 as_fn_append ac_file_inputs " '$ac_f'" |
6895 done | 6916 done |
6896 | 6917 |
6913 *) ac_sed_conf_input=$configure_input;; | 6934 *) ac_sed_conf_input=$configure_input;; |
6914 esac | 6935 esac |
6915 | 6936 |
6916 case $ac_tag in | 6937 case $ac_tag in |
6917 *:-:* | *:-) cat >"$tmp/stdin" \ | 6938 *:-:* | *:-) cat >"$tmp/stdin" \ |
6918 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; | 6939 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
6919 esac | 6940 esac |
6920 ;; | 6941 ;; |
6921 esac | 6942 esac |
6922 | 6943 |
6923 ac_dir=`$as_dirname -- "$ac_file" || | 6944 ac_dir=`$as_dirname -- "$ac_file" || |
6989 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 7010 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
6990 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | 7011 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
6991 esac | 7012 esac |
6992 _ACEOF | 7013 _ACEOF |
6993 | 7014 |
6994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6995 # If the template does not know about datarootdir, expand it. | |
6996 # FIXME: This hack should be removed a few years after 2.60. | |
6997 ac_datarootdir_hack=; ac_datarootdir_seen= | |
6998 ac_sed_dataroot=' | |
6999 /datarootdir/ { | |
7000 p | |
7001 q | |
7002 } | |
7003 /@datadir@/p | |
7004 /@docdir@/p | |
7005 /@infodir@/p | |
7006 /@localedir@/p | |
7007 /@mandir@/p' | |
7008 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | |
7009 *datarootdir*) ac_datarootdir_seen=yes;; | |
7010 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | |
7012 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | |
7013 _ACEOF | |
7014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
7015 ac_datarootdir_hack=' | |
7016 s&@datadir@&$datadir&g | |
7017 s&@docdir@&$docdir&g | |
7018 s&@infodir@&$infodir&g | |
7019 s&@localedir@&$localedir&g | |
7020 s&@mandir@&$mandir&g | |
7021 s&\\\${datarootdir}&$datarootdir&g' ;; | |
7022 esac | |
7023 _ACEOF | |
7024 | 7015 |
7025 # Neutralize VPATH when `$srcdir' = `.'. | 7016 # Neutralize VPATH when `$srcdir' = `.'. |
7026 # Shell code in configure.ac might set extrasub. | 7017 # Shell code in configure.ac might set extrasub. |
7027 # FIXME: do we really want to maintain this feature? | 7018 # FIXME: do we really want to maintain this feature? |
7028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 7019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7041 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | 7032 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
7042 s&@builddir@&$ac_builddir&;t t | 7033 s&@builddir@&$ac_builddir&;t t |
7043 s&@abs_builddir@&$ac_abs_builddir&;t t | 7034 s&@abs_builddir@&$ac_abs_builddir&;t t |
7044 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 7035 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
7045 s&@INSTALL@&$ac_INSTALL&;t t | 7036 s&@INSTALL@&$ac_INSTALL&;t t |
7046 $ac_datarootdir_hack | |
7047 " | 7037 " |
7048 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | 7038 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
7049 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 7039 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
7050 | 7040 |
7051 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
7052 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | |
7053 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | |
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
7055 which seems to be undefined. Please make sure it is defined." >&5 | |
7056 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
7057 which seems to be undefined. Please make sure it is defined." >&2;} | |
7058 | 7041 |
7059 rm -f "$tmp/stdin" | 7042 rm -f "$tmp/stdin" |
7060 case $ac_file in | 7043 case $ac_file in |
7061 -) cat "$tmp/out" && rm -f "$tmp/out";; | 7044 -) cat "$tmp/out" && rm -f "$tmp/out";; |
7062 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 7045 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
7063 esac \ | 7046 esac \ |
7064 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 7047 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
7065 ;; | 7048 ;; |
7066 :H) | 7049 :H) |
7067 # | 7050 # |
7068 # CONFIG_HEADER | 7051 # CONFIG_HEADER |
7069 # | 7052 # |
7070 if test x"$ac_file" != x-; then | 7053 if test x"$ac_file" != x-; then |
7071 { | 7054 { |
7072 $as_echo "/* $configure_input */" \ | 7055 $as_echo "/* $configure_input */" \ |
7073 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | 7056 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
7074 } >"$tmp/config.h" \ | 7057 } >"$tmp/config.h" \ |
7075 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 7058 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
7076 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | 7059 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 7060 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
7078 $as_echo "$as_me: $ac_file is unchanged" >&6;} | 7061 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
7079 else | 7062 else |
7080 rm -f "$ac_file" | 7063 rm -f "$ac_file" |
7081 mv "$tmp/config.h" "$ac_file" \ | 7064 mv "$tmp/config.h" "$ac_file" \ |
7082 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 7065 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
7083 fi | 7066 fi |
7084 else | 7067 else |
7085 $as_echo "/* $configure_input */" \ | 7068 $as_echo "/* $configure_input */" \ |
7086 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | 7069 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
7087 || as_fn_error "could not create -" "$LINENO" 5 | 7070 || as_fn_error $? "could not create -" "$LINENO" 5 |
7088 fi | 7071 fi |
7089 ;; | 7072 ;; |
7090 | 7073 |
7091 | 7074 |
7092 esac | 7075 esac |
7097 as_fn_exit 0 | 7080 as_fn_exit 0 |
7098 _ACEOF | 7081 _ACEOF |
7099 ac_clean_files=$ac_clean_files_save | 7082 ac_clean_files=$ac_clean_files_save |
7100 | 7083 |
7101 test $ac_write_fail = 0 || | 7084 test $ac_write_fail = 0 || |
7102 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 7085 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
7103 | 7086 |
7104 | 7087 |
7105 # configure is writing to config.log, and then calls config.status. | 7088 # configure is writing to config.log, and then calls config.status. |
7106 # config.status does its own redirection, appending to config.log. | 7089 # config.status does its own redirection, appending to config.log. |
7107 # Unfortunately, on DOS this fails, as config.log is still kept open | 7090 # Unfortunately, on DOS this fails, as config.log is still kept open |
7118 exec 5>/dev/null | 7101 exec 5>/dev/null |
7119 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 7102 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
7120 exec 5>>config.log | 7103 exec 5>>config.log |
7121 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 7104 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
7122 # would make configure fail if this is the last instruction. | 7105 # would make configure fail if this is the last instruction. |
7123 $ac_cs_success || as_fn_exit $? | 7106 $ac_cs_success || as_fn_exit 1 |
7124 fi | 7107 fi |
7125 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 7108 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 7109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
7127 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 7110 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
7128 fi | 7111 fi |