Import upstream version 0.9.2+git20200109.1.195f795
Debian Janitor
2 years ago
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.65 for tayga 0.9.2. | |
2 | # Generated by GNU Autoconf 2.69 for tayga 0.9.2. | |
3 | 3 | # |
4 | 4 | # |
5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
6 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | |
7 | # Inc. | |
5 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | |
8 | 6 | # |
9 | 7 | # |
10 | 8 | # This configure script is free software; the Free Software Foundation |
88 | 86 | IFS=" "" $as_nl" |
89 | 87 | |
90 | 88 | # Find who we are. Look in the path if we contain no directory separator. |
89 | as_myself= | |
91 | 90 | case $0 in #(( |
92 | 91 | *[\\/]* ) as_myself=$0 ;; |
93 | 92 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
132 | 131 | # CDPATH. |
133 | 132 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
134 | 133 | |
134 | # Use a proper internal environment variable to ensure we don't fall | |
135 | # into an infinite loop, continuously re-executing ourselves. | |
136 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | |
137 | _as_can_reexec=no; export _as_can_reexec; | |
138 | # We cannot yet assume a decent shell, so we have to provide a | |
139 | # neutralization value for shells without unset; and this also | |
140 | # works around shells that cannot unset nonexistent variables. | |
141 | # Preserve -v and -x to the replacement shell. | |
142 | BASH_ENV=/dev/null | |
143 | ENV=/dev/null | |
144 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
145 | case $- in # (((( | |
146 | *v*x* | *x*v* ) as_opts=-vx ;; | |
147 | *v* ) as_opts=-v ;; | |
148 | *x* ) as_opts=-x ;; | |
149 | * ) as_opts= ;; | |
150 | esac | |
151 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
152 | # Admittedly, this is quite paranoid, since all the known shells bail | |
153 | # out after a failed `exec'. | |
154 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
155 | as_fn_exit 255 | |
156 | fi | |
157 | # We don't want this to propagate to other subprocesses. | |
158 | { _as_can_reexec=; unset _as_can_reexec;} | |
135 | 159 | if test "x$CONFIG_SHELL" = x; then |
136 | 160 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
137 | 161 | emulate sh |
165 | 189 | else |
166 | 190 | exitcode=1; echo positional parameters were not saved. |
167 | 191 | fi |
168 | test x\$exitcode = x0 || exit 1" | |
192 | test x\$exitcode = x0 || exit 1 | |
193 | test -x / || exit 1" | |
169 | 194 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
170 | 195 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
171 | 196 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
209 | 234 | |
210 | 235 | |
211 | 236 | if test "x$CONFIG_SHELL" != x; then : |
212 | # We cannot yet assume a decent shell, so we have to provide a | |
213 | # neutralization value for shells without unset; and this also | |
214 | # works around shells that cannot unset nonexistent variables. | |
215 | BASH_ENV=/dev/null | |
216 | ENV=/dev/null | |
217 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
218 | export CONFIG_SHELL | |
219 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
237 | export CONFIG_SHELL | |
238 | # We cannot yet assume a decent shell, so we have to provide a | |
239 | # neutralization value for shells without unset; and this also | |
240 | # works around shells that cannot unset nonexistent variables. | |
241 | # Preserve -v and -x to the replacement shell. | |
242 | BASH_ENV=/dev/null | |
243 | ENV=/dev/null | |
244 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
245 | case $- in # (((( | |
246 | *v*x* | *x*v* ) as_opts=-vx ;; | |
247 | *v* ) as_opts=-v ;; | |
248 | *x* ) as_opts=-x ;; | |
249 | * ) as_opts= ;; | |
250 | esac | |
251 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
252 | # Admittedly, this is quite paranoid, since all the known shells bail | |
253 | # out after a failed `exec'. | |
254 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
255 | exit 255 | |
220 | 256 | fi |
221 | 257 | |
222 | 258 | if test x$as_have_required = xno; then : |
314 | 350 | test -d "$as_dir" && break |
315 | 351 | done |
316 | 352 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
317 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | |
353 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
318 | 354 | |
319 | 355 | |
320 | 356 | } # as_fn_mkdir_p |
357 | ||
358 | # as_fn_executable_p FILE | |
359 | # ----------------------- | |
360 | # Test if FILE is an executable regular file. | |
361 | as_fn_executable_p () | |
362 | { | |
363 | test -f "$1" && test -x "$1" | |
364 | } # as_fn_executable_p | |
321 | 365 | # as_fn_append VAR VALUE |
322 | 366 | # ---------------------- |
323 | 367 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
354 | 398 | fi # as_fn_arith |
355 | 399 | |
356 | 400 | |
357 | # as_fn_error ERROR [LINENO LOG_FD] | |
358 | # --------------------------------- | |
401 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
402 | # ---------------------------------------- | |
359 | 403 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
360 | 404 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
361 | # script with status $?, using 1 if that was 0. | |
405 | # script with STATUS, using 1 if that was 0. | |
362 | 406 | as_fn_error () |
363 | 407 | { |
364 | as_status=$?; test $as_status -eq 0 && as_status=1 | |
365 | if test "$3"; then | |
366 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
367 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | |
408 | as_status=$1; test $as_status -eq 0 && as_status=1 | |
409 | if test "$4"; then | |
410 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
411 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
368 | 412 | fi |
369 | $as_echo "$as_me: error: $1" >&2 | |
413 | $as_echo "$as_me: error: $2" >&2 | |
370 | 414 | as_fn_exit $as_status |
371 | 415 | } # as_fn_error |
372 | 416 | |
439 | 483 | chmod +x "$as_me.lineno" || |
440 | 484 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
441 | 485 | |
486 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | |
487 | # already done that, so ensure we don't try to do so again and fall | |
488 | # in an infinite loop. This has already happened in practice. | |
489 | _as_can_reexec=no; export _as_can_reexec | |
442 | 490 | # Don't try to exec as it changes $[0], causing all sort of problems |
443 | 491 | # (the dirname of $[0] is not the place where we might find the |
444 | 492 | # original and so on. Autoconf is especially sensitive to this). |
473 | 521 | # ... but there are two gotchas: |
474 | 522 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
475 | 523 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
476 | # In both cases, we have to default to `cp -p'. | |
524 | # In both cases, we have to default to `cp -pR'. | |
477 | 525 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
478 | as_ln_s='cp -p' | |
526 | as_ln_s='cp -pR' | |
479 | 527 | elif ln conf$$.file conf$$ 2>/dev/null; then |
480 | 528 | as_ln_s=ln |
481 | 529 | else |
482 | as_ln_s='cp -p' | |
530 | as_ln_s='cp -pR' | |
483 | 531 | fi |
484 | 532 | else |
485 | as_ln_s='cp -p' | |
533 | as_ln_s='cp -pR' | |
486 | 534 | fi |
487 | 535 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
488 | 536 | rmdir conf$$.dir 2>/dev/null |
494 | 542 | as_mkdir_p=false |
495 | 543 | fi |
496 | 544 | |
497 | if test -x / >/dev/null 2>&1; then | |
498 | as_test_x='test -x' | |
499 | else | |
500 | if ls -dL / >/dev/null 2>&1; then | |
501 | as_ls_L_option=L | |
502 | else | |
503 | as_ls_L_option= | |
504 | fi | |
505 | as_test_x=' | |
506 | eval sh -c '\'' | |
507 | if test -d "$1"; then | |
508 | test -d "$1/."; | |
509 | else | |
510 | case $1 in #( | |
511 | -*)set "./$1";; | |
512 | esac; | |
513 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
514 | ???[sx]*):;;*)false;;esac;fi | |
515 | '\'' sh | |
516 | ' | |
517 | fi | |
518 | as_executable_p=$as_test_x | |
545 | as_test_x='test -x' | |
546 | as_executable_p=as_fn_executable_p | |
519 | 547 | |
520 | 548 | # Sed expression to map a string onto a valid CPP name. |
521 | 549 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
528 | 556 | exec 6>&1 |
529 | 557 | |
530 | 558 | # Name of the host. |
531 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | |
559 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | |
532 | 560 | # so uname gets run too. |
533 | 561 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
534 | 562 | |
616 | 644 | docdir |
617 | 645 | oldincludedir |
618 | 646 | includedir |
647 | runstatedir | |
619 | 648 | localstatedir |
620 | 649 | sharedstatedir |
621 | 650 | sysconfdir |
686 | 715 | sysconfdir='${prefix}/etc' |
687 | 716 | sharedstatedir='${prefix}/com' |
688 | 717 | localstatedir='${prefix}/var' |
718 | runstatedir='${localstatedir}/run' | |
689 | 719 | includedir='${prefix}/include' |
690 | 720 | oldincludedir='/usr/include' |
691 | 721 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
710 | 740 | fi |
711 | 741 | |
712 | 742 | case $ac_option in |
713 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
714 | *) ac_optarg=yes ;; | |
743 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
744 | *=) ac_optarg= ;; | |
745 | *) ac_optarg=yes ;; | |
715 | 746 | esac |
716 | 747 | |
717 | 748 | # Accept the important Cygnus configure options, so we can diagnose typos. |
756 | 787 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
757 | 788 | # Reject names that are not valid shell variable names. |
758 | 789 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
759 | as_fn_error "invalid feature name: $ac_useropt" | |
790 | as_fn_error $? "invalid feature name: $ac_useropt" | |
760 | 791 | ac_useropt_orig=$ac_useropt |
761 | 792 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
762 | 793 | case $ac_user_opts in |
782 | 813 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
783 | 814 | # Reject names that are not valid shell variable names. |
784 | 815 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
785 | as_fn_error "invalid feature name: $ac_useropt" | |
816 | as_fn_error $? "invalid feature name: $ac_useropt" | |
786 | 817 | ac_useropt_orig=$ac_useropt |
787 | 818 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
788 | 819 | case $ac_user_opts in |
937 | 968 | | -silent | --silent | --silen | --sile | --sil) |
938 | 969 | silent=yes ;; |
939 | 970 | |
971 | -runstatedir | --runstatedir | --runstatedi | --runstated \ | |
972 | | --runstate | --runstat | --runsta | --runst | --runs \ | |
973 | | --run | --ru | --r) | |
974 | ac_prev=runstatedir ;; | |
975 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | |
976 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | |
977 | | --run=* | --ru=* | --r=*) | |
978 | runstatedir=$ac_optarg ;; | |
979 | ||
940 | 980 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
941 | 981 | ac_prev=sbindir ;; |
942 | 982 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
986 | 1026 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
987 | 1027 | # Reject names that are not valid shell variable names. |
988 | 1028 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
989 | as_fn_error "invalid package name: $ac_useropt" | |
1029 | as_fn_error $? "invalid package name: $ac_useropt" | |
990 | 1030 | ac_useropt_orig=$ac_useropt |
991 | 1031 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
992 | 1032 | case $ac_user_opts in |
1002 | 1042 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1003 | 1043 | # Reject names that are not valid shell variable names. |
1004 | 1044 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1005 | as_fn_error "invalid package name: $ac_useropt" | |
1045 | as_fn_error $? "invalid package name: $ac_useropt" | |
1006 | 1046 | ac_useropt_orig=$ac_useropt |
1007 | 1047 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1008 | 1048 | case $ac_user_opts in |
1032 | 1072 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1033 | 1073 | x_libraries=$ac_optarg ;; |
1034 | 1074 | |
1035 | -*) as_fn_error "unrecognized option: \`$ac_option' | |
1036 | Try \`$0 --help' for more information." | |
1075 | -*) as_fn_error $? "unrecognized option: \`$ac_option' | |
1076 | Try \`$0 --help' for more information" | |
1037 | 1077 | ;; |
1038 | 1078 | |
1039 | 1079 | *=*) |
1041 | 1081 | # Reject names that are not valid shell variable names. |
1042 | 1082 | case $ac_envvar in #( |
1043 | 1083 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1044 | as_fn_error "invalid variable name: \`$ac_envvar'" ;; | |
1084 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | |
1045 | 1085 | esac |
1046 | 1086 | eval $ac_envvar=\$ac_optarg |
1047 | 1087 | export $ac_envvar ;; |
1051 | 1091 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1052 | 1092 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1053 | 1093 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1054 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | |
1094 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | |
1055 | 1095 | ;; |
1056 | 1096 | |
1057 | 1097 | esac |
1059 | 1099 | |
1060 | 1100 | if test -n "$ac_prev"; then |
1061 | 1101 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1062 | as_fn_error "missing argument to $ac_option" | |
1102 | as_fn_error $? "missing argument to $ac_option" | |
1063 | 1103 | fi |
1064 | 1104 | |
1065 | 1105 | if test -n "$ac_unrecognized_opts"; then |
1066 | 1106 | case $enable_option_checking in |
1067 | 1107 | no) ;; |
1068 | fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | |
1108 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
1069 | 1109 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1070 | 1110 | esac |
1071 | 1111 | fi |
1074 | 1114 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1075 | 1115 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1076 | 1116 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1077 | libdir localedir mandir | |
1117 | libdir localedir mandir runstatedir | |
1078 | 1118 | do |
1079 | 1119 | eval ac_val=\$$ac_var |
1080 | 1120 | # Remove trailing slashes. |
1088 | 1128 | [\\/$]* | ?:[\\/]* ) continue;; |
1089 | 1129 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1090 | 1130 | esac |
1091 | as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" | |
1131 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | |
1092 | 1132 | done |
1093 | 1133 | |
1094 | 1134 | # There might be people who depend on the old broken behavior: `$host' |
1102 | 1142 | if test "x$host_alias" != x; then |
1103 | 1143 | if test "x$build_alias" = x; then |
1104 | 1144 | cross_compiling=maybe |
1105 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | |
1106 | If a cross compiler is detected then cross compile mode will be used." >&2 | |
1107 | 1145 | elif test "x$build_alias" != "x$host_alias"; then |
1108 | 1146 | cross_compiling=yes |
1109 | 1147 | fi |
1118 | 1156 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1119 | 1157 | ac_ls_di=`ls -di .` && |
1120 | 1158 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1121 | as_fn_error "working directory cannot be determined" | |
1159 | as_fn_error $? "working directory cannot be determined" | |
1122 | 1160 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1123 | as_fn_error "pwd does not report name of working directory" | |
1161 | as_fn_error $? "pwd does not report name of working directory" | |
1124 | 1162 | |
1125 | 1163 | |
1126 | 1164 | # Find the source files, if location was not specified. |
1159 | 1197 | fi |
1160 | 1198 | if test ! -r "$srcdir/$ac_unique_file"; then |
1161 | 1199 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1162 | as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" | |
1200 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | |
1163 | 1201 | fi |
1164 | 1202 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1165 | 1203 | ac_abs_confdir=`( |
1166 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" | |
1204 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | |
1167 | 1205 | pwd)` |
1168 | 1206 | # When building in place, set srcdir=. |
1169 | 1207 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1203 | 1241 | --help=short display options specific to this package |
1204 | 1242 | --help=recursive display the short help of all the included packages |
1205 | 1243 | -V, --version display version information and exit |
1206 | -q, --quiet, --silent do not print \`checking...' messages | |
1244 | -q, --quiet, --silent do not print \`checking ...' messages | |
1207 | 1245 | --cache-file=FILE cache test results in FILE [disabled] |
1208 | 1246 | -C, --config-cache alias for \`--cache-file=config.cache' |
1209 | 1247 | -n, --no-create do not create output files |
1229 | 1267 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1230 | 1268 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1231 | 1269 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1270 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] | |
1232 | 1271 | --libdir=DIR object code libraries [EPREFIX/lib] |
1233 | 1272 | --includedir=DIR C header files [PREFIX/include] |
1234 | 1273 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1342 | 1381 | if $ac_init_version; then |
1343 | 1382 | cat <<\_ACEOF |
1344 | 1383 | tayga configure 0.9.2 |
1345 | generated by GNU Autoconf 2.65 | |
1346 | ||
1347 | Copyright (C) 2009 Free Software Foundation, Inc. | |
1384 | generated by GNU Autoconf 2.69 | |
1385 | ||
1386 | Copyright (C) 2012 Free Software Foundation, Inc. | |
1348 | 1387 | This configure script is free software; the Free Software Foundation |
1349 | 1388 | gives unlimited permission to copy, distribute and modify it. |
1350 | 1389 | _ACEOF |
1388 | 1427 | |
1389 | 1428 | ac_retval=1 |
1390 | 1429 | fi |
1391 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1430 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1392 | 1431 | as_fn_set_status $ac_retval |
1393 | 1432 | |
1394 | 1433 | } # ac_fn_c_try_compile |
1397 | 1436 | running configure, to aid debugging if configure makes a mistake. |
1398 | 1437 | |
1399 | 1438 | It was created by tayga $as_me 0.9.2, which was |
1400 | generated by GNU Autoconf 2.65. Invocation command line was | |
1439 | generated by GNU Autoconf 2.69. Invocation command line was | |
1401 | 1440 | |
1402 | 1441 | $ $0 $@ |
1403 | 1442 | |
1507 | 1546 | { |
1508 | 1547 | echo |
1509 | 1548 | |
1510 | cat <<\_ASBOX | |
1511 | ## ---------------- ## | |
1549 | $as_echo "## ---------------- ## | |
1512 | 1550 | ## Cache variables. ## |
1513 | ## ---------------- ## | |
1514 | _ASBOX | |
1551 | ## ---------------- ##" | |
1515 | 1552 | echo |
1516 | 1553 | # The following way of writing the cache mishandles newlines in values, |
1517 | 1554 | ( |
1545 | 1582 | ) |
1546 | 1583 | echo |
1547 | 1584 | |
1548 | cat <<\_ASBOX | |
1549 | ## ----------------- ## | |
1585 | $as_echo "## ----------------- ## | |
1550 | 1586 | ## Output variables. ## |
1551 | ## ----------------- ## | |
1552 | _ASBOX | |
1587 | ## ----------------- ##" | |
1553 | 1588 | echo |
1554 | 1589 | for ac_var in $ac_subst_vars |
1555 | 1590 | do |
1562 | 1597 | echo |
1563 | 1598 | |
1564 | 1599 | if test -n "$ac_subst_files"; then |
1565 | cat <<\_ASBOX | |
1566 | ## ------------------- ## | |
1600 | $as_echo "## ------------------- ## | |
1567 | 1601 | ## File substitutions. ## |
1568 | ## ------------------- ## | |
1569 | _ASBOX | |
1602 | ## ------------------- ##" | |
1570 | 1603 | echo |
1571 | 1604 | for ac_var in $ac_subst_files |
1572 | 1605 | do |
1580 | 1613 | fi |
1581 | 1614 | |
1582 | 1615 | if test -s confdefs.h; then |
1583 | cat <<\_ASBOX | |
1584 | ## ----------- ## | |
1616 | $as_echo "## ----------- ## | |
1585 | 1617 | ## confdefs.h. ## |
1586 | ## ----------- ## | |
1587 | _ASBOX | |
1618 | ## ----------- ##" | |
1588 | 1619 | echo |
1589 | 1620 | cat confdefs.h |
1590 | 1621 | echo |
1639 | 1670 | ac_site_file1=NONE |
1640 | 1671 | ac_site_file2=NONE |
1641 | 1672 | if test -n "$CONFIG_SITE"; then |
1642 | ac_site_file1=$CONFIG_SITE | |
1673 | # We do not want a PATH search for config.site. | |
1674 | case $CONFIG_SITE in #(( | |
1675 | -*) ac_site_file1=./$CONFIG_SITE;; | |
1676 | */*) ac_site_file1=$CONFIG_SITE;; | |
1677 | *) ac_site_file1=./$CONFIG_SITE;; | |
1678 | esac | |
1643 | 1679 | elif test "x$prefix" != xNONE; then |
1644 | 1680 | ac_site_file1=$prefix/share/config.site |
1645 | 1681 | ac_site_file2=$prefix/etc/config.site |
1654 | 1690 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
1655 | 1691 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
1656 | 1692 | sed 's/^/| /' "$ac_site_file" >&5 |
1657 | . "$ac_site_file" | |
1693 | . "$ac_site_file" \ | |
1694 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
1695 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
1696 | as_fn_error $? "failed to load site script $ac_site_file | |
1697 | See \`config.log' for more details" "$LINENO" 5; } | |
1658 | 1698 | fi |
1659 | 1699 | done |
1660 | 1700 | |
1730 | 1770 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1731 | 1771 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
1732 | 1772 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1733 | as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | |
1773 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | |
1734 | 1774 | fi |
1735 | 1775 | ## -------------------- ## |
1736 | 1776 | ## Main body of script. ## |
1748 | 1788 | |
1749 | 1789 | ac_aux_dir= |
1750 | 1790 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
1751 | for ac_t in install-sh install.sh shtool; do | |
1752 | if test -f "$ac_dir/$ac_t"; then | |
1753 | ac_aux_dir=$ac_dir | |
1754 | ac_install_sh="$ac_aux_dir/$ac_t -c" | |
1755 | break 2 | |
1756 | fi | |
1757 | done | |
1791 | if test -f "$ac_dir/install-sh"; then | |
1792 | ac_aux_dir=$ac_dir | |
1793 | ac_install_sh="$ac_aux_dir/install-sh -c" | |
1794 | break | |
1795 | elif test -f "$ac_dir/install.sh"; then | |
1796 | ac_aux_dir=$ac_dir | |
1797 | ac_install_sh="$ac_aux_dir/install.sh -c" | |
1798 | break | |
1799 | elif test -f "$ac_dir/shtool"; then | |
1800 | ac_aux_dir=$ac_dir | |
1801 | ac_install_sh="$ac_aux_dir/shtool install -c" | |
1802 | break | |
1803 | fi | |
1758 | 1804 | done |
1759 | 1805 | if test -z "$ac_aux_dir"; then |
1760 | as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | |
1806 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | |
1761 | 1807 | fi |
1762 | 1808 | |
1763 | 1809 | # These three variables are undocumented and unsupported, |
1786 | 1832 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
1787 | 1833 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
1788 | 1834 | if test -z "$INSTALL"; then |
1789 | if test "${ac_cv_path_install+set}" = set; then : | |
1835 | if ${ac_cv_path_install+:} false; then : | |
1790 | 1836 | $as_echo_n "(cached) " >&6 |
1791 | 1837 | else |
1792 | 1838 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1806 | 1852 | # by default. |
1807 | 1853 | for ac_prog in ginstall scoinst install; do |
1808 | 1854 | for ac_exec_ext in '' $ac_executable_extensions; do |
1809 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | |
1855 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | |
1810 | 1856 | if test $ac_prog = install && |
1811 | 1857 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1812 | 1858 | # AIX install. It has an incompatible calling convention. |
1873 | 1919 | ' |
1874 | 1920 | case `pwd` in |
1875 | 1921 | *[\\\"\#\$\&\'\`$am_lf]*) |
1876 | as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; | |
1922 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | |
1877 | 1923 | esac |
1878 | 1924 | case $srcdir in |
1879 | 1925 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
1880 | as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
1926 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
1881 | 1927 | esac |
1882 | 1928 | |
1883 | 1929 | # Do `set' in a subshell so we don't clobber the current shell's |
1899 | 1945 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
1900 | 1946 | # broken ls alias from the environment. This has actually |
1901 | 1947 | # happened. Such a system could not be considered "sane". |
1902 | as_fn_error "ls -t appears to fail. Make sure there is not a broken | |
1948 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |
1903 | 1949 | alias in your environment" "$LINENO" 5 |
1904 | 1950 | fi |
1905 | 1951 | |
1909 | 1955 | # Ok. |
1910 | 1956 | : |
1911 | 1957 | else |
1912 | as_fn_error "newly created file is older than distributed files! | |
1958 | as_fn_error $? "newly created file is older than distributed files! | |
1913 | 1959 | Check your system clock" "$LINENO" 5 |
1914 | 1960 | fi |
1915 | 1961 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
1963 | 2009 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
1964 | 2010 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1965 | 2011 | $as_echo_n "checking for $ac_word... " >&6; } |
1966 | if test "${ac_cv_prog_STRIP+set}" = set; then : | |
2012 | if ${ac_cv_prog_STRIP+:} false; then : | |
1967 | 2013 | $as_echo_n "(cached) " >&6 |
1968 | 2014 | else |
1969 | 2015 | if test -n "$STRIP"; then |
1975 | 2021 | IFS=$as_save_IFS |
1976 | 2022 | test -z "$as_dir" && as_dir=. |
1977 | 2023 | for ac_exec_ext in '' $ac_executable_extensions; do |
1978 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2024 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
1979 | 2025 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
1980 | 2026 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1981 | 2027 | break 2 |
2003 | 2049 | set dummy strip; ac_word=$2 |
2004 | 2050 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2005 | 2051 | $as_echo_n "checking for $ac_word... " >&6; } |
2006 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : | |
2052 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : | |
2007 | 2053 | $as_echo_n "(cached) " >&6 |
2008 | 2054 | else |
2009 | 2055 | if test -n "$ac_ct_STRIP"; then |
2015 | 2061 | IFS=$as_save_IFS |
2016 | 2062 | test -z "$as_dir" && as_dir=. |
2017 | 2063 | for ac_exec_ext in '' $ac_executable_extensions; do |
2018 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2064 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2019 | 2065 | ac_cv_prog_ac_ct_STRIP="strip" |
2020 | 2066 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2021 | 2067 | break 2 |
2056 | 2102 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
2057 | 2103 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
2058 | 2104 | if test -z "$MKDIR_P"; then |
2059 | if test "${ac_cv_path_mkdir+set}" = set; then : | |
2105 | if ${ac_cv_path_mkdir+:} false; then : | |
2060 | 2106 | $as_echo_n "(cached) " >&6 |
2061 | 2107 | else |
2062 | 2108 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2066 | 2112 | test -z "$as_dir" && as_dir=. |
2067 | 2113 | for ac_prog in mkdir gmkdir; do |
2068 | 2114 | for ac_exec_ext in '' $ac_executable_extensions; do |
2069 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | |
2115 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue | |
2070 | 2116 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2071 | 2117 | 'mkdir (GNU coreutils) '* | \ |
2072 | 2118 | 'mkdir (coreutils) '* | \ |
2107 | 2153 | set dummy $ac_prog; ac_word=$2 |
2108 | 2154 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2109 | 2155 | $as_echo_n "checking for $ac_word... " >&6; } |
2110 | if test "${ac_cv_prog_AWK+set}" = set; then : | |
2156 | if ${ac_cv_prog_AWK+:} false; then : | |
2111 | 2157 | $as_echo_n "(cached) " >&6 |
2112 | 2158 | else |
2113 | 2159 | if test -n "$AWK"; then |
2119 | 2165 | IFS=$as_save_IFS |
2120 | 2166 | test -z "$as_dir" && as_dir=. |
2121 | 2167 | for ac_exec_ext in '' $ac_executable_extensions; do |
2122 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2168 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2123 | 2169 | ac_cv_prog_AWK="$ac_prog" |
2124 | 2170 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2125 | 2171 | break 2 |
2147 | 2193 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2148 | 2194 | set x ${MAKE-make} |
2149 | 2195 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2150 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : | |
2196 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : | |
2151 | 2197 | $as_echo_n "(cached) " >&6 |
2152 | 2198 | else |
2153 | 2199 | cat >conftest.make <<\_ACEOF |
2155 | 2201 | all: |
2156 | 2202 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
2157 | 2203 | _ACEOF |
2158 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
2204 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | |
2159 | 2205 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2160 | 2206 | *@@@%%%=?*=@@@%%%*) |
2161 | 2207 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
2189 | 2235 | am__isrc=' -I$(srcdir)' |
2190 | 2236 | # test to see if srcdir already configured |
2191 | 2237 | if test -f $srcdir/config.status; then |
2192 | as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 | |
2238 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 | |
2193 | 2239 | fi |
2194 | 2240 | fi |
2195 | 2241 | |
2258 | 2304 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2259 | 2305 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2260 | 2306 | $as_echo_n "checking for $ac_word... " >&6; } |
2261 | if test "${ac_cv_prog_CC+set}" = set; then : | |
2307 | if ${ac_cv_prog_CC+:} false; then : | |
2262 | 2308 | $as_echo_n "(cached) " >&6 |
2263 | 2309 | else |
2264 | 2310 | if test -n "$CC"; then |
2270 | 2316 | IFS=$as_save_IFS |
2271 | 2317 | test -z "$as_dir" && as_dir=. |
2272 | 2318 | for ac_exec_ext in '' $ac_executable_extensions; do |
2273 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2319 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2274 | 2320 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2275 | 2321 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2276 | 2322 | break 2 |
2298 | 2344 | set dummy gcc; ac_word=$2 |
2299 | 2345 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2300 | 2346 | $as_echo_n "checking for $ac_word... " >&6; } |
2301 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | |
2347 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
2302 | 2348 | $as_echo_n "(cached) " >&6 |
2303 | 2349 | else |
2304 | 2350 | if test -n "$ac_ct_CC"; then |
2310 | 2356 | IFS=$as_save_IFS |
2311 | 2357 | test -z "$as_dir" && as_dir=. |
2312 | 2358 | for ac_exec_ext in '' $ac_executable_extensions; do |
2313 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2359 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2314 | 2360 | ac_cv_prog_ac_ct_CC="gcc" |
2315 | 2361 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2316 | 2362 | break 2 |
2351 | 2397 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2352 | 2398 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2353 | 2399 | $as_echo_n "checking for $ac_word... " >&6; } |
2354 | if test "${ac_cv_prog_CC+set}" = set; then : | |
2400 | if ${ac_cv_prog_CC+:} false; then : | |
2355 | 2401 | $as_echo_n "(cached) " >&6 |
2356 | 2402 | else |
2357 | 2403 | if test -n "$CC"; then |
2363 | 2409 | IFS=$as_save_IFS |
2364 | 2410 | test -z "$as_dir" && as_dir=. |
2365 | 2411 | for ac_exec_ext in '' $ac_executable_extensions; do |
2366 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2412 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2367 | 2413 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2368 | 2414 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2369 | 2415 | break 2 |
2391 | 2437 | set dummy cc; ac_word=$2 |
2392 | 2438 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2393 | 2439 | $as_echo_n "checking for $ac_word... " >&6; } |
2394 | if test "${ac_cv_prog_CC+set}" = set; then : | |
2440 | if ${ac_cv_prog_CC+:} false; then : | |
2395 | 2441 | $as_echo_n "(cached) " >&6 |
2396 | 2442 | else |
2397 | 2443 | if test -n "$CC"; then |
2404 | 2450 | IFS=$as_save_IFS |
2405 | 2451 | test -z "$as_dir" && as_dir=. |
2406 | 2452 | for ac_exec_ext in '' $ac_executable_extensions; do |
2407 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2453 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2408 | 2454 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2409 | 2455 | ac_prog_rejected=yes |
2410 | 2456 | continue |
2450 | 2496 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2451 | 2497 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2452 | 2498 | $as_echo_n "checking for $ac_word... " >&6; } |
2453 | if test "${ac_cv_prog_CC+set}" = set; then : | |
2499 | if ${ac_cv_prog_CC+:} false; then : | |
2454 | 2500 | $as_echo_n "(cached) " >&6 |
2455 | 2501 | else |
2456 | 2502 | if test -n "$CC"; then |
2462 | 2508 | IFS=$as_save_IFS |
2463 | 2509 | test -z "$as_dir" && as_dir=. |
2464 | 2510 | for ac_exec_ext in '' $ac_executable_extensions; do |
2465 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2511 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2466 | 2512 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2467 | 2513 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2468 | 2514 | break 2 |
2494 | 2540 | set dummy $ac_prog; ac_word=$2 |
2495 | 2541 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2496 | 2542 | $as_echo_n "checking for $ac_word... " >&6; } |
2497 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | |
2543 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
2498 | 2544 | $as_echo_n "(cached) " >&6 |
2499 | 2545 | else |
2500 | 2546 | if test -n "$ac_ct_CC"; then |
2506 | 2552 | IFS=$as_save_IFS |
2507 | 2553 | test -z "$as_dir" && as_dir=. |
2508 | 2554 | for ac_exec_ext in '' $ac_executable_extensions; do |
2509 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2555 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2510 | 2556 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2511 | 2557 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2512 | 2558 | break 2 |
2548 | 2594 | |
2549 | 2595 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2550 | 2596 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2551 | as_fn_error "no acceptable C compiler found in \$PATH | |
2552 | See \`config.log' for more details." "$LINENO" 5; } | |
2597 | as_fn_error $? "no acceptable C compiler found in \$PATH | |
2598 | See \`config.log' for more details" "$LINENO" 5; } | |
2553 | 2599 | |
2554 | 2600 | # Provide some information about the compiler. |
2555 | 2601 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2663 | 2709 | |
2664 | 2710 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2665 | 2711 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2666 | { as_fn_set_status 77 | |
2667 | as_fn_error "C compiler cannot create executables | |
2668 | See \`config.log' for more details." "$LINENO" 5; }; } | |
2712 | as_fn_error 77 "C compiler cannot create executables | |
2713 | See \`config.log' for more details" "$LINENO" 5; } | |
2669 | 2714 | else |
2670 | 2715 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2671 | 2716 | $as_echo "yes" >&6; } |
2707 | 2752 | else |
2708 | 2753 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2709 | 2754 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2710 | as_fn_error "cannot compute suffix of executables: cannot compile and link | |
2711 | See \`config.log' for more details." "$LINENO" 5; } | |
2755 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link | |
2756 | See \`config.log' for more details" "$LINENO" 5; } | |
2712 | 2757 | fi |
2713 | 2758 | rm -f conftest conftest$ac_cv_exeext |
2714 | 2759 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2765 | 2810 | else |
2766 | 2811 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2767 | 2812 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2768 | as_fn_error "cannot run C compiled programs. | |
2813 | as_fn_error $? "cannot run C compiled programs. | |
2769 | 2814 | If you meant to cross compile, use \`--host'. |
2770 | See \`config.log' for more details." "$LINENO" 5; } | |
2815 | See \`config.log' for more details" "$LINENO" 5; } | |
2771 | 2816 | fi |
2772 | 2817 | fi |
2773 | 2818 | fi |
2778 | 2823 | ac_clean_files=$ac_clean_files_save |
2779 | 2824 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
2780 | 2825 | $as_echo_n "checking for suffix of object files... " >&6; } |
2781 | if test "${ac_cv_objext+set}" = set; then : | |
2826 | if ${ac_cv_objext+:} false; then : | |
2782 | 2827 | $as_echo_n "(cached) " >&6 |
2783 | 2828 | else |
2784 | 2829 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2818 | 2863 | |
2819 | 2864 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2820 | 2865 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2821 | as_fn_error "cannot compute suffix of object files: cannot compile | |
2822 | See \`config.log' for more details." "$LINENO" 5; } | |
2866 | as_fn_error $? "cannot compute suffix of object files: cannot compile | |
2867 | See \`config.log' for more details" "$LINENO" 5; } | |
2823 | 2868 | fi |
2824 | 2869 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2825 | 2870 | fi |
2829 | 2874 | ac_objext=$OBJEXT |
2830 | 2875 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
2831 | 2876 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
2832 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : | |
2877 | if ${ac_cv_c_compiler_gnu+:} false; then : | |
2833 | 2878 | $as_echo_n "(cached) " >&6 |
2834 | 2879 | else |
2835 | 2880 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2866 | 2911 | ac_save_CFLAGS=$CFLAGS |
2867 | 2912 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
2868 | 2913 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2869 | if test "${ac_cv_prog_cc_g+set}" = set; then : | |
2914 | if ${ac_cv_prog_cc_g+:} false; then : | |
2870 | 2915 | $as_echo_n "(cached) " >&6 |
2871 | 2916 | else |
2872 | 2917 | ac_save_c_werror_flag=$ac_c_werror_flag |
2944 | 2989 | fi |
2945 | 2990 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
2946 | 2991 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
2947 | if test "${ac_cv_prog_cc_c89+set}" = set; then : | |
2992 | if ${ac_cv_prog_cc_c89+:} false; then : | |
2948 | 2993 | $as_echo_n "(cached) " >&6 |
2949 | 2994 | else |
2950 | 2995 | ac_cv_prog_cc_c89=no |
2953 | 2998 | /* end confdefs.h. */ |
2954 | 2999 | #include <stdarg.h> |
2955 | 3000 | #include <stdio.h> |
2956 | #include <sys/types.h> | |
2957 | #include <sys/stat.h> | |
3001 | struct stat; | |
2958 | 3002 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2959 | 3003 | struct buf { int x; }; |
2960 | 3004 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3105 | 3149 | |
3106 | 3150 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
3107 | 3151 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
3108 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : | |
3152 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : | |
3109 | 3153 | $as_echo_n "(cached) " >&6 |
3110 | 3154 | else |
3111 | 3155 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3301 | 3345 | :end' >>confcache |
3302 | 3346 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
3303 | 3347 | if test -w "$cache_file"; then |
3304 | test "x$cache_file" != "x/dev/null" && | |
3348 | if test "x$cache_file" != "x/dev/null"; then | |
3305 | 3349 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
3306 | 3350 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
3307 | cat confcache >$cache_file | |
3351 | if test ! -f "$cache_file" || test -h "$cache_file"; then | |
3352 | cat confcache >"$cache_file" | |
3353 | else | |
3354 | case $cache_file in #( | |
3355 | */* | ?:*) | |
3356 | mv -f confcache "$cache_file"$$ && | |
3357 | mv -f "$cache_file"$$ "$cache_file" ;; #( | |
3358 | *) | |
3359 | mv -f confcache "$cache_file" ;; | |
3360 | esac | |
3361 | fi | |
3362 | fi | |
3308 | 3363 | else |
3309 | 3364 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
3310 | 3365 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
3320 | 3375 | |
3321 | 3376 | ac_libobjs= |
3322 | 3377 | ac_ltlibobjs= |
3378 | U= | |
3323 | 3379 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
3324 | 3380 | # 1. Remove the extension, and $U if already installed. |
3325 | 3381 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
3343 | 3399 | fi |
3344 | 3400 | |
3345 | 3401 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
3346 | as_fn_error "conditional \"AMDEP\" was never defined. | |
3402 | as_fn_error $? "conditional \"AMDEP\" was never defined. | |
3347 | 3403 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
3348 | 3404 | fi |
3349 | 3405 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
3350 | as_fn_error "conditional \"am__fastdepCC\" was never defined. | |
3406 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | |
3351 | 3407 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
3352 | 3408 | fi |
3353 | 3409 | |
3354 | : ${CONFIG_STATUS=./config.status} | |
3410 | : "${CONFIG_STATUS=./config.status}" | |
3355 | 3411 | ac_write_fail=0 |
3356 | 3412 | ac_clean_files_save=$ac_clean_files |
3357 | 3413 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
3452 | 3508 | IFS=" "" $as_nl" |
3453 | 3509 | |
3454 | 3510 | # Find who we are. Look in the path if we contain no directory separator. |
3511 | as_myself= | |
3455 | 3512 | case $0 in #(( |
3456 | 3513 | *[\\/]* ) as_myself=$0 ;; |
3457 | 3514 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3497 | 3554 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
3498 | 3555 | |
3499 | 3556 | |
3500 | # as_fn_error ERROR [LINENO LOG_FD] | |
3501 | # --------------------------------- | |
3557 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
3558 | # ---------------------------------------- | |
3502 | 3559 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
3503 | 3560 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
3504 | # script with status $?, using 1 if that was 0. | |
3561 | # script with STATUS, using 1 if that was 0. | |
3505 | 3562 | as_fn_error () |
3506 | 3563 | { |
3507 | as_status=$?; test $as_status -eq 0 && as_status=1 | |
3508 | if test "$3"; then | |
3509 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
3510 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | |
3564 | as_status=$1; test $as_status -eq 0 && as_status=1 | |
3565 | if test "$4"; then | |
3566 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
3567 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
3511 | 3568 | fi |
3512 | $as_echo "$as_me: error: $1" >&2 | |
3569 | $as_echo "$as_me: error: $2" >&2 | |
3513 | 3570 | as_fn_exit $as_status |
3514 | 3571 | } # as_fn_error |
3515 | 3572 | |
3647 | 3704 | # ... but there are two gotchas: |
3648 | 3705 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
3649 | 3706 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
3650 | # In both cases, we have to default to `cp -p'. | |
3707 | # In both cases, we have to default to `cp -pR'. | |
3651 | 3708 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
3652 | as_ln_s='cp -p' | |
3709 | as_ln_s='cp -pR' | |
3653 | 3710 | elif ln conf$$.file conf$$ 2>/dev/null; then |
3654 | 3711 | as_ln_s=ln |
3655 | 3712 | else |
3656 | as_ln_s='cp -p' | |
3713 | as_ln_s='cp -pR' | |
3657 | 3714 | fi |
3658 | 3715 | else |
3659 | as_ln_s='cp -p' | |
3716 | as_ln_s='cp -pR' | |
3660 | 3717 | fi |
3661 | 3718 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
3662 | 3719 | rmdir conf$$.dir 2>/dev/null |
3705 | 3762 | test -d "$as_dir" && break |
3706 | 3763 | done |
3707 | 3764 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
3708 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | |
3765 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
3709 | 3766 | |
3710 | 3767 | |
3711 | 3768 | } # as_fn_mkdir_p |
3716 | 3773 | as_mkdir_p=false |
3717 | 3774 | fi |
3718 | 3775 | |
3719 | if test -x / >/dev/null 2>&1; then | |
3720 | as_test_x='test -x' | |
3721 | else | |
3722 | if ls -dL / >/dev/null 2>&1; then | |
3723 | as_ls_L_option=L | |
3724 | else | |
3725 | as_ls_L_option= | |
3726 | fi | |
3727 | as_test_x=' | |
3728 | eval sh -c '\'' | |
3729 | if test -d "$1"; then | |
3730 | test -d "$1/."; | |
3731 | else | |
3732 | case $1 in #( | |
3733 | -*)set "./$1";; | |
3734 | esac; | |
3735 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
3736 | ???[sx]*):;;*)false;;esac;fi | |
3737 | '\'' sh | |
3738 | ' | |
3739 | fi | |
3740 | as_executable_p=$as_test_x | |
3776 | ||
3777 | # as_fn_executable_p FILE | |
3778 | # ----------------------- | |
3779 | # Test if FILE is an executable regular file. | |
3780 | as_fn_executable_p () | |
3781 | { | |
3782 | test -f "$1" && test -x "$1" | |
3783 | } # as_fn_executable_p | |
3784 | as_test_x='test -x' | |
3785 | as_executable_p=as_fn_executable_p | |
3741 | 3786 | |
3742 | 3787 | # Sed expression to map a string onto a valid CPP name. |
3743 | 3788 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
3759 | 3804 | # values after options handling. |
3760 | 3805 | ac_log=" |
3761 | 3806 | This file was extended by tayga $as_me 0.9.2, which was |
3762 | generated by GNU Autoconf 2.65. Invocation command line was | |
3807 | generated by GNU Autoconf 2.69. Invocation command line was | |
3763 | 3808 | |
3764 | 3809 | CONFIG_FILES = $CONFIG_FILES |
3765 | 3810 | CONFIG_HEADERS = $CONFIG_HEADERS |
3825 | 3870 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
3826 | 3871 | ac_cs_version="\\ |
3827 | 3872 | tayga config.status 0.9.2 |
3828 | configured by $0, generated by GNU Autoconf 2.65, | |
3873 | configured by $0, generated by GNU Autoconf 2.69, | |
3829 | 3874 | with options \\"\$ac_cs_config\\" |
3830 | 3875 | |
3831 | Copyright (C) 2009 Free Software Foundation, Inc. | |
3876 | Copyright (C) 2012 Free Software Foundation, Inc. | |
3832 | 3877 | This config.status script is free software; the Free Software Foundation |
3833 | 3878 | gives unlimited permission to copy, distribute and modify it." |
3834 | 3879 | |
3846 | 3891 | while test $# != 0 |
3847 | 3892 | do |
3848 | 3893 | case $1 in |
3849 | --*=*) | |
3894 | --*=?*) | |
3850 | 3895 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
3851 | 3896 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
3897 | ac_shift=: | |
3898 | ;; | |
3899 | --*=) | |
3900 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
3901 | ac_optarg= | |
3852 | 3902 | ac_shift=: |
3853 | 3903 | ;; |
3854 | 3904 | *) |
3872 | 3922 | $ac_shift |
3873 | 3923 | case $ac_optarg in |
3874 | 3924 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
3925 | '') as_fn_error $? "missing file argument" ;; | |
3875 | 3926 | esac |
3876 | 3927 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
3877 | 3928 | ac_need_defaults=false;; |
3884 | 3935 | ac_need_defaults=false;; |
3885 | 3936 | --he | --h) |
3886 | 3937 | # Conflict between --help and --header |
3887 | as_fn_error "ambiguous option: \`$1' | |
3938 | as_fn_error $? "ambiguous option: \`$1' | |
3888 | 3939 | Try \`$0 --help' for more information.";; |
3889 | 3940 | --help | --hel | -h ) |
3890 | 3941 | $as_echo "$ac_cs_usage"; exit ;; |
3893 | 3944 | ac_cs_silent=: ;; |
3894 | 3945 | |
3895 | 3946 | # This is an error. |
3896 | -*) as_fn_error "unrecognized option: \`$1' | |
3947 | -*) as_fn_error $? "unrecognized option: \`$1' | |
3897 | 3948 | Try \`$0 --help' for more information." ;; |
3898 | 3949 | |
3899 | 3950 | *) as_fn_append ac_config_targets " $1" |
3913 | 3964 | _ACEOF |
3914 | 3965 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3915 | 3966 | if \$ac_cs_recheck; then |
3916 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
3967 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
3917 | 3968 | shift |
3918 | 3969 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
3919 | 3970 | CONFIG_SHELL='$SHELL' |
3951 | 4002 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
3952 | 4003 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
3953 | 4004 | |
3954 | *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
4005 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
3955 | 4006 | esac |
3956 | 4007 | done |
3957 | 4008 | |
3974 | 4025 | # after its creation but before its name has been assigned to `$tmp'. |
3975 | 4026 | $debug || |
3976 | 4027 | { |
3977 | tmp= | |
4028 | tmp= ac_tmp= | |
3978 | 4029 | trap 'exit_status=$? |
3979 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
4030 | : "${ac_tmp:=$tmp}" | |
4031 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | |
3980 | 4032 | ' 0 |
3981 | 4033 | trap 'as_fn_exit 1' 1 2 13 15 |
3982 | 4034 | } |
3984 | 4036 | |
3985 | 4037 | { |
3986 | 4038 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
3987 | test -n "$tmp" && test -d "$tmp" | |
4039 | test -d "$tmp" | |
3988 | 4040 | } || |
3989 | 4041 | { |
3990 | 4042 | tmp=./conf$$-$RANDOM |
3991 | 4043 | (umask 077 && mkdir "$tmp") |
3992 | } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 | |
4044 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | |
4045 | ac_tmp=$tmp | |
3993 | 4046 | |
3994 | 4047 | # Set up the scripts for CONFIG_FILES section. |
3995 | 4048 | # No need to generate them if there are no CONFIG_FILES. |
4006 | 4059 | fi |
4007 | 4060 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
4008 | 4061 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
4009 | ac_cs_awk_cr='\r' | |
4062 | ac_cs_awk_cr='\\r' | |
4010 | 4063 | else |
4011 | 4064 | ac_cs_awk_cr=$ac_cr |
4012 | 4065 | fi |
4013 | 4066 | |
4014 | echo 'BEGIN {' >"$tmp/subs1.awk" && | |
4067 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | |
4015 | 4068 | _ACEOF |
4016 | 4069 | |
4017 | 4070 | |
4020 | 4073 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
4021 | 4074 | echo "_ACEOF" |
4022 | 4075 | } >conf$$subs.sh || |
4023 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | |
4024 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | |
4076 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
4077 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | |
4025 | 4078 | ac_delim='%!_!# ' |
4026 | 4079 | for ac_last_try in false false false false false :; do |
4027 | 4080 | . ./conf$$subs.sh || |
4028 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | |
4081 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
4029 | 4082 | |
4030 | 4083 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
4031 | 4084 | if test $ac_delim_n = $ac_delim_num; then |
4032 | 4085 | break |
4033 | 4086 | elif $ac_last_try; then |
4034 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | |
4087 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
4035 | 4088 | else |
4036 | 4089 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
4037 | 4090 | fi |
4039 | 4092 | rm -f conf$$subs.sh |
4040 | 4093 | |
4041 | 4094 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4042 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | |
4095 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | |
4043 | 4096 | _ACEOF |
4044 | 4097 | sed -n ' |
4045 | 4098 | h |
4087 | 4140 | rm -f conf$$subs.awk |
4088 | 4141 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4089 | 4142 | _ACAWK |
4090 | cat >>"\$tmp/subs1.awk" <<_ACAWK && | |
4143 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | |
4091 | 4144 | for (key in S) S_is_set[key] = 1 |
4092 | 4145 | FS = "" |
4093 | 4146 | |
4119 | 4172 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
4120 | 4173 | else |
4121 | 4174 | cat |
4122 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | |
4123 | || as_fn_error "could not setup config files machinery" "$LINENO" 5 | |
4175 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | |
4176 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | |
4124 | 4177 | _ACEOF |
4125 | 4178 | |
4126 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
4127 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
4179 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | |
4180 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | |
4128 | 4181 | # trailing colons and then remove the whole line if VPATH becomes empty |
4129 | 4182 | # (actually we leave an empty line to preserve line numbers). |
4130 | 4183 | if test "x$srcdir" = x.; then |
4131 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
4132 | s/:*\$(srcdir):*/:/ | |
4133 | s/:*\${srcdir}:*/:/ | |
4134 | s/:*@srcdir@:*/:/ | |
4135 | s/^\([^=]*=[ ]*\):*/\1/ | |
4184 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | |
4185 | h | |
4186 | s/// | |
4187 | s/^/:/ | |
4188 | s/[ ]*$/:/ | |
4189 | s/:\$(srcdir):/:/g | |
4190 | s/:\${srcdir}:/:/g | |
4191 | s/:@srcdir@:/:/g | |
4192 | s/^:*// | |
4136 | 4193 | s/:*$// |
4194 | x | |
4195 | s/\(=[ ]*\).*/\1/ | |
4196 | G | |
4197 | s/\n// | |
4137 | 4198 | s/^[^=]*=[ ]*$// |
4138 | 4199 | }' |
4139 | 4200 | fi |
4145 | 4206 | # No need to generate them if there are no CONFIG_HEADERS. |
4146 | 4207 | # This happens for instance with `./config.status Makefile'. |
4147 | 4208 | if test -n "$CONFIG_HEADERS"; then |
4148 | cat >"$tmp/defines.awk" <<\_ACAWK || | |
4209 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || | |
4149 | 4210 | BEGIN { |
4150 | 4211 | _ACEOF |
4151 | 4212 | |
4157 | 4218 | # handling of long lines. |
4158 | 4219 | ac_delim='%!_!# ' |
4159 | 4220 | for ac_last_try in false false :; do |
4160 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` | |
4161 | if test -z "$ac_t"; then | |
4221 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` | |
4222 | if test -z "$ac_tt"; then | |
4162 | 4223 | break |
4163 | 4224 | elif $ac_last_try; then |
4164 | as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 | |
4225 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 | |
4165 | 4226 | else |
4166 | 4227 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
4167 | 4228 | fi |
4246 | 4307 | _ACAWK |
4247 | 4308 | _ACEOF |
4248 | 4309 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
4249 | as_fn_error "could not setup config headers machinery" "$LINENO" 5 | |
4310 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | |
4250 | 4311 | fi # test -n "$CONFIG_HEADERS" |
4251 | 4312 | |
4252 | 4313 | |
4259 | 4320 | esac |
4260 | 4321 | case $ac_mode$ac_tag in |
4261 | 4322 | :[FHL]*:*);; |
4262 | :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; | |
4323 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | |
4263 | 4324 | :[FH]-) ac_tag=-:-;; |
4264 | 4325 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
4265 | 4326 | esac |
4278 | 4339 | for ac_f |
4279 | 4340 | do |
4280 | 4341 | case $ac_f in |
4281 | -) ac_f="$tmp/stdin";; | |
4342 | -) ac_f="$ac_tmp/stdin";; | |
4282 | 4343 | *) # Look for the file first in the build tree, then in the source tree |
4283 | 4344 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
4284 | 4345 | # because $ac_f cannot contain `:'. |
4287 | 4348 | [\\/$]*) false;; |
4288 | 4349 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
4289 | 4350 | esac || |
4290 | as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; | |
4351 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | |
4291 | 4352 | esac |
4292 | 4353 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
4293 | 4354 | as_fn_append ac_file_inputs " '$ac_f'" |
4313 | 4374 | esac |
4314 | 4375 | |
4315 | 4376 | case $ac_tag in |
4316 | *:-:* | *:-) cat >"$tmp/stdin" \ | |
4317 | || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; | |
4377 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ | |
4378 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | |
4318 | 4379 | esac |
4319 | 4380 | ;; |
4320 | 4381 | esac |
4450 | 4511 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
4451 | 4512 | $ac_datarootdir_hack |
4452 | 4513 | " |
4453 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | |
4454 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
4514 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | |
4515 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
4455 | 4516 | |
4456 | 4517 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
4457 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | |
4458 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | |
4518 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | |
4519 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ | |
4520 | "$ac_tmp/out"`; test -z "$ac_out"; } && | |
4459 | 4521 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
4460 | which seems to be undefined. Please make sure it is defined." >&5 | |
4522 | which seems to be undefined. Please make sure it is defined" >&5 | |
4461 | 4523 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
4462 | which seems to be undefined. Please make sure it is defined." >&2;} | |
4463 | ||
4464 | rm -f "$tmp/stdin" | |
4524 | which seems to be undefined. Please make sure it is defined" >&2;} | |
4525 | ||
4526 | rm -f "$ac_tmp/stdin" | |
4465 | 4527 | case $ac_file in |
4466 | -) cat "$tmp/out" && rm -f "$tmp/out";; | |
4467 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | |
4528 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | |
4529 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | |
4468 | 4530 | esac \ |
4469 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
4531 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
4470 | 4532 | ;; |
4471 | 4533 | :H) |
4472 | 4534 | # |
4475 | 4537 | if test x"$ac_file" != x-; then |
4476 | 4538 | { |
4477 | 4539 | $as_echo "/* $configure_input */" \ |
4478 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | |
4479 | } >"$tmp/config.h" \ | |
4480 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
4481 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | |
4540 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" | |
4541 | } >"$ac_tmp/config.h" \ | |
4542 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
4543 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then | |
4482 | 4544 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
4483 | 4545 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
4484 | 4546 | else |
4485 | 4547 | rm -f "$ac_file" |
4486 | mv "$tmp/config.h" "$ac_file" \ | |
4487 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
4548 | mv "$ac_tmp/config.h" "$ac_file" \ | |
4549 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
4488 | 4550 | fi |
4489 | 4551 | else |
4490 | 4552 | $as_echo "/* $configure_input */" \ |
4491 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | |
4492 | || as_fn_error "could not create -" "$LINENO" 5 | |
4553 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ | |
4554 | || as_fn_error $? "could not create -" "$LINENO" 5 | |
4493 | 4555 | fi |
4494 | 4556 | # Compute "$ac_file"'s index in $config_headers. |
4495 | 4557 | _am_arg="$ac_file" |
4639 | 4701 | ac_clean_files=$ac_clean_files_save |
4640 | 4702 | |
4641 | 4703 | test $ac_write_fail = 0 || |
4642 | as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
4704 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
4643 | 4705 | |
4644 | 4706 | |
4645 | 4707 | # configure is writing to config.log, and then calls config.status. |
4660 | 4722 | exec 5>>config.log |
4661 | 4723 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
4662 | 4724 | # would make configure fail if this is the last instruction. |
4663 | $ac_cs_success || as_fn_exit $? | |
4725 | $ac_cs_success || as_fn_exit 1 | |
4664 | 4726 | fi |
4665 | 4727 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
4666 | 4728 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |