Changeset 5603
- Timestamp:
- 06/11/08 12:05:41 (4 months ago)
- Files:
-
- libwired/trunk/config.m4 (modified) (1 diff)
- libwired/trunk/configure (modified) (507 diffs)
- libwired/trunk/configure.in (modified) (1 diff)
- libwired/trunk/libwired/system/wi-terminal.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libwired/trunk/config.m4
r5585 r5603 353 353 AC_DEFUN([WI_INCLUDE_TERMCAP_LIBRARY], [ 354 354 if test "$wi_include_termcap_library_done" != "yes"; then 355 AC_CHECK_HEADERS([term.h], [ 355 AC_CHECK_HEADERS([ \ 356 curses.h \ 357 term.h \ 358 termcap.h \ 359 termios.h \ 360 ], [ 356 361 AC_CHECK_FUNC([tgoto], [], [ 357 362 AC_CHECK_LIB([termcap], [tgoto], [ libwired/trunk/configure
r5585 r5603 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 61for libwired 1.0.3 # Generated by GNU Autoconf 2.59 for libwired 1.0. 4 4 # 5 5 # Report bugs to <axel@zankasoftware.com>. 6 6 # 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 7 # Copyright (C) 2003 Free Software Foundation, Inc. 9 8 # This configure script is free software; the Free Software Foundation 10 9 # gives unlimited permission to copy, distribute and modify it. … … 13 12 ## --------------------- ## 14 13 15 # Be more Bourne compatible 16 DUALCASE=1; export DUALCASE # for MKS sh 14 # Be Bourne compatible 17 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 18 16 emulate sh … … 21 19 # is contrary to our usage. Disable this feature. 22 20 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 22 set -o posix 23 fi 24 DUALCASE=1; export DUALCASE # for MKS sh 25 26 # Support unset when possible. 27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 28 as_unset=unset 29 else 30 as_unset=false 31 fi 32 33 34 # Work around bugs in pre-3.0 UWIN ksh. 35 $as_unset ENV MAIL MAILPATH 36 PS1='$ ' 37 PS2='> ' 38 PS4='+ ' 39 40 # NLS nuisances. 41 for as_var in \ 42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 44 LC_TELEPHONE LC_TIME 45 do 46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 47 eval $as_var=C; export $as_var 48 else 49 $as_unset $as_var 50 fi 51 done 52 53 # Required to use basename. 54 if expr a : '\(a\)' >/dev/null 2>&1; then 55 as_expr=expr 56 else 57 as_expr=false 58 fi 59 60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 61 as_basename=basename 62 else 63 as_basename=false 64 fi 65 66 67 # Name of the executable. 68 as_me=`$as_basename "$0" || 69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 70 X"$0" : 'X\(//\)$' \| \ 71 X"$0" : 'X\(/\)$' \| \ 72 . : '\(.\)' 2>/dev/null || 73 echo X/"$0" | 74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 75 /^X\/\(\/\/\)$/{ s//\1/; q; } 76 /^X\/\(\/\).*/{ s//\1/; q; } 77 s/.*/./; q'` 78 79 80 # PATH needs CR, and LINENO needs CR and PATH. 35 81 # Avoid depending upon Character Ranges. 36 82 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 53 99 fi 54 100 55 # Support unset when possible. 56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 57 as_unset=unset 58 else 59 as_unset=false 60 fi 61 62 63 # IFS 64 # We need space, tab and new line, in precisely that order. Quoting is 65 # there to prevent editors from complaining about space-tab. 66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 67 # splitting by setting IFS to empty value.) 68 as_nl=' 69 ' 70 IFS=" "" $as_nl" 71 72 # Find who we are. Look in the path if we contain no directory separator. 73 case $0 in 74 *[\\/]* ) as_myself=$0 ;; 75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 101 102 as_lineno_1=$LINENO 103 as_lineno_2=$LINENO 104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 105 test "x$as_lineno_1" != "x$as_lineno_2" && 106 test "x$as_lineno_3" = "x$as_lineno_2" || { 107 # Find who we are. Look in the path if we contain no path at all 108 # relative or not. 109 case $0 in 110 *[\\/]* ) as_myself=$0 ;; 111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 76 112 for as_dir in $PATH 77 113 do … … 80 116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 81 117 done 82 IFS=$as_save_IFS 83 84 ;; 85 esac 86 # We did not find ourselves, most probably we were run as `sh COMMAND' 87 # in which case we are not to be found in the path. 88 if test "x$as_myself" = x; then 89 as_myself=$0 90 fi 91 if test ! -f "$as_myself"; then 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 93 { (exit 1); exit 1; } 94 fi 95 96 # Work around bugs in pre-3.0 UWIN ksh. 97 for as_var in ENV MAIL MAILPATH 98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 99 done 100 PS1='$ ' 101 PS2='> ' 102 PS4='+ ' 103 104 # NLS nuisances. 105 for as_var in \ 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 108 LC_TELEPHONE LC_TIME 109 do 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 111 eval $as_var=C; export $as_var 112 else 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 118 119 ;; 120 esac 121 # We did not find ourselves, most probably we were run as `sh COMMAND' 122 # in which case we are not to be found in the path. 123 if test "x$as_myself" = x; then 124 as_myself=$0 114 125 fi 115 done 116 117 # Required to use basename. 118 if expr a : '\(a\)' >/dev/null 2>&1 && 119 test "X`expr 00001 : '.*\(...\)'`" = X001; then 120 as_expr=expr 121 else 122 as_expr=false 123 fi 124 125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 126 as_basename=basename 127 else 128 as_basename=false 129 fi 130 131 132 # Name of the executable. 133 as_me=`$as_basename -- "$0" || 134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 135 X"$0" : 'X\(//\)$' \| \ 136 X"$0" : 'X\(/\)' \| . 2>/dev/null || 137 echo X/"$0" | 138 sed '/^.*\/\([^/][^/]*\)\/*$/{ 139 s//\1/ 140 q 141 } 142 /^X\/\(\/\/\)$/{ 143 s//\1/ 144 q 145 } 146 /^X\/\(\/\).*/{ 147 s//\1/ 148 q 149 } 150 s/.*/./; q'` 151 152 # CDPATH. 153 $as_unset CDPATH 154 155 156 if test "x$CONFIG_SHELL" = x; then 157 if (eval ":") 2>/dev/null; then 158 as_have_required=yes 159 else 160 as_have_required=no 161 fi 162 163 if test $as_have_required = yes && (eval ": 164 (as_func_return () { 165 (exit \$1) 166 } 167 as_func_success () { 168 as_func_return 0 169 } 170 as_func_failure () { 171 as_func_return 1 172 } 173 as_func_ret_success () { 174 return 0 175 } 176 as_func_ret_failure () { 177 return 1 178 } 179 180 exitcode=0 181 if as_func_success; then 182 : 183 else 184 exitcode=1 185 echo as_func_success failed. 186 fi 187 188 if as_func_failure; then 189 exitcode=1 190 echo as_func_failure succeeded. 191 fi 192 193 if as_func_ret_success; then 194 : 195 else 196 exitcode=1 197 echo as_func_ret_success failed. 198 fi 199 200 if as_func_ret_failure; then 201 exitcode=1 202 echo as_func_ret_failure succeeded. 203 fi 204 205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 206 : 207 else 208 exitcode=1 209 echo positional parameters were not saved. 210 fi 211 212 test \$exitcode = 0) || { (exit 1); exit 1; } 213 214 ( 215 as_lineno_1=\$LINENO 216 as_lineno_2=\$LINENO 217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 219 ") 2> /dev/null; then 220 : 221 else 222 as_candidate_shells= 126 if test ! -f "$as_myself"; then 127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 128 { (exit 1); exit 1; }; } 129 fi 130 case $CONFIG_SHELL in 131 '') 223 132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 224 133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 226 135 IFS=$as_save_IFS 227 136 test -z "$as_dir" && as_dir=. 228 case $as_dir in 137 for as_base in sh bash ksh sh5; do 138 case $as_dir in 229 139 /*) 230 for as_base in sh bash ksh sh5; do 231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 232 done;; 233 esac 234 done 235 IFS=$as_save_IFS 236 237 238 for as_shell in $as_candidate_shells $SHELL; do 239 # Try only shells that exist, to save several forks. 240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 241 { ("$as_shell") 2> /dev/null <<\_ASEOF 242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 243 emulate sh 244 NULLCMD=: 245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 246 # is contrary to our usage. Disable this feature. 247 alias -g '${1+"$@"}'='"$@"' 248 setopt NO_GLOB_SUBST 249 else 250 case `(set -o) 2>/dev/null` in 251 *posix*) set -o posix ;; 252 esac 253 254 fi 255 256 257 : 258 _ASEOF 259 }; then 260 CONFIG_SHELL=$as_shell 261 as_have_required=yes 262 if { "$as_shell" 2> /dev/null <<\_ASEOF 263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 264 emulate sh 265 NULLCMD=: 266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 267 # is contrary to our usage. Disable this feature. 268 alias -g '${1+"$@"}'='"$@"' 269 setopt NO_GLOB_SUBST 270 else 271 case `(set -o) 2>/dev/null` in 272 *posix*) set -o posix ;; 273 esac 274 275 fi 276 277 278 : 279 (as_func_return () { 280 (exit $1) 281 } 282 as_func_success () { 283 as_func_return 0 284 } 285 as_func_failure () { 286 as_func_return 1 287 } 288 as_func_ret_success () { 289 return 0 290 } 291 as_func_ret_failure () { 292 return 1 293 } 294 295 exitcode=0 296 if as_func_success; then 297 : 298 else 299 exitcode=1 300 echo as_func_success failed. 301 fi 302 303 if as_func_failure; then 304 exitcode=1 305 echo as_func_failure succeeded. 306 fi 307 308 if as_func_ret_success; then 309 : 310 else 311 exitcode=1 312 echo as_func_ret_success failed. 313 fi 314 315 if as_func_ret_failure; then 316 exitcode=1 317 echo as_func_ret_failure succeeded. 318 fi 319 320 if ( set x; as_func_ret_success y && test x = "$1" ); then 321 : 322 else 323 exitcode=1 324 echo positional parameters were not saved. 325 fi 326 327 test $exitcode = 0) || { (exit 1); exit 1; } 328 329 ( 140 if ("$as_dir/$as_base" -c ' 330 141 as_lineno_1=$LINENO 331 142 as_lineno_2=$LINENO 143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 332 144 test "x$as_lineno_1" != "x$as_lineno_2" && 333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 334 335 _ASEOF 336 }; then 337 break 338 fi 339 340 fi 341 342 done 343 344 if test "x$CONFIG_SHELL" != x; then 345 for as_var in BASH_ENV ENV 346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 347 done 348 export CONFIG_SHELL 349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 350 fi 351 352 353 if test $as_have_required = no; then 354 echo This script requires a shell more modern than all the 355 echo shells that I found on your system. Please install a 356 echo modern shell, or manually run the script under such a 357 echo shell if you do have one. 358 { (exit 1); exit 1; } 359 fi 360 361 362 fi 363 364 fi 365 366 367 368 (eval "as_func_return () { 369 (exit \$1) 370 } 371 as_func_success () { 372 as_func_return 0 373 } 374 as_func_failure () { 375 as_func_return 1 376 } 377 as_func_ret_success () { 378 return 0 379 } 380 as_func_ret_failure () { 381 return 1 382 } 383 384 exitcode=0 385 if as_func_success; then 386 : 387 else 388 exitcode=1 389 echo as_func_success failed. 390 fi 391 392 if as_func_failure; then 393 exitcode=1 394 echo as_func_failure succeeded. 395 fi 396 397 if as_func_ret_success; then 398 : 399 else 400 exitcode=1 401 echo as_func_ret_success failed. 402 fi 403 404 if as_func_ret_failure; then 405 exitcode=1 406 echo as_func_ret_failure succeeded. 407 fi 408 409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 410 : 411 else 412 exitcode=1 413 echo positional parameters were not saved. 414 fi 415 416 test \$exitcode = 0") || { 417 echo No shell found that supports shell functions. 418 echo Please tell autoconf@gnu.org about your system, 419 echo including any error possibly output before this 420 echo message 421 } 422 423 424 425 as_lineno_1=$LINENO 426 as_lineno_2=$LINENO 427 test "x$as_lineno_1" != "x$as_lineno_2" && 428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 148 CONFIG_SHELL=$as_dir/$as_base 149 export CONFIG_SHELL 150 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 151 fi;; 152 esac 153 done 154 done 155 ;; 156 esac 429 157 430 158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 431 159 # uniformly replaced by the line number. The first 'sed' inserts a 432 # line-number line after each line using $LINENO; the second 'sed' 433 # does the real work. The second script uses 'N' to pair each 434 # line-number line with the line containing $LINENO, and appends 435 # trailing '-' during substitution so that $LINENO is not a special 436 # case at line end. 160 # line-number line before each line; the second 'sed' does the real 161 # work. The second script uses 'N' to pair each line-number line 162 # with the numbered line, and appends trailing '-' during 163 # substitution so that $LINENO is not a special case at line end. 437 164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 438 # scripts with optimization help from Paolo Bonzini. Blame Lee 439 # E. McMahon (1931-1989) for sed's syntax. :-) 440 sed -n ' 441 p 442 /[$]LINENO/= 443 ' <$as_myself | 165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 166 sed '=' <$as_myself | 444 167 sed ' 445 s/[$]LINENO.*/&-/446 t lineno447 b448 :lineno449 168 N 450 :loop 451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 169 s,$,-, 170 : loop 171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 452 172 t loop 453 s/-\n.*// 173 s,-$,, 174 s,^['$as_cr_digits']*\n,, 454 175 ' >$as_me.lineno && 455 chmod +x "$as_me.lineno"||176 chmod +x $as_me.lineno || 456 177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 457 178 { (exit 1); exit 1; }; } … … 459 180 # Don't try to exec as it changes $[0], causing all sort of problems 460 181 # (the dirname of $[0] is not the place where we might find the 461 # original and so on. Autoconf is especially sensi tive to this).462 . "./$as_me.lineno"182 # original and so on. Autoconf is especially sensible to this). 183 . ./$as_me.lineno 463 184 # Exit status is that of the last command. 464 185 exit … … 466 187 467 188 468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 469 as_dirname=dirname 470 else 471 as_dirname=false 472 fi 473 474 ECHO_C= ECHO_N= ECHO_T= 475 case `echo -n x` in 476 -n*) 477 case `echo 'x\c'` in 478 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479 *) ECHO_C='\c';; 480 esac;; 481 *) 482 ECHO_N='-n';; 189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 190 *c*,-n*) ECHO_N= ECHO_C=' 191 ' ECHO_T=' ' ;; 192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 483 194 esac 484 195 485 if expr a : '\(a\)' >/dev/null 2>&1 && 486 test "X`expr 00001 : '.*\(...\)'`" = X001; then 196 if expr a : '\(a\)' >/dev/null 2>&1; then 487 197 as_expr=expr 488 198 else … … 491 201 492 202 rm -f conf$$ conf$$.exe conf$$.file 493 if test -d conf$$.dir; then494 rm -f conf$$.dir/conf$$.file495 else496 rm -f conf$$.dir497 mkdir conf$$.dir498 fi499 203 echo >conf$$.file 500 204 if ln -s conf$$.file conf$$ 2>/dev/null; then 501 as_ln_s='ln -s' 502 # ... but there are two gotchas: 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 505 # In both cases, we have to default to `cp -p'. 506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 205 # We could just check for DJGPP; but this test a) works b) is more generic 206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 207 if test -f conf$$.exe; then 208 # Don't use ln at all; we don't have any links 507 209 as_ln_s='cp -p' 210 else 211 as_ln_s='ln -s' 212 fi 508 213 elif ln conf$$.file conf$$ 2>/dev/null; then 509 214 as_ln_s=ln … … 511 216 as_ln_s='cp -p' 512 217 fi 513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 514 rmdir conf$$.dir 2>/dev/null 218 rm -f conf$$ conf$$.exe conf$$.file 515 219 516 220 if mkdir -p . 2>/dev/null; then … … 521 225 fi 522 226 523 if test -x / >/dev/null 2>&1; then 524 as_test_x='test -x' 525 else 526 if ls -dL / >/dev/null 2>&1; then 527 as_ls_L_option=L 528 else 529 as_ls_L_option= 530 fi 531 as_test_x=' 532 eval sh -c '\'' 533 if test -d "$1"; then 534 test -d "$1/."; 535 else 536 case $1 in 537 -*)set "./$1";; 538 esac; 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 540 ???[sx]*):;;*)false;;esac;fi 541 '\'' sh 542 ' 543 fi 544 as_executable_p=$as_test_x 227 as_executable_p="test -f" 545 228 546 229 # Sed expression to map a string onto a valid CPP name. … … 551 234 552 235 553 554 exec 7<&0 </dev/null 6>&1 236 # IFS 237 # We need space, tab and new line, in precisely that order. 238 as_nl=' 239 ' 240 IFS=" $as_nl" 241 242 # CDPATH. 243 $as_unset CDPATH 244 555 245 556 246 # Name of the host. … … 559 249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 560 250 251 exec 6>&1 252 561 253 # 562 254 # Initializations. 563 255 # 564 256 ac_default_prefix=/usr/local 565 ac_clean_files=566 257 ac_config_libobj_dir=. 567 LIBOBJS=568 258 cross_compiling=no 569 259 subdirs= … … 571 261 MAKEFLAGS= 572 262 SHELL=${CONFIG_SHELL-/bin/sh} 263 264 # Maximum number of lines to put in a shell here document. 265 # This variable seems obsolete. It should probably be removed, and 266 # only ac_max_sed_lines should be used. 267 : ${ac_max_here_lines=38} 573 268 574 269 # Identity of this package. … … 583 278 ac_includes_default="\ 584 279 #include <stdio.h> 585 #if defHAVE_SYS_TYPES_H280 #if HAVE_SYS_TYPES_H 586 281 # include <sys/types.h> 587 282 #endif 588 #if defHAVE_SYS_STAT_H283 #if HAVE_SYS_STAT_H 589 284 # include <sys/stat.h> 590 285 #endif 591 #if defSTDC_HEADERS286 #if STDC_HEADERS 592 287 # include <stdlib.h> 593 288 # include <stddef.h> 594 289 #else 595 # if defHAVE_STDLIB_H290 # if HAVE_STDLIB_H 596 291 # include <stdlib.h> 597 292 # endif 598 293 #endif 599 #if defHAVE_STRING_H600 # if ! defined STDC_HEADERS && definedHAVE_MEMORY_H294 #if HAVE_STRING_H 295 # if !STDC_HEADERS && HAVE_MEMORY_H 601 296 # include <memory.h> 602 297 # endif 603 298 # include <string.h> 604 299 #endif 605 #if defHAVE_STRINGS_H300 #if HAVE_STRINGS_H 606 301 # include <strings.h> 607 302 #endif 608 #if defHAVE_INTTYPES_H303 #if HAVE_INTTYPES_H 609 304 # include <inttypes.h> 305 #else 306 # if HAVE_STDINT_H 307 # include <stdint.h> 308 # endif 610 309 #endif 611 #ifdef HAVE_STDINT_H 612 # include <stdint.h> 613 #endif 614 #ifdef HAVE_UNISTD_H 310 #if HAVE_UNISTD_H 615 311 # include <unistd.h> 616 312 #endif" 617 313 618 ac_subst_vars='SHELL 619 PATH_SEPARATOR 620 PACKAGE_NAME 621 PACKAGE_TARNAME 622 PACKAGE_VERSION 623 PACKAGE_STRING 624 PACKAGE_BUGREPORT 625 exec_prefix 626 prefix 627 program_transform_name 628 bindir 629 sbindir 630 libexecdir 631 datarootdir 632 datadir 633 sysconfdir 634 sharedstatedir 635 localstatedir 636 includedir 637 oldincludedir 638 docdir 639 infodir 640 htmldir 641 dvidir 642 pdfdir 643 psdir 644 libdir 645 localedir 646 mandir 647 DEFS 648 ECHO_C 649 ECHO_N 650 ECHO_T 651 LIBS 652 build_alias 653 host_alias 654 target_alias 655 build 656 build_cpu 657 build_vendor 658 build_os 659 host 660 host_cpu 661 host_vendor 662 host_os 663 WI_VERSION 664 CC 665 CFLAGS 666 LDFLAGS 667 CPPFLAGS 668 ac_ct_CC 669 EXEEXT 670 OBJEXT 671 CPP 672 INSTALL_PROGRAM 673 INSTALL_SCRIPT 674 INSTALL_DATA 675 SET_MAKE 676 objdir 677 rundir 678 WI_MAINTAINER 679 GREP 680 EGREP 681 LIBOBJS 682 LTLIBOBJS' 314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os WI_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE objdir rundir WI_MAINTAINER EGREP LIBOBJS LTLIBOBJS' 683 315 ac_subst_files='' 684 ac_precious_vars='build_alias685 host_alias686 target_alias687 CC688 CFLAGS689 LDFLAGS690 LIBS691 CPPFLAGS692 CPP'693 694 316 695 317 # Initialize some variables set by options. … … 718 340 # by default will actually change. 719 341 # Use braces instead of parens because sh, perl, etc. also accept them. 720 # (The list follows the same order as the GNU Coding Standards.)721 342 bindir='${exec_prefix}/bin' 722 343 sbindir='${exec_prefix}/sbin' 723 344 libexecdir='${exec_prefix}/libexec' 724 datarootdir='${prefix}/share' 725 datadir='${datarootdir}' 345 datadir='${prefix}/share' 726 346 sysconfdir='${prefix}/etc' 727 347 sharedstatedir='${prefix}/com' 728 348 localstatedir='${prefix}/var' 349 libdir='${exec_prefix}/lib' 729 350 includedir='${prefix}/include' 730 351 oldincludedir='/usr/include' 731 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 732 infodir='${datarootdir}/info' 733 htmldir='${docdir}' 734 dvidir='${docdir}' 735 pdfdir='${docdir}' 736 psdir='${docdir}' 737 libdir='${exec_prefix}/lib' 738 localedir='${datarootdir}/locale' 739 mandir='${datarootdir}/man' 352 infodir='${prefix}/info' 353 mandir='${prefix}/man' 740 354 741 355 ac_prev= 742 ac_dashdash=743 356 for ac_option 744 357 do 745 358 # If the previous option needs an argument, assign it. 746 359 if test -n "$ac_prev"; then 747 eval $ac_prev=\$ac_option360 eval "$ac_prev=\$ac_option" 748 361 ac_prev= 749 362 continue 750 363 fi 751 364 365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 366 367 # Accept the important Cygnus configure options, so we can diagnose typos. 368 752 369 case $ac_option in 753 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;754 *) ac_optarg=yes ;;755 esac756 757 # Accept the important Cygnus configure options, so we can diagnose typos.758 759 case $ac_dashdash$ac_option in760 --)761 ac_dashdash=yes ;;762 370 763 371 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 781 389 cache_file=config.cache ;; 782 390 783 -datadir | --datadir | --datadi | --datad )391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 784 392 ac_prev=datadir ;; 785 -datadir=* | --datadir=* | --datadi=* | --datad=*) 393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 394 | --da=*) 786 395 datadir=$ac_optarg ;; 787 788 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \789 | --dataroo | --dataro | --datar)790 ac_prev=datarootdir ;;791 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \792 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)793 datarootdir=$ac_optarg ;;794 396 795 397 -disable-* | --disable-*) 796 398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 797 399 # Reject names that are not valid shell variable names. 798 expr "x$ac_feature" : ".*[^- ._$as_cr_alnum]" >/dev/null &&400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 799 401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 800 402 { (exit 1); exit 1; }; } 801 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 802 eval enable_$ac_feature=no ;; 803 804 -docdir | --docdir | --docdi | --doc | --do) 805 ac_prev=docdir ;; 806 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 807 docdir=$ac_optarg ;; 808 809 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 810 ac_prev=dvidir ;; 811 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 812 dvidir=$ac_optarg ;; 403 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 404 eval "enable_$ac_feature=no" ;; 813 405 814 406 -enable-* | --enable-*) 815 407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 816 408 # Reject names that are not valid shell variable names. 817 expr "x$ac_feature" : ".*[^- ._$as_cr_alnum]" >/dev/null &&409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 818 410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 819 411 { (exit 1); exit 1; }; } 820 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 821 eval enable_$ac_feature=\$ac_optarg ;; 412 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 413 case $ac_option in 414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 415 *) ac_optarg=yes ;; 416 esac 417 eval "enable_$ac_feature='$ac_optarg'" ;; 822 418 823 419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 846 442 host_alias=$ac_optarg ;; 847 443 848 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)849 ac_prev=htmldir ;;850 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \851 | --ht=*)852 htmldir=$ac_optarg ;;853 854 444 -includedir | --includedir | --includedi | --included | --include \ 855 445 | --includ | --inclu | --incl | --inc) … … 876 466 libexecdir=$ac_optarg ;; 877 467 878 -localedir | --localedir | --localedi | --localed | --locale)879 ac_prev=localedir ;;880 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)881 localedir=$ac_optarg ;;882 883 468 -localstatedir | --localstatedir | --localstatedi | --localstated \ 884 | --localstate | --localstat | --localsta | --localst | --locals) 469 | --localstate | --localstat | --localsta | --localst \ 470 | --locals | --local | --loca | --loc | --lo) 885 471 ac_prev=localstatedir ;; 886 472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 887 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 888 475 localstatedir=$ac_optarg ;; 889 476 … … 950 537 program_transform_name=$ac_optarg ;; 951 538 952 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)953 ac_prev=pdfdir ;;954 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)955 pdfdir=$ac_optarg ;;956 957 -psdir | --psdir | --psdi | --psd | --ps)958 ac_prev=psdir ;;959 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)960 psdir=$ac_optarg ;;961 962 539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 963 540 | -silent | --silent | --silen | --sile | --sil) … … 1012 589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1013 590 # Reject names that are not valid shell variable names. 1014 expr "x$ac_package" : ".*[^- ._$as_cr_alnum]" >/dev/null &&591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1015 592 { echo "$as_me: error: invalid package name: $ac_package" >&2 1016 593 { (exit 1); exit 1; }; } 1017 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1018 eval with_$ac_package=\$ac_optarg ;; 594 ac_package=`echo $ac_package| sed 's/-/_/g'` 595 case $ac_option in 596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 597 *) ac_optarg=yes ;; 598 esac 599 eval "with_$ac_package='$ac_optarg'" ;; 1019 600 1020 601 -without-* | --without-*) 1021 602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1022 603 # Reject names that are not valid shell variable names. 1023 expr "x$ac_package" : ".*[^- ._$as_cr_alnum]" >/dev/null &&604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1024 605 { echo "$as_me: error: invalid package name: $ac_package" >&2 1025 606 { (exit 1); exit 1; }; } 1026 ac_package=`echo $ac_package | sed 's/ [-.]/_/g'`1027 eval with_$ac_package=no;;607 ac_package=`echo $ac_package | sed 's/-/_/g'` 608 eval "with_$ac_package=no" ;; 1028 609 1029 610 --x) … … 1056 637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1057 638 { (exit 1); exit 1; }; } 1058 eval $ac_envvar=\$ac_optarg 639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 640 eval "$ac_envvar='$ac_optarg'" 1059 641 export $ac_envvar ;; 1060 642 … … 1076 658 fi 1077 659 1078 # Be sure to have absolute directory names. 1079 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1080 datadir sysconfdir sharedstatedir localstatedir includedir \ 1081 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1082 libdir localedir mandir 660 # Be sure to have absolute paths. 661 for ac_var in exec_prefix prefix 1083 662 do 1084 eval ac_val= \$$ac_var663 eval ac_val=$`echo $ac_var` 1085 664 case $ac_val in 1086 [\\/$]* | ?:[\\/]* ) continue;; 1087 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 667 { (exit 1); exit 1; }; };; 1088 668 esac 1089 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1090 { (exit 1); exit 1; }; } 669 done 670 671 # Be sure to have absolute paths. 672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 673 localstatedir libdir includedir oldincludedir infodir mandir 674 do 675 eval ac_val=$`echo $ac_var` 676 case $ac_val in 677 [\\/$]* | ?:[\\/]* ) ;; 678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 679 { (exit 1); exit 1; }; };; 680 esac 1091 681 done 1092 682 … … 1115 705 1116 706 1117 ac_pwd=`pwd` && test -n "$ac_pwd" &&1118 ac_ls_di=`ls -di .` &&1119 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||1120 { echo "$as_me: error: Working directory cannot be determined" >&21121 { (exit 1); exit 1; }; }1122 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||1123 { echo "$as_me: error: pwd does not report name of working directory" >&21124 { (exit 1); exit 1; }; }1125 1126 1127 707 # Find the source files, if location was not specified. 1128 708 if test -z "$srcdir"; then 1129 709 ac_srcdir_defaulted=yes 1130 # Try the directory containing this script, then the parent directory.1131 ac_confdir=` $as_dirname -- "$0"||710 # Try the directory containing this script, then its parent. 711 ac_confdir=`(dirname "$0") 2>/dev/null || 1132 712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1133 713 X"$0" : 'X\(//\)[^/]' \| \ 1134 714 X"$0" : 'X\(//\)$' \| \ 1135 X"$0" : 'X\(/\)' \| . 2>/dev/null || 715 X"$0" : 'X\(/\)' \| \ 716 . : '\(.\)' 2>/dev/null || 1136 717 echo X"$0" | 1137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1138 s//\1/ 1139 q 1140 } 1141 /^X\(\/\/\)[^/].*/{ 1142 s//\1/ 1143 q 1144 } 1145 /^X\(\/\/\)$/{ 1146 s//\1/ 1147 q 1148 } 1149 /^X\(\/\).*/{ 1150 s//\1/ 1151 q 1152 } 1153 s/.*/./; q'` 718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 719 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 720 /^X\(\/\/\)$/{ s//\1/; q; } 721 /^X\(\/\).*/{ s//\1/; q; } 722 s/.*/./; q'` 1154 723 srcdir=$ac_confdir 1155 if test ! -r "$srcdir/$ac_unique_file"; then724 if test ! -r $srcdir/$ac_unique_file; then 1156 725 srcdir=.. 1157 726 fi … … 1159 728 ac_srcdir_defaulted=no 1160 729 fi 1161 if test ! -r "$srcdir/$ac_unique_file"; then1162 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."1163 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2730 if test ! -r $srcdir/$ac_unique_file; then 731 if test "$ac_srcdir_defaulted" = yes; then 732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 1164 733 { (exit 1); exit 1; }; } 1165 fi 1166 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1167 ac_abs_confdir=`( 1168 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 734 else 735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1169 736 { (exit 1); exit 1; }; } 1170 pwd)` 1171 # When building in place, set srcdir=. 1172 if test "$ac_abs_confdir" = "$ac_pwd"; then 1173 srcdir=. 1174 fi 1175 # Remove unnecessary trailing slashes from srcdir. 1176 # Double slashes in file names in object file debugging info 1177 # mess up M-x gdb in Emacs. 1178 case $srcdir in 1179 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1180 esac 1181 for ac_var in $ac_precious_vars; do 1182 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1183 eval ac_env_${ac_var}_value=\$${ac_var} 1184 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1185 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1186 done 737 fi 738 fi 739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 741 { (exit 1); exit 1; }; } 742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 743 ac_env_build_alias_set=${build_alias+set} 744 ac_env_build_alias_value=$build_alias 745 ac_cv_env_build_alias_set=${build_alias+set} 746 ac_cv_env_build_alias_value=$build_alias 747 ac_env_host_alias_set=${host_alias+set} 748 ac_env_host_alias_value=$host_alias 749 ac_cv_env_host_alias_set=${host_alias+set} 750 ac_cv_env_host_alias_value=$host_alias 751 ac_env_target_alias_set=${target_alias+set} 752 ac_env_target_alias_value=$target_alias 753 ac_cv_env_target_alias_set=${target_alias+set} 754 ac_cv_env_target_alias_value=$target_alias 755 ac_env_CC_set=${CC+set} 756 ac_env_CC_value=$CC 757 ac_cv_env_CC_set=${CC+set} 758 ac_cv_env_CC_value=$CC 759 ac_env_CFLAGS_set=${CFLAGS+set} 760 ac_env_CFLAGS_value=$CFLAGS 761 ac_cv_env_CFLAGS_set=${CFLAGS+set} 762 ac_cv_env_CFLAGS_value=$CFLAGS 763 ac_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_env_LDFLAGS_value=$LDFLAGS 765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 766 ac_cv_env_LDFLAGS_value=$LDFLAGS 767 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_env_CPPFLAGS_value=$CPPFLAGS 769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 771 ac_env_CPP_set=${CPP+set} 772 ac_env_CPP_value=$CPP 773 ac_cv_env_CPP_set=${CPP+set} 774 ac_cv_env_CPP_value=$CPP 1187 775 1188 776 # … … 1213 801 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1214 802 803 _ACEOF 804 805 cat <<_ACEOF 1215 806 Installation directories: 1216 807 --prefix=PREFIX install architecture-independent files in PREFIX … … 1230 821 --sbindir=DIR system admin executables [EPREFIX/sbin] 1231 822 --libexecdir=DIR program executables [EPREFIX/libexec] 823 --datadir=DIR read-only architecture-independent data [PREFIX/share] 1232 824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1233 825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 1236 828 --includedir=DIR C header files [PREFIX/include] 1237 829 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1238 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1239 --datadir=DIR read-only a
