1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.53. 4# 5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 6# Free Software Foundation, Inc. 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. 9 10if expr a : '\(a\)' >/dev/null 2>&1; then 11 as_expr=expr 12else 13 as_expr=false 14fi 15 16 17## --------------------- ## 18## M4sh Initialization. ## 19## --------------------- ## 20 21# Be Bourne compatible 22if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 23 emulate sh 24 NULLCMD=: 25elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 26 set -o posix 27fi 28 29# NLS nuisances. 30# Support unset when possible. 31if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 32 as_unset=unset 33else 34 as_unset=false 35fi 36 37(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && 38 { $as_unset LANG || test "${LANG+set}" != set; } || 39 { LANG=C; export LANG; } 40(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && 41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || 42 { LC_ALL=C; export LC_ALL; } 43(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && 44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || 45 { LC_TIME=C; export LC_TIME; } 46(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && 47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || 48 { LC_CTYPE=C; export LC_CTYPE; } 49(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && 50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || 51 { LANGUAGE=C; export LANGUAGE; } 52(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && 53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || 54 { LC_COLLATE=C; export LC_COLLATE; } 55(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && 56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || 57 { LC_NUMERIC=C; export LC_NUMERIC; } 58(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && 59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || 60 { LC_MESSAGES=C; export LC_MESSAGES; } 61 62 63# Name of the executable. 64as_me=`(basename "$0") 2>/dev/null || 65$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 66 X"$0" : 'X\(//\)$' \| \ 67 X"$0" : 'X\(/\)$' \| \ 68 . : '\(.\)' 2>/dev/null || 69echo X/"$0" | 70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 71 /^X\/\(\/\/\)$/{ s//\1/; q; } 72 /^X\/\(\/\).*/{ s//\1/; q; } 73 s/.*/./; q'` 74 75# PATH needs CR, and LINENO needs CR and PATH. 76# Avoid depending upon Character Ranges. 77as_cr_letters='abcdefghijklmnopqrstuvwxyz' 78as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 79as_cr_Letters=$as_cr_letters$as_cr_LETTERS 80as_cr_digits='0123456789' 81as_cr_alnum=$as_cr_Letters$as_cr_digits 82 83# The user is always right. 84if test "${PATH_SEPARATOR+set}" != set; then 85 echo "#! /bin/sh" >conftest.sh 86 echo "exit 0" >>conftest.sh 87 chmod +x conftest.sh 88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then 89 PATH_SEPARATOR=';' 90 else 91 PATH_SEPARATOR=: 92 fi 93 rm -f conftest.sh 94fi 95 96 97 as_lineno_1=$LINENO 98 as_lineno_2=$LINENO 99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 100 test "x$as_lineno_1" != "x$as_lineno_2" && 101 test "x$as_lineno_3" = "x$as_lineno_2" || { 102 # Find who we are. Look in the path if we contain no path at all 103 # relative or not. 104 case $0 in 105 *[\\/]* ) as_myself=$0 ;; 106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 107for as_dir in $PATH 108do 109 IFS=$as_save_IFS 110 test -z "$as_dir" && as_dir=. 111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 112done 113 114 ;; 115 esac 116 # We did not find ourselves, most probably we were run as `sh COMMAND' 117 # in which case we are not to be found in the path. 118 if test "x$as_myself" = x; then 119 as_myself=$0 120 fi 121 if test ! -f "$as_myself"; then 122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 123 { (exit 1); exit 1; }; } 124 fi 125 case $CONFIG_SHELL in 126 '') 127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 128for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 129do 130 IFS=$as_save_IFS 131 test -z "$as_dir" && as_dir=. 132 for as_base in sh bash ksh sh5; do 133 case $as_dir in 134 /*) 135 if ("$as_dir/$as_base" -c ' 136 as_lineno_1=$LINENO 137 as_lineno_2=$LINENO 138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 139 test "x$as_lineno_1" != "x$as_lineno_2" && 140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 141 CONFIG_SHELL=$as_dir/$as_base 142 export CONFIG_SHELL 143 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 144 fi;; 145 esac 146 done 147done 148;; 149 esac 150 151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 152 # uniformly replaced by the line number. The first 'sed' inserts a 153 # line-number line before each line; the second 'sed' does the real 154 # work. The second script uses 'N' to pair each line-number line 155 # with the numbered line, and appends trailing '-' during 156 # substitution so that $LINENO is not a special case at line end. 157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 159 sed '=' <$as_myself | 160 sed ' 161 N 162 s,$,-, 163 : loop 164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 165 t loop 166 s,-$,, 167 s,^['$as_cr_digits']*\n,, 168 ' >$as_me.lineno && 169 chmod +x $as_me.lineno || 170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 171 { (exit 1); exit 1; }; } 172 173 # Don't try to exec as it changes $[0], causing all sort of problems 174 # (the dirname of $[0] is not the place where we might find the 175 # original and so on. Autoconf is especially sensible to this). 176 . ./$as_me.lineno 177 # Exit status is that of the last command. 178 exit 179} 180 181 182case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 183 *c*,-n*) ECHO_N= ECHO_C=' 184' ECHO_T=' ' ;; 185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 187esac 188 189if expr a : '\(a\)' >/dev/null 2>&1; then 190 as_expr=expr 191else 192 as_expr=false 193fi 194 195rm -f conf$$ conf$$.exe conf$$.file 196echo >conf$$.file 197if ln -s conf$$.file conf$$ 2>/dev/null; then 198 # We could just check for DJGPP; but this test a) works b) is more generic 199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 200 if test -f conf$$.exe; then 201 # Don't use ln at all; we don't have any links 202 as_ln_s='cp -p' 203 else 204 as_ln_s='ln -s' 205 fi 206elif ln conf$$.file conf$$ 2>/dev/null; then 207 as_ln_s=ln 208else 209 as_ln_s='cp -p' 210fi 211rm -f conf$$ conf$$.exe conf$$.file 212 213as_executable_p="test -f" 214 215# Sed expression to map a string onto a valid CPP name. 216as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 217 218# Sed expression to map a string onto a valid variable name. 219as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 220 221 222# IFS 223# We need space, tab and new line, in precisely that order. 224as_nl=' 225' 226IFS=" $as_nl" 227 228# CDPATH. 229$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } 230 231 232# Name of the host. 233# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 234# so uname gets run too. 235ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 236 237exec 6>&1 238 239# 240# Initializations. 241# 242ac_default_prefix=/usr/local 243cross_compiling=no 244subdirs= 245MFLAGS= 246MAKEFLAGS= 247SHELL=${CONFIG_SHELL-/bin/sh} 248 249# Maximum number of lines to put in a shell here document. 250# This variable seems obsolete. It should probably be removed, and 251# only ac_max_sed_lines should be used. 252: ${ac_max_here_lines=38} 253 254# Identity of this package. 255PACKAGE_NAME= 256PACKAGE_TARNAME= 257PACKAGE_VERSION= 258PACKAGE_STRING= 259PACKAGE_BUGREPORT= 260 261ac_unique_file="README" 262 263# Initialize some variables set by options. 264ac_init_help= 265ac_init_version=false 266# The variables have the same names as the options, with 267# dashes changed to underlines. 268cache_file=/dev/null 269exec_prefix=NONE 270no_create= 271no_recursion= 272prefix=NONE 273program_prefix=NONE 274program_suffix=NONE 275program_transform_name=s,x,x, 276silent= 277site= 278srcdir= 279verbose= 280x_includes=NONE 281x_libraries=NONE 282 283# Installation directory options. 284# These are left unexpanded so users can "make install exec_prefix=/foo" 285# and all the variables that are supposed to be based on exec_prefix 286# by default will actually change. 287# Use braces instead of parens because sh, perl, etc. also accept them. 288bindir='${exec_prefix}/bin' 289sbindir='${exec_prefix}/sbin' 290libexecdir='${exec_prefix}/libexec' 291datadir='${prefix}/share' 292sysconfdir='${prefix}/etc' 293sharedstatedir='${prefix}/com' 294localstatedir='${prefix}/var' 295libdir='${exec_prefix}/lib' 296includedir='${prefix}/include' 297oldincludedir='/usr/include' 298infodir='${prefix}/info' 299mandir='${prefix}/man' 300 301ac_prev= 302for ac_option 303do 304 # If the previous option needs an argument, assign it. 305 if test -n "$ac_prev"; then 306 eval "$ac_prev=\$ac_option" 307 ac_prev= 308 continue 309 fi 310 311 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 312 313 # Accept the important Cygnus configure options, so we can diagnose typos. 314 315 case $ac_option in 316 317 -bindir | --bindir | --bindi | --bind | --bin | --bi) 318 ac_prev=bindir ;; 319 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 320 bindir=$ac_optarg ;; 321 322 -build | --build | --buil | --bui | --bu) 323 ac_prev=build_alias ;; 324 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 325 build_alias=$ac_optarg ;; 326 327 -cache-file | --cache-file | --cache-fil | --cache-fi \ 328 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 329 ac_prev=cache_file ;; 330 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 331 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 332 cache_file=$ac_optarg ;; 333 334 --config-cache | -C) 335 cache_file=config.cache ;; 336 337 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 338 ac_prev=datadir ;; 339 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 340 | --da=*) 341 datadir=$ac_optarg ;; 342 343 -disable-* | --disable-*) 344 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 345 # Reject names that are not valid shell variable names. 346 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 347 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 348 { (exit 1); exit 1; }; } 349 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 350 eval "enable_$ac_feature=no" ;; 351 352 -enable-* | --enable-*) 353 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 354 # Reject names that are not valid shell variable names. 355 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 356 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 357 { (exit 1); exit 1; }; } 358 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 359 case $ac_option in 360 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 361 *) ac_optarg=yes ;; 362 esac 363 eval "enable_$ac_feature='$ac_optarg'" ;; 364 365 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 366 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 367 | --exec | --exe | --ex) 368 ac_prev=exec_prefix ;; 369 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 370 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 371 | --exec=* | --exe=* | --ex=*) 372 exec_prefix=$ac_optarg ;; 373 374 -gas | --gas | --ga | --g) 375 # Obsolete; use --with-gas. 376 with_gas=yes ;; 377 378 -help | --help | --hel | --he | -h) 379 ac_init_help=long ;; 380 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 381 ac_init_help=recursive ;; 382 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 383 ac_init_help=short ;; 384 385 -host | --host | --hos | --ho) 386 ac_prev=host_alias ;; 387 -host=* | --host=* | --hos=* | --ho=*) 388 host_alias=$ac_optarg ;; 389 390 -includedir | --includedir | --includedi | --included | --include \ 391 | --includ | --inclu | --incl | --inc) 392 ac_prev=includedir ;; 393 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 394 | --includ=* | --inclu=* | --incl=* | --inc=*) 395 includedir=$ac_optarg ;; 396 397 -infodir | --infodir | --infodi | --infod | --info | --inf) 398 ac_prev=infodir ;; 399 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 400 infodir=$ac_optarg ;; 401 402 -libdir | --libdir | --libdi | --libd) 403 ac_prev=libdir ;; 404 -libdir=* | --libdir=* | --libdi=* | --libd=*) 405 libdir=$ac_optarg ;; 406 407 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 408 | --libexe | --libex | --libe) 409 ac_prev=libexecdir ;; 410 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 411 | --libexe=* | --libex=* | --libe=*) 412 libexecdir=$ac_optarg ;; 413 414 -localstatedir | --localstatedir | --localstatedi | --localstated \ 415 | --localstate | --localstat | --localsta | --localst \ 416 | --locals | --local | --loca | --loc | --lo) 417 ac_prev=localstatedir ;; 418 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 419 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 420 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 421 localstatedir=$ac_optarg ;; 422 423 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 424 ac_prev=mandir ;; 425 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 426 mandir=$ac_optarg ;; 427 428 -nfp | --nfp | --nf) 429 # Obsolete; use --without-fp. 430 with_fp=no ;; 431 432 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 433 | --no-cr | --no-c | -n) 434 no_create=yes ;; 435 436 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 437 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 438 no_recursion=yes ;; 439 440 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 441 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 442 | --oldin | --oldi | --old | --ol | --o) 443 ac_prev=oldincludedir ;; 444 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 445 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 446 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 447 oldincludedir=$ac_optarg ;; 448 449 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 450 ac_prev=prefix ;; 451 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 452 prefix=$ac_optarg ;; 453 454 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 455 | --program-pre | --program-pr | --program-p) 456 ac_prev=program_prefix ;; 457 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 458 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 459 program_prefix=$ac_optarg ;; 460 461 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 462 | --program-suf | --program-su | --program-s) 463 ac_prev=program_suffix ;; 464 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 465 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 466 program_suffix=$ac_optarg ;; 467 468 -program-transform-name | --program-transform-name \ 469 | --program-transform-nam | --program-transform-na \ 470 | --program-transform-n | --program-transform- \ 471 | --program-transform | --program-transfor \ 472 | --program-transfo | --program-transf \ 473 | --program-trans | --program-tran \ 474 | --progr-tra | --program-tr | --program-t) 475 ac_prev=program_transform_name ;; 476 -program-transform-name=* | --program-transform-name=* \ 477 | --program-transform-nam=* | --program-transform-na=* \ 478 | --program-transform-n=* | --program-transform-=* \ 479 | --program-transform=* | --program-transfor=* \ 480 | --program-transfo=* | --program-transf=* \ 481 | --program-trans=* | --program-tran=* \ 482 | --progr-tra=* | --program-tr=* | --program-t=*) 483 program_transform_name=$ac_optarg ;; 484 485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 486 | -silent | --silent | --silen | --sile | --sil) 487 silent=yes ;; 488 489 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 490 ac_prev=sbindir ;; 491 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 492 | --sbi=* | --sb=*) 493 sbindir=$ac_optarg ;; 494 495 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 496 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 497 | --sharedst | --shareds | --shared | --share | --shar \ 498 | --sha | --sh) 499 ac_prev=sharedstatedir ;; 500 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 501 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 502 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 503 | --sha=* | --sh=*) 504 sharedstatedir=$ac_optarg ;; 505 506 -site | --site | --sit) 507 ac_prev=site ;; 508 -site=* | --site=* | --sit=*) 509 site=$ac_optarg ;; 510 511 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 512 ac_prev=srcdir ;; 513 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 514 srcdir=$ac_optarg ;; 515 516 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 517 | --syscon | --sysco | --sysc | --sys | --sy) 518 ac_prev=sysconfdir ;; 519 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 520 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 521 sysconfdir=$ac_optarg ;; 522 523 -target | --target | --targe | --targ | --tar | --ta | --t) 524 ac_prev=target_alias ;; 525 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 526 target_alias=$ac_optarg ;; 527 528 -v | -verbose | --verbose | --verbos | --verbo | --verb) 529 verbose=yes ;; 530 531 -version | --version | --versio | --versi | --vers | -V) 532 ac_init_version=: ;; 533 534 -with-* | --with-*) 535 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 536 # Reject names that are not valid shell variable names. 537 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 538 { echo "$as_me: error: invalid package name: $ac_package" >&2 539 { (exit 1); exit 1; }; } 540 ac_package=`echo $ac_package| sed 's/-/_/g'` 541 case $ac_option in 542 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 543 *) ac_optarg=yes ;; 544 esac 545 eval "with_$ac_package='$ac_optarg'" ;; 546 547 -without-* | --without-*) 548 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 549 # Reject names that are not valid shell variable names. 550 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 551 { echo "$as_me: error: invalid package name: $ac_package" >&2 552 { (exit 1); exit 1; }; } 553 ac_package=`echo $ac_package | sed 's/-/_/g'` 554 eval "with_$ac_package=no" ;; 555 556 --x) 557 # Obsolete; use --with-x. 558 with_x=yes ;; 559 560 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 561 | --x-incl | --x-inc | --x-in | --x-i) 562 ac_prev=x_includes ;; 563 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 564 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 565 x_includes=$ac_optarg ;; 566 567 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 568 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 569 ac_prev=x_libraries ;; 570 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 571 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 572 x_libraries=$ac_optarg ;; 573 574 -*) { echo "$as_me: error: unrecognized option: $ac_option 575Try \`$0 --help' for more information." >&2 576 { (exit 1); exit 1; }; } 577 ;; 578 579 *=*) 580 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 581 # Reject names that are not valid shell variable names. 582 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 583 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 584 { (exit 1); exit 1; }; } 585 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 586 eval "$ac_envvar='$ac_optarg'" 587 export $ac_envvar ;; 588 589 *) 590 # FIXME: should be removed in autoconf 3.0. 591 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 592 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 593 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 594 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 595 ;; 596 597 esac 598done 599 600if test -n "$ac_prev"; then 601 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 602 { echo "$as_me: error: missing argument to $ac_option" >&2 603 { (exit 1); exit 1; }; } 604fi 605 606# Be sure to have absolute paths. 607for ac_var in exec_prefix prefix 608do 609 eval ac_val=$`echo $ac_var` 610 case $ac_val in 611 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 612 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 613 { (exit 1); exit 1; }; };; 614 esac 615done 616 617# Be sure to have absolute paths. 618for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 619 localstatedir libdir includedir oldincludedir infodir mandir 620do 621 eval ac_val=$`echo $ac_var` 622 case $ac_val in 623 [\\/$]* | ?:[\\/]* ) ;; 624 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 625 { (exit 1); exit 1; }; };; 626 esac 627done 628 629# There might be people who depend on the old broken behavior: `$host' 630# used to hold the argument of --host etc. 631# FIXME: To remove some day. 632build=$build_alias 633host=$host_alias 634target=$target_alias 635 636# FIXME: To remove some day. 637if test "x$host_alias" != x; then 638 if test "x$build_alias" = x; then 639 cross_compiling=maybe 640 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 641 If a cross compiler is detected then cross compile mode will be used." >&2 642 elif test "x$build_alias" != "x$host_alias"; then 643 cross_compiling=yes 644 fi 645fi 646 647ac_tool_prefix= 648test -n "$host_alias" && ac_tool_prefix=$host_alias- 649 650test "$silent" = yes && exec 6>/dev/null 651 652 653# Find the source files, if location was not specified. 654if test -z "$srcdir"; then 655 ac_srcdir_defaulted=yes 656 # Try the directory containing this script, then its parent. 657 ac_confdir=`(dirname "$0") 2>/dev/null || 658$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 659 X"$0" : 'X\(//\)[^/]' \| \ 660 X"$0" : 'X\(//\)$' \| \ 661 X"$0" : 'X\(/\)' \| \ 662 . : '\(.\)' 2>/dev/null || 663echo X"$0" | 664 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 665 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 666 /^X\(\/\/\)$/{ s//\1/; q; } 667 /^X\(\/\).*/{ s//\1/; q; } 668 s/.*/./; q'` 669 srcdir=$ac_confdir 670 if test ! -r $srcdir/$ac_unique_file; then 671 srcdir=.. 672 fi 673else 674 ac_srcdir_defaulted=no 675fi 676if test ! -r $srcdir/$ac_unique_file; then 677 if test "$ac_srcdir_defaulted" = yes; then 678 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 679 { (exit 1); exit 1; }; } 680 else 681 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 682 { (exit 1); exit 1; }; } 683 fi 684fi 685srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 686ac_env_build_alias_set=${build_alias+set} 687ac_env_build_alias_value=$build_alias 688ac_cv_env_build_alias_set=${build_alias+set} 689ac_cv_env_build_alias_value=$build_alias 690ac_env_host_alias_set=${host_alias+set} 691ac_env_host_alias_value=$host_alias 692ac_cv_env_host_alias_set=${host_alias+set} 693ac_cv_env_host_alias_value=$host_alias 694ac_env_target_alias_set=${target_alias+set} 695ac_env_target_alias_value=$target_alias 696ac_cv_env_target_alias_set=${target_alias+set} 697ac_cv_env_target_alias_value=$target_alias 698 699# 700# Report the --help message. 701# 702if test "$ac_init_help" = "long"; then 703 # Omit some internal or obsolete options to make the list less imposing. 704 # This message is too long to be a string in the A/UX 3.1 sh. 705 cat <<_ACEOF 706\`configure' configures this package to adapt to many kinds of systems. 707 708Usage: $0 [OPTION]... [VAR=VALUE]... 709 710To assign environment variables (e.g., CC, CFLAGS...), specify them as 711VAR=VALUE. See below for descriptions of some of the useful variables. 712 713Defaults for the options are specified in brackets. 714 715Configuration: 716 -h, --help display this help and exit 717 --help=short display options specific to this package 718 --help=recursive display the short help of all the included packages 719 -V, --version display version information and exit 720 -q, --quiet, --silent do not print \`checking...' messages 721 --cache-file=FILE cache test results in FILE [disabled] 722 -C, --config-cache alias for \`--cache-file=config.cache' 723 -n, --no-create do not create output files 724 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 725 726_ACEOF 727 728 cat <<_ACEOF 729Installation directories: 730 --prefix=PREFIX install architecture-independent files in PREFIX 731 [$ac_default_prefix] 732 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 733 [PREFIX] 734 735By default, \`make install' will install all the files in 736\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 737an installation prefix other than \`$ac_default_prefix' using \`--prefix', 738for instance \`--prefix=\$HOME'. 739 740For better control, use the options below. 741 742Fine tuning of the installation directories: 743 --bindir=DIR user executables [EPREFIX/bin] 744 --sbindir=DIR system admin executables [EPREFIX/sbin] 745 --libexecdir=DIR program executables [EPREFIX/libexec] 746 --datadir=DIR read-only architecture-independent data [PREFIX/share] 747 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 748 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 749 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 750 --libdir=DIR object code libraries [EPREFIX/lib] 751 --includedir=DIR C header files [PREFIX/include] 752 --oldincludedir=DIR C header files for non-gcc [/usr/include] 753 --infodir=DIR info documentation [PREFIX/info] 754 --mandir=DIR man documentation [PREFIX/man] 755_ACEOF 756 757 cat <<\_ACEOF 758_ACEOF 759fi 760 761if test -n "$ac_init_help"; then 762 763 cat <<\_ACEOF 764 765_ACEOF 766fi 767 768if test "$ac_init_help" = "recursive"; then 769 # If there are subdirs, report their specific --help. 770 ac_popdir=`pwd` 771 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 772 test -d $ac_dir || continue 773 ac_builddir=. 774 775if test "$ac_dir" != .; then 776 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 777 # A "../" for each directory in $ac_dir_suffix. 778 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 779else 780 ac_dir_suffix= ac_top_builddir= 781fi 782 783case $srcdir in 784 .) # No --srcdir option. We are building in place. 785 ac_srcdir=. 786 if test -z "$ac_top_builddir"; then 787 ac_top_srcdir=. 788 else 789 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 790 fi ;; 791 [\\/]* | ?:[\\/]* ) # Absolute path. 792 ac_srcdir=$srcdir$ac_dir_suffix; 793 ac_top_srcdir=$srcdir ;; 794 *) # Relative path. 795 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 796 ac_top_srcdir=$ac_top_builddir$srcdir ;; 797esac 798# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 799# absolute. 800ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 801ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 802ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 803ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 804 805 cd $ac_dir 806 # Check for guested configure; otherwise get Cygnus style configure. 807 if test -f $ac_srcdir/configure.gnu; then 808 echo 809 $SHELL $ac_srcdir/configure.gnu --help=recursive 810 elif test -f $ac_srcdir/configure; then 811 echo 812 $SHELL $ac_srcdir/configure --help=recursive 813 elif test -f $ac_srcdir/configure.ac || 814 test -f $ac_srcdir/configure.in; then 815 echo 816 $ac_configure --help 817 else 818 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 819 fi 820 cd $ac_popdir 821 done 822fi 823 824test -n "$ac_init_help" && exit 0 825if $ac_init_version; then 826 cat <<\_ACEOF 827 828Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 829Free Software Foundation, Inc. 830This configure script is free software; the Free Software Foundation 831gives unlimited permission to copy, distribute and modify it. 832_ACEOF 833 exit 0 834fi 835exec 5>config.log 836cat >&5 <<_ACEOF 837This file contains any messages produced by compilers while 838running configure, to aid debugging if configure makes a mistake. 839 840It was created by $as_me, which was 841generated by GNU Autoconf 2.53. Invocation command line was 842 843 $ $0 $@ 844 845_ACEOF 846{ 847cat <<_ASUNAME 848## --------- ## 849## Platform. ## 850## --------- ## 851 852hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 853uname -m = `(uname -m) 2>/dev/null || echo unknown` 854uname -r = `(uname -r) 2>/dev/null || echo unknown` 855uname -s = `(uname -s) 2>/dev/null || echo unknown` 856uname -v = `(uname -v) 2>/dev/null || echo unknown` 857 858/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 859/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 860 861/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 862/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 863/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 864hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 865/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 866/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 867/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 868 869_ASUNAME 870 871as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 872for as_dir in $PATH 873do 874 IFS=$as_save_IFS 875 test -z "$as_dir" && as_dir=. 876 echo "PATH: $as_dir" 877done 878 879} >&5 880 881cat >&5 <<_ACEOF 882 883 884## ----------- ## 885## Core tests. ## 886## ----------- ## 887 888_ACEOF 889 890 891# Keep a trace of the command line. 892# Strip out --no-create and --no-recursion so they do not pile up. 893# Also quote any args containing shell meta-characters. 894ac_configure_args= 895ac_sep= 896for ac_arg 897do 898 case $ac_arg in 899 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 900 | --no-cr | --no-c | -n ) continue ;; 901 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 902 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 903 continue ;; 904 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 905 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 906 esac 907 case " $ac_configure_args " in 908 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 909 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 910 ac_sep=" " ;; 911 esac 912 # Get rid of the leading space. 913done 914 915# When interrupted or exit'd, cleanup temporary files, and complete 916# config.log. We remove comments because anyway the quotes in there 917# would cause problems or look ugly. 918# WARNING: Be sure not to use single quotes in there, as some shells, 919# such as our DU 5.0 friend, will then `close' the trap. 920trap 'exit_status=$? 921 # Save into config.log some information that might help in debugging. 922 { 923 echo 924 cat <<\_ASBOX 925## ---------------- ## 926## Cache variables. ## 927## ---------------- ## 928_ASBOX 929 echo 930 # The following way of writing the cache mishandles newlines in values, 931{ 932 (set) 2>&1 | 933 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 934 *ac_space=\ *) 935 sed -n \ 936 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 937 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 938 ;; 939 *) 940 sed -n \ 941 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 942 ;; 943 esac; 944} 945 echo 946 if test -s confdefs.h; then 947 cat <<\_ASBOX 948## ----------- ## 949## confdefs.h. ## 950## ----------- ## 951_ASBOX 952 echo 953 sed "/^$/d" confdefs.h 954 echo 955 fi 956 test "$ac_signal" != 0 && 957 echo "$as_me: caught signal $ac_signal" 958 echo "$as_me: exit $exit_status" 959 } >&5 960 rm -f core core.* *.core && 961 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 962 exit $exit_status 963 ' 0 964for ac_signal in 1 2 13 15; do 965 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 966done 967ac_signal=0 968 969# confdefs.h avoids OS command line length limits that DEFS can exceed. 970rm -rf conftest* confdefs.h 971# AIX cpp loses on an empty file, so make sure it contains at least a newline. 972echo >confdefs.h 973 974# Predefined preprocessor variables. 975 976cat >>confdefs.h <<_ACEOF 977#define PACKAGE_NAME "$PACKAGE_NAME" 978_ACEOF 979 980 981cat >>confdefs.h <<_ACEOF 982#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 983_ACEOF 984 985 986cat >>confdefs.h <<_ACEOF 987#define PACKAGE_VERSION "$PACKAGE_VERSION" 988_ACEOF 989 990 991cat >>confdefs.h <<_ACEOF 992#define PACKAGE_STRING "$PACKAGE_STRING" 993_ACEOF 994 995 996cat >>confdefs.h <<_ACEOF 997#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 998_ACEOF 999 1000 1001# Let the site file select an alternate cache file if it wants to. 1002# Prefer explicitly selected file to automatically selected ones. 1003if test -z "$CONFIG_SITE"; then 1004 if test "x$prefix" != xNONE; then 1005 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1006 else 1007 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1008 fi 1009fi 1010for ac_site_file in $CONFIG_SITE; do 1011 if test -r "$ac_site_file"; then 1012 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1013echo "$as_me: loading site script $ac_site_file" >&6;} 1014 sed 's/^/| /' "$ac_site_file" >&5 1015 . "$ac_site_file" 1016 fi 1017done 1018 1019if test -r "$cache_file"; then 1020 # Some versions of bash will fail to source /dev/null (special 1021 # files actually), so we avoid doing that. 1022 if test -f "$cache_file"; then 1023 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1024echo "$as_me: loading cache $cache_file" >&6;} 1025 case $cache_file in 1026 [\\/]* | ?:[\\/]* ) . $cache_file;; 1027 *) . ./$cache_file;; 1028 esac 1029 fi 1030else 1031 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1032echo "$as_me: creating cache $cache_file" >&6;} 1033 >$cache_file 1034fi 1035 1036# Check that the precious variables saved in the cache have kept the same 1037# value. 1038ac_cache_corrupted=false 1039for ac_var in `(set) 2>&1 | 1040 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1041 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1042 eval ac_new_set=\$ac_env_${ac_var}_set 1043 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1044 eval ac_new_val="\$ac_env_${ac_var}_value" 1045 case $ac_old_set,$ac_new_set in 1046 set,) 1047 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1048echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1049 ac_cache_corrupted=: ;; 1050 ,set) 1051 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1052echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1053 ac_cache_corrupted=: ;; 1054 ,);; 1055 *) 1056 if test "x$ac_old_val" != "x$ac_new_val"; then 1057 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1058echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1059 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1060echo "$as_me: former value: $ac_old_val" >&2;} 1061 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1062echo "$as_me: current value: $ac_new_val" >&2;} 1063 ac_cache_corrupted=: 1064 fi;; 1065 esac 1066 # Pass precious variables to config.status. 1067 if test "$ac_new_set" = set; then 1068 case $ac_new_val in 1069 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1070 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1071 *) ac_arg=$ac_var=$ac_new_val ;; 1072 esac 1073 case " $ac_configure_args " in 1074 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1075 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1076 esac 1077 fi 1078done 1079if $ac_cache_corrupted; then 1080 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1081echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1082 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1083echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1084 { (exit 1); exit 1; }; } 1085fi 1086 1087ac_ext=c 1088ac_cpp='$CPP $CPPFLAGS' 1089ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1090ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1091ac_compiler_gnu=$ac_cv_c_compiler_gnu 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111# Extract the first word of "make", so it can be a program name with args. 1112set dummy make; ac_word=$2 1113echo "$as_me:$LINENO: checking for $ac_word" >&5 1114echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1115if test "${ac_cv_prog_GNU_MAKE+set}" = set; then 1116 echo $ECHO_N "(cached) $ECHO_C" >&6 1117else 1118 if test -n "$GNU_MAKE"; then 1119 ac_cv_prog_GNU_MAKE="$GNU_MAKE" # Let the user override the test. 1120else 1121as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1122for as_dir in $PATH 1123do 1124 IFS=$as_save_IFS 1125 test -z "$as_dir" && as_dir=. 1126 for ac_exec_ext in '' $ac_executable_extensions; do 1127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1128 ac_cv_prog_GNU_MAKE="yes" 1129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1130 break 2 1131 fi 1132done 1133done 1134 1135fi 1136fi 1137GNU_MAKE=$ac_cv_prog_GNU_MAKE 1138if test -n "$GNU_MAKE"; then 1139 echo "$as_me:$LINENO: result: $GNU_MAKE" >&5 1140echo "${ECHO_T}$GNU_MAKE" >&6 1141else 1142 echo "$as_me:$LINENO: result: no" >&5 1143echo "${ECHO_T}no" >&6 1144fi 1145 1146ac_aux_dir= 1147for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1148 if test -f $ac_dir/install-sh; then 1149 ac_aux_dir=$ac_dir 1150 ac_install_sh="$ac_aux_dir/install-sh -c" 1151 break 1152 elif test -f $ac_dir/install.sh; then 1153 ac_aux_dir=$ac_dir 1154 ac_install_sh="$ac_aux_dir/install.sh -c" 1155 break 1156 elif test -f $ac_dir/shtool; then 1157 ac_aux_dir=$ac_dir 1158 ac_install_sh="$ac_aux_dir/shtool install -c" 1159 break 1160 fi 1161done 1162if test -z "$ac_aux_dir"; then 1163 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1164echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1165 { (exit 1); exit 1; }; } 1166fi 1167ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1168ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1169ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1170 1171# Find a good install program. We prefer a C program (faster), 1172# so one script is as good as another. But avoid the broken or 1173# incompatible versions: 1174# SysV /etc/install, /usr/sbin/install 1175# SunOS /usr/etc/install 1176# IRIX /sbin/install 1177# AIX /bin/install 1178# AmigaOS /C/install, which installs bootblocks on floppy discs 1179# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1180# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1181# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1182# ./install, which can be erroneously created by make from ./install.sh. 1183echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1184echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1185if test -z "$INSTALL"; then 1186if test "${ac_cv_path_install+set}" = set; then 1187 echo $ECHO_N "(cached) $ECHO_C" >&6 1188else 1189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1190for as_dir in $PATH 1191do 1192 IFS=$as_save_IFS 1193 test -z "$as_dir" && as_dir=. 1194 # Account for people who put trailing slashes in PATH elements. 1195case $as_dir/ in 1196 ./ | .// | /cC/* | \ 1197 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1198 /usr/ucb/* ) ;; 1199 *) 1200 # OSF1 and SCO ODT 3.0 have their own names for install. 1201 # Don't use installbsd from OSF since it installs stuff as root 1202 # by default. 1203 for ac_prog in ginstall scoinst install; do 1204 for ac_exec_ext in '' $ac_executable_extensions; do 1205 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1206 if test $ac_prog = install && 1207 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1208 # AIX install. It has an incompatible calling convention. 1209 : 1210 elif test $ac_prog = install && 1211 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1212 # program-specific install script used by HP pwplus--don't use. 1213 : 1214 else 1215 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1216 break 3 1217 fi 1218 fi 1219 done 1220 done 1221 ;; 1222esac 1223done 1224 1225 1226fi 1227 if test "${ac_cv_path_install+set}" = set; then 1228 INSTALL=$ac_cv_path_install 1229 else 1230 # As a last resort, use the slow shell script. We don't cache a 1231 # path for INSTALL within a source directory, because that will 1232 # break other packages using the cache if that directory is 1233 # removed, or if the path is relative. 1234 INSTALL=$ac_install_sh 1235 fi 1236fi 1237echo "$as_me:$LINENO: result: $INSTALL" >&5 1238echo "${ECHO_T}$INSTALL" >&6 1239 1240# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1241# It thinks the first close brace ends the variable substitution. 1242test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1243 1244test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1245 1246test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1247 1248# Extract the first word of "eboard-config", so it can be a program name with args. 1249set dummy eboard-config; ac_word=$2 1250echo "$as_me:$LINENO: checking for $ac_word" >&5 1251echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1252if test "${ac_cv_path_EBOARDCONFIG+set}" = set; then 1253 echo $ECHO_N "(cached) $ECHO_C" >&6 1254else 1255 case $EBOARDCONFIG in 1256 [\\/]* | ?:[\\/]*) 1257 ac_cv_path_EBOARDCONFIG="$EBOARDCONFIG" # Let the user override the test with a path. 1258 ;; 1259 *) 1260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1261for as_dir in $PATH 1262do 1263 IFS=$as_save_IFS 1264 test -z "$as_dir" && as_dir=. 1265 for ac_exec_ext in '' $ac_executable_extensions; do 1266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1267 ac_cv_path_EBOARDCONFIG="$as_dir/$ac_word$ac_exec_ext" 1268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1269 break 2 1270 fi 1271done 1272done 1273 1274 test -z "$ac_cv_path_EBOARDCONFIG" && ac_cv_path_EBOARDCONFIG="no" 1275 ;; 1276esac 1277fi 1278EBOARDCONFIG=$ac_cv_path_EBOARDCONFIG 1279 1280if test -n "$EBOARDCONFIG"; then 1281 echo "$as_me:$LINENO: result: $EBOARDCONFIG" >&5 1282echo "${ECHO_T}$EBOARDCONFIG" >&6 1283else 1284 echo "$as_me:$LINENO: result: no" >&5 1285echo "${ECHO_T}no" >&6 1286fi 1287 1288 1289if test "$EBOARDCONFIG" != "no"; then 1290 echo "$as_me:$LINENO: checking for eboard >= 0.3.1" >&5 1291echo $ECHO_N "checking for eboard >= 0.3.1... $ECHO_C" >&6 1292 echo "0.3.1" > vfile1 1293 $EBOARDCONFIG --version >> vfile1 1294 sort <vfile1 >vfile2 1295 1296 echo "0.3.2" > vfile3 1297 $EBOARDCONFIG --version >> vfile3 1298 sort <vfile3 >vfile4 1299 1300 if ! diff -q vfile1 vfile2 >/dev/null ; then 1301 rm -f vfile1 vfile2 vfile3 vfile4 1302 echo "$as_me:$LINENO: result: no" >&5 1303echo "${ECHO_T}no" >&6 1304 { { echo "$as_me:$LINENO: error: you need eboard 0.3.1 or newer" >&5 1305echo "$as_me: error: you need eboard 0.3.1 or newer" >&2;} 1306 { (exit 1); exit 1; }; } 1307 else 1308 rm -f vfile1 vfile2 1309 echo "$as_me:$LINENO: result: yes" >&5 1310echo "${ECHO_T}yes" >&6 1311 fi 1312else 1313 { { echo "$as_me:$LINENO: error: you don't seem to have eboard >= 0.3.1 installed." >&5 1314echo "$as_me: error: you don't seem to have eboard >= 0.3.1 installed." >&2;} 1315 { (exit 1); exit 1; }; } 1316fi 1317 1318if ! diff -q vfile3 vfile4 >/dev/null ; then 1319 MY_TARGET=compatible-install 1320else 1321 MY_TARGET=newer-install 1322fi 1323 1324rm -f vfile3 vfile4 1325 1326 1327 1328DATADIR=`$EBOARDCONFIG --datadir` 1329 1330 1331ac_config_files="$ac_config_files Makefile" 1332cat >confcache <<\_ACEOF 1333# This file is a shell script that caches the results of configure 1334# tests run on this system so they can be shared between configure 1335# scripts and configure runs, see configure's option --config-cache. 1336# It is not useful on other systems. If it contains results you don't 1337# want to keep, you may remove or edit it. 1338# 1339# config.status only pays attention to the cache file if you give it 1340# the --recheck option to rerun configure. 1341# 1342# `ac_cv_env_foo' variables (set or unset) will be overriden when 1343# loading this file, other *unset* `ac_cv_foo' will be assigned the 1344# following values. 1345 1346_ACEOF 1347 1348# The following way of writing the cache mishandles newlines in values, 1349# but we know of no workaround that is simple, portable, and efficient. 1350# So, don't put newlines in cache variables' values. 1351# Ultrix sh set writes to stderr and can't be redirected directly, 1352# and sets the high bit in the cache file unless we assign to the vars. 1353{ 1354 (set) 2>&1 | 1355 case `(ac_space=' '; set | grep ac_space) 2>&1` in 1356 *ac_space=\ *) 1357 # `set' does not quote correctly, so add quotes (double-quote 1358 # substitution turns \\\\ into \\, and sed turns \\ into \). 1359 sed -n \ 1360 "s/'/'\\\\''/g; 1361 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 1362 ;; 1363 *) 1364 # `set' quotes correctly as required by POSIX, so do not add quotes. 1365 sed -n \ 1366 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1367 ;; 1368 esac; 1369} | 1370 sed ' 1371 t clear 1372 : clear 1373 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 1374 t end 1375 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 1376 : end' >>confcache 1377if cmp -s $cache_file confcache; then :; else 1378 if test -w $cache_file; then 1379 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 1380 cat confcache >$cache_file 1381 else 1382 echo "not updating unwritable cache $cache_file" 1383 fi 1384fi 1385rm -f confcache 1386 1387test "x$prefix" = xNONE && prefix=$ac_default_prefix 1388# Let make expand exec_prefix. 1389test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 1390 1391# VPATH may cause trouble with some makes, so we remove $(srcdir), 1392# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 1393# trailing colons and then remove the whole line if VPATH becomes empty 1394# (actually we leave an empty line to preserve line numbers). 1395if test "x$srcdir" = x.; then 1396 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 1397s/:*\$(srcdir):*/:/; 1398s/:*\${srcdir}:*/:/; 1399s/:*@srcdir@:*/:/; 1400s/^\([^=]*=[ ]*\):*/\1/; 1401s/:*$//; 1402s/^[^=]*=[ ]*$//; 1403}' 1404fi 1405 1406# Transform confdefs.h into DEFS. 1407# Protect against shell expansion while executing Makefile rules. 1408# Protect against Makefile macro expansion. 1409# 1410# If the first sed substitution is executed (which looks for macros that 1411# take arguments), then we branch to the quote section. Otherwise, 1412# look for a macro that doesn't take arguments. 1413cat >confdef2opt.sed <<\_ACEOF 1414t clear 1415: clear 1416s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 1417t quote 1418s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 1419t quote 1420d 1421: quote 1422s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 1423s,\[,\\&,g 1424s,\],\\&,g 1425s,\$,$$,g 1426p 1427_ACEOF 1428# We use echo to avoid assuming a particular line-breaking character. 1429# The extra dot is to prevent the shell from consuming trailing 1430# line-breaks from the sub-command output. A line-break within 1431# single-quotes doesn't work because, if this script is created in a 1432# platform that uses two characters for line-breaks (e.g., DOS), tr 1433# would break. 1434ac_LF_and_DOT=`echo; echo .` 1435DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 1436rm -f confdef2opt.sed 1437 1438 1439 1440: ${CONFIG_STATUS=./config.status} 1441ac_clean_files_save=$ac_clean_files 1442ac_clean_files="$ac_clean_files $CONFIG_STATUS" 1443{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 1444echo "$as_me: creating $CONFIG_STATUS" >&6;} 1445cat >$CONFIG_STATUS <<_ACEOF 1446#! $SHELL 1447# Generated by $as_me. 1448# Run this file to recreate the current configuration. 1449# Compiler output produced by configure, useful for debugging 1450# configure, is in config.log if it exists. 1451 1452debug=false 1453SHELL=\${CONFIG_SHELL-$SHELL} 1454_ACEOF 1455 1456cat >>$CONFIG_STATUS <<\_ACEOF 1457 1458## --------------------- ## 1459## M4sh Initialization. ## 1460## --------------------- ## 1461 1462# Be Bourne compatible 1463if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 1464 emulate sh 1465 NULLCMD=: 1466elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 1467 set -o posix 1468fi 1469 1470# NLS nuisances. 1471# Support unset when possible. 1472if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 1473 as_unset=unset 1474else 1475 as_unset=false 1476fi 1477 1478(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && 1479 { $as_unset LANG || test "${LANG+set}" != set; } || 1480 { LANG=C; export LANG; } 1481(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && 1482 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || 1483 { LC_ALL=C; export LC_ALL; } 1484(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && 1485 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || 1486 { LC_TIME=C; export LC_TIME; } 1487(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && 1488 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || 1489 { LC_CTYPE=C; export LC_CTYPE; } 1490(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && 1491 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || 1492 { LANGUAGE=C; export LANGUAGE; } 1493(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && 1494 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || 1495 { LC_COLLATE=C; export LC_COLLATE; } 1496(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && 1497 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || 1498 { LC_NUMERIC=C; export LC_NUMERIC; } 1499(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && 1500 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || 1501 { LC_MESSAGES=C; export LC_MESSAGES; } 1502 1503 1504# Name of the executable. 1505as_me=`(basename "$0") 2>/dev/null || 1506$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 1507 X"$0" : 'X\(//\)$' \| \ 1508 X"$0" : 'X\(/\)$' \| \ 1509 . : '\(.\)' 2>/dev/null || 1510echo X/"$0" | 1511 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 1512 /^X\/\(\/\/\)$/{ s//\1/; q; } 1513 /^X\/\(\/\).*/{ s//\1/; q; } 1514 s/.*/./; q'` 1515 1516# PATH needs CR, and LINENO needs CR and PATH. 1517# Avoid depending upon Character Ranges. 1518as_cr_letters='abcdefghijklmnopqrstuvwxyz' 1519as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 1520as_cr_Letters=$as_cr_letters$as_cr_LETTERS 1521as_cr_digits='0123456789' 1522as_cr_alnum=$as_cr_Letters$as_cr_digits 1523 1524# The user is always right. 1525if test "${PATH_SEPARATOR+set}" != set; then 1526 echo "#! /bin/sh" >conftest.sh 1527 echo "exit 0" >>conftest.sh 1528 chmod +x conftest.sh 1529 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then 1530 PATH_SEPARATOR=';' 1531 else 1532 PATH_SEPARATOR=: 1533 fi 1534 rm -f conftest.sh 1535fi 1536 1537 1538 as_lineno_1=$LINENO 1539 as_lineno_2=$LINENO 1540 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 1541 test "x$as_lineno_1" != "x$as_lineno_2" && 1542 test "x$as_lineno_3" = "x$as_lineno_2" || { 1543 # Find who we are. Look in the path if we contain no path at all 1544 # relative or not. 1545 case $0 in 1546 *[\\/]* ) as_myself=$0 ;; 1547 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1548for as_dir in $PATH 1549do 1550 IFS=$as_save_IFS 1551 test -z "$as_dir" && as_dir=. 1552 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1553done 1554 1555 ;; 1556 esac 1557 # We did not find ourselves, most probably we were run as `sh COMMAND' 1558 # in which case we are not to be found in the path. 1559 if test "x$as_myself" = x; then 1560 as_myself=$0 1561 fi 1562 if test ! -f "$as_myself"; then 1563 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 1564echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 1565 { (exit 1); exit 1; }; } 1566 fi 1567 case $CONFIG_SHELL in 1568 '') 1569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1570for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 1571do 1572 IFS=$as_save_IFS 1573 test -z "$as_dir" && as_dir=. 1574 for as_base in sh bash ksh sh5; do 1575 case $as_dir in 1576 /*) 1577 if ("$as_dir/$as_base" -c ' 1578 as_lineno_1=$LINENO 1579 as_lineno_2=$LINENO 1580 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 1581 test "x$as_lineno_1" != "x$as_lineno_2" && 1582 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 1583 CONFIG_SHELL=$as_dir/$as_base 1584 export CONFIG_SHELL 1585 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 1586 fi;; 1587 esac 1588 done 1589done 1590;; 1591 esac 1592 1593 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 1594 # uniformly replaced by the line number. The first 'sed' inserts a 1595 # line-number line before each line; the second 'sed' does the real 1596 # work. The second script uses 'N' to pair each line-number line 1597 # with the numbered line, and appends trailing '-' during 1598 # substitution so that $LINENO is not a special case at line end. 1599 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 1600 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 1601 sed '=' <$as_myself | 1602 sed ' 1603 N 1604 s,$,-, 1605 : loop 1606 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 1607 t loop 1608 s,-$,, 1609 s,^['$as_cr_digits']*\n,, 1610 ' >$as_me.lineno && 1611 chmod +x $as_me.lineno || 1612 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 1613echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 1614 { (exit 1); exit 1; }; } 1615 1616 # Don't try to exec as it changes $[0], causing all sort of problems 1617 # (the dirname of $[0] is not the place where we might find the 1618 # original and so on. Autoconf is especially sensible to this). 1619 . ./$as_me.lineno 1620 # Exit status is that of the last command. 1621 exit 1622} 1623 1624 1625case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 1626 *c*,-n*) ECHO_N= ECHO_C=' 1627' ECHO_T=' ' ;; 1628 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 1629 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 1630esac 1631 1632if expr a : '\(a\)' >/dev/null 2>&1; then 1633 as_expr=expr 1634else 1635 as_expr=false 1636fi 1637 1638rm -f conf$$ conf$$.exe conf$$.file 1639echo >conf$$.file 1640if ln -s conf$$.file conf$$ 2>/dev/null; then 1641 # We could just check for DJGPP; but this test a) works b) is more generic 1642 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 1643 if test -f conf$$.exe; then 1644 # Don't use ln at all; we don't have any links 1645 as_ln_s='cp -p' 1646 else 1647 as_ln_s='ln -s' 1648 fi 1649elif ln conf$$.file conf$$ 2>/dev/null; then 1650 as_ln_s=ln 1651else 1652 as_ln_s='cp -p' 1653fi 1654rm -f conf$$ conf$$.exe conf$$.file 1655 1656as_executable_p="test -f" 1657 1658# Sed expression to map a string onto a valid CPP name. 1659as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 1660 1661# Sed expression to map a string onto a valid variable name. 1662as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 1663 1664 1665# IFS 1666# We need space, tab and new line, in precisely that order. 1667as_nl=' 1668' 1669IFS=" $as_nl" 1670 1671# CDPATH. 1672$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } 1673 1674exec 6>&1 1675 1676# Open the log real soon, to keep \$[0] and so on meaningful, and to 1677# report actual input values of CONFIG_FILES etc. instead of their 1678# values after options handling. Logging --version etc. is OK. 1679exec 5>>config.log 1680{ 1681 echo 1682 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 1683## Running $as_me. ## 1684_ASBOX 1685} >&5 1686cat >&5 <<_CSEOF 1687 1688This file was extended by $as_me, which was 1689generated by GNU Autoconf 2.53. Invocation command line was 1690 1691 CONFIG_FILES = $CONFIG_FILES 1692 CONFIG_HEADERS = $CONFIG_HEADERS 1693 CONFIG_LINKS = $CONFIG_LINKS 1694 CONFIG_COMMANDS = $CONFIG_COMMANDS 1695 $ $0 $@ 1696 1697_CSEOF 1698echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 1699echo >&5 1700_ACEOF 1701 1702# Files that config.status was made for. 1703if test -n "$ac_config_files"; then 1704 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 1705fi 1706 1707if test -n "$ac_config_headers"; then 1708 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 1709fi 1710 1711if test -n "$ac_config_links"; then 1712 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 1713fi 1714 1715if test -n "$ac_config_commands"; then 1716 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 1717fi 1718 1719cat >>$CONFIG_STATUS <<\_ACEOF 1720 1721ac_cs_usage="\ 1722\`$as_me' instantiates files from templates according to the 1723current configuration. 1724 1725Usage: $0 [OPTIONS] [FILE]... 1726 1727 -h, --help print this help, then exit 1728 -V, --version print version number, then exit 1729 -d, --debug don't remove temporary files 1730 --recheck update $as_me by reconfiguring in the same conditions 1731 --file=FILE[:TEMPLATE] 1732 instantiate the configuration file FILE 1733 1734Configuration files: 1735$config_files 1736 1737Report bugs to <bug-autoconf@gnu.org>." 1738_ACEOF 1739 1740cat >>$CONFIG_STATUS <<_ACEOF 1741ac_cs_version="\\ 1742config.status 1743configured by $0, generated by GNU Autoconf 2.53, 1744 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 1745 1746Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 1747Free Software Foundation, Inc. 1748This config.status script is free software; the Free Software Foundation 1749gives unlimited permission to copy, distribute and modify it." 1750srcdir=$srcdir 1751INSTALL="$INSTALL" 1752_ACEOF 1753 1754cat >>$CONFIG_STATUS <<\_ACEOF 1755# If no file are specified by the user, then we need to provide default 1756# value. By we need to know if files were specified by the user. 1757ac_need_defaults=: 1758while test $# != 0 1759do 1760 case $1 in 1761 --*=*) 1762 ac_option=`expr "x$1" : 'x\([^=]*\)='` 1763 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 1764 shift 1765 set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 1766 shift 1767 ;; 1768 -*);; 1769 *) # This is not an option, so the user has probably given explicit 1770 # arguments. 1771 ac_need_defaults=false;; 1772 esac 1773 1774 case $1 in 1775 # Handling of the options. 1776_ACEOF 1777cat >>$CONFIG_STATUS <<_ACEOF 1778 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 1779 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 1780 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 1781_ACEOF 1782cat >>$CONFIG_STATUS <<\_ACEOF 1783 --version | --vers* | -V ) 1784 echo "$ac_cs_version"; exit 0 ;; 1785 --he | --h) 1786 # Conflict between --help and --header 1787 { { echo "$as_me:$LINENO: error: ambiguous option: $1 1788Try \`$0 --help' for more information." >&5 1789echo "$as_me: error: ambiguous option: $1 1790Try \`$0 --help' for more information." >&2;} 1791 { (exit 1); exit 1; }; };; 1792 --help | --hel | -h ) 1793 echo "$ac_cs_usage"; exit 0 ;; 1794 --debug | --d* | -d ) 1795 debug=: ;; 1796 --file | --fil | --fi | --f ) 1797 shift 1798 CONFIG_FILES="$CONFIG_FILES $1" 1799 ac_need_defaults=false;; 1800 --header | --heade | --head | --hea ) 1801 shift 1802 CONFIG_HEADERS="$CONFIG_HEADERS $1" 1803 ac_need_defaults=false;; 1804 1805 # This is an error. 1806 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 1807Try \`$0 --help' for more information." >&5 1808echo "$as_me: error: unrecognized option: $1 1809Try \`$0 --help' for more information." >&2;} 1810 { (exit 1); exit 1; }; } ;; 1811 1812 *) ac_config_targets="$ac_config_targets $1" ;; 1813 1814 esac 1815 shift 1816done 1817 1818_ACEOF 1819 1820 1821 1822 1823 1824cat >>$CONFIG_STATUS <<\_ACEOF 1825for ac_config_target in $ac_config_targets 1826do 1827 case "$ac_config_target" in 1828 # Handling of arguments. 1829 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 1830 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 1831echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 1832 { (exit 1); exit 1; }; };; 1833 esac 1834done 1835 1836# If the user did not use the arguments to specify the items to instantiate, 1837# then the envvar interface is used. Set only those that are not. 1838# We use the long form for the default assignment because of an extremely 1839# bizarre bug on SunOS 4.1.3. 1840if $ac_need_defaults; then 1841 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 1842fi 1843 1844# Create a temporary directory, and hook for its removal unless debugging. 1845$debug || 1846{ 1847 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 1848 trap '{ (exit 1); exit 1; }' 1 2 13 15 1849} 1850 1851# Create a (secure) tmp directory for tmp files. 1852: ${TMPDIR=/tmp} 1853{ 1854 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && 1855 test -n "$tmp" && test -d "$tmp" 1856} || 1857{ 1858 tmp=$TMPDIR/cs$$-$RANDOM 1859 (umask 077 && mkdir $tmp) 1860} || 1861{ 1862 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 1863 { (exit 1); exit 1; } 1864} 1865 1866_ACEOF 1867 1868cat >>$CONFIG_STATUS <<_ACEOF 1869 1870# 1871# CONFIG_FILES section. 1872# 1873 1874# No need to generate the scripts if there are no CONFIG_FILES. 1875# This happens for instance when ./config.status config.h 1876if test -n "\$CONFIG_FILES"; then 1877 # Protect against being on the right side of a sed subst in config.status. 1878 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 1879 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 1880s,@SHELL@,$SHELL,;t t 1881s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 1882s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 1883s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 1884s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 1885s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 1886s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 1887s,@exec_prefix@,$exec_prefix,;t t 1888s,@prefix@,$prefix,;t t 1889s,@program_transform_name@,$program_transform_name,;t t 1890s,@bindir@,$bindir,;t t 1891s,@sbindir@,$sbindir,;t t 1892s,@libexecdir@,$libexecdir,;t t 1893s,@datadir@,$datadir,;t t 1894s,@sysconfdir@,$sysconfdir,;t t 1895s,@sharedstatedir@,$sharedstatedir,;t t 1896s,@localstatedir@,$localstatedir,;t t 1897s,@libdir@,$libdir,;t t 1898s,@includedir@,$includedir,;t t 1899s,@oldincludedir@,$oldincludedir,;t t 1900s,@infodir@,$infodir,;t t 1901s,@mandir@,$mandir,;t t 1902s,@build_alias@,$build_alias,;t t 1903s,@host_alias@,$host_alias,;t t 1904s,@target_alias@,$target_alias,;t t 1905s,@DEFS@,$DEFS,;t t 1906s,@ECHO_C@,$ECHO_C,;t t 1907s,@ECHO_N@,$ECHO_N,;t t 1908s,@ECHO_T@,$ECHO_T,;t t 1909s,@LIBS@,$LIBS,;t t 1910s,@GNU_MAKE@,$GNU_MAKE,;t t 1911s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 1912s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 1913s,@INSTALL_DATA@,$INSTALL_DATA,;t t 1914s,@EBOARDCONFIG@,$EBOARDCONFIG,;t t 1915s,@MY_TARGET@,$MY_TARGET,;t t 1916s,@DATADIR@,$DATADIR,;t t 1917CEOF 1918 1919_ACEOF 1920 1921 cat >>$CONFIG_STATUS <<\_ACEOF 1922 # Split the substitutions into bite-sized pieces for seds with 1923 # small command number limits, like on Digital OSF/1 and HP-UX. 1924 ac_max_sed_lines=48 1925 ac_sed_frag=1 # Number of current file. 1926 ac_beg=1 # First line for current file. 1927 ac_end=$ac_max_sed_lines # Line after last line for current file. 1928 ac_more_lines=: 1929 ac_sed_cmds= 1930 while $ac_more_lines; do 1931 if test $ac_beg -gt 1; then 1932 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 1933 else 1934 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 1935 fi 1936 if test ! -s $tmp/subs.frag; then 1937 ac_more_lines=false 1938 else 1939 # The purpose of the label and of the branching condition is to 1940 # speed up the sed processing (if there are no `@' at all, there 1941 # is no need to browse any of the substitutions). 1942 # These are the two extra sed commands mentioned above. 1943 (echo ':t 1944 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 1945 if test -z "$ac_sed_cmds"; then 1946 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 1947 else 1948 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 1949 fi 1950 ac_sed_frag=`expr $ac_sed_frag + 1` 1951 ac_beg=$ac_end 1952 ac_end=`expr $ac_end + $ac_max_sed_lines` 1953 fi 1954 done 1955 if test -z "$ac_sed_cmds"; then 1956 ac_sed_cmds=cat 1957 fi 1958fi # test -n "$CONFIG_FILES" 1959 1960_ACEOF 1961cat >>$CONFIG_STATUS <<\_ACEOF 1962for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 1963 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 1964 case $ac_file in 1965 - | *:- | *:-:* ) # input from stdin 1966 cat >$tmp/stdin 1967 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 1968 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 1969 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 1970 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 1971 * ) ac_file_in=$ac_file.in ;; 1972 esac 1973 1974 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 1975 ac_dir=`(dirname "$ac_file") 2>/dev/null || 1976$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1977 X"$ac_file" : 'X\(//\)[^/]' \| \ 1978 X"$ac_file" : 'X\(//\)$' \| \ 1979 X"$ac_file" : 'X\(/\)' \| \ 1980 . : '\(.\)' 2>/dev/null || 1981echo X"$ac_file" | 1982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 1983 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 1984 /^X\(\/\/\)$/{ s//\1/; q; } 1985 /^X\(\/\).*/{ s//\1/; q; } 1986 s/.*/./; q'` 1987 { case "$ac_dir" in 1988 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 1989 *) as_incr_dir=.;; 1990esac 1991as_dummy="$ac_dir" 1992for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 1993 case $as_mkdir_dir in 1994 # Skip DOS drivespec 1995 ?:) as_incr_dir=$as_mkdir_dir ;; 1996 *) 1997 as_incr_dir=$as_incr_dir/$as_mkdir_dir 1998 test -d "$as_incr_dir" || 1999 mkdir "$as_incr_dir" || 2000 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 2001echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} 2002 { (exit 1); exit 1; }; } 2003 ;; 2004 esac 2005done; } 2006 2007 ac_builddir=. 2008 2009if test "$ac_dir" != .; then 2010 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 2011 # A "../" for each directory in $ac_dir_suffix. 2012 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 2013else 2014 ac_dir_suffix= ac_top_builddir= 2015fi 2016 2017case $srcdir in 2018 .) # No --srcdir option. We are building in place. 2019 ac_srcdir=. 2020 if test -z "$ac_top_builddir"; then 2021 ac_top_srcdir=. 2022 else 2023 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 2024 fi ;; 2025 [\\/]* | ?:[\\/]* ) # Absolute path. 2026 ac_srcdir=$srcdir$ac_dir_suffix; 2027 ac_top_srcdir=$srcdir ;; 2028 *) # Relative path. 2029 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 2030 ac_top_srcdir=$ac_top_builddir$srcdir ;; 2031esac 2032# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 2033# absolute. 2034ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 2035ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 2036ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 2037ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 2038 2039 2040 case $INSTALL in 2041 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 2042 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 2043 esac 2044 2045 if test x"$ac_file" != x-; then 2046 { echo "$as_me:$LINENO: creating $ac_file" >&5 2047echo "$as_me: creating $ac_file" >&6;} 2048 rm -f "$ac_file" 2049 fi 2050 # Let's still pretend it is `configure' which instantiates (i.e., don't 2051 # use $as_me), people would be surprised to read: 2052 # /* config.h. Generated by config.status. */ 2053 if test x"$ac_file" = x-; then 2054 configure_input= 2055 else 2056 configure_input="$ac_file. " 2057 fi 2058 configure_input=$configure_input"Generated from `echo $ac_file_in | 2059 sed 's,.*/,,'` by configure." 2060 2061 # First look for the input files in the build tree, otherwise in the 2062 # src tree. 2063 ac_file_inputs=`IFS=: 2064 for f in $ac_file_in; do 2065 case $f in 2066 -) echo $tmp/stdin ;; 2067 [\\/$]*) 2068 # Absolute (can't be DOS-style, as IFS=:) 2069 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 2070echo "$as_me: error: cannot find input file: $f" >&2;} 2071 { (exit 1); exit 1; }; } 2072 echo $f;; 2073 *) # Relative 2074 if test -f "$f"; then 2075 # Build tree 2076 echo $f 2077 elif test -f "$srcdir/$f"; then 2078 # Source tree 2079 echo $srcdir/$f 2080 else 2081 # /dev/null tree 2082 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 2083echo "$as_me: error: cannot find input file: $f" >&2;} 2084 { (exit 1); exit 1; }; } 2085 fi;; 2086 esac 2087 done` || { (exit 1); exit 1; } 2088_ACEOF 2089cat >>$CONFIG_STATUS <<_ACEOF 2090 sed "$ac_vpsub 2091$extrasub 2092_ACEOF 2093cat >>$CONFIG_STATUS <<\_ACEOF 2094:t 2095/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 2096s,@configure_input@,$configure_input,;t t 2097s,@srcdir@,$ac_srcdir,;t t 2098s,@abs_srcdir@,$ac_abs_srcdir,;t t 2099s,@top_srcdir@,$ac_top_srcdir,;t t 2100s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 2101s,@builddir@,$ac_builddir,;t t 2102s,@abs_builddir@,$ac_abs_builddir,;t t 2103s,@top_builddir@,$ac_top_builddir,;t t 2104s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 2105s,@INSTALL@,$ac_INSTALL,;t t 2106" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 2107 rm -f $tmp/stdin 2108 if test x"$ac_file" != x-; then 2109 mv $tmp/out $ac_file 2110 else 2111 cat $tmp/out 2112 rm -f $tmp/out 2113 fi 2114 2115done 2116_ACEOF 2117 2118cat >>$CONFIG_STATUS <<\_ACEOF 2119 2120{ (exit 0); exit 0; } 2121_ACEOF 2122chmod +x $CONFIG_STATUS 2123ac_clean_files=$ac_clean_files_save 2124 2125 2126# configure is writing to config.log, and then calls config.status. 2127# config.status does its own redirection, appending to config.log. 2128# Unfortunately, on DOS this fails, as config.log is still kept open 2129# by configure, so config.status won't be able to write to it; its 2130# output is simply discarded. So we exec the FD to /dev/null, 2131# effectively closing config.log, so it can be properly (re)opened and 2132# appended to by config.status. When coming back to configure, we 2133# need to make the FD available again. 2134if test "$no_create" != yes; then 2135 ac_cs_success=: 2136 exec 5>/dev/null 2137 $SHELL $CONFIG_STATUS || ac_cs_success=false 2138 exec 5>>config.log 2139 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 2140 # would make configure fail if this is the last instruction. 2141 $ac_cs_success || { (exit 1); exit 1; } 2142fi 2143 2144 2145echo "Now become root and type 'make install' to install eboard-extras" 2146