Changeset 5034
- Timestamp:
- 11/01/07 20:07:51 (1 year ago)
- Files:
-
- wire/trunk/Makefile.in (modified) (4 diffs)
- wire/trunk/configure (modified) (358 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wire/trunk/Makefile.in
r4538 r5034 1 1 # Makefile.in 2 2 3 top_srcdir = @top_srcdir@3 abs_top_srcdir = @abs_top_srcdir@ 4 4 exec_prefix = @exec_prefix@ 5 5 objdir = @objdir@ … … 17 17 SUBDIRS = libwired 18 18 19 WIREOBJECTS = $(addprefix $(objdir)/wire/,$(notdir $(patsubst %.c,%.o,$(shell find $( top_srcdir)/wire -name "*.c"))))19 WIREOBJECTS = $(addprefix $(objdir)/wire/,$(notdir $(patsubst %.c,%.o,$(shell find $(abs_top_srcdir)/wire -name "*.c")))) 20 20 21 21 DEFS = @DEFS@ … … 25 25 LDFLAGS = -L$(rundir)/libwired/lib @LDFLAGS@ 26 26 LIBS = -lwired @LIBS@ 27 INCLUDES = -I$( top_srcdir) -I$(rundir)/libwired/include27 INCLUDES = -I$(abs_top_srcdir) -I$(rundir)/libwired/include 28 28 29 29 INSTALL = @INSTALL@ … … 65 65 $(LINK) $(WIREOBJECTS) $(LIBS) 66 66 67 $(objdir)/wire/%.o: $( top_srcdir)/wire/%.c67 $(objdir)/wire/%.o: $(abs_top_srcdir)/wire/%.c 68 68 @test -d $(@D) || mkdir -p $(@D) 69 69 $(COMPILE) -I$(<D) -c $< -o $@ 70 70 71 $(objdir)/wire/%.d: $( top_srcdir)/wire/%.c71 $(objdir)/wire/%.d: $(abs_top_srcdir)/wire/%.c 72 72 @test -d $(@D) || mkdir -p $(@D) 73 73 ($(DEPEND) $< | sed 's,$*.o,$(@D)/&,g'; echo "$@: $<") > $@ wire/trunk/configure
r4522 r5034 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59for wire 1.1.2.3 # Generated by GNU Autoconf 2.61 for wire 1.1.2. 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_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 WR_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE objdir rundir WR_MAINTAINER CPP EGREP subdirs 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 WR_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 objdir 676 rundir 677 WR_MAINTAINER 678 CPP 679 GREP 680 EGREP 681 subdirs 682 LIBOBJS 683 LTLIBOBJS' 316 684 ac_subst_files='' 685 ac_precious_vars='build_alias 686 host_alias 687 target_alias 688 CC 689 CFLAGS 690 LDFLAGS 691 LIBS 692 CPPFLAGS 693 CPP' 694 ac_subdirs_all='libwired' 317 695 318 696 # Initialize some variables set by options. … … 341 719 # by default will actually change. 342 720 # Use braces instead of parens because sh, perl, etc. also accept them. 721 # (The list follows the same order as the GNU Coding Standards.) 343 722 bindir='${exec_prefix}/bin' 344 723 sbindir='${exec_prefix}/sbin' 345 724 libexecdir='${exec_prefix}/libexec' 346 datadir='${prefix}/share' 725 datarootdir='${prefix}/share' 726 datadir='${datarootdir}' 347 727 sysconfdir='${prefix}/etc' 348 728 sharedstatedir='${prefix}/com' 349 729 localstatedir='${prefix}/var' 350 libdir='${exec_prefix}/lib'351 730 includedir='${prefix}/include' 352 731 oldincludedir='/usr/include' 353 infodir='${prefix}/info' 354 mandir='${prefix}/man' 732 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 733 infodir='${datarootdir}/info' 734 htmldir='${docdir}' 735 dvidir='${docdir}' 736 pdfdir='${docdir}' 737 psdir='${docdir}' 738 libdir='${exec_prefix}/lib' 739 localedir='${datarootdir}/locale' 740 mandir='${datarootdir}/man' 355 741 356 742 ac_prev= 743 ac_dashdash= 357 744 for ac_option 358 745 do 359 746 # If the previous option needs an argument, assign it. 360 747 if test -n "$ac_prev"; then 361 eval "$ac_prev=\$ac_option"748 eval $ac_prev=\$ac_option 362 749 ac_prev= 363 750 continue 364 751 fi 365 752 366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 753 case $ac_option in 754 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 755 *) ac_optarg=yes ;; 756 esac 367 757 368 758 # Accept the important Cygnus configure options, so we can diagnose typos. 369 759 370 case $ac_option in 760 case $ac_dashdash$ac_option in 761 --) 762 ac_dashdash=yes ;; 371 763 372 764 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 390 782 cache_file=config.cache ;; 391 783 392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)784 -datadir | --datadir | --datadi | --datad) 393 785 ac_prev=datadir ;; 394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 395 | --da=*) 786 -datadir=* | --datadir=* | --datadi=* | --datad=*) 396 787 datadir=$ac_optarg ;; 788 789 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 790 | --dataroo | --dataro | --datar) 791 ac_prev=datarootdir ;; 792 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 793 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 794 datarootdir=$ac_optarg ;; 397 795 398 796 -disable-* | --disable-*) 399 797 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 400 798 # Reject names that are not valid shell variable names. 401 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&799 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 402 800 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 403 801 { (exit 1); exit 1; }; } 404 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 405 eval "enable_$ac_feature=no" ;; 802 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 803 eval enable_$ac_feature=no ;; 804 805 -docdir | --docdir | --docdi | --doc | --do) 806 ac_prev=docdir ;; 807 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 808 docdir=$ac_optarg ;; 809 810 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 811 ac_prev=dvidir ;; 812 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 813 dvidir=$ac_optarg ;; 406 814 407 815 -enable-* | --enable-*) 408 816 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 409 817 # Reject names that are not valid shell variable names. 410 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&818 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 411 819 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 412 820 { (exit 1); exit 1; }; } 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'" ;; 821 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 822 eval enable_$ac_feature=\$ac_optarg ;; 419 823 420 824 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 443 847 host_alias=$ac_optarg ;; 444 848 849 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 850 ac_prev=htmldir ;; 851 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 852 | --ht=*) 853 htmldir=$ac_optarg ;; 854 445 855 -includedir | --includedir | --includedi | --included | --include \ 446 856 | --includ | --inclu | --incl | --inc) … … 467 877 libexecdir=$ac_optarg ;; 468 878 879 -localedir | --localedir | --localedi | --localed | --locale) 880 ac_prev=localedir ;; 881 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 882 localedir=$ac_optarg ;; 883 469 884 -localstatedir | --localstatedir | --localstatedi | --localstated \ 470 | --localstate | --localstat | --localsta | --localst \ 471 | --locals | --local | --loca | --loc | --lo) 885 | --localstate | --localstat | --localsta | --localst | --locals) 472 886 ac_prev=localstatedir ;; 473 887 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 888 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 476 889 localstatedir=$ac_optarg ;; 477 890 … … 538 951 program_transform_name=$ac_optarg ;; 539 952 953 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 954 ac_prev=pdfdir ;; 955 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 956 pdfdir=$ac_optarg ;; 957 958 -psdir | --psdir | --psdi | --psd | --ps) 959 ac_prev=psdir ;; 960 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 961 psdir=$ac_optarg ;; 962 540 963 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 541 964 | -silent | --silent | --silen | --sile | --sil) … … 590 1013 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 591 1014 # Reject names that are not valid shell variable names. 592 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1015 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 593 1016 { echo "$as_me: error: invalid package name: $ac_package" >&2 594 1017 { (exit 1); exit 1; }; } 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'" ;; 1018 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1019 eval with_$ac_package=\$ac_optarg ;; 601 1020 602 1021 -without-* | --without-*) 603 1022 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 604 1023 # Reject names that are not valid shell variable names. 605 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1024 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 606 1025 { echo "$as_me: error: invalid package name: $ac_package" >&2 607 1026 { (exit 1); exit 1; }; } 608 ac_package=`echo $ac_package | sed 's/ -/_/g'`609 eval "with_$ac_package=no";;1027 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1028 eval with_$ac_package=no ;; 610 1029 611 1030 --x) … … 638 1057 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 639 1058 { (exit 1); exit 1; }; } 640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 641 eval "$ac_envvar='$ac_optarg'" 1059 eval $ac_envvar=\$ac_optarg 642 1060 export $ac_envvar ;; 643 1061 … … 659 1077 fi 660 1078 661 # Be sure to have absolute paths. 662 for ac_var in exec_prefix prefix 1079 # Be sure to have absolute directory names. 1080 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1081 datadir sysconfdir sharedstatedir localstatedir includedir \ 1082 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1083 libdir localedir mandir 663 1084 do 664 eval ac_val= $`echo $ac_var`1085 eval ac_val=\$$ac_var 665 1086 case $ac_val in 666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 668 { (exit 1); exit 1; }; };; 1087 [\\/$]* | ?:[\\/]* ) continue;; 1088 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 669 1089 esac 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 1090 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1091 { (exit 1); exit 1; }; } 682 1092 done 683 1093 … … 706 1116 707 1117 1118 ac_pwd=`pwd` && test -n "$ac_pwd" && 1119 ac_ls_di=`ls -di .` && 1120 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1121 { echo "$as_me: error: Working directory cannot be determined" >&2 1122 { (exit 1); exit 1; }; } 1123 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1124 { echo "$as_me: error: pwd does not report name of working directory" >&2 1125 { (exit 1); exit 1; }; } 1126 1127 708 1128 # Find the source files, if location was not specified. 709 1129 if test -z "$srcdir"; then 710 1130 ac_srcdir_defaulted=yes 711 # Try the directory containing this script, then its parent.712 ac_confdir=` (dirname "$0") 2>/dev/null||1131 # Try the directory containing this script, then the parent directory. 1132 ac_confdir=`$as_dirname -- "$0" || 713 1133 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 714 1134 X"$0" : 'X\(//\)[^/]' \| \ 715 1135 X"$0" : 'X\(//\)$' \| \ 716 X"$0" : 'X\(/\)' \| \ 717 . : '\(.\)' 2>/dev/null || 1136 X"$0" : 'X\(/\)' \| . 2>/dev/null || 718 1137 echo X"$0" | 719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 720 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 721 /^X\(\/\/\)$/{ s//\1/; q; } 722 /^X\(\/\).*/{ s//\1/; q; } 723 s/.*/./; q'` 1138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1139 s//\1/ 1140 q 1141 } 1142 /^X\(\/\/\)[^/].*/{ 1143 s//\1/ 1144 q 1145 } 1146 /^X\(\/\/\)$/{ 1147 s//\1/ 1148 q 1149 } 1150 /^X\(\/\).*/{ 1151 s//\1/ 1152 q 1153 } 1154 s/.*/./; q'` 724 1155 srcdir=$ac_confdir 725 if test ! -r $srcdir/$ac_unique_file; then1156 if test ! -r "$srcdir/$ac_unique_file"; then 726 1157 srcdir=.. 727 1158 fi … … 729 1160 ac_srcdir_defaulted=no 730 1161 fi 731 if test ! -r $srcdir/$ac_unique_file; then732 if test "$ac_srcdir_defaulted" = yes; then733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21162 if test ! -r "$srcdir/$ac_unique_file"; then 1163 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1164 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 734 1165 { (exit 1); exit 1; }; } 735 else 736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1166 fi 1167 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1168 ac_abs_confdir=`( 1169 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 737 1170 { (exit 1); exit 1; }; } 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 1171 pwd)` 1172 # When building in place, set srcdir=. 1173 if test "$ac_abs_confdir" = "$ac_pwd"; then 1174 srcdir=. 1175 fi 1176 # Remove unnecessary trailing slashes from srcdir. 1177 # Double slashes in file names in object file debugging info 1178 # mess up M-x gdb in Emacs. 1179 case $srcdir in 1180 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1181 esac 1182 for ac_var in $ac_precious_vars; do 1183 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1184 eval ac_env_${ac_var}_value=\$${ac_var} 1185 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1186 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1187 done 776 1188 777 1189 # … … 802 1214 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 803 1215 804 _ACEOF805 806 cat <<_ACEOF807 1216 Installation directories:
