diff options
| author | Aiden Woodruff <aiden.woodruff@gmail.com> | 2018-07-26 00:07:03 -0500 |
|---|---|---|
| committer | Aiden Woodruff <aiden.woodruff@gmail.com> | 2018-07-26 00:07:03 -0500 |
| commit | a999c1afbd9895d12b88ee1103009f05ff763629 (patch) | |
| tree | a47b8cae7a2891a580eec84f1e9246e5d538b149 /configure | |
| parent | b2f942cdf39b636f19b39504aee92df8f7442930 (diff) | |
| download | life-a999c1afbd9895d12b88ee1103009f05ff763629.tar.gz life-a999c1afbd9895d12b88ee1103009f05ff763629.tar.bz2 life-a999c1afbd9895d12b88ee1103009f05ff763629.zip | |
Created autotools fileslife-1.0.0
Tagged and created dist for version 1.0.0
Signed-off-by: Aiden Woodruff <aiden.woodruff@gmail.com>
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 5806 |
1 files changed, 5806 insertions, 0 deletions
diff --git a/configure b/configure new file mode 100755 index 0000000..c29ff27 --- /dev/null +++ b/configure | |||
| @@ -0,0 +1,5806 @@ | |||
| 1 | #! /bin/sh | ||
| 2 | # Guess values for system-dependent variables and create Makefiles. | ||
| 3 | # Generated by GNU Autoconf 2.69 for life 1.0.0. | ||
| 4 | # | ||
| 5 | # Report bugs to <aiden.woodruff@gmail.com>. | ||
| 6 | # | ||
| 7 | # | ||
| 8 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | ||
| 9 | # | ||
| 10 | # | ||
| 11 | # This configure script is free software; the Free Software Foundation | ||
| 12 | # gives unlimited permission to copy, distribute and modify it. | ||
| 13 | ## -------------------- ## | ||
| 14 | ## M4sh Initialization. ## | ||
| 15 | ## -------------------- ## | ||
| 16 | |||
| 17 | # Be more Bourne compatible | ||
| 18 | DUALCASE=1; export DUALCASE # for MKS sh | ||
| 19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | ||
| 20 | emulate sh | ||
| 21 | NULLCMD=: | ||
| 22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
| 23 | # is contrary to our usage. Disable this feature. | ||
| 24 | alias -g '${1+"$@"}'='"$@"' | ||
| 25 | setopt NO_GLOB_SUBST | ||
| 26 | else | ||
| 27 | case `(set -o) 2>/dev/null` in #( | ||
| 28 | *posix*) : | ||
| 29 | set -o posix ;; #( | ||
| 30 | *) : | ||
| 31 | ;; | ||
| 32 | esac | ||
| 33 | fi | ||
| 34 | |||
| 35 | |||
| 36 | as_nl=' | ||
| 37 | ' | ||
| 38 | export as_nl | ||
| 39 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | ||
| 40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | ||
| 41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | ||
| 42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | ||
| 43 | # Prefer a ksh shell builtin over an external printf program on Solaris, | ||
| 44 | # but without wasting forks for bash or zsh. | ||
| 45 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | ||
| 46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 47 | as_echo='print -r --' | ||
| 48 | as_echo_n='print -rn --' | ||
| 49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 50 | as_echo='printf %s\n' | ||
| 51 | as_echo_n='printf %s' | ||
| 52 | else | ||
| 53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | ||
| 54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | ||
| 55 | as_echo_n='/usr/ucb/echo -n' | ||
| 56 | else | ||
| 57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | ||
| 58 | as_echo_n_body='eval | ||
| 59 | arg=$1; | ||
| 60 | case $arg in #( | ||
| 61 | *"$as_nl"*) | ||
| 62 | expr "X$arg" : "X\\(.*\\)$as_nl"; | ||
| 63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | ||
| 64 | esac; | ||
| 65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | ||
| 66 | ' | ||
| 67 | export as_echo_n_body | ||
| 68 | as_echo_n='sh -c $as_echo_n_body as_echo' | ||
| 69 | fi | ||
| 70 | export as_echo_body | ||
| 71 | as_echo='sh -c $as_echo_body as_echo' | ||
| 72 | fi | ||
| 73 | |||
| 74 | # The user is always right. | ||
| 75 | if test "${PATH_SEPARATOR+set}" != set; then | ||
| 76 | PATH_SEPARATOR=: | ||
| 77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | ||
| 78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | ||
| 79 | PATH_SEPARATOR=';' | ||
| 80 | } | ||
| 81 | fi | ||
| 82 | |||
| 83 | |||
| 84 | # IFS | ||
| 85 | # We need space, tab and new line, in precisely that order. Quoting is | ||
| 86 | # there to prevent editors from complaining about space-tab. | ||
| 87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | ||
| 88 | # splitting by setting IFS to empty value.) | ||
| 89 | IFS=" "" $as_nl" | ||
| 90 | |||
| 91 | # Find who we are. Look in the path if we contain no directory separator. | ||
| 92 | as_myself= | ||
| 93 | case $0 in #(( | ||
| 94 | *[\\/]* ) as_myself=$0 ;; | ||
| 95 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 96 | for as_dir in $PATH | ||
| 97 | do | ||
| 98 | IFS=$as_save_IFS | ||
| 99 | test -z "$as_dir" && as_dir=. | ||
| 100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
| 101 | done | ||
| 102 | IFS=$as_save_IFS | ||
| 103 | |||
| 104 | ;; | ||
| 105 | esac | ||
| 106 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
| 107 | # in which case we are not to be found in the path. | ||
| 108 | if test "x$as_myself" = x; then | ||
| 109 | as_myself=$0 | ||
| 110 | fi | ||
| 111 | if test ! -f "$as_myself"; then | ||
| 112 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
| 113 | exit 1 | ||
| 114 | fi | ||
| 115 | |||
| 116 | # Unset variables that we do not need and which cause bugs (e.g. in | ||
| 117 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | ||
| 118 | # suppresses any "Segmentation fault" message there. '((' could | ||
| 119 | # trigger a bug in pdksh 5.2.14. | ||
| 120 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
| 121 | do eval test x\${$as_var+set} = xset \ | ||
| 122 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
| 123 | done | ||
| 124 | PS1='$ ' | ||
| 125 | PS2='> ' | ||
| 126 | PS4='+ ' | ||
| 127 | |||
| 128 | # NLS nuisances. | ||
| 129 | LC_ALL=C | ||
| 130 | export LC_ALL | ||
| 131 | LANGUAGE=C | ||
| 132 | export LANGUAGE | ||
| 133 | |||
| 134 | # CDPATH. | ||
| 135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | ||
| 136 | |||
| 137 | # Use a proper internal environment variable to ensure we don't fall | ||
| 138 | # into an infinite loop, continuously re-executing ourselves. | ||
| 139 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | ||
| 140 | _as_can_reexec=no; export _as_can_reexec; | ||
| 141 | # We cannot yet assume a decent shell, so we have to provide a | ||
| 142 | # neutralization value for shells without unset; and this also | ||
| 143 | # works around shells that cannot unset nonexistent variables. | ||
| 144 | # Preserve -v and -x to the replacement shell. | ||
| 145 | BASH_ENV=/dev/null | ||
| 146 | ENV=/dev/null | ||
| 147 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | ||
| 148 | case $- in # (((( | ||
| 149 | *v*x* | *x*v* ) as_opts=-vx ;; | ||
| 150 | *v* ) as_opts=-v ;; | ||
| 151 | *x* ) as_opts=-x ;; | ||
| 152 | * ) as_opts= ;; | ||
| 153 | esac | ||
| 154 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | ||
| 155 | # Admittedly, this is quite paranoid, since all the known shells bail | ||
| 156 | # out after a failed `exec'. | ||
| 157 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | ||
| 158 | as_fn_exit 255 | ||
| 159 | fi | ||
| 160 | # We don't want this to propagate to other subprocesses. | ||
| 161 | { _as_can_reexec=; unset _as_can_reexec;} | ||
| 162 | if test "x$CONFIG_SHELL" = x; then | ||
| 163 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | ||
| 164 | emulate sh | ||
| 165 | NULLCMD=: | ||
| 166 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | ||
| 167 | # is contrary to our usage. Disable this feature. | ||
| 168 | alias -g '\${1+\"\$@\"}'='\"\$@\"' | ||
| 169 | setopt NO_GLOB_SUBST | ||
| 170 | else | ||
| 171 | case \`(set -o) 2>/dev/null\` in #( | ||
| 172 | *posix*) : | ||
| 173 | set -o posix ;; #( | ||
| 174 | *) : | ||
| 175 | ;; | ||
| 176 | esac | ||
| 177 | fi | ||
| 178 | " | ||
| 179 | as_required="as_fn_return () { (exit \$1); } | ||
| 180 | as_fn_success () { as_fn_return 0; } | ||
| 181 | as_fn_failure () { as_fn_return 1; } | ||
| 182 | as_fn_ret_success () { return 0; } | ||
| 183 | as_fn_ret_failure () { return 1; } | ||
| 184 | |||
| 185 | exitcode=0 | ||
| 186 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } | ||
| 187 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | ||
| 188 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | ||
| 189 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | ||
| 190 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | ||
| 191 | |||
| 192 | else | ||
| 193 | exitcode=1; echo positional parameters were not saved. | ||
| 194 | fi | ||
| 195 | test x\$exitcode = x0 || exit 1 | ||
| 196 | test -x / || exit 1" | ||
| 197 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | ||
| 198 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | ||
| 199 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | ||
| 200 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | ||
| 201 | test \$(( 1 + 1 )) = 2 || exit 1" | ||
| 202 | if (eval "$as_required") 2>/dev/null; then : | ||
| 203 | as_have_required=yes | ||
| 204 | else | ||
| 205 | as_have_required=no | ||
| 206 | fi | ||
| 207 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | ||
| 208 | |||
| 209 | else | ||
| 210 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 211 | as_found=false | ||
| 212 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
| 213 | do | ||
| 214 | IFS=$as_save_IFS | ||
| 215 | test -z "$as_dir" && as_dir=. | ||
| 216 | as_found=: | ||
| 217 | case $as_dir in #( | ||
| 218 | /*) | ||
| 219 | for as_base in sh bash ksh sh5; do | ||
| 220 | # Try only shells that exist, to save several forks. | ||
| 221 | as_shell=$as_dir/$as_base | ||
| 222 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | ||
| 223 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
| 224 | CONFIG_SHELL=$as_shell as_have_required=yes | ||
| 225 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
| 226 | break 2 | ||
| 227 | fi | ||
| 228 | fi | ||
| 229 | done;; | ||
| 230 | esac | ||
| 231 | as_found=false | ||
| 232 | done | ||
| 233 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | ||
| 234 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | ||
| 235 | CONFIG_SHELL=$SHELL as_have_required=yes | ||
| 236 | fi; } | ||
| 237 | IFS=$as_save_IFS | ||
| 238 | |||
| 239 | |||
| 240 | if test "x$CONFIG_SHELL" != x; then : | ||
| 241 | export CONFIG_SHELL | ||
| 242 | # We cannot yet assume a decent shell, so we have to provide a | ||
| 243 | # neutralization value for shells without unset; and this also | ||
| 244 | # works around shells that cannot unset nonexistent variables. | ||
| 245 | # Preserve -v and -x to the replacement shell. | ||
| 246 | BASH_ENV=/dev/null | ||
| 247 | ENV=/dev/null | ||
| 248 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | ||
| 249 | case $- in # (((( | ||
| 250 | *v*x* | *x*v* ) as_opts=-vx ;; | ||
| 251 | *v* ) as_opts=-v ;; | ||
| 252 | *x* ) as_opts=-x ;; | ||
| 253 | * ) as_opts= ;; | ||
| 254 | esac | ||
| 255 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | ||
| 256 | # Admittedly, this is quite paranoid, since all the known shells bail | ||
| 257 | # out after a failed `exec'. | ||
| 258 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | ||
| 259 | exit 255 | ||
| 260 | fi | ||
| 261 | |||
| 262 | if test x$as_have_required = xno; then : | ||
| 263 | $as_echo "$0: This script requires a shell more modern than all" | ||
| 264 | $as_echo "$0: the shells that I found on your system." | ||
| 265 | if test x${ZSH_VERSION+set} = xset ; then | ||
| 266 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | ||
| 267 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." | ||
| 268 | else | ||
| 269 | $as_echo "$0: Please tell bug-autoconf@gnu.org and | ||
| 270 | $0: aiden.woodruff@gmail.com about your system, including | ||
| 271 | $0: any error possibly output before this message. Then | ||
| 272 | $0: install a modern shell, or manually run the script | ||
| 273 | $0: under such a shell if you do have one." | ||
| 274 | fi | ||
| 275 | exit 1 | ||
| 276 | fi | ||
| 277 | fi | ||
| 278 | fi | ||
| 279 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
| 280 | export SHELL | ||
| 281 | # Unset more variables known to interfere with behavior of common tools. | ||
| 282 | CLICOLOR_FORCE= GREP_OPTIONS= | ||
| 283 | unset CLICOLOR_FORCE GREP_OPTIONS | ||
| 284 | |||
| 285 | ## --------------------- ## | ||
| 286 | ## M4sh Shell Functions. ## | ||
| 287 | ## --------------------- ## | ||
| 288 | # as_fn_unset VAR | ||
| 289 | # --------------- | ||
| 290 | # Portably unset VAR. | ||
| 291 | as_fn_unset () | ||
| 292 | { | ||
| 293 | { eval $1=; unset $1;} | ||
| 294 | } | ||
| 295 | as_unset=as_fn_unset | ||
| 296 | |||
| 297 | # as_fn_set_status STATUS | ||
| 298 | # ----------------------- | ||
| 299 | # Set $? to STATUS, without forking. | ||
| 300 | as_fn_set_status () | ||
| 301 | { | ||
| 302 | return $1 | ||
| 303 | } # as_fn_set_status | ||
| 304 | |||
| 305 | # as_fn_exit STATUS | ||
| 306 | # ----------------- | ||
| 307 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | ||
| 308 | as_fn_exit () | ||
| 309 | { | ||
| 310 | set +e | ||
| 311 | as_fn_set_status $1 | ||
| 312 | exit $1 | ||
| 313 | } # as_fn_exit | ||
| 314 | |||
| 315 | # as_fn_mkdir_p | ||
| 316 | # ------------- | ||
| 317 | # Create "$as_dir" as a directory, including parents if necessary. | ||
| 318 | as_fn_mkdir_p () | ||
| 319 | { | ||
| 320 | |||
| 321 | case $as_dir in #( | ||
| 322 | -*) as_dir=./$as_dir;; | ||
| 323 | esac | ||
| 324 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
| 325 | as_dirs= | ||
| 326 | while :; do | ||
| 327 | case $as_dir in #( | ||
| 328 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
| 329 | *) as_qdir=$as_dir;; | ||
| 330 | esac | ||
| 331 | as_dirs="'$as_qdir' $as_dirs" | ||
| 332 | as_dir=`$as_dirname -- "$as_dir" || | ||
| 333 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 334 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
| 335 | X"$as_dir" : 'X\(//\)$' \| \ | ||
| 336 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
| 337 | $as_echo X"$as_dir" | | ||
| 338 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 339 | s//\1/ | ||
| 340 | q | ||
| 341 | } | ||
| 342 | /^X\(\/\/\)[^/].*/{ | ||
| 343 | s//\1/ | ||
| 344 | q | ||
| 345 | } | ||
| 346 | /^X\(\/\/\)$/{ | ||
| 347 | s//\1/ | ||
| 348 | q | ||
| 349 | } | ||
| 350 | /^X\(\/\).*/{ | ||
| 351 | s//\1/ | ||
| 352 | q | ||
| 353 | } | ||
| 354 | s/.*/./; q'` | ||
| 355 | test -d "$as_dir" && break | ||
| 356 | done | ||
| 357 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
| 358 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | ||
| 359 | |||
| 360 | |||
| 361 | } # as_fn_mkdir_p | ||
| 362 | |||
| 363 | # as_fn_executable_p FILE | ||
| 364 | # ----------------------- | ||
| 365 | # Test if FILE is an executable regular file. | ||
| 366 | as_fn_executable_p () | ||
| 367 | { | ||
| 368 | test -f "$1" && test -x "$1" | ||
| 369 | } # as_fn_executable_p | ||
| 370 | # as_fn_append VAR VALUE | ||
| 371 | # ---------------------- | ||
| 372 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
| 373 | # advantage of any shell optimizations that allow amortized linear growth over | ||
| 374 | # repeated appends, instead of the typical quadratic growth present in naive | ||
| 375 | # implementations. | ||
| 376 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
| 377 | eval 'as_fn_append () | ||
| 378 | { | ||
| 379 | eval $1+=\$2 | ||
| 380 | }' | ||
| 381 | else | ||
| 382 | as_fn_append () | ||
| 383 | { | ||
| 384 | eval $1=\$$1\$2 | ||
| 385 | } | ||
| 386 | fi # as_fn_append | ||
| 387 | |||
| 388 | # as_fn_arith ARG... | ||
| 389 | # ------------------ | ||
| 390 | # Perform arithmetic evaluation on the ARGs, and store the result in the | ||
| 391 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | ||
| 392 | # must be portable across $(()) and expr. | ||
| 393 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | ||
| 394 | eval 'as_fn_arith () | ||
| 395 | { | ||
| 396 | as_val=$(( $* )) | ||
| 397 | }' | ||
| 398 | else | ||
| 399 | as_fn_arith () | ||
| 400 | { | ||
| 401 | as_val=`expr "$@" || test $? -eq 1` | ||
| 402 | } | ||
| 403 | fi # as_fn_arith | ||
| 404 | |||
| 405 | |||
| 406 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | ||
| 407 | # ---------------------------------------- | ||
| 408 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
| 409 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
| 410 | # script with STATUS, using 1 if that was 0. | ||
| 411 | as_fn_error () | ||
| 412 | { | ||
| 413 | as_status=$1; test $as_status -eq 0 && as_status=1 | ||
| 414 | if test "$4"; then | ||
| 415 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 416 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | ||
| 417 | fi | ||
| 418 | $as_echo "$as_me: error: $2" >&2 | ||
| 419 | as_fn_exit $as_status | ||
| 420 | } # as_fn_error | ||
| 421 | |||
| 422 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
| 423 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 424 | as_expr=expr | ||
| 425 | else | ||
| 426 | as_expr=false | ||
| 427 | fi | ||
| 428 | |||
| 429 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
| 430 | as_basename=basename | ||
| 431 | else | ||
| 432 | as_basename=false | ||
| 433 | fi | ||
| 434 | |||
| 435 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
| 436 | as_dirname=dirname | ||
| 437 | else | ||
| 438 | as_dirname=false | ||
| 439 | fi | ||
| 440 | |||
| 441 | as_me=`$as_basename -- "$0" || | ||
| 442 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
| 443 | X"$0" : 'X\(//\)$' \| \ | ||
| 444 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
| 445 | $as_echo X/"$0" | | ||
| 446 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
| 447 | s//\1/ | ||
| 448 | q | ||
| 449 | } | ||
| 450 | /^X\/\(\/\/\)$/{ | ||
| 451 | s//\1/ | ||
| 452 | q | ||
| 453 | } | ||
| 454 | /^X\/\(\/\).*/{ | ||
| 455 | s//\1/ | ||
| 456 | q | ||
| 457 | } | ||
| 458 | s/.*/./; q'` | ||
| 459 | |||
| 460 | # Avoid depending upon Character Ranges. | ||
| 461 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 462 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 463 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 464 | as_cr_digits='0123456789' | ||
| 465 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 466 | |||
| 467 | |||
| 468 | as_lineno_1=$LINENO as_lineno_1a=$LINENO | ||
| 469 | as_lineno_2=$LINENO as_lineno_2a=$LINENO | ||
| 470 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | ||
| 471 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | ||
| 472 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | ||
| 473 | sed -n ' | ||
| 474 | p | ||
| 475 | /[$]LINENO/= | ||
| 476 | ' <$as_myself | | ||
| 477 | sed ' | ||
| 478 | s/[$]LINENO.*/&-/ | ||
| 479 | t lineno | ||
| 480 | b | ||
| 481 | :lineno | ||
| 482 | N | ||
| 483 | :loop | ||
| 484 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | ||
| 485 | t loop | ||
| 486 | s/-\n.*// | ||
| 487 | ' >$as_me.lineno && | ||
| 488 | chmod +x "$as_me.lineno" || | ||
| 489 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | ||
| 490 | |||
| 491 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | ||
| 492 | # already done that, so ensure we don't try to do so again and fall | ||
| 493 | # in an infinite loop. This has already happened in practice. | ||
| 494 | _as_can_reexec=no; export _as_can_reexec | ||
| 495 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
| 496 | # (the dirname of $[0] is not the place where we might find the | ||
| 497 | # original and so on. Autoconf is especially sensitive to this). | ||
| 498 | . "./$as_me.lineno" | ||
| 499 | # Exit status is that of the last command. | ||
| 500 | exit | ||
| 501 | } | ||
| 502 | |||
| 503 | ECHO_C= ECHO_N= ECHO_T= | ||
| 504 | case `echo -n x` in #((((( | ||
| 505 | -n*) | ||
| 506 | case `echo 'xy\c'` in | ||
| 507 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
| 508 | xy) ECHO_C='\c';; | ||
| 509 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
| 510 | ECHO_T=' ';; | ||
| 511 | esac;; | ||
| 512 | *) | ||
| 513 | ECHO_N='-n';; | ||
| 514 | esac | ||
| 515 | |||
| 516 | rm -f conf$$ conf$$.exe conf$$.file | ||
| 517 | if test -d conf$$.dir; then | ||
| 518 | rm -f conf$$.dir/conf$$.file | ||
| 519 | else | ||
| 520 | rm -f conf$$.dir | ||
| 521 | mkdir conf$$.dir 2>/dev/null | ||
| 522 | fi | ||
| 523 | if (echo >conf$$.file) 2>/dev/null; then | ||
| 524 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
| 525 | as_ln_s='ln -s' | ||
| 526 | # ... but there are two gotchas: | ||
| 527 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | ||
| 528 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | ||
| 529 | # In both cases, we have to default to `cp -pR'. | ||
| 530 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | ||
| 531 | as_ln_s='cp -pR' | ||
| 532 | elif ln conf$$.file conf$$ 2>/dev/null; then | ||
| 533 | as_ln_s=ln | ||
| 534 | else | ||
| 535 | as_ln_s='cp -pR' | ||
| 536 | fi | ||
| 537 | else | ||
| 538 | as_ln_s='cp -pR' | ||
| 539 | fi | ||
| 540 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | ||
| 541 | rmdir conf$$.dir 2>/dev/null | ||
| 542 | |||
| 543 | if mkdir -p . 2>/dev/null; then | ||
| 544 | as_mkdir_p='mkdir -p "$as_dir"' | ||
| 545 | else | ||
| 546 | test -d ./-p && rmdir ./-p | ||
| 547 | as_mkdir_p=false | ||
| 548 | fi | ||
| 549 | |||
| 550 | as_test_x='test -x' | ||
| 551 | as_executable_p=as_fn_executable_p | ||
| 552 | |||
| 553 | # Sed expression to map a string onto a valid CPP name. | ||
| 554 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | ||
| 555 | |||
| 556 | # Sed expression to map a string onto a valid variable name. | ||
| 557 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
| 558 | |||
| 559 | |||
| 560 | test -n "$DJDIR" || exec 7<&0 </dev/null | ||
| 561 | exec 6>&1 | ||
| 562 | |||
| 563 | # Name of the host. | ||
| 564 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | ||
| 565 | # so uname gets run too. | ||
| 566 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | ||
| 567 | |||
| 568 | # | ||
| 569 | # Initializations. | ||
| 570 | # | ||
| 571 | ac_default_prefix=/usr/local | ||
| 572 | ac_clean_files= | ||
| 573 | ac_config_libobj_dir=. | ||
| 574 | LIBOBJS= | ||
| 575 | cross_compiling=no | ||
| 576 | subdirs= | ||
| 577 | MFLAGS= | ||
| 578 | MAKEFLAGS= | ||
| 579 | |||
| 580 | # Identity of this package. | ||
| 581 | PACKAGE_NAME='life' | ||
| 582 | PACKAGE_TARNAME='life' | ||
| 583 | PACKAGE_VERSION='1.0.0' | ||
| 584 | PACKAGE_STRING='life 1.0.0' | ||
| 585 | PACKAGE_BUGREPORT='aiden.woodruff@gmail.com' | ||
| 586 | PACKAGE_URL='' | ||
| 587 | |||
| 588 | ac_unique_file="life.c" | ||
| 589 | # Factoring default headers for most tests. | ||
| 590 | ac_includes_default="\ | ||
| 591 | #include <stdio.h> | ||
| 592 | #ifdef HAVE_SYS_TYPES_H | ||
| 593 | # include <sys/types.h> | ||
| 594 | #endif | ||
| 595 | #ifdef HAVE_SYS_STAT_H | ||
| 596 | # include <sys/stat.h> | ||
| 597 | #endif | ||
| 598 | #ifdef STDC_HEADERS | ||
| 599 | # include <stdlib.h> | ||
| 600 | # include <stddef.h> | ||
| 601 | #else | ||
| 602 | # ifdef HAVE_STDLIB_H | ||
| 603 | # include <stdlib.h> | ||
| 604 | # endif | ||
| 605 | #endif | ||
| 606 | #ifdef HAVE_STRING_H | ||
| 607 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | ||
| 608 | # include <memory.h> | ||
| 609 | # endif | ||
| 610 | # include <string.h> | ||
| 611 | #endif | ||
| 612 | #ifdef HAVE_STRINGS_H | ||
| 613 | # include <strings.h> | ||
| 614 | #endif | ||
| 615 | #ifdef HAVE_INTTYPES_H | ||
| 616 | # include <inttypes.h> | ||
| 617 | #endif | ||
| 618 | #ifdef HAVE_STDINT_H | ||
| 619 | # include <stdint.h> | ||
| 620 | #endif | ||
| 621 | #ifdef HAVE_UNISTD_H | ||
| 622 | # include <unistd.h> | ||
| 623 | #endif" | ||
| 624 | |||
| 625 | ac_subst_vars='am__EXEEXT_FALSE | ||
| 626 | am__EXEEXT_TRUE | ||
| 627 | LTLIBOBJS | ||
| 628 | AM_BACKSLASH | ||
| 629 | AM_DEFAULT_VERBOSITY | ||
| 630 | AM_DEFAULT_V | ||
| 631 | AM_V | ||
| 632 | am__fastdepCC_FALSE | ||
| 633 | am__fastdepCC_TRUE | ||
| 634 | CCDEPMODE | ||
| 635 | am__nodep | ||
| 636 | AMDEPBACKSLASH | ||
| 637 | AMDEP_FALSE | ||
| 638 | AMDEP_TRUE | ||
| 639 | am__quote | ||
| 640 | am__include | ||
| 641 | DEPDIR | ||
| 642 | am__untar | ||
| 643 | am__tar | ||
| 644 | AMTAR | ||
| 645 | am__leading_dot | ||
| 646 | SET_MAKE | ||
| 647 | AWK | ||
| 648 | mkdir_p | ||
| 649 | MKDIR_P | ||
| 650 | INSTALL_STRIP_PROGRAM | ||
| 651 | STRIP | ||
| 652 | install_sh | ||
| 653 | MAKEINFO | ||
| 654 | AUTOHEADER | ||
| 655 | AUTOMAKE | ||
| 656 | AUTOCONF | ||
| 657 | ACLOCAL | ||
| 658 | VERSION | ||
| 659 | PACKAGE | ||
| 660 | CYGPATH_W | ||
| 661 | am__isrc | ||
| 662 | INSTALL_DATA | ||
| 663 | INSTALL_SCRIPT | ||
| 664 | INSTALL_PROGRAM | ||
| 665 | LIBOBJS | ||
| 666 | EGREP | ||
| 667 | GREP | ||
| 668 | CPP | ||
| 669 | OBJEXT | ||
| 670 | EXEEXT | ||
| 671 | ac_ct_CC | ||
| 672 | CPPFLAGS | ||
| 673 | LDFLAGS | ||
| 674 | CFLAGS | ||
| 675 | CC | ||
| 676 | target_alias | ||
| 677 | host_alias | ||
| 678 | build_alias | ||
| 679 | LIBS | ||
| 680 | ECHO_T | ||
| 681 | ECHO_N | ||
| 682 | ECHO_C | ||
| 683 | DEFS | ||
| 684 | mandir | ||
| 685 | localedir | ||
| 686 | libdir | ||
| 687 | psdir | ||
| 688 | pdfdir | ||
| 689 | dvidir | ||
| 690 | htmldir | ||
| 691 | infodir | ||
| 692 | docdir | ||
| 693 | oldincludedir | ||
| 694 | includedir | ||
| 695 | runstatedir | ||
| 696 | localstatedir | ||
| 697 | sharedstatedir | ||
| 698 | sysconfdir | ||
| 699 | datadir | ||
| 700 | datarootdir | ||
| 701 | libexecdir | ||
| 702 | sbindir | ||
| 703 | bindir | ||
| 704 | program_transform_name | ||
| 705 | prefix | ||
| 706 | exec_prefix | ||
| 707 | PACKAGE_URL | ||
| 708 | PACKAGE_BUGREPORT | ||
| 709 | PACKAGE_STRING | ||
| 710 | PACKAGE_VERSION | ||
| 711 | PACKAGE_TARNAME | ||
| 712 | PACKAGE_NAME | ||
| 713 | PATH_SEPARATOR | ||
| 714 | SHELL' | ||
| 715 | ac_subst_files='' | ||
| 716 | ac_user_opts=' | ||
| 717 | enable_option_checking | ||
| 718 | enable_dependency_tracking | ||
| 719 | enable_silent_rules | ||
| 720 | ' | ||
| 721 | ac_precious_vars='build_alias | ||
| 722 | host_alias | ||
| 723 | target_alias | ||
| 724 | CC | ||
| 725 | CFLAGS | ||
| 726 | LDFLAGS | ||
| 727 | LIBS | ||
| 728 | CPPFLAGS | ||
| 729 | CPP' | ||
| 730 | |||
| 731 | |||
| 732 | # Initialize some variables set by options. | ||
| 733 | ac_init_help= | ||
| 734 | ac_init_version=false | ||
| 735 | ac_unrecognized_opts= | ||
| 736 | ac_unrecognized_sep= | ||
| 737 | # The variables have the same names as the options, with | ||
| 738 | # dashes changed to underlines. | ||
| 739 | cache_file=/dev/null | ||
| 740 | exec_prefix=NONE | ||
| 741 | no_create= | ||
| 742 | no_recursion= | ||
| 743 | prefix=NONE | ||
| 744 | program_prefix=NONE | ||
| 745 | program_suffix=NONE | ||
| 746 | program_transform_name=s,x,x, | ||
| 747 | silent= | ||
| 748 | site= | ||
| 749 | srcdir= | ||
| 750 | verbose= | ||
| 751 | x_includes=NONE | ||
| 752 | x_libraries=NONE | ||
| 753 | |||
| 754 | # Installation directory options. | ||
| 755 | # These are left unexpanded so users can "make install exec_prefix=/foo" | ||
| 756 | # and all the variables that are supposed to be based on exec_prefix | ||
| 757 | # by default will actually change. | ||
| 758 | # Use braces instead of parens because sh, perl, etc. also accept them. | ||
| 759 | # (The list follows the same order as the GNU Coding Standards.) | ||
| 760 | bindir='${exec_prefix}/bin' | ||
| 761 | sbindir='${exec_prefix}/sbin' | ||
| 762 | libexecdir='${exec_prefix}/libexec' | ||
| 763 | datarootdir='${prefix}/share' | ||
| 764 | datadir='${datarootdir}' | ||
| 765 | sysconfdir='${prefix}/etc' | ||
| 766 | sharedstatedir='${prefix}/com' | ||
| 767 | localstatedir='${prefix}/var' | ||
| 768 | runstatedir='${localstatedir}/run' | ||
| 769 | includedir='${prefix}/include' | ||
| 770 | oldincludedir='/usr/include' | ||
| 771 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | ||
| 772 | infodir='${datarootdir}/info' | ||
| 773 | htmldir='${docdir}' | ||
| 774 | dvidir='${docdir}' | ||
| 775 | pdfdir='${docdir}' | ||
| 776 | psdir='${docdir}' | ||
| 777 | libdir='${exec_prefix}/lib' | ||
| 778 | localedir='${datarootdir}/locale' | ||
| 779 | mandir='${datarootdir}/man' | ||
| 780 | |||
| 781 | ac_prev= | ||
| 782 | ac_dashdash= | ||
| 783 | for ac_option | ||
| 784 | do | ||
| 785 | # If the previous option needs an argument, assign it. | ||
| 786 | if test -n "$ac_prev"; then | ||
| 787 | eval $ac_prev=\$ac_option | ||
| 788 | ac_prev= | ||
| 789 | continue | ||
| 790 | fi | ||
| 791 | |||
| 792 | case $ac_option in | ||
| 793 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | ||
| 794 | *=) ac_optarg= ;; | ||
| 795 | *) ac_optarg=yes ;; | ||
| 796 | esac | ||
| 797 | |||
| 798 | # Accept the important Cygnus configure options, so we can diagnose typos. | ||
| 799 | |||
| 800 | case $ac_dashdash$ac_option in | ||
| 801 | --) | ||
| 802 | ac_dashdash=yes ;; | ||
| 803 | |||
| 804 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | ||
| 805 | ac_prev=bindir ;; | ||
| 806 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | ||
| 807 | bindir=$ac_optarg ;; | ||
| 808 | |||
| 809 | -build | --build | --buil | --bui | --bu) | ||
| 810 | ac_prev=build_alias ;; | ||
| 811 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | ||
| 812 | build_alias=$ac_optarg ;; | ||
| 813 | |||
| 814 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | ||
| 815 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | ||
| 816 | ac_prev=cache_file ;; | ||
| 817 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | ||
| 818 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | ||
| 819 | cache_file=$ac_optarg ;; | ||
| 820 | |||
| 821 | --config-cache | -C) | ||
| 822 | cache_file=config.cache ;; | ||
| 823 | |||
| 824 | -datadir | --datadir | --datadi | --datad) | ||
| 825 | ac_prev=datadir ;; | ||
| 826 | -datadir=* | --datadir=* | --datadi=* | --datad=*) | ||
| 827 | datadir=$ac_optarg ;; | ||
| 828 | |||
| 829 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | ||
| 830 | | --dataroo | --dataro | --datar) | ||
| 831 | ac_prev=datarootdir ;; | ||
| 832 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | ||
| 833 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | ||
| 834 | datarootdir=$ac_optarg ;; | ||
| 835 | |||
| 836 | -disable-* | --disable-*) | ||
| 837 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | ||
| 838 | # Reject names that are not valid shell variable names. | ||
| 839 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
| 840 | as_fn_error $? "invalid feature name: $ac_useropt" | ||
| 841 | ac_useropt_orig=$ac_useropt | ||
| 842 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
| 843 | case $ac_user_opts in | ||
| 844 | *" | ||
| 845 | "enable_$ac_useropt" | ||
| 846 | "*) ;; | ||
| 847 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | ||
| 848 | ac_unrecognized_sep=', ';; | ||
| 849 | esac | ||
| 850 | eval enable_$ac_useropt=no ;; | ||
| 851 | |||
| 852 | -docdir | --docdir | --docdi | --doc | --do) | ||
| 853 | ac_prev=docdir ;; | ||
| 854 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | ||
| 855 | docdir=$ac_optarg ;; | ||
| 856 | |||
| 857 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | ||
| 858 | ac_prev=dvidir ;; | ||
| 859 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | ||
| 860 | dvidir=$ac_optarg ;; | ||
| 861 | |||
| 862 | -enable-* | --enable-*) | ||
| 863 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | ||
| 864 | # Reject names that are not valid shell variable names. | ||
| 865 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
| 866 | as_fn_error $? "invalid feature name: $ac_useropt" | ||
| 867 | ac_useropt_orig=$ac_useropt | ||
| 868 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
| 869 | case $ac_user_opts in | ||
| 870 | *" | ||
| 871 | "enable_$ac_useropt" | ||
| 872 | "*) ;; | ||
| 873 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | ||
| 874 | ac_unrecognized_sep=', ';; | ||
| 875 | esac | ||
| 876 | eval enable_$ac_useropt=\$ac_optarg ;; | ||
| 877 | |||
| 878 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | ||
| 879 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | ||
| 880 | | --exec | --exe | --ex) | ||
| 881 | ac_prev=exec_prefix ;; | ||
| 882 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | ||
| 883 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | ||
| 884 | | --exec=* | --exe=* | --ex=*) | ||
| 885 | exec_prefix=$ac_optarg ;; | ||
| 886 | |||
| 887 | -gas | --gas | --ga | --g) | ||
| 888 | # Obsolete; use --with-gas. | ||
| 889 | with_gas=yes ;; | ||
| 890 | |||
| 891 | -help | --help | --hel | --he | -h) | ||
| 892 | ac_init_help=long ;; | ||
| 893 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | ||
| 894 | ac_init_help=recursive ;; | ||
| 895 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | ||
| 896 | ac_init_help=short ;; | ||
| 897 | |||
| 898 | -host | --host | --hos | --ho) | ||
| 899 | ac_prev=host_alias ;; | ||
| 900 | -host=* | --host=* | --hos=* | --ho=*) | ||
| 901 | host_alias=$ac_optarg ;; | ||
| 902 | |||
| 903 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | ||
| 904 | ac_prev=htmldir ;; | ||
| 905 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | ||
| 906 | | --ht=*) | ||
| 907 | htmldir=$ac_optarg ;; | ||
| 908 | |||
| 909 | -includedir | --includedir | --includedi | --included | --include \ | ||
| 910 | | --includ | --inclu | --incl | --inc) | ||
| 911 | ac_prev=includedir ;; | ||
| 912 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | ||
| 913 | | --includ=* | --inclu=* | --incl=* | --inc=*) | ||
| 914 | includedir=$ac_optarg ;; | ||
| 915 | |||
| 916 | -infodir | --infodir | --infodi | --infod | --info | --inf) | ||
| 917 | ac_prev=infodir ;; | ||
| 918 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | ||
| 919 | infodir=$ac_optarg ;; | ||
| 920 | |||
| 921 | -libdir | --libdir | --libdi | --libd) | ||
| 922 | ac_prev=libdir ;; | ||
| 923 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | ||
| 924 | libdir=$ac_optarg ;; | ||
| 925 | |||
| 926 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | ||
| 927 | | --libexe | --libex | --libe) | ||
| 928 | ac_prev=libexecdir ;; | ||
| 929 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | ||
| 930 | | --libexe=* | --libex=* | --libe=*) | ||
| 931 | libexecdir=$ac_optarg ;; | ||
| 932 | |||
| 933 | -localedir | --localedir | --localedi | --localed | --locale) | ||
| 934 | ac_prev=localedir ;; | ||
| 935 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | ||
| 936 | localedir=$ac_optarg ;; | ||
| 937 | |||
| 938 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | ||
| 939 | | --localstate | --localstat | --localsta | --localst | --locals) | ||
| 940 | ac_prev=localstatedir ;; | ||
| 941 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | ||
| 942 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | ||
| 943 | localstatedir=$ac_optarg ;; | ||
| 944 | |||
| 945 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | ||
| 946 | ac_prev=mandir ;; | ||
| 947 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | ||
| 948 | mandir=$ac_optarg ;; | ||
| 949 | |||
| 950 | -nfp | --nfp | --nf) | ||
| 951 | # Obsolete; use --without-fp. | ||
| 952 | with_fp=no ;; | ||
| 953 | |||
| 954 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | ||
| 955 | | --no-cr | --no-c | -n) | ||
| 956 | no_create=yes ;; | ||
| 957 | |||
| 958 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | ||
| 959 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | ||
| 960 | no_recursion=yes ;; | ||
| 961 | |||
| 962 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | ||
| 963 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | ||
| 964 | | --oldin | --oldi | --old | --ol | --o) | ||
| 965 | ac_prev=oldincludedir ;; | ||
| 966 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | ||
| 967 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | ||
| 968 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | ||
| 969 | oldincludedir=$ac_optarg ;; | ||
| 970 | |||
| 971 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | ||
| 972 | ac_prev=prefix ;; | ||
| 973 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | ||
| 974 | prefix=$ac_optarg ;; | ||
| 975 | |||
| 976 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | ||
| 977 | | --program-pre | --program-pr | --program-p) | ||
| 978 | ac_prev=program_prefix ;; | ||
| 979 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | ||
| 980 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | ||
| 981 | program_prefix=$ac_optarg ;; | ||
| 982 | |||
| 983 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | ||
| 984 | | --program-suf | --program-su | --program-s) | ||
| 985 | ac_prev=program_suffix ;; | ||
| 986 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | ||
| 987 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | ||
| 988 | program_suffix=$ac_optarg ;; | ||
| 989 | |||
| 990 | -program-transform-name | --program-transform-name \ | ||
| 991 | | --program-transform-nam | --program-transform-na \ | ||
| 992 | | --program-transform-n | --program-transform- \ | ||
| 993 | | --program-transform | --program-transfor \ | ||
| 994 | | --program-transfo | --program-transf \ | ||
| 995 | | --program-trans | --program-tran \ | ||
| 996 | | --progr-tra | --program-tr | --program-t) | ||
| 997 | ac_prev=program_transform_name ;; | ||
| 998 | -program-transform-name=* | --program-transform-name=* \ | ||
| 999 | | --program-transform-nam=* | --program-transform-na=* \ | ||
| 1000 | | --program-transform-n=* | --program-transform-=* \ | ||
| 1001 | | --program-transform=* | --program-transfor=* \ | ||
| 1002 | | --program-transfo=* | --program-transf=* \ | ||
| 1003 | | --program-trans=* | --program-tran=* \ | ||
| 1004 | | --progr-tra=* | --program-tr=* | --program-t=*) | ||
| 1005 | program_transform_name=$ac_optarg ;; | ||
| 1006 | |||
| 1007 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | ||
| 1008 | ac_prev=pdfdir ;; | ||
| 1009 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | ||
| 1010 | pdfdir=$ac_optarg ;; | ||
| 1011 | |||
| 1012 | -psdir | --psdir | --psdi | --psd | --ps) | ||
| 1013 | ac_prev=psdir ;; | ||
| 1014 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | ||
| 1015 | psdir=$ac_optarg ;; | ||
| 1016 | |||
| 1017 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
| 1018 | | -silent | --silent | --silen | --sile | --sil) | ||
| 1019 | silent=yes ;; | ||
| 1020 | |||
| 1021 | -runstatedir | --runstatedir | --runstatedi | --runstated \ | ||
| 1022 | | --runstate | --runstat | --runsta | --runst | --runs \ | ||
| 1023 | | --run | --ru | --r) | ||
| 1024 | ac_prev=runstatedir ;; | ||
| 1025 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | ||
| 1026 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | ||
| 1027 | | --run=* | --ru=* | --r=*) | ||
| 1028 | runstatedir=$ac_optarg ;; | ||
| 1029 | |||
| 1030 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | ||
| 1031 | ac_prev=sbindir ;; | ||
| 1032 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | ||
| 1033 | | --sbi=* | --sb=*) | ||
| 1034 | sbindir=$ac_optarg ;; | ||
| 1035 | |||
| 1036 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | ||
| 1037 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | ||
| 1038 | | --sharedst | --shareds | --shared | --share | --shar \ | ||
| 1039 | | --sha | --sh) | ||
| 1040 | ac_prev=sharedstatedir ;; | ||
| 1041 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | ||
| 1042 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | ||
| 1043 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | ||
| 1044 | | --sha=* | --sh=*) | ||
| 1045 | sharedstatedir=$ac_optarg ;; | ||
| 1046 | |||
| 1047 | -site | --site | --sit) | ||
| 1048 | ac_prev=site ;; | ||
| 1049 | -site=* | --site=* | --sit=*) | ||
| 1050 | site=$ac_optarg ;; | ||
| 1051 | |||
| 1052 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | ||
| 1053 | ac_prev=srcdir ;; | ||
| 1054 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | ||
| 1055 | srcdir=$ac_optarg ;; | ||
| 1056 | |||
| 1057 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | ||
| 1058 | | --syscon | --sysco | --sysc | --sys | --sy) | ||
| 1059 | ac_prev=sysconfdir ;; | ||
| 1060 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | ||
| 1061 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | ||
| 1062 | sysconfdir=$ac_optarg ;; | ||
| 1063 | |||
| 1064 | -target | --target | --targe | --targ | --tar | --ta | --t) | ||
| 1065 | ac_prev=target_alias ;; | ||
| 1066 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | ||
| 1067 | target_alias=$ac_optarg ;; | ||
| 1068 | |||
| 1069 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | ||
| 1070 | verbose=yes ;; | ||
| 1071 | |||
| 1072 | -version | --version | --versio | --versi | --vers | -V) | ||
| 1073 | ac_init_version=: ;; | ||
| 1074 | |||
| 1075 | -with-* | --with-*) | ||
| 1076 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | ||
| 1077 | # Reject names that are not valid shell variable names. | ||
| 1078 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
| 1079 | as_fn_error $? "invalid package name: $ac_useropt" | ||
| 1080 | ac_useropt_orig=$ac_useropt | ||
| 1081 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
| 1082 | case $ac_user_opts in | ||
| 1083 | *" | ||
| 1084 | "with_$ac_useropt" | ||
| 1085 | "*) ;; | ||
| 1086 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | ||
| 1087 | ac_unrecognized_sep=', ';; | ||
| 1088 | esac | ||
| 1089 | eval with_$ac_useropt=\$ac_optarg ;; | ||
| 1090 | |||
| 1091 | -without-* | --without-*) | ||
| 1092 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | ||
| 1093 | # Reject names that are not valid shell variable names. | ||
| 1094 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
| 1095 | as_fn_error $? "invalid package name: $ac_useropt" | ||
| 1096 | ac_useropt_orig=$ac_useropt | ||
| 1097 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
| 1098 | case $ac_user_opts in | ||
| 1099 | *" | ||
| 1100 | "with_$ac_useropt" | ||
| 1101 | "*) ;; | ||
| 1102 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | ||
| 1103 | ac_unrecognized_sep=', ';; | ||
| 1104 | esac | ||
| 1105 | eval with_$ac_useropt=no ;; | ||
| 1106 | |||
| 1107 | --x) | ||
| 1108 | # Obsolete; use --with-x. | ||
| 1109 | with_x=yes ;; | ||
| 1110 | |||
| 1111 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | ||
| 1112 | | --x-incl | --x-inc | --x-in | --x-i) | ||
| 1113 | ac_prev=x_includes ;; | ||
| 1114 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | ||
| 1115 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | ||
| 1116 | x_includes=$ac_optarg ;; | ||
| 1117 | |||
| 1118 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | ||
| 1119 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | ||
| 1120 | ac_prev=x_libraries ;; | ||
| 1121 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | ||
| 1122 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | ||
| 1123 | x_libraries=$ac_optarg ;; | ||
| 1124 | |||
| 1125 | -*) as_fn_error $? "unrecognized option: \`$ac_option' | ||
| 1126 | Try \`$0 --help' for more information" | ||
| 1127 | ;; | ||
| 1128 | |||
| 1129 | *=*) | ||
| 1130 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | ||
| 1131 | # Reject names that are not valid shell variable names. | ||
| 1132 | case $ac_envvar in #( | ||
| 1133 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | ||
| 1134 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | ||
| 1135 | esac | ||
| 1136 | eval $ac_envvar=\$ac_optarg | ||
| 1137 | export $ac_envvar ;; | ||
| 1138 | |||
| 1139 | *) | ||
| 1140 | # FIXME: should be removed in autoconf 3.0. | ||
| 1141 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | ||
| 1142 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | ||
| 1143 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | ||
| 1144 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | ||
| 1145 | ;; | ||
| 1146 | |||
| 1147 | esac | ||
| 1148 | done | ||
| 1149 | |||
| 1150 | if test -n "$ac_prev"; then | ||
| 1151 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | ||
| 1152 | as_fn_error $? "missing argument to $ac_option" | ||
| 1153 | fi | ||
| 1154 | |||
| 1155 | if test -n "$ac_unrecognized_opts"; then | ||
| 1156 | case $enable_option_checking in | ||
| 1157 | no) ;; | ||
| 1158 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | ||
| 1159 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | ||
| 1160 | esac | ||
| 1161 | fi | ||
| 1162 | |||
| 1163 | # Check all directory arguments for consistency. | ||
| 1164 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | ||
| 1165 | datadir sysconfdir sharedstatedir localstatedir includedir \ | ||
| 1166 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | ||
| 1167 | libdir localedir mandir runstatedir | ||
| 1168 | do | ||
| 1169 | eval ac_val=\$$ac_var | ||
| 1170 | # Remove trailing slashes. | ||
| 1171 | case $ac_val in | ||
| 1172 | */ ) | ||
| 1173 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | ||
| 1174 | eval $ac_var=\$ac_val;; | ||
| 1175 | esac | ||
| 1176 | # Be sure to have absolute directory names. | ||
| 1177 | case $ac_val in | ||
| 1178 | [\\/$]* | ?:[\\/]* ) continue;; | ||
| 1179 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | ||
| 1180 | esac | ||
| 1181 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | ||
| 1182 | done | ||
| 1183 | |||
| 1184 | # There might be people who depend on the old broken behavior: `$host' | ||
| 1185 | # used to hold the argument of --host etc. | ||
| 1186 | # FIXME: To remove some day. | ||
| 1187 | build=$build_alias | ||
| 1188 | host=$host_alias | ||
| 1189 | target=$target_alias | ||
| 1190 | |||
| 1191 | # FIXME: To remove some day. | ||
| 1192 | if test "x$host_alias" != x; then | ||
| 1193 | if test "x$build_alias" = x; then | ||
| 1194 | cross_compiling=maybe | ||
| 1195 | elif test "x$build_alias" != "x$host_alias"; then | ||
| 1196 | cross_compiling=yes | ||
| 1197 | fi | ||
| 1198 | fi | ||
| 1199 | |||
| 1200 | ac_tool_prefix= | ||
| 1201 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | ||
| 1202 | |||
| 1203 | test "$silent" = yes && exec 6>/dev/null | ||
| 1204 | |||
| 1205 | |||
| 1206 | ac_pwd=`pwd` && test -n "$ac_pwd" && | ||
| 1207 | ac_ls_di=`ls -di .` && | ||
| 1208 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | ||
| 1209 | as_fn_error $? "working directory cannot be determined" | ||
| 1210 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | ||
| 1211 | as_fn_error $? "pwd does not report name of working directory" | ||
| 1212 | |||
| 1213 | |||
| 1214 | # Find the source files, if location was not specified. | ||
| 1215 | if test -z "$srcdir"; then | ||
| 1216 | ac_srcdir_defaulted=yes | ||
| 1217 | # Try the directory containing this script, then the parent directory. | ||
| 1218 | ac_confdir=`$as_dirname -- "$as_myself" || | ||
| 1219 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 1220 | X"$as_myself" : 'X\(//\)[^/]' \| \ | ||
| 1221 | X"$as_myself" : 'X\(//\)$' \| \ | ||
| 1222 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | ||
| 1223 | $as_echo X"$as_myself" | | ||
| 1224 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 1225 | s//\1/ | ||
| 1226 | q | ||
| 1227 | } | ||
| 1228 | /^X\(\/\/\)[^/].*/{ | ||
| 1229 | s//\1/ | ||
| 1230 | q | ||
| 1231 | } | ||
| 1232 | /^X\(\/\/\)$/{ | ||
| 1233 | s//\1/ | ||
| 1234 | q | ||
| 1235 | } | ||
| 1236 | /^X\(\/\).*/{ | ||
| 1237 | s//\1/ | ||
| 1238 | q | ||
| 1239 | } | ||
| 1240 | s/.*/./; q'` | ||
| 1241 | srcdir=$ac_confdir | ||
| 1242 | if test ! -r "$srcdir/$ac_unique_file"; then | ||
| 1243 | srcdir=.. | ||
| 1244 | fi | ||
| 1245 | else | ||
| 1246 | ac_srcdir_defaulted=no | ||
| 1247 | fi | ||
| 1248 | if test ! -r "$srcdir/$ac_unique_file"; then | ||
| 1249 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | ||
| 1250 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | ||
| 1251 | fi | ||
| 1252 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | ||
| 1253 | ac_abs_confdir=`( | ||
| 1254 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | ||
| 1255 | pwd)` | ||
| 1256 | # When building in place, set srcdir=. | ||
| 1257 | if test "$ac_abs_confdir" = "$ac_pwd"; then | ||
| 1258 | srcdir=. | ||
| 1259 | fi | ||
| 1260 | # Remove unnecessary trailing slashes from srcdir. | ||
| 1261 | # Double slashes in file names in object file debugging info | ||
| 1262 | # mess up M-x gdb in Emacs. | ||
| 1263 | case $srcdir in | ||
| 1264 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | ||
| 1265 | esac | ||
| 1266 | for ac_var in $ac_precious_vars; do | ||
| 1267 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | ||
| 1268 | eval ac_env_${ac_var}_value=\$${ac_var} | ||
| 1269 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | ||
| 1270 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | ||
| 1271 | done | ||
| 1272 | |||
| 1273 | # | ||
| 1274 | # Report the --help message. | ||
| 1275 | # | ||
| 1276 | if test "$ac_init_help" = "long"; then | ||
| 1277 | # Omit some internal or obsolete options to make the list less imposing. | ||
| 1278 | # This message is too long to be a string in the A/UX 3.1 sh. | ||
| 1279 | cat <<_ACEOF | ||
| 1280 | \`configure' configures life 1.0.0 to adapt to many kinds of systems. | ||
| 1281 | |||
| 1282 | Usage: $0 [OPTION]... [VAR=VALUE]... | ||
| 1283 | |||
| 1284 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | ||
| 1285 | VAR=VALUE. See below for descriptions of some of the useful variables. | ||
| 1286 | |||
| 1287 | Defaults for the options are specified in brackets. | ||
| 1288 | |||
| 1289 | Configuration: | ||
| 1290 | -h, --help display this help and exit | ||
| 1291 | --help=short display options specific to this package | ||
| 1292 | --help=recursive display the short help of all the included packages | ||
| 1293 | -V, --version display version information and exit | ||
| 1294 | -q, --quiet, --silent do not print \`checking ...' messages | ||
| 1295 | --cache-file=FILE cache test results in FILE [disabled] | ||
| 1296 | -C, --config-cache alias for \`--cache-file=config.cache' | ||
| 1297 | -n, --no-create do not create output files | ||
| 1298 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | ||
| 1299 | |||
| 1300 | Installation directories: | ||
| 1301 | --prefix=PREFIX install architecture-independent files in PREFIX | ||
| 1302 | [$ac_default_prefix] | ||
| 1303 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | ||
| 1304 | [PREFIX] | ||
| 1305 | |||
| 1306 | By default, \`make install' will install all the files in | ||
| 1307 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | ||
| 1308 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | ||
| 1309 | for instance \`--prefix=\$HOME'. | ||
| 1310 | |||
| 1311 | For better control, use the options below. | ||
| 1312 | |||
| 1313 | Fine tuning of the installation directories: | ||
| 1314 | --bindir=DIR user executables [EPREFIX/bin] | ||
| 1315 | --sbindir=DIR system admin executables [EPREFIX/sbin] | ||
| 1316 | --libexecdir=DIR program executables [EPREFIX/libexec] | ||
| 1317 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | ||
| 1318 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | ||
| 1319 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | ||
| 1320 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] | ||
| 1321 | --libdir=DIR object code libraries [EPREFIX/lib] | ||
| 1322 | --includedir=DIR C header files [PREFIX/include] | ||
| 1323 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | ||
| 1324 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | ||
| 1325 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | ||
| 1326 | --infodir=DIR info documentation [DATAROOTDIR/info] | ||
| 1327 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | ||
| 1328 | --mandir=DIR man documentation [DATAROOTDIR/man] | ||
| 1329 | --docdir=DIR documentation root [DATAROOTDIR/doc/life] | ||
| 1330 | --htmldir=DIR html documentation [DOCDIR] | ||
| 1331 | --dvidir=DIR dvi documentation [DOCDIR] | ||
| 1332 | --pdfdir=DIR pdf documentation [DOCDIR] | ||
| 1333 | --psdir=DIR ps documentation [DOCDIR] | ||
| 1334 | _ACEOF | ||
| 1335 | |||
| 1336 | cat <<\_ACEOF | ||
| 1337 | |||
| 1338 | Program names: | ||
| 1339 | --program-prefix=PREFIX prepend PREFIX to installed program names | ||
| 1340 | --program-suffix=SUFFIX append SUFFIX to installed program names | ||
| 1341 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names | ||
| 1342 | _ACEOF | ||
| 1343 | fi | ||
| 1344 | |||
| 1345 | if test -n "$ac_init_help"; then | ||
| 1346 | case $ac_init_help in | ||
| 1347 | short | recursive ) echo "Configuration of life 1.0.0:";; | ||
| 1348 | esac | ||
| 1349 | cat <<\_ACEOF | ||
| 1350 | |||
| 1351 | Optional Features: | ||
| 1352 | --disable-option-checking ignore unrecognized --enable/--with options | ||
| 1353 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | ||
| 1354 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | ||
| 1355 | --enable-dependency-tracking | ||
| 1356 | do not reject slow dependency extractors | ||
| 1357 | --disable-dependency-tracking | ||
| 1358 | speeds up one-time build | ||
| 1359 | --enable-silent-rules less verbose build output (undo: "make V=1") | ||
| 1360 | --disable-silent-rules verbose build output (undo: "make V=0") | ||
| 1361 | |||
| 1362 | Some influential environment variables: | ||
| 1363 | CC C compiler command | ||
| 1364 | CFLAGS C compiler flags | ||
| 1365 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | ||
| 1366 | nonstandard directory <lib dir> | ||
| 1367 | LIBS libraries to pass to the linker, e.g. -l<library> | ||
| 1368 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | ||
| 1369 | you have headers in a nonstandard directory <include dir> | ||
| 1370 | CPP C preprocessor | ||
| 1371 | |||
| 1372 | Use these variables to override the choices made by `configure' or to help | ||
| 1373 | it to find libraries and programs with nonstandard names/locations. | ||
| 1374 | |||
| 1375 | Report bugs to <aiden.woodruff@gmail.com>. | ||
| 1376 | _ACEOF | ||
| 1377 | ac_status=$? | ||
| 1378 | fi | ||
| 1379 | |||
| 1380 | if test "$ac_init_help" = "recursive"; then | ||
| 1381 | # If there are subdirs, report their specific --help. | ||
| 1382 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | ||
| 1383 | test -d "$ac_dir" || | ||
| 1384 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | ||
| 1385 | continue | ||
| 1386 | ac_builddir=. | ||
| 1387 | |||
| 1388 | case "$ac_dir" in | ||
| 1389 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
| 1390 | *) | ||
| 1391 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | ||
| 1392 | # A ".." for each directory in $ac_dir_suffix. | ||
| 1393 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | ||
| 1394 | case $ac_top_builddir_sub in | ||
| 1395 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
| 1396 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | ||
| 1397 | esac ;; | ||
| 1398 | esac | ||
| 1399 | ac_abs_top_builddir=$ac_pwd | ||
| 1400 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
| 1401 | # for backward compatibility: | ||
| 1402 | ac_top_builddir=$ac_top_build_prefix | ||
| 1403 | |||
| 1404 | case $srcdir in | ||
| 1405 | .) # We are building in place. | ||
| 1406 | ac_srcdir=. | ||
| 1407 | ac_top_srcdir=$ac_top_builddir_sub | ||
| 1408 | ac_abs_top_srcdir=$ac_pwd ;; | ||
| 1409 | [\\/]* | ?:[\\/]* ) # Absolute name. | ||
| 1410 | ac_srcdir=$srcdir$ac_dir_suffix; | ||
| 1411 | ac_top_srcdir=$srcdir | ||
| 1412 | ac_abs_top_srcdir=$srcdir ;; | ||
| 1413 | *) # Relative name. | ||
| 1414 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | ||
| 1415 | ac_top_srcdir=$ac_top_build_prefix$srcdir | ||
| 1416 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | ||
| 1417 | esac | ||
| 1418 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | ||
| 1419 | |||
| 1420 | cd "$ac_dir" || { ac_status=$?; continue; } | ||
| 1421 | # Check for guested configure. | ||
| 1422 | if test -f "$ac_srcdir/configure.gnu"; then | ||
| 1423 | echo && | ||
| 1424 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive | ||
| 1425 | elif test -f "$ac_srcdir/configure"; then | ||
| 1426 | echo && | ||
| 1427 | $SHELL "$ac_srcdir/configure" --help=recursive | ||
| 1428 | else | ||
| 1429 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | ||
| 1430 | fi || ac_status=$? | ||
| 1431 | cd "$ac_pwd" || { ac_status=$?; break; } | ||
| 1432 | done | ||
| 1433 | fi | ||
| 1434 | |||
| 1435 | test -n "$ac_init_help" && exit $ac_status | ||
| 1436 | if $ac_init_version; then | ||
| 1437 | cat <<\_ACEOF | ||
| 1438 | life configure 1.0.0 | ||
| 1439 | generated by GNU Autoconf 2.69 | ||
| 1440 | |||
| 1441 | Copyright (C) 2012 Free Software Foundation, Inc. | ||
| 1442 | This configure script is free software; the Free Software Foundation | ||
| 1443 | gives unlimited permission to copy, distribute and modify it. | ||
| 1444 | _ACEOF | ||
| 1445 | exit | ||
| 1446 | fi | ||
| 1447 | |||
| 1448 | ## ------------------------ ## | ||
| 1449 | ## Autoconf initialization. ## | ||
| 1450 | ## ------------------------ ## | ||
| 1451 | |||
| 1452 | # ac_fn_c_try_compile LINENO | ||
| 1453 | # -------------------------- | ||
| 1454 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | ||
| 1455 | ac_fn_c_try_compile () | ||
| 1456 | { | ||
| 1457 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1458 | rm -f conftest.$ac_objext | ||
| 1459 | if { { ac_try="$ac_compile" | ||
| 1460 | case "(($ac_try" in | ||
| 1461 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1462 | *) ac_try_echo=$ac_try;; | ||
| 1463 | esac | ||
| 1464 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1465 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1466 | (eval "$ac_compile") 2>conftest.err | ||
| 1467 | ac_status=$? | ||
| 1468 | if test -s conftest.err; then | ||
| 1469 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1470 | cat conftest.er1 >&5 | ||
| 1471 | mv -f conftest.er1 conftest.err | ||
| 1472 | fi | ||
| 1473 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1474 | test $ac_status = 0; } && { | ||
| 1475 | test -z "$ac_c_werror_flag" || | ||
| 1476 | test ! -s conftest.err | ||
| 1477 | } && test -s conftest.$ac_objext; then : | ||
| 1478 | ac_retval=0 | ||
| 1479 | else | ||
| 1480 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1481 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1482 | |||
| 1483 | ac_retval=1 | ||
| 1484 | fi | ||
| 1485 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1486 | as_fn_set_status $ac_retval | ||
| 1487 | |||
| 1488 | } # ac_fn_c_try_compile | ||
| 1489 | |||
| 1490 | # ac_fn_c_try_link LINENO | ||
| 1491 | # ----------------------- | ||
| 1492 | # Try to link conftest.$ac_ext, and return whether this succeeded. | ||
| 1493 | ac_fn_c_try_link () | ||
| 1494 | { | ||
| 1495 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1496 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 1497 | if { { ac_try="$ac_link" | ||
| 1498 | case "(($ac_try" in | ||
| 1499 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1500 | *) ac_try_echo=$ac_try;; | ||
| 1501 | esac | ||
| 1502 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1503 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1504 | (eval "$ac_link") 2>conftest.err | ||
| 1505 | ac_status=$? | ||
| 1506 | if test -s conftest.err; then | ||
| 1507 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1508 | cat conftest.er1 >&5 | ||
| 1509 | mv -f conftest.er1 conftest.err | ||
| 1510 | fi | ||
| 1511 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1512 | test $ac_status = 0; } && { | ||
| 1513 | test -z "$ac_c_werror_flag" || | ||
| 1514 | test ! -s conftest.err | ||
| 1515 | } && test -s conftest$ac_exeext && { | ||
| 1516 | test "$cross_compiling" = yes || | ||
| 1517 | test -x conftest$ac_exeext | ||
| 1518 | }; then : | ||
| 1519 | ac_retval=0 | ||
| 1520 | else | ||
| 1521 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1522 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1523 | |||
| 1524 | ac_retval=1 | ||
| 1525 | fi | ||
| 1526 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | ||
| 1527 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | ||
| 1528 | # interfere with the next link command; also delete a directory that is | ||
| 1529 | # left behind by Apple's compiler. We do this before executing the actions. | ||
| 1530 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
| 1531 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1532 | as_fn_set_status $ac_retval | ||
| 1533 | |||
| 1534 | } # ac_fn_c_try_link | ||
| 1535 | |||
| 1536 | # ac_fn_c_try_cpp LINENO | ||
| 1537 | # ---------------------- | ||
| 1538 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | ||
| 1539 | ac_fn_c_try_cpp () | ||
| 1540 | { | ||
| 1541 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1542 | if { { ac_try="$ac_cpp conftest.$ac_ext" | ||
| 1543 | case "(($ac_try" in | ||
| 1544 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1545 | *) ac_try_echo=$ac_try;; | ||
| 1546 | esac | ||
| 1547 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1548 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1549 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | ||
| 1550 | ac_status=$? | ||
| 1551 | if test -s conftest.err; then | ||
| 1552 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1553 | cat conftest.er1 >&5 | ||
| 1554 | mv -f conftest.er1 conftest.err | ||
| 1555 | fi | ||
| 1556 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1557 | test $ac_status = 0; } > conftest.i && { | ||
| 1558 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 1559 | test ! -s conftest.err | ||
| 1560 | }; then : | ||
| 1561 | ac_retval=0 | ||
| 1562 | else | ||
| 1563 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1564 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1565 | |||
| 1566 | ac_retval=1 | ||
| 1567 | fi | ||
| 1568 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1569 | as_fn_set_status $ac_retval | ||
| 1570 | |||
| 1571 | } # ac_fn_c_try_cpp | ||
| 1572 | |||
| 1573 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | ||
| 1574 | # ------------------------------------------------------- | ||
| 1575 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | ||
| 1576 | # the include files in INCLUDES and setting the cache variable VAR | ||
| 1577 | # accordingly. | ||
| 1578 | ac_fn_c_check_header_mongrel () | ||
| 1579 | { | ||
| 1580 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1581 | if eval \${$3+:} false; then : | ||
| 1582 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1583 | $as_echo_n "checking for $2... " >&6; } | ||
| 1584 | if eval \${$3+:} false; then : | ||
| 1585 | $as_echo_n "(cached) " >&6 | ||
| 1586 | fi | ||
| 1587 | eval ac_res=\$$3 | ||
| 1588 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1589 | $as_echo "$ac_res" >&6; } | ||
| 1590 | else | ||
| 1591 | # Is the header compilable? | ||
| 1592 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | ||
| 1593 | $as_echo_n "checking $2 usability... " >&6; } | ||
| 1594 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1595 | /* end confdefs.h. */ | ||
| 1596 | $4 | ||
| 1597 | #include <$2> | ||
| 1598 | _ACEOF | ||
| 1599 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1600 | ac_header_compiler=yes | ||
| 1601 | else | ||
| 1602 | ac_header_compiler=no | ||
| 1603 | fi | ||
| 1604 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1605 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | ||
| 1606 | $as_echo "$ac_header_compiler" >&6; } | ||
| 1607 | |||
| 1608 | # Is the header present? | ||
| 1609 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | ||
| 1610 | $as_echo_n "checking $2 presence... " >&6; } | ||
| 1611 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1612 | /* end confdefs.h. */ | ||
| 1613 | #include <$2> | ||
| 1614 | _ACEOF | ||
| 1615 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 1616 | ac_header_preproc=yes | ||
| 1617 | else | ||
| 1618 | ac_header_preproc=no | ||
| 1619 | fi | ||
| 1620 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
| 1621 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | ||
| 1622 | $as_echo "$ac_header_preproc" >&6; } | ||
| 1623 | |||
| 1624 | # So? What about this header? | ||
| 1625 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | ||
| 1626 | yes:no: ) | ||
| 1627 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 1628 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 1629 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
| 1630 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
| 1631 | ;; | ||
| 1632 | no:yes:* ) | ||
| 1633 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | ||
| 1634 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | ||
| 1635 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | ||
| 1636 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | ||
| 1637 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | ||
| 1638 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | ||
| 1639 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 1640 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 1641 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
| 1642 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
| 1643 | ( $as_echo "## --------------------------------------- ## | ||
| 1644 | ## Report this to aiden.woodruff@gmail.com ## | ||
| 1645 | ## --------------------------------------- ##" | ||
| 1646 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 1647 | ;; | ||
| 1648 | esac | ||
| 1649 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1650 | $as_echo_n "checking for $2... " >&6; } | ||
| 1651 | if eval \${$3+:} false; then : | ||
| 1652 | $as_echo_n "(cached) " >&6 | ||
| 1653 | else | ||
| 1654 | eval "$3=\$ac_header_compiler" | ||
| 1655 | fi | ||
| 1656 | eval ac_res=\$$3 | ||
| 1657 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1658 | $as_echo "$ac_res" >&6; } | ||
| 1659 | fi | ||
| 1660 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1661 | |||
| 1662 | } # ac_fn_c_check_header_mongrel | ||
| 1663 | |||
| 1664 | # ac_fn_c_try_run LINENO | ||
| 1665 | # ---------------------- | ||
| 1666 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | ||
| 1667 | # that executables *can* be run. | ||
| 1668 | ac_fn_c_try_run () | ||
| 1669 | { | ||
| 1670 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1671 | if { { ac_try="$ac_link" | ||
| 1672 | case "(($ac_try" in | ||
| 1673 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1674 | *) ac_try_echo=$ac_try;; | ||
| 1675 | esac | ||
| 1676 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1677 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1678 | (eval "$ac_link") 2>&5 | ||
| 1679 | ac_status=$? | ||
| 1680 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1681 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | ||
| 1682 | { { case "(($ac_try" in | ||
| 1683 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1684 | *) ac_try_echo=$ac_try;; | ||
| 1685 | esac | ||
| 1686 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1687 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1688 | (eval "$ac_try") 2>&5 | ||
| 1689 | ac_status=$? | ||
| 1690 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1691 | test $ac_status = 0; }; }; then : | ||
| 1692 | ac_retval=0 | ||
| 1693 | else | ||
| 1694 | $as_echo "$as_me: program exited with status $ac_status" >&5 | ||
| 1695 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1696 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1697 | |||
| 1698 | ac_retval=$ac_status | ||
| 1699 | fi | ||
| 1700 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
| 1701 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1702 | as_fn_set_status $ac_retval | ||
| 1703 | |||
| 1704 | } # ac_fn_c_try_run | ||
| 1705 | |||
| 1706 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | ||
| 1707 | # ------------------------------------------------------- | ||
| 1708 | # Tests whether HEADER exists and can be compiled using the include files in | ||
| 1709 | # INCLUDES, setting the cache variable VAR accordingly. | ||
| 1710 | ac_fn_c_check_header_compile () | ||
| 1711 | { | ||
| 1712 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1713 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1714 | $as_echo_n "checking for $2... " >&6; } | ||
| 1715 | if eval \${$3+:} false; then : | ||
| 1716 | $as_echo_n "(cached) " >&6 | ||
| 1717 | else | ||
| 1718 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1719 | /* end confdefs.h. */ | ||
| 1720 | $4 | ||
| 1721 | #include <$2> | ||
| 1722 | _ACEOF | ||
| 1723 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1724 | eval "$3=yes" | ||
| 1725 | else | ||
| 1726 | eval "$3=no" | ||
| 1727 | fi | ||
| 1728 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1729 | fi | ||
| 1730 | eval ac_res=\$$3 | ||
| 1731 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1732 | $as_echo "$ac_res" >&6; } | ||
| 1733 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1734 | |||
| 1735 | } # ac_fn_c_check_header_compile | ||
| 1736 | |||
| 1737 | # ac_fn_c_check_func LINENO FUNC VAR | ||
| 1738 | # ---------------------------------- | ||
| 1739 | # Tests whether FUNC exists, setting the cache variable VAR accordingly | ||
| 1740 | ac_fn_c_check_func () | ||
| 1741 | { | ||
| 1742 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1743 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1744 | $as_echo_n "checking for $2... " >&6; } | ||
| 1745 | if eval \${$3+:} false; then : | ||
| 1746 | $as_echo_n "(cached) " >&6 | ||
| 1747 | else | ||
| 1748 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1749 | /* end confdefs.h. */ | ||
| 1750 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | ||
| 1751 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 1752 | #define $2 innocuous_$2 | ||
| 1753 | |||
| 1754 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 1755 | which can conflict with char $2 (); below. | ||
| 1756 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 1757 | <limits.h> exists even on freestanding compilers. */ | ||
| 1758 | |||
| 1759 | #ifdef __STDC__ | ||
| 1760 | # include <limits.h> | ||
| 1761 | #else | ||
| 1762 | # include <assert.h> | ||
| 1763 | #endif | ||
| 1764 | |||
| 1765 | #undef $2 | ||
| 1766 | |||
| 1767 | /* Override any GCC internal prototype to avoid an error. | ||
| 1768 | Use char because int might match the return type of a GCC | ||
| 1769 | builtin and then its argument prototype would still apply. */ | ||
| 1770 | #ifdef __cplusplus | ||
| 1771 | extern "C" | ||
| 1772 | #endif | ||
| 1773 | char $2 (); | ||
| 1774 | /* The GNU C library defines this for functions which it implements | ||
| 1775 | to always fail with ENOSYS. Some functions are actually named | ||
| 1776 | something starting with __ and the normal name is an alias. */ | ||
| 1777 | #if defined __stub_$2 || defined __stub___$2 | ||
| 1778 | choke me | ||
| 1779 | #endif | ||
| 1780 | |||
| 1781 | int | ||
| 1782 | main () | ||
| 1783 | { | ||
| 1784 | return $2 (); | ||
| 1785 | ; | ||
| 1786 | return 0; | ||
| 1787 | } | ||
| 1788 | _ACEOF | ||
| 1789 | if ac_fn_c_try_link "$LINENO"; then : | ||
| 1790 | eval "$3=yes" | ||
| 1791 | else | ||
| 1792 | eval "$3=no" | ||
| 1793 | fi | ||
| 1794 | rm -f core conftest.err conftest.$ac_objext \ | ||
| 1795 | conftest$ac_exeext conftest.$ac_ext | ||
| 1796 | fi | ||
| 1797 | eval ac_res=\$$3 | ||
| 1798 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1799 | $as_echo "$ac_res" >&6; } | ||
| 1800 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1801 | |||
| 1802 | } # ac_fn_c_check_func | ||
| 1803 | cat >config.log <<_ACEOF | ||
| 1804 | This file contains any messages produced by compilers while | ||
| 1805 | running configure, to aid debugging if configure makes a mistake. | ||
| 1806 | |||
| 1807 | It was created by life $as_me 1.0.0, which was | ||
| 1808 | generated by GNU Autoconf 2.69. Invocation command line was | ||
| 1809 | |||
| 1810 | $ $0 $@ | ||
| 1811 | |||
| 1812 | _ACEOF | ||
| 1813 | exec 5>>config.log | ||
| 1814 | { | ||
| 1815 | cat <<_ASUNAME | ||
| 1816 | ## --------- ## | ||
| 1817 | ## Platform. ## | ||
| 1818 | ## --------- ## | ||
| 1819 | |||
| 1820 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
| 1821 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
| 1822 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
| 1823 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
| 1824 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | ||
| 1825 | |||
| 1826 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | ||
| 1827 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | ||
| 1828 | |||
| 1829 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | ||
| 1830 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | ||
| 1831 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | ||
| 1832 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | ||
| 1833 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | ||
| 1834 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | ||
| 1835 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | ||
| 1836 | |||
| 1837 | _ASUNAME | ||
| 1838 | |||
| 1839 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 1840 | for as_dir in $PATH | ||
| 1841 | do | ||
| 1842 | IFS=$as_save_IFS | ||
| 1843 | test -z "$as_dir" && as_dir=. | ||
| 1844 | $as_echo "PATH: $as_dir" | ||
| 1845 | done | ||
| 1846 | IFS=$as_save_IFS | ||
| 1847 | |||
| 1848 | } >&5 | ||
| 1849 | |||
| 1850 | cat >&5 <<_ACEOF | ||
| 1851 | |||
| 1852 | |||
| 1853 | ## ----------- ## | ||
| 1854 | ## Core tests. ## | ||
| 1855 | ## ----------- ## | ||
| 1856 | |||
| 1857 | _ACEOF | ||
| 1858 | |||
| 1859 | |||
| 1860 | # Keep a trace of the command line. | ||
| 1861 | # Strip out --no-create and --no-recursion so they do not pile up. | ||
| 1862 | # Strip out --silent because we don't want to record it for future runs. | ||
| 1863 | # Also quote any args containing shell meta-characters. | ||
| 1864 | # Make two passes to allow for proper duplicate-argument suppression. | ||
| 1865 | ac_configure_args= | ||
| 1866 | ac_configure_args0= | ||
| 1867 | ac_configure_args1= | ||
| 1868 | ac_must_keep_next=false | ||
| 1869 | for ac_pass in 1 2 | ||
| 1870 | do | ||
| 1871 | for ac_arg | ||
| 1872 | do | ||
| 1873 | case $ac_arg in | ||
| 1874 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | ||
| 1875 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
| 1876 | | -silent | --silent | --silen | --sile | --sil) | ||
| 1877 | continue ;; | ||
| 1878 | *\'*) | ||
| 1879 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
| 1880 | esac | ||
| 1881 | case $ac_pass in | ||
| 1882 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | ||
| 1883 | 2) | ||
| 1884 | as_fn_append ac_configure_args1 " '$ac_arg'" | ||
| 1885 | if test $ac_must_keep_next = true; then | ||
| 1886 | ac_must_keep_next=false # Got value, back to normal. | ||
| 1887 | else | ||
| 1888 | case $ac_arg in | ||
| 1889 | *=* | --config-cache | -C | -disable-* | --disable-* \ | ||
| 1890 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | ||
| 1891 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | ||
| 1892 | | -with-* | --with-* | -without-* | --without-* | --x) | ||
| 1893 | case "$ac_configure_args0 " in | ||
| 1894 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | ||
| 1895 | esac | ||
| 1896 | ;; | ||
| 1897 | -* ) ac_must_keep_next=true ;; | ||
| 1898 | esac | ||
| 1899 | fi | ||
| 1900 | as_fn_append ac_configure_args " '$ac_arg'" | ||
| 1901 | ;; | ||
| 1902 | esac | ||
| 1903 | done | ||
| 1904 | done | ||
| 1905 | { ac_configure_args0=; unset ac_configure_args0;} | ||
| 1906 | { ac_configure_args1=; unset ac_configure_args1;} | ||
| 1907 | |||
| 1908 | # When interrupted or exit'd, cleanup temporary files, and complete | ||
| 1909 | # config.log. We remove comments because anyway the quotes in there | ||
| 1910 | # would cause problems or look ugly. | ||
| 1911 | # WARNING: Use '\'' to represent an apostrophe within the trap. | ||
| 1912 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | ||
| 1913 | trap 'exit_status=$? | ||
| 1914 | # Save into config.log some information that might help in debugging. | ||
| 1915 | { | ||
| 1916 | echo | ||
| 1917 | |||
| 1918 | $as_echo "## ---------------- ## | ||
| 1919 | ## Cache variables. ## | ||
| 1920 | ## ---------------- ##" | ||
| 1921 | echo | ||
| 1922 | # The following way of writing the cache mishandles newlines in values, | ||
| 1923 | ( | ||
| 1924 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | ||
| 1925 | eval ac_val=\$$ac_var | ||
| 1926 | case $ac_val in #( | ||
| 1927 | *${as_nl}*) | ||
| 1928 | case $ac_var in #( | ||
| 1929 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | ||
| 1930 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | ||
| 1931 | esac | ||
| 1932 | case $ac_var in #( | ||
| 1933 | _ | IFS | as_nl) ;; #( | ||
| 1934 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | ||
| 1935 | *) { eval $ac_var=; unset $ac_var;} ;; | ||
| 1936 | esac ;; | ||
| 1937 | esac | ||
| 1938 | done | ||
| 1939 | (set) 2>&1 | | ||
| 1940 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | ||
| 1941 | *${as_nl}ac_space=\ *) | ||
| 1942 | sed -n \ | ||
| 1943 | "s/'\''/'\''\\\\'\'''\''/g; | ||
| 1944 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | ||
| 1945 | ;; #( | ||
| 1946 | *) | ||
| 1947 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | ||
| 1948 | ;; | ||
| 1949 | esac | | ||
| 1950 | sort | ||
| 1951 | ) | ||
| 1952 | echo | ||
| 1953 | |||
| 1954 | $as_echo "## ----------------- ## | ||
| 1955 | ## Output variables. ## | ||
| 1956 | ## ----------------- ##" | ||
| 1957 | echo | ||
| 1958 | for ac_var in $ac_subst_vars | ||
| 1959 | do | ||
| 1960 | eval ac_val=\$$ac_var | ||
| 1961 | case $ac_val in | ||
| 1962 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
| 1963 | esac | ||
| 1964 | $as_echo "$ac_var='\''$ac_val'\''" | ||
| 1965 | done | sort | ||
| 1966 | echo | ||
| 1967 | |||
| 1968 | if test -n "$ac_subst_files"; then | ||
| 1969 | $as_echo "## ------------------- ## | ||
| 1970 | ## File substitutions. ## | ||
| 1971 | ## ------------------- ##" | ||
| 1972 | echo | ||
| 1973 | for ac_var in $ac_subst_files | ||
| 1974 | do | ||
| 1975 | eval ac_val=\$$ac_var | ||
| 1976 | case $ac_val in | ||
| 1977 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
| 1978 | esac | ||
| 1979 | $as_echo "$ac_var='\''$ac_val'\''" | ||
| 1980 | done | sort | ||
| 1981 | echo | ||
| 1982 | fi | ||
| 1983 | |||
| 1984 | if test -s confdefs.h; then | ||
| 1985 | $as_echo "## ----------- ## | ||
| 1986 | ## confdefs.h. ## | ||
| 1987 | ## ----------- ##" | ||
| 1988 | echo | ||
| 1989 | cat confdefs.h | ||
| 1990 | echo | ||
| 1991 | fi | ||
| 1992 | test "$ac_signal" != 0 && | ||
| 1993 | $as_echo "$as_me: caught signal $ac_signal" | ||
| 1994 | $as_echo "$as_me: exit $exit_status" | ||
| 1995 | } >&5 | ||
| 1996 | rm -f core *.core core.conftest.* && | ||
| 1997 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | ||
| 1998 | exit $exit_status | ||
| 1999 | ' 0 | ||
| 2000 | for ac_signal in 1 2 13 15; do | ||
| 2001 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | ||
| 2002 | done | ||
| 2003 | ac_signal=0 | ||
| 2004 | |||
| 2005 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | ||
| 2006 | rm -f -r conftest* confdefs.h | ||
| 2007 | |||
| 2008 | $as_echo "/* confdefs.h */" > confdefs.h | ||
| 2009 | |||
| 2010 | # Predefined preprocessor variables. | ||
| 2011 | |||
| 2012 | cat >>confdefs.h <<_ACEOF | ||
| 2013 | #define PACKAGE_NAME "$PACKAGE_NAME" | ||
| 2014 | _ACEOF | ||
| 2015 | |||
| 2016 | cat >>confdefs.h <<_ACEOF | ||
| 2017 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | ||
| 2018 | _ACEOF | ||
| 2019 | |||
| 2020 | cat >>confdefs.h <<_ACEOF | ||
| 2021 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | ||
| 2022 | _ACEOF | ||
| 2023 | |||
| 2024 | cat >>confdefs.h <<_ACEOF | ||
| 2025 | #define PACKAGE_STRING "$PACKAGE_STRING" | ||
| 2026 | _ACEOF | ||
| 2027 | |||
| 2028 | cat >>confdefs.h <<_ACEOF | ||
| 2029 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
| 2030 | _ACEOF | ||
| 2031 | |||
| 2032 | cat >>confdefs.h <<_ACEOF | ||
| 2033 | #define PACKAGE_URL "$PACKAGE_URL" | ||
| 2034 | _ACEOF | ||
| 2035 | |||
| 2036 | |||
| 2037 | # Let the site file select an alternate cache file if it wants to. | ||
| 2038 | # Prefer an explicitly selected file to automatically selected ones. | ||
| 2039 | ac_site_file1=NONE | ||
| 2040 | ac_site_file2=NONE | ||
| 2041 | if test -n "$CONFIG_SITE"; then | ||
| 2042 | # We do not want a PATH search for config.site. | ||
| 2043 | case $CONFIG_SITE in #(( | ||
| 2044 | -*) ac_site_file1=./$CONFIG_SITE;; | ||
| 2045 | */*) ac_site_file1=$CONFIG_SITE;; | ||
| 2046 | *) ac_site_file1=./$CONFIG_SITE;; | ||
| 2047 | esac | ||
| 2048 | elif test "x$prefix" != xNONE; then | ||
| 2049 | ac_site_file1=$prefix/share/config.site | ||
| 2050 | ac_site_file2=$prefix/etc/config.site | ||
| 2051 | else | ||
| 2052 | ac_site_file1=$ac_default_prefix/share/config.site | ||
| 2053 | ac_site_file2=$ac_default_prefix/etc/config.site | ||
| 2054 | fi | ||
| 2055 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | ||
| 2056 | do | ||
| 2057 | test "x$ac_site_file" = xNONE && continue | ||
| 2058 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | ||
| 2059 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | ||
| 2060 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | ||
| 2061 | sed 's/^/| /' "$ac_site_file" >&5 | ||
| 2062 | . "$ac_site_file" \ | ||
| 2063 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 2064 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2065 | as_fn_error $? "failed to load site script $ac_site_file | ||
| 2066 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 2067 | fi | ||
| 2068 | done | ||
| 2069 | |||
| 2070 | if test -r "$cache_file"; then | ||
| 2071 | # Some versions of bash will fail to source /dev/null (special files | ||
| 2072 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. | ||
| 2073 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then | ||
| 2074 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | ||
| 2075 | $as_echo "$as_me: loading cache $cache_file" >&6;} | ||
| 2076 | case $cache_file in | ||
| 2077 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | ||
| 2078 | *) . "./$cache_file";; | ||
| 2079 | esac | ||
| 2080 | fi | ||
| 2081 | else | ||
| 2082 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | ||
| 2083 | $as_echo "$as_me: creating cache $cache_file" >&6;} | ||
| 2084 | >$cache_file | ||
| 2085 | fi | ||
| 2086 | |||
| 2087 | # Check that the precious variables saved in the cache have kept the same | ||
| 2088 | # value. | ||
| 2089 | ac_cache_corrupted=false | ||
| 2090 | for ac_var in $ac_precious_vars; do | ||
| 2091 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | ||
| 2092 | eval ac_new_set=\$ac_env_${ac_var}_set | ||
| 2093 | eval ac_old_val=\$ac_cv_env_${ac_var}_value | ||
| 2094 | eval ac_new_val=\$ac_env_${ac_var}_value | ||
| 2095 | case $ac_old_set,$ac_new_set in | ||
| 2096 | set,) | ||
| 2097 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | ||
| 2098 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | ||
| 2099 | ac_cache_corrupted=: ;; | ||
| 2100 | ,set) | ||
| 2101 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | ||
| 2102 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | ||
| 2103 | ac_cache_corrupted=: ;; | ||
| 2104 | ,);; | ||
| 2105 | *) | ||
| 2106 | if test "x$ac_old_val" != "x$ac_new_val"; then | ||
| 2107 | # differences in whitespace do not lead to failure. | ||
| 2108 | ac_old_val_w=`echo x $ac_old_val` | ||
| 2109 | ac_new_val_w=`echo x $ac_new_val` | ||
| 2110 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | ||
| 2111 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | ||
| 2112 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | ||
| 2113 | ac_cache_corrupted=: | ||
| 2114 | else | ||
| 2115 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | ||
| 2116 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | ||
| 2117 | eval $ac_var=\$ac_old_val | ||
| 2118 | fi | ||
| 2119 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | ||
| 2120 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | ||
| 2121 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | ||
| 2122 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | ||
| 2123 | fi;; | ||
| 2124 | esac | ||
| 2125 | # Pass precious variables to config.status. | ||
| 2126 | if test "$ac_new_set" = set; then | ||
| 2127 | case $ac_new_val in | ||
| 2128 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
| 2129 | *) ac_arg=$ac_var=$ac_new_val ;; | ||
| 2130 | esac | ||
| 2131 | case " $ac_configure_args " in | ||
| 2132 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | ||
| 2133 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; | ||
| 2134 | esac | ||
| 2135 | fi | ||
| 2136 | done | ||
| 2137 | if $ac_cache_corrupted; then | ||
| 2138 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 2139 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2140 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | ||
| 2141 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | ||
| 2142 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | ||
| 2143 | fi | ||
| 2144 | ## -------------------- ## | ||
| 2145 | ## Main body of script. ## | ||
| 2146 | ## -------------------- ## | ||
| 2147 | |||
| 2148 | ac_ext=c | ||
| 2149 | ac_cpp='$CPP $CPPFLAGS' | ||
| 2150 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 2151 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 2152 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 2153 | |||
| 2154 | |||
| 2155 | |||
| 2156 | ac_config_headers="$ac_config_headers config.h" | ||
| 2157 | |||
| 2158 | |||
| 2159 | # Checks for programs. | ||
| 2160 | ac_ext=c | ||
| 2161 | ac_cpp='$CPP $CPPFLAGS' | ||
| 2162 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 2163 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 2164 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 2165 | if test -n "$ac_tool_prefix"; then | ||
| 2166 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | ||
| 2167 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | ||
| 2168 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 2169 | $as_echo_n "checking for $ac_word... " >&6; } | ||
| 2170 | if ${ac_cv_prog_CC+:} false; then : | ||
| 2171 | $as_echo_n "(cached) " >&6 | ||
| 2172 | else | ||
| 2173 | if test -n "$CC"; then | ||
| 2174 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 2175 | else | ||
| 2176 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2177 | for as_dir in $PATH | ||
| 2178 | do | ||
| 2179 | IFS=$as_save_IFS | ||
| 2180 | test -z "$as_dir" && as_dir=. | ||
| 2181 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2182 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 2183 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | ||
| 2184 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2185 | break 2 | ||
| 2186 | fi | ||
| 2187 | done | ||
| 2188 | done | ||
| 2189 | IFS=$as_save_IFS | ||
| 2190 | |||
| 2191 | fi | ||
| 2192 | fi | ||
| 2193 | CC=$ac_cv_prog_CC | ||
| 2194 | if test -n "$CC"; then | ||
| 2195 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
| 2196 | $as_echo "$CC" >&6; } | ||
| 2197 | else | ||
| 2198 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 2199 | $as_echo "no" >&6; } | ||
| 2200 | fi | ||
| 2201 | |||
| 2202 | |||
| 2203 | fi | ||
| 2204 | if test -z "$ac_cv_prog_CC"; then | ||
| 2205 | ac_ct_CC=$CC | ||
| 2206 | # Extract the first word of "gcc", so it can be a program name with args. | ||
| 2207 | set dummy gcc; ac_word=$2 | ||
| 2208 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 2209 | $as_echo_n "checking for $ac_word... " >&6; } | ||
| 2210 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | ||
| 2211 | $as_echo_n "(cached) " >&6 | ||
| 2212 | else | ||
| 2213 | if test -n "$ac_ct_CC"; then | ||
| 2214 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
| 2215 | else | ||
| 2216 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2217 | for as_dir in $PATH | ||
| 2218 | do | ||
| 2219 | IFS=$as_save_IFS | ||
| 2220 | test -z "$as_dir" && as_dir=. | ||
| 2221 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2222 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 2223 | ac_cv_prog_ac_ct_CC="gcc" | ||
| 2224 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2225 | break 2 | ||
| 2226 | fi | ||
| 2227 | done | ||
| 2228 | done | ||
| 2229 | IFS=$as_save_IFS | ||
| 2230 | |||
| 2231 | fi | ||
| 2232 | fi | ||
| 2233 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
| 2234 | if test -n "$ac_ct_CC"; then | ||
| 2235 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | ||
| 2236 | $as_echo "$ac_ct_CC" >&6; } | ||
| 2237 | else | ||
| 2238 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 2239 | $as_echo "no" >&6; } | ||
| 2240 | fi | ||
| 2241 | |||
| 2242 | if test "x$ac_ct_CC" = x; then | ||
| 2243 | CC="" | ||
| 2244 | else | ||
| 2245 | case $cross_compiling:$ac_tool_warned in | ||
| 2246 | yes:) | ||
| 2247 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
| 2248 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
| 2249 | ac_tool_warned=yes ;; | ||
| 2250 | esac | ||
| 2251 | CC=$ac_ct_CC | ||
| 2252 | fi | ||
| 2253 | else | ||
| 2254 | CC="$ac_cv_prog_CC" | ||
| 2255 | fi | ||
| 2256 | |||
| 2257 | if test -z "$CC"; then | ||
| 2258 | if test -n "$ac_tool_prefix"; then | ||
| 2259 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | ||
| 2260 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | ||
| 2261 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 2262 | $as_echo_n "checking for $ac_word... " >&6; } | ||
| 2263 | if ${ac_cv_prog_CC+:} false; then : | ||
| 2264 | $as_echo_n "(cached) " >&6 | ||
| 2265 | else | ||
| 2266 | if test -n "$CC"; then | ||
| 2267 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 2268 | else | ||
| 2269 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2270 | for as_dir in $PATH | ||
| 2271 | do | ||
| 2272 | IFS=$as_save_IFS | ||
| 2273 | test -z "$as_dir" && as_dir=. | ||
| 2274 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2275 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 2276 | ac_cv_prog_CC="${ac_tool_prefix}cc" | ||
| 2277 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2278 | break 2 | ||
| 2279 | fi | ||
| 2280 | done | ||
| 2281 | done | ||
| 2282 | IFS=$as_save_IFS | ||
| 2283 | |||
| 2284 | fi | ||
| 2285 | fi | ||
| 2286 | CC=$ac_cv_prog_CC | ||
| 2287 | if test -n "$CC"; then | ||
| 2288 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
| 2289 | $as_echo "$CC" >&6; } | ||
| 2290 | else | ||
| 2291 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 2292 | $as_echo "no" >&6; } | ||
| 2293 | fi | ||
| 2294 | |||
| 2295 | |||
| 2296 | fi | ||
| 2297 | fi | ||
| 2298 | if test -z "$CC"; then | ||
| 2299 | # Extract the first word of "cc", so it can be a program name with args. | ||
| 2300 | set dummy cc; ac_word=$2 | ||
| 2301 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 2302 | $as_echo_n "checking for $ac_word... " >&6; } | ||
| 2303 | if ${ac_cv_prog_CC+:} false; then : | ||
| 2304 | $as_echo_n "(cached) " >&6 | ||
| 2305 | else | ||
| 2306 | if test -n "$CC"; then | ||
| 2307 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 2308 | else | ||
| 2309 | ac_prog_rejected=no | ||
| 2310 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2311 | for as_dir in $PATH | ||
| 2312 | do | ||
| 2313 | IFS=$as_save_IFS | ||
| 2314 | test -z "$as_dir" && as_dir=. | ||
| 2315 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2316 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 2317 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | ||
| 2318 | ac_prog_rejected=yes | ||
| 2319 | continue | ||
| 2320 | fi | ||
| 2321 | ac_cv_prog_CC="cc" | ||
| 2322 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2323 | break 2 | ||
| 2324 | fi | ||
| 2325 | done | ||
| 2326 | done | ||
| 2327 | IFS=$as_save_IFS | ||
| 2328 | |||
| 2329 | if test $ac_prog_rejected = yes; then | ||
| 2330 | # We found a bogon in the path, so make sure we never use it. | ||
| 2331 | set dummy $ac_cv_prog_CC | ||
| 2332 | shift | ||
| 2333 | if test $# != 0; then | ||
| 2334 | # We chose a different compiler from the bogus one. | ||
| 2335 | # However, it has the same basename, so the bogon will be chosen | ||
| 2336 | # first if we set CC to just the basename; use the full file name. | ||
| 2337 | shift | ||
| 2338 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | ||
| 2339 | fi | ||
| 2340 | fi | ||
| 2341 | fi | ||
| 2342 | fi | ||
| 2343 | CC=$ac_cv_prog_CC | ||
| 2344 | if test -n "$CC"; then | ||
| 2345 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
| 2346 | $as_echo "$CC" >&6; } | ||
| 2347 | else | ||
| 2348 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 2349 | $as_echo "no" >&6; } | ||
| 2350 | fi | ||
| 2351 | |||
| 2352 | |||
| 2353 | fi | ||
| 2354 | if test -z "$CC"; then | ||
| 2355 | if test -n "$ac_tool_prefix"; then | ||
| 2356 | for ac_prog in cl.exe | ||
| 2357 | do | ||
| 2358 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | ||
| 2359 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | ||
| 2360 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 2361 | $as_echo_n "checking for $ac_word... " >&6; } | ||
| 2362 | if ${ac_cv_prog_CC+:} false; then : | ||
| 2363 | $as_echo_n "(cached) " >&6 | ||
| 2364 | else | ||
| 2365 | if test -n "$CC"; then | ||
| 2366 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 2367 | else | ||
| 2368 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2369 | for as_dir in $PATH | ||
| 2370 | do | ||
| 2371 | IFS=$as_save_IFS | ||
| 2372 | test -z "$as_dir" && as_dir=. | ||
| 2373 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2374 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 2375 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | ||
| 2376 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2377 | break 2 | ||
| 2378 | fi | ||
| 2379 | done | ||
| 2380 | done | ||
| 2381 | IFS=$as_save_IFS | ||
| 2382 | |||
| 2383 | fi | ||
| 2384 | fi | ||
| 2385 | CC=$ac_cv_prog_CC | ||
| 2386 | if test -n "$CC"; then | ||
| 2387 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
| 2388 | $as_echo "$CC" >&6; } | ||
| 2389 | else | ||
| 2390 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 2391 | $as_echo "no" >&6; } | ||
| 2392 | fi | ||
| 2393 | |||
| 2394 | |||
| 2395 | test -n "$CC" && break | ||
| 2396 | done | ||
| 2397 | fi | ||
| 2398 | if test -z "$CC"; then | ||
| 2399 | ac_ct_CC=$CC | ||
| 2400 | for ac_prog in cl.exe | ||
| 2401 | do | ||
| 2402 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
| 2403 | set dummy $ac_prog; ac_word=$2 | ||
| 2404 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 2405 | $as_echo_n "checking for $ac_word... " >&6; } | ||
| 2406 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | ||
| 2407 | $as_echo_n "(cached) " >&6 | ||
| 2408 | else | ||
| 2409 | if test -n "$ac_ct_CC"; then | ||
| 2410 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
| 2411 | else | ||
| 2412 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2413 | for as_dir in $PATH | ||
| 2414 | do | ||
| 2415 | IFS=$as_save_IFS | ||
| 2416 | test -z "$as_dir" && as_dir=. | ||
| 2417 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2418 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 2419 | ac_cv_prog_ac_ct_CC="$ac_prog" | ||
| 2420 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2421 | break 2 | ||
| 2422 | fi | ||
| 2423 | done | ||
| 2424 | done | ||
| 2425 | IFS=$as_save_IFS | ||
| 2426 | |||
| 2427 | fi | ||
| 2428 | fi | ||
| 2429 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
| 2430 | if test -n "$ac_ct_CC"; then | ||
| 2431 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | ||
| 2432 | $as_echo "$ac_ct_CC" >&6; } | ||
| 2433 | else | ||
| 2434 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 2435 | $as_echo "no" >&6; } | ||
| 2436 | fi | ||
| 2437 | |||
| 2438 | |||
| 2439 | test -n "$ac_ct_CC" && break | ||
| 2440 | done | ||
| 2441 | |||
| 2442 | if test "x$ac_ct_CC" = x; then | ||
| 2443 | CC="" | ||
| 2444 | else | ||
| 2445 | case $cross_compiling:$ac_tool_warned in | ||
| 2446 | yes:) | ||
| 2447 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
| 2448 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
| 2449 | ac_tool_warned=yes ;; | ||
| 2450 | esac | ||
| 2451 | CC=$ac_ct_CC | ||
| 2452 | fi | ||
| 2453 | fi | ||
| 2454 | |||
| 2455 | fi | ||
| 2456 | |||
| 2457 | |||
| 2458 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 2459 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2460 | as_fn_error $? "no acceptable C compiler found in \$PATH | ||
| 2461 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 2462 | |||
| 2463 | # Provide some information about the compiler. | ||
| 2464 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | ||
| 2465 | set X $ac_compile | ||
| 2466 | ac_compiler=$2 | ||
| 2467 | for ac_option in --version -v -V -qversion; do | ||
| 2468 | { { ac_try="$ac_compiler $ac_option >&5" | ||
| 2469 | case "(($ac_try" in | ||
| 2470 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 2471 | *) ac_try_echo=$ac_try;; | ||
| 2472 | esac | ||
| 2473 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 2474 | $as_echo "$ac_try_echo"; } >&5 | ||
| 2475 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | ||
| 2476 | ac_status=$? | ||
| 2477 | if test -s conftest.err; then | ||
| 2478 | sed '10a\ | ||
| 2479 | ... rest of stderr output deleted ... | ||
| 2480 | 10q' conftest.err >conftest.er1 | ||
| 2481 | cat conftest.er1 >&5 | ||
| 2482 | fi | ||
| 2483 | rm -f conftest.er1 conftest.err | ||
| 2484 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 2485 | test $ac_status = 0; } | ||
| 2486 | done | ||
| 2487 | |||
| 2488 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2489 | /* end confdefs.h. */ | ||
| 2490 | |||
| 2491 | int | ||
| 2492 | main () | ||
| 2493 | { | ||
| 2494 | |||
| 2495 | ; | ||
| 2496 | return 0; | ||
| 2497 | } | ||
| 2498 | _ACEOF | ||
| 2499 | ac_clean_files_save=$ac_clean_files | ||
| 2500 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | ||
| 2501 | # Try to create an executable without -o first, disregard a.out. | ||
| 2502 | # It will help us diagnose broken compilers, and finding out an intuition | ||
| 2503 | # of exeext. | ||
| 2504 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | ||
| 2505 | $as_echo_n "checking whether the C compiler works... " >&6; } | ||
| 2506 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ||
| 2507 | |||
| 2508 | # The possible output files: | ||
| 2509 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | ||
| 2510 | |||
| 2511 | ac_rmfiles= | ||
| 2512 | for ac_file in $ac_files | ||
| 2513 | do | ||
| 2514 | case $ac_file in | ||
| 2515 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | ||
| 2516 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | ||
| 2517 | esac | ||
| 2518 | done | ||
| 2519 | rm -f $ac_rmfiles | ||
| 2520 | |||
| 2521 | if { { ac_try="$ac_link_default" | ||
| 2522 | case "(($ac_try" in | ||
| 2523 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 2524 | *) ac_try_echo=$ac_try;; | ||
| 2525 | esac | ||
| 2526 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 2527 | $as_echo "$ac_try_echo"; } >&5 | ||
| 2528 | (eval "$ac_link_default") 2>&5 | ||
| 2529 | ac_status=$? | ||
| 2530 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 2531 | test $ac_status = 0; }; then : | ||
| 2532 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | ||
| 2533 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | ||
| 2534 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | ||
| 2535 | # so that the user can short-circuit this test for compilers unknown to | ||
| 2536 | # Autoconf. | ||
| 2537 | for ac_file in $ac_files '' | ||
| 2538 | do | ||
| 2539 | test -f "$ac_file" || continue | ||
| 2540 | case $ac_file in | ||
| 2541 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | ||
| 2542 | ;; | ||
| 2543 | [ab].out ) | ||
| 2544 | # We found the default executable, but exeext='' is most | ||
| 2545 | # certainly right. | ||
| 2546 | break;; | ||
| 2547 | *.* ) | ||
| 2548 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | ||
| 2549 | then :; else | ||
| 2550 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
| 2551 | fi | ||
| 2552 | # We set ac_cv_exeext here because the later test for it is not | ||
| 2553 | # safe: cross compilers may not add the suffix if given an `-o' | ||
| 2554 | # argument, so we may need to know it at that point already. | ||
| 2555 | # Even if this section looks crufty: it has the advantage of | ||
| 2556 | # actually working. | ||
| 2557 | break;; | ||
| 2558 | * ) | ||
| 2559 | break;; | ||
| 2560 | esac | ||
| 2561 | done | ||
| 2562 | test "$ac_cv_exeext" = no && ac_cv_exeext= | ||
| 2563 | |||
| 2564 | else | ||
| 2565 | ac_file='' | ||
| 2566 | fi | ||
| 2567 | if test -z "$ac_file"; then : | ||
| 2568 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 2569 | $as_echo "no" >&6; } | ||
| 2570 | $as_echo "$as_me: failed program was:" >&5 | ||
| 2571 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 2572 | |||
| 2573 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 2574 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2575 | as_fn_error 77 "C compiler cannot create executables | ||
| 2576 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 2577 | else | ||
| 2578 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
| 2579 | $as_echo "yes" >&6; } | ||
| 2580 | fi | ||
| 2581 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | ||
| 2582 | $as_echo_n "checking for C compiler default output file name... " >&6; } | ||
| 2583 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | ||
| 2584 | $as_echo "$ac_file" >&6; } | ||
| 2585 | ac_exeext=$ac_cv_exeext | ||
| 2586 | |||
| 2587 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | ||
| 2588 | ac_clean_files=$ac_clean_files_save | ||
| 2589 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | ||
| 2590 | $as_echo_n "checking for suffix of executables... " >&6; } | ||
| 2591 | if { { ac_try="$ac_link" | ||
| 2592 | case "(($ac_try" in | ||
| 2593 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 2594 | *) ac_try_echo=$ac_try;; | ||
| 2595 | esac | ||
| 2596 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 2597 | $as_echo "$ac_try_echo"; } >&5 | ||
| 2598 | (eval "$ac_link") 2>&5 | ||
| 2599 | ac_status=$? | ||
| 2600 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 2601 | test $ac_status = 0; }; then : | ||
| 2602 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | ||
| 2603 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | ||
| 2604 | # work properly (i.e., refer to `conftest.exe'), while it won't with | ||
| 2605 | # `rm'. | ||
| 2606 | for ac_file in conftest.exe conftest conftest.*; do | ||
| 2607 | test -f "$ac_file" || continue | ||
| 2608 | case $ac_file in | ||
| 2609 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | ||
| 2610 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
| 2611 | break;; | ||
| 2612 | * ) break;; | ||
| 2613 | esac | ||
| 2614 | done | ||
| 2615 | else | ||
| 2616 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 2617 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2618 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link | ||
| 2619 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 2620 | fi | ||
| 2621 | rm -f conftest conftest$ac_cv_exeext | ||
| 2622 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | ||
| 2623 | $as_echo "$ac_cv_exeext" >&6; } | ||
| 2624 | |||
| 2625 | rm -f conftest.$ac_ext | ||
| 2626 | EXEEXT=$ac_cv_exeext | ||
| 2627 | ac_exeext=$EXEEXT | ||
| 2628 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2629 | /* end confdefs.h. */ | ||
| 2630 | #include <stdio.h> | ||
| 2631 | int | ||
| 2632 | main () | ||
| 2633 | { | ||
| 2634 | FILE *f = fopen ("conftest.out", "w"); | ||
| 2635 | return ferror (f) || fclose (f) != 0; | ||
| 2636 | |||
| 2637 | ; | ||
| 2638 | return 0; | ||
| 2639 | } | ||
| 2640 | _ACEOF | ||
| 2641 | ac_clean_files="$ac_clean_files conftest.out" | ||
| 2642 | # Check that the compiler produces executables we can run. If not, either | ||
| 2643 | # the compiler is broken, or we cross compile. | ||
| 2644 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | ||
| 2645 | $as_echo_n "checking whether we are cross compiling... " >&6; } | ||
| 2646 | if test "$cross_compiling" != yes; then | ||
| 2647 | { { ac_try="$ac_link" | ||
| 2648 | case "(($ac_try" in | ||
| 2649 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 2650 | *) ac_try_echo=$ac_try;; | ||
| 2651 | esac | ||
| 2652 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 2653 | $as_echo "$ac_try_echo"; } >&5 | ||
| 2654 | (eval "$ac_link") 2>&5 | ||
| 2655 | ac_status=$? | ||
| 2656 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 2657 | test $ac_status = 0; } | ||
| 2658 | if { ac_try='./conftest$ac_cv_exeext' | ||
| 2659 | { { case "(($ac_try" in | ||
| 2660 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 2661 | *) ac_try_echo=$ac_try;; | ||
| 2662 | esac | ||
| 2663 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 2664 | $as_echo "$ac_try_echo"; } >&5 | ||
| 2665 | (eval "$ac_try") 2>&5 | ||
| 2666 | ac_status=$? | ||
| 2667 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 2668 | test $ac_status = 0; }; }; then | ||
| 2669 | cross_compiling=no | ||
| 2670 | else | ||
| 2671 | if test "$cross_compiling" = maybe; then | ||
| 2672 | cross_compiling=yes | ||
| 2673 | else | ||
| 2674 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 2675 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2676 | as_fn_error $? "cannot run C compiled programs. | ||
| 2677 | If you meant to cross compile, use \`--host'. | ||
| 2678 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 2679 | fi | ||
| 2680 | fi | ||
| 2681 | fi | ||
| 2682 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | ||
| 2683 | $as_echo "$cross_compiling" >&6; } | ||
| 2684 | |||
| 2685 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | ||
| 2686 | ac_clean_files=$ac_clean_files_save | ||
| 2687 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | ||
| 2688 | $as_echo_n "checking for suffix of object files... " >&6; } | ||
| 2689 | if ${ac_cv_objext+:} false; then : | ||
| 2690 | $as_echo_n "(cached) " >&6 | ||
| 2691 | else | ||
| 2692 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2693 | /* end confdefs.h. */ | ||
| 2694 | |||
| 2695 | int | ||
| 2696 | main () | ||
| 2697 | { | ||
| 2698 | |||
| 2699 | ; | ||
| 2700 | return 0; | ||
| 2701 | } | ||
| 2702 | _ACEOF | ||
| 2703 | rm -f conftest.o conftest.obj | ||
| 2704 | if { { ac_try="$ac_compile" | ||
| 2705 | case "(($ac_try" in | ||
| 2706 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 2707 | *) ac_try_echo=$ac_try;; | ||
| 2708 | esac | ||
| 2709 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 2710 | $as_echo "$ac_try_echo"; } >&5 | ||
| 2711 | (eval "$ac_compile") 2>&5 | ||
| 2712 | ac_status=$? | ||
| 2713 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 2714 | test $ac_status = 0; }; then : | ||
| 2715 | for ac_file in conftest.o conftest.obj conftest.*; do | ||
| 2716 | test -f "$ac_file" || continue; | ||
| 2717 | case $ac_file in | ||
| 2718 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | ||
| 2719 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | ||
| 2720 | break;; | ||
| 2721 | esac | ||
| 2722 | done | ||
| 2723 | else | ||
| 2724 | $as_echo "$as_me: failed program was:" >&5 | ||
| 2725 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 2726 | |||
| 2727 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 2728 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2729 | as_fn_error $? "cannot compute suffix of object files: cannot compile | ||
| 2730 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 2731 | fi | ||
| 2732 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | ||
| 2733 | fi | ||
| 2734 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | ||
| 2735 | $as_echo "$ac_cv_objext" >&6; } | ||
| 2736 | OBJEXT=$ac_cv_objext | ||
| 2737 | ac_objext=$OBJEXT | ||
| 2738 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | ||
| 2739 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | ||
| 2740 | if ${ac_cv_c_compiler_gnu+:} false; then : | ||
| 2741 | $as_echo_n "(cached) " >&6 | ||
| 2742 | else | ||
| 2743 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2744 | /* end confdefs.h. */ | ||
| 2745 | |||
| 2746 | int | ||
| 2747 | main () | ||
| 2748 | { | ||
| 2749 | #ifndef __GNUC__ | ||
| 2750 | choke me | ||
| 2751 | #endif | ||
| 2752 | |||
| 2753 | ; | ||
| 2754 | return 0; | ||
| 2755 | } | ||
| 2756 | _ACEOF | ||
| 2757 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2758 | ac_compiler_gnu=yes | ||
| 2759 | else | ||
| 2760 | ac_compiler_gnu=no | ||
| 2761 | fi | ||
| 2762 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2763 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | ||
| 2764 | |||
| 2765 | fi | ||
| 2766 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | ||
| 2767 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | ||
| 2768 | if test $ac_compiler_gnu = yes; then | ||
| 2769 | GCC=yes | ||
| 2770 | else | ||
| 2771 | GCC= | ||
| 2772 | fi | ||
| 2773 | ac_test_CFLAGS=${CFLAGS+set} | ||
| 2774 | ac_save_CFLAGS=$CFLAGS | ||
| 2775 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | ||
| 2776 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | ||
| 2777 | if ${ac_cv_prog_cc_g+:} false; then : | ||
| 2778 | $as_echo_n "(cached) " >&6 | ||
| 2779 | else | ||
| 2780 | ac_save_c_werror_flag=$ac_c_werror_flag | ||
| 2781 | ac_c_werror_flag=yes | ||
| 2782 | ac_cv_prog_cc_g=no | ||
| 2783 | CFLAGS="-g" | ||
| 2784 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2785 | /* end confdefs.h. */ | ||
| 2786 | |||
| 2787 | int | ||
| 2788 | main () | ||
| 2789 | { | ||
| 2790 | |||
| 2791 | ; | ||
| 2792 | return 0; | ||
| 2793 | } | ||
| 2794 | _ACEOF | ||
| 2795 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2796 | ac_cv_prog_cc_g=yes | ||
| 2797 | else | ||
| 2798 | CFLAGS="" | ||
| 2799 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2800 | /* end confdefs.h. */ | ||
| 2801 | |||
| 2802 | int | ||
| 2803 | main () | ||
| 2804 | { | ||
| 2805 | |||
| 2806 | ; | ||
| 2807 | return 0; | ||
| 2808 | } | ||
| 2809 | _ACEOF | ||
| 2810 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2811 | |||
| 2812 | else | ||
| 2813 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
| 2814 | CFLAGS="-g" | ||
| 2815 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2816 | /* end confdefs.h. */ | ||
| 2817 | |||
| 2818 | int | ||
| 2819 | main () | ||
| 2820 | { | ||
| 2821 | |||
| 2822 | ; | ||
| 2823 | return 0; | ||
| 2824 | } | ||
| 2825 | _ACEOF | ||
| 2826 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2827 | ac_cv_prog_cc_g=yes | ||
| 2828 | fi | ||
| 2829 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2830 | fi | ||
| 2831 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2832 | fi | ||
| 2833 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2834 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
| 2835 | fi | ||
| 2836 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | ||
| 2837 | $as_echo "$ac_cv_prog_cc_g" >&6; } | ||
| 2838 | if test "$ac_test_CFLAGS" = set; then | ||
| 2839 | CFLAGS=$ac_save_CFLAGS | ||
| 2840 | elif test $ac_cv_prog_cc_g = yes; then | ||
| 2841 | if test "$GCC" = yes; then | ||
| 2842 | CFLAGS="-g -O2" | ||
| 2843 | else | ||
| 2844 | CFLAGS="-g" | ||
| 2845 | fi | ||
| 2846 | else | ||
| 2847 | if test "$GCC" = yes; then | ||
| 2848 | CFLAGS="-O2" | ||
| 2849 | else | ||
| 2850 | CFLAGS= | ||
| 2851 | fi | ||
| 2852 | fi | ||
| 2853 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | ||
| 2854 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | ||
| 2855 | if ${ac_cv_prog_cc_c89+:} false; then : | ||
| 2856 | $as_echo_n "(cached) " >&6 | ||
| 2857 | else | ||
| 2858 | ac_cv_prog_cc_c89=no | ||
| 2859 | ac_save_CC=$CC | ||
| 2860 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2861 | /* end confdefs.h. */ | ||
| 2862 | #include <stdarg.h> | ||
| 2863 | #include <stdio.h> | ||
| 2864 | struct stat; | ||
| 2865 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | ||
| 2866 | struct buf { int x; }; | ||
| 2867 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||
| 2868 | static char *e (p, i) | ||
| 2869 | char **p; | ||
| 2870 | int i; | ||
| 2871 | { | ||
| 2872 | return p[i]; | ||
| 2873 | } | ||
| 2874 | static char *f (char * (*g) (char **, int), char **p, ...) | ||
| 2875 | { | ||
| 2876 | char *s; | ||
| 2877 | va_list v; | ||
| 2878 | va_start (v,p); | ||
| 2879 | s = g (p, va_arg (v,int)); | ||
| 2880 | va_end (v); | ||
| 2881 | return s; | ||
| 2882 | } | ||
| 2883 | |||
| 2884 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | ||
| 2885 | function prototypes and stuff, but not '\xHH' hex character constants. | ||
| 2886 | These don't provoke an error unfortunately, instead are silently treated | ||
| 2887 | as 'x'. The following induces an error, until -std is added to get | ||
| 2888 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | ||
| 2889 | array size at least. It's necessary to write '\x00'==0 to get something | ||
| 2890 | that's true only with -std. */ | ||
| 2891 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | ||
| 2892 | |||
| 2893 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | ||
| 2894 | inside strings and character constants. */ | ||
| 2895 | #define FOO(x) 'x' | ||
| 2896 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | ||
| 2897 | |||
| 2898 | int test (int i, double x); | ||
| 2899 | struct s1 {int (*f) (int a);}; | ||
| 2900 | struct s2 {int (*f) (double a);}; | ||
| 2901 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | ||
| 2902 | int argc; | ||
| 2903 | char **argv; | ||
| 2904 | int | ||
| 2905 | main () | ||
| 2906 | { | ||
| 2907 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||
| 2908 | ; | ||
| 2909 | return 0; | ||
| 2910 | } | ||
| 2911 | _ACEOF | ||
| 2912 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | ||
| 2913 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
| 2914 | do | ||
| 2915 | CC="$ac_save_CC $ac_arg" | ||
| 2916 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2917 | ac_cv_prog_cc_c89=$ac_arg | ||
| 2918 | fi | ||
| 2919 | rm -f core conftest.err conftest.$ac_objext | ||
| 2920 | test "x$ac_cv_prog_cc_c89" != "xno" && break | ||
| 2921 | done | ||
| 2922 | rm -f conftest.$ac_ext | ||
| 2923 | CC=$ac_save_CC | ||
| 2924 | |||
| 2925 | fi | ||
| 2926 | # AC_CACHE_VAL | ||
| 2927 | case "x$ac_cv_prog_cc_c89" in | ||
| 2928 | x) | ||
| 2929 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | ||
| 2930 | $as_echo "none needed" >&6; } ;; | ||
| 2931 | xno) | ||
| 2932 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | ||
| 2933 | $as_echo "unsupported" >&6; } ;; | ||
| 2934 | *) | ||
| 2935 | CC="$CC $ac_cv_prog_cc_c89" | ||
| 2936 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | ||
| 2937 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | ||
| 2938 | esac | ||
| 2939 | if test "x$ac_cv_prog_cc_c89" != xno; then : | ||
| 2940 | |||
| 2941 | fi | ||
| 2942 | |||
| 2943 | ac_ext=c | ||
| 2944 | ac_cpp='$CPP $CPPFLAGS' | ||
| 2945 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 2946 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 2947 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 2948 | |||
| 2949 | ac_aux_dir= | ||
| 2950 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | ||
| 2951 | if test -f "$ac_dir/install-sh"; then | ||
| 2952 | ac_aux_dir=$ac_dir | ||
| 2953 | ac_install_sh="$ac_aux_dir/install-sh -c" | ||
| 2954 | break | ||
| 2955 | elif test -f "$ac_dir/install.sh"; then | ||
| 2956 | ac_aux_dir=$ac_dir | ||
| 2957 | ac_install_sh="$ac_aux_dir/install.sh -c" | ||
| 2958 | break | ||
| 2959 | elif test -f "$ac_dir/shtool"; then | ||
| 2960 | ac_aux_dir=$ac_dir | ||
| 2961 | ac_install_sh="$ac_aux_dir/shtool install -c" | ||
| 2962 | break | ||
| 2963 | fi | ||
| 2964 | done | ||
| 2965 | if test -z "$ac_aux_dir"; then | ||
| 2966 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | ||
| 2967 | fi | ||
| 2968 | |||
| 2969 | # These three variables are undocumented and unsupported, | ||
| 2970 | # and are intended to be withdrawn in a future Autoconf release. | ||
| 2971 | # They can cause serious problems if a builder's source tree is in a directory | ||
| 2972 | # whose full name contains unusual characters. | ||
| 2973 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | ||
| 2974 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | ||
| 2975 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | ||
| 2976 | |||
| 2977 | |||
| 2978 | # Expand $ac_aux_dir to an absolute path. | ||
| 2979 | am_aux_dir=`cd "$ac_aux_dir" && pwd` | ||
| 2980 | |||
| 2981 | ac_ext=c | ||
| 2982 | ac_cpp='$CPP $CPPFLAGS' | ||
| 2983 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 2984 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 2985 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 2986 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 | ||
| 2987 | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } | ||
| 2988 | if ${am_cv_prog_cc_c_o+:} false; then : | ||
| 2989 | $as_echo_n "(cached) " >&6 | ||
| 2990 | else | ||
| 2991 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2992 | /* end confdefs.h. */ | ||
| 2993 | |||
| 2994 | int | ||
| 2995 | main () | ||
| 2996 | { | ||
| 2997 | |||
| 2998 | ; | ||
| 2999 | return 0; | ||
| 3000 | } | ||
| 3001 | _ACEOF | ||
| 3002 | # Make sure it works both with $CC and with simple cc. | ||
| 3003 | # Following AC_PROG_CC_C_O, we do the test twice because some | ||
| 3004 | # compilers refuse to overwrite an existing .o file with -o, | ||
| 3005 | # though they will create one. | ||
| 3006 | am_cv_prog_cc_c_o=yes | ||
| 3007 | for am_i in 1 2; do | ||
| 3008 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 | ||
| 3009 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 | ||
| 3010 | ac_status=$? | ||
| 3011 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3012 | (exit $ac_status); } \ | ||
| 3013 | && test -f conftest2.$ac_objext; then | ||
| 3014 | : OK | ||
| 3015 | else | ||
| 3016 | am_cv_prog_cc_c_o=no | ||
| 3017 | break | ||
| 3018 | fi | ||
| 3019 | done | ||
| 3020 | rm -f core conftest* | ||
| 3021 | unset am_i | ||
| 3022 | fi | ||
| 3023 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 | ||
| 3024 | $as_echo "$am_cv_prog_cc_c_o" >&6; } | ||
| 3025 | if test "$am_cv_prog_cc_c_o" != yes; then | ||
| 3026 | # Losing compiler, so override with the script. | ||
| 3027 | # FIXME: It is wrong to rewrite CC. | ||
| 3028 | # But if we don't then we get into trouble of one sort or another. | ||
| 3029 | # A longer-term fix would be to have automake use am__CC in this case, | ||
| 3030 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | ||
| 3031 | CC="$am_aux_dir/compile $CC" | ||
| 3032 | fi | ||
| 3033 | ac_ext=c | ||
| 3034 | ac_cpp='$CPP $CPPFLAGS' | ||
| 3035 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 3036 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 3037 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 3038 | |||
| 3039 | |||
| 3040 | |||
| 3041 | # Checks for libraries. | ||
| 3042 | |||
| 3043 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5 | ||
| 3044 | $as_echo_n "checking for initscr in -lncurses... " >&6; } | ||
| 3045 | if ${ac_cv_lib_ncurses_initscr+:} false; then : | ||
| 3046 | $as_echo_n "(cached) " >&6 | ||
| 3047 | else | ||
| 3048 | ac_check_lib_save_LIBS=$LIBS | ||
| 3049 | LIBS="-lncurses $LIBS" | ||
| 3050 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3051 | /* end confdefs.h. */ | ||
| 3052 | |||
| 3053 | /* Override any GCC internal prototype to avoid an error. | ||
| 3054 | Use char because int might match the return type of a GCC | ||
| 3055 | builtin and then its argument prototype would still apply. */ | ||
| 3056 | #ifdef __cplusplus | ||
| 3057 | extern "C" | ||
| 3058 | #endif | ||
| 3059 | char initscr (); | ||
| 3060 | int | ||
| 3061 | main () | ||
| 3062 | { | ||
| 3063 | return initscr (); | ||
| 3064 | ; | ||
| 3065 | return 0; | ||
| 3066 | } | ||
| 3067 | _ACEOF | ||
| 3068 | if ac_fn_c_try_link "$LINENO"; then : | ||
| 3069 | ac_cv_lib_ncurses_initscr=yes | ||
| 3070 | else | ||
| 3071 | ac_cv_lib_ncurses_initscr=no | ||
| 3072 | fi | ||
| 3073 | rm -f core conftest.err conftest.$ac_objext \ | ||
| 3074 | conftest$ac_exeext conftest.$ac_ext | ||
| 3075 | LIBS=$ac_check_lib_save_LIBS | ||
| 3076 | fi | ||
| 3077 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5 | ||
| 3078 | $as_echo "$ac_cv_lib_ncurses_initscr" >&6; } | ||
| 3079 | if test "x$ac_cv_lib_ncurses_initscr" = xyes; then : | ||
| 3080 | cat >>confdefs.h <<_ACEOF | ||
| 3081 | #define HAVE_LIBNCURSES 1 | ||
| 3082 | _ACEOF | ||
| 3083 | |||
| 3084 | LIBS="-lncurses $LIBS" | ||
| 3085 | |||
| 3086 | fi | ||
| 3087 | |||
| 3088 | |||
| 3089 | # Checks for header files. | ||
| 3090 | ac_ext=c | ||
| 3091 | ac_cpp='$CPP $CPPFLAGS' | ||
| 3092 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 3093 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 3094 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 3095 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | ||
| 3096 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | ||
| 3097 | # On Suns, sometimes $CPP names a directory. | ||
| 3098 | if test -n "$CPP" && test -d "$CPP"; then | ||
| 3099 | CPP= | ||
| 3100 | fi | ||
| 3101 | if test -z "$CPP"; then | ||
| 3102 | if ${ac_cv_prog_CPP+:} false; then : | ||
| 3103 | $as_echo_n "(cached) " >&6 | ||
| 3104 | else | ||
| 3105 | # Double quotes because CPP needs to be expanded | ||
| 3106 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | ||
| 3107 | do | ||
| 3108 | ac_preproc_ok=false | ||
| 3109 | for ac_c_preproc_warn_flag in '' yes | ||
| 3110 | do | ||
| 3111 | # Use a header file that comes with gcc, so configuring glibc | ||
| 3112 | # with a fresh cross-compiler works. | ||
| 3113 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 3114 | # <limits.h> exists even on freestanding compilers. | ||
| 3115 | # On the NeXT, cc -E runs the code through the compiler's parser, | ||
| 3116 | # not just through cpp. "Syntax error" is here to catch this case. | ||
| 3117 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3118 | /* end confdefs.h. */ | ||
| 3119 | #ifdef __STDC__ | ||
| 3120 | # include <limits.h> | ||
| 3121 | #else | ||
| 3122 | # include <assert.h> | ||
| 3123 | #endif | ||
| 3124 | Syntax error | ||
| 3125 | _ACEOF | ||
| 3126 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 3127 | |||
| 3128 | else | ||
| 3129 | # Broken: fails on valid input. | ||
| 3130 | continue | ||
| 3131 | fi | ||
| 3132 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
| 3133 | |||
| 3134 | # OK, works on sane cases. Now check whether nonexistent headers | ||
| 3135 | # can be detected and how. | ||
| 3136 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3137 | /* end confdefs.h. */ | ||
| 3138 | #include <ac_nonexistent.h> | ||
| 3139 | _ACEOF | ||
| 3140 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 3141 | # Broken: success on invalid input. | ||
| 3142 | continue | ||
| 3143 | else | ||
| 3144 | # Passes both tests. | ||
| 3145 | ac_preproc_ok=: | ||
| 3146 | break | ||
| 3147 | fi | ||
| 3148 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
| 3149 | |||
| 3150 | done | ||
| 3151 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
| 3152 | rm -f conftest.i conftest.err conftest.$ac_ext | ||
| 3153 | if $ac_preproc_ok; then : | ||
| 3154 | break | ||
| 3155 | fi | ||
| 3156 | |||
| 3157 | done | ||
| 3158 | ac_cv_prog_CPP=$CPP | ||
| 3159 | |||
| 3160 | fi | ||
| 3161 | CPP=$ac_cv_prog_CPP | ||
| 3162 | else | ||
| 3163 | ac_cv_prog_CPP=$CPP | ||
| 3164 | fi | ||
| 3165 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | ||
| 3166 | $as_echo "$CPP" >&6; } | ||
| 3167 | ac_preproc_ok=false | ||
| 3168 | for ac_c_preproc_warn_flag in '' yes | ||
| 3169 | do | ||
| 3170 | # Use a header file that comes with gcc, so configuring glibc | ||
| 3171 | # with a fresh cross-compiler works. | ||
| 3172 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 3173 | # <limits.h> exists even on freestanding compilers. | ||
| 3174 | # On the NeXT, cc -E runs the code through the compiler's parser, | ||
| 3175 | # not just through cpp. "Syntax error" is here to catch this case. | ||
| 3176 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3177 | /* end confdefs.h. */ | ||
| 3178 | #ifdef __STDC__ | ||
| 3179 | # include <limits.h> | ||
| 3180 | #else | ||
| 3181 | # include <assert.h> | ||
| 3182 | #endif | ||
| 3183 | Syntax error | ||
| 3184 | _ACEOF | ||
| 3185 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 3186 | |||
| 3187 | else | ||
| 3188 | # Broken: fails on valid input. | ||
| 3189 | continue | ||
| 3190 | fi | ||
| 3191 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
| 3192 | |||
| 3193 | # OK, works on sane cases. Now check whether nonexistent headers | ||
| 3194 | # can be detected and how. | ||
| 3195 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3196 | /* end confdefs.h. */ | ||
| 3197 | #include <ac_nonexistent.h> | ||
| 3198 | _ACEOF | ||
| 3199 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 3200 | # Broken: success on invalid input. | ||
| 3201 | continue | ||
| 3202 | else | ||
| 3203 | # Passes both tests. | ||
| 3204 | ac_preproc_ok=: | ||
| 3205 | break | ||
| 3206 | fi | ||
| 3207 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
| 3208 | |||
| 3209 | done | ||
| 3210 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
| 3211 | rm -f conftest.i conftest.err conftest.$ac_ext | ||
| 3212 | if $ac_preproc_ok; then : | ||
| 3213 | |||
| 3214 | else | ||
| 3215 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 3216 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 3217 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | ||
| 3218 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 3219 | fi | ||
| 3220 | |||
| 3221 | ac_ext=c | ||
| 3222 | ac_cpp='$CPP $CPPFLAGS' | ||
| 3223 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 3224 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 3225 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 3226 | |||
| 3227 | |||
| 3228 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | ||
| 3229 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | ||
| 3230 | if ${ac_cv_path_GREP+:} false; then : | ||
| 3231 | $as_echo_n "(cached) " >&6 | ||
| 3232 | else | ||
| 3233 | if test -z "$GREP"; then | ||
| 3234 | ac_path_GREP_found=false | ||
| 3235 | # Loop through the user's path and test for each of PROGNAME-LIST | ||
| 3236 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 3237 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
| 3238 | do | ||
| 3239 | IFS=$as_save_IFS | ||
| 3240 | test -z "$as_dir" && as_dir=. | ||
| 3241 | for ac_prog in grep ggrep; do | ||
| 3242 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3243 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | ||
| 3244 | as_fn_executable_p "$ac_path_GREP" || continue | ||
| 3245 | # Check for GNU ac_path_GREP and select it if it is found. | ||
| 3246 | # Check for GNU $ac_path_GREP | ||
| 3247 | case `"$ac_path_GREP" --version 2>&1` in | ||
| 3248 | *GNU*) | ||
| 3249 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | ||
| 3250 | *) | ||
| 3251 | ac_count=0 | ||
| 3252 | $as_echo_n 0123456789 >"conftest.in" | ||
| 3253 | while : | ||
| 3254 | do | ||
| 3255 | cat "conftest.in" "conftest.in" >"conftest.tmp" | ||
| 3256 | mv "conftest.tmp" "conftest.in" | ||
| 3257 | cp "conftest.in" "conftest.nl" | ||
| 3258 | $as_echo 'GREP' >> "conftest.nl" | ||
| 3259 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | ||
| 3260 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||
| 3261 | as_fn_arith $ac_count + 1 && ac_count=$as_val | ||
| 3262 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | ||
| 3263 | # Best one so far, save it but keep looking for a better one | ||
| 3264 | ac_cv_path_GREP="$ac_path_GREP" | ||
| 3265 | ac_path_GREP_max=$ac_count | ||
| 3266 | fi | ||
| 3267 | # 10*(2^10) chars as input seems more than enough | ||
| 3268 | test $ac_count -gt 10 && break | ||
| 3269 | done | ||
| 3270 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||
| 3271 | esac | ||
| 3272 | |||
| 3273 | $ac_path_GREP_found && break 3 | ||
| 3274 | done | ||
| 3275 | done | ||
| 3276 | done | ||
| 3277 | IFS=$as_save_IFS | ||
| 3278 | if test -z "$ac_cv_path_GREP"; then | ||
| 3279 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | ||
| 3280 | fi | ||
| 3281 | else | ||
| 3282 | ac_cv_path_GREP=$GREP | ||
| 3283 | fi | ||
| 3284 | |||
| 3285 | fi | ||
| 3286 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | ||
| 3287 | $as_echo "$ac_cv_path_GREP" >&6; } | ||
| 3288 | GREP="$ac_cv_path_GREP" | ||
| 3289 | |||
| 3290 | |||
| 3291 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | ||
| 3292 | $as_echo_n "checking for egrep... " >&6; } | ||
| 3293 | if ${ac_cv_path_EGREP+:} false; then : | ||
| 3294 | $as_echo_n "(cached) " >&6 | ||
| 3295 | else | ||
| 3296 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | ||
| 3297 | then ac_cv_path_EGREP="$GREP -E" | ||
| 3298 | else | ||
| 3299 | if test -z "$EGREP"; then | ||
| 3300 | ac_path_EGREP_found=false | ||
| 3301 | # Loop through the user's path and test for each of PROGNAME-LIST | ||
| 3302 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 3303 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
| 3304 | do | ||
| 3305 | IFS=$as_save_IFS | ||
| 3306 | test -z "$as_dir" && as_dir=. | ||
| 3307 | for ac_prog in egrep; do | ||
| 3308 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3309 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | ||
| 3310 | as_fn_executable_p "$ac_path_EGREP" || continue | ||
| 3311 | # Check for GNU ac_path_EGREP and select it if it is found. | ||
| 3312 | # Check for GNU $ac_path_EGREP | ||
| 3313 | case `"$ac_path_EGREP" --version 2>&1` in | ||
| 3314 | *GNU*) | ||
| 3315 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | ||
| 3316 | *) | ||
| 3317 | ac_count=0 | ||
| 3318 | $as_echo_n 0123456789 >"conftest.in" | ||
| 3319 | while : | ||
| 3320 | do | ||
| 3321 | cat "conftest.in" "conftest.in" >"conftest.tmp" | ||
| 3322 | mv "conftest.tmp" "conftest.in" | ||
| 3323 | cp "conftest.in" "conftest.nl" | ||
| 3324 | $as_echo 'EGREP' >> "conftest.nl" | ||
| 3325 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | ||
| 3326 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||
| 3327 | as_fn_arith $ac_count + 1 && ac_count=$as_val | ||
| 3328 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | ||
| 3329 | # Best one so far, save it but keep looking for a better one | ||
| 3330 | ac_cv_path_EGREP="$ac_path_EGREP" | ||
| 3331 | ac_path_EGREP_max=$ac_count | ||
| 3332 | fi | ||
| 3333 | # 10*(2^10) chars as input seems more than enough | ||
| 3334 | test $ac_count -gt 10 && break | ||
| 3335 | done | ||
| 3336 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||
| 3337 | esac | ||
| 3338 | |||
| 3339 | $ac_path_EGREP_found && break 3 | ||
| 3340 | done | ||
| 3341 | done | ||
| 3342 | done | ||
| 3343 | IFS=$as_save_IFS | ||
| 3344 | if test -z "$ac_cv_path_EGREP"; then | ||
| 3345 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | ||
| 3346 | fi | ||
| 3347 | else | ||
| 3348 | ac_cv_path_EGREP=$EGREP | ||
| 3349 | fi | ||
| 3350 | |||
| 3351 | fi | ||
| 3352 | fi | ||
| 3353 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | ||
| 3354 | $as_echo "$ac_cv_path_EGREP" >&6; } | ||
| 3355 | EGREP="$ac_cv_path_EGREP" | ||
| 3356 | |||
| 3357 | |||
| 3358 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | ||
| 3359 | $as_echo_n "checking for ANSI C header files... " >&6; } | ||
| 3360 | if ${ac_cv_header_stdc+:} false; then : | ||
| 3361 | $as_echo_n "(cached) " >&6 | ||
| 3362 | else | ||
| 3363 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3364 | /* end confdefs.h. */ | ||
| 3365 | #include <stdlib.h> | ||
| 3366 | #include <stdarg.h> | ||
| 3367 | #include <string.h> | ||
| 3368 | #include <float.h> | ||
| 3369 | |||
| 3370 | int | ||
| 3371 | main () | ||
| 3372 | { | ||
| 3373 | |||
| 3374 | ; | ||
| 3375 | return 0; | ||
| 3376 | } | ||
| 3377 | _ACEOF | ||
| 3378 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 3379 | ac_cv_header_stdc=yes | ||
| 3380 | else | ||
| 3381 | ac_cv_header_stdc=no | ||
| 3382 | fi | ||
| 3383 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 3384 | |||
| 3385 | if test $ac_cv_header_stdc = yes; then | ||
| 3386 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | ||
| 3387 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3388 | /* end confdefs.h. */ | ||
| 3389 | #include <string.h> | ||
| 3390 | |||
| 3391 | _ACEOF | ||
| 3392 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
| 3393 | $EGREP "memchr" >/dev/null 2>&1; then : | ||
| 3394 | |||
| 3395 | else | ||
| 3396 | ac_cv_header_stdc=no | ||
| 3397 | fi | ||
| 3398 | rm -f conftest* | ||
| 3399 | |||
| 3400 | fi | ||
| 3401 | |||
| 3402 | if test $ac_cv_header_stdc = yes; then | ||
| 3403 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | ||
| 3404 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3405 | /* end confdefs.h. */ | ||
| 3406 | #include <stdlib.h> | ||
| 3407 | |||
| 3408 | _ACEOF | ||
| 3409 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
| 3410 | $EGREP "free" >/dev/null 2>&1; then : | ||
| 3411 | |||
| 3412 | else | ||
| 3413 | ac_cv_header_stdc=no | ||
| 3414 | fi | ||
| 3415 | rm -f conftest* | ||
| 3416 | |||
| 3417 | fi | ||
| 3418 | |||
| 3419 | if test $ac_cv_header_stdc = yes; then | ||
| 3420 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | ||
| 3421 | if test "$cross_compiling" = yes; then : | ||
| 3422 | : | ||
| 3423 | else | ||
| 3424 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3425 | /* end confdefs.h. */ | ||
| 3426 | #include <ctype.h> | ||
| 3427 | #include <stdlib.h> | ||
| 3428 | #if ((' ' & 0x0FF) == 0x020) | ||
| 3429 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | ||
| 3430 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | ||
| 3431 | #else | ||
| 3432 | # define ISLOWER(c) \ | ||
| 3433 | (('a' <= (c) && (c) <= 'i') \ | ||
| 3434 | || ('j' <= (c) && (c) <= 'r') \ | ||
| 3435 | || ('s' <= (c) && (c) <= 'z')) | ||
| 3436 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | ||
| 3437 | #endif | ||
| 3438 | |||
| 3439 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | ||
| 3440 | int | ||
| 3441 | main () | ||
| 3442 | { | ||
| 3443 | int i; | ||
| 3444 | for (i = 0; i < 256; i++) | ||
| 3445 | if (XOR (islower (i), ISLOWER (i)) | ||
| 3446 | || toupper (i) != TOUPPER (i)) | ||
| 3447 | return 2; | ||
| 3448 | return 0; | ||
| 3449 | } | ||
| 3450 | _ACEOF | ||
| 3451 | if ac_fn_c_try_run "$LINENO"; then : | ||
| 3452 | |||
| 3453 | else | ||
| 3454 | ac_cv_header_stdc=no | ||
| 3455 | fi | ||
| 3456 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | ||
| 3457 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 3458 | fi | ||
| 3459 | |||
| 3460 | fi | ||
| 3461 | fi | ||
| 3462 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | ||
| 3463 | $as_echo "$ac_cv_header_stdc" >&6; } | ||
| 3464 | if test $ac_cv_header_stdc = yes; then | ||
| 3465 | |||
| 3466 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h | ||
| 3467 | |||
| 3468 | fi | ||
| 3469 | |||
| 3470 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | ||
| 3471 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
| 3472 | inttypes.h stdint.h unistd.h | ||
| 3473 | do : | ||
| 3474 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 3475 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | ||
| 3476 | " | ||
| 3477 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | ||
| 3478 | cat >>confdefs.h <<_ACEOF | ||
| 3479 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
| 3480 | _ACEOF | ||
| 3481 | |||
| 3482 | fi | ||
| 3483 | |||
| 3484 | done | ||
| 3485 | |||
| 3486 | |||
| 3487 | for ac_header in stdlib.h string.h unistd.h | ||
| 3488 | do : | ||
| 3489 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 3490 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | ||
| 3491 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | ||
| 3492 | cat >>confdefs.h <<_ACEOF | ||
| 3493 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
| 3494 | _ACEOF | ||
| 3495 | |||
| 3496 | fi | ||
| 3497 | |||
| 3498 | done | ||
| 3499 | |||
| 3500 | |||
| 3501 | # Checks for typedefs, structures, and compiler characteristics. | ||
| 3502 | |||
| 3503 | # Checks for library functions. | ||
| 3504 | for ac_header in stdlib.h | ||
| 3505 | do : | ||
| 3506 | ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" | ||
| 3507 | if test "x$ac_cv_header_stdlib_h" = xyes; then : | ||
| 3508 | cat >>confdefs.h <<_ACEOF | ||
| 3509 | #define HAVE_STDLIB_H 1 | ||
| 3510 | _ACEOF | ||
| 3511 | |||
| 3512 | fi | ||
| 3513 | |||
| 3514 | done | ||
| 3515 | |||
| 3516 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 | ||
| 3517 | $as_echo_n "checking for GNU libc compatible malloc... " >&6; } | ||
| 3518 | if ${ac_cv_func_malloc_0_nonnull+:} false; then : | ||
| 3519 | $as_echo_n "(cached) " >&6 | ||
| 3520 | else | ||
| 3521 | if test "$cross_compiling" = yes; then : | ||
| 3522 | ac_cv_func_malloc_0_nonnull=no | ||
| 3523 | else | ||
| 3524 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3525 | /* end confdefs.h. */ | ||
| 3526 | #if defined STDC_HEADERS || defined HAVE_STDLIB_H | ||
| 3527 | # include <stdlib.h> | ||
| 3528 | #else | ||
| 3529 | char *malloc (); | ||
| 3530 | #endif | ||
| 3531 | |||
| 3532 | int | ||
| 3533 | main () | ||
| 3534 | { | ||
| 3535 | return ! malloc (0); | ||
| 3536 | ; | ||
| 3537 | return 0; | ||
| 3538 | } | ||
| 3539 | _ACEOF | ||
| 3540 | if ac_fn_c_try_run "$LINENO"; then : | ||
| 3541 | ac_cv_func_malloc_0_nonnull=yes | ||
| 3542 | else | ||
| 3543 | ac_cv_func_malloc_0_nonnull=no | ||
| 3544 | fi | ||
| 3545 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | ||
| 3546 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 3547 | fi | ||
| 3548 | |||
| 3549 | fi | ||
| 3550 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 | ||
| 3551 | $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } | ||
| 3552 | if test $ac_cv_func_malloc_0_nonnull = yes; then : | ||
| 3553 | |||
| 3554 | $as_echo "#define HAVE_MALLOC 1" >>confdefs.h | ||
| 3555 | |||
| 3556 | else | ||
| 3557 | $as_echo "#define HAVE_MALLOC 0" >>confdefs.h | ||
| 3558 | |||
| 3559 | case " $LIBOBJS " in | ||
| 3560 | *" malloc.$ac_objext "* ) ;; | ||
| 3561 | *) LIBOBJS="$LIBOBJS malloc.$ac_objext" | ||
| 3562 | ;; | ||
| 3563 | esac | ||
| 3564 | |||
| 3565 | |||
| 3566 | $as_echo "#define malloc rpl_malloc" >>confdefs.h | ||
| 3567 | |||
| 3568 | fi | ||
| 3569 | |||
| 3570 | |||
| 3571 | for ac_func in memset strtol | ||
| 3572 | do : | ||
| 3573 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
| 3574 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | ||
| 3575 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | ||
| 3576 | cat >>confdefs.h <<_ACEOF | ||
| 3577 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
| 3578 | _ACEOF | ||
| 3579 | |||
| 3580 | fi | ||
| 3581 | done | ||
| 3582 | |||
| 3583 | |||
| 3584 | ac_config_files="$ac_config_files Makefile" | ||
| 3585 | |||
| 3586 | am__api_version='1.15' | ||
| 3587 | |||
| 3588 | # Find a good install program. We prefer a C program (faster), | ||
| 3589 | # so one script is as good as another. But avoid the broken or | ||
| 3590 | # incompatible versions: | ||
| 3591 | # SysV /etc/install, /usr/sbin/install | ||
| 3592 | # SunOS /usr/etc/install | ||
| 3593 | # IRIX /sbin/install | ||
| 3594 | # AIX /bin/install | ||
| 3595 | # AmigaOS /C/install, which installs bootblocks on floppy discs | ||
| 3596 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | ||
| 3597 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | ||
| 3598 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||
| 3599 | # OS/2's system install, which has a completely different semantic | ||
| 3600 | # ./install, which can be erroneously created by make from ./install.sh. | ||
| 3601 | # Reject install programs that cannot install multiple files. | ||
| 3602 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | ||
| 3603 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | ||
| 3604 | if test -z "$INSTALL"; then | ||
| 3605 | if ${ac_cv_path_install+:} false; then : | ||
| 3606 | $as_echo_n "(cached) " >&6 | ||
| 3607 | else | ||
| 3608 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 3609 | for as_dir in $PATH | ||
| 3610 | do | ||
| 3611 | IFS=$as_save_IFS | ||
| 3612 | test -z "$as_dir" && as_dir=. | ||
| 3613 | # Account for people who put trailing slashes in PATH elements. | ||
| 3614 | case $as_dir/ in #(( | ||
| 3615 | ./ | .// | /[cC]/* | \ | ||
| 3616 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | ||
| 3617 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | ||
| 3618 | /usr/ucb/* ) ;; | ||
| 3619 | *) | ||
| 3620 | # OSF1 and SCO ODT 3.0 have their own names for install. | ||
| 3621 | # Don't use installbsd from OSF since it installs stuff as root | ||
| 3622 | # by default. | ||
| 3623 | for ac_prog in ginstall scoinst install; do | ||
| 3624 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3625 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | ||
| 3626 | if test $ac_prog = install && | ||
| 3627 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
| 3628 | # AIX install. It has an incompatible calling convention. | ||
| 3629 | : | ||
| 3630 | elif test $ac_prog = install && | ||
| 3631 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
| 3632 | # program-specific install script used by HP pwplus--don't use. | ||
| 3633 | : | ||
| 3634 | else | ||
| 3635 | rm -rf conftest.one conftest.two conftest.dir | ||
| 3636 | echo one > conftest.one | ||
| 3637 | echo two > conftest.two | ||
| 3638 | mkdir conftest.dir | ||
| 3639 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | ||
| 3640 | test -s conftest.one && test -s conftest.two && | ||
| 3641 | test -s conftest.dir/conftest.one && | ||
| 3642 | test -s conftest.dir/conftest.two | ||
| 3643 | then | ||
| 3644 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ||
| 3645 | break 3 | ||
| 3646 | fi | ||
| 3647 | fi | ||
| 3648 | fi | ||
| 3649 | done | ||
| 3650 | done | ||
| 3651 | ;; | ||
| 3652 | esac | ||
| 3653 | |||
| 3654 | done | ||
| 3655 | IFS=$as_save_IFS | ||
| 3656 | |||
| 3657 | rm -rf conftest.one conftest.two conftest.dir | ||
| 3658 | |||
| 3659 | fi | ||
| 3660 | if test "${ac_cv_path_install+set}" = set; then | ||
| 3661 | INSTALL=$ac_cv_path_install | ||
| 3662 | else | ||
| 3663 | # As a last resort, use the slow shell script. Don't cache a | ||
| 3664 | # value for INSTALL within a source directory, because that will | ||
| 3665 | # break other packages using the cache if that directory is | ||
| 3666 | # removed, or if the value is a relative name. | ||
| 3667 | INSTALL=$ac_install_sh | ||
| 3668 | fi | ||
| 3669 | fi | ||
| 3670 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | ||
| 3671 | $as_echo "$INSTALL" >&6; } | ||
| 3672 | |||
| 3673 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | ||
| 3674 | # It thinks the first close brace ends the variable substitution. | ||
| 3675 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
| 3676 | |||
| 3677 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | ||
| 3678 | |||
| 3679 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||
| 3680 | |||
| 3681 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 | ||
| 3682 | $as_echo_n "checking whether build environment is sane... " >&6; } | ||
| 3683 | # Reject unsafe characters in $srcdir or the absolute working directory | ||
| 3684 | # name. Accept space and tab only in the latter. | ||
| 3685 | am_lf=' | ||
| 3686 | ' | ||
| 3687 | case `pwd` in | ||
| 3688 | *[\\\"\#\$\&\'\`$am_lf]*) | ||
| 3689 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | ||
| 3690 | esac | ||
| 3691 | case $srcdir in | ||
| 3692 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) | ||
| 3693 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; | ||
| 3694 | esac | ||
| 3695 | |||
| 3696 | # Do 'set' in a subshell so we don't clobber the current shell's | ||
| 3697 | # arguments. Must try -L first in case configure is actually a | ||
| 3698 | # symlink; some systems play weird games with the mod time of symlinks | ||
| 3699 | # (eg FreeBSD returns the mod time of the symlink's containing | ||
| 3700 | # directory). | ||
| 3701 | if ( | ||
| 3702 | am_has_slept=no | ||
| 3703 | for am_try in 1 2; do | ||
| 3704 | echo "timestamp, slept: $am_has_slept" > conftest.file | ||
| 3705 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | ||
| 3706 | if test "$*" = "X"; then | ||
| 3707 | # -L didn't work. | ||
| 3708 | set X `ls -t "$srcdir/configure" conftest.file` | ||
| 3709 | fi | ||
| 3710 | if test "$*" != "X $srcdir/configure conftest.file" \ | ||
| 3711 | && test "$*" != "X conftest.file $srcdir/configure"; then | ||
| 3712 | |||
| 3713 | # If neither matched, then we have a broken ls. This can happen | ||
| 3714 | # if, for instance, CONFIG_SHELL is bash and it inherits a | ||
| 3715 | # broken ls alias from the environment. This has actually | ||
| 3716 | # happened. Such a system could not be considered "sane". | ||
| 3717 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | ||
| 3718 | alias in your environment" "$LINENO" 5 | ||
| 3719 | fi | ||
| 3720 | if test "$2" = conftest.file || test $am_try -eq 2; then | ||
| 3721 | break | ||
| 3722 | fi | ||
| 3723 | # Just in case. | ||
| 3724 | sleep 1 | ||
| 3725 | am_has_slept=yes | ||
| 3726 | done | ||
| 3727 | test "$2" = conftest.file | ||
| 3728 | ) | ||
| 3729 | then | ||
| 3730 | # Ok. | ||
| 3731 | : | ||
| 3732 | else | ||
| 3733 | as_fn_error $? "newly created file is older than distributed files! | ||
| 3734 | Check your system clock" "$LINENO" 5 | ||
| 3735 | fi | ||
| 3736 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
| 3737 | $as_echo "yes" >&6; } | ||
| 3738 | # If we didn't sleep, we still need to ensure time stamps of config.status and | ||
| 3739 | # generated files are strictly newer. | ||
| 3740 | am_sleep_pid= | ||
| 3741 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then | ||
| 3742 | ( sleep 1 ) & | ||
| 3743 | am_sleep_pid=$! | ||
| 3744 | fi | ||
| 3745 | |||
| 3746 | rm -f conftest.file | ||
| 3747 | |||
| 3748 | test "$program_prefix" != NONE && | ||
| 3749 | program_transform_name="s&^&$program_prefix&;$program_transform_name" | ||
| 3750 | # Use a double $ so make ignores it. | ||
| 3751 | test "$program_suffix" != NONE && | ||
| 3752 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" | ||
| 3753 | # Double any \ or $. | ||
| 3754 | # By default was `s,x,x', remove it if useless. | ||
| 3755 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | ||
| 3756 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | ||
| 3757 | |||
| 3758 | if test x"${MISSING+set}" != xset; then | ||
| 3759 | case $am_aux_dir in | ||
| 3760 | *\ * | *\ *) | ||
| 3761 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | ||
| 3762 | *) | ||
| 3763 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | ||
| 3764 | esac | ||
| 3765 | fi | ||
| 3766 | # Use eval to expand $SHELL | ||
| 3767 | if eval "$MISSING --is-lightweight"; then | ||
| 3768 | am_missing_run="$MISSING " | ||
| 3769 | else | ||
| 3770 | am_missing_run= | ||
| 3771 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 | ||
| 3772 | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} | ||
| 3773 | fi | ||
| 3774 | |||
| 3775 | if test x"${install_sh+set}" != xset; then | ||
| 3776 | case $am_aux_dir in | ||
| 3777 | *\ * | *\ *) | ||
| 3778 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | ||
| 3779 | *) | ||
| 3780 | install_sh="\${SHELL} $am_aux_dir/install-sh" | ||
| 3781 | esac | ||
| 3782 | fi | ||
| 3783 | |||
| 3784 | # Installed binaries are usually stripped using 'strip' when the user | ||
| 3785 | # run "make install-strip". However 'strip' might not be the right | ||
| 3786 | # tool to use in cross-compilation environments, therefore Automake | ||
| 3787 | # will honor the 'STRIP' environment variable to overrule this program. | ||
| 3788 | if test "$cross_compiling" != no; then | ||
| 3789 | if test -n "$ac_tool_prefix"; then | ||
| 3790 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | ||
| 3791 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | ||
| 3792 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 3793 | $as_echo_n "checking for $ac_word... " >&6; } | ||
| 3794 | if ${ac_cv_prog_STRIP+:} false; then : | ||
| 3795 | $as_echo_n "(cached) " >&6 | ||
| 3796 | else | ||
| 3797 | if test -n "$STRIP"; then | ||
| 3798 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | ||
| 3799 | else | ||
| 3800 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 3801 | for as_dir in $PATH | ||
| 3802 | do | ||
| 3803 | IFS=$as_save_IFS | ||
| 3804 | test -z "$as_dir" && as_dir=. | ||
| 3805 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3806 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 3807 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | ||
| 3808 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 3809 | break 2 | ||
| 3810 | fi | ||
| 3811 | done | ||
| 3812 | done | ||
| 3813 | IFS=$as_save_IFS | ||
| 3814 | |||
| 3815 | fi | ||
| 3816 | fi | ||
| 3817 | STRIP=$ac_cv_prog_STRIP | ||
| 3818 | if test -n "$STRIP"; then | ||
| 3819 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | ||
| 3820 | $as_echo "$STRIP" >&6; } | ||
| 3821 | else | ||
| 3822 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 3823 | $as_echo "no" >&6; } | ||
| 3824 | fi | ||
| 3825 | |||
| 3826 | |||
| 3827 | fi | ||
| 3828 | if test -z "$ac_cv_prog_STRIP"; then | ||
| 3829 | ac_ct_STRIP=$STRIP | ||
| 3830 | # Extract the first word of "strip", so it can be a program name with args. | ||
| 3831 | set dummy strip; ac_word=$2 | ||
| 3832 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 3833 | $as_echo_n "checking for $ac_word... " >&6; } | ||
| 3834 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : | ||
| 3835 | $as_echo_n "(cached) " >&6 | ||
| 3836 | else | ||
| 3837 | if test -n "$ac_ct_STRIP"; then | ||
| 3838 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | ||
| 3839 | else | ||
| 3840 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 3841 | for as_dir in $PATH | ||
| 3842 | do | ||
| 3843 | IFS=$as_save_IFS | ||
| 3844 | test -z "$as_dir" && as_dir=. | ||
| 3845 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3846 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 3847 | ac_cv_prog_ac_ct_STRIP="strip" | ||
| 3848 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 3849 | break 2 | ||
| 3850 | fi | ||
| 3851 | done | ||
| 3852 | done | ||
| 3853 | IFS=$as_save_IFS | ||
| 3854 | |||
| 3855 | fi | ||
| 3856 | fi | ||
| 3857 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | ||
| 3858 | if test -n "$ac_ct_STRIP"; then | ||
| 3859 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | ||
| 3860 | $as_echo "$ac_ct_STRIP" >&6; } | ||
| 3861 | else | ||
| 3862 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 3863 | $as_echo "no" >&6; } | ||
| 3864 | fi | ||
| 3865 | |||
| 3866 | if test "x$ac_ct_STRIP" = x; then | ||
| 3867 | STRIP=":" | ||
| 3868 | else | ||
| 3869 | case $cross_compiling:$ac_tool_warned in | ||
| 3870 | yes:) | ||
| 3871 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
| 3872 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
| 3873 | ac_tool_warned=yes ;; | ||
| 3874 | esac | ||
| 3875 | STRIP=$ac_ct_STRIP | ||
| 3876 | fi | ||
| 3877 | else | ||
| 3878 | STRIP="$ac_cv_prog_STRIP" | ||
| 3879 | fi | ||
| 3880 | |||
| 3881 | fi | ||
| 3882 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | ||
| 3883 | |||
| 3884 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 | ||
| 3885 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | ||
| 3886 | if test -z "$MKDIR_P"; then | ||
| 3887 | if ${ac_cv_path_mkdir+:} false; then : | ||
| 3888 | $as_echo_n "(cached) " >&6 | ||
| 3889 | else | ||
| 3890 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 3891 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | ||
| 3892 | do | ||
| 3893 | IFS=$as_save_IFS | ||
| 3894 | test -z "$as_dir" && as_dir=. | ||
| 3895 | for ac_prog in mkdir gmkdir; do | ||
| 3896 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3897 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue | ||
| 3898 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | ||
| 3899 | 'mkdir (GNU coreutils) '* | \ | ||
| 3900 | 'mkdir (coreutils) '* | \ | ||
| 3901 | 'mkdir (fileutils) '4.1*) | ||
| 3902 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | ||
| 3903 | break 3;; | ||
| 3904 | esac | ||
| 3905 | done | ||
| 3906 | done | ||
| 3907 | done | ||
| 3908 | IFS=$as_save_IFS | ||
| 3909 | |||
| 3910 | fi | ||
| 3911 | |||
| 3912 | test -d ./--version && rmdir ./--version | ||
| 3913 | if test "${ac_cv_path_mkdir+set}" = set; then | ||
| 3914 | MKDIR_P="$ac_cv_path_mkdir -p" | ||
| 3915 | else | ||
| 3916 | # As a last resort, use the slow shell script. Don't cache a | ||
| 3917 | # value for MKDIR_P within a source directory, because that will | ||
| 3918 | # break other packages using the cache if that directory is | ||
| 3919 | # removed, or if the value is a relative name. | ||
| 3920 | MKDIR_P="$ac_install_sh -d" | ||
| 3921 | fi | ||
| 3922 | fi | ||
| 3923 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | ||
| 3924 | $as_echo "$MKDIR_P" >&6; } | ||
| 3925 | |||
| 3926 | for ac_prog in gawk mawk nawk awk | ||
| 3927 | do | ||
| 3928 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
| 3929 | set dummy $ac_prog; ac_word=$2 | ||
| 3930 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 3931 | $as_echo_n "checking for $ac_word... " >&6; } | ||
| 3932 | if ${ac_cv_prog_AWK+:} false; then : | ||
| 3933 | $as_echo_n "(cached) " >&6 | ||
| 3934 | else | ||
| 3935 | if test -n "$AWK"; then | ||
| 3936 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | ||
| 3937 | else | ||
| 3938 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 3939 | for as_dir in $PATH | ||
| 3940 | do | ||
| 3941 | IFS=$as_save_IFS | ||
| 3942 | test -z "$as_dir" && as_dir=. | ||
| 3943 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3944 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 3945 | ac_cv_prog_AWK="$ac_prog" | ||
| 3946 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 3947 | break 2 | ||
| 3948 | fi | ||
| 3949 | done | ||
| 3950 | done | ||
| 3951 | IFS=$as_save_IFS | ||
| 3952 | |||
| 3953 | fi | ||
| 3954 | fi | ||
| 3955 | AWK=$ac_cv_prog_AWK | ||
| 3956 | if test -n "$AWK"; then | ||
| 3957 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | ||
| 3958 | $as_echo "$AWK" >&6; } | ||
| 3959 | else | ||
| 3960 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 3961 | $as_echo "no" >&6; } | ||
| 3962 | fi | ||
| 3963 | |||
| 3964 | |||
| 3965 | test -n "$AWK" && break | ||
| 3966 | done | ||
| 3967 | |||
| 3968 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | ||
| 3969 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | ||
| 3970 | set x ${MAKE-make} | ||
| 3971 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | ||
| 3972 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : | ||
| 3973 | $as_echo_n "(cached) " >&6 | ||
| 3974 | else | ||
| 3975 | cat >conftest.make <<\_ACEOF | ||
| 3976 | SHELL = /bin/sh | ||
| 3977 | all: | ||
| 3978 | @echo '@@@%%%=$(MAKE)=@@@%%%' | ||
| 3979 | _ACEOF | ||
| 3980 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | ||
| 3981 | case `${MAKE-make} -f conftest.make 2>/dev/null` in | ||
| 3982 | *@@@%%%=?*=@@@%%%*) | ||
| 3983 | eval ac_cv_prog_make_${ac_make}_set=yes;; | ||
| 3984 | *) | ||
| 3985 | eval ac_cv_prog_make_${ac_make}_set=no;; | ||
| 3986 | esac | ||
| 3987 | rm -f conftest.make | ||
| 3988 | fi | ||
| 3989 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | ||
| 3990 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
| 3991 | $as_echo "yes" >&6; } | ||
| 3992 | SET_MAKE= | ||
| 3993 | else | ||
| 3994 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 3995 | $as_echo "no" >&6; } | ||
| 3996 | SET_MAKE="MAKE=${MAKE-make}" | ||
| 3997 | fi | ||
| 3998 | |||
| 3999 | rm -rf .tst 2>/dev/null | ||
| 4000 | mkdir .tst 2>/dev/null | ||
| 4001 | if test -d .tst; then | ||
| 4002 | am__leading_dot=. | ||
| 4003 | else | ||
| 4004 | am__leading_dot=_ | ||
| 4005 | fi | ||
| 4006 | rmdir .tst 2>/dev/null | ||
| 4007 | |||
| 4008 | DEPDIR="${am__leading_dot}deps" | ||
| 4009 | |||
| 4010 | ac_config_commands="$ac_config_commands depfiles" | ||
| 4011 | |||
| 4012 | |||
| 4013 | am_make=${MAKE-make} | ||
| 4014 | cat > confinc << 'END' | ||
| 4015 | am__doit: | ||
| 4016 | @echo this is the am__doit target | ||
| 4017 | .PHONY: am__doit | ||
| 4018 | END | ||
| 4019 | # If we don't find an include directive, just comment out the code. | ||
| 4020 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 | ||
| 4021 | $as_echo_n "checking for style of include used by $am_make... " >&6; } | ||
| 4022 | am__include="#" | ||
| 4023 | am__quote= | ||
| 4024 | _am_result=none | ||
| 4025 | # First try GNU make style include. | ||
| 4026 | echo "include confinc" > confmf | ||
| 4027 | # Ignore all kinds of additional output from 'make'. | ||
| 4028 | case `$am_make -s -f confmf 2> /dev/null` in #( | ||
| 4029 | *the\ am__doit\ target*) | ||
| 4030 | am__include=include | ||
| 4031 | am__quote= | ||
| 4032 | _am_result=GNU | ||
| 4033 | ;; | ||
| 4034 | esac | ||
| 4035 | # Now try BSD make style include. | ||
| 4036 | if test "$am__include" = "#"; then | ||
| 4037 | echo '.include "confinc"' > confmf | ||
| 4038 | case `$am_make -s -f confmf 2> /dev/null` in #( | ||
| 4039 | *the\ am__doit\ target*) | ||
| 4040 | am__include=.include | ||
| 4041 | am__quote="\"" | ||
| 4042 | _am_result=BSD | ||
| 4043 | ;; | ||
| 4044 | esac | ||
| 4045 | fi | ||
| 4046 | |||
| 4047 | |||
| 4048 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | ||
| 4049 | $as_echo "$_am_result" >&6; } | ||
| 4050 | rm -f confinc confmf | ||
| 4051 | |||
| 4052 | # Check whether --enable-dependency-tracking was given. | ||
| 4053 | if test "${enable_dependency_tracking+set}" = set; then : | ||
| 4054 | enableval=$enable_dependency_tracking; | ||
| 4055 | fi | ||
| 4056 | |||
| 4057 | if test "x$enable_dependency_tracking" != xno; then | ||
| 4058 | am_depcomp="$ac_aux_dir/depcomp" | ||
| 4059 | AMDEPBACKSLASH='\' | ||
| 4060 | am__nodep='_no' | ||
| 4061 | fi | ||
| 4062 | if test "x$enable_dependency_tracking" != xno; then | ||
| 4063 | AMDEP_TRUE= | ||
| 4064 | AMDEP_FALSE='#' | ||
| 4065 | else | ||
| 4066 | AMDEP_TRUE='#' | ||
| 4067 | AMDEP_FALSE= | ||
| 4068 | fi | ||
| 4069 | |||
| 4070 | |||
| 4071 | # Check whether --enable-silent-rules was given. | ||
| 4072 | if test "${enable_silent_rules+set}" = set; then : | ||
| 4073 | enableval=$enable_silent_rules; | ||
| 4074 | fi | ||
| 4075 | |||
| 4076 | case $enable_silent_rules in # ((( | ||
| 4077 | yes) AM_DEFAULT_VERBOSITY=0;; | ||
| 4078 | no) AM_DEFAULT_VERBOSITY=1;; | ||
| 4079 | *) AM_DEFAULT_VERBOSITY=1;; | ||
| 4080 | esac | ||
| 4081 | am_make=${MAKE-make} | ||
| 4082 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 | ||
| 4083 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; } | ||
| 4084 | if ${am_cv_make_support_nested_variables+:} false; then : | ||
| 4085 | $as_echo_n "(cached) " >&6 | ||
| 4086 | else | ||
| 4087 | if $as_echo 'TRUE=$(BAR$(V)) | ||
| 4088 | BAR0=false | ||
| 4089 | BAR1=true | ||
| 4090 | V=1 | ||
| 4091 | am__doit: | ||
| 4092 | @$(TRUE) | ||
| 4093 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then | ||
| 4094 | am_cv_make_support_nested_variables=yes | ||
| 4095 | else | ||
| 4096 | am_cv_make_support_nested_variables=no | ||
| 4097 | fi | ||
| 4098 | fi | ||
| 4099 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 | ||
| 4100 | $as_echo "$am_cv_make_support_nested_variables" >&6; } | ||
| 4101 | if test $am_cv_make_support_nested_variables = yes; then | ||
| 4102 | AM_V='$(V)' | ||
| 4103 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | ||
| 4104 | else | ||
| 4105 | AM_V=$AM_DEFAULT_VERBOSITY | ||
| 4106 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | ||
| 4107 | fi | ||
| 4108 | AM_BACKSLASH='\' | ||
| 4109 | |||
| 4110 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | ||
| 4111 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | ||
| 4112 | # is not polluted with repeated "-I." | ||
| 4113 | am__isrc=' -I$(srcdir)' | ||
| 4114 | # test to see if srcdir already configured | ||
| 4115 | if test -f $srcdir/config.status; then | ||
| 4116 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 | ||
| 4117 | fi | ||
| 4118 | fi | ||
| 4119 | |||
| 4120 | # test whether we have cygpath | ||
| 4121 | if test -z "$CYGPATH_W"; then | ||
| 4122 | if (cygpath --version) >/dev/null 2>/dev/null; then | ||
| 4123 | CYGPATH_W='cygpath -w' | ||
| 4124 | else | ||
| 4125 | CYGPATH_W=echo | ||
| 4126 | fi | ||
| 4127 | fi | ||
| 4128 | |||
| 4129 | |||
| 4130 | # Define the identity of the package. | ||
| 4131 | PACKAGE='life' | ||
| 4132 | VERSION='1.0.0' | ||
| 4133 | |||
| 4134 | |||
| 4135 | cat >>confdefs.h <<_ACEOF | ||
| 4136 | #define PACKAGE "$PACKAGE" | ||
| 4137 | _ACEOF | ||
| 4138 | |||
| 4139 | |||
| 4140 | cat >>confdefs.h <<_ACEOF | ||
| 4141 | #define VERSION "$VERSION" | ||
| 4142 | _ACEOF | ||
| 4143 | |||
| 4144 | # Some tools Automake needs. | ||
| 4145 | |||
| 4146 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | ||
| 4147 | |||
| 4148 | |||
| 4149 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | ||
| 4150 | |||
| 4151 | |||
| 4152 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | ||
| 4153 | |||
| 4154 | |||
| 4155 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | ||
| 4156 | |||
| 4157 | |||
| 4158 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | ||
| 4159 | |||
| 4160 | # For better backward compatibility. To be removed once Automake 1.9.x | ||
| 4161 | # dies out for good. For more background, see: | ||
| 4162 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | ||
| 4163 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | ||
| 4164 | mkdir_p='$(MKDIR_P)' | ||
| 4165 | |||
| 4166 | # We need awk for the "check" target (and possibly the TAP driver). The | ||
| 4167 | # system "awk" is bad on some platforms. | ||
| 4168 | # Always define AMTAR for backward compatibility. Yes, it's still used | ||
| 4169 | # in the wild :-( We should find a proper way to deprecate it ... | ||
| 4170 | AMTAR='$${TAR-tar}' | ||
| 4171 | |||
| 4172 | |||
| 4173 | # We'll loop over all known methods to create a tar archive until one works. | ||
| 4174 | _am_tools='gnutar pax cpio none' | ||
| 4175 | |||
| 4176 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' | ||
| 4177 | |||
| 4178 | |||
| 4179 | |||
| 4180 | |||
| 4181 | |||
| 4182 | depcc="$CC" am_compiler_list= | ||
| 4183 | |||
| 4184 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | ||
| 4185 | $as_echo_n "checking dependency style of $depcc... " >&6; } | ||
| 4186 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : | ||
| 4187 | $as_echo_n "(cached) " >&6 | ||
| 4188 | else | ||
| 4189 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | ||
| 4190 | # We make a subdir and do the tests there. Otherwise we can end up | ||
| 4191 | # making bogus files that we don't know about and never remove. For | ||
| 4192 | # instance it was reported that on HP-UX the gcc test will end up | ||
| 4193 | # making a dummy file named 'D' -- because '-MD' means "put the output | ||
| 4194 | # in D". | ||
| 4195 | rm -rf conftest.dir | ||
| 4196 | mkdir conftest.dir | ||
| 4197 | # Copy depcomp to subdir because otherwise we won't find it if we're | ||
| 4198 | # using a relative directory. | ||
| 4199 | cp "$am_depcomp" conftest.dir | ||
| 4200 | cd conftest.dir | ||
| 4201 | # We will build objects and dependencies in a subdirectory because | ||
| 4202 | # it helps to detect inapplicable dependency modes. For instance | ||
| 4203 | # both Tru64's cc and ICC support -MD to output dependencies as a | ||
| 4204 | # side effect of compilation, but ICC will put the dependencies in | ||
| 4205 | # the current directory while Tru64 will put them in the object | ||
| 4206 | # directory. | ||
| 4207 | mkdir sub | ||
| 4208 | |||
| 4209 | am_cv_CC_dependencies_compiler_type=none | ||
| 4210 | if test "$am_compiler_list" = ""; then | ||
| 4211 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | ||
| 4212 | fi | ||
| 4213 | am__universal=false | ||
| 4214 | case " $depcc " in #( | ||
| 4215 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | ||
| 4216 | esac | ||
| 4217 | |||
| 4218 | for depmode in $am_compiler_list; do | ||
| 4219 | # Setup a source with many dependencies, because some compilers | ||
| 4220 | # like to wrap large dependency lists on column 80 (with \), and | ||
| 4221 | # we should not choose a depcomp mode which is confused by this. | ||
| 4222 | # | ||
| 4223 | # We need to recreate these files for each test, as the compiler may | ||
| 4224 | # overwrite some of them when testing with obscure command lines. | ||
| 4225 | # This happens at least with the AIX C compiler. | ||
| 4226 | : > sub/conftest.c | ||
| 4227 | for i in 1 2 3 4 5 6; do | ||
| 4228 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | ||
| 4229 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | ||
| 4230 | # Solaris 10 /bin/sh. | ||
| 4231 | echo '/* dummy */' > sub/conftst$i.h | ||
| 4232 | done | ||
| 4233 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | ||
| 4234 | |||
| 4235 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | ||
| 4236 | # mode. It turns out that the SunPro C++ compiler does not properly | ||
| 4237 | # handle '-M -o', and we need to detect this. Also, some Intel | ||
| 4238 | # versions had trouble with output in subdirs. | ||
| 4239 | am__obj=sub/conftest.${OBJEXT-o} | ||
| 4240 | am__minus_obj="-o $am__obj" | ||
| 4241 | case $depmode in | ||
| 4242 | gcc) | ||
| 4243 | # This depmode causes a compiler race in universal mode. | ||
| 4244 | test "$am__universal" = false || continue | ||
| 4245 | ;; | ||
| 4246 | nosideeffect) | ||
| 4247 | # After this tag, mechanisms are not by side-effect, so they'll | ||
| 4248 | # only be used when explicitly requested. | ||
| 4249 | if test "x$enable_dependency_tracking" = xyes; then | ||
| 4250 | continue | ||
| 4251 | else | ||
| 4252 | break | ||
| 4253 | fi | ||
| 4254 | ;; | ||
| 4255 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | ||
| 4256 | # This compiler won't grok '-c -o', but also, the minuso test has | ||
| 4257 | # not run yet. These depmodes are late enough in the game, and | ||
| 4258 | # so weak that their functioning should not be impacted. | ||
| 4259 | am__obj=conftest.${OBJEXT-o} | ||
| 4260 | am__minus_obj= | ||
| 4261 | ;; | ||
| 4262 | none) break ;; | ||
| 4263 | esac | ||
| 4264 | if depmode=$depmode \ | ||
| 4265 | source=sub/conftest.c object=$am__obj \ | ||
| 4266 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | ||
| 4267 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | ||
| 4268 | >/dev/null 2>conftest.err && | ||
| 4269 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | ||
| 4270 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | ||
| 4271 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | ||
| 4272 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | ||
| 4273 | # icc doesn't choke on unknown options, it will just issue warnings | ||
| 4274 | # or remarks (even with -Werror). So we grep stderr for any message | ||
| 4275 | # that says an option was ignored or not supported. | ||
| 4276 | # When given -MP, icc 7.0 and 7.1 complain thusly: | ||
| 4277 | # icc: Command line warning: ignoring option '-M'; no argument required | ||
| 4278 | # The diagnosis changed in icc 8.0: | ||
| 4279 | # icc: Command line remark: option '-MP' not supported | ||
| 4280 | if (grep 'ignoring option' conftest.err || | ||
| 4281 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | ||
| 4282 | am_cv_CC_dependencies_compiler_type=$depmode | ||
| 4283 | break | ||
| 4284 | fi | ||
| 4285 | fi | ||
| 4286 | done | ||
| 4287 | |||
| 4288 | cd .. | ||
| 4289 | rm -rf conftest.dir | ||
| 4290 | else | ||
| 4291 | am_cv_CC_dependencies_compiler_type=none | ||
| 4292 | fi | ||
| 4293 | |||
| 4294 | fi | ||
| 4295 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 | ||
| 4296 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | ||
| 4297 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | ||
| 4298 | |||
| 4299 | if | ||
| 4300 | test "x$enable_dependency_tracking" != xno \ | ||
| 4301 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | ||
| 4302 | am__fastdepCC_TRUE= | ||
| 4303 | am__fastdepCC_FALSE='#' | ||
| 4304 | else | ||
| 4305 | am__fastdepCC_TRUE='#' | ||
| 4306 | am__fastdepCC_FALSE= | ||
| 4307 | fi | ||
| 4308 | |||
| 4309 | |||
| 4310 | |||
| 4311 | # POSIX will say in a future version that running "rm -f" with no argument | ||
| 4312 | # is OK; and we want to be able to make that assumption in our Makefile | ||
| 4313 | # recipes. So use an aggressive probe to check that the usage we want is | ||
| 4314 | # actually supported "in the wild" to an acceptable degree. | ||
| 4315 | # See automake bug#10828. | ||
| 4316 | # To make any issue more visible, cause the running configure to be aborted | ||
| 4317 | # by default if the 'rm' program in use doesn't match our expectations; the | ||
| 4318 | # user can still override this though. | ||
| 4319 | if rm -f && rm -fr && rm -rf; then : OK; else | ||
| 4320 | cat >&2 <<'END' | ||
| 4321 | Oops! | ||
| 4322 | |||
| 4323 | Your 'rm' program seems unable to run without file operands specified | ||
| 4324 | on the command line, even when the '-f' option is present. This is contrary | ||
| 4325 | to the behaviour of most rm programs out there, and not conforming with | ||
| 4326 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | ||
| 4327 | |||
| 4328 | Please tell bug-automake@gnu.org about your system, including the value | ||
| 4329 | of your $PATH and any error possibly output before this message. This | ||
| 4330 | can help us improve future automake versions. | ||
| 4331 | |||
| 4332 | END | ||
| 4333 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | ||
| 4334 | echo 'Configuration will proceed anyway, since you have set the' >&2 | ||
| 4335 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | ||
| 4336 | echo >&2 | ||
| 4337 | else | ||
| 4338 | cat >&2 <<'END' | ||
| 4339 | Aborting the configuration process, to ensure you take notice of the issue. | ||
| 4340 | |||
| 4341 | You can download and install GNU coreutils to get an 'rm' implementation | ||
| 4342 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | ||
| 4343 | |||
| 4344 | If you want to complete the configuration process using your problematic | ||
| 4345 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | ||
| 4346 | to "yes", and re-run configure. | ||
| 4347 | |||
| 4348 | END | ||
| 4349 | as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 | ||
| 4350 | fi | ||
| 4351 | fi | ||
| 4352 | |||
| 4353 | cat >confcache <<\_ACEOF | ||
| 4354 | # This file is a shell script that caches the results of configure | ||
| 4355 | # tests run on this system so they can be shared between configure | ||
| 4356 | # scripts and configure runs, see configure's option --config-cache. | ||
| 4357 | # It is not useful on other systems. If it contains results you don't | ||
| 4358 | # want to keep, you may remove or edit it. | ||
| 4359 | # | ||
| 4360 | # config.status only pays attention to the cache file if you give it | ||
| 4361 | # the --recheck option to rerun configure. | ||
| 4362 | # | ||
| 4363 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | ||
| 4364 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | ||
| 4365 | # following values. | ||
| 4366 | |||
| 4367 | _ACEOF | ||
| 4368 | |||
| 4369 | # The following way of writing the cache mishandles newlines in values, | ||
| 4370 | # but we know of no workaround that is simple, portable, and efficient. | ||
| 4371 | # So, we kill variables containing newlines. | ||
| 4372 | # Ultrix sh set writes to stderr and can't be redirected directly, | ||
| 4373 | # and sets the high bit in the cache file unless we assign to the vars. | ||
| 4374 | ( | ||
| 4375 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | ||
| 4376 | eval ac_val=\$$ac_var | ||
| 4377 | case $ac_val in #( | ||
| 4378 | *${as_nl}*) | ||
| 4379 | case $ac_var in #( | ||
| 4380 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | ||
| 4381 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | ||
| 4382 | esac | ||
| 4383 | case $ac_var in #( | ||
| 4384 | _ | IFS | as_nl) ;; #( | ||
| 4385 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | ||
| 4386 | *) { eval $ac_var=; unset $ac_var;} ;; | ||
| 4387 | esac ;; | ||
| 4388 | esac | ||
| 4389 | done | ||
| 4390 | |||
| 4391 | (set) 2>&1 | | ||
| 4392 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | ||
| 4393 | *${as_nl}ac_space=\ *) | ||
| 4394 | # `set' does not quote correctly, so add quotes: double-quote | ||
| 4395 | # substitution turns \\\\ into \\, and sed turns \\ into \. | ||
| 4396 | sed -n \ | ||
| 4397 | "s/'/'\\\\''/g; | ||
| 4398 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | ||
| 4399 | ;; #( | ||
| 4400 | *) | ||
| 4401 | # `set' quotes correctly as required by POSIX, so do not add quotes. | ||
| 4402 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | ||
| 4403 | ;; | ||
| 4404 | esac | | ||
| 4405 | sort | ||
| 4406 | ) | | ||
| 4407 | sed ' | ||
| 4408 | /^ac_cv_env_/b end | ||
| 4409 | t clear | ||
| 4410 | :clear | ||
| 4411 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | ||
| 4412 | t end | ||
| 4413 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | ||
| 4414 | :end' >>confcache | ||
| 4415 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | ||
| 4416 | if test -w "$cache_file"; then | ||
| 4417 | if test "x$cache_file" != "x/dev/null"; then | ||
| 4418 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | ||
| 4419 | $as_echo "$as_me: updating cache $cache_file" >&6;} | ||
| 4420 | if test ! -f "$cache_file" || test -h "$cache_file"; then | ||
| 4421 | cat confcache >"$cache_file" | ||
| 4422 | else | ||
| 4423 | case $cache_file in #( | ||
| 4424 | */* | ?:*) | ||
| 4425 | mv -f confcache "$cache_file"$$ && | ||
| 4426 | mv -f "$cache_file"$$ "$cache_file" ;; #( | ||
| 4427 | *) | ||
| 4428 | mv -f confcache "$cache_file" ;; | ||
| 4429 | esac | ||
| 4430 | fi | ||
| 4431 | fi | ||
| 4432 | else | ||
| 4433 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | ||
| 4434 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | ||
| 4435 | fi | ||
| 4436 | fi | ||
| 4437 | rm -f confcache | ||
| 4438 | |||
| 4439 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | ||
| 4440 | # Let make expand exec_prefix. | ||
| 4441 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | ||
| 4442 | |||
| 4443 | DEFS=-DHAVE_CONFIG_H | ||
| 4444 | |||
| 4445 | ac_libobjs= | ||
| 4446 | ac_ltlibobjs= | ||
| 4447 | U= | ||
| 4448 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | ||
| 4449 | # 1. Remove the extension, and $U if already installed. | ||
| 4450 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | ||
| 4451 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | ||
| 4452 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | ||
| 4453 | # will be set to the directory where LIBOBJS objects are built. | ||
| 4454 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | ||
| 4455 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | ||
| 4456 | done | ||
| 4457 | LIBOBJS=$ac_libobjs | ||
| 4458 | |||
| 4459 | LTLIBOBJS=$ac_ltlibobjs | ||
| 4460 | |||
| 4461 | |||
| 4462 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 | ||
| 4463 | $as_echo_n "checking that generated files are newer than configure... " >&6; } | ||
| 4464 | if test -n "$am_sleep_pid"; then | ||
| 4465 | # Hide warnings about reused PIDs. | ||
| 4466 | wait $am_sleep_pid 2>/dev/null | ||
| 4467 | fi | ||
| 4468 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 | ||
| 4469 | $as_echo "done" >&6; } | ||
| 4470 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | ||
| 4471 | as_fn_error $? "conditional \"AMDEP\" was never defined. | ||
| 4472 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | ||
| 4473 | fi | ||
| 4474 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | ||
| 4475 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | ||
| 4476 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | ||
| 4477 | fi | ||
| 4478 | if test -n "$EXEEXT"; then | ||
| 4479 | am__EXEEXT_TRUE= | ||
| 4480 | am__EXEEXT_FALSE='#' | ||
| 4481 | else | ||
| 4482 | am__EXEEXT_TRUE='#' | ||
| 4483 | am__EXEEXT_FALSE= | ||
| 4484 | fi | ||
| 4485 | |||
| 4486 | |||
| 4487 | : "${CONFIG_STATUS=./config.status}" | ||
| 4488 | ac_write_fail=0 | ||
| 4489 | ac_clean_files_save=$ac_clean_files | ||
| 4490 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | ||
| 4491 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | ||
| 4492 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | ||
| 4493 | as_write_fail=0 | ||
| 4494 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | ||
| 4495 | #! $SHELL | ||
| 4496 | # Generated by $as_me. | ||
| 4497 | # Run this file to recreate the current configuration. | ||
| 4498 | # Compiler output produced by configure, useful for debugging | ||
| 4499 | # configure, is in config.log if it exists. | ||
| 4500 | |||
| 4501 | debug=false | ||
| 4502 | ac_cs_recheck=false | ||
| 4503 | ac_cs_silent=false | ||
| 4504 | |||
| 4505 | SHELL=\${CONFIG_SHELL-$SHELL} | ||
| 4506 | export SHELL | ||
| 4507 | _ASEOF | ||
| 4508 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | ||
| 4509 | ## -------------------- ## | ||
| 4510 | ## M4sh Initialization. ## | ||
| 4511 | ## -------------------- ## | ||
| 4512 | |||
| 4513 | # Be more Bourne compatible | ||
| 4514 | DUALCASE=1; export DUALCASE # for MKS sh | ||
| 4515 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | ||
| 4516 | emulate sh | ||
| 4517 | NULLCMD=: | ||
| 4518 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
| 4519 | # is contrary to our usage. Disable this feature. | ||
| 4520 | alias -g '${1+"$@"}'='"$@"' | ||
| 4521 | setopt NO_GLOB_SUBST | ||
| 4522 | else | ||
| 4523 | case `(set -o) 2>/dev/null` in #( | ||
| 4524 | *posix*) : | ||
| 4525 | set -o posix ;; #( | ||
| 4526 | *) : | ||
| 4527 | ;; | ||
| 4528 | esac | ||
| 4529 | fi | ||
| 4530 | |||
| 4531 | |||
| 4532 | as_nl=' | ||
| 4533 | ' | ||
| 4534 | export as_nl | ||
| 4535 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | ||
| 4536 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | ||
| 4537 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | ||
| 4538 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | ||
| 4539 | # Prefer a ksh shell builtin over an external printf program on Solaris, | ||
| 4540 | # but without wasting forks for bash or zsh. | ||
| 4541 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | ||
| 4542 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 4543 | as_echo='print -r --' | ||
| 4544 | as_echo_n='print -rn --' | ||
| 4545 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 4546 | as_echo='printf %s\n' | ||
| 4547 | as_echo_n='printf %s' | ||
| 4548 | else | ||
| 4549 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | ||
| 4550 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | ||
| 4551 | as_echo_n='/usr/ucb/echo -n' | ||
| 4552 | else | ||
| 4553 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | ||
| 4554 | as_echo_n_body='eval | ||
| 4555 | arg=$1; | ||
| 4556 | case $arg in #( | ||
| 4557 | *"$as_nl"*) | ||
| 4558 | expr "X$arg" : "X\\(.*\\)$as_nl"; | ||
| 4559 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | ||
| 4560 | esac; | ||
| 4561 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | ||
| 4562 | ' | ||
| 4563 | export as_echo_n_body | ||
| 4564 | as_echo_n='sh -c $as_echo_n_body as_echo' | ||
| 4565 | fi | ||
| 4566 | export as_echo_body | ||
| 4567 | as_echo='sh -c $as_echo_body as_echo' | ||
| 4568 | fi | ||
| 4569 | |||
| 4570 | # The user is always right. | ||
| 4571 | if test "${PATH_SEPARATOR+set}" != set; then | ||
| 4572 | PATH_SEPARATOR=: | ||
| 4573 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | ||
| 4574 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | ||
| 4575 | PATH_SEPARATOR=';' | ||
| 4576 | } | ||
| 4577 | fi | ||
| 4578 | |||
| 4579 | |||
| 4580 | # IFS | ||
| 4581 | # We need space, tab and new line, in precisely that order. Quoting is | ||
| 4582 | # there to prevent editors from complaining about space-tab. | ||
| 4583 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | ||
| 4584 | # splitting by setting IFS to empty value.) | ||
| 4585 | IFS=" "" $as_nl" | ||
| 4586 | |||
| 4587 | # Find who we are. Look in the path if we contain no directory separator. | ||
| 4588 | as_myself= | ||
| 4589 | case $0 in #(( | ||
| 4590 | *[\\/]* ) as_myself=$0 ;; | ||
| 4591 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 4592 | for as_dir in $PATH | ||
| 4593 | do | ||
| 4594 | IFS=$as_save_IFS | ||
| 4595 | test -z "$as_dir" && as_dir=. | ||
| 4596 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
| 4597 | done | ||
| 4598 | IFS=$as_save_IFS | ||
| 4599 | |||
| 4600 | ;; | ||
| 4601 | esac | ||
| 4602 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
| 4603 | # in which case we are not to be found in the path. | ||
| 4604 | if test "x$as_myself" = x; then | ||
| 4605 | as_myself=$0 | ||
| 4606 | fi | ||
| 4607 | if test ! -f "$as_myself"; then | ||
| 4608 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
| 4609 | exit 1 | ||
| 4610 | fi | ||
| 4611 | |||
| 4612 | # Unset variables that we do not need and which cause bugs (e.g. in | ||
| 4613 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | ||
| 4614 | # suppresses any "Segmentation fault" message there. '((' could | ||
| 4615 | # trigger a bug in pdksh 5.2.14. | ||
| 4616 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
| 4617 | do eval test x\${$as_var+set} = xset \ | ||
| 4618 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
| 4619 | done | ||
| 4620 | PS1='$ ' | ||
| 4621 | PS2='> ' | ||
| 4622 | PS4='+ ' | ||
| 4623 | |||
| 4624 | # NLS nuisances. | ||
| 4625 | LC_ALL=C | ||
| 4626 | export LC_ALL | ||
| 4627 | LANGUAGE=C | ||
| 4628 | export LANGUAGE | ||
| 4629 | |||
| 4630 | # CDPATH. | ||
| 4631 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | ||
| 4632 | |||
| 4633 | |||
| 4634 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | ||
| 4635 | # ---------------------------------------- | ||
| 4636 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
| 4637 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
| 4638 | # script with STATUS, using 1 if that was 0. | ||
| 4639 | as_fn_error () | ||
| 4640 | { | ||
| 4641 | as_status=$1; test $as_status -eq 0 && as_status=1 | ||
| 4642 | if test "$4"; then | ||
| 4643 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 4644 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | ||
| 4645 | fi | ||
| 4646 | $as_echo "$as_me: error: $2" >&2 | ||
| 4647 | as_fn_exit $as_status | ||
| 4648 | } # as_fn_error | ||
| 4649 | |||
| 4650 | |||
| 4651 | # as_fn_set_status STATUS | ||
| 4652 | # ----------------------- | ||
| 4653 | # Set $? to STATUS, without forking. | ||
| 4654 | as_fn_set_status () | ||
| 4655 | { | ||
| 4656 | return $1 | ||
| 4657 | } # as_fn_set_status | ||
| 4658 | |||
| 4659 | # as_fn_exit STATUS | ||
| 4660 | # ----------------- | ||
| 4661 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | ||
| 4662 | as_fn_exit () | ||
| 4663 | { | ||
| 4664 | set +e | ||
| 4665 | as_fn_set_status $1 | ||
| 4666 | exit $1 | ||
| 4667 | } # as_fn_exit | ||
| 4668 | |||
| 4669 | # as_fn_unset VAR | ||
| 4670 | # --------------- | ||
| 4671 | # Portably unset VAR. | ||
| 4672 | as_fn_unset () | ||
| 4673 | { | ||
| 4674 | { eval $1=; unset $1;} | ||
| 4675 | } | ||
| 4676 | as_unset=as_fn_unset | ||
| 4677 | # as_fn_append VAR VALUE | ||
| 4678 | # ---------------------- | ||
| 4679 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
| 4680 | # advantage of any shell optimizations that allow amortized linear growth over | ||
| 4681 | # repeated appends, instead of the typical quadratic growth present in naive | ||
| 4682 | # implementations. | ||
| 4683 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
| 4684 | eval 'as_fn_append () | ||
| 4685 | { | ||
| 4686 | eval $1+=\$2 | ||
| 4687 | }' | ||
| 4688 | else | ||
| 4689 | as_fn_append () | ||
| 4690 | { | ||
| 4691 | eval $1=\$$1\$2 | ||
| 4692 | } | ||
| 4693 | fi # as_fn_append | ||
| 4694 | |||
| 4695 | # as_fn_arith ARG... | ||
| 4696 | # ------------------ | ||
| 4697 | # Perform arithmetic evaluation on the ARGs, and store the result in the | ||
| 4698 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | ||
| 4699 | # must be portable across $(()) and expr. | ||
| 4700 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | ||
| 4701 | eval 'as_fn_arith () | ||
| 4702 | { | ||
| 4703 | as_val=$(( $* )) | ||
| 4704 | }' | ||
| 4705 | else | ||
| 4706 | as_fn_arith () | ||
| 4707 | { | ||
| 4708 | as_val=`expr "$@" || test $? -eq 1` | ||
| 4709 | } | ||
| 4710 | fi # as_fn_arith | ||
| 4711 | |||
| 4712 | |||
| 4713 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
| 4714 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 4715 | as_expr=expr | ||
| 4716 | else | ||
| 4717 | as_expr=false | ||
| 4718 | fi | ||
| 4719 | |||
| 4720 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
| 4721 | as_basename=basename | ||
| 4722 | else | ||
| 4723 | as_basename=false | ||
| 4724 | fi | ||
| 4725 | |||
| 4726 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
| 4727 | as_dirname=dirname | ||
| 4728 | else | ||
| 4729 | as_dirname=false | ||
| 4730 | fi | ||
| 4731 | |||
| 4732 | as_me=`$as_basename -- "$0" || | ||
| 4733 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
| 4734 | X"$0" : 'X\(//\)$' \| \ | ||
| 4735 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
| 4736 | $as_echo X/"$0" | | ||
| 4737 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
| 4738 | s//\1/ | ||
| 4739 | q | ||
| 4740 | } | ||
| 4741 | /^X\/\(\/\/\)$/{ | ||
| 4742 | s//\1/ | ||
| 4743 | q | ||
| 4744 | } | ||
| 4745 | /^X\/\(\/\).*/{ | ||
| 4746 | s//\1/ | ||
| 4747 | q | ||
| 4748 | } | ||
| 4749 | s/.*/./; q'` | ||
| 4750 | |||
| 4751 | # Avoid depending upon Character Ranges. | ||
| 4752 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 4753 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 4754 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 4755 | as_cr_digits='0123456789' | ||
| 4756 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 4757 | |||
| 4758 | ECHO_C= ECHO_N= ECHO_T= | ||
| 4759 | case `echo -n x` in #((((( | ||
| 4760 | -n*) | ||
| 4761 | case `echo 'xy\c'` in | ||
| 4762 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
| 4763 | xy) ECHO_C='\c';; | ||
| 4764 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
| 4765 | ECHO_T=' ';; | ||
| 4766 | esac;; | ||
| 4767 | *) | ||
| 4768 | ECHO_N='-n';; | ||
| 4769 | esac | ||
| 4770 | |||
| 4771 | rm -f conf$$ conf$$.exe conf$$.file | ||
| 4772 | if test -d conf$$.dir; then | ||
| 4773 | rm -f conf$$.dir/conf$$.file | ||
| 4774 | else | ||
| 4775 | rm -f conf$$.dir | ||
| 4776 | mkdir conf$$.dir 2>/dev/null | ||
| 4777 | fi | ||
| 4778 | if (echo >conf$$.file) 2>/dev/null; then | ||
| 4779 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
| 4780 | as_ln_s='ln -s' | ||
| 4781 | # ... but there are two gotchas: | ||
| 4782 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | ||
| 4783 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | ||
| 4784 | # In both cases, we have to default to `cp -pR'. | ||
| 4785 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | ||
| 4786 | as_ln_s='cp -pR' | ||
| 4787 | elif ln conf$$.file conf$$ 2>/dev/null; then | ||
| 4788 | as_ln_s=ln | ||
| 4789 | else | ||
| 4790 | as_ln_s='cp -pR' | ||
| 4791 | fi | ||
| 4792 | else | ||
| 4793 | as_ln_s='cp -pR' | ||
| 4794 | fi | ||
| 4795 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | ||
| 4796 | rmdir conf$$.dir 2>/dev/null | ||
| 4797 | |||
| 4798 | |||
| 4799 | # as_fn_mkdir_p | ||
| 4800 | # ------------- | ||
| 4801 | # Create "$as_dir" as a directory, including parents if necessary. | ||
| 4802 | as_fn_mkdir_p () | ||
| 4803 | { | ||
| 4804 | |||
| 4805 | case $as_dir in #( | ||
| 4806 | -*) as_dir=./$as_dir;; | ||
| 4807 | esac | ||
| 4808 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
| 4809 | as_dirs= | ||
| 4810 | while :; do | ||
| 4811 | case $as_dir in #( | ||
| 4812 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
| 4813 | *) as_qdir=$as_dir;; | ||
| 4814 | esac | ||
| 4815 | as_dirs="'$as_qdir' $as_dirs" | ||
| 4816 | as_dir=`$as_dirname -- "$as_dir" || | ||
| 4817 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 4818 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
| 4819 | X"$as_dir" : 'X\(//\)$' \| \ | ||
| 4820 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
| 4821 | $as_echo X"$as_dir" | | ||
| 4822 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 4823 | s//\1/ | ||
| 4824 | q | ||
| 4825 | } | ||
| 4826 | /^X\(\/\/\)[^/].*/{ | ||
| 4827 | s//\1/ | ||
| 4828 | q | ||
| 4829 | } | ||
| 4830 | /^X\(\/\/\)$/{ | ||
| 4831 | s//\1/ | ||
| 4832 | q | ||
| 4833 | } | ||
| 4834 | /^X\(\/\).*/{ | ||
| 4835 | s//\1/ | ||
| 4836 | q | ||
| 4837 | } | ||
| 4838 | s/.*/./; q'` | ||
| 4839 | test -d "$as_dir" && break | ||
| 4840 | done | ||
| 4841 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
| 4842 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | ||
| 4843 | |||
| 4844 | |||
| 4845 | } # as_fn_mkdir_p | ||
| 4846 | if mkdir -p . 2>/dev/null; then | ||
| 4847 | as_mkdir_p='mkdir -p "$as_dir"' | ||
| 4848 | else | ||
| 4849 | test -d ./-p && rmdir ./-p | ||
| 4850 | as_mkdir_p=false | ||
| 4851 | fi | ||
| 4852 | |||
| 4853 | |||
| 4854 | # as_fn_executable_p FILE | ||
| 4855 | # ----------------------- | ||
| 4856 | # Test if FILE is an executable regular file. | ||
| 4857 | as_fn_executable_p () | ||
| 4858 | { | ||
| 4859 | test -f "$1" && test -x "$1" | ||
| 4860 | } # as_fn_executable_p | ||
| 4861 | as_test_x='test -x' | ||
| 4862 | as_executable_p=as_fn_executable_p | ||
| 4863 | |||
| 4864 | # Sed expression to map a string onto a valid CPP name. | ||
| 4865 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | ||
| 4866 | |||
| 4867 | # Sed expression to map a string onto a valid variable name. | ||
| 4868 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
| 4869 | |||
| 4870 | |||
| 4871 | exec 6>&1 | ||
| 4872 | ## ----------------------------------- ## | ||
| 4873 | ## Main body of $CONFIG_STATUS script. ## | ||
| 4874 | ## ----------------------------------- ## | ||
| 4875 | _ASEOF | ||
| 4876 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | ||
| 4877 | |||
| 4878 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 4879 | # Save the log message, to keep $0 and so on meaningful, and to | ||
| 4880 | # report actual input values of CONFIG_FILES etc. instead of their | ||
| 4881 | # values after options handling. | ||
| 4882 | ac_log=" | ||
| 4883 | This file was extended by life $as_me 1.0.0, which was | ||
| 4884 | generated by GNU Autoconf 2.69. Invocation command line was | ||
| 4885 | |||
| 4886 | CONFIG_FILES = $CONFIG_FILES | ||
| 4887 | CONFIG_HEADERS = $CONFIG_HEADERS | ||
| 4888 | CONFIG_LINKS = $CONFIG_LINKS | ||
| 4889 | CONFIG_COMMANDS = $CONFIG_COMMANDS | ||
| 4890 | $ $0 $@ | ||
| 4891 | |||
| 4892 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
| 4893 | " | ||
| 4894 | |||
| 4895 | _ACEOF | ||
| 4896 | |||
| 4897 | case $ac_config_files in *" | ||
| 4898 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | ||
| 4899 | esac | ||
| 4900 | |||
| 4901 | case $ac_config_headers in *" | ||
| 4902 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | ||
| 4903 | esac | ||
| 4904 | |||
| 4905 | |||
| 4906 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 4907 | # Files that config.status was made for. | ||
| 4908 | config_files="$ac_config_files" | ||
| 4909 | config_headers="$ac_config_headers" | ||
| 4910 | config_commands="$ac_config_commands" | ||
| 4911 | |||
| 4912 | _ACEOF | ||
| 4913 | |||
| 4914 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 4915 | ac_cs_usage="\ | ||
| 4916 | \`$as_me' instantiates files and other configuration actions | ||
| 4917 | from templates according to the current configuration. Unless the files | ||
| 4918 | and actions are specified as TAGs, all are instantiated by default. | ||
| 4919 | |||
| 4920 | Usage: $0 [OPTION]... [TAG]... | ||
| 4921 | |||
| 4922 | -h, --help print this help, then exit | ||
| 4923 | -V, --version print version number and configuration settings, then exit | ||
| 4924 | --config print configuration, then exit | ||
| 4925 | -q, --quiet, --silent | ||
| 4926 | do not print progress messages | ||
| 4927 | -d, --debug don't remove temporary files | ||
| 4928 | --recheck update $as_me by reconfiguring in the same conditions | ||
| 4929 | --file=FILE[:TEMPLATE] | ||
| 4930 | instantiate the configuration file FILE | ||
| 4931 | --header=FILE[:TEMPLATE] | ||
| 4932 | instantiate the configuration header FILE | ||
| 4933 | |||
| 4934 | Configuration files: | ||
| 4935 | $config_files | ||
| 4936 | |||
| 4937 | Configuration headers: | ||
| 4938 | $config_headers | ||
| 4939 | |||
| 4940 | Configuration commands: | ||
| 4941 | $config_commands | ||
| 4942 | |||
| 4943 | Report bugs to <aiden.woodruff@gmail.com>." | ||
| 4944 | |||
| 4945 | _ACEOF | ||
| 4946 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 4947 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | ||
| 4948 | ac_cs_version="\\ | ||
| 4949 | life config.status 1.0.0 | ||
| 4950 | configured by $0, generated by GNU Autoconf 2.69, | ||
| 4951 | with options \\"\$ac_cs_config\\" | ||
| 4952 | |||
| 4953 | Copyright (C) 2012 Free Software Foundation, Inc. | ||
| 4954 | This config.status script is free software; the Free Software Foundation | ||
| 4955 | gives unlimited permission to copy, distribute and modify it." | ||
| 4956 | |||
| 4957 | ac_pwd='$ac_pwd' | ||
| 4958 | srcdir='$srcdir' | ||
| 4959 | INSTALL='$INSTALL' | ||
| 4960 | MKDIR_P='$MKDIR_P' | ||
| 4961 | AWK='$AWK' | ||
| 4962 | test -n "\$AWK" || AWK=awk | ||
| 4963 | _ACEOF | ||
| 4964 | |||
| 4965 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 4966 | # The default lists apply if the user does not specify any file. | ||
| 4967 | ac_need_defaults=: | ||
| 4968 | while test $# != 0 | ||
| 4969 | do | ||
| 4970 | case $1 in | ||
| 4971 | --*=?*) | ||
| 4972 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | ||
| 4973 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | ||
| 4974 | ac_shift=: | ||
| 4975 | ;; | ||
| 4976 | --*=) | ||
| 4977 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | ||
| 4978 | ac_optarg= | ||
| 4979 | ac_shift=: | ||
| 4980 | ;; | ||
| 4981 | *) | ||
| 4982 | ac_option=$1 | ||
| 4983 | ac_optarg=$2 | ||
| 4984 | ac_shift=shift | ||
| 4985 | ;; | ||
| 4986 | esac | ||
| 4987 | |||
| 4988 | case $ac_option in | ||
| 4989 | # Handling of the options. | ||
| 4990 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | ||
| 4991 | ac_cs_recheck=: ;; | ||
| 4992 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | ||
| 4993 | $as_echo "$ac_cs_version"; exit ;; | ||
| 4994 | --config | --confi | --conf | --con | --co | --c ) | ||
| 4995 | $as_echo "$ac_cs_config"; exit ;; | ||
| 4996 | --debug | --debu | --deb | --de | --d | -d ) | ||
| 4997 | debug=: ;; | ||
| 4998 | --file | --fil | --fi | --f ) | ||
| 4999 | $ac_shift | ||
| 5000 | case $ac_optarg in | ||
| 5001 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
| 5002 | '') as_fn_error $? "missing file argument" ;; | ||
| 5003 | esac | ||
| 5004 | as_fn_append CONFIG_FILES " '$ac_optarg'" | ||
| 5005 | ac_need_defaults=false;; | ||
| 5006 | --header | --heade | --head | --hea ) | ||
| 5007 | $ac_shift | ||
| 5008 | case $ac_optarg in | ||
| 5009 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
| 5010 | esac | ||
| 5011 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" | ||
| 5012 | ac_need_defaults=false;; | ||
| 5013 | --he | --h) | ||
| 5014 | # Conflict between --help and --header | ||
| 5015 | as_fn_error $? "ambiguous option: \`$1' | ||
| 5016 | Try \`$0 --help' for more information.";; | ||
| 5017 | --help | --hel | -h ) | ||
| 5018 | $as_echo "$ac_cs_usage"; exit ;; | ||
| 5019 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
| 5020 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | ||
| 5021 | ac_cs_silent=: ;; | ||
| 5022 | |||
| 5023 | # This is an error. | ||
| 5024 | -*) as_fn_error $? "unrecognized option: \`$1' | ||
| 5025 | Try \`$0 --help' for more information." ;; | ||
| 5026 | |||
| 5027 | *) as_fn_append ac_config_targets " $1" | ||
| 5028 | ac_need_defaults=false ;; | ||
| 5029 | |||
| 5030 | esac | ||
| 5031 | shift | ||
| 5032 | done | ||
| 5033 | |||
| 5034 | ac_configure_extra_args= | ||
| 5035 | |||
| 5036 | if $ac_cs_silent; then | ||
| 5037 | exec 6>/dev/null | ||
| 5038 | ac_configure_extra_args="$ac_configure_extra_args --silent" | ||
| 5039 | fi | ||
| 5040 | |||
| 5041 | _ACEOF | ||
| 5042 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 5043 | if \$ac_cs_recheck; then | ||
| 5044 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | ||
| 5045 | shift | ||
| 5046 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | ||
| 5047 | CONFIG_SHELL='$SHELL' | ||
| 5048 | export CONFIG_SHELL | ||
| 5049 | exec "\$@" | ||
| 5050 | fi | ||
| 5051 | |||
| 5052 | _ACEOF | ||
| 5053 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 5054 | exec 5>>config.log | ||
| 5055 | { | ||
| 5056 | echo | ||
| 5057 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | ||
| 5058 | ## Running $as_me. ## | ||
| 5059 | _ASBOX | ||
| 5060 | $as_echo "$ac_log" | ||
| 5061 | } >&5 | ||
| 5062 | |||
| 5063 | _ACEOF | ||
| 5064 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 5065 | # | ||
| 5066 | # INIT-COMMANDS | ||
| 5067 | # | ||
| 5068 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | ||
| 5069 | |||
| 5070 | _ACEOF | ||
| 5071 | |||
| 5072 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 5073 | |||
| 5074 | # Handling of arguments. | ||
| 5075 | for ac_config_target in $ac_config_targets | ||
| 5076 | do | ||
| 5077 | case $ac_config_target in | ||
| 5078 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | ||
| 5079 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | ||
| 5080 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | ||
| 5081 | |||
| 5082 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | ||
| 5083 | esac | ||
| 5084 | done | ||
| 5085 | |||
| 5086 | |||
| 5087 | # If the user did not use the arguments to specify the items to instantiate, | ||
| 5088 | # then the envvar interface is used. Set only those that are not. | ||
| 5089 | # We use the long form for the default assignment because of an extremely | ||
| 5090 | # bizarre bug on SunOS 4.1.3. | ||
| 5091 | if $ac_need_defaults; then | ||
| 5092 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | ||
| 5093 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | ||
| 5094 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | ||
| 5095 | fi | ||
| 5096 | |||
| 5097 | # Have a temporary directory for convenience. Make it in the build tree | ||
| 5098 | # simply because there is no reason against having it here, and in addition, | ||
| 5099 | # creating and moving files from /tmp can sometimes cause problems. | ||
| 5100 | # Hook for its removal unless debugging. | ||
| 5101 | # Note that there is a small window in which the directory will not be cleaned: | ||
| 5102 | # after its creation but before its name has been assigned to `$tmp'. | ||
| 5103 | $debug || | ||
| 5104 | { | ||
| 5105 | tmp= ac_tmp= | ||
| 5106 | trap 'exit_status=$? | ||
| 5107 | : "${ac_tmp:=$tmp}" | ||
| 5108 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | ||
| 5109 | ' 0 | ||
| 5110 | trap 'as_fn_exit 1' 1 2 13 15 | ||
| 5111 | } | ||
| 5112 | # Create a (secure) tmp directory for tmp files. | ||
| 5113 | |||
| 5114 | { | ||
| 5115 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | ||
| 5116 | test -d "$tmp" | ||
| 5117 | } || | ||
| 5118 | { | ||
| 5119 | tmp=./conf$$-$RANDOM | ||
| 5120 | (umask 077 && mkdir "$tmp") | ||
| 5121 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | ||
| 5122 | ac_tmp=$tmp | ||
| 5123 | |||
| 5124 | # Set up the scripts for CONFIG_FILES section. | ||
| 5125 | # No need to generate them if there are no CONFIG_FILES. | ||
| 5126 | # This happens for instance with `./config.status config.h'. | ||
| 5127 | if test -n "$CONFIG_FILES"; then | ||
| 5128 | |||
| 5129 | |||
| 5130 | ac_cr=`echo X | tr X '\015'` | ||
| 5131 | # On cygwin, bash can eat \r inside `` if the user requested igncr. | ||
| 5132 | # But we know of no other shell where ac_cr would be empty at this | ||
| 5133 | # point, so we can use a bashism as a fallback. | ||
| 5134 | if test "x$ac_cr" = x; then | ||
| 5135 | eval ac_cr=\$\'\\r\' | ||
| 5136 | fi | ||
| 5137 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | ||
| 5138 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | ||
| 5139 | ac_cs_awk_cr='\\r' | ||
| 5140 | else | ||
| 5141 | ac_cs_awk_cr=$ac_cr | ||
| 5142 | fi | ||
| 5143 | |||
| 5144 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | ||
| 5145 | _ACEOF | ||
| 5146 | |||
| 5147 | |||
| 5148 | { | ||
| 5149 | echo "cat >conf$$subs.awk <<_ACEOF" && | ||
| 5150 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | ||
| 5151 | echo "_ACEOF" | ||
| 5152 | } >conf$$subs.sh || | ||
| 5153 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | ||
| 5154 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | ||
| 5155 | ac_delim='%!_!# ' | ||
| 5156 | for ac_last_try in false false false false false :; do | ||
| 5157 | . ./conf$$subs.sh || | ||
| 5158 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | ||
| 5159 | |||
| 5160 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | ||
| 5161 | if test $ac_delim_n = $ac_delim_num; then | ||
| 5162 | break | ||
| 5163 | elif $ac_last_try; then | ||
| 5164 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | ||
| 5165 | else | ||
| 5166 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | ||
| 5167 | fi | ||
| 5168 | done | ||
| 5169 | rm -f conf$$subs.sh | ||
| 5170 | |||
| 5171 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 5172 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | ||
| 5173 | _ACEOF | ||
| 5174 | sed -n ' | ||
| 5175 | h | ||
| 5176 | s/^/S["/; s/!.*/"]=/ | ||
| 5177 | p | ||
| 5178 | g | ||
| 5179 | s/^[^!]*!// | ||
| 5180 | :repl | ||
| 5181 | t repl | ||
| 5182 | s/'"$ac_delim"'$// | ||
| 5183 | t delim | ||
| 5184 | :nl | ||
| 5185 | h | ||
| 5186 | s/\(.\{148\}\)..*/\1/ | ||
| 5187 | t more1 | ||
| 5188 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | ||
| 5189 | p | ||
| 5190 | n | ||
| 5191 | b repl | ||
| 5192 | :more1 | ||
| 5193 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
| 5194 | p | ||
| 5195 | g | ||
| 5196 | s/.\{148\}// | ||
| 5197 | t nl | ||
| 5198 | :delim | ||
| 5199 | h | ||
| 5200 | s/\(.\{148\}\)..*/\1/ | ||
| 5201 | t more2 | ||
| 5202 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | ||
| 5203 | p | ||
| 5204 | b | ||
| 5205 | :more2 | ||
| 5206 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
| 5207 | p | ||
| 5208 | g | ||
| 5209 | s/.\{148\}// | ||
| 5210 | t delim | ||
| 5211 | ' <conf$$subs.awk | sed ' | ||
| 5212 | /^[^""]/{ | ||
| 5213 | N | ||
| 5214 | s/\n// | ||
| 5215 | } | ||
| 5216 | ' >>$CONFIG_STATUS || ac_write_fail=1 | ||
| 5217 | rm -f conf$$subs.awk | ||
| 5218 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 5219 | _ACAWK | ||
| 5220 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | ||
| 5221 | for (key in S) S_is_set[key] = 1 | ||
| 5222 | FS = "" | ||
| 5223 | |||
| 5224 | } | ||
| 5225 | { | ||
| 5226 | line = $ 0 | ||
| 5227 | nfields = split(line, field, "@") | ||
| 5228 | substed = 0 | ||
| 5229 | len = length(field[1]) | ||
| 5230 | for (i = 2; i < nfields; i++) { | ||
| 5231 | key = field[i] | ||
| 5232 | keylen = length(key) | ||
| 5233 | if (S_is_set[key]) { | ||
| 5234 | value = S[key] | ||
| 5235 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | ||
| 5236 | len += length(value) + length(field[++i]) | ||
| 5237 | substed = 1 | ||
| 5238 | } else | ||
| 5239 | len += 1 + keylen | ||
| 5240 | } | ||
| 5241 | |||
| 5242 | print line | ||
| 5243 | } | ||
| 5244 | |||
| 5245 | _ACAWK | ||
| 5246 | _ACEOF | ||
| 5247 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 5248 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | ||
| 5249 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | ||
| 5250 | else | ||
| 5251 | cat | ||
| 5252 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | ||
| 5253 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | ||
| 5254 | _ACEOF | ||
| 5255 | |||
| 5256 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | ||
| 5257 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | ||
| 5258 | # trailing colons and then remove the whole line if VPATH becomes empty | ||
| 5259 | # (actually we leave an empty line to preserve line numbers). | ||
| 5260 | if test "x$srcdir" = x.; then | ||
| 5261 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | ||
| 5262 | h | ||
| 5263 | s/// | ||
| 5264 | s/^/:/ | ||
| 5265 | s/[ ]*$/:/ | ||
| 5266 | s/:\$(srcdir):/:/g | ||
| 5267 | s/:\${srcdir}:/:/g | ||
| 5268 | s/:@srcdir@:/:/g | ||
| 5269 | s/^:*// | ||
| 5270 | s/:*$// | ||
| 5271 | x | ||
| 5272 | s/\(=[ ]*\).*/\1/ | ||
| 5273 | G | ||
| 5274 | s/\n// | ||
| 5275 | s/^[^=]*=[ ]*$// | ||
| 5276 | }' | ||
| 5277 | fi | ||
| 5278 | |||
| 5279 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 5280 | fi # test -n "$CONFIG_FILES" | ||
| 5281 | |||
| 5282 | # Set up the scripts for CONFIG_HEADERS section. | ||
| 5283 | # No need to generate them if there are no CONFIG_HEADERS. | ||
| 5284 | # This happens for instance with `./config.status Makefile'. | ||
| 5285 | if test -n "$CONFIG_HEADERS"; then | ||
| 5286 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || | ||
| 5287 | BEGIN { | ||
| 5288 | _ACEOF | ||
| 5289 | |||
| 5290 | # Transform confdefs.h into an awk script `defines.awk', embedded as | ||
| 5291 | # here-document in config.status, that substitutes the proper values into | ||
| 5292 | # config.h.in to produce config.h. | ||
| 5293 | |||
| 5294 | # Create a delimiter string that does not exist in confdefs.h, to ease | ||
| 5295 | # handling of long lines. | ||
| 5296 | ac_delim='%!_!# ' | ||
| 5297 | for ac_last_try in false false :; do | ||
| 5298 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` | ||
| 5299 | if test -z "$ac_tt"; then | ||
| 5300 | break | ||
| 5301 | elif $ac_last_try; then | ||
| 5302 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 | ||
| 5303 | else | ||
| 5304 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | ||
| 5305 | fi | ||
| 5306 | done | ||
| 5307 | |||
| 5308 | # For the awk script, D is an array of macro values keyed by name, | ||
| 5309 | # likewise P contains macro parameters if any. Preserve backslash | ||
| 5310 | # newline sequences. | ||
| 5311 | |||
| 5312 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | ||
| 5313 | sed -n ' | ||
| 5314 | s/.\{148\}/&'"$ac_delim"'/g | ||
| 5315 | t rset | ||
| 5316 | :rset | ||
| 5317 | s/^[ ]*#[ ]*define[ ][ ]*/ / | ||
| 5318 | t def | ||
| 5319 | d | ||
| 5320 | :def | ||
| 5321 | s/\\$// | ||
| 5322 | t bsnl | ||
| 5323 | s/["\\]/\\&/g | ||
| 5324 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | ||
| 5325 | D["\1"]=" \3"/p | ||
| 5326 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | ||
| 5327 | d | ||
| 5328 | :bsnl | ||
| 5329 | s/["\\]/\\&/g | ||
| 5330 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | ||
| 5331 | D["\1"]=" \3\\\\\\n"\\/p | ||
| 5332 | t cont | ||
| 5333 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | ||
| 5334 | t cont | ||
| 5335 | d | ||
| 5336 | :cont | ||
| 5337 | n | ||
| 5338 | s/.\{148\}/&'"$ac_delim"'/g | ||
| 5339 | t clear | ||
| 5340 | :clear | ||
| 5341 | s/\\$// | ||
| 5342 | t bsnlc | ||
| 5343 | s/["\\]/\\&/g; s/^/"/; s/$/"/p | ||
| 5344 | d | ||
| 5345 | :bsnlc | ||
| 5346 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | ||
| 5347 | b cont | ||
| 5348 | ' <confdefs.h | sed ' | ||
| 5349 | s/'"$ac_delim"'/"\\\ | ||
| 5350 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 | ||
| 5351 | |||
| 5352 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 5353 | for (key in D) D_is_set[key] = 1 | ||
| 5354 | FS = "" | ||
| 5355 | } | ||
| 5356 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | ||
| 5357 | line = \$ 0 | ||
| 5358 | split(line, arg, " ") | ||
| 5359 | if (arg[1] == "#") { | ||
| 5360 | defundef = arg[2] | ||
| 5361 | mac1 = arg[3] | ||
| 5362 | } else { | ||
| 5363 | defundef = substr(arg[1], 2) | ||
| 5364 | mac1 = arg[2] | ||
| 5365 | } | ||
| 5366 | split(mac1, mac2, "(") #) | ||
| 5367 | macro = mac2[1] | ||
| 5368 | prefix = substr(line, 1, index(line, defundef) - 1) | ||
| 5369 | if (D_is_set[macro]) { | ||
| 5370 | # Preserve the white space surrounding the "#". | ||
| 5371 | print prefix "define", macro P[macro] D[macro] | ||
| 5372 | next | ||
| 5373 | } else { | ||
| 5374 | # Replace #undef with comments. This is necessary, for example, | ||
| 5375 | # in the case of _POSIX_SOURCE, which is predefined and required | ||
| 5376 | # on some systems where configure will not decide to define it. | ||
| 5377 | if (defundef == "undef") { | ||
| 5378 | print "/*", prefix defundef, macro, "*/" | ||
| 5379 | next | ||
| 5380 | } | ||
| 5381 | } | ||
| 5382 | } | ||
| 5383 | { print } | ||
| 5384 | _ACAWK | ||
| 5385 | _ACEOF | ||
| 5386 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 5387 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | ||
| 5388 | fi # test -n "$CONFIG_HEADERS" | ||
| 5389 | |||
| 5390 | |||
| 5391 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | ||
| 5392 | shift | ||
| 5393 | for ac_tag | ||
| 5394 | do | ||
| 5395 | case $ac_tag in | ||
| 5396 | :[FHLC]) ac_mode=$ac_tag; continue;; | ||
| 5397 | esac | ||
| 5398 | case $ac_mode$ac_tag in | ||
| 5399 | :[FHL]*:*);; | ||
| 5400 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | ||
| 5401 | :[FH]-) ac_tag=-:-;; | ||
| 5402 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | ||
| 5403 | esac | ||
| 5404 | ac_save_IFS=$IFS | ||
| 5405 | IFS=: | ||
| 5406 | set x $ac_tag | ||
| 5407 | IFS=$ac_save_IFS | ||
| 5408 | shift | ||
| 5409 | ac_file=$1 | ||
| 5410 | shift | ||
| 5411 | |||
| 5412 | case $ac_mode in | ||
| 5413 | :L) ac_source=$1;; | ||
| 5414 | :[FH]) | ||
| 5415 | ac_file_inputs= | ||
| 5416 | for ac_f | ||
| 5417 | do | ||
| 5418 | case $ac_f in | ||
| 5419 | -) ac_f="$ac_tmp/stdin";; | ||
| 5420 | *) # Look for the file first in the build tree, then in the source tree | ||
| 5421 | # (if the path is not absolute). The absolute path cannot be DOS-style, | ||
| 5422 | # because $ac_f cannot contain `:'. | ||
| 5423 | test -f "$ac_f" || | ||
| 5424 | case $ac_f in | ||
| 5425 | [\\/$]*) false;; | ||
| 5426 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | ||
| 5427 | esac || | ||
| 5428 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | ||
| 5429 | esac | ||
| 5430 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | ||
| 5431 | as_fn_append ac_file_inputs " '$ac_f'" | ||
| 5432 | done | ||
| 5433 | |||
| 5434 | # Let's still pretend it is `configure' which instantiates (i.e., don't | ||
| 5435 | # use $as_me), people would be surprised to read: | ||
| 5436 | # /* config.h. Generated by config.status. */ | ||
| 5437 | configure_input='Generated from '` | ||
| 5438 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | ||
| 5439 | `' by configure.' | ||
| 5440 | if test x"$ac_file" != x-; then | ||
| 5441 | configure_input="$ac_file. $configure_input" | ||
| 5442 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | ||
| 5443 | $as_echo "$as_me: creating $ac_file" >&6;} | ||
| 5444 | fi | ||
| 5445 | # Neutralize special characters interpreted by sed in replacement strings. | ||
| 5446 | case $configure_input in #( | ||
| 5447 | *\&* | *\|* | *\\* ) | ||
| 5448 | ac_sed_conf_input=`$as_echo "$configure_input" | | ||
| 5449 | sed 's/[\\\\&|]/\\\\&/g'`;; #( | ||
| 5450 | *) ac_sed_conf_input=$configure_input;; | ||
| 5451 | esac | ||
| 5452 | |||
| 5453 | case $ac_tag in | ||
| 5454 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ | ||
| 5455 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | ||
| 5456 | esac | ||
| 5457 | ;; | ||
| 5458 | esac | ||
| 5459 | |||
| 5460 | ac_dir=`$as_dirname -- "$ac_file" || | ||
| 5461 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 5462 | X"$ac_file" : 'X\(//\)[^/]' \| \ | ||
| 5463 | X"$ac_file" : 'X\(//\)$' \| \ | ||
| 5464 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | ||
| 5465 | $as_echo X"$ac_file" | | ||
| 5466 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 5467 | s//\1/ | ||
| 5468 | q | ||
| 5469 | } | ||
| 5470 | /^X\(\/\/\)[^/].*/{ | ||
| 5471 | s//\1/ | ||
| 5472 | q | ||
| 5473 | } | ||
| 5474 | /^X\(\/\/\)$/{ | ||
| 5475 | s//\1/ | ||
| 5476 | q | ||
| 5477 | } | ||
| 5478 | /^X\(\/\).*/{ | ||
| 5479 | s//\1/ | ||
| 5480 | q | ||
| 5481 | } | ||
| 5482 | s/.*/./; q'` | ||
| 5483 | as_dir="$ac_dir"; as_fn_mkdir_p | ||
| 5484 | ac_builddir=. | ||
| 5485 | |||
| 5486 | case "$ac_dir" in | ||
| 5487 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
| 5488 | *) | ||
| 5489 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | ||
| 5490 | # A ".." for each directory in $ac_dir_suffix. | ||
| 5491 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | ||
| 5492 | case $ac_top_builddir_sub in | ||
| 5493 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
| 5494 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | ||
| 5495 | esac ;; | ||
| 5496 | esac | ||
| 5497 | ac_abs_top_builddir=$ac_pwd | ||
| 5498 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
| 5499 | # for backward compatibility: | ||
| 5500 | ac_top_builddir=$ac_top_build_prefix | ||
| 5501 | |||
| 5502 | case $srcdir in | ||
| 5503 | .) # We are building in place. | ||
| 5504 | ac_srcdir=. | ||
| 5505 | ac_top_srcdir=$ac_top_builddir_sub | ||
| 5506 | ac_abs_top_srcdir=$ac_pwd ;; | ||
| 5507 | [\\/]* | ?:[\\/]* ) # Absolute name. | ||
| 5508 | ac_srcdir=$srcdir$ac_dir_suffix; | ||
| 5509 | ac_top_srcdir=$srcdir | ||
| 5510 | ac_abs_top_srcdir=$srcdir ;; | ||
| 5511 | *) # Relative name. | ||
| 5512 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | ||
| 5513 | ac_top_srcdir=$ac_top_build_prefix$srcdir | ||
| 5514 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | ||
| 5515 | esac | ||
| 5516 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | ||
| 5517 | |||
| 5518 | |||
| 5519 | case $ac_mode in | ||
| 5520 | :F) | ||
| 5521 | # | ||
| 5522 | # CONFIG_FILE | ||
| 5523 | # | ||
| 5524 | |||
| 5525 | case $INSTALL in | ||
| 5526 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | ||
| 5527 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | ||
| 5528 | esac | ||
| 5529 | ac_MKDIR_P=$MKDIR_P | ||
| 5530 | case $MKDIR_P in | ||
| 5531 | [\\/$]* | ?:[\\/]* ) ;; | ||
| 5532 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | ||
| 5533 | esac | ||
| 5534 | _ACEOF | ||
| 5535 | |||
| 5536 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 5537 | # If the template does not know about datarootdir, expand it. | ||
| 5538 | # FIXME: This hack should be removed a few years after 2.60. | ||
| 5539 | ac_datarootdir_hack=; ac_datarootdir_seen= | ||
| 5540 | ac_sed_dataroot=' | ||
| 5541 | /datarootdir/ { | ||
| 5542 | p | ||
| 5543 | q | ||
| 5544 | } | ||
| 5545 | /@datadir@/p | ||
| 5546 | /@docdir@/p | ||
| 5547 | /@infodir@/p | ||
| 5548 | /@localedir@/p | ||
| 5549 | /@mandir@/p' | ||
| 5550 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | ||
| 5551 | *datarootdir*) ac_datarootdir_seen=yes;; | ||
| 5552 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | ||
| 5553 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | ||
| 5554 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | ||
| 5555 | _ACEOF | ||
| 5556 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 5557 | ac_datarootdir_hack=' | ||
| 5558 | s&@datadir@&$datadir&g | ||
| 5559 | s&@docdir@&$docdir&g | ||
| 5560 | s&@infodir@&$infodir&g | ||
| 5561 | s&@localedir@&$localedir&g | ||
| 5562 | s&@mandir@&$mandir&g | ||
| 5563 | s&\\\${datarootdir}&$datarootdir&g' ;; | ||
| 5564 | esac | ||
| 5565 | _ACEOF | ||
| 5566 | |||
| 5567 | # Neutralize VPATH when `$srcdir' = `.'. | ||
| 5568 | # Shell code in configure.ac might set extrasub. | ||
| 5569 | # FIXME: do we really want to maintain this feature? | ||
| 5570 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 5571 | ac_sed_extra="$ac_vpsub | ||
| 5572 | $extrasub | ||
| 5573 | _ACEOF | ||
| 5574 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 5575 | :t | ||
| 5576 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | ||
| 5577 | s|@configure_input@|$ac_sed_conf_input|;t t | ||
| 5578 | s&@top_builddir@&$ac_top_builddir_sub&;t t | ||
| 5579 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | ||
| 5580 | s&@srcdir@&$ac_srcdir&;t t | ||
| 5581 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | ||
| 5582 | s&@top_srcdir@&$ac_top_srcdir&;t t | ||
| 5583 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | ||
| 5584 | s&@builddir@&$ac_builddir&;t t | ||
| 5585 | s&@abs_builddir@&$ac_abs_builddir&;t t | ||
| 5586 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | ||
| 5587 | s&@INSTALL@&$ac_INSTALL&;t t | ||
| 5588 | s&@MKDIR_P@&$ac_MKDIR_P&;t t | ||
| 5589 | $ac_datarootdir_hack | ||
| 5590 | " | ||
| 5591 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | ||
| 5592 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
| 5593 | |||
| 5594 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | ||
| 5595 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | ||
| 5596 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ | ||
| 5597 | "$ac_tmp/out"`; test -z "$ac_out"; } && | ||
| 5598 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | ||
| 5599 | which seems to be undefined. Please make sure it is defined" >&5 | ||
| 5600 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | ||
| 5601 | which seems to be undefined. Please make sure it is defined" >&2;} | ||
| 5602 | |||
| 5603 | rm -f "$ac_tmp/stdin" | ||
| 5604 | case $ac_file in | ||
| 5605 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | ||
| 5606 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | ||
| 5607 | esac \ | ||
| 5608 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
| 5609 | ;; | ||
| 5610 | :H) | ||
| 5611 | # | ||
| 5612 | # CONFIG_HEADER | ||
| 5613 | # | ||
| 5614 | if test x"$ac_file" != x-; then | ||
| 5615 | { | ||
| 5616 | $as_echo "/* $configure_input */" \ | ||
| 5617 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" | ||
| 5618 | } >"$ac_tmp/config.h" \ | ||
| 5619 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
| 5620 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then | ||
| 5621 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | ||
| 5622 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | ||
| 5623 | else | ||
| 5624 | rm -f "$ac_file" | ||
| 5625 | mv "$ac_tmp/config.h" "$ac_file" \ | ||
| 5626 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
| 5627 | fi | ||
| 5628 | else | ||
| 5629 | $as_echo "/* $configure_input */" \ | ||
| 5630 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ | ||
| 5631 | || as_fn_error $? "could not create -" "$LINENO" 5 | ||
| 5632 | fi | ||
| 5633 | # Compute "$ac_file"'s index in $config_headers. | ||
| 5634 | _am_arg="$ac_file" | ||
| 5635 | _am_stamp_count=1 | ||
| 5636 | for _am_header in $config_headers :; do | ||
| 5637 | case $_am_header in | ||
| 5638 | $_am_arg | $_am_arg:* ) | ||
| 5639 | break ;; | ||
| 5640 | * ) | ||
| 5641 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | ||
| 5642 | esac | ||
| 5643 | done | ||
| 5644 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || | ||
| 5645 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 5646 | X"$_am_arg" : 'X\(//\)[^/]' \| \ | ||
| 5647 | X"$_am_arg" : 'X\(//\)$' \| \ | ||
| 5648 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || | ||
| 5649 | $as_echo X"$_am_arg" | | ||
| 5650 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 5651 | s//\1/ | ||
| 5652 | q | ||
| 5653 | } | ||
| 5654 | /^X\(\/\/\)[^/].*/{ | ||
| 5655 | s//\1/ | ||
| 5656 | q | ||
| 5657 | } | ||
| 5658 | /^X\(\/\/\)$/{ | ||
| 5659 | s//\1/ | ||
| 5660 | q | ||
| 5661 | } | ||
| 5662 | /^X\(\/\).*/{ | ||
| 5663 | s//\1/ | ||
| 5664 | q | ||
| 5665 | } | ||
| 5666 | s/.*/./; q'`/stamp-h$_am_stamp_count | ||
| 5667 | ;; | ||
| 5668 | |||
| 5669 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | ||
| 5670 | $as_echo "$as_me: executing $ac_file commands" >&6;} | ||
| 5671 | ;; | ||
| 5672 | esac | ||
| 5673 | |||
| 5674 | |||
| 5675 | case $ac_file$ac_mode in | ||
| 5676 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { | ||
| 5677 | # Older Autoconf quotes --file arguments for eval, but not when files | ||
| 5678 | # are listed without --file. Let's play safe and only enable the eval | ||
| 5679 | # if we detect the quoting. | ||
| 5680 | case $CONFIG_FILES in | ||
| 5681 | *\'*) eval set x "$CONFIG_FILES" ;; | ||
| 5682 | *) set x $CONFIG_FILES ;; | ||
| 5683 | esac | ||
| 5684 | shift | ||
| 5685 | for mf | ||
| 5686 | do | ||
| 5687 | # Strip MF so we end up with the name of the file. | ||
| 5688 | mf=`echo "$mf" | sed -e 's/:.*$//'` | ||
| 5689 | # Check whether this is an Automake generated Makefile or not. | ||
| 5690 | # We used to match only the files named 'Makefile.in', but | ||
| 5691 | # some people rename them; so instead we look at the file content. | ||
| 5692 | # Grep'ing the first line is not enough: some people post-process | ||
| 5693 | # each Makefile.in and add a new line on top of each file to say so. | ||
| 5694 | # Grep'ing the whole file is not good either: AIX grep has a line | ||
| 5695 | # limit of 2048, but all sed's we know have understand at least 4000. | ||
| 5696 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | ||
| 5697 | dirpart=`$as_dirname -- "$mf" || | ||
| 5698 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 5699 | X"$mf" : 'X\(//\)[^/]' \| \ | ||
| 5700 | X"$mf" : 'X\(//\)$' \| \ | ||
| 5701 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || | ||
| 5702 | $as_echo X"$mf" | | ||
| 5703 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 5704 | s//\1/ | ||
| 5705 | q | ||
| 5706 | } | ||
| 5707 | /^X\(\/\/\)[^/].*/{ | ||
| 5708 | s//\1/ | ||
| 5709 | q | ||
| 5710 | } | ||
| 5711 | /^X\(\/\/\)$/{ | ||
| 5712 | s//\1/ | ||
| 5713 | q | ||
| 5714 | } | ||
| 5715 | /^X\(\/\).*/{ | ||
| 5716 | s//\1/ | ||
| 5717 | q | ||
| 5718 | } | ||
| 5719 | s/.*/./; q'` | ||
| 5720 | else | ||
| 5721 | continue | ||
| 5722 | fi | ||
| 5723 | # Extract the definition of DEPDIR, am__include, and am__quote | ||
| 5724 | # from the Makefile without running 'make'. | ||
| 5725 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | ||
| 5726 | test -z "$DEPDIR" && continue | ||
| 5727 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | ||
| 5728 | test -z "$am__include" && continue | ||
| 5729 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | ||
| 5730 | # Find all dependency output files, they are included files with | ||
| 5731 | # $(DEPDIR) in their names. We invoke sed twice because it is the | ||
| 5732 | # simplest approach to changing $(DEPDIR) to its actual value in the | ||
| 5733 | # expansion. | ||
| 5734 | for file in `sed -n " | ||
| 5735 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | ||
| 5736 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | ||
| 5737 | # Make sure the directory exists. | ||
| 5738 | test -f "$dirpart/$file" && continue | ||
| 5739 | fdir=`$as_dirname -- "$file" || | ||
| 5740 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 5741 | X"$file" : 'X\(//\)[^/]' \| \ | ||
| 5742 | X"$file" : 'X\(//\)$' \| \ | ||
| 5743 | X"$file" : 'X\(/\)' \| . 2>/dev/null || | ||
| 5744 | $as_echo X"$file" | | ||
| 5745 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 5746 | s//\1/ | ||
| 5747 | q | ||
| 5748 | } | ||
| 5749 | /^X\(\/\/\)[^/].*/{ | ||
| 5750 | s//\1/ | ||
| 5751 | q | ||
| 5752 | } | ||
| 5753 | /^X\(\/\/\)$/{ | ||
| 5754 | s//\1/ | ||
| 5755 | q | ||
| 5756 | } | ||
| 5757 | /^X\(\/\).*/{ | ||
| 5758 | s//\1/ | ||
| 5759 | q | ||
| 5760 | } | ||
| 5761 | s/.*/./; q'` | ||
| 5762 | as_dir=$dirpart/$fdir; as_fn_mkdir_p | ||
| 5763 | # echo "creating $dirpart/$file" | ||
| 5764 | echo '# dummy' > "$dirpart/$file" | ||
| 5765 | done | ||
| 5766 | done | ||
| 5767 | } | ||
| 5768 | ;; | ||
| 5769 | |||
| 5770 | esac | ||
| 5771 | done # for ac_tag | ||
| 5772 | |||
| 5773 | |||
| 5774 | as_fn_exit 0 | ||
| 5775 | _ACEOF | ||
| 5776 | ac_clean_files=$ac_clean_files_save | ||
| 5777 | |||
| 5778 | test $ac_write_fail = 0 || | ||
| 5779 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | ||
| 5780 | |||
| 5781 | |||
| 5782 | # configure is writing to config.log, and then calls config.status. | ||
| 5783 | # config.status does its own redirection, appending to config.log. | ||
| 5784 | # Unfortunately, on DOS this fails, as config.log is still kept open | ||
| 5785 | # by configure, so config.status won't be able to write to it; its | ||
| 5786 | # output is simply discarded. So we exec the FD to /dev/null, | ||
| 5787 | # effectively closing config.log, so it can be properly (re)opened and | ||
| 5788 | # appended to by config.status. When coming back to configure, we | ||
| 5789 | # need to make the FD available again. | ||
| 5790 | if test "$no_create" != yes; then | ||
| 5791 | ac_cs_success=: | ||
| 5792 | ac_config_status_args= | ||
| 5793 | test "$silent" = yes && | ||
| 5794 | ac_config_status_args="$ac_config_status_args --quiet" | ||
| 5795 | exec 5>/dev/null | ||
| 5796 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | ||
| 5797 | exec 5>>config.log | ||
| 5798 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | ||
| 5799 | # would make configure fail if this is the last instruction. | ||
| 5800 | $ac_cs_success || as_fn_exit 1 | ||
| 5801 | fi | ||
| 5802 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | ||
| 5803 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | ||
| 5804 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | ||
| 5805 | fi | ||
| 5806 | |||
