Changeset 5573
- Timestamp:
- 06/03/08 16:16:54 (4 months ago)
- Files:
-
- libwired/trunk/configure (modified) (509 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libwired/trunk/configure
r5572 r5573 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59for libwired 1.0.3 # Generated by GNU Autoconf 2.61 for libwired 1.0. 4 4 # 5 5 # Report bugs to <axel@zankasoftware.com>. 6 6 # 7 # Copyright (C) 2003 Free Software Foundation, Inc. 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 8 9 # This configure script is free software; the Free Software Foundation 9 10 # gives unlimited permission to copy, distribute and modify it. … … 12 13 ## --------------------- ## 13 14 14 # Be Bourne compatible 15 # Be more Bourne compatible 16 DUALCASE=1; export DUALCASE # for MKS sh 15 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 18 emulate sh … … 19 21 # is contrary to our usage. Disable this feature. 20 22 alias -g '${1+"$@"}'='"$@"' 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. 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 81 35 # Avoid depending upon Character Ranges. 82 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 99 53 fi 100 54 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 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 112 76 for as_dir in $PATH 113 77 do … … 116 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 117 81 done 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 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 125 114 fi 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 '') 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= 132 223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 133 224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 135 226 IFS=$as_save_IFS 136 227 test -z "$as_dir" && as_dir=. 137 for as_base in sh bash ksh sh5; do 138 case $as_dir in 228 case $as_dir in 139 229 /*) 140 if ("$as_dir/$as_base" -c ' 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 ( 141 330 as_lineno_1=$LINENO 142 331 as_lineno_2=$LINENO 143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`144 332 test "x$as_lineno_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 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" || { 157 429 158 430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 159 431 # uniformly replaced by the line number. The first 'sed' inserts a 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. 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. 164 437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 166 sed '=' <$as_myself | 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 | 167 444 sed ' 445 s/[$]LINENO.*/&-/ 446 t lineno 447 b 448 :lineno 168 449 N 169 s,$,-, 170 : loop 171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 450 :loop 451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 172 452 t loop 173 s,-$,, 174 s,^['$as_cr_digits']*\n,, 453 s/-\n.*// 175 454 ' >$as_me.lineno && 176 chmod +x $as_me.lineno||455 chmod +x "$as_me.lineno" || 177 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 178 457 { (exit 1); exit 1; }; } … … 180 459 # Don't try to exec as it changes $[0], causing all sort of problems 181 460 # (the dirname of $[0] is not the place where we might find the 182 # original and so on. Autoconf is especially sensi ble to this).183 . ./$as_me.lineno461 # original and so on. Autoconf is especially sensitive to this). 462 . "./$as_me.lineno" 184 463 # Exit status is that of the last command. 185 464 exit … … 187 466 188 467 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= ;; 194 esac 195 196 if expr a : '\(a\)' >/dev/null 2>&1; then 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';; 483 esac 484 485 if expr a : '\(a\)' >/dev/null 2>&1 && 486 test "X`expr 00001 : '.*\(...\)'`" = X001; then 197 487 as_expr=expr 198 488 else … … 201 491 202 492 rm -f conf$$ conf$$.exe conf$$.file 493 if test -d conf$$.dir; then 494 rm -f conf$$.dir/conf$$.file 495 else 496 rm -f conf$$.dir 497 mkdir conf$$.dir 498 fi 203 499 echo >conf$$.file 204 500 if ln -s conf$$.file conf$$ 2>/dev/null; then 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 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 || 209 507 as_ln_s='cp -p' 210 else211 as_ln_s='ln -s'212 fi213 508 elif ln conf$$.file conf$$ 2>/dev/null; then 214 509 as_ln_s=ln … … 216 511 as_ln_s='cp -p' 217 512 fi 218 rm -f conf$$ conf$$.exe conf$$.file 513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 514 rmdir conf$$.dir 2>/dev/null 219 515 220 516 if mkdir -p . 2>/dev/null; then … … 225 521 fi 226 522 227 as_executable_p="test -f" 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 228 545 229 546 # Sed expression to map a string onto a valid CPP name. … … 234 551 235 552 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 553 554 exec 7<&0 </dev/null 6>&1 245 555 246 556 # Name of the host. … … 249 559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 250 560 251 exec 6>&1252 253 561 # 254 562 # Initializations. 255 563 # 256 564 ac_default_prefix=/usr/local 565 ac_clean_files= 257 566 ac_config_libobj_dir=. 567 LIBOBJS= 258 568 cross_compiling=no 259 569 subdirs= … … 261 571 MAKEFLAGS= 262 572 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, and266 # only ac_max_sed_lines should be used.267 : ${ac_max_here_lines=38}268 573 269 574 # Identity of this package. … … 278 583 ac_includes_default="\ 279 584 #include <stdio.h> 280 #if HAVE_SYS_TYPES_H585 #ifdef HAVE_SYS_TYPES_H 281 586 # include <sys/types.h> 282 587 #endif 283 #if HAVE_SYS_STAT_H588 #ifdef HAVE_SYS_STAT_H 284 589 # include <sys/stat.h> 285 590 #endif 286 #if STDC_HEADERS591 #ifdef STDC_HEADERS 287 592 # include <stdlib.h> 288 593 # include <stddef.h> 289 594 #else 290 # if HAVE_STDLIB_H595 # ifdef HAVE_STDLIB_H 291 596 # include <stdlib.h> 292 597 # endif 293 598 #endif 294 #if HAVE_STRING_H295 # if ! STDC_HEADERS &&HAVE_MEMORY_H599 #ifdef HAVE_STRING_H 600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 296 601 # include <memory.h> 297 602 # endif 298 603 # include <string.h> 299 604 #endif 300 #if HAVE_STRINGS_H605 #ifdef HAVE_STRINGS_H 301 606 # include <strings.h> 302 607 #endif 303 #if HAVE_INTTYPES_H608 #ifdef HAVE_INTTYPES_H 304 609 # include <inttypes.h> 305 #else306 # if HAVE_STDINT_H307 # include <stdint.h>308 # endif309 610 #endif 310 #if HAVE_UNISTD_H 611 #ifdef HAVE_STDINT_H 612 # include <stdint.h> 613 #endif 614 #ifdef HAVE_UNISTD_H 311 615 # include <unistd.h> 312 616 #endif" 313 617 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' 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' 315 683 ac_subst_files='' 684 ac_precious_vars='build_alias 685 host_alias 686 target_alias 687 CC 688 CFLAGS 689 LDFLAGS 690 LIBS 691 CPPFLAGS 692 CPP' 693 316 694 317 695 # Initialize some variables set by options. … … 340 718 # by default will actually change. 341 719 # Use braces instead of parens because sh, perl, etc. also accept them. 720 # (The list follows the same order as the GNU Coding Standards.) 342 721 bindir='${exec_prefix}/bin' 343 722 sbindir='${exec_prefix}/sbin' 344 723 libexecdir='${exec_prefix}/libexec' 345 datadir='${prefix}/share' 724 datarootdir='${prefix}/share' 725 datadir='${datarootdir}' 346 726 sysconfdir='${prefix}/etc' 347 727 sharedstatedir='${prefix}/com' 348 728 localstatedir='${prefix}/var' 349 libdir='${exec_prefix}/lib'350 729 includedir='${prefix}/include' 351 730 oldincludedir='/usr/include' 352 infodir='${prefix}/info' 353 mandir='${prefix}/man' 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' 354 740 355 741 ac_prev= 742 ac_dashdash= 356 743 for ac_option 357 744 do 358 745 # If the previous option needs an argument, assign it. 359 746 if test -n "$ac_prev"; then 360 eval "$ac_prev=\$ac_option"747 eval $ac_prev=\$ac_option 361 748 ac_prev= 362 749 continue 363 750 fi 364 751 365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 752 case $ac_option in 753 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 754 *) ac_optarg=yes ;; 755 esac 366 756 367 757 # Accept the important Cygnus configure options, so we can diagnose typos. 368 758 369 case $ac_option in 759 case $ac_dashdash$ac_option in 760 --) 761 ac_dashdash=yes ;; 370 762 371 763 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 389 781 cache_file=config.cache ;; 390 782 391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)783 -datadir | --datadir | --datadi | --datad) 392 784 ac_prev=datadir ;; 393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 394 | --da=*) 785 -datadir=* | --datadir=* | --datadi=* | --datad=*) 395 786 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 ;; 396 794 397 795 -disable-* | --disable-*) 398 796 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 399 797 # Reject names that are not valid shell variable names. 400 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&798 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 401 799 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 402 800 { (exit 1); exit 1; }; } 403 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 404 eval "enable_$ac_feature=no" ;; 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 ;; 405 813 406 814 -enable-* | --enable-*) 407 815 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 408 816 # Reject names that are not valid shell variable names. 409 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&817 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 410 818 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 411 819 { (exit 1); exit 1; }; } 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'" ;; 820 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 821 eval enable_$ac_feature=\$ac_optarg ;; 418 822 419 823 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 442 846 host_alias=$ac_optarg ;; 443 847 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 444 854 -includedir | --includedir | --includedi | --included | --include \ 445 855 | --includ | --inclu | --incl | --inc) … … 466 876 libexecdir=$ac_optarg ;; 467 877 878 -localedir | --localedir | --localedi | --localed | --locale) 879 ac_prev=localedir ;; 880 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 881 localedir=$ac_optarg ;; 882 468 883 -localstatedir | --localstatedir | --localstatedi | --localstated \ 469 | --localstate | --localstat | --localsta | --localst \ 470 | --locals | --local | --loca | --loc | --lo) 884 | --localstate | --localstat | --localsta | --localst | --locals) 471 885 ac_prev=localstatedir ;; 472 886 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 887 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 475 888 localstatedir=$ac_optarg ;; 476 889 … … 537 950 program_transform_name=$ac_optarg ;; 538 951 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 539 962 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 540 963 | -silent | --silent | --silen | --sile | --sil) … … 589 1012 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 590 1013 # Reject names that are not valid shell variable names. 591 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1014 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 592 1015 { echo "$as_me: error: invalid package name: $ac_package" >&2 593 1016 { (exit 1); exit 1; }; } 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'" ;; 1017 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1018 eval with_$ac_package=\$ac_optarg ;; 600 1019 601 1020 -without-* | --without-*) 602 1021 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 603 1022 # Reject names that are not valid shell variable names. 604 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1023 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 605 1024 { echo "$as_me: error: invalid package name: $ac_package" >&2 606 1025 { (exit 1); exit 1; }; } 607 ac_package=`echo $ac_package | sed 's/ -/_/g'`608 eval "with_$ac_package=no";;1026 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1027 eval with_$ac_package=no ;; 609 1028 610 1029 --x) … … 637 1056 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 638 1057 { (exit 1); exit 1; }; } 639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 640 eval "$ac_envvar='$ac_optarg'" 1058 eval $ac_envvar=\$ac_optarg 641 1059 export $ac_envvar ;; 642 1060 … … 658 1076 fi 659 1077 660 # Be sure to have absolute paths. 661 for ac_var in exec_prefix prefix 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 662 1083 do 663 eval ac_val= $`echo $ac_var`1084 eval ac_val=\$$ac_var 664 1085 case $ac_val in 665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 667 { (exit 1); exit 1; }; };; 1086 [\\/$]* | ?:[\\/]* ) continue;; 1087 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 668 1088 esac 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 1089 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1090 { (exit 1); exit 1; }; } 681 1091 done 682 1092 … … 705 1115 706 1116 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" >&2 1121 { (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" >&2 1124 { (exit 1); exit 1; }; } 1125 1126 707 1127 # Find the source files, if location was not specified. 708 1128 if test -z "$srcdir"; then 709 1129 ac_srcdir_defaulted=yes 710 # Try the directory containing this script, then its parent.711 ac_confdir=` (dirname "$0") 2>/dev/null||1130 # Try the directory containing this script, then the parent directory. 1131 ac_confdir=`$as_dirname -- "$0" || 712 1132 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 713 1133 X"$0" : 'X\(//\)[^/]' \| \ 714 1134 X"$0" : 'X\(//\)$' \| \ 715 X"$0" : 'X\(/\)' \| \ 716 . : '\(.\)' 2>/dev/null || 1135 X"$0" : 'X\(/\)' \| . 2>/dev/null || 717 1136 echo X"$0" | 718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 719 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 720 /^X\(\/\/\)$/{ s//\1/; q; } 721 /^X\(\/\).*/{ s//\1/; q; } 722 s/.*/./; q'` 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'` 723 1154 srcdir=$ac_confdir 724 if test ! -r $srcdir/$ac_unique_file; then1155 if test ! -r "$srcdir/$ac_unique_file"; then 725 1156 srcdir=.. 726 1157 fi … … 728 1159 ac_srcdir_defaulted=no 729 1160 fi 730 if test ! -r $srcdir/$ac_unique_file; then731 if test "$ac_srcdir_defaulted" = yes; then732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21161 if test ! -r "$srcdir/$ac_unique_file"; then 1162 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1163 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 733 1164 { (exit 1); exit 1; }; } 734 else 735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 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 736 1169 { (exit 1); exit 1; }; } 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 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 775 1187 776 1188 # … … 801 1213 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 802 1214 803 _ACEOF804 805 cat <<_ACEOF806 1215 Installation directories: 807 1216 --prefix=PREFIX install architecture-independent files in PREFIX … … 821 1230 --sbindir=DIR system admin executables [EPREFIX/sbin] 822 1231 --libexecdir=DIR program executables [EPREFIX/libexec] 823 --datadir=DIR read-only architecture-independent data [PREFIX/share]824 1232 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 825 1233 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 828 1236 --includedir=DIR C header files [PREFIX/include] 829 1237 --oldincludedir=DIR C header files for non-gcc [/usr/include] 830 --infodir=DIR info documentation [PREFIX/info] 831 --mandir=DIR man documentation [PREFIX/man] 1238 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1239 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1240 --infodir=DIR info documentation [DATAROOTDIR/info] 1241 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1242 --mandir=DIR man documentation [DATAROOTDIR/man] 1243 --docdir=DIR documentation root [DATAROOTDIR/doc/libwired] 1244 --htmldir=DIR html documentation [DOCDIR] 1245 --dvidir=DIR dvi documentation [DOCDIR] 1246 --pdfdir=DIR pdf documentation [DOCDIR] 1247 --psdir=DIR ps documentation [DOCDIR] 832 1248 _ACEOF 833 1249 … … 869 1285 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 870 1286 nonstandard directory <lib dir> 871 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 872 headers in a nonstandard directory <include dir> 1287 LIBS libraries to pass to the linker, e.g. -l<library> 1288 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1289 you have headers in a nonstandard directory <include dir> 873 1290 CPP C preprocessor 874 1291 … … 878 1295 Report bugs to <axel@zankasoftware.com>. 879 1296 _ACEOF 1297 ac_status=$? <
