Changeset 4839
- Timestamp:
- 06/15/07 02:14:11 (1 year ago)
- Files:
-
- wired/trunk/configure (modified) (317 diffs)
- wired/trunk/configure.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wired/trunk/configure
r4838 r4839 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 61for wired 1.3.2.3 # Generated by GNU Autoconf 2.59 for wired 1.3.2. 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 WD_VERSION 664 CC 665 CFLAGS 666 LDFLAGS 667 CPPFLAGS 668 ac_ct_CC 669 EXEEXT 670 OBJEXT 671 INSTALL_PROGRAM 672 INSTALL_SCRIPT 673 INSTALL_DATA 674 SET_MAKE 675 WD_USER 676 WD_GROUP 677 wireddir 678 fake_prefix 679 objdir 680 rundir 681 WD_MAINTAINER 682 CPP 683 GREP 684 EGREP 685 subdirs 686 LIBOBJS 687 LTLIBOBJS' 314 ac_subdirs_all="$ac_subdirs_all libwired" 315 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 WD_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE WD_USER WD_GROUP wireddir fake_prefix objdir rundir WD_MAINTAINER CPP EGREP subdirs LIBOBJS LTLIBOBJS' 688 316 ac_subst_files='' 689 ac_precious_vars='build_alias690 host_alias691 target_alias692 CC693 CFLAGS694 LDFLAGS695 LIBS696 CPPFLAGS697 CPP'698 ac_subdirs_all='libwired'699 317 700 318 # Initialize some variables set by options. … … 723 341 # by default will actually change. 724 342 # Use braces instead of parens because sh, perl, etc. also accept them. 725 # (The list follows the same order as the GNU Coding Standards.)726 343 bindir='${exec_prefix}/bin' 727 344 sbindir='${exec_prefix}/sbin' 728 345 libexecdir='${exec_prefix}/libexec' 729 datarootdir='${prefix}/share' 730 datadir='${datarootdir}' 346 datadir='${prefix}/share' 731 347 sysconfdir='${prefix}/etc' 732 348 sharedstatedir='${prefix}/com' 733 349 localstatedir='${prefix}/var' 350 libdir='${exec_prefix}/lib' 734 351 includedir='${prefix}/include' 735 352 oldincludedir='/usr/include' 736 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 737 infodir='${datarootdir}/info' 738 htmldir='${docdir}' 739 dvidir='${docdir}' 740 pdfdir='${docdir}' 741 psdir='${docdir}' 742 libdir='${exec_prefix}/lib' 743 localedir='${datarootdir}/locale' 744 mandir='${datarootdir}/man' 353 infodir='${prefix}/info' 354 mandir='${prefix}/man' 745 355 746 356 ac_prev= 747 ac_dashdash=748 357 for ac_option 749 358 do 750 359 # If the previous option needs an argument, assign it. 751 360 if test -n "$ac_prev"; then 752 eval $ac_prev=\$ac_option361 eval "$ac_prev=\$ac_option" 753 362 ac_prev= 754 363 continue 755 364 fi 756 365 366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 367 368 # Accept the important Cygnus configure options, so we can diagnose typos. 369 757 370 case $ac_option in 758 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;759 *) ac_optarg=yes ;;760 esac761 762 # Accept the important Cygnus configure options, so we can diagnose typos.763 764 case $ac_dashdash$ac_option in765 --)766 ac_dashdash=yes ;;767 371 768 372 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 786 390 cache_file=config.cache ;; 787 391 788 -datadir | --datadir | --datadi | --datad )392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 789 393 ac_prev=datadir ;; 790 -datadir=* | --datadir=* | --datadi=* | --datad=*) 394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 395 | --da=*) 791 396 datadir=$ac_optarg ;; 792 793 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \794 | --dataroo | --dataro | --datar)795 ac_prev=datarootdir ;;796 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \797 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)798 datarootdir=$ac_optarg ;;799 397 800 398 -disable-* | --disable-*) 801 399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 802 400 # Reject names that are not valid shell variable names. 803 expr "x$ac_feature" : ".*[^- ._$as_cr_alnum]" >/dev/null &&401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 804 402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 805 403 { (exit 1); exit 1; }; } 806 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 807 eval enable_$ac_feature=no ;; 808 809 -docdir | --docdir | --docdi | --doc | --do) 810 ac_prev=docdir ;; 811 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 812 docdir=$ac_optarg ;; 813 814 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 815 ac_prev=dvidir ;; 816 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 817 dvidir=$ac_optarg ;; 404 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 405 eval "enable_$ac_feature=no" ;; 818 406 819 407 -enable-* | --enable-*) 820 408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 821 409 # Reject names that are not valid shell variable names. 822 expr "x$ac_feature" : ".*[^- ._$as_cr_alnum]" >/dev/null &&410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 823 411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 824 412 { (exit 1); exit 1; }; } 825 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 826 eval enable_$ac_feature=\$ac_optarg ;; 413 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 414 case $ac_option in 415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 416 *) ac_optarg=yes ;; 417 esac 418 eval "enable_$ac_feature='$ac_optarg'" ;; 827 419 828 420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 851 443 host_alias=$ac_optarg ;; 852 444 853 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)854 ac_prev=htmldir ;;855 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \856 | --ht=*)857 htmldir=$ac_optarg ;;858 859 445 -includedir | --includedir | --includedi | --included | --include \ 860 446 | --includ | --inclu | --incl | --inc) … … 881 467 libexecdir=$ac_optarg ;; 882 468 883 -localedir | --localedir | --localedi | --localed | --locale)884 ac_prev=localedir ;;885 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)886 localedir=$ac_optarg ;;887 888 469 -localstatedir | --localstatedir | --localstatedi | --localstated \ 889 | --localstate | --localstat | --localsta | --localst | --locals) 470 | --localstate | --localstat | --localsta | --localst \ 471 | --locals | --local | --loca | --loc | --lo) 890 472 ac_prev=localstatedir ;; 891 473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 892 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 893 476 localstatedir=$ac_optarg ;; 894 477 … … 955 538 program_transform_name=$ac_optarg ;; 956 539 957 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)958 ac_prev=pdfdir ;;959 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)960 pdfdir=$ac_optarg ;;961 962 -psdir | --psdir | --psdi | --psd | --ps)963 ac_prev=psdir ;;964 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)965 psdir=$ac_optarg ;;966 967 540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 968 541 | -silent | --silent | --silen | --sile | --sil) … … 1017 590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1018 591 # Reject names that are not valid shell variable names. 1019 expr "x$ac_package" : ".*[^- ._$as_cr_alnum]" >/dev/null &&592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1020 593 { echo "$as_me: error: invalid package name: $ac_package" >&2 1021 594 { (exit 1); exit 1; }; } 1022 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1023 eval with_$ac_package=\$ac_optarg ;; 595 ac_package=`echo $ac_package| sed 's/-/_/g'` 596 case $ac_option in 597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 598 *) ac_optarg=yes ;; 599 esac 600 eval "with_$ac_package='$ac_optarg'" ;; 1024 601 1025 602 -without-* | --without-*) 1026 603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1027 604 # Reject names that are not valid shell variable names. 1028 expr "x$ac_package" : ".*[^- ._$as_cr_alnum]" >/dev/null &&605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1029 606 { echo "$as_me: error: invalid package name: $ac_package" >&2 1030 607 { (exit 1); exit 1; }; } 1031 ac_package=`echo $ac_package | sed 's/ [-.]/_/g'`1032 eval with_$ac_package=no;;608 ac_package=`echo $ac_package | sed 's/-/_/g'` 609 eval "with_$ac_package=no" ;; 1033 610 1034 611 --x) … … 1061 638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1062 639 { (exit 1); exit 1; }; } 1063 eval $ac_envvar=\$ac_optarg 640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 641 eval "$ac_envvar='$ac_optarg'" 1064 642 export $ac_envvar ;; 1065 643 … … 1081 659 fi 1082 660 1083 # Be sure to have absolute directory names. 1084 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1085 datadir sysconfdir sharedstatedir localstatedir includedir \ 1086 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1087 libdir localedir mandir 661 # Be sure to have absolute paths. 662 for ac_var in exec_prefix prefix 1088 663 do 1089 eval ac_val= \$$ac_var664 eval ac_val=$`echo $ac_var` 1090 665 case $ac_val in 1091 [\\/$]* | ?:[\\/]* ) continue;; 1092 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 668 { (exit 1); exit 1; }; };; 1093 669 esac 1094 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1095 { (exit 1); exit 1; }; } 670 done 671 672 # Be sure to have absolute paths. 673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 674 localstatedir libdir includedir oldincludedir infodir mandir 675 do 676 eval ac_val=$`echo $ac_var` 677 case $ac_val in 678 [\\/$]* | ?:[\\/]* ) ;; 679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 680 { (exit 1); exit 1; }; };; 681 esac 1096 682 done 1097 683 … … 1120 706 1121 707 1122 ac_pwd=`pwd` && test -n "$ac_pwd" &&1123 ac_ls_di=`ls -di .` &&1124 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||1125 { echo "$as_me: error: Working directory cannot be determined" >&21126 { (exit 1); exit 1; }; }1127 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||1128 { echo "$as_me: error: pwd does not report name of working directory" >&21129 { (exit 1); exit 1; }; }1130 1131 1132 708 # Find the source files, if location was not specified. 1133 709 if test -z "$srcdir"; then 1134 710 ac_srcdir_defaulted=yes 1135 # Try the directory containing this script, then the parent directory.1136 ac_confdir=` $as_dirname -- "$0"||711 # Try the directory containing this script, then its parent. 712 ac_confdir=`(dirname "$0") 2>/dev/null || 1137 713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1138 714 X"$0" : 'X\(//\)[^/]' \| \ 1139 715 X"$0" : 'X\(//\)$' \| \ 1140 X"$0" : 'X\(/\)' \| . 2>/dev/null || 716 X"$0" : 'X\(/\)' \| \ 717 . : '\(.\)' 2>/dev/null || 1141 718 echo X"$0" | 1142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1143 s//\1/ 1144 q 1145 } 1146 /^X\(\/\/\)[^/].*/{ 1147 s//\1/ 1148 q 1149 } 1150 /^X\(\/\/\)$/{ 1151 s//\1/ 1152 q 1153 } 1154 /^X\(\/\).*/{ 1155 s//\1/ 1156 q 1157 } 1158 s/.*/./; q'` 719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 720 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 721 /^X\(\/\/\)$/{ s//\1/; q; } 722 /^X\(\/\).*/{ s//\1/; q; } 723 s/.*/./; q'` 1159 724 srcdir=$ac_confdir 1160 if test ! -r "$srcdir/$ac_unique_file"; then725 if test ! -r $srcdir/$ac_unique_file; then 1161 726 srcdir=.. 1162 727 fi … … 1164 729 ac_srcdir_defaulted=no 1165 730 fi 1166 if test ! -r "$srcdir/$ac_unique_file"; then1167 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."1168 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2731 if test ! -r $srcdir/$ac_unique_file; then 732 if test "$ac_srcdir_defaulted" = yes; then 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 1169 734 { (exit 1); exit 1; }; } 1170 fi 1171 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1172 ac_abs_confdir=`( 1173 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 735 else 736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1174 737 { (exit 1); exit 1; }; } 1175 pwd)` 1176 # When building in place, set srcdir=. 1177 if test "$ac_abs_confdir" = "$ac_pwd"; then 1178 srcdir=. 1179 fi 1180 # Remove unnecessary trailing slashes from srcdir. 1181 # Double slashes in file names in object file debugging info 1182 # mess up M-x gdb in Emacs. 1183 case $srcdir in 1184 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1185 esac 1186 for ac_var in $ac_precious_vars; do 1187 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1188 eval ac_env_${ac_var}_value=\$${ac_var} 1189 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1190 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1191 done 738 fi 739 fi 740 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 742 { (exit 1); exit 1; }; } 743 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 744 ac_env_build_alias_set=${build_alias+set} 745 ac_env_build_alias_value=$build_alias 746 ac_cv_env_build_alias_set=${build_alias+set} 747 ac_cv_env_build_alias_value=$build_alias 748 ac_env_host_alias_set=${host_alias+set} 749 ac_env_host_alias_value=$host_alias 750 ac_cv_env_host_alias_set=${host_alias+set} 751 ac_cv_env_host_alias_value=$host_alias 752 ac_env_target_alias_set=${target_alias+set} 753 ac_env_target_alias_value=$target_alias 754 ac_cv_env_target_alias_set=${target_alias+set} 755 ac_cv_env_target_alias_value=$target_alias 756 ac_env_CC_set=${CC+set} 757 ac_env_CC_value=$CC 758 ac_cv_env_CC_set=${CC+set} 759 ac_cv_env_CC_value=$CC 760 ac_env_CFLAGS_set=${CFLAGS+set} 761 ac_env_CFLAGS_value=$CFLAGS 762 ac_cv_env_CFLAGS_set=${CFLAGS+set} 763 ac_cv_env_CFLAGS_value=$CFLAGS 764 ac_env_LDFLAGS_set=${LDFLAGS+set} 765 ac_env_LDFLAGS_value=$LDFLAGS 766 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 767 ac_cv_env_LDFLAGS_value=$LDFLAGS 768 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 769 ac_env_CPPFLAGS_value=$CPPFLAGS 770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 772 ac_env_CPP_set=${CPP+set} 773 ac_env_CPP_value=$CPP 774 ac_cv_env_CPP_set=${CPP+set} 775 ac_cv_env_CPP_value=$CPP 1192 776 1193 777 # … … 1218 802 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1219 803 804 _ACEOF 805 806 cat <<_ACEOF 1220 807 Installation directories: 1221 808 --prefix=PREFIX install architecture-independent files in PREFIX … … 1235 822 --sbindir=DIR system admin executables [EPREFIX/sbin] 1236 823 --libexecdir=DIR program executables [EPREFIX/libexec] 824 --datadir=DIR read-only architecture-independent data [PREFIX/share] 1237 825 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1238 826 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 1241 829 --includedir=DIR C header files [PREFIX/include] 1242 830 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1243 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1244 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1245 --infodir=DIR info documentation [DATAROOTDIR/info] 1246 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1247 --mandir=DIR man documentation [DATAROOTDIR/man] 1248 --docdir=DIR documentation root [DATAROOTDIR/doc/wired] 1249 --htmldir=DIR html documentation [DOCDIR] 1250 --dvidir=DIR dvi documentation [DOCDIR] 1251 --pdfdir=DIR pdf documentation [DOCDIR] 1252 --psdir=DIR ps documentation [DOCDIR] 831 --infodir=DIR info documentation [PREFIX/info] 832 --mandir=DIR man documentation [PREFIX/man] 1253 833 _ACEOF 1254 834 … … 1287 867 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1288 868 nonstandard directory <lib dir> 1289 LIBS libraries to pass to the linker, e.g. -l<library> 1290 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1291 you have he
