💾 Archived View for gemini.rmf-dev.com › repo › Vaati › Menkar › files › ac01b2d6d6495b68a690c03b186… captured on 2023-04-19 at 23:19:54. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-03-20)

➡️ Next capture (2023-09-08)

-=-=-=-=-=-=-

0 #! /bin/sh

1 # Guess values for system-dependent variables and create Makefiles.

2 # Generated by GNU Autoconf 2.61 for karmen 0.15.

3 #

4 # Report bugs to <veenhuizen@users.sourceforge.net>.

5 #

6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,

7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.

8 # This configure script is free software; the Free Software Foundation

9 # gives unlimited permission to copy, distribute and modify it.

10 ## --------------------- ##

11 ## M4sh Initialization. ##

12 ## --------------------- ##

13

14 # Be more Bourne compatible

15 DUALCASE=1; export DUALCASE # for MKS sh

16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then

17 emulate sh

18 NULLCMD=:

19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which

20 # is contrary to our usage. Disable this feature.

21 alias -g '${1+"$@"}'='"$@"'

22 setopt NO_GLOB_SUBST

23 else

24 case `(set -o) 2>/dev/null` in

25 *posix*) set -o posix ;;

26 esac

27

28 fi

29

30

31

32

33 # PATH needs CR

34 # Avoid depending upon Character Ranges.

35 as_cr_letters='abcdefghijklmnopqrstuvwxyz'

36 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'

37 as_cr_Letters=$as_cr_letters$as_cr_LETTERS

38 as_cr_digits='0123456789'

39 as_cr_alnum=$as_cr_Letters$as_cr_digits

40

41 # The user is always right.

42 if test "${PATH_SEPARATOR+set}" != set; then

43 echo "#! /bin/sh" >conf$.sh

44 echo "exit 0" >>conf$.sh

45 chmod +x conf$.sh

46 if (PATH="/nonexistent;."; conf$.sh) >/dev/null 2>&1; then

47 PATH_SEPARATOR=';'

48 else

49 PATH_SEPARATOR=:

50 fi

51 rm -f conf$.sh

52 fi

53

54 # Support unset when possible.

55 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then

56 as_unset=unset

57 else

58 as_unset=false

59 fi

60

61

62 # IFS

63 # We need space, tab and new line, in precisely that order. Quoting is

64 # there to prevent editors from complaining about space-tab.

65 # (If _AS_PATH_WALK were called with IFS unset, it would disable word

66 # splitting by setting IFS to empty value.)

67 as_nl='

68 '

69 IFS=" "" $as_nl"

70

71 # Find who we are. Look in the path if we contain no directory separator.

72 case $0 in

73 *[\\/]* ) as_myself=$0 ;;

74 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR

75 for as_dir in $PATH

76 do

77 IFS=$as_save_IFS

78 test -z "$as_dir" && as_dir=.

79 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break

80 done

81 IFS=$as_save_IFS

82

83 ;;

84 esac

85 # We did not find ourselves, most probably we were run as `sh COMMAND'

86 # in which case we are not to be found in the path.

87 if test "x$as_myself" = x; then

88 as_myself=$0

89 fi

90 if test ! -f "$as_myself"; then

91 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2

92 { (exit 1); exit 1; }

93 fi

94

95 # Work around bugs in pre-3.0 UWIN ksh.

96 for as_var in ENV MAIL MAILPATH

97 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var

98 done

99 PS1='$ '

100 PS2='> '

101 PS4='+ '

102

103 # NLS nuisances.

104 for as_var in \

105 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \

106 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \

107 LC_TELEPHONE LC_TIME

108 do

109 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then

110 eval $as_var=C; export $as_var

111 else

112 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var

113 fi

114 done

115

116 # Required to use basename.

117 if expr a : '\(a\)' >/dev/null 2>&1 &&

118 test "X`expr 00001 : '.*\(...\)'`" = X001; then

119 as_expr=expr

120 else

121 as_expr=false

122 fi

123

124 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then

125 as_basename=basename

126 else

127 as_basename=false

128 fi

129

130

131 # Name of the executable.

132 as_me=`$as_basename -- "$0" ||

133 $as_expr X/"$0" : '.*/\([^/][^/]*\)/* \| \

134 X"$0" : 'X\(//\) \| \

135 X"$0" : 'X\(/\)' \| . 2>/dev/null ||

136 echo X/"$0" |

137 sed '/^.*\/\([^/][^/]*\)\/*$/{

138 s//\1/

139 q

140 }

141 /^X\/\(\/\/\)$/{

142 s//\1/

143 q

144 }

145 /^X\/\(\/\).*/{

146 s//\1/

147 q

148 }

149 s/.*/./; q'`

150

151 # CDPATH.

152 $as_unset CDPATH

153

154

155 if test "x$CONFIG_SHELL" = x; then

156 if (eval ":") 2>/dev/null; then

157 as_have_required=yes

158 else

159 as_have_required=no

160 fi

161

162 if test $as_have_required = yes && (eval ":

163 (as_func_return () {

164 (exit \$1)

165 }

166 as_func_success () {

167 as_func_return 0

168 }

169 as_func_failure () {

170 as_func_return 1

171 }

172 as_func_ret_success () {

173 return 0

174 }

175 as_func_ret_failure () {

176 return 1

177 }

178

179 exitcode=0

180 if as_func_success; then

181 :

182 else

183 exitcode=1

184 echo as_func_success failed.

185 fi

186

187 if as_func_failure; then

188 exitcode=1

189 echo as_func_failure succeeded.

190 fi

191

192 if as_func_ret_success; then

193 :

194 else

195 exitcode=1

196 echo as_func_ret_success failed.

197 fi

198

199 if as_func_ret_failure; then

200 exitcode=1

201 echo as_func_ret_failure succeeded.

202 fi

203

204 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then

205 :

206 else

207 exitcode=1

208 echo positional parameters were not saved.

209 fi

210

211 test \$exitcode = 0) || { (exit 1); exit 1; }

212

213 (

214 as_lineno_1=\$LINENO

215 as_lineno_2=\$LINENO

216 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&

217 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }

218 ") 2> /dev/null; then

219 :

220 else

221 as_candidate_shells=

222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR

223 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH

224 do

225 IFS=$as_save_IFS

226 test -z "$as_dir" && as_dir=.

227 case $as_dir in

228 /*)

229 for as_base in sh bash ksh sh5; do

230 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"

231 done;;

232 esac

233 done

234 IFS=$as_save_IFS

235

236

237 for as_shell in $as_candidate_shells $SHELL; do

238 # Try only shells that exist, to save several forks.

239 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&

240 { ("$as_shell") 2> /dev/null <<\_ASEOF

241 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then

242 emulate sh

243 NULLCMD=:

244 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which

245 # is contrary to our usage. Disable this feature.

246 alias -g '${1+"$@"}'='"$@"'

247 setopt NO_GLOB_SUBST

248 else

249 case `(set -o) 2>/dev/null` in

250 *posix*) set -o posix ;;

251 esac

252

253 fi

254

255

256 :

257 _ASEOF

258 }; then

259 CONFIG_SHELL=$as_shell

260 as_have_required=yes

261 if { "$as_shell" 2> /dev/null <<\_ASEOF

262 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then

263 emulate sh

264 NULLCMD=:

265 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which

266 # is contrary to our usage. Disable this feature.

267 alias -g '${1+"$@"}'='"$@"'

268 setopt NO_GLOB_SUBST

269 else

270 case `(set -o) 2>/dev/null` in

271 *posix*) set -o posix ;;

272 esac

273

274 fi

275

276

277 :

278 (as_func_return () {

279 (exit $1)

280 }

281 as_func_success () {

282 as_func_return 0

283 }

284 as_func_failure () {

285 as_func_return 1

286 }

287 as_func_ret_success () {

288 return 0

289 }

290 as_func_ret_failure () {

291 return 1

292 }

293

294 exitcode=0

295 if as_func_success; then

296 :

297 else

298 exitcode=1

299 echo as_func_success failed.

300 fi

301

302 if as_func_failure; then

303 exitcode=1

304 echo as_func_failure succeeded.

305 fi

306

307 if as_func_ret_success; then

308 :

309 else

310 exitcode=1

311 echo as_func_ret_success failed.

312 fi

313

314 if as_func_ret_failure; then

315 exitcode=1

316 echo as_func_ret_failure succeeded.

317 fi

318

319 if ( set x; as_func_ret_success y && test x = "$1" ); then

320 :

321 else

322 exitcode=1

323 echo positional parameters were not saved.

324 fi

325

326 test $exitcode = 0) || { (exit 1); exit 1; }

327

328 (

329 as_lineno_1=$LINENO

330 as_lineno_2=$LINENO

331 test "x$as_lineno_1" != "x$as_lineno_2" &&

332 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }

333

334 _ASEOF

335 }; then

336 break

337 fi

338

339 fi

340

341 done

342

343 if test "x$CONFIG_SHELL" != x; then

344 for as_var in BASH_ENV ENV

345 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var

346 done

347 export CONFIG_SHELL

348 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}

349 fi

350

351

352 if test $as_have_required = no; then

353 echo This script requires a shell more modern than all the

354 echo shells that I found on your system. Please install a

355 echo modern shell, or manually run the script under such a

356 echo shell if you do have one.

357 { (exit 1); exit 1; }

358 fi

359

360

361 fi

362

363 fi

364

365

366

367 (eval "as_func_return () {

368 (exit \$1)

369 }

370 as_func_success () {

371 as_func_return 0

372 }

373 as_func_failure () {

374 as_func_return 1

375 }

376 as_func_ret_success () {

377 return 0

378 }

379 as_func_ret_failure () {

380 return 1

381 }

382

383 exitcode=0

384 if as_func_success; then

385 :

386 else

387 exitcode=1

388 echo as_func_success failed.

389 fi

390

391 if as_func_failure; then

392 exitcode=1

393 echo as_func_failure succeeded.

394 fi

395

396 if as_func_ret_success; then

397 :

398 else

399 exitcode=1

400 echo as_func_ret_success failed.

401 fi

402

403 if as_func_ret_failure; then

404 exitcode=1

405 echo as_func_ret_failure succeeded.

406 fi

407

408 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then

409 :

410 else

411 exitcode=1

412 echo positional parameters were not saved.

413 fi

414

415 test \$exitcode = 0") || {

416 echo No shell found that supports shell functions.

417 echo Please tell autoconf@gnu.org about your system,

418 echo including any error possibly output before this

419 echo message

420 }

421

422

423

424 as_lineno_1=$LINENO

425 as_lineno_2=$LINENO

426 test "x$as_lineno_1" != "x$as_lineno_2" &&

427 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {

428

429 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO

430 # uniformly replaced by the line number. The first 'sed' inserts a

431 # line-number line after each line using $LINENO; the second 'sed'

432 # does the real work. The second script uses 'N' to pair each

433 # line-number line with the line containing $LINENO, and appends

434 # trailing '-' during substitution so that $LINENO is not a special

435 # case at line end.

436 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the

437 # scripts with optimization help from Paolo Bonzini. Blame Lee

438 # E. McMahon (1931-1989) for sed's syntax. :-)

439 sed -n '

440 p

441 /[$]LINENO/=

442 ' <$as_myself |

443 sed '

444 s/[$]LINENO.*/&-/

445 t lineno

446 b

447 :lineno

448 N

449 :loop

450 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/

451 t loop

452 s/-\n.*//

453 ' >$as_me.lineno &&

454 chmod +x "$as_me.lineno" ||

455 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2

456 { (exit 1); exit 1; }; }

457

458 # Don't try to exec as it changes $[0], causing all sort of problems

459 # (the dirname of $[0] is not the place where we might find the

460 # original and so on. Autoconf is especially sensitive to this).

461 . "./$as_me.lineno"

462 # Exit status is that of the last command.

463 exit

464 }

465

466

467 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then

468 as_dirname=dirname

469 else

470 as_dirname=false

471 fi

472

473 ECHO_C= ECHO_N= ECHO_T=

474 case `echo -n x` in

475 -n*)

476 case `echo 'x\c'` in

477 *c*) ECHO_T=' ';; # ECHO_T is single tab character.

478 *) ECHO_C='\c';;

479 esac;;

480 *)

481 ECHO_N='-n';;

482 esac

483

484 if expr a : '\(a\)' >/dev/null 2>&1 &&

485 test "X`expr 00001 : '.*\(...\)'`" = X001; then

486 as_expr=expr

487 else

488 as_expr=false

489 fi

490

491 rm -f conf$ conf$.exe conf$.file

492 if test -d conf$.dir; then

493 rm -f conf$.dir/conf$.file

494 else

495 rm -f conf$.dir

496 mkdir conf$.dir

497 fi

498 echo >conf$.file

499 if ln -s conf$.file conf$ 2>/dev/null; then

500 as_ln_s='ln -s'

501 # ... but there are two gotchas:

502 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.

503 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.

504 # In both cases, we have to default to `cp -p'.

505 ln -s conf$.file conf$.dir 2>/dev/null && test ! -f conf$.exe ||

506 as_ln_s='cp -p'

507 elif ln conf$.file conf$ 2>/dev/null; then

508 as_ln_s=ln

509 else

510 as_ln_s='cp -p'

511 fi

512 rm -f conf$ conf$.exe conf$.dir/conf$.file conf$.file

513 rmdir conf$.dir 2>/dev/null

514

515 if mkdir -p . 2>/dev/null; then

516 as_mkdir_p=:

517 else

518 test -d ./-p && rmdir ./-p

519 as_mkdir_p=false

520 fi

521

522 if test -x / >/dev/null 2>&1; then

523 as_test_x='test -x'

524 else

525 if ls -dL / >/dev/null 2>&1; then

526 as_ls_L_option=L

527 else

528 as_ls_L_option=

529 fi

530 as_test_x='

531 eval sh -c '\''

532 if test -d "$1"; then

533 test -d "$1/.";

534 else

535 case $1 in

536 -*)set "./$1";;

537 esac;

538 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in

539 ???[sx]*):;;*)false;;esac;fi

540 '\'' sh

541 '

542 fi

543 as_executable_p=$as_test_x

544

545 # Sed expression to map a string onto a valid CPP name.

546 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"

547

548 # Sed expression to map a string onto a valid variable name.

549 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"

550

551

552

553 exec 7<&0 </dev/null 6>&1

554

555 # Name of the host.

556 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,

557 # so uname gets run too.

558 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`

559

560 #

561 # Initializations.

562 #

563 ac_default_prefix=/usr/local

564 ac_clean_files=

565 ac_config_libobj_dir=.

566 LIBOBJS=

567 cross_compiling=no

568 subdirs=

569 MFLAGS=

570 MAKEFLAGS=

571 SHELL=${CONFIG_SHELL-/bin/sh}

572

573 # Identity of this package.

574 PACKAGE_NAME='karmen'

575 PACKAGE_TARNAME='karmen'

576 PACKAGE_VERSION='0.15'

577 PACKAGE_STRING='karmen 0.15'

578 PACKAGE_BUGREPORT='veenhuizen@users.sourceforge.net'

579

580 ac_subst_vars='SHELL

581 PATH_SEPARATOR

582 PACKAGE_NAME

583 PACKAGE_TARNAME

584 PACKAGE_VERSION

585 PACKAGE_STRING

586 PACKAGE_BUGREPORT

587 exec_prefix

588 prefix

589 program_transform_name

590 bindir

591 sbindir

592 libexecdir

593 datarootdir

594 datadir

595 sysconfdir

596 sharedstatedir

597 localstatedir

598 includedir

599 oldincludedir

600 docdir

601 infodir

602 htmldir

603 dvidir

604 pdfdir

605 psdir

606 libdir

607 localedir

608 mandir

609 DEFS

610 ECHO_C

611 ECHO_N

612 ECHO_T

613 LIBS

614 build_alias

615 host_alias

616 target_alias

617 INSTALL_PROGRAM

618 INSTALL_SCRIPT

619 INSTALL_DATA

620 CYGPATH_W

621 PACKAGE

622 VERSION

623 ACLOCAL

624 AUTOCONF

625 AUTOMAKE

626 AUTOHEADER

627 MAKEINFO

628 install_sh

629 STRIP

630 INSTALL_STRIP_PROGRAM

631 mkdir_p

632 AWK

633 SET_MAKE

634 am__leading_dot

635 AMTAR

636 am__tar

637 am__untar

638 CC

639 CFLAGS

640 LDFLAGS

641 CPPFLAGS

642 ac_ct_CC

643 EXEEXT

644 OBJEXT

645 DEPDIR

646 am__include

647 am__quote

648 AMDEP_TRUE

649 AMDEP_FALSE

650 AMDEPBACKSLASH

651 CCDEPMODE

652 am__fastdepCC_TRUE

653 am__fastdepCC_FALSE

654 XMKMF

655 CPP

656 X_CFLAGS

657 X_PRE_LIBS

658 X_LIBS

659 X_EXTRA_LIBS

660 CONFIG_EWMH_TRUE

661 CONFIG_EWMH_FALSE

662 LIBOBJS

663 LTLIBOBJS'

664 ac_subst_files=''

665 ac_precious_vars='build_alias

666 host_alias

667 target_alias

668 CC

669 CFLAGS

670 LDFLAGS

671 LIBS

672 CPPFLAGS

673 XMKMF

674 CPP'

675

676

677 # Initialize some variables set by options.

678 ac_init_help=

679 ac_init_version=false

680 # The variables have the same names as the options, with

681 # dashes changed to underlines.

682 cache_file=/dev/null

683 exec_prefix=NONE

684 no_create=

685 no_recursion=

686 prefix=NONE

687 program_prefix=NONE

688 program_suffix=NONE

689 program_transform_name=s,x,x,

690 silent=

691 site=

692 srcdir=

693 verbose=

694 x_includes=NONE

695 x_libraries=NONE

696

697 # Installation directory options.

698 # These are left unexpanded so users can "make install exec_prefix=/foo"

699 # and all the variables that are supposed to be based on exec_prefix

700 # by default will actually change.

701 # Use braces instead of parens because sh, perl, etc. also accept them.

702 # (The list follows the same order as the GNU Coding Standards.)

703 bindir='${exec_prefix}/bin'

704 sbindir='${exec_prefix}/sbin'

705 libexecdir='${exec_prefix}/libexec'

706 datarootdir='${prefix}/share'

707 datadir='${datarootdir}'

708 sysconfdir='${prefix}/etc'

709 sharedstatedir='${prefix}/com'

710 localstatedir='${prefix}/var'

711 includedir='${prefix}/include'

712 oldincludedir='/usr/include'

713 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'

714 infodir='${datarootdir}/info'

715 htmldir='${docdir}'

716 dvidir='${docdir}'

717 pdfdir='${docdir}'

718 psdir='${docdir}'

719 libdir='${exec_prefix}/lib'

720 localedir='${datarootdir}/locale'

721 mandir='${datarootdir}/man'

722

723 ac_prev=

724 ac_dashdash=

725 for ac_option

726 do

727 # If the previous option needs an argument, assign it.

728 if test -n "$ac_prev"; then

729 eval $ac_prev=\$ac_option

730 ac_prev=

731 continue

732 fi

733

734 case $ac_option in

735 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;

736 *) ac_optarg=yes ;;

737 esac

738

739 # Accept the important Cygnus configure options, so we can diagnose typos.

740

741 case $ac_dashdash$ac_option in

742 --)

743 ac_dashdash=yes ;;

744

745 -bindir | --bindir | --bindi | --bind | --bin | --bi)

746 ac_prev=bindir ;;

747 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)

748 bindir=$ac_optarg ;;

749

750 -build | --build | --buil | --bui | --bu)

751 ac_prev=build_alias ;;

752 -build=* | --build=* | --buil=* | --bui=* | --bu=*)

753 build_alias=$ac_optarg ;;

754

755 -cache-file | --cache-file | --cache-fil | --cache-fi \

756 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)

757 ac_prev=cache_file ;;

758 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \

759 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)

760 cache_file=$ac_optarg ;;

761

762 --config-cache | -C)

763 cache_file=config.cache ;;

764

765 -datadir | --datadir | --datadi | --datad)

766 ac_prev=datadir ;;

767 -datadir=* | --datadir=* | --datadi=* | --datad=*)

768 datadir=$ac_optarg ;;

769

770 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \

771 | --dataroo | --dataro | --datar)

772 ac_prev=datarootdir ;;

773 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \

774 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)

775 datarootdir=$ac_optarg ;;

776

777 -disable-* | --disable-*)

778 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`

779 # Reject names that are not valid shell variable names.

780 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&

781 { echo "$as_me: error: invalid feature name: $ac_feature" >&2

782 { (exit 1); exit 1; }; }

783 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`

784 eval enable_$ac_feature=no ;;

785

786 -docdir | --docdir | --docdi | --doc | --do)

787 ac_prev=docdir ;;

788 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)

789 docdir=$ac_optarg ;;

790

791 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)

792 ac_prev=dvidir ;;

793 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)

794 dvidir=$ac_optarg ;;

795

796 -enable-* | --enable-*)

797 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`

798 # Reject names that are not valid shell variable names.

799 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&

800 { echo "$as_me: error: invalid feature name: $ac_feature" >&2

801 { (exit 1); exit 1; }; }

802 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`

803 eval enable_$ac_feature=\$ac_optarg ;;

804

805 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \

806 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \

807 | --exec | --exe | --ex)

808 ac_prev=exec_prefix ;;

809 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \

810 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \

811 | --exec=* | --exe=* | --ex=*)

812 exec_prefix=$ac_optarg ;;

813

814 -gas | --gas | --ga | --g)

815 # Obsolete; use --with-gas.

816 with_gas=yes ;;

817

818 -help | --help | --hel | --he | -h)

819 ac_init_help=long ;;

820 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)

821 ac_init_help=recursive ;;

822 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)

823 ac_init_help=short ;;

824

825 -host | --host | --hos | --ho)

826 ac_prev=host_alias ;;

827 -host=* | --host=* | --hos=* | --ho=*)

828 host_alias=$ac_optarg ;;

829

830 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)

831 ac_prev=htmldir ;;

832 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \

833 | --ht=*)

834 htmldir=$ac_optarg ;;

835

836 -includedir | --includedir | --includedi | --included | --include \

837 | --includ | --inclu | --incl | --inc)

838 ac_prev=includedir ;;

839 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \

840 | --includ=* | --inclu=* | --incl=* | --inc=*)

841 includedir=$ac_optarg ;;

842

843 -infodir | --infodir | --infodi | --infod | --info | --inf)

844 ac_prev=infodir ;;

845 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)

846 infodir=$ac_optarg ;;

847

848 -libdir | --libdir | --libdi | --libd)

849 ac_prev=libdir ;;

850 -libdir=* | --libdir=* | --libdi=* | --libd=*)

851 libdir=$ac_optarg ;;

852

853 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \

854 | --libexe | --libex | --libe)

855 ac_prev=libexecdir ;;

856 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \

857 | --libexe=* | --libex=* | --libe=*)

858 libexecdir=$ac_optarg ;;

859

860 -localedir | --localedir | --localedi | --localed | --locale)

861 ac_prev=localedir ;;

862 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)

863 localedir=$ac_optarg ;;

864

865 -localstatedir | --localstatedir | --localstatedi | --localstated \

866 | --localstate | --localstat | --localsta | --localst | --locals)

867 ac_prev=localstatedir ;;

868 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \

869 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)

870 localstatedir=$ac_optarg ;;

871

872 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)

873 ac_prev=mandir ;;

874 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)

875 mandir=$ac_optarg ;;

876

877 -nfp | --nfp | --nf)

878 # Obsolete; use --without-fp.

879 with_fp=no ;;

880

881 -no-create | --no-create | --no-creat | --no-crea | --no-cre \

882 | --no-cr | --no-c | -n)

883 no_create=yes ;;

884

885 -no-recursion | --no-recursion | --no-recursio | --no-recursi \

886 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)

887 no_recursion=yes ;;

888

889 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \

890 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \

891 | --oldin | --oldi | --old | --ol | --o)

892 ac_prev=oldincludedir ;;

893 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \

894 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \

895 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)

896 oldincludedir=$ac_optarg ;;

897

898 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)

899 ac_prev=prefix ;;

900 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)

901 prefix=$ac_optarg ;;

902

903 -program-prefix | --program-prefix | --program-prefi | --program-pref \

904 | --program-pre | --program-pr | --program-p)

905 ac_prev=program_prefix ;;

906 -program-prefix=* | --program-prefix=* | --program-prefi=* \

907 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)

908 program_prefix=$ac_optarg ;;

909

910 -program-suffix | --program-suffix | --program-suffi | --program-suff \

911 | --program-suf | --program-su | --program-s)

912 ac_prev=program_suffix ;;

913 -program-suffix=* | --program-suffix=* | --program-suffi=* \

914 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)

915 program_suffix=$ac_optarg ;;

916

917 -program-transform-name | --program-transform-name \

918 | --program-transform-nam | --program-transform-na \

919 | --program-transform-n | --program-transform- \

920 | --program-transform | --program-transfor \

921 | --program-transfo | --program-transf \

922 | --program-trans | --program-tran \

923 | --progr-tra | --program-tr | --program-t)

924 ac_prev=program_transform_name ;;

925 -program-transform-name=* | --program-transform-name=* \

926 | --program-transform-nam=* | --program-transform-na=* \

927 | --program-transform-n=* | --program-transform-=* \

928 | --program-transform=* | --program-transfor=* \

929 | --program-transfo=* | --program-transf=* \

930 | --program-trans=* | --program-tran=* \

931 | --progr-tra=* | --program-tr=* | --program-t=*)

932 program_transform_name=$ac_optarg ;;

933

934 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)

935 ac_prev=pdfdir ;;

936 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)

937 pdfdir=$ac_optarg ;;

938

939 -psdir | --psdir | --psdi | --psd | --ps)

940 ac_prev=psdir ;;

941 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)

942 psdir=$ac_optarg ;;

943

944 -q | -quiet | --quiet | --quie | --qui | --qu | --q \

945 | -silent | --silent | --silen | --sile | --sil)

946 silent=yes ;;

947

948 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)

949 ac_prev=sbindir ;;

950 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \

951 | --sbi=* | --sb=*)

952 sbindir=$ac_optarg ;;

953

954 -sharedstatedir | --sharedstatedir | --sharedstatedi \

955 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \

956 | --sharedst | --shareds | --shared | --share | --shar \

957 | --sha | --sh)

958 ac_prev=sharedstatedir ;;

959 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \

960 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \

961 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \

962 | --sha=* | --sh=*)

963 sharedstatedir=$ac_optarg ;;

964

965 -site | --site | --sit)

966 ac_prev=site ;;

967 -site=* | --site=* | --sit=*)

968 site=$ac_optarg ;;

969

970 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)

971 ac_prev=srcdir ;;

972 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)

973 srcdir=$ac_optarg ;;

974

975 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \

976 | --syscon | --sysco | --sysc | --sys | --sy)

977 ac_prev=sysconfdir ;;

978 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \

979 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)

980 sysconfdir=$ac_optarg ;;

981

982 -target | --target | --targe | --targ | --tar | --ta | --t)

983 ac_prev=target_alias ;;

984 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)

985 target_alias=$ac_optarg ;;

986

987 -v | -verbose | --verbose | --verbos | --verbo | --verb)

988 verbose=yes ;;

989

990 -version | --version | --versio | --versi | --vers | -V)

991 ac_init_version=: ;;

992

993 -with-* | --with-*)

994 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`

995 # Reject names that are not valid shell variable names.

996 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&

997 { echo "$as_me: error: invalid package name: $ac_package" >&2

998 { (exit 1); exit 1; }; }

999 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`

1000 eval with_$ac_package=\$ac_optarg ;;

1001

1002 -without-* | --without-*)

1003 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`

1004 # Reject names that are not valid shell variable names.

1005 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&

1006 { echo "$as_me: error: invalid package name: $ac_package" >&2

1007 { (exit 1); exit 1; }; }

1008 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`

1009 eval with_$ac_package=no ;;

1010

1011 --x)

1012 # Obsolete; use --with-x.

1013 with_x=yes ;;

1014

1015 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \

1016 | --x-incl | --x-inc | --x-in | --x-i)

1017 ac_prev=x_includes ;;

1018 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \

1019 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)

1020 x_includes=$ac_optarg ;;

1021

1022 -x-libraries | --x-libraries | --x-librarie | --x-librari \

1023 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)

1024 ac_prev=x_libraries ;;

1025 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \

1026 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)

1027 x_libraries=$ac_optarg ;;

1028

1029 -*) { echo "$as_me: error: unrecognized option: $ac_option

1030 Try \`$0 --help' for more information." >&2

1031 { (exit 1); exit 1; }; }

1032 ;;

1033

1034 *=*)

1035 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`

1036 # Reject names that are not valid shell variable names.

1037 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&

1038 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2

1039 { (exit 1); exit 1; }; }

1040 eval $ac_envvar=\$ac_optarg

1041 export $ac_envvar ;;

1042

1043 *)

1044 # FIXME: should be removed in autoconf 3.0.

1045 echo "$as_me: WARNING: you should use --build, --host, --target" >&2

1046 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&

1047 echo "$as_me: WARNING: invalid host type: $ac_option" >&2

1048 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}

1049 ;;

1050

1051 esac

1052 done

1053

1054 if test -n "$ac_prev"; then

1055 ac_option=--`echo $ac_prev | sed 's/_/-/g'`

1056 { echo "$as_me: error: missing argument to $ac_option" >&2

1057 { (exit 1); exit 1; }; }

1058 fi

1059

1060 # Be sure to have absolute directory names.

1061 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \

1062 datadir sysconfdir sharedstatedir localstatedir includedir \

1063 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \

1064 libdir localedir mandir

1065 do

1066 eval ac_val=\$ac_var

1067 case $ac_val in

1068 [\\/$]* | ?:[\\/]* ) continue;;

1069 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;

1070 esac

1071 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2

1072 { (exit 1); exit 1; }; }

1073 done

1074

1075 # There might be people who depend on the old broken behavior: `$host'

1076 # used to hold the argument of --host etc.

1077 # FIXME: To remove some day.

1078 build=$build_alias

1079 host=$host_alias

1080 target=$target_alias

1081

1082 # FIXME: To remove some day.

1083 if test "x$host_alias" != x; then

1084 if test "x$build_alias" = x; then

1085 cross_compiling=maybe

1086 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.

1087 If a cross compiler is detected then cross compile mode will be used." >&2

1088 elif test "x$build_alias" != "x$host_alias"; then

1089 cross_compiling=yes

1090 fi

1091 fi

1092

1093 ac_tool_prefix=

1094 test -n "$host_alias" && ac_tool_prefix=$host_alias-

1095

1096 test "$silent" = yes && exec 6>/dev/null

1097

1098

1099 ac_pwd=`pwd` && test -n "$ac_pwd" &&

1100 ac_ls_di=`ls -di .` &&

1101 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||

1102 { echo "$as_me: error: Working directory cannot be determined" >&2

1103 { (exit 1); exit 1; }; }

1104 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||

1105 { echo "$as_me: error: pwd does not report name of working directory" >&2

1106 { (exit 1); exit 1; }; }

1107

1108

1109 # Find the source files, if location was not specified.

1110 if test -z "$srcdir"; then

1111 ac_srcdir_defaulted=yes

1112 # Try the directory containing this script, then the parent directory.

1113 ac_confdir=`$as_dirname -- "$0" ||

1114 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/* \| \

1115 X"$0" : 'X\(//\)[^/]' \| \

1116 X"$0" : 'X\(//\) \| \

1117 X"$0" : 'X\(/\)' \| . 2>/dev/null ||

1118 echo X"$0" |

1119 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{

1120 s//\1/

1121 q

1122 }

1123 /^X\(\/\/\)[^/].*/{

1124 s//\1/

1125 q

1126 }

1127 /^X\(\/\/\)$/{

1128 s//\1/

1129 q

1130 }

1131 /^X\(\/\).*/{

1132 s//\1/

1133 q

1134 }

1135 s/.*/./; q'`

1136 srcdir=$ac_confdir

1137 if test ! -r "$srcdir/$ac_unique_file"; then

1138 srcdir=..

1139 fi

1140 else

1141 ac_srcdir_defaulted=no

1142 fi

1143 if test ! -r "$srcdir/$ac_unique_file"; then

1144 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."

1145 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2

1146 { (exit 1); exit 1; }; }

1147 fi

1148 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"

1149 ac_abs_confdir=`(

1150 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2

1151 { (exit 1); exit 1; }; }

1152 pwd)`

1153 # When building in place, set srcdir=.

1154 if test "$ac_abs_confdir" = "$ac_pwd"; then

1155 srcdir=.

1156 fi

1157 # Remove unnecessary trailing slashes from srcdir.

1158 # Double slashes in file names in object file debugging info

1159 # mess up M-x gdb in Emacs.

1160 case $srcdir in

1161 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;

1162 esac

1163 for ac_var in $ac_precious_vars; do

1164 eval ac_env_${ac_var}_set=\${${ac_var}+set}

1165 eval ac_env_${ac_var}_value=\${ac_var}

1166 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}

1167 eval ac_cv_env_${ac_var}_value=\${ac_var}

1168 done

1169

1170 #

1171 # Report the --help message.

1172 #

1173 if test "$ac_init_help" = "long"; then

1174 # Omit some internal or obsolete options to make the list less imposing.

1175 # This message is too long to be a string in the A/UX 3.1 sh.

1176 cat <<_ACEOF

1177 \`configure' configures karmen 0.15 to adapt to many kinds of systems.

1178

1179 Usage: $0 [OPTION]... [VAR=VALUE]...

1180

1181 To assign environment variables (e.g., CC, CFLAGS...), specify them as

1182 VAR=VALUE. See below for descriptions of some of the useful variables.

1183

1184 Defaults for the options are specified in brackets.

1185

1186 Configuration:

1187 -h, --help display this help and exit

1188 --help=short display options specific to this package

1189 --help=recursive display the short help of all the included packages

1190 -V, --version display version information and exit

1191 -q, --quiet, --silent do not print \`checking...' messages

1192 --cache-file=FILE cache test results in FILE [disabled]

1193 -C, --config-cache alias for \`--cache-file=config.cache'

1194 -n, --no-create do not create output files

1195 --srcdir=DIR find the sources in DIR [configure dir or \`..']

1196

1197 Installation directories:

1198 --prefix=PREFIX install architecture-independent files in PREFIX

1199 [$ac_default_prefix]

1200 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX

1201 [PREFIX]

1202

1203 By default, \`make install' will install all the files in

1204 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify

1205 an installation prefix other than \`$ac_default_prefix' using \`--prefix',

1206 for instance \`--prefix=\$HOME'.

1207

1208 For better control, use the options below.

1209

1210 Fine tuning of the installation directories:

1211 --bindir=DIR user executables [EPREFIX/bin]

1212 --sbindir=DIR system admin executables [EPREFIX/sbin]

1213 --libexecdir=DIR program executables [EPREFIX/libexec]

1214 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]

1215 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]

1216 --localstatedir=DIR modifiable single-machine data [PREFIX/var]

1217 --libdir=DIR object code libraries [EPREFIX/lib]

1218 --includedir=DIR C header files [PREFIX/include]

1219 --oldincludedir=DIR C header files for non-gcc [/usr/include]

1220 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]

1221 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]

1222 --infodir=DIR info documentation [DATAROOTDIR/info]

1223 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]

1224 --mandir=DIR man documentation [DATAROOTDIR/man]

1225 --docdir=DIR documentation root [DATAROOTDIR/doc/karmen]

1226 --htmldir=DIR html documentation [DOCDIR]

1227 --dvidir=DIR dvi documentation [DOCDIR]

1228 --pdfdir=DIR pdf documentation [DOCDIR]

1229 --psdir=DIR ps documentation [DOCDIR]

1230 _ACEOF

1231

1232 cat <<\_ACEOF

1233

1234 Program names:

1235 --program-prefix=PREFIX prepend PREFIX to installed program names

1236 --program-suffix=SUFFIX append SUFFIX to installed program names

1237 --program-transform-name=PROGRAM run sed PROGRAM on installed program names

1238

1239 X features:

1240 --x-includes=DIR X include files are in DIR

1241 --x-libraries=DIR X library files are in DIR

1242 _ACEOF

1243 fi

1244

1245 if test -n "$ac_init_help"; then

1246 case $ac_init_help in

1247 short | recursive ) echo "Configuration of karmen 0.15:";;

1248 esac

1249 cat <<\_ACEOF

1250

1251 Optional Features:

1252 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)

1253 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]

1254 --disable-dependency-tracking speeds up one-time build

1255 --enable-dependency-tracking do not reject slow dependency extractors

1256 --disable-ewmh disable support for Extended Window Manager Hints

1257

1258 Optional Packages:

1259 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]

1260 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)

1261 --with-x use the X Window System

1262

1263 Some influential environment variables:

1264 CC C compiler command

1265 CFLAGS C compiler flags

1266 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a

1267 nonstandard directory <lib dir>

1268 LIBS libraries to pass to the linker, e.g. -l<library>

1269 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if

1270 you have headers in a nonstandard directory <include dir>

1271 XMKMF Path to xmkmf, Makefile generator for X Window System

1272 CPP C preprocessor

1273

1274 Use these variables to override the choices made by `configure' or to help

1275 it to find libraries and programs with nonstandard names/locations.

1276

1277 Report bugs to <veenhuizen@users.sourceforge.net>.

1278 _ACEOF

1279 ac_status=$?

1280 fi

1281

1282 if test "$ac_init_help" = "recursive"; then

1283 # If there are subdirs, report their specific --help.

1284 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue

1285 test -d "$ac_dir" || continue

1286 ac_builddir=.

1287

1288 case "$ac_dir" in

1289 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;

1290 *)

1291 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`

1292 # A ".." for each directory in $ac_dir_suffix.

1293 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`

1294 case $ac_top_builddir_sub in

1295 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;

1296 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;

1297 esac ;;

1298 esac

1299 ac_abs_top_builddir=$ac_pwd

1300 ac_abs_builddir=$ac_pwd$ac_dir_suffix

1301 # for backward compatibility:

1302 ac_top_builddir=$ac_top_build_prefix

1303

1304 case $srcdir in

1305 .) # We are building in place.

1306 ac_srcdir=.

1307 ac_top_srcdir=$ac_top_builddir_sub

1308 ac_abs_top_srcdir=$ac_pwd ;;

1309 [\\/]* | ?:[\\/]* ) # Absolute name.

1310 ac_srcdir=$srcdir$ac_dir_suffix;

1311 ac_top_srcdir=$srcdir

1312 ac_abs_top_srcdir=$srcdir ;;

1313 *) # Relative name.

1314 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix

1315 ac_top_srcdir=$ac_top_build_prefix$srcdir

1316 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;

1317 esac

1318 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix

1319

1320 cd "$ac_dir" || { ac_status=$?; continue; }

1321 # Check for guested configure.

1322 if test -f "$ac_srcdir/configure.gnu"; then

1323 echo &&

1324 $SHELL "$ac_srcdir/configure.gnu" --help=recursive

1325 elif test -f "$ac_srcdir/configure"; then

1326 echo &&

1327 $SHELL "$ac_srcdir/configure" --help=recursive

1328 else

1329 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2

1330 fi || ac_status=$?

1331 cd "$ac_pwd" || { ac_status=$?; break; }

1332 done

1333 fi

1334

1335 test -n "$ac_init_help" && exit $ac_status

1336 if $ac_init_version; then

1337 cat <<\_ACEOF

1338 karmen configure 0.15

1339 generated by GNU Autoconf 2.61

1340

1341 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,

1342 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.

1343 This configure script is free software; the Free Software Foundation

1344 gives unlimited permission to copy, distribute and modify it.

1345 _ACEOF

1346 exit

1347 fi

1348 cat >config.log <<_ACEOF

1349 This file contains any messages produced by compilers while

1350 running configure, to aid debugging if configure makes a mistake.

1351

1352 It was created by karmen $as_me 0.15, which was

1353 generated by GNU Autoconf 2.61. Invocation command line was

1354

1355 $ $0 $@

1356

1357 _ACEOF

1358 exec 5>>config.log

1359 {

1360 cat <<_ASUNAME

1361 ## --------- ##

1362 ## Platform. ##

1363 ## --------- ##

1364

1365 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`

1366 uname -m = `(uname -m) 2>/dev/null || echo unknown`

1367 uname -r = `(uname -r) 2>/dev/null || echo unknown`

1368 uname -s = `(uname -s) 2>/dev/null || echo unknown`

1369 uname -v = `(uname -v) 2>/dev/null || echo unknown`

1370

1371 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`

1372 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`

1373

1374 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`

1375 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`

1376 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`

1377 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`

1378 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`

1379 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`

1380 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`

1381

1382 _ASUNAME

1383

1384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR

1385 for as_dir in $PATH

1386 do

1387 IFS=$as_save_IFS

1388 test -z "$as_dir" && as_dir=.

1389 echo "PATH: $as_dir"

1390 done

1391 IFS=$as_save_IFS

1392

1393 } >&5

1394

1395 cat >&5 <<_ACEOF

1396

1397

1398 ## ----------- ##

1399 ## Core tests. ##

1400 ## ----------- ##

1401

1402 _ACEOF

1403

1404

1405 # Keep a trace of the command line.

1406 # Strip out --no-create and --no-recursion so they do not pile up.

1407 # Strip out --silent because we don't want to record it for future runs.

1408 # Also quote any args containing shell meta-characters.

1409 # Make two passes to allow for proper duplicate-argument suppression.

1410 ac_configure_args=

1411 ac_configure_args0=

1412 ac_configure_args1=

1413 ac_must_keep_next=false

1414 for ac_pass in 1 2

1415 do

1416 for ac_arg

1417 do

1418 case $ac_arg in

1419 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;

1420 -q | -quiet | --quiet | --quie | --qui | --qu | --q \

1421 | -silent | --silent | --silen | --sile | --sil)

1422 continue ;;

1423 *\'*)

1424 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;

1425 esac

1426 case $ac_pass in

1427 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;

1428 2)

1429 ac_configure_args1="$ac_configure_args1 '$ac_arg'"

1430 if test $ac_must_keep_next = true; then

1431 ac_must_keep_next=false # Got value, back to normal.

1432 else

1433 case $ac_arg in

1434 *=* | --config-cache | -C | -disable-* | --disable-* \

1435 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \

1436 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \

1437 | -with-* | --with-* | -without-* | --without-* | --x)

1438 case "$ac_configure_args0 " in

1439 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;

1440 esac

1441 ;;

1442 -* ) ac_must_keep_next=true ;;

1443 esac

1444 fi

1445 ac_configure_args="$ac_configure_args '$ac_arg'"

1446 ;;

1447 esac

1448 done

1449 done

1450 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }

1451 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }

1452

1453 # When interrupted or exit'd, cleanup temporary files, and complete

1454 # config.log. We remove comments because anyway the quotes in there

1455 # would cause problems or look ugly.

1456 # WARNING: Use '\'' to represent an apostrophe within the trap.

1457 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.

1458 trap 'exit_status=$?

1459 # Save into config.log some information that might help in debugging.

1460 {

1461 echo

1462

1463 cat <<\_ASBOX

1464 ## ---------------- ##

1465 ## Cache variables. ##

1466 ## ---------------- ##

1467 _ASBOX

1468 echo

1469 # The following way of writing the cache mishandles newlines in values,

1470 (

1471 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do

1472 eval ac_val=\$ac_var

1473 case $ac_val in #(

1474 *${as_nl}*)

1475 case $ac_var in #(

1476 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5

1477 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;

1478 esac

1479 case $ac_var in #(

1480 _ | IFS | as_nl) ;; #(

1481 *) $as_unset $ac_var ;;

1482 esac ;;

1483 esac

1484 done

1485 (set) 2>&1 |

1486 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(

1487 *${as_nl}ac_space=\ *)

1488 sed -n \

1489 "s/'\''/'\''\\\\'\'''\''/g;

1490 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"

1491 ;; #(

1492 *)

1493 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"

1494 ;;

1495 esac |

1496 sort

1497 )

1498 echo

1499

1500 cat <<\_ASBOX

1501 ## ----------------- ##

1502 ## Output variables. ##

1503 ## ----------------- ##

1504 _ASBOX

1505 echo

1506 for ac_var in $ac_subst_vars

1507 do

1508 eval ac_val=\$ac_var

1509 case $ac_val in

1510 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;

1511 esac

1512 echo "$ac_var='\''$ac_val'\''"

1513 done | sort

1514 echo

1515

1516 if test -n "$ac_subst_files"; then

1517 cat <<\_ASBOX

1518 ## ------------------- ##

1519 ## File substitutions. ##

1520 ## ------------------- ##

1521 _ASBOX

1522 echo

1523 for ac_var in $ac_subst_files

1524 do

1525 eval ac_val=\$ac_var

1526 case $ac_val in

1527 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;

1528 esac

1529 echo "$ac_var='\''$ac_val'\''"

1530 done | sort

1531 echo

1532 fi

1533

1534 if test -s confdefs.h; then

1535 cat <<\_ASBOX

1536 ## ----------- ##

1537 ## confdefs.h. ##

1538 ## ----------- ##

1539 _ASBOX

1540 echo

1541 cat confdefs.h

1542 echo

1543 fi

1544 test "$ac_signal" != 0 &&

1545 echo "$as_me: caught signal $ac_signal"

1546 echo "$as_me: exit $exit_status"

1547 } >&5

1548 rm -f core *.core core.conftest.* &&

1549 rm -f -r conftest* confdefs* conf$* $ac_clean_files &&

1550 exit $exit_status

1551 ' 0

1552 for ac_signal in 1 2 13 15; do

1553 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal

1554 done

1555 ac_signal=0

1556

1557 # confdefs.h avoids OS command line length limits that DEFS can exceed.

1558 rm -f -r conftest* confdefs.h

1559

1560 # Predefined preprocessor variables.

1561

1562 cat >>confdefs.h <<_ACEOF

1563 #define PACKAGE_NAME "$PACKAGE_NAME"

1564 _ACEOF

1565

1566

1567 cat >>confdefs.h <<_ACEOF

1568 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"

1569 _ACEOF

1570

1571

1572 cat >>confdefs.h <<_ACEOF

1573 #define PACKAGE_VERSION "$PACKAGE_VERSION"

1574 _ACEOF

1575

1576

1577 cat >>confdefs.h <<_ACEOF

1578 #define PACKAGE_STRING "$PACKAGE_STRING"

1579 _ACEOF

1580

1581

1582 cat >>confdefs.h <<_ACEOF

1583 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"

1584 _ACEOF

1585

1586

1587 # Let the site file select an alternate cache file if it wants to.

1588 # Prefer explicitly selected file to automatically selected ones.

1589 if test -n "$CONFIG_SITE"; then

1590 set x "$CONFIG_SITE"

1591 elif test "x$prefix" != xNONE; then

1592 set x "$prefix/share/config.site" "$prefix/etc/config.site"

1593 else

1594 set x "$ac_default_prefix/share/config.site" \

1595 "$ac_default_prefix/etc/config.site"

1596 fi

1597 shift

1598 for ac_site_file

1599 do

1600 if test -r "$ac_site_file"; then

1601 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5

1602 echo "$as_me: loading site script $ac_site_file" >&6;}

1603 sed 's/^/| /' "$ac_site_file" >&5

1604 . "$ac_site_file"

1605 fi

1606 done

1607

1608 if test -r "$cache_file"; then

1609 # Some versions of bash will fail to source /dev/null (special

1610 # files actually), so we avoid doing that.

1611 if test -f "$cache_file"; then

1612 { echo "$as_me:$LINENO: loading cache $cache_file" >&5

1613 echo "$as_me: loading cache $cache_file" >&6;}

1614 case $cache_file in

1615 [\\/]* | ?:[\\/]* ) . "$cache_file";;

1616 *) . "./$cache_file";;

1617 esac

1618 fi

1619 else

1620 { echo "$as_me:$LINENO: creating cache $cache_file" >&5

1621 echo "$as_me: creating cache $cache_file" >&6;}

1622 >$cache_file

1623 fi

1624

1625 # Check that the precious variables saved in the cache have kept the same

1626 # value.

1627 ac_cache_corrupted=false

1628 for ac_var in $ac_precious_vars; do

1629 eval ac_old_set=\$ac_cv_env_${ac_var}_set

1630 eval ac_new_set=\$ac_env_${ac_var}_set

1631 eval ac_old_val=\$ac_cv_env_${ac_var}_value

1632 eval ac_new_val=\$ac_env_${ac_var}_value

1633 case $ac_old_set,$ac_new_set in

1634 set,)

1635 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5

1636 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}

1637 ac_cache_corrupted=: ;;

1638 ,set)

1639 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5

1640 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}

1641 ac_cache_corrupted=: ;;

1642 ,);;

1643 *)

1644 if test "x$ac_old_val" != "x$ac_new_val"; then

1645 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5

1646 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}

1647 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5

1648 echo "$as_me: former value: $ac_old_val" >&2;}

1649 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5

1650 echo "$as_me: current value: $ac_new_val" >&2;}

1651 ac_cache_corrupted=:

1652 fi;;

1653 esac

1654 # Pass precious variables to config.status.

1655 if test "$ac_new_set" = set; then

1656 case $ac_new_val in

1657 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;

1658 *) ac_arg=$ac_var=$ac_new_val ;;

1659 esac

1660 case " $ac_configure_args " in

1661 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.

1662 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;

1663 esac

1664 fi

1665 done

1666 if $ac_cache_corrupted; then

1667 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5

1668 echo "$as_me: error: changes in the environment can compromise the build" >&2;}

1669 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5

1670 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}

1671 { (exit 1); exit 1; }; }

1672 fi

1673

1674

1675

1676

1677

1678

1679

1680

1681

1682

1683

1684

1685

1686

1687

1688

1689

1690

1691

1692

1693

1694

1695

1696

1697

1698 ac_ext=c

1699 ac_cpp='$CPP $CPPFLAGS'

1700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'

1701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'

1702 ac_compiler_gnu=$ac_cv_c_compiler_gnu

1703

1704

1705 am__api_version="1.9"

1706 ac_aux_dir=

1707 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do

1708 if test -f "$ac_dir/install-sh"; then

1709 ac_aux_dir=$ac_dir

1710 ac_install_sh="$ac_aux_dir/install-sh -c"

1711 break

1712 elif test -f "$ac_dir/install.sh"; then

1713 ac_aux_dir=$ac_dir

1714 ac_install_sh="$ac_aux_dir/install.sh -c"

1715 break

1716 elif test -f "$ac_dir/shtool"; then

1717 ac_aux_dir=$ac_dir

1718 ac_install_sh="$ac_aux_dir/shtool install -c"

1719 break

1720 fi

1721 done

1722 if test -z "$ac_aux_dir"; then

1723 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5

1724 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}

1725 { (exit 1); exit 1; }; }

1726 fi

1727

1728 # These three variables are undocumented and unsupported,

1729 # and are intended to be withdrawn in a future Autoconf release.

1730 # They can cause serious problems if a builder's source tree is in a directory

1731 # whose full name contains unusual characters.

1732 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.

1733 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.

1734 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.

1735

1736

1737 # Find a good install program. We prefer a C program (faster),

1738 # so one script is as good as another. But avoid the broken or

1739 # incompatible versions:

1740 # SysV /etc/install, /usr/sbin/install

1741 # SunOS /usr/etc/install

1742 # IRIX /sbin/install

1743 # AIX /bin/install

1744 # AmigaOS /C/install, which installs bootblocks on floppy discs

1745 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag

1746 # AFS /usr/afsws/bin/install, which mishandles nonexistent args

1747 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"

1748 # OS/2's system install, which has a completely different semantic

1749 # ./install, which can be erroneously created by make from ./install.sh.

1750 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5

1751 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }

1752 if test -z "$INSTALL"; then

1753 if test "${ac_cv_path_install+set}" = set; then

1754 echo $ECHO_N "(cached) $ECHO_C" >&6

1755 else

1756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR

1757 for as_dir in $PATH

1758 do

1759 IFS=$as_save_IFS

1760 test -z "$as_dir" && as_dir=.

1761 # Account for people who put trailing slashes in PATH elements.

1762 case $as_dir/ in

1763 ./ | .// | /cC/* | \

1764 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \

1765 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \

1766 /usr/ucb/* ) ;;

1767 *)

1768 # OSF1 and SCO ODT 3.0 have their own names for install.

1769 # Don't use installbsd from OSF since it installs stuff as root

1770 # by default.

1771 for ac_prog in ginstall scoinst install; do

1772 for ac_exec_ext in '' $ac_executable_extensions; do

1773 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then

1774 if test $ac_prog = install &&

1775 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then

1776 # AIX install. It has an incompatible calling convention.

1777 :

1778 elif test $ac_prog = install &&

1779 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then

1780 # program-specific install script used by HP pwplus--don't use.

1781 :

1782 else

1783 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"

1784 break 3

1785 fi

1786 fi

1787 done

1788 done

1789 ;;

1790 esac

1791 done

1792 IFS=$as_save_IFS

1793

1794

1795 fi

1796 if test "${ac_cv_path_install+set}" = set; then

1797 INSTALL=$ac_cv_path_install

1798 else

1799 # As a last resort, use the slow shell script. Don't cache a

1800 # value for INSTALL within a source directory, because that will

1801 # break other packages using the cache if that directory is

1802 # removed, or if the value is a relative name.

1803 INSTALL=$ac_install_sh

1804 fi

1805 fi

1806 { echo "$as_me:$LINENO: result: $INSTALL" >&5

1807 echo "${ECHO_T}$INSTALL" >&6; }

1808

1809 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.

1810 # It thinks the first close brace ends the variable substitution.

1811 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'

1812

1813 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'

1814

1815 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'

1816

1817 test "$program_prefix" != NONE &&

1818 program_transform_name="s&^&$program_prefix&;$program_transform_name"

1819 # Use a double $ so make ignores it.

1820 test "$program_suffix" != NONE &&

1821 program_transform_name="s&\{body}amp;$program_suffix&;$program_transform_name"

1822 # Double any \ or $. echo might interpret backslashes.

1823 # By default was `s,x,x', remove it if useless.

1824 cat <<\_ACEOF >conftest.sed

1825 s/[\\$]/&&/g;s/;s,x,x,$//

1826 _ACEOF

1827 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`

1828 rm -f conftest.sed

1829

1830 # expand $ac_aux_dir to an absolute path

1831 am_aux_dir=`cd $ac_aux_dir && pwd`

1832

1833 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"

1834 # Use eval to expand $SHELL

1835 if eval "$MISSING --run true"; then

1836 am_missing_run="$MISSING --run "

1837 else

1838 am_missing_run=

1839 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5

1840 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}

1841 fi

1842

1843 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then

1844 # We used to keeping the `.' as first argument, in order to

1845 # allow $(mkdir_p) to be used without argument. As in

1846 # $(mkdir_p) $(somedir)

1847 # where $(somedir) is conditionally defined. However this is wrong

1848 # for two reasons:

1849 # 1. if the package is installed by a user who cannot write `.'

1850 # make install will fail,

1851 # 2. the above comment should most certainly read

1852 # $(mkdir_p) $(DESTDIR)$(somedir)

1853 # so it does not work when $(somedir) is undefined and

1854 # $(DESTDIR) is not.

1855 # To support the latter case, we have to write

1856 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),

1857 # so the `.' trick is pointless.

1858 mkdir_p='mkdir -p --'

1859 else

1860 # On NextStep and OpenStep, the `mkdir' command does not

1861 # recognize any option. It will interpret all options as

1862 # directories to create, and then abort because `.' already

1863 # exists.

1864 for d in ./-p ./--version;

1865 do

1866 test -d $d && rmdir $d

1867 done

1868 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.

1869 if test -f "$ac_aux_dir/mkinstalldirs"; then

1870 mkdir_p='$(mkinstalldirs)'

1871 else

1872 mkdir_p='$(SHELL) $(install_sh) -d'

1873 fi

1874 fi

1875

1876 for ac_prog in gawk mawk nawk awk

1877 do

1878 # Extract the first word of "$ac_prog", so it can be a program name with args.

1879 set dummy $ac_prog; ac_word=$2

1880 { echo "$as_me:$LINENO: checking for $ac_word" >&5

1881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }

1882 if test "${ac_cv_prog_AWK+set}" = set; then

1883 echo $ECHO_N "(cached) $ECHO_C" >&6

1884 else

1885 if test -n "$AWK"; then

1886 ac_cv_prog_AWK="$AWK" # Let the user override the test.

1887 else

1888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR

1889 for as_dir in $PATH

1890 do

1891 IFS=$as_save_IFS

1892 test -z "$as_dir" && as_dir=.

1893 for ac_exec_ext in '' $ac_executable_extensions; do

1894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then

1895 ac_cv_prog_AWK="$ac_prog"

1896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5

1897 break 2

1898 fi

1899 done

1900 done

1901 IFS=$as_save_IFS

1902

1903 fi

1904 fi

1905 AWK=$ac_cv_prog_AWK

1906 if test -n "$AWK"; then

1907 { echo "$as_me:$LINENO: result: $AWK" >&5

1908 echo "${ECHO_T}$AWK" >&6; }

1909 else

1910 { echo "$as_me:$LINENO: result: no" >&5

1911 echo "${ECHO_T}no" >&6; }

1912 fi

1913

1914

1915 test -n "$AWK" && break

1916 done

1917

1918 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5

1919 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }

1920 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`

1921 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then

1922 echo $ECHO_N "(cached) $ECHO_C" >&6

1923 else

1924 cat >conftest.make <<\_ACEOF

1925 SHELL = /bin/sh

1926 all:

1927 @echo '@@@%%%=$(MAKE)=@@@%%%'

1928 _ACEOF

1929 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.

1930 case `${MAKE-make} -f conftest.make 2>/dev/null` in

1931 *@@@%%%=?*=@@@%%%*)

1932 eval ac_cv_prog_make_${ac_make}_set=yes;;

1933 *)

1934 eval ac_cv_prog_make_${ac_make}_set=no;;

1935 esac

1936 rm -f conftest.make

1937 fi

1938 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then

1939 { echo "$as_me:$LINENO: result: yes" >&5

1940 echo "${ECHO_T}yes" >&6; }

1941 SET_MAKE=

1942 else

1943 { echo "$as_me:$LINENO: result: no" >&5

1944 echo "${ECHO_T}no" >&6; }

1945 SET_MAKE="MAKE=${MAKE-make}"

1946 fi

1947

1948 rm -rf .tst 2>/dev/null

1949 mkdir .tst 2>/dev/null

1950 if test -d .tst; then

1951 am__leading_dot=.

1952 else

1953 am__leading_dot=_

1954 fi

1955 rmdir .tst 2>/dev/null

1956

1957 # test to see if srcdir already configured

1958 if test "`cd $srcdir && pwd`" != "`pwd`" &&

1959 test -f $srcdir/config.status; then

1960 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5

1961 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}

1962 { (exit 1); exit 1; }; }

1963 fi

1964

1965 # test whether we have cygpath

1966 if test -z "$CYGPATH_W"; then

1967 if (cygpath --version) >/dev/null 2>/dev/null; then

1968 CYGPATH_W='cygpath -w'

1969 else

1970 CYGPATH_W=echo

1971 fi

1972 fi

1973

1974

1975 # Define the identity of the package.

1976 PACKAGE='karmen'

1977 VERSION='0.15'

1978

1979

1980 cat >>confdefs.h <<_ACEOF

1981 #define PACKAGE "$PACKAGE"

1982 _ACEOF

1983

1984

1985 cat >>confdefs.h <<_ACEOF

1986 #define VERSION "$VERSION"

1987 _ACEOF

1988

1989 # Some tools Automake needs.

1990

1991 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}

1992

1993

1994 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}

1995

1996

1997 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}

1998

1999

2000 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}

2001

2002

2003 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}

2004

2005 install_sh=${install_sh-"$am_aux_dir/install-sh"}

2006

2007 # Installed binaries are usually stripped using `strip' when the user

2008 # run `make install-strip'. However `strip' might not be the right

2009 # tool to use in cross-compilation environments, therefore Automake

2010 # will honor the `STRIP' environment variable to overrule this program.

2011 if test "$cross_compiling" != no; then

2012 if test -n "$ac_tool_prefix"; then

2013 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.

2014 set dummy ${ac_tool_prefix}strip; ac_word=$2

2015 { echo "$as_me:$LINENO: checking for $ac_word" >&5

2016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }

2017 if test "${ac_cv_prog_STRIP+set}" = set; then

2018 echo $ECHO_N "(cached) $ECHO_C" >&6

2019 else

2020 if test -n "$STRIP"; then

2021 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.

2022 else

2023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR

2024 for as_dir in $PATH

2025 do

2026 IFS=$as_save_IFS

2027 test -z "$as_dir" && as_dir=.

2028 for ac_exec_ext in '' $ac_executable_extensions; do

2029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then

2030 ac_cv_prog_STRIP="${ac_tool_prefix}strip"

2031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5

2032 break 2

2033 fi

2034 done

2035 done

2036 IFS=$as_save_IFS

2037

2038 fi

2039 fi

2040 STRIP=$ac_cv_prog_STRIP

2041 if test -n "$STRIP"; then

2042 { echo "$as_me:$LINENO: result: $STRIP" >&5

2043 echo "${ECHO_T}$STRIP" >&6; }

2044 else

2045 { echo "$as_me:$LINENO: result: no" >&5

2046 echo "${ECHO_T}no" >&6; }

2047 fi

2048

2049

2050 fi

2051 if test -z "$ac_cv_prog_STRIP"; then

2052 ac_ct_STRIP=$STRIP

2053 # Extract the first word of "strip", so it can be a program name with args.

2054 set dummy strip; ac_word=$2

2055 { echo "$as_me:$LINENO: checking for $ac_word" >&5

2056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }

2057 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then

2058 echo $ECHO_N "(cached) $ECHO_C" >&6

2059 else

2060 if test -n "$ac_ct_STRIP"; then

2061 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.

2062 else

2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR

2064 for as_dir in $PATH

2065 do

2066 IFS=$as_save_IFS

2067 test -z "$as_dir" && as_dir=.

2068 for ac_exec_ext in '' $ac_executable_extensions; do

2069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then

2070 ac_cv_prog_ac_ct_STRIP="strip"

2071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5

2072 break 2

2073 fi

2074 done

2075 done

2076 IFS=$as_save_IFS

2077

2078 fi

2079 fi

2080 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP

2081 if test -n "$ac_ct_STRIP"; then

2082 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5

2083 echo "${ECHO_T}$ac_ct_STRIP" >&6; }

2084 else

2085 { echo "$as_me:$LINENO: result: no" >&5

2086 echo "${ECHO_T}no" >&6; }

2087 fi

2088

2089 if test "x$ac_ct_STRIP" = x; then

2090 STRIP=":"

2091 else

2092 case $cross_compiling:$ac_tool_warned in

2093 yes:)

2094 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools

2095 whose name does not start with the host triplet. If you think this

2096 configuration is useful to you, please write to autoconf@gnu.org." >&5

2097 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools

2098 whose name does not start with the host triplet. If you think this

2099 configuration is useful to you, please write to autoconf@gnu.org." >&2;}

2100 ac_tool_warned=yes ;;

2101 esac

2102 STRIP=$ac_ct_STRIP

2103 fi

2104 else

2105 STRIP="$ac_cv_prog_STRIP"

2106 fi

2107

2108 fi

2109 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"

2110

2111 # We need awk for the "check" target. The system "awk" is bad on

2112 # some platforms.

2113 # Always define AMTAR for backward compatibility.

2114

2115 AMTAR=${AMTAR-"${am_missing_run}tar"}

2116

2117 am__tar='${AMTAR} chof - "$tardir"'; am__untar='${AMTAR} xf -'

2118

2119

2120

2121

2122

2123

2124 ac_ext=c

2125 ac_cpp='$CPP $CPPFLAGS'

2126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'

2127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'

2128 ac_compiler_gnu=$ac_cv_c_compiler_gnu

2129 if test -n "$ac_tool_prefix"; then

2130 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.

2131 set dummy ${ac_tool_prefix}gcc; ac_word=$2

2132 { echo "$as_me:$LINENO: checking for $ac_word" >&5

2133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }

2134 if test "${ac_cv_prog_CC+set}" = set; then

2135 echo $ECHO_N "(cached) $ECHO_C" >&6

2136 else

2137 if test -n "$CC"; then

2138 ac_cv_prog_CC="$CC" # Let the user override the test.

2139 else

2140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR

2141 for as_dir in $PATH

2142 do

2143 IFS=$as_save_IFS

2144 test -z "$as_dir" && as_dir=.

2145 for ac_exec_ext in '' $ac_executable_extensions; do

2146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then

2147 ac_cv_prog_CC="${ac_tool_prefix}gcc"

2148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5

2149 break 2

2150 fi

2151 done

2152 done

2153 IFS=$as_save_IFS

2154

2155 fi

2156 fi

2157 CC=$ac_cv_prog_CC

2158 if test -n "$CC"; then

2159 { echo "$as_me:$LINENO: result: $CC" >&5

2160 echo "${ECHO_T}$CC" >&6; }

2161 else

2162 { echo "$as_me:$LINENO: result: no" >&5

2163 echo "${ECHO_T}no" >&6; }

2164 fi

2165

2166

2167 fi

2168 if test -z "$ac_cv_prog_CC"; then

2169 ac_ct_CC=$CC

2170 # Extract the first word of "gcc", so it can be a program name with args.

2171 set dummy gcc; ac_word=$2

2172 { echo "$as_me:$LINENO: checking for $ac_word" >&5

2173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }

2174 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then

2175 echo $ECHO_N "(cached) $ECHO_C" >&6

2176 else

2177 if test -n "$ac_ct_CC"; then

2178 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.

2179 else

2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR

2181 for as_dir in $PATH

2182 do

2183 IFS=$as_save_IFS

2184 test -z "$as_dir" && as_dir=.

2185 for ac_exec_ext in '' $ac_executable_extensions; do

2186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then

2187 ac_cv_prog_ac_ct_CC="gcc"

2188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5

2189 break 2

2190 fi

2191 done

2192 done

2193 IFS=$as_save_IFS

2194

2195 fi

2196 fi

2197 ac_ct_CC=$ac_cv_prog_ac_ct_CC

2198 if test -n "$ac_ct_CC"; then

2199 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5

2200 echo "${ECHO_T}$ac_ct_CC" >&6; }

2201 else

2202 { echo "$as_me:$LINENO: result: no" >&5

2203 echo "${ECHO_T}no" >&6; }

2204 fi

2205

2206 if test "x$ac_ct_CC" = x; then

2207 CC=""

2208 else

2209 case $cross_compiling:$ac_tool_warned in

2210 yes:)

2211 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools

2212 whose name does not start with the host triplet. If you think this

2213 configuration is useful to you, please write to autoconf@gnu.org." >&5

2214 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools

2215 whose name does not start with the host triplet. If you think this

2216 configuration is useful to you, please write to autoconf@gnu.org." >&2;}

2217 ac_tool_warned=yes ;;

2218 esac

2219 CC=$ac_ct_CC

2220 fi

2221 else

2222 CC="$ac_cv_prog_CC"

2223 fi

2224

2225 if test -z "$CC"; then

2226 if test -n "$ac_tool_prefix"; then

2227 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.

2228 set dummy ${ac_tool_prefix}cc; ac_word=$2

2229 { echo "$as_me:$LINENO: checking for $ac_word" >&5

2230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }

2231 if test "${ac_cv_prog_CC+set}" = set; then

2232 echo $ECHO_N "(cached) $ECHO_C" >&6

2233 else

2234 if test -n "$CC"; then

2235 ac_cv_prog_CC="$CC" # Let the user override the test.

2236 else

2237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR

2238 for as_dir in $PATH

2239 do

2240 IFS=$as_save_IFS

2241 test -z "$as_dir" && as_dir=.

2242 for ac_exec_ext in '' $ac_executable_extensions; do

2243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then

2244 ac_cv_prog_CC="${ac_tool_prefix}cc"

2245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5

2246 break 2

2247 fi

2248 done

2249 done

2250 IFS=$as_save_IFS

2251

2252 fi

2253 fi

2254 CC=$ac_cv_prog_CC

2255 if test -n "$CC"; then

2256 { echo "$as_me:$LINENO: result: $CC" >&5

2257 echo "${ECHO_T}$CC" >&6; }

2258 else

2259 { echo "$as_me:$LINENO: result: no" >&5

2260 echo "${ECHO_T}no" >&6; }

2261 fi

2262

2263

2264 fi

2265 fi

2266 if test -z "$CC"; then

2267 # Extract the first word of "cc", so it can be a program name with args.

2268 set dummy cc; ac_word=$2

2269 { echo "$as_me:$LINENO: checking for $ac_word" >&5

2270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }

2271 if test "${ac_cv_prog_CC+set}" = set; then

2272 echo $ECHO_N "(cached) $ECHO_C" >&6

2273 else

2274 if test -n "$CC"; then

2275 ac_cv_prog_CC="$CC" # Let the user override the test.

2276 else

2277 ac_prog_rejected=no

2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR

2279 for as_dir in $PATH

2280 do

2281 IFS=$as_save_IFS

2282 test -z "$as_dir" && as_dir=.

2283 for ac_exec_ext in '' $ac_executable_extensions; do

2284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then

2285 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then

2286 ac_prog_rejected=yes

2287 continue

2288 fi

2289 ac_cv_prog_CC="cc"

2290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5

2291 break 2

2292 fi

2293 done

2294 done

2295 IFS=$as_save_IFS

2296

2297 if test $ac_prog_rejected = yes; then

2298 # We found a bogon in the path, so make sure we never use it.

2299 set dummy $ac_cv_prog_CC

2300 shift

2301 if test $# != 0; then

2302 # We chose a different compiler from the bogus one.

2303 # However, it has the same basename, so the bogon will be chosen

2304 # first if we set CC to just the basename; use the full file name.

2305 shift

2306 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"

2307 fi

2308 fi

2309 fi

2310 fi

2311 CC=$ac_cv_prog_CC

2312 if test -n "$CC"; then

2313 { echo "$as_me:$LINENO: result: $CC" >&5

2314 echo "${ECHO_T}$CC" >&6; }

2315 else

2316 { echo "$as_me:$LINENO: result: no" >&5

2317 echo "${ECHO_T}no" >&6; }

2318 fi

2319

2320

2321 fi

2322 if test -z "$CC"; then

2323 if test -n "$ac_tool_prefix"; then

2324 for ac_prog in cl.exe

2325 do

2326 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.

2327 set dummy $ac_tool_prefix$ac_prog; ac_word=$2

2328 { echo "$as_me:$LINENO: checking for $ac_word" >&5

2329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }

2330 if test "${ac_cv_prog_CC+set}" = set; then

2331 echo $ECHO_N "(cached) $ECHO_C" >&6

2332 else

2333 if test -n "$CC"; then

2334 ac_cv_prog_CC="$CC" # Let the user override the test.

2335 else

2336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR

2337 for as_dir in $PATH

2338 do

2339 IFS=$as_save_IFS

2340 test -z "$as_dir" && as_dir=.

2341 for ac_exec_ext in '' $ac_executable_extensions; do

2342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then

2343 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"

2344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5

2345 break 2

2346 fi

2347 done

2348 done

2349 IFS=$as_save_IFS

2350

2351 fi

2352 fi

2353 CC=$ac_cv_prog_CC

2354 if test -n "$CC"; then

2355 { echo "$as_me:$LINENO: result: $CC" >&5

2356 echo "${ECHO_T}$CC" >&6; }

2357 else

2358 { echo "$as_me:$LINENO: result: no" >&5

2359 echo "${ECHO_T}no" >&6; }

2360 fi

2361

2362

2363 test -n "$CC" && break

2364 done

2365 fi

2366 if test -z "$CC"; then

2367 ac_ct_CC=$CC

2368 for ac_prog in cl.exe

2369 do

2370 # Extract the first word of "$ac_prog", so it can be a program name with args.

2371 set dummy $ac_prog; ac_word=$2

2372 { echo "$as_me:$LINENO: checking for $ac_word" >&5

2373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }

2374 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then

2375 echo $ECHO_N "(cached) $ECHO_C" >&6

2376 else

2377 if test -n "$ac_ct_CC"; then

2378 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.

2379 else

2380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR

2381 for as_dir in $PATH

2382 do

2383 IFS=$as_save_IFS

2384 test -z "$as_dir" && as_dir=.

2385 for ac_exec_ext in '' $ac_executable_extensions; do

2386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then

2387 ac_cv_prog_ac_ct_CC="$ac_prog"

2388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5

2389 break 2

2390 fi

2391 done

2392 done

2393 IFS=$as_save_IFS

2394

2395 fi

2396 fi

2397 ac_ct_CC=$ac_cv_prog_ac_ct_CC

2398 if test -n "$ac_ct_CC"; then

2399 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5

2400 echo "${ECHO_T}$ac_ct_CC" >&6; }

2401 else

2402 { echo "$as_me:$LINENO: result: no" >&5

2403 echo "${ECHO_T}no" >&6; }

2404 fi

2405

2406

2407 test -n "$ac_ct_CC" && break

2408 done

2409

2410 if test "x$ac_ct_CC" = x; then

2411 CC=""

2412 else

2413 case $cross_compiling:$ac_tool_warned in

2414 yes:)

2415 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools

2416 whose name does not start with the host triplet. If you think this

2417 configuration is useful to you, please write to autoconf@gnu.org." >&5

2418 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools

2419 whose name does not start with the host triplet. If you think this

2420 configuration is useful to you, please write to autoconf@gnu.org." >&2;}

2421 ac_tool_warned=yes ;;

2422 esac

2423 CC=$ac_ct_CC

2424 fi

2425 fi

2426

2427 fi

2428

2429

2430 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH

2431 See \`config.log' for more details." >&5

2432 echo "$as_me: error: no acceptable C compiler found in \$PATH

2433 See \`config.log' for more details." >&2;}

2434 { (exit 1); exit 1; }; }

2435

2436 # Provide some information about the compiler.

2437 echo "$as_me:$LINENO: checking for C compiler version" >&5

2438 ac_compiler=`set X $ac_compile; echo $2`

2439 { (ac_try="$ac_compiler --version >&5"

2440 case "(($ac_try" in

2441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

2442 *) ac_try_echo=$ac_try;;

2443 esac

2444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

2445 (eval "$ac_compiler --version >&5") 2>&5

2446 ac_status=$?

2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5

2448 (exit $ac_status); }

2449 { (ac_try="$ac_compiler -v >&5"

2450 case "(($ac_try" in

2451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

2452 *) ac_try_echo=$ac_try;;

2453 esac

2454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

2455 (eval "$ac_compiler -v >&5") 2>&5

2456 ac_status=$?

2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5

2458 (exit $ac_status); }

2459 { (ac_try="$ac_compiler -V >&5"

2460 case "(($ac_try" in

2461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

2462 *) ac_try_echo=$ac_try;;

2463 esac

2464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

2465 (eval "$ac_compiler -V >&5") 2>&5

2466 ac_status=$?

2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5

2468 (exit $ac_status); }

2469

2470 cat >conftest.$ac_ext <<_ACEOF

2471 /* confdefs.h. */

2472 _ACEOF

2473 cat confdefs.h >>conftest.$ac_ext

2474 cat >>conftest.$ac_ext <<_ACEOF

2475 /* end confdefs.h. */

2476

2477 int

2478 main ()

2479 {

2480

2481 ;

2482 return 0;

2483 }

2484 _ACEOF

2485 ac_clean_files_save=$ac_clean_files

2486 ac_clean_files="$ac_clean_files a.out a.exe b.out"

2487 # Try to create an executable without -o first, disregard a.out.

2488 # It will help us diagnose broken compilers, and finding out an intuition

2489 # of exeext.

2490 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5

2491 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }

2492 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`

2493 #

2494 # List of possible output files, starting from the most likely.

2495 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)

2496 # only as a last resort. b.out is created by i960 compilers.

2497 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'

2498 #

2499 # The IRIX 6 linker writes into existing files which may not be

2500 # executable, retaining their permissions. Remove them first so a

2501 # subsequent execution test works.

2502 ac_rmfiles=

2503 for ac_file in $ac_files

2504 do

2505 case $ac_file in

2506 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;

2507 * ) ac_rmfiles="$ac_rmfiles $ac_file";;

2508 esac

2509 done

2510 rm -f $ac_rmfiles

2511

2512 if { (ac_try="$ac_link_default"

2513 case "(($ac_try" in

2514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

2515 *) ac_try_echo=$ac_try;;

2516 esac

2517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

2518 (eval "$ac_link_default") 2>&5

2519 ac_status=$?

2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5

2521 (exit $ac_status); }; then

2522 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.

2523 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'

2524 # in a Makefile. We should not override ac_cv_exeext if it was cached,

2525 # so that the user can short-circuit this test for compilers unknown to

2526 # Autoconf.

2527 for ac_file in $ac_files ''

2528 do

2529 test -f "$ac_file" || continue

2530 case $ac_file in

2531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )

2532 ;;

2533 [ab].out )

2534 # We found the default executable, but exeext='' is most

2535 # certainly right.

2536 break;;

2537 *.* )

2538 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;

2539 then :; else

2540 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`

2541 fi

2542 # We set ac_cv_exeext here because the later test for it is not

2543 # safe: cross compilers may not add the suffix if given an `-o'

2544 # argument, so we may need to know it at that point already.

2545 # Even if this section looks crufty: it has the advantage of

2546 # actually working.

2547 break;;

2548 * )

2549 break;;

2550 esac

2551 done

2552 test "$ac_cv_exeext" = no && ac_cv_exeext=

2553

2554 else

2555 ac_file=''

2556 fi

2557

2558 { echo "$as_me:$LINENO: result: $ac_file" >&5

2559 echo "${ECHO_T}$ac_file" >&6; }

2560 if test -z "$ac_file"; then

2561 echo "$as_me: failed program was:" >&5

2562 sed 's/^/| /' conftest.$ac_ext >&5

2563

2564 { { echo "$as_me:$LINENO: error: C compiler cannot create executables

2565 See \`config.log' for more details." >&5

2566 echo "$as_me: error: C compiler cannot create executables

2567 See \`config.log' for more details." >&2;}

2568 { (exit 77); exit 77; }; }

2569 fi

2570

2571 ac_exeext=$ac_cv_exeext

2572

2573 # Check that the compiler produces executables we can run. If not, either

2574 # the compiler is broken, or we cross compile.

2575 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5

2576 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }

2577 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0

2578 # If not cross compiling, check that we can run a simple program.

2579 if test "$cross_compiling" != yes; then

2580 if { ac_try='./$ac_file'

2581 { (case "(($ac_try" in

2582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

2583 *) ac_try_echo=$ac_try;;

2584 esac

2585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

2586 (eval "$ac_try") 2>&5

2587 ac_status=$?

2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5

2589 (exit $ac_status); }; }; then

2590 cross_compiling=no

2591 else

2592 if test "$cross_compiling" = maybe; then

2593 cross_compiling=yes

2594 else

2595 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.

2596 If you meant to cross compile, use \`--host'.

2597 See \`config.log' for more details." >&5

2598 echo "$as_me: error: cannot run C compiled programs.

2599 If you meant to cross compile, use \`--host'.

2600 See \`config.log' for more details." >&2;}

2601 { (exit 1); exit 1; }; }

2602 fi

2603 fi

2604 fi

2605 { echo "$as_me:$LINENO: result: yes" >&5

2606 echo "${ECHO_T}yes" >&6; }

2607

2608 rm -f a.out a.exe conftest$ac_cv_exeext b.out

2609 ac_clean_files=$ac_clean_files_save

2610 # Check that the compiler produces executables we can run. If not, either

2611 # the compiler is broken, or we cross compile.

2612 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5

2613 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }

2614 { echo "$as_me:$LINENO: result: $cross_compiling" >&5

2615 echo "${ECHO_T}$cross_compiling" >&6; }

2616

2617 { echo "$as_me:$LINENO: checking for suffix of executables" >&5

2618 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }

2619 if { (ac_try="$ac_link"

2620 case "(($ac_try" in

2621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

2622 *) ac_try_echo=$ac_try;;

2623 esac

2624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

2625 (eval "$ac_link") 2>&5

2626 ac_status=$?

2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5

2628 (exit $ac_status); }; then

2629 # If both `conftest.exe' and `conftest' are `present' (well, observable)

2630 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will

2631 # work properly (i.e., refer to `conftest.exe'), while it won't with

2632 # `rm'.

2633 for ac_file in conftest.exe conftest conftest.*; do

2634 test -f "$ac_file" || continue

2635 case $ac_file in

2636 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;

2637 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`

2638 break;;

2639 * ) break;;

2640 esac

2641 done

2642 else

2643 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link

2644 See \`config.log' for more details." >&5

2645 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link

2646 See \`config.log' for more details." >&2;}

2647 { (exit 1); exit 1; }; }

2648 fi

2649

2650 rm -f conftest$ac_cv_exeext

2651 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5

2652 echo "${ECHO_T}$ac_cv_exeext" >&6; }

2653

2654 rm -f conftest.$ac_ext

2655 EXEEXT=$ac_cv_exeext

2656 ac_exeext=$EXEEXT

2657 { echo "$as_me:$LINENO: checking for suffix of object files" >&5

2658 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }

2659 if test "${ac_cv_objext+set}" = set; then

2660 echo $ECHO_N "(cached) $ECHO_C" >&6

2661 else

2662 cat >conftest.$ac_ext <<_ACEOF

2663 /* confdefs.h. */

2664 _ACEOF

2665 cat confdefs.h >>conftest.$ac_ext

2666 cat >>conftest.$ac_ext <<_ACEOF

2667 /* end confdefs.h. */

2668

2669 int

2670 main ()

2671 {

2672

2673 ;

2674 return 0;

2675 }

2676 _ACEOF

2677 rm -f conftest.o conftest.obj

2678 if { (ac_try="$ac_compile"

2679 case "(($ac_try" in

2680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

2681 *) ac_try_echo=$ac_try;;

2682 esac

2683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

2684 (eval "$ac_compile") 2>&5

2685 ac_status=$?

2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5

2687 (exit $ac_status); }; then

2688 for ac_file in conftest.o conftest.obj conftest.*; do

2689 test -f "$ac_file" || continue;

2690 case $ac_file in

2691 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;

2692 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`

2693 break;;

2694 esac

2695 done

2696 else

2697 echo "$as_me: failed program was:" >&5

2698 sed 's/^/| /' conftest.$ac_ext >&5

2699

2700 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile

2701 See \`config.log' for more details." >&5

2702 echo "$as_me: error: cannot compute suffix of object files: cannot compile

2703 See \`config.log' for more details." >&2;}

2704 { (exit 1); exit 1; }; }

2705 fi

2706

2707 rm -f conftest.$ac_cv_objext conftest.$ac_ext

2708 fi

2709 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5

2710 echo "${ECHO_T}$ac_cv_objext" >&6; }

2711 OBJEXT=$ac_cv_objext

2712 ac_objext=$OBJEXT

2713 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5

2714 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }

2715 if test "${ac_cv_c_compiler_gnu+set}" = set; then

2716 echo $ECHO_N "(cached) $ECHO_C" >&6

2717 else

2718 cat >conftest.$ac_ext <<_ACEOF

2719 /* confdefs.h. */

2720 _ACEOF

2721 cat confdefs.h >>conftest.$ac_ext

2722 cat >>conftest.$ac_ext <<_ACEOF

2723 /* end confdefs.h. */

2724

2725 int

2726 main ()

2727 {

2728 #ifndef __GNUC__

2729 choke me

2730 #endif

2731

2732 ;

2733 return 0;

2734 }

2735 _ACEOF

2736 rm -f conftest.$ac_objext

2737 if { (ac_try="$ac_compile"

2738 case "(($ac_try" in

2739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

2740 *) ac_try_echo=$ac_try;;

2741 esac

2742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

2743 (eval "$ac_compile") 2>conftest.er1

2744 ac_status=$?

2745 grep -v '^ *+' conftest.er1 >conftest.err

2746 rm -f conftest.er1

2747 cat conftest.err >&5

2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5

2749 (exit $ac_status); } && {

2750 test -z "$ac_c_werror_flag" ||

2751 test ! -s conftest.err

2752 } && test -s conftest.$ac_objext; then

2753 ac_compiler_gnu=yes

2754 else

2755 echo "$as_me: failed program was:" >&5

2756 sed 's/^/| /' conftest.$ac_ext >&5

2757

2758 ac_compiler_gnu=no

2759 fi

2760

2761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext

2762 ac_cv_c_compiler_gnu=$ac_compiler_gnu

2763

2764 fi

2765 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5

2766 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }

2767 GCC=`test $ac_compiler_gnu = yes && echo yes`

2768 ac_test_CFLAGS=${CFLAGS+set}

2769 ac_save_CFLAGS=$CFLAGS

2770 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5

2771 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }

2772 if test "${ac_cv_prog_cc_g+set}" = set; then

2773 echo $ECHO_N "(cached) $ECHO_C" >&6

2774 else

2775 ac_save_c_werror_flag=$ac_c_werror_flag

2776 ac_c_werror_flag=yes

2777 ac_cv_prog_cc_g=no

2778 CFLAGS="-g"

2779 cat >conftest.$ac_ext <<_ACEOF

2780 /* confdefs.h. */

2781 _ACEOF

2782 cat confdefs.h >>conftest.$ac_ext

2783 cat >>conftest.$ac_ext <<_ACEOF

2784 /* end confdefs.h. */

2785

2786 int

2787 main ()

2788 {

2789

2790 ;

2791 return 0;

2792 }

2793 _ACEOF

2794 rm -f conftest.$ac_objext

2795 if { (ac_try="$ac_compile"

2796 case "(($ac_try" in

2797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

2798 *) ac_try_echo=$ac_try;;

2799 esac

2800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

2801 (eval "$ac_compile") 2>conftest.er1

2802 ac_status=$?

2803 grep -v '^ *+' conftest.er1 >conftest.err

2804 rm -f conftest.er1

2805 cat conftest.err >&5

2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5

2807 (exit $ac_status); } && {

2808 test -z "$ac_c_werror_flag" ||

2809 test ! -s conftest.err

2810 } && test -s conftest.$ac_objext; then

2811 ac_cv_prog_cc_g=yes

2812 else

2813 echo "$as_me: failed program was:" >&5

2814 sed 's/^/| /' conftest.$ac_ext >&5

2815

2816 CFLAGS=""

2817 cat >conftest.$ac_ext <<_ACEOF

2818 /* confdefs.h. */

2819 _ACEOF

2820 cat confdefs.h >>conftest.$ac_ext

2821 cat >>conftest.$ac_ext <<_ACEOF

2822 /* end confdefs.h. */

2823

2824 int

2825 main ()

2826 {

2827

2828 ;

2829 return 0;

2830 }

2831 _ACEOF

2832 rm -f conftest.$ac_objext

2833 if { (ac_try="$ac_compile"

2834 case "(($ac_try" in

2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

2836 *) ac_try_echo=$ac_try;;

2837 esac

2838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

2839 (eval "$ac_compile") 2>conftest.er1

2840 ac_status=$?

2841 grep -v '^ *+' conftest.er1 >conftest.err

2842 rm -f conftest.er1

2843 cat conftest.err >&5

2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5

2845 (exit $ac_status); } && {

2846 test -z "$ac_c_werror_flag" ||

2847 test ! -s conftest.err

2848 } && test -s conftest.$ac_objext; then

2849 :

2850 else

2851 echo "$as_me: failed program was:" >&5

2852 sed 's/^/| /' conftest.$ac_ext >&5

2853

2854 ac_c_werror_flag=$ac_save_c_werror_flag

2855 CFLAGS="-g"

2856 cat >conftest.$ac_ext <<_ACEOF

2857 /* confdefs.h. */

2858 _ACEOF

2859 cat confdefs.h >>conftest.$ac_ext

2860 cat >>conftest.$ac_ext <<_ACEOF

2861 /* end confdefs.h. */

2862

2863 int

2864 main ()

2865 {

2866

2867 ;

2868 return 0;

2869 }

2870 _ACEOF

2871 rm -f conftest.$ac_objext

2872 if { (ac_try="$ac_compile"

2873 case "(($ac_try" in

2874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

2875 *) ac_try_echo=$ac_try;;

2876 esac

2877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

2878 (eval "$ac_compile") 2>conftest.er1

2879 ac_status=$?

2880 grep -v '^ *+' conftest.er1 >conftest.err

2881 rm -f conftest.er1

2882 cat conftest.err >&5

2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5

2884 (exit $ac_status); } && {

2885 test -z "$ac_c_werror_flag" ||

2886 test ! -s conftest.err

2887 } && test -s conftest.$ac_objext; then

2888 ac_cv_prog_cc_g=yes

2889 else

2890 echo "$as_me: failed program was:" >&5

2891 sed 's/^/| /' conftest.$ac_ext >&5

2892

2893

2894 fi

2895

2896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext

2897 fi

2898

2899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext

2900 fi

2901

2902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext

2903 ac_c_werror_flag=$ac_save_c_werror_flag

2904 fi

2905 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5

2906 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }

2907 if test "$ac_test_CFLAGS" = set; then

2908 CFLAGS=$ac_save_CFLAGS

2909 elif test $ac_cv_prog_cc_g = yes; then

2910 if test "$GCC" = yes; then

2911 CFLAGS="-g -O2"

2912 else

2913 CFLAGS="-g"

2914 fi

2915 else

2916 if test "$GCC" = yes; then

2917 CFLAGS="-O2"

2918 else

2919 CFLAGS=

2920 fi

2921 fi

2922 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5

2923 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }

2924 if test "${ac_cv_prog_cc_c89+set}" = set; then

2925 echo $ECHO_N "(cached) $ECHO_C" >&6

2926 else

2927 ac_cv_prog_cc_c89=no

2928 ac_save_CC=$CC

2929 cat >conftest.$ac_ext <<_ACEOF

2930 /* confdefs.h. */

2931 _ACEOF

2932 cat confdefs.h >>conftest.$ac_ext

2933 cat >>conftest.$ac_ext <<_ACEOF

2934 /* end confdefs.h. */

2935 #include <stdarg.h>

2936 #include <stdio.h>

2937 #include <sys/types.h>

2938 #include <sys/stat.h>

2939 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */

2940 struct buf { int x; };

2941 FILE * (*rcsopen) (struct buf *, struct stat *, int);

2942 static char *e (p, i)

2943 char **p;

2944 int i;

2945 {

2946 return p[i];

2947 }

2948 static char *f (char * (*g) (char **, int), char **p, ...)

2949 {

2950 char *s;

2951 va_list v;

2952 va_start (v,p);

2953 s = g (p, va_arg (v,int));

2954 va_end (v);

2955 return s;

2956 }

2957

2958 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has

2959 function prototypes and stuff, but not '\xHH' hex character constants.

2960 These don't provoke an error unfortunately, instead are silently treated

2961 as 'x'. The following induces an error, until -std is added to get

2962 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an

2963 array size at least. It's necessary to write '\x00'==0 to get something

2964 that's true only with -std. */

2965 int osf4_cc_array ['\x00' == 0 ? 1 : -1];

2966

2967 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters

2968 inside strings and character constants. */

2969 #define FOO(x) 'x'

2970 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];

2971

2972 int test (int i, double x);

2973 struct s1 {int (*f) (int a);};

2974 struct s2 {int (*f) (double a);};

2975 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);

2976 int argc;

2977 char **argv;

2978 int

2979 main ()

2980 {

2981 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];

2982 ;

2983 return 0;

2984 }

2985 _ACEOF

2986 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \

2987 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"

2988 do

2989 CC="$ac_save_CC $ac_arg"

2990 rm -f conftest.$ac_objext

2991 if { (ac_try="$ac_compile"

2992 case "(($ac_try" in

2993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

2994 *) ac_try_echo=$ac_try;;

2995 esac

2996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

2997 (eval "$ac_compile") 2>conftest.er1

2998 ac_status=$?

2999 grep -v '^ *+' conftest.er1 >conftest.err

3000 rm -f conftest.er1

3001 cat conftest.err >&5

3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5

3003 (exit $ac_status); } && {

3004 test -z "$ac_c_werror_flag" ||

3005 test ! -s conftest.err

3006 } && test -s conftest.$ac_objext; then

3007 ac_cv_prog_cc_c89=$ac_arg

3008 else

3009 echo "$as_me: failed program was:" >&5

3010 sed 's/^/| /' conftest.$ac_ext >&5

3011

3012

3013 fi

3014

3015 rm -f core conftest.err conftest.$ac_objext

3016 test "x$ac_cv_prog_cc_c89" != "xno" && break

3017 done

3018 rm -f conftest.$ac_ext

3019 CC=$ac_save_CC

3020

3021 fi

3022 # AC_CACHE_VAL

3023 case "x$ac_cv_prog_cc_c89" in

3024 x)

3025 { echo "$as_me:$LINENO: result: none needed" >&5

3026 echo "${ECHO_T}none needed" >&6; } ;;

3027 xno)

3028 { echo "$as_me:$LINENO: result: unsupported" >&5

3029 echo "${ECHO_T}unsupported" >&6; } ;;

3030 *)

3031 CC="$CC $ac_cv_prog_cc_c89"

3032 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5

3033 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;

3034 esac

3035

3036

3037 ac_ext=c

3038 ac_cpp='$CPP $CPPFLAGS'

3039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'

3040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'

3041 ac_compiler_gnu=$ac_cv_c_compiler_gnu

3042 DEPDIR="${am__leading_dot}deps"

3043

3044 ac_config_commands="$ac_config_commands depfiles"

3045

3046

3047 am_make=${MAKE-make}

3048 cat > confinc << 'END'

3049 am__doit:

3050 @echo done

3051 .PHONY: am__doit

3052 END

3053 # If we don't find an include directive, just comment out the code.

3054 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5

3055 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }

3056 am__include="#"

3057 am__quote=

3058 _am_result=none

3059 # First try GNU make style include.

3060 echo "include confinc" > confmf

3061 # We grep out `Entering directory' and `Leaving directory'

3062 # messages which can occur if `w' ends up in MAKEFLAGS.

3063 # In particular we don't look at `^make:' because GNU make might

3064 # be invoked under some other name (usually "gmake"), in which

3065 # case it prints its new name instead of `make'.

3066 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then

3067 am__include=include

3068 am__quote=

3069 _am_result=GNU

3070 fi

3071 # Now try BSD make style include.

3072 if test "$am__include" = "#"; then

3073 echo '.include "confinc"' > confmf

3074 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then

3075 am__include=.include

3076 am__quote="\""

3077 _am_result=BSD

3078 fi

3079 fi

3080

3081

3082 { echo "$as_me:$LINENO: result: $_am_result" >&5

3083 echo "${ECHO_T}$_am_result" >&6; }

3084 rm -f confinc confmf

3085

3086 # Check whether --enable-dependency-tracking was given.

3087 if test "${enable_dependency_tracking+set}" = set; then

3088 enableval=$enable_dependency_tracking;

3089 fi

3090

3091 if test "x$enable_dependency_tracking" != xno; then

3092 am_depcomp="$ac_aux_dir/depcomp"

3093 AMDEPBACKSLASH='\'

3094 fi

3095

3096

3097 if test "x$enable_dependency_tracking" != xno; then

3098 AMDEP_TRUE=

3099 AMDEP_FALSE='#'

3100 else

3101 AMDEP_TRUE='#'

3102 AMDEP_FALSE=

3103 fi

3104

3105

3106

3107

3108 depcc="$CC" am_compiler_list=

3109

3110 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5

3111 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }

3112 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then

3113 echo $ECHO_N "(cached) $ECHO_C" >&6

3114 else

3115 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then

3116 # We make a subdir and do the tests there. Otherwise we can end up

3117 # making bogus files that we don't know about and never remove. For

3118 # instance it was reported that on HP-UX the gcc test will end up

3119 # making a dummy file named `D' -- because `-MD' means `put the output

3120 # in D'.

3121 mkdir conftest.dir

3122 # Copy depcomp to subdir because otherwise we won't find it if we're

3123 # using a relative directory.

3124 cp "$am_depcomp" conftest.dir

3125 cd conftest.dir

3126 # We will build objects and dependencies in a subdirectory because

3127 # it helps to detect inapplicable dependency modes. For instance

3128 # both Tru64's cc and ICC support -MD to output dependencies as a

3129 # side effect of compilation, but ICC will put the dependencies in

3130 # the current directory while Tru64 will put them in the object

3131 # directory.

3132 mkdir sub

3133

3134 am_cv_CC_dependencies_compiler_type=none

3135 if test "$am_compiler_list" = ""; then

3136 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`

3137 fi

3138 for depmode in $am_compiler_list; do

3139 # Setup a source with many dependencies, because some compilers

3140 # like to wrap large dependency lists on column 80 (with \), and

3141 # we should not choose a depcomp mode which is confused by this.

3142 #

3143 # We need to recreate these files for each test, as the compiler may

3144 # overwrite some of them when testing with obscure command lines.

3145 # This happens at least with the AIX C compiler.

3146 : > sub/conftest.c

3147 for i in 1 2 3 4 5 6; do

3148 echo '#include "conftst'$i'.h"' >> sub/conftest.c

3149 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with

3150 # Solaris 8's {/usr,}/bin/sh.

3151 touch sub/conftst$i.h

3152 done

3153 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf

3154

3155 case $depmode in

3156 nosideeffect)

3157 # after this tag, mechanisms are not by side-effect, so they'll

3158 # only be used when explicitly requested

3159 if test "x$enable_dependency_tracking" = xyes; then

3160 continue

3161 else

3162 break

3163 fi

3164 ;;

3165 none) break ;;

3166 esac

3167 # We check with `-c' and `-o' for the sake of the "dashmstdout"

3168 # mode. It turns out that the SunPro C++ compiler does not properly

3169 # handle `-M -o', and we need to detect this.

3170 if depmode=$depmode \

3171 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \

3172 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \

3173 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \

3174 >/dev/null 2>conftest.err &&

3175 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&

3176 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&

3177 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then

3178 # icc doesn't choke on unknown options, it will just issue warnings

3179 # or remarks (even with -Werror). So we grep stderr for any message

3180 # that says an option was ignored or not supported.

3181 # When given -MP, icc 7.0 and 7.1 complain thusly:

3182 # icc: Command line warning: ignoring option '-M'; no argument required

3183 # The diagnosis changed in icc 8.0:

3184 # icc: Command line remark: option '-MP' not supported

3185 if (grep 'ignoring option' conftest.err ||

3186 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else

3187 am_cv_CC_dependencies_compiler_type=$depmode

3188 break

3189 fi

3190 fi

3191 done

3192

3193 cd ..

3194 rm -rf conftest.dir

3195 else

3196 am_cv_CC_dependencies_compiler_type=none

3197 fi

3198

3199 fi

3200 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5

3201 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }

3202 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type

3203

3204

3205

3206 if

3207 test "x$enable_dependency_tracking" != xno \

3208 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then

3209 am__fastdepCC_TRUE=

3210 am__fastdepCC_FALSE='#'

3211 else

3212 am__fastdepCC_TRUE='#'

3213 am__fastdepCC_FALSE=

3214 fi

3215

3216

3217

3218

3219 ac_ext=c

3220 ac_cpp='$CPP $CPPFLAGS'

3221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'

3222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'

3223 ac_compiler_gnu=$ac_cv_c_compiler_gnu

3224 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5

3225 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }

3226 # On Suns, sometimes $CPP names a directory.

3227 if test -n "$CPP" && test -d "$CPP"; then

3228 CPP=

3229 fi

3230 if test -z "$CPP"; then

3231 if test "${ac_cv_prog_CPP+set}" = set; then

3232 echo $ECHO_N "(cached) $ECHO_C" >&6

3233 else

3234 # Double quotes because CPP needs to be expanded

3235 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"

3236 do

3237 ac_preproc_ok=false

3238 for ac_c_preproc_warn_flag in '' yes

3239 do

3240 # Use a header file that comes with gcc, so configuring glibc

3241 # with a fresh cross-compiler works.

3242 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since

3243 # <limits.h> exists even on freestanding compilers.

3244 # On the NeXT, cc -E runs the code through the compiler's parser,

3245 # not just through cpp. "Syntax error" is here to catch this case.

3246 cat >conftest.$ac_ext <<_ACEOF

3247 /* confdefs.h. */

3248 _ACEOF

3249 cat confdefs.h >>conftest.$ac_ext

3250 cat >>conftest.$ac_ext <<_ACEOF

3251 /* end confdefs.h. */

3252 #ifdef __STDC__

3253 # include <limits.h>

3254 #else

3255 # include <assert.h>

3256 #endif

3257 Syntax error

3258 _ACEOF

3259 if { (ac_try="$ac_cpp conftest.$ac_ext"

3260 case "(($ac_try" in

3261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

3262 *) ac_try_echo=$ac_try;;

3263 esac

3264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

3265 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1

3266 ac_status=$?

3267 grep -v '^ *+' conftest.er1 >conftest.err

3268 rm -f conftest.er1

3269 cat conftest.err >&5

3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5

3271 (exit $ac_status); } >/dev/null && {

3272 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||

3273 test ! -s conftest.err

3274 }; then

3275 :

3276 else

3277 echo "$as_me: failed program was:" >&5

3278 sed 's/^/| /' conftest.$ac_ext >&5

3279

3280 # Broken: fails on valid input.

3281 continue

3282 fi

3283

3284 rm -f conftest.err conftest.$ac_ext

3285

3286 # OK, works on sane cases. Now check whether nonexistent headers

3287 # can be detected and how.

3288 cat >conftest.$ac_ext <<_ACEOF

3289 /* confdefs.h. */

3290 _ACEOF

3291 cat confdefs.h >>conftest.$ac_ext

3292 cat >>conftest.$ac_ext <<_ACEOF

3293 /* end confdefs.h. */

3294 #include <ac_nonexistent.h>

3295 _ACEOF

3296 if { (ac_try="$ac_cpp conftest.$ac_ext"

3297 case "(($ac_try" in

3298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

3299 *) ac_try_echo=$ac_try;;

3300 esac

3301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

3302 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1

3303 ac_status=$?

3304 grep -v '^ *+' conftest.er1 >conftest.err

3305 rm -f conftest.er1

3306 cat conftest.err >&5

3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5

3308 (exit $ac_status); } >/dev/null && {

3309 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||

3310 test ! -s conftest.err

3311 }; then

3312 # Broken: success on invalid input.

3313 continue

3314 else

3315 echo "$as_me: failed program was:" >&5

3316 sed 's/^/| /' conftest.$ac_ext >&5

3317

3318 # Passes both tests.

3319 ac_preproc_ok=:

3320 break

3321 fi

3322

3323 rm -f conftest.err conftest.$ac_ext

3324

3325 done

3326 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.

3327 rm -f conftest.err conftest.$ac_ext

3328 if $ac_preproc_ok; then

3329 break

3330 fi

3331

3332 done

3333 ac_cv_prog_CPP=$CPP

3334

3335 fi

3336 CPP=$ac_cv_prog_CPP

3337 else

3338 ac_cv_prog_CPP=$CPP

3339 fi

3340 { echo "$as_me:$LINENO: result: $CPP" >&5

3341 echo "${ECHO_T}$CPP" >&6; }

3342 ac_preproc_ok=false

3343 for ac_c_preproc_warn_flag in '' yes

3344 do

3345 # Use a header file that comes with gcc, so configuring glibc

3346 # with a fresh cross-compiler works.

3347 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since

3348 # <limits.h> exists even on freestanding compilers.

3349 # On the NeXT, cc -E runs the code through the compiler's parser,

3350 # not just through cpp. "Syntax error" is here to catch this case.

3351 cat >conftest.$ac_ext <<_ACEOF

3352 /* confdefs.h. */

3353 _ACEOF

3354 cat confdefs.h >>conftest.$ac_ext

3355 cat >>conftest.$ac_ext <<_ACEOF

3356 /* end confdefs.h. */

3357 #ifdef __STDC__

3358 # include <limits.h>

3359 #else

3360 # include <assert.h>

3361 #endif

3362 Syntax error

3363 _ACEOF

3364 if { (ac_try="$ac_cpp conftest.$ac_ext"

3365 case "(($ac_try" in

3366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

3367 *) ac_try_echo=$ac_try;;

3368 esac

3369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

3370 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1

3371 ac_status=$?

3372 grep -v '^ *+' conftest.er1 >conftest.err

3373 rm -f conftest.er1

3374 cat conftest.err >&5

3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5

3376 (exit $ac_status); } >/dev/null && {

3377 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||

3378 test ! -s conftest.err

3379 }; then

3380 :

3381 else

3382 echo "$as_me: failed program was:" >&5

3383 sed 's/^/| /' conftest.$ac_ext >&5

3384

3385 # Broken: fails on valid input.

3386 continue

3387 fi

3388

3389 rm -f conftest.err conftest.$ac_ext

3390

3391 # OK, works on sane cases. Now check whether nonexistent headers

3392 # can be detected and how.

3393 cat >conftest.$ac_ext <<_ACEOF

3394 /* confdefs.h. */

3395 _ACEOF

3396 cat confdefs.h >>conftest.$ac_ext

3397 cat >>conftest.$ac_ext <<_ACEOF

3398 /* end confdefs.h. */

3399 #include <ac_nonexistent.h>

3400 _ACEOF

3401 if { (ac_try="$ac_cpp conftest.$ac_ext"

3402 case "(($ac_try" in

3403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

3404 *) ac_try_echo=$ac_try;;

3405 esac

3406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

3407 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1

3408 ac_status=$?

3409 grep -v '^ *+' conftest.er1 >conftest.err

3410 rm -f conftest.er1

3411 cat conftest.err >&5

3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5

3413 (exit $ac_status); } >/dev/null && {

3414 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||

3415 test ! -s conftest.err

3416 }; then

3417 # Broken: success on invalid input.

3418 continue

3419 else

3420 echo "$as_me: failed program was:" >&5

3421 sed 's/^/| /' conftest.$ac_ext >&5

3422

3423 # Passes both tests.

3424 ac_preproc_ok=:

3425 break

3426 fi

3427

3428 rm -f conftest.err conftest.$ac_ext

3429

3430 done

3431 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.

3432 rm -f conftest.err conftest.$ac_ext

3433 if $ac_preproc_ok; then

3434 :

3435 else

3436 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check

3437 See \`config.log' for more details." >&5

3438 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check

3439 See \`config.log' for more details." >&2;}

3440 { (exit 1); exit 1; }; }

3441 fi

3442

3443 ac_ext=c

3444 ac_cpp='$CPP $CPPFLAGS'

3445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'

3446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'

3447 ac_compiler_gnu=$ac_cv_c_compiler_gnu

3448

3449

3450 { echo "$as_me:$LINENO: checking for X" >&5

3451 echo $ECHO_N "checking for X... $ECHO_C" >&6; }

3452

3453

3454 # Check whether --with-x was given.

3455 if test "${with_x+set}" = set; then

3456 withval=$with_x;

3457 fi

3458

3459 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.

3460 if test "x$with_x" = xno; then

3461 # The user explicitly disabled X.

3462 have_x=disabled

3463 else

3464 case $x_includes,$x_libraries in #(

3465 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5

3466 echo "$as_me: error: Cannot use X directory names containing '" >&2;}

3467 { (exit 1); exit 1; }; };; #(

3468 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then

3469 echo $ECHO_N "(cached) $ECHO_C" >&6

3470 else

3471 # One or both of the vars are not set, and there is no cached value.

3472 ac_x_includes=no ac_x_libraries=no

3473 rm -f -r conftest.dir

3474 if mkdir conftest.dir; then

3475 cd conftest.dir

3476 cat >Imakefile <<'_ACEOF'

3477 incroot:

3478 @echo incroot='${INCROOT}'

3479 usrlibdir:

3480 @echo usrlibdir='${USRLIBDIR}'

3481 libdir:

3482 @echo libdir='${LIBDIR}'

3483 _ACEOF

3484 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then

3485 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.

3486 for ac_var in incroot usrlibdir libdir; do

3487 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"

3488 done

3489 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.

3490 for ac_extension in a so sl; do

3491 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&

3492 test -f "$ac_im_libdir/libX11.$ac_extension"; then

3493 ac_im_usrlibdir=$ac_im_libdir; break

3494 fi

3495 done

3496 # Screen out bogus values from the imake configuration. They are

3497 # bogus both because they are the default anyway, and because

3498 # using them would break gcc on systems where it needs fixed includes.

3499 case $ac_im_incroot in

3500 /usr/include) ac_x_includes= ;;

3501 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;

3502 esac

3503 case $ac_im_usrlibdir in

3504 /usr/lib | /lib) ;;

3505 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;

3506 esac

3507 fi

3508 cd ..

3509 rm -f -r conftest.dir

3510 fi

3511

3512 # Standard set of common directories for X headers.

3513 # Check X11 before X11Rn because it is often a symlink to the current release.

3514 ac_x_header_dirs='

3515 /usr/X11/include

3516 /usr/X11R6/include

3517 /usr/X11R5/include

3518 /usr/X11R4/include

3519

3520 /usr/include/X11

3521 /usr/include/X11R6

3522 /usr/include/X11R5

3523 /usr/include/X11R4

3524

3525 /usr/local/X11/include

3526 /usr/local/X11R6/include

3527 /usr/local/X11R5/include

3528 /usr/local/X11R4/include

3529

3530 /usr/local/include/X11

3531 /usr/local/include/X11R6

3532 /usr/local/include/X11R5

3533 /usr/local/include/X11R4

3534

3535 /usr/X386/include

3536 /usr/x386/include

3537 /usr/XFree86/include/X11

3538

3539 /usr/include

3540 /usr/local/include

3541 /usr/unsupported/include

3542 /usr/athena/include

3543 /usr/local/x11r5/include

3544 /usr/lpp/Xamples/include

3545

3546 /usr/openwin/include

3547 /usr/openwin/share/include'

3548

3549 if test "$ac_x_includes" = no; then

3550 # Guess where to find include files, by looking for Xlib.h.

3551 # First, try using that file with no special directory specified.

3552 cat >conftest.$ac_ext <<_ACEOF

3553 /* confdefs.h. */

3554 _ACEOF

3555 cat confdefs.h >>conftest.$ac_ext

3556 cat >>conftest.$ac_ext <<_ACEOF

3557 /* end confdefs.h. */

3558 #include <X11/Xlib.h>

3559 _ACEOF

3560 if { (ac_try="$ac_cpp conftest.$ac_ext"

3561 case "(($ac_try" in

3562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

3563 *) ac_try_echo=$ac_try;;

3564 esac

3565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

3566 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1

3567 ac_status=$?

3568 grep -v '^ *+' conftest.er1 >conftest.err

3569 rm -f conftest.er1

3570 cat conftest.err >&5

3571 echo "$as_me:$LINENO: \$? = $ac_status" >&5

3572 (exit $ac_status); } >/dev/null && {

3573 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||

3574 test ! -s conftest.err

3575 }; then

3576 # We can compile using X headers with no special include directory.

3577 ac_x_includes=

3578 else

3579 echo "$as_me: failed program was:" >&5

3580 sed 's/^/| /' conftest.$ac_ext >&5

3581

3582 for ac_dir in $ac_x_header_dirs; do

3583 if test -r "$ac_dir/X11/Xlib.h"; then

3584 ac_x_includes=$ac_dir

3585 break

3586 fi

3587 done

3588 fi

3589

3590 rm -f conftest.err conftest.$ac_ext

3591 fi # $ac_x_includes = no

3592

3593 if test "$ac_x_libraries" = no; then

3594 # Check for the libraries.

3595 # See if we find them without any special options.

3596 # Don't add to $LIBS permanently.

3597 ac_save_LIBS=$LIBS

3598 LIBS="-lX11 $LIBS"

3599 cat >conftest.$ac_ext <<_ACEOF

3600 /* confdefs.h. */

3601 _ACEOF

3602 cat confdefs.h >>conftest.$ac_ext

3603 cat >>conftest.$ac_ext <<_ACEOF

3604 /* end confdefs.h. */

3605 #include <X11/Xlib.h>

3606 int

3607 main ()

3608 {

3609 XrmInitialize ()

3610 ;

3611 return 0;

3612 }

3613 _ACEOF

3614 rm -f conftest.$ac_objext conftest$ac_exeext

3615 if { (ac_try="$ac_link"

3616 case "(($ac_try" in

3617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

3618 *) ac_try_echo=$ac_try;;

3619 esac

3620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

3621 (eval "$ac_link") 2>conftest.er1

3622 ac_status=$?

3623 grep -v '^ *+' conftest.er1 >conftest.err

3624 rm -f conftest.er1

3625 cat conftest.err >&5

3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5

3627 (exit $ac_status); } && {

3628 test -z "$ac_c_werror_flag" ||

3629 test ! -s conftest.err

3630 } && test -s conftest$ac_exeext &&

3631 $as_test_x conftest$ac_exeext; then

3632 LIBS=$ac_save_LIBS

3633 # We can link X programs with no special library path.

3634 ac_x_libraries=

3635 else

3636 echo "$as_me: failed program was:" >&5

3637 sed 's/^/| /' conftest.$ac_ext >&5

3638

3639 LIBS=$ac_save_LIBS

3640 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`

3641 do

3642 # Don't even attempt the hair of trying to link an X program!

3643 for ac_extension in a so sl; do

3644 if test -r "$ac_dir/libX11.$ac_extension"; then

3645 ac_x_libraries=$ac_dir

3646 break 2

3647 fi

3648 done

3649 done

3650 fi

3651

3652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \

3653 conftest$ac_exeext conftest.$ac_ext

3654 fi # $ac_x_libraries = no

3655

3656 case $ac_x_includes,$ac_x_libraries in #(

3657 no,* | *,no | *\'*)

3658 # Didn't find X, or a directory has "'" in its name.

3659 ac_cv_have_x="have_x=no";; #(

3660 *)

3661 # Record where we found X for the cache.

3662 ac_cv_have_x="have_x=yes\

3663 ac_x_includes='$ac_x_includes'\

3664 ac_x_libraries='$ac_x_libraries'"

3665 esac

3666 fi

3667 ;; #(

3668 *) have_x=yes;;

3669 esac

3670 eval "$ac_cv_have_x"

3671 fi # $with_x != no

3672

3673 if test "$have_x" != yes; then

3674 { echo "$as_me:$LINENO: result: $have_x" >&5

3675 echo "${ECHO_T}$have_x" >&6; }

3676 no_x=yes

3677 else

3678 # If each of the values was on the command line, it overrides each guess.

3679 test "x$x_includes" = xNONE && x_includes=$ac_x_includes

3680 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries

3681 # Update the cache value to reflect the command line values.

3682 ac_cv_have_x="have_x=yes\

3683 ac_x_includes='$x_includes'\

3684 ac_x_libraries='$x_libraries'"

3685 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5

3686 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }

3687 fi

3688

3689 if test "$no_x" = yes; then

3690 # Not all programs may use this symbol, but it does not hurt to define it.

3691

3692 cat >>confdefs.h <<\_ACEOF

3693 #define X_DISPLAY_MISSING 1

3694 _ACEOF

3695

3696 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=

3697 else

3698 if test -n "$x_includes"; then

3699 X_CFLAGS="$X_CFLAGS -I$x_includes"

3700 fi

3701

3702 # It would also be nice to do this for all -L options, not just this one.

3703 if test -n "$x_libraries"; then

3704 X_LIBS="$X_LIBS -L$x_libraries"

3705 # For Solaris; some versions of Sun CC require a space after -R and

3706 # others require no space. Words are not sufficient . . . .

3707 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5

3708 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }

3709 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"

3710 ac_xsave_c_werror_flag=$ac_c_werror_flag

3711 ac_c_werror_flag=yes

3712 cat >conftest.$ac_ext <<_ACEOF

3713 /* confdefs.h. */

3714 _ACEOF

3715 cat confdefs.h >>conftest.$ac_ext

3716 cat >>conftest.$ac_ext <<_ACEOF

3717 /* end confdefs.h. */

3718

3719 int

3720 main ()

3721 {

3722

3723 ;

3724 return 0;

3725 }

3726 _ACEOF

3727 rm -f conftest.$ac_objext conftest$ac_exeext

3728 if { (ac_try="$ac_link"

3729 case "(($ac_try" in

3730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

3731 *) ac_try_echo=$ac_try;;

3732 esac

3733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

3734 (eval "$ac_link") 2>conftest.er1

3735 ac_status=$?

3736 grep -v '^ *+' conftest.er1 >conftest.err

3737 rm -f conftest.er1

3738 cat conftest.err >&5

3739 echo "$as_me:$LINENO: \$? = $ac_status" >&5

3740 (exit $ac_status); } && {

3741 test -z "$ac_c_werror_flag" ||

3742 test ! -s conftest.err

3743 } && test -s conftest$ac_exeext &&

3744 $as_test_x conftest$ac_exeext; then

3745 { echo "$as_me:$LINENO: result: no" >&5

3746 echo "${ECHO_T}no" >&6; }

3747 X_LIBS="$X_LIBS -R$x_libraries"

3748 else

3749 echo "$as_me: failed program was:" >&5

3750 sed 's/^/| /' conftest.$ac_ext >&5

3751

3752 LIBS="$ac_xsave_LIBS -R $x_libraries"

3753 cat >conftest.$ac_ext <<_ACEOF

3754 /* confdefs.h. */

3755 _ACEOF

3756 cat confdefs.h >>conftest.$ac_ext

3757 cat >>conftest.$ac_ext <<_ACEOF

3758 /* end confdefs.h. */

3759

3760 int

3761 main ()

3762 {

3763

3764 ;

3765 return 0;

3766 }

3767 _ACEOF

3768 rm -f conftest.$ac_objext conftest$ac_exeext

3769 if { (ac_try="$ac_link"

3770 case "(($ac_try" in

3771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

3772 *) ac_try_echo=$ac_try;;

3773 esac

3774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

3775 (eval "$ac_link") 2>conftest.er1

3776 ac_status=$?

3777 grep -v '^ *+' conftest.er1 >conftest.err

3778 rm -f conftest.er1

3779 cat conftest.err >&5

3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5

3781 (exit $ac_status); } && {

3782 test -z "$ac_c_werror_flag" ||

3783 test ! -s conftest.err

3784 } && test -s conftest$ac_exeext &&

3785 $as_test_x conftest$ac_exeext; then

3786 { echo "$as_me:$LINENO: result: yes" >&5

3787 echo "${ECHO_T}yes" >&6; }

3788 X_LIBS="$X_LIBS -R $x_libraries"

3789 else

3790 echo "$as_me: failed program was:" >&5

3791 sed 's/^/| /' conftest.$ac_ext >&5

3792

3793 { echo "$as_me:$LINENO: result: neither works" >&5

3794 echo "${ECHO_T}neither works" >&6; }

3795 fi

3796

3797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \

3798 conftest$ac_exeext conftest.$ac_ext

3799 fi

3800

3801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \

3802 conftest$ac_exeext conftest.$ac_ext

3803 ac_c_werror_flag=$ac_xsave_c_werror_flag

3804 LIBS=$ac_xsave_LIBS

3805 fi

3806

3807 # Check for system-dependent libraries X programs must link with.

3808 # Do this before checking for the system-independent R6 libraries

3809 # (-lICE), since we may need -lsocket or whatever for X linking.

3810

3811 if test "$ISC" = yes; then

3812 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"

3813 else

3814 # Martyn Johnson says this is needed for Ultrix, if the X

3815 # libraries were built with DECnet support. And Karl Berry says

3816 # the Alpha needs dnet_stub (dnet does not exist).

3817 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"

3818 cat >conftest.$ac_ext <<_ACEOF

3819 /* confdefs.h. */

3820 _ACEOF

3821 cat confdefs.h >>conftest.$ac_ext

3822 cat >>conftest.$ac_ext <<_ACEOF

3823 /* end confdefs.h. */

3824

3825 /* Override any GCC internal prototype to avoid an error.

3826 Use char because int might match the return type of a GCC

3827 builtin and then its argument prototype would still apply. */

3828 #ifdef __cplusplus

3829 extern "C"

3830 #endif

3831 char XOpenDisplay ();

3832 int

3833 main ()

3834 {

3835 return XOpenDisplay ();

3836 ;

3837 return 0;

3838 }

3839 _ACEOF

3840 rm -f conftest.$ac_objext conftest$ac_exeext

3841 if { (ac_try="$ac_link"

3842 case "(($ac_try" in

3843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

3844 *) ac_try_echo=$ac_try;;

3845 esac

3846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

3847 (eval "$ac_link") 2>conftest.er1

3848 ac_status=$?

3849 grep -v '^ *+' conftest.er1 >conftest.err

3850 rm -f conftest.er1

3851 cat conftest.err >&5

3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5

3853 (exit $ac_status); } && {

3854 test -z "$ac_c_werror_flag" ||

3855 test ! -s conftest.err

3856 } && test -s conftest$ac_exeext &&

3857 $as_test_x conftest$ac_exeext; then

3858 :

3859 else

3860 echo "$as_me: failed program was:" >&5

3861 sed 's/^/| /' conftest.$ac_ext >&5

3862

3863 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5

3864 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }

3865 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then

3866 echo $ECHO_N "(cached) $ECHO_C" >&6

3867 else

3868 ac_check_lib_save_LIBS=$LIBS

3869 LIBS="-ldnet $LIBS"

3870 cat >conftest.$ac_ext <<_ACEOF

3871 /* confdefs.h. */

3872 _ACEOF

3873 cat confdefs.h >>conftest.$ac_ext

3874 cat >>conftest.$ac_ext <<_ACEOF

3875 /* end confdefs.h. */

3876

3877 /* Override any GCC internal prototype to avoid an error.

3878 Use char because int might match the return type of a GCC

3879 builtin and then its argument prototype would still apply. */

3880 #ifdef __cplusplus

3881 extern "C"

3882 #endif

3883 char dnet_ntoa ();

3884 int

3885 main ()

3886 {

3887 return dnet_ntoa ();

3888 ;

3889 return 0;

3890 }

3891 _ACEOF

3892 rm -f conftest.$ac_objext conftest$ac_exeext

3893 if { (ac_try="$ac_link"

3894 case "(($ac_try" in

3895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

3896 *) ac_try_echo=$ac_try;;

3897 esac

3898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

3899 (eval "$ac_link") 2>conftest.er1

3900 ac_status=$?

3901 grep -v '^ *+' conftest.er1 >conftest.err

3902 rm -f conftest.er1

3903 cat conftest.err >&5

3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5

3905 (exit $ac_status); } && {

3906 test -z "$ac_c_werror_flag" ||

3907 test ! -s conftest.err

3908 } && test -s conftest$ac_exeext &&

3909 $as_test_x conftest$ac_exeext; then

3910 ac_cv_lib_dnet_dnet_ntoa=yes

3911 else

3912 echo "$as_me: failed program was:" >&5

3913 sed 's/^/| /' conftest.$ac_ext >&5

3914

3915 ac_cv_lib_dnet_dnet_ntoa=no

3916 fi

3917

3918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \

3919 conftest$ac_exeext conftest.$ac_ext

3920 LIBS=$ac_check_lib_save_LIBS

3921 fi

3922 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5

3923 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }

3924 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then

3925 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"

3926 fi

3927

3928 if test $ac_cv_lib_dnet_dnet_ntoa = no; then

3929 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5

3930 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }

3931 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then

3932 echo $ECHO_N "(cached) $ECHO_C" >&6

3933 else

3934 ac_check_lib_save_LIBS=$LIBS

3935 LIBS="-ldnet_stub $LIBS"

3936 cat >conftest.$ac_ext <<_ACEOF

3937 /* confdefs.h. */

3938 _ACEOF

3939 cat confdefs.h >>conftest.$ac_ext

3940 cat >>conftest.$ac_ext <<_ACEOF

3941 /* end confdefs.h. */

3942

3943 /* Override any GCC internal prototype to avoid an error.

3944 Use char because int might match the return type of a GCC

3945 builtin and then its argument prototype would still apply. */

3946 #ifdef __cplusplus

3947 extern "C"

3948 #endif

3949 char dnet_ntoa ();

3950 int

3951 main ()

3952 {

3953 return dnet_ntoa ();

3954 ;

3955 return 0;

3956 }

3957 _ACEOF

3958 rm -f conftest.$ac_objext conftest$ac_exeext

3959 if { (ac_try="$ac_link"

3960 case "(($ac_try" in

3961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

3962 *) ac_try_echo=$ac_try;;

3963 esac

3964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

3965 (eval "$ac_link") 2>conftest.er1

3966 ac_status=$?

3967 grep -v '^ *+' conftest.er1 >conftest.err

3968 rm -f conftest.er1

3969 cat conftest.err >&5

3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5

3971 (exit $ac_status); } && {

3972 test -z "$ac_c_werror_flag" ||

3973 test ! -s conftest.err

3974 } && test -s conftest$ac_exeext &&

3975 $as_test_x conftest$ac_exeext; then

3976 ac_cv_lib_dnet_stub_dnet_ntoa=yes

3977 else

3978 echo "$as_me: failed program was:" >&5

3979 sed 's/^/| /' conftest.$ac_ext >&5

3980

3981 ac_cv_lib_dnet_stub_dnet_ntoa=no

3982 fi

3983

3984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \

3985 conftest$ac_exeext conftest.$ac_ext

3986 LIBS=$ac_check_lib_save_LIBS

3987 fi

3988 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5

3989 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }

3990 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then

3991 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"

3992 fi

3993

3994 fi

3995 fi

3996

3997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \

3998 conftest$ac_exeext conftest.$ac_ext

3999 LIBS="$ac_xsave_LIBS"

4000

4001 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,

4002 # to get the SysV transport functions.

4003 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)

4004 # needs -lnsl.

4005 # The nsl library prevents programs from opening the X display

4006 # on Irix 5.2, according to T.E. Dickey.

4007 # The functions gethostbyname, getservbyname, and inet_addr are

4008 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.

4009 { echo "$as_me:$LINENO: checking for gethostbyname" >&5

4010 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }

4011 if test "${ac_cv_func_gethostbyname+set}" = set; then

4012 echo $ECHO_N "(cached) $ECHO_C" >&6

4013 else

4014 cat >conftest.$ac_ext <<_ACEOF

4015 /* confdefs.h. */

4016 _ACEOF

4017 cat confdefs.h >>conftest.$ac_ext

4018 cat >>conftest.$ac_ext <<_ACEOF

4019 /* end confdefs.h. */

4020 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.

4021 For example, HP-UX 11i <limits.h> declares gettimeofday. */

4022 #define gethostbyname innocuous_gethostbyname

4023

4024 /* System header to define __stub macros and hopefully few prototypes,

4025 which can conflict with char gethostbyname (); below.

4026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since

4027 <limits.h> exists even on freestanding compilers. */

4028

4029 #ifdef __STDC__

4030 # include <limits.h>

4031 #else

4032 # include <assert.h>

4033 #endif

4034

4035 #undef gethostbyname

4036

4037 /* Override any GCC internal prototype to avoid an error.

4038 Use char because int might match the return type of a GCC

4039 builtin and then its argument prototype would still apply. */

4040 #ifdef __cplusplus

4041 extern "C"

4042 #endif

4043 char gethostbyname ();

4044 /* The GNU C library defines this for functions which it implements

4045 to always fail with ENOSYS. Some functions are actually named

4046 something starting with __ and the normal name is an alias. */

4047 #if defined __stub_gethostbyname || defined __stub___gethostbyname

4048 choke me

4049 #endif

4050

4051 int

4052 main ()

4053 {

4054 return gethostbyname ();

4055 ;

4056 return 0;

4057 }

4058 _ACEOF

4059 rm -f conftest.$ac_objext conftest$ac_exeext

4060 if { (ac_try="$ac_link"

4061 case "(($ac_try" in

4062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

4063 *) ac_try_echo=$ac_try;;

4064 esac

4065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

4066 (eval "$ac_link") 2>conftest.er1

4067 ac_status=$?

4068 grep -v '^ *+' conftest.er1 >conftest.err

4069 rm -f conftest.er1

4070 cat conftest.err >&5

4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5

4072 (exit $ac_status); } && {

4073 test -z "$ac_c_werror_flag" ||

4074 test ! -s conftest.err

4075 } && test -s conftest$ac_exeext &&

4076 $as_test_x conftest$ac_exeext; then

4077 ac_cv_func_gethostbyname=yes

4078 else

4079 echo "$as_me: failed program was:" >&5

4080 sed 's/^/| /' conftest.$ac_ext >&5

4081

4082 ac_cv_func_gethostbyname=no

4083 fi

4084

4085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \

4086 conftest$ac_exeext conftest.$ac_ext

4087 fi

4088 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5

4089 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }

4090

4091 if test $ac_cv_func_gethostbyname = no; then

4092 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5

4093 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }

4094 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then

4095 echo $ECHO_N "(cached) $ECHO_C" >&6

4096 else

4097 ac_check_lib_save_LIBS=$LIBS

4098 LIBS="-lnsl $LIBS"

4099 cat >conftest.$ac_ext <<_ACEOF

4100 /* confdefs.h. */

4101 _ACEOF

4102 cat confdefs.h >>conftest.$ac_ext

4103 cat >>conftest.$ac_ext <<_ACEOF

4104 /* end confdefs.h. */

4105

4106 /* Override any GCC internal prototype to avoid an error.

4107 Use char because int might match the return type of a GCC

4108 builtin and then its argument prototype would still apply. */

4109 #ifdef __cplusplus

4110 extern "C"

4111 #endif

4112 char gethostbyname ();

4113 int

4114 main ()

4115 {

4116 return gethostbyname ();

4117 ;

4118 return 0;

4119 }

4120 _ACEOF

4121 rm -f conftest.$ac_objext conftest$ac_exeext

4122 if { (ac_try="$ac_link"

4123 case "(($ac_try" in

4124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

4125 *) ac_try_echo=$ac_try;;

4126 esac

4127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

4128 (eval "$ac_link") 2>conftest.er1

4129 ac_status=$?

4130 grep -v '^ *+' conftest.er1 >conftest.err

4131 rm -f conftest.er1

4132 cat conftest.err >&5

4133 echo "$as_me:$LINENO: \$? = $ac_status" >&5

4134 (exit $ac_status); } && {

4135 test -z "$ac_c_werror_flag" ||

4136 test ! -s conftest.err

4137 } && test -s conftest$ac_exeext &&

4138 $as_test_x conftest$ac_exeext; then

4139 ac_cv_lib_nsl_gethostbyname=yes

4140 else

4141 echo "$as_me: failed program was:" >&5

4142 sed 's/^/| /' conftest.$ac_ext >&5

4143

4144 ac_cv_lib_nsl_gethostbyname=no

4145 fi

4146

4147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \

4148 conftest$ac_exeext conftest.$ac_ext

4149 LIBS=$ac_check_lib_save_LIBS

4150 fi

4151 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5

4152 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }

4153 if test $ac_cv_lib_nsl_gethostbyname = yes; then

4154 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"

4155 fi

4156

4157 if test $ac_cv_lib_nsl_gethostbyname = no; then

4158 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5

4159 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }

4160 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then

4161 echo $ECHO_N "(cached) $ECHO_C" >&6

4162 else

4163 ac_check_lib_save_LIBS=$LIBS

4164 LIBS="-lbsd $LIBS"

4165 cat >conftest.$ac_ext <<_ACEOF

4166 /* confdefs.h. */

4167 _ACEOF

4168 cat confdefs.h >>conftest.$ac_ext

4169 cat >>conftest.$ac_ext <<_ACEOF

4170 /* end confdefs.h. */

4171

4172 /* Override any GCC internal prototype to avoid an error.

4173 Use char because int might match the return type of a GCC

4174 builtin and then its argument prototype would still apply. */

4175 #ifdef __cplusplus

4176 extern "C"

4177 #endif

4178 char gethostbyname ();

4179 int

4180 main ()

4181 {

4182 return gethostbyname ();

4183 ;

4184 return 0;

4185 }

4186 _ACEOF

4187 rm -f conftest.$ac_objext conftest$ac_exeext

4188 if { (ac_try="$ac_link"

4189 case "(($ac_try" in

4190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

4191 *) ac_try_echo=$ac_try;;

4192 esac

4193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

4194 (eval "$ac_link") 2>conftest.er1

4195 ac_status=$?

4196 grep -v '^ *+' conftest.er1 >conftest.err

4197 rm -f conftest.er1

4198 cat conftest.err >&5

4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5

4200 (exit $ac_status); } && {

4201 test -z "$ac_c_werror_flag" ||

4202 test ! -s conftest.err

4203 } && test -s conftest$ac_exeext &&

4204 $as_test_x conftest$ac_exeext; then

4205 ac_cv_lib_bsd_gethostbyname=yes

4206 else

4207 echo "$as_me: failed program was:" >&5

4208 sed 's/^/| /' conftest.$ac_ext >&5

4209

4210 ac_cv_lib_bsd_gethostbyname=no

4211 fi

4212

4213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \

4214 conftest$ac_exeext conftest.$ac_ext

4215 LIBS=$ac_check_lib_save_LIBS

4216 fi

4217 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5

4218 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }

4219 if test $ac_cv_lib_bsd_gethostbyname = yes; then

4220 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"

4221 fi

4222

4223 fi

4224 fi

4225

4226 # lieder@skyler.mavd.honeywell.com says without -lsocket,

4227 # socket/setsockopt and other routines are undefined under SCO ODT

4228 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary

4229 # on later versions), says Simon Leinen: it contains gethostby*

4230 # variants that don't use the name server (or something). -lsocket

4231 # must be given before -lnsl if both are needed. We assume that

4232 # if connect needs -lnsl, so does gethostbyname.

4233 { echo "$as_me:$LINENO: checking for connect" >&5

4234 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }

4235 if test "${ac_cv_func_connect+set}" = set; then

4236 echo $ECHO_N "(cached) $ECHO_C" >&6

4237 else

4238 cat >conftest.$ac_ext <<_ACEOF

4239 /* confdefs.h. */

4240 _ACEOF

4241 cat confdefs.h >>conftest.$ac_ext

4242 cat >>conftest.$ac_ext <<_ACEOF

4243 /* end confdefs.h. */

4244 /* Define connect to an innocuous variant, in case <limits.h> declares connect.

4245 For example, HP-UX 11i <limits.h> declares gettimeofday. */

4246 #define connect innocuous_connect

4247

4248 /* System header to define __stub macros and hopefully few prototypes,

4249 which can conflict with char connect (); below.

4250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since

4251 <limits.h> exists even on freestanding compilers. */

4252

4253 #ifdef __STDC__

4254 # include <limits.h>

4255 #else

4256 # include <assert.h>

4257 #endif

4258

4259 #undef connect

4260

4261 /* Override any GCC internal prototype to avoid an error.

4262 Use char because int might match the return type of a GCC

4263 builtin and then its argument prototype would still apply. */

4264 #ifdef __cplusplus

4265 extern "C"

4266 #endif

4267 char connect ();

4268 /* The GNU C library defines this for functions which it implements

4269 to always fail with ENOSYS. Some functions are actually named

4270 something starting with __ and the normal name is an alias. */

4271 #if defined __stub_connect || defined __stub___connect

4272 choke me

4273 #endif

4274

4275 int

4276 main ()

4277 {

4278 return connect ();

4279 ;

4280 return 0;

4281 }

4282 _ACEOF

4283 rm -f conftest.$ac_objext conftest$ac_exeext

4284 if { (ac_try="$ac_link"

4285 case "(($ac_try" in

4286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

4287 *) ac_try_echo=$ac_try;;

4288 esac

4289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

4290 (eval "$ac_link") 2>conftest.er1

4291 ac_status=$?

4292 grep -v '^ *+' conftest.er1 >conftest.err

4293 rm -f conftest.er1

4294 cat conftest.err >&5

4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5

4296 (exit $ac_status); } && {

4297 test -z "$ac_c_werror_flag" ||

4298 test ! -s conftest.err

4299 } && test -s conftest$ac_exeext &&

4300 $as_test_x conftest$ac_exeext; then

4301 ac_cv_func_connect=yes

4302 else

4303 echo "$as_me: failed program was:" >&5

4304 sed 's/^/| /' conftest.$ac_ext >&5

4305

4306 ac_cv_func_connect=no

4307 fi

4308

4309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \

4310 conftest$ac_exeext conftest.$ac_ext

4311 fi

4312 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5

4313 echo "${ECHO_T}$ac_cv_func_connect" >&6; }

4314

4315 if test $ac_cv_func_connect = no; then

4316 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5

4317 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }

4318 if test "${ac_cv_lib_socket_connect+set}" = set; then

4319 echo $ECHO_N "(cached) $ECHO_C" >&6

4320 else

4321 ac_check_lib_save_LIBS=$LIBS

4322 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"

4323 cat >conftest.$ac_ext <<_ACEOF

4324 /* confdefs.h. */

4325 _ACEOF

4326 cat confdefs.h >>conftest.$ac_ext

4327 cat >>conftest.$ac_ext <<_ACEOF

4328 /* end confdefs.h. */

4329

4330 /* Override any GCC internal prototype to avoid an error.

4331 Use char because int might match the return type of a GCC

4332 builtin and then its argument prototype would still apply. */

4333 #ifdef __cplusplus

4334 extern "C"

4335 #endif

4336 char connect ();

4337 int

4338 main ()

4339 {

4340 return connect ();

4341 ;

4342 return 0;

4343 }

4344 _ACEOF

4345 rm -f conftest.$ac_objext conftest$ac_exeext

4346 if { (ac_try="$ac_link"

4347 case "(($ac_try" in

4348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

4349 *) ac_try_echo=$ac_try;;

4350 esac

4351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

4352 (eval "$ac_link") 2>conftest.er1

4353 ac_status=$?

4354 grep -v '^ *+' conftest.er1 >conftest.err

4355 rm -f conftest.er1

4356 cat conftest.err >&5

4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5

4358 (exit $ac_status); } && {

4359 test -z "$ac_c_werror_flag" ||

4360 test ! -s conftest.err

4361 } && test -s conftest$ac_exeext &&

4362 $as_test_x conftest$ac_exeext; then

4363 ac_cv_lib_socket_connect=yes

4364 else

4365 echo "$as_me: failed program was:" >&5

4366 sed 's/^/| /' conftest.$ac_ext >&5

4367

4368 ac_cv_lib_socket_connect=no

4369 fi

4370

4371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \

4372 conftest$ac_exeext conftest.$ac_ext

4373 LIBS=$ac_check_lib_save_LIBS

4374 fi

4375 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5

4376 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }

4377 if test $ac_cv_lib_socket_connect = yes; then

4378 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"

4379 fi

4380

4381 fi

4382

4383 # Guillermo Gomez says -lposix is necessary on A/UX.

4384 { echo "$as_me:$LINENO: checking for remove" >&5

4385 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }

4386 if test "${ac_cv_func_remove+set}" = set; then

4387 echo $ECHO_N "(cached) $ECHO_C" >&6

4388 else

4389 cat >conftest.$ac_ext <<_ACEOF

4390 /* confdefs.h. */

4391 _ACEOF

4392 cat confdefs.h >>conftest.$ac_ext

4393 cat >>conftest.$ac_ext <<_ACEOF

4394 /* end confdefs.h. */

4395 /* Define remove to an innocuous variant, in case <limits.h> declares remove.

4396 For example, HP-UX 11i <limits.h> declares gettimeofday. */

4397 #define remove innocuous_remove

4398

4399 /* System header to define __stub macros and hopefully few prototypes,

4400 which can conflict with char remove (); below.

4401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since

4402 <limits.h> exists even on freestanding compilers. */

4403

4404 #ifdef __STDC__

4405 # include <limits.h>

4406 #else

4407 # include <assert.h>

4408 #endif

4409

4410 #undef remove

4411

4412 /* Override any GCC internal prototype to avoid an error.

4413 Use char because int might match the return type of a GCC

4414 builtin and then its argument prototype would still apply. */

4415 #ifdef __cplusplus

4416 extern "C"

4417 #endif

4418 char remove ();

4419 /* The GNU C library defines this for functions which it implements

4420 to always fail with ENOSYS. Some functions are actually named

4421 something starting with __ and the normal name is an alias. */

4422 #if defined __stub_remove || defined __stub___remove

4423 choke me

4424 #endif

4425

4426 int

4427 main ()

4428 {

4429 return remove ();

4430 ;

4431 return 0;

4432 }

4433 _ACEOF

4434 rm -f conftest.$ac_objext conftest$ac_exeext

4435 if { (ac_try="$ac_link"

4436 case "(($ac_try" in

4437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

4438 *) ac_try_echo=$ac_try;;

4439 esac

4440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

4441 (eval "$ac_link") 2>conftest.er1

4442 ac_status=$?

4443 grep -v '^ *+' conftest.er1 >conftest.err

4444 rm -f conftest.er1

4445 cat conftest.err >&5

4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5

4447 (exit $ac_status); } && {

4448 test -z "$ac_c_werror_flag" ||

4449 test ! -s conftest.err

4450 } && test -s conftest$ac_exeext &&

4451 $as_test_x conftest$ac_exeext; then

4452 ac_cv_func_remove=yes

4453 else

4454 echo "$as_me: failed program was:" >&5

4455 sed 's/^/| /' conftest.$ac_ext >&5

4456

4457 ac_cv_func_remove=no

4458 fi

4459

4460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \

4461 conftest$ac_exeext conftest.$ac_ext

4462 fi

4463 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5

4464 echo "${ECHO_T}$ac_cv_func_remove" >&6; }

4465

4466 if test $ac_cv_func_remove = no; then

4467 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5

4468 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }

4469 if test "${ac_cv_lib_posix_remove+set}" = set; then

4470 echo $ECHO_N "(cached) $ECHO_C" >&6

4471 else

4472 ac_check_lib_save_LIBS=$LIBS

4473 LIBS="-lposix $LIBS"

4474 cat >conftest.$ac_ext <<_ACEOF

4475 /* confdefs.h. */

4476 _ACEOF

4477 cat confdefs.h >>conftest.$ac_ext

4478 cat >>conftest.$ac_ext <<_ACEOF

4479 /* end confdefs.h. */

4480

4481 /* Override any GCC internal prototype to avoid an error.

4482 Use char because int might match the return type of a GCC

4483 builtin and then its argument prototype would still apply. */

4484 #ifdef __cplusplus

4485 extern "C"

4486 #endif

4487 char remove ();

4488 int

4489 main ()

4490 {

4491 return remove ();

4492 ;

4493 return 0;

4494 }

4495 _ACEOF

4496 rm -f conftest.$ac_objext conftest$ac_exeext

4497 if { (ac_try="$ac_link"

4498 case "(($ac_try" in

4499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

4500 *) ac_try_echo=$ac_try;;

4501 esac

4502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

4503 (eval "$ac_link") 2>conftest.er1

4504 ac_status=$?

4505 grep -v '^ *+' conftest.er1 >conftest.err

4506 rm -f conftest.er1

4507 cat conftest.err >&5

4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5

4509 (exit $ac_status); } && {

4510 test -z "$ac_c_werror_flag" ||

4511 test ! -s conftest.err

4512 } && test -s conftest$ac_exeext &&

4513 $as_test_x conftest$ac_exeext; then

4514 ac_cv_lib_posix_remove=yes

4515 else

4516 echo "$as_me: failed program was:" >&5

4517 sed 's/^/| /' conftest.$ac_ext >&5

4518

4519 ac_cv_lib_posix_remove=no

4520 fi

4521

4522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \

4523 conftest$ac_exeext conftest.$ac_ext

4524 LIBS=$ac_check_lib_save_LIBS

4525 fi

4526 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5

4527 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }

4528 if test $ac_cv_lib_posix_remove = yes; then

4529 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"

4530 fi

4531

4532 fi

4533

4534 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.

4535 { echo "$as_me:$LINENO: checking for shmat" >&5

4536 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }

4537 if test "${ac_cv_func_shmat+set}" = set; then

4538 echo $ECHO_N "(cached) $ECHO_C" >&6

4539 else

4540 cat >conftest.$ac_ext <<_ACEOF

4541 /* confdefs.h. */

4542 _ACEOF

4543 cat confdefs.h >>conftest.$ac_ext

4544 cat >>conftest.$ac_ext <<_ACEOF

4545 /* end confdefs.h. */

4546 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.

4547 For example, HP-UX 11i <limits.h> declares gettimeofday. */

4548 #define shmat innocuous_shmat

4549

4550 /* System header to define __stub macros and hopefully few prototypes,

4551 which can conflict with char shmat (); below.

4552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since

4553 <limits.h> exists even on freestanding compilers. */

4554

4555 #ifdef __STDC__

4556 # include <limits.h>

4557 #else

4558 # include <assert.h>

4559 #endif

4560

4561 #undef shmat

4562

4563 /* Override any GCC internal prototype to avoid an error.

4564 Use char because int might match the return type of a GCC

4565 builtin and then its argument prototype would still apply. */

4566 #ifdef __cplusplus

4567 extern "C"

4568 #endif

4569 char shmat ();

4570 /* The GNU C library defines this for functions which it implements

4571 to always fail with ENOSYS. Some functions are actually named

4572 something starting with __ and the normal name is an alias. */

4573 #if defined __stub_shmat || defined __stub___shmat

4574 choke me

4575 #endif

4576

4577 int

4578 main ()

4579 {

4580 return shmat ();

4581 ;

4582 return 0;

4583 }

4584 _ACEOF

4585 rm -f conftest.$ac_objext conftest$ac_exeext

4586 if { (ac_try="$ac_link"

4587 case "(($ac_try" in

4588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

4589 *) ac_try_echo=$ac_try;;

4590 esac

4591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

4592 (eval "$ac_link") 2>conftest.er1

4593 ac_status=$?

4594 grep -v '^ *+' conftest.er1 >conftest.err

4595 rm -f conftest.er1

4596 cat conftest.err >&5

4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5

4598 (exit $ac_status); } && {

4599 test -z "$ac_c_werror_flag" ||

4600 test ! -s conftest.err

4601 } && test -s conftest$ac_exeext &&

4602 $as_test_x conftest$ac_exeext; then

4603 ac_cv_func_shmat=yes

4604 else

4605 echo "$as_me: failed program was:" >&5

4606 sed 's/^/| /' conftest.$ac_ext >&5

4607

4608 ac_cv_func_shmat=no

4609 fi

4610

4611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \

4612 conftest$ac_exeext conftest.$ac_ext

4613 fi

4614 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5

4615 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }

4616

4617 if test $ac_cv_func_shmat = no; then

4618 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5

4619 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }

4620 if test "${ac_cv_lib_ipc_shmat+set}" = set; then

4621 echo $ECHO_N "(cached) $ECHO_C" >&6

4622 else

4623 ac_check_lib_save_LIBS=$LIBS

4624 LIBS="-lipc $LIBS"

4625 cat >conftest.$ac_ext <<_ACEOF

4626 /* confdefs.h. */

4627 _ACEOF

4628 cat confdefs.h >>conftest.$ac_ext

4629 cat >>conftest.$ac_ext <<_ACEOF

4630 /* end confdefs.h. */

4631

4632 /* Override any GCC internal prototype to avoid an error.

4633 Use char because int might match the return type of a GCC

4634 builtin and then its argument prototype would still apply. */

4635 #ifdef __cplusplus

4636 extern "C"

4637 #endif

4638 char shmat ();

4639 int

4640 main ()

4641 {

4642 return shmat ();

4643 ;

4644 return 0;

4645 }

4646 _ACEOF

4647 rm -f conftest.$ac_objext conftest$ac_exeext

4648 if { (ac_try="$ac_link"

4649 case "(($ac_try" in

4650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

4651 *) ac_try_echo=$ac_try;;

4652 esac

4653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

4654 (eval "$ac_link") 2>conftest.er1

4655 ac_status=$?

4656 grep -v '^ *+' conftest.er1 >conftest.err

4657 rm -f conftest.er1

4658 cat conftest.err >&5

4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5

4660 (exit $ac_status); } && {

4661 test -z "$ac_c_werror_flag" ||

4662 test ! -s conftest.err

4663 } && test -s conftest$ac_exeext &&

4664 $as_test_x conftest$ac_exeext; then

4665 ac_cv_lib_ipc_shmat=yes

4666 else

4667 echo "$as_me: failed program was:" >&5

4668 sed 's/^/| /' conftest.$ac_ext >&5

4669

4670 ac_cv_lib_ipc_shmat=no

4671 fi

4672

4673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \

4674 conftest$ac_exeext conftest.$ac_ext

4675 LIBS=$ac_check_lib_save_LIBS

4676 fi

4677 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5

4678 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }

4679 if test $ac_cv_lib_ipc_shmat = yes; then

4680 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"

4681 fi

4682

4683 fi

4684 fi

4685

4686 # Check for libraries that X11R6 Xt/Xaw programs need.

4687 ac_save_LDFLAGS=$LDFLAGS

4688 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"

4689 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to

4690 # check for ICE first), but we must link in the order -lSM -lICE or

4691 # we get undefined symbols. So assume we have SM if we have ICE.

4692 # These have to be linked with before -lX11, unlike the other

4693 # libraries we check for below, so use a different variable.

4694 # John Interrante, Karl Berry

4695 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5

4696 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }

4697 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then

4698 echo $ECHO_N "(cached) $ECHO_C" >&6

4699 else

4700 ac_check_lib_save_LIBS=$LIBS

4701 LIBS="-lICE $X_EXTRA_LIBS $LIBS"

4702 cat >conftest.$ac_ext <<_ACEOF

4703 /* confdefs.h. */

4704 _ACEOF

4705 cat confdefs.h >>conftest.$ac_ext

4706 cat >>conftest.$ac_ext <<_ACEOF

4707 /* end confdefs.h. */

4708

4709 /* Override any GCC internal prototype to avoid an error.

4710 Use char because int might match the return type of a GCC

4711 builtin and then its argument prototype would still apply. */

4712 #ifdef __cplusplus

4713 extern "C"

4714 #endif

4715 char IceConnectionNumber ();

4716 int

4717 main ()

4718 {

4719 return IceConnectionNumber ();

4720 ;

4721 return 0;

4722 }

4723 _ACEOF

4724 rm -f conftest.$ac_objext conftest$ac_exeext

4725 if { (ac_try="$ac_link"

4726 case "(($ac_try" in

4727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

4728 *) ac_try_echo=$ac_try;;

4729 esac

4730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5

4731 (eval "$ac_link") 2>conftest.er1

4732 ac_status=$?

4733 grep -v '^ *+' conftest.er1 >conftest.err

4734 rm -f conftest.er1

4735 cat conftest.err >&5

4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5

4737 (exit $ac_status); } && {

4738 test -z "$ac_c_werror_flag" ||

4739 test ! -s conftest.err

4740 } && test -s conftest$ac_exeext &&

4741 $as_test_x conftest$ac_exeext; then

4742 ac_cv_lib_ICE_IceConnectionNumber=yes

4743 else

4744 echo "$as_me: failed program was:" >&5

4745 sed 's/^/| /' conftest.$ac_ext >&5

4746

4747 ac_cv_lib_ICE_IceConnectionNumber=no

4748 fi

4749

4750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \

4751 conftest$ac_exeext conftest.$ac_ext

4752 LIBS=$ac_check_lib_save_LIBS

4753 fi

4754 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5

4755 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }

4756 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then

4757 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"

4758 fi

4759

4760 LDFLAGS=$ac_save_LDFLAGS

4761

4762 fi

4763

4764

4765 # Check whether --enable-ewmh was given.

4766 if test "${enable_ewmh+set}" = set; then

4767 enableval=$enable_ewmh; case "${enableval}" in

4768 yes) ewmh=yes ;;

4769 no) ewmh=no ;;

4770 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-ewmh" >&5

4771 echo "$as_me: error: bad value ${enableval} for --enable-ewmh" >&2;}

4772 { (exit 1); exit 1; }; } ;;

4773 esac

4774 else

4775 ewmh=yes

4776 fi

4777

4778

4779

4780 if test x$ewmh = xyes; then

4781 CONFIG_EWMH_TRUE=

4782 CONFIG_EWMH_FALSE='#'

4783 else

4784 CONFIG_EWMH_TRUE='#'

4785 CONFIG_EWMH_FALSE=

4786 fi

4787

4788

4789 ac_config_files="$ac_config_files Makefile src/Makefile"

4790

4791 cat >confcache <<\_ACEOF

4792 # This file is a shell script that caches the results of configure

4793 # tests run on this system so they can be shared between configure

4794 # scripts and configure runs, see configure's option --config-cache.

4795 # It is not useful on other systems. If it contains results you don't

4796 # want to keep, you may remove or edit it.

4797 #

4798 # config.status only pays attention to the cache file if you give it

4799 # the --recheck option to rerun configure.

4800 #

4801 # `ac_cv_env_foo' variables (set or unset) will be overridden when

4802 # loading this file, other *unset* `ac_cv_foo' will be assigned the

4803 # following values.

4804

4805 _ACEOF

4806

4807 # The following way of writing the cache mishandles newlines in values,

4808 # but we know of no workaround that is simple, portable, and efficient.

4809 # So, we kill variables containing newlines.

4810 # Ultrix sh set writes to stderr and can't be redirected directly,

4811 # and sets the high bit in the cache file unless we assign to the vars.

4812 (

4813 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do

4814 eval ac_val=\$ac_var

4815 case $ac_val in #(

4816 *${as_nl}*)

4817 case $ac_var in #(

4818 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5

4819 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;

4820 esac

4821 case $ac_var in #(

4822 _ | IFS | as_nl) ;; #(

4823 *) $as_unset $ac_var ;;

4824 esac ;;

4825 esac

4826 done

4827

4828 (set) 2>&1 |

4829 case $as_nl`(ac_space=' '; set) 2>&1` in #(

4830 *${as_nl}ac_space=\ *)

4831 # `set' does not quote correctly, so add quotes (double-quote

4832 # substitution turns \\\\ into \\, and sed turns \\ into \).

4833 sed -n \

4834 "s/'/'\\\\''/g;

4835 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"

4836 ;; #(

4837 *)

4838 # `set' quotes correctly as required by POSIX, so do not add quotes.

4839 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"

4840 ;;

4841 esac |

4842 sort

4843 ) |

4844 sed '

4845 /^ac_cv_env_/b end

4846 t clear

4847 :clear

4848 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/

4849 t end

4850 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/

4851 :end' >>confcache

4852 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else

4853 if test -w "$cache_file"; then

4854 test "x$cache_file" != "x/dev/null" &&

4855 { echo "$as_me:$LINENO: updating cache $cache_file" >&5

4856 echo "$as_me: updating cache $cache_file" >&6;}

4857 cat confcache >$cache_file

4858 else

4859 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5

4860 echo "$as_me: not updating unwritable cache $cache_file" >&6;}

4861 fi

4862 fi

4863 rm -f confcache

4864

4865 test "x$prefix" = xNONE && prefix=$ac_default_prefix

4866 # Let make expand exec_prefix.

4867 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'

4868

4869 # Transform confdefs.h into DEFS.

4870 # Protect against shell expansion while executing Makefile rules.

4871 # Protect against Makefile macro expansion.

4872 #

4873 # If the first sed substitution is executed (which looks for macros that

4874 # take arguments), then branch to the quote section. Otherwise,

4875 # look for a macro that doesn't take arguments.

4876 ac_script='

4877 t clear

4878 :clear

4879 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g

4880 t quote

4881 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g

4882 t quote

4883 b any

4884 :quote

4885 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g

4886 s/\[/\\&/g

4887 s/\]/\\&/g

4888 s/\$/$/g

4889 H

4890 :any

4891 ${

4892 g

4893 s/^\n//

4894 s/\n/ /g

4895 p

4896 }

4897 '

4898 DEFS=`sed -n "$ac_script" confdefs.h`

4899

4900

4901 ac_libobjs=

4902 ac_ltlibobjs=

4903 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue

4904 # 1. Remove the extension, and $U if already installed.

4905 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'

4906 ac_i=`echo "$ac_i" | sed "$ac_script"`

4907 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR

4908 # will be set to the directory where LIBOBJS objects are built.

4909 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"

4910 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'

4911 done

4912 LIBOBJS=$ac_libobjs

4913

4914 LTLIBOBJS=$ac_ltlibobjs

4915

4916

4917 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then

4918 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.

4919 Usually this means the macro was only invoked conditionally." >&5

4920 echo "$as_me: error: conditional \"AMDEP\" was never defined.

4921 Usually this means the macro was only invoked conditionally." >&2;}

4922 { (exit 1); exit 1; }; }

4923 fi

4924 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then

4925 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.

4926 Usually this means the macro was only invoked conditionally." >&5

4927 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.

4928 Usually this means the macro was only invoked conditionally." >&2;}

4929 { (exit 1); exit 1; }; }

4930 fi

4931 if test -z "${CONFIG_EWMH_TRUE}" && test -z "${CONFIG_EWMH_FALSE}"; then

4932 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_EWMH\" was never defined.

4933 Usually this means the macro was only invoked conditionally." >&5

4934 echo "$as_me: error: conditional \"CONFIG_EWMH\" was never defined.

4935 Usually this means the macro was only invoked conditionally." >&2;}

4936 { (exit 1); exit 1; }; }

4937 fi

4938

4939 : ${CONFIG_STATUS=./config.status}

4940 ac_clean_files_save=$ac_clean_files

4941 ac_clean_files="$ac_clean_files $CONFIG_STATUS"

4942 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5

4943 echo "$as_me: creating $CONFIG_STATUS" >&6;}

4944 cat >$CONFIG_STATUS <<_ACEOF

4945 #! $SHELL

4946 # Generated by $as_me.

4947 # Run this file to recreate the current configuration.

4948 # Compiler output produced by configure, useful for debugging

4949 # configure, is in config.log if it exists.

4950

4951 debug=false

4952 ac_cs_recheck=false

4953 ac_cs_silent=false

4954 SHELL=\${CONFIG_SHELL-$SHELL}

4955 _ACEOF

4956

4957 cat >>$CONFIG_STATUS <<\_ACEOF

4958 ## --------------------- ##

4959 ## M4sh Initialization. ##

4960 ## --------------------- ##

4961

4962 # Be more Bourne compatible

4963 DUALCASE=1; export DUALCASE # for MKS sh

4964 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then

4965 emulate sh

4966 NULLCMD=:

4967 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which

4968 # is contrary to our usage. Disable this feature.

4969 alias -g '${1+"$@"}'='"$@"'

4970 setopt NO_GLOB_SUBST

4971 else

4972 case `(set -o) 2>/dev/null` in

4973 *posix*) set -o posix ;;

4974 esac

4975

4976 fi

4977

4978

4979

4980

4981 # PATH needs CR

4982 # Avoid depending upon Character Ranges.

4983 as_cr_letters='abcdefghijklmnopqrstuvwxyz'

4984 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'

4985 as_cr_Letters=$as_cr_letters$as_cr_LETTERS

4986 as_cr_digits='0123456789'

4987 as_cr_alnum=$as_cr_Letters$as_cr_digits

4988

4989 # The user is always right.

4990 if test "${PATH_SEPARATOR+set}" != set; then

4991 echo "#! /bin/sh" >conf$.sh

4992 echo "exit 0" >>conf$.sh

4993 chmod +x conf$.sh

4994 if (PATH="/nonexistent;."; conf$.sh) >/dev/null 2>&1; then

4995 PATH_SEPARATOR=';'

4996 else

4997 PATH_SEPARATOR=:

4998 fi

4999 rm -f conf$.sh

5000 fi

5001

5002 # Support unset when possible.

5003 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then

5004 as_unset=unset

5005 else

5006 as_unset=false

5007 fi

5008

5009

5010 # IFS

5011 # We need space, tab and new line, in precisely that order. Quoting is

5012 # there to prevent editors from complaining about space-tab.

5013 # (If _AS_PATH_WALK were called with IFS unset, it would disable word

5014 # splitting by setting IFS to empty value.)

5015 as_nl='

5016 '

5017 IFS=" "" $as_nl"

5018

5019 # Find who we are. Look in the path if we contain no directory separator.

5020 case $0 in

5021 *[\\/]* ) as_myself=$0 ;;

5022 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR

5023 for as_dir in $PATH

5024 do

5025 IFS=$as_save_IFS

5026 test -z "$as_dir" && as_dir=.

5027 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break

5028 done

5029 IFS=$as_save_IFS

5030

5031 ;;

5032 esac

5033 # We did not find ourselves, most probably we were run as `sh COMMAND'

5034 # in which case we are not to be found in the path.

5035 if test "x$as_myself" = x; then

5036 as_myself=$0

5037 fi

5038 if test ! -f "$as_myself"; then

5039 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2

5040 { (exit 1); exit 1; }

5041 fi

5042

5043 # Work around bugs in pre-3.0 UWIN ksh.

5044 for as_var in ENV MAIL MAILPATH

5045 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var

5046 done

5047 PS1='$ '

5048 PS2='> '

5049 PS4='+ '

5050

5051 # NLS nuisances.

5052 for as_var in \

5053 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \

5054 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \

5055 LC_TELEPHONE LC_TIME

5056 do

5057 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then

5058 eval $as_var=C; export $as_var

5059 else

5060 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var

5061 fi

5062 done

5063

5064 # Required to use basename.

5065 if expr a : '\(a\)' >/dev/null 2>&1 &&

5066 test "X`expr 00001 : '.*\(...\)'`" = X001; then

5067 as_expr=expr

5068 else

5069 as_expr=false

5070 fi

5071

5072 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then

5073 as_basename=basename

5074 else

5075 as_basename=false

5076 fi

5077

5078

5079 # Name of the executable.

5080 as_me=`$as_basename -- "$0" ||

5081 $as_expr X/"$0" : '.*/\([^/][^/]*\)/* \| \

5082 X"$0" : 'X\(//\) \| \

5083 X"$0" : 'X\(/\)' \| . 2>/dev/null ||

5084 echo X/"$0" |

5085 sed '/^.*\/\([^/][^/]*\)\/*$/{

5086 s//\1/

5087 q

5088 }

5089 /^X\/\(\/\/\)$/{

5090 s//\1/

5091 q

5092 }

5093 /^X\/\(\/\).*/{

5094 s//\1/

5095 q

5096 }

5097 s/.*/./; q'`

5098

5099 # CDPATH.

5100 $as_unset CDPATH

5101

5102

5103

5104 as_lineno_1=$LINENO

5105 as_lineno_2=$LINENO

5106 test "x$as_lineno_1" != "x$as_lineno_2" &&

5107 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {

5108

5109 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO

5110 # uniformly replaced by the line number. The first 'sed' inserts a

5111 # line-number line after each line using $LINENO; the second 'sed'

5112 # does the real work. The second script uses 'N' to pair each

5113 # line-number line with the line containing $LINENO, and appends

5114 # trailing '-' during substitution so that $LINENO is not a special

5115 # case at line end.

5116 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the

5117 # scripts with optimization help from Paolo Bonzini. Blame Lee

5118 # E. McMahon (1931-1989) for sed's syntax. :-)

5119 sed -n '

5120 p

5121 /[$]LINENO/=

5122 ' <$as_myself |

5123 sed '

5124 s/[$]LINENO.*/&-/

5125 t lineno

5126 b

5127 :lineno

5128 N

5129 :loop

5130 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/

5131 t loop

5132 s/-\n.*//

5133 ' >$as_me.lineno &&

5134 chmod +x "$as_me.lineno" ||

5135 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2

5136 { (exit 1); exit 1; }; }

5137

5138 # Don't try to exec as it changes $[0], causing all sort of problems

5139 # (the dirname of $[0] is not the place where we might find the

5140 # original and so on. Autoconf is especially sensitive to this).

5141 . "./$as_me.lineno"

5142 # Exit status is that of the last command.

5143 exit

5144 }

5145

5146

5147 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then

5148 as_dirname=dirname

5149 else

5150 as_dirname=false

5151 fi

5152

5153 ECHO_C= ECHO_N= ECHO_T=

5154 case `echo -n x` in

5155 -n*)

5156 case `echo 'x\c'` in

5157 *c*) ECHO_T=' ';; # ECHO_T is single tab character.

5158 *) ECHO_C='\c';;

5159 esac;;

5160 *)

5161 ECHO_N='-n';;

5162 esac

5163

5164 if expr a : '\(a\)' >/dev/null 2>&1 &&

5165 test "X`expr 00001 : '.*\(...\)'`" = X001; then

5166 as_expr=expr

5167 else

5168 as_expr=false

5169 fi

5170

5171 rm -f conf$ conf$.exe conf$.file

5172 if test -d conf$.dir; then

5173 rm -f conf$.dir/conf$.file

5174 else

5175 rm -f conf$.dir

5176 mkdir conf$.dir

5177 fi

5178 echo >conf$.file

5179 if ln -s conf$.file conf$ 2>/dev/null; then

5180 as_ln_s='ln -s'

5181 # ... but there are two gotchas:

5182 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.

5183 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.

5184 # In both cases, we have to default to `cp -p'.

5185 ln -s conf$.file conf$.dir 2>/dev/null && test ! -f conf$.exe ||

5186 as_ln_s='cp -p'

5187 elif ln conf$.file conf$ 2>/dev/null; then

5188 as_ln_s=ln

5189 else

5190 as_ln_s='cp -p'

5191 fi

5192 rm -f conf$ conf$.exe conf$.dir/conf$.file conf$.file

5193 rmdir conf$.dir 2>/dev/null

5194

5195 if mkdir -p . 2>/dev/null; then

5196 as_mkdir_p=:

5197 else

5198 test -d ./-p && rmdir ./-p

5199 as_mkdir_p=false

5200 fi

5201

5202 if test -x / >/dev/null 2>&1; then

5203 as_test_x='test -x'

5204 else

5205 if ls -dL / >/dev/null 2>&1; then

5206 as_ls_L_option=L

5207 else

5208 as_ls_L_option=

5209 fi

5210 as_test_x='

5211 eval sh -c '\''

5212 if test -d "$1"; then

5213 test -d "$1/.";

5214 else

5215 case $1 in

5216 -*)set "./$1";;

5217 esac;

5218 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in

5219 ???[sx]*):;;*)false;;esac;fi

5220 '\'' sh

5221 '

5222 fi

5223 as_executable_p=$as_test_x

5224

5225 # Sed expression to map a string onto a valid CPP name.

5226 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"

5227

5228 # Sed expression to map a string onto a valid variable name.

5229 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"

5230

5231

5232 exec 6>&1

5233

5234 # Save the log message, to keep $[0] and so on meaningful, and to

5235 # report actual input values of CONFIG_FILES etc. instead of their

5236 # values after options handling.

5237 ac_log="

5238 This file was extended by karmen $as_me 0.15, which was

5239 generated by GNU Autoconf 2.61. Invocation command line was

5240

5241 CONFIG_FILES = $CONFIG_FILES

5242 CONFIG_HEADERS = $CONFIG_HEADERS

5243 CONFIG_LINKS = $CONFIG_LINKS

5244 CONFIG_COMMANDS = $CONFIG_COMMANDS

5245 $ $0 $@

5246

5247 on `(hostname || uname -n) 2>/dev/null | sed 1q`

5248 "

5249

5250 _ACEOF

5251

5252 cat >>$CONFIG_STATUS <<_ACEOF

5253 # Files that config.status was made for.

5254 config_files="$ac_config_files"

5255 config_commands="$ac_config_commands"

5256

5257 _ACEOF

5258

5259 cat >>$CONFIG_STATUS <<\_ACEOF

5260 ac_cs_usage="\

5261 \`$as_me' instantiates files from templates according to the

5262 current configuration.

5263

5264 Usage: $0 [OPTIONS] [FILE]...

5265

5266 -h, --help print this help, then exit

5267 -V, --version print version number and configuration settings, then exit

5268 -q, --quiet do not print progress messages

5269 -d, --debug don't remove temporary files

5270 --recheck update $as_me by reconfiguring in the same conditions

5271 --file=FILE[:TEMPLATE]

5272 instantiate the configuration file FILE

5273

5274 Configuration files:

5275 $config_files

5276

5277 Configuration commands:

5278 $config_commands

5279

5280 Report bugs to <bug-autoconf@gnu.org>."

5281

5282 _ACEOF

5283 cat >>$CONFIG_STATUS <<_ACEOF

5284 ac_cs_version="\\

5285 karmen config.status 0.15

5286 configured by $0, generated by GNU Autoconf 2.61,

5287 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"

5288

5289 Copyright (C) 2006 Free Software Foundation, Inc.

5290 This config.status script is free software; the Free Software Foundation

5291 gives unlimited permission to copy, distribute and modify it."

5292

5293 ac_pwd='$ac_pwd'

5294 srcdir='$srcdir'

5295 INSTALL='$INSTALL'

5296 _ACEOF

5297

5298 cat >>$CONFIG_STATUS <<\_ACEOF

5299 # If no file are specified by the user, then we need to provide default

5300 # value. By we need to know if files were specified by the user.

5301 ac_need_defaults=:

5302 while test $# != 0

5303 do

5304 case $1 in

5305 --*=*)

5306 ac_option=`expr "X$1" : 'X\([^=]*\)='`

5307 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`

5308 ac_shift=:

5309 ;;

5310 *)

5311 ac_option=$1

5312 ac_optarg=$2

5313 ac_shift=shift

5314 ;;

5315 esac

5316

5317 case $ac_option in

5318 # Handling of the options.

5319 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)

5320 ac_cs_recheck=: ;;

5321 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )

5322 echo "$ac_cs_version"; exit ;;

5323 --debug | --debu | --deb | --de | --d | -d )

5324 debug=: ;;

5325 --file | --fil | --fi | --f )

5326 $ac_shift

5327 CONFIG_FILES="$CONFIG_FILES $ac_optarg"

5328 ac_need_defaults=false;;

5329 --he | --h | --help | --hel | -h )

5330 echo "$ac_cs_usage"; exit ;;

5331 -q | -quiet | --quiet | --quie | --qui | --qu | --q \

5332 | -silent | --silent | --silen | --sile | --sil | --si | --s)

5333 ac_cs_silent=: ;;

5334

5335 # This is an error.

5336 -*) { echo "$as_me: error: unrecognized option: $1

5337 Try \`$0 --help' for more information." >&2

5338 { (exit 1); exit 1; }; } ;;

5339

5340 *) ac_config_targets="$ac_config_targets $1"

5341 ac_need_defaults=false ;;

5342

5343 esac

5344 shift

5345 done

5346

5347 ac_configure_extra_args=

5348

5349 if $ac_cs_silent; then

5350 exec 6>/dev/null

5351 ac_configure_extra_args="$ac_configure_extra_args --silent"

5352 fi

5353

5354 _ACEOF

5355 cat >>$CONFIG_STATUS <<_ACEOF

5356 if \$ac_cs_recheck; then

5357 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6

5358 CONFIG_SHELL=$SHELL

5359 export CONFIG_SHELL

5360 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion

5361 fi

5362

5363 _ACEOF

5364 cat >>$CONFIG_STATUS <<\_ACEOF

5365 exec 5>>config.log

5366 {

5367 echo

5368 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX

5369 ## Running $as_me. ##

5370 _ASBOX

5371 echo "$ac_log"

5372 } >&5

5373

5374 _ACEOF

5375 cat >>$CONFIG_STATUS <<_ACEOF

5376 #

5377 # INIT-COMMANDS

5378 #

5379 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"

5380

5381 _ACEOF

5382

5383 cat >>$CONFIG_STATUS <<\_ACEOF

5384

5385 # Handling of arguments.

5386 for ac_config_target in $ac_config_targets

5387 do

5388 case $ac_config_target in

5389 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;

5390 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;

5391 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;

5392

5393 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5

5394 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}

5395 { (exit 1); exit 1; }; };;

5396 esac

5397 done

5398

5399

5400 # If the user did not use the arguments to specify the items to instantiate,

5401 # then the envvar interface is used. Set only those that are not.

5402 # We use the long form for the default assignment because of an extremely

5403 # bizarre bug on SunOS 4.1.3.

5404 if $ac_need_defaults; then

5405 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files

5406 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands

5407 fi

5408

5409 # Have a temporary directory for convenience. Make it in the build tree

5410 # simply because there is no reason against having it here, and in addition,

5411 # creating and moving files from /tmp can sometimes cause problems.

5412 # Hook for its removal unless debugging.

5413 # Note that there is a small window in which the directory will not be cleaned:

5414 # after its creation but before its name has been assigned to `$tmp'.

5415 $debug ||

5416 {

5417 tmp=

5418 trap 'exit_status=$?

5419 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status

5420 ' 0

5421 trap '{ (exit 1); exit 1; }' 1 2 13 15

5422 }

5423 # Create a (secure) tmp directory for tmp files.

5424

5425 {

5426 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&

5427 test -n "$tmp" && test -d "$tmp"

5428 } ||

5429 {

5430 tmp=./conf$-$RANDOM

5431 (umask 077 && mkdir "$tmp")

5432 } ||

5433 {

5434 echo "$me: cannot create a temporary directory in ." >&2

5435 { (exit 1); exit 1; }

5436 }

5437

5438 #

5439 # Set up the sed scripts for CONFIG_FILES section.

5440 #

5441

5442 # No need to generate the scripts if there are no CONFIG_FILES.

5443 # This happens for instance when ./config.status config.h

5444 if test -n "$CONFIG_FILES"; then

5445

5446 _ACEOF

5447

5448

5449

5450 ac_delim='%!_!# '

5451 for ac_last_try in false false false false false :; do

5452 cat >conf$subs.sed <<_ACEOF

5453 SHELL!$SHELL$ac_delim

5454 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim

5455 PACKAGE_NAME!$PACKAGE_NAME$ac_delim

5456 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim

5457 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim

5458 PACKAGE_STRING!$PACKAGE_STRING$ac_delim

5459 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim

5460 exec_prefix!$exec_prefix$ac_delim

5461 prefix!$prefix$ac_delim

5462 program_transform_name!$program_transform_name$ac_delim

5463 bindir!$bindir$ac_delim

5464 sbindir!$sbindir$ac_delim

5465 libexecdir!$libexecdir$ac_delim

5466 datarootdir!$datarootdir$ac_delim

5467 datadir!$datadir$ac_delim

5468 sysconfdir!$sysconfdir$ac_delim

5469 sharedstatedir!$sharedstatedir$ac_delim

5470 localstatedir!$localstatedir$ac_delim

5471 includedir!$includedir$ac_delim

5472 oldincludedir!$oldincludedir$ac_delim

5473 docdir!$docdir$ac_delim

5474 infodir!$infodir$ac_delim

5475 htmldir!$htmldir$ac_delim

5476 dvidir!$dvidir$ac_delim

5477 pdfdir!$pdfdir$ac_delim

5478 psdir!$psdir$ac_delim

5479 libdir!$libdir$ac_delim

5480 localedir!$localedir$ac_delim

5481 mandir!$mandir$ac_delim

5482 DEFS!$DEFS$ac_delim

5483 ECHO_C!$ECHO_C$ac_delim

5484 ECHO_N!$ECHO_N$ac_delim

5485 ECHO_T!$ECHO_T$ac_delim

5486 LIBS!$LIBS$ac_delim

5487 build_alias!$build_alias$ac_delim

5488 host_alias!$host_alias$ac_delim

5489 target_alias!$target_alias$ac_delim

5490 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim

5491 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim

5492 INSTALL_DATA!$INSTALL_DATA$ac_delim

5493 CYGPATH_W!$CYGPATH_W$ac_delim

5494 PACKAGE!$PACKAGE$ac_delim

5495 VERSION!$VERSION$ac_delim

5496 ACLOCAL!$ACLOCAL$ac_delim

5497 AUTOCONF!$AUTOCONF$ac_delim

5498 AUTOMAKE!$AUTOMAKE$ac_delim

5499 AUTOHEADER!$AUTOHEADER$ac_delim

5500 MAKEINFO!$MAKEINFO$ac_delim

5501 install_sh!$install_sh$ac_delim

5502 STRIP!$STRIP$ac_delim

5503 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim

5504 mkdir_p!$mkdir_p$ac_delim

5505 AWK!$AWK$ac_delim

5506 SET_MAKE!$SET_MAKE$ac_delim

5507 am__leading_dot!$am__leading_dot$ac_delim

5508 AMTAR!$AMTAR$ac_delim

5509 am__tar!$am__tar$ac_delim

5510 am__untar!$am__untar$ac_delim

5511 CC!$CC$ac_delim

5512 CFLAGS!$CFLAGS$ac_delim

5513 LDFLAGS!$LDFLAGS$ac_delim

5514 CPPFLAGS!$CPPFLAGS$ac_delim

5515 ac_ct_CC!$ac_ct_CC$ac_delim

5516 EXEEXT!$EXEEXT$ac_delim

5517 OBJEXT!$OBJEXT$ac_delim

5518 DEPDIR!$DEPDIR$ac_delim

5519 am__include!$am__include$ac_delim

5520 am__quote!$am__quote$ac_delim

5521 AMDEP_TRUE!$AMDEP_TRUE$ac_delim

5522 AMDEP_FALSE!$AMDEP_FALSE$ac_delim

5523 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim

5524 CCDEPMODE!$CCDEPMODE$ac_delim

5525 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim

5526 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim

5527 XMKMF!$XMKMF$ac_delim

5528 CPP!$CPP$ac_delim

5529 X_CFLAGS!$X_CFLAGS$ac_delim

5530 X_PRE_LIBS!$X_PRE_LIBS$ac_delim

5531 X_LIBS!$X_LIBS$ac_delim

5532 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim

5533 CONFIG_EWMH_TRUE!$CONFIG_EWMH_TRUE$ac_delim

5534 CONFIG_EWMH_FALSE!$CONFIG_EWMH_FALSE$ac_delim

5535 LIBOBJS!$LIBOBJS$ac_delim

5536 LTLIBOBJS!$LTLIBOBJS$ac_delim

5537 _ACEOF

5538

5539 if test `sed -n "s/.*$ac_delim\$/X/p" conf$subs.sed | grep -c X` = 84; then

5540 break

5541 elif $ac_last_try; then

5542 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5

5543 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}

5544 { (exit 1); exit 1; }; }

5545 else

5546 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "

5547 fi

5548 done

5549

5550 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$subs.sed`

5551 if test -n "$ac_eof"; then

5552 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`

5553 ac_eof=`expr $ac_eof + 1`

5554 fi

5555

5556 cat >>$CONFIG_STATUS <<_ACEOF

5557 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof

5558 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end

5559 _ACEOF

5560 sed '

5561 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g

5562 s/^/s,@/; s/!/@,|#_!!_#|/

5563 :n

5564 t n

5565 s/'"$ac_delim"'$/,g/; t

5566 s/$/\\/; p

5567 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n

5568 ' >>$CONFIG_STATUS <conf$subs.sed

5569 rm -f conf$subs.sed

5570 cat >>$CONFIG_STATUS <<_ACEOF

5571 :end

5572 s/|#_!!_#|//g

5573 CEOF$ac_eof

5574 _ACEOF

5575

5576

5577 # VPATH may cause trouble with some makes, so we remove $(srcdir),

5578 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and

5579 # trailing colons and then remove the whole line if VPATH becomes empty

5580 # (actually we leave an empty line to preserve line numbers).

5581 if test "x$srcdir" = x.; then

5582 ac_vpsub='/^[ ]*VPATH[ ]*=/{

5583 s/:*\$(srcdir):*/:/

5584 s/:*\${srcdir}:*/:/

5585 s/:*@srcdir@:*/:/

5586 s/^\([^=]*=[ ]*\):*/\1/

5587 s/:*$//

5588 s/^[^=]*=[ ]*$//

5589 }'

5590 fi

5591

5592 cat >>$CONFIG_STATUS <<\_ACEOF

5593 fi # test -n "$CONFIG_FILES"

5594

5595

5596 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS

5597 do

5598 case $ac_tag in

5599 :[FHLC]) ac_mode=$ac_tag; continue;;

5600 esac

5601 case $ac_mode$ac_tag in

5602 :[FHL]*:*);;

5603 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5

5604 echo "$as_me: error: Invalid tag $ac_tag." >&2;}

5605 { (exit 1); exit 1; }; };;

5606 :[FH]-) ac_tag=-:-;;

5607 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;

5608 esac

5609 ac_save_IFS=$IFS

5610 IFS=:

5611 set x $ac_tag

5612 IFS=$ac_save_IFS

5613 shift

5614 ac_file=$1

5615 shift

5616

5617 case $ac_mode in

5618 :L) ac_source=$1;;

5619 :[FH])

5620 ac_file_inputs=

5621 for ac_f

5622 do

5623 case $ac_f in

5624 -) ac_f="$tmp/stdin";;

5625 *) # Look for the file first in the build tree, then in the source tree

5626 # (if the path is not absolute). The absolute path cannot be DOS-style,

5627 # because $ac_f cannot contain `:'.

5628 test -f "$ac_f" ||

5629 case $ac_f in

5630 [\\/$]*) false;;

5631 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;

5632 esac ||

5633 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5

5634 echo "$as_me: error: cannot find input file: $ac_f" >&2;}

5635 { (exit 1); exit 1; }; };;

5636 esac

5637 ac_file_inputs="$ac_file_inputs $ac_f"

5638 done

5639

5640 # Let's still pretend it is `configure' which instantiates (i.e., don't

5641 # use $as_me), people would be surprised to read:

5642 # /* config.h. Generated by config.status. */

5643 configure_input="Generated from "`IFS=:

5644 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."

5645 if test x"$ac_file" != x-; then

5646 configure_input="$ac_file. $configure_input"

5647 { echo "$as_me:$LINENO: creating $ac_file" >&5

5648 echo "$as_me: creating $ac_file" >&6;}

5649 fi

5650

5651 case $ac_tag in

5652 *:-:* | *:-) cat >"$tmp/stdin";;

5653 esac

5654 ;;

5655 esac

5656

5657 ac_dir=`$as_dirname -- "$ac_file" ||

5658 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/* \| \

5659 X"$ac_file" : 'X\(//\)[^/]' \| \

5660 X"$ac_file" : 'X\(//\) \| \

5661 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||

5662 echo X"$ac_file" |

5663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{

5664 s//\1/

5665 q

5666 }

5667 /^X\(\/\/\)[^/].*/{

5668 s//\1/

5669 q

5670 }

5671 /^X\(\/\/\)$/{

5672 s//\1/

5673 q

5674 }

5675 /^X\(\/\).*/{

5676 s//\1/

5677 q

5678 }

5679 s/.*/./; q'`

5680 { as_dir="$ac_dir"

5681 case $as_dir in #(

5682 -*) as_dir=./$as_dir;;

5683 esac

5684 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {

5685 as_dirs=

5686 while :; do

5687 case $as_dir in #(

5688 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(

5689 *) as_qdir=$as_dir;;

5690 esac

5691 as_dirs="'$as_qdir' $as_dirs"

5692 as_dir=`$as_dirname -- "$as_dir" ||

5693 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/* \| \

5694 X"$as_dir" : 'X\(//\)[^/]' \| \

5695 X"$as_dir" : 'X\(//\) \| \

5696 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||

5697 echo X"$as_dir" |

5698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{

5699 s//\1/

5700 q

5701 }

5702 /^X\(\/\/\)[^/].*/{

5703 s//\1/

5704 q

5705 }

5706 /^X\(\/\/\)$/{

5707 s//\1/

5708 q

5709 }

5710 /^X\(\/\).*/{

5711 s//\1/

5712 q

5713 }

5714 s/.*/./; q'`

5715 test -d "$as_dir" && break

5716 done

5717 test -z "$as_dirs" || eval "mkdir $as_dirs"

5718 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5

5719 echo "$as_me: error: cannot create directory $as_dir" >&2;}

5720 { (exit 1); exit 1; }; }; }

5721 ac_builddir=.

5722

5723 case "$ac_dir" in

5724 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;

5725 *)

5726 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`

5727 # A ".." for each directory in $ac_dir_suffix.

5728 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`

5729 case $ac_top_builddir_sub in

5730 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;

5731 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;

5732 esac ;;

5733 esac

5734 ac_abs_top_builddir=$ac_pwd

5735 ac_abs_builddir=$ac_pwd$ac_dir_suffix

5736 # for backward compatibility:

5737 ac_top_builddir=$ac_top_build_prefix

5738

5739 case $srcdir in

5740 .) # We are building in place.

5741 ac_srcdir=.

5742 ac_top_srcdir=$ac_top_builddir_sub

5743 ac_abs_top_srcdir=$ac_pwd ;;

5744 [\\/]* | ?:[\\/]* ) # Absolute name.

5745 ac_srcdir=$srcdir$ac_dir_suffix;

5746 ac_top_srcdir=$srcdir

5747 ac_abs_top_srcdir=$srcdir ;;

5748 *) # Relative name.

5749 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix

5750 ac_top_srcdir=$ac_top_build_prefix$srcdir

5751 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;

5752 esac

5753 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix

5754

5755

5756 case $ac_mode in

5757 :F)

5758 #

5759 # CONFIG_FILE

5760 #

5761

5762 case $INSTALL in

5763 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;

5764 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;

5765 esac

5766 _ACEOF

5767

5768 cat >>$CONFIG_STATUS <<\_ACEOF

5769 # If the template does not know about datarootdir, expand it.

5770 # FIXME: This hack should be removed a few years after 2.60.

5771 ac_datarootdir_hack=; ac_datarootdir_seen=

5772

5773 case `sed -n '/datarootdir/ {

5774 p

5775 q

5776 }

5777 /@datadir@/p

5778 /@docdir@/p

5779 /@infodir@/p

5780 /@localedir@/p

5781 /@mandir@/p

5782 ' $ac_file_inputs` in

5783 *datarootdir*) ac_datarootdir_seen=yes;;

5784 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)

5785 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5

5786 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}

5787 _ACEOF

5788 cat >>$CONFIG_STATUS <<_ACEOF

5789 ac_datarootdir_hack='

5790 s&@datadir@&$datadir&g

5791 s&@docdir@&$docdir&g

5792 s&@infodir@&$infodir&g

5793 s&@localedir@&$localedir&g

5794 s&@mandir@&$mandir&g

5795 s&\\\${datarootdir}&$datarootdir&g' ;;

5796 esac

5797 _ACEOF

5798

5799 # Neutralize VPATH when `$srcdir' = `.'.

5800 # Shell code in configure.ac might set extrasub.

5801 # FIXME: do we really want to maintain this feature?

5802 cat >>$CONFIG_STATUS <<_ACEOF

5803 sed "$ac_vpsub

5804 $extrasub

5805 _ACEOF

5806 cat >>$CONFIG_STATUS <<\_ACEOF

5807 :t

5808 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b

5809 s&@configure_input@&$configure_input&;t t

5810 s&@top_builddir@&$ac_top_builddir_sub&;t t

5811 s&@srcdir@&$ac_srcdir&;t t

5812 s&@abs_srcdir@&$ac_abs_srcdir&;t t

5813 s&@top_srcdir@&$ac_top_srcdir&;t t

5814 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t

5815 s&@builddir@&$ac_builddir&;t t

5816 s&@abs_builddir@&$ac_abs_builddir&;t t

5817 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t

5818 s&@INSTALL@&$ac_INSTALL&;t t

5819 $ac_datarootdir_hack

5820 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out

5821

5822 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&

5823 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&

5824 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&

5825 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'

5826 which seems to be undefined. Please make sure it is defined." >&5

5827 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'

5828 which seems to be undefined. Please make sure it is defined." >&2;}

5829

5830 rm -f "$tmp/stdin"

5831 case $ac_file in

5832 -) cat "$tmp/out"; rm -f "$tmp/out";;

5833 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;

5834 esac

5835 ;;

5836

5837

5838 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5

5839 echo "$as_me: executing $ac_file commands" >&6;}

5840 ;;

5841 esac

5842

5843

5844 case $ac_file$ac_mode in

5845 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do

5846 # Strip MF so we end up with the name of the file.

5847 mf=`echo "$mf" | sed -e 's/:.*$//'`

5848 # Check whether this is an Automake generated Makefile or not.

5849 # We used to match only the files named `Makefile.in', but

5850 # some people rename them; so instead we look at the file content.

5851 # Grep'ing the first line is not enough: some people post-process

5852 # each Makefile.in and add a new line on top of each file to say so.

5853 # So let's grep whole file.

5854 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then

5855 dirpart=`$as_dirname -- "$mf" ||

5856 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/* \| \

5857 X"$mf" : 'X\(//\)[^/]' \| \

5858 X"$mf" : 'X\(//\) \| \

5859 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||

5860 echo X"$mf" |

5861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{

5862 s//\1/

5863 q

5864 }

5865 /^X\(\/\/\)[^/].*/{

5866 s//\1/

5867 q

5868 }

5869 /^X\(\/\/\)$/{

5870 s//\1/

5871 q

5872 }

5873 /^X\(\/\).*/{

5874 s//\1/

5875 q

5876 }

5877 s/.*/./; q'`

5878 else

5879 continue

5880 fi

5881 # Extract the definition of DEPDIR, am__include, and am__quote

5882 # from the Makefile without running `make'.

5883 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`

5884 test -z "$DEPDIR" && continue

5885 am__include=`sed -n 's/^am__include = //p' < "$mf"`

5886 test -z "am__include" && continue

5887 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`

5888 # When using ansi2knr, U may be empty or an underscore; expand it

5889 U=`sed -n 's/^U = //p' < "$mf"`

5890 # Find all dependency output files, they are included files with

5891 # $(DEPDIR) in their names. We invoke sed twice because it is the

5892 # simplest approach to changing $(DEPDIR) to its actual value in the

5893 # expansion.

5894 for file in `sed -n "

5895 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \

5896 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do

5897 # Make sure the directory exists.

5898 test -f "$dirpart/$file" && continue

5899 fdir=`$as_dirname -- "$file" ||

5900 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/* \| \

5901 X"$file" : 'X\(//\)[^/]' \| \

5902 X"$file" : 'X\(//\) \| \

5903 X"$file" : 'X\(/\)' \| . 2>/dev/null ||

5904 echo X"$file" |

5905 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{

5906 s//\1/

5907 q

5908 }

5909 /^X\(\/\/\)[^/].*/{

5910 s//\1/

5911 q

5912 }

5913 /^X\(\/\/\)$/{

5914 s//\1/

5915 q

5916 }

5917 /^X\(\/\).*/{

5918 s//\1/

5919 q

5920 }

5921 s/.*/./; q'`

5922 { as_dir=$dirpart/$fdir

5923 case $as_dir in #(

5924 -*) as_dir=./$as_dir;;

5925 esac

5926 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {

5927 as_dirs=

5928 while :; do

5929 case $as_dir in #(

5930 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(

5931 *) as_qdir=$as_dir;;

5932 esac

5933 as_dirs="'$as_qdir' $as_dirs"

5934 as_dir=`$as_dirname -- "$as_dir" ||

5935 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/* \| \

5936 X"$as_dir" : 'X\(//\)[^/]' \| \

5937 X"$as_dir" : 'X\(//\) \| \

5938 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||

5939 echo X"$as_dir" |

5940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{

5941 s//\1/

5942 q

5943 }

5944 /^X\(\/\/\)[^/].*/{

5945 s//\1/

5946 q

5947 }

5948 /^X\(\/\/\)$/{

5949 s//\1/

5950 q

5951 }

5952 /^X\(\/\).*/{

5953 s//\1/

5954 q

5955 }

5956 s/.*/./; q'`

5957 test -d "$as_dir" && break

5958 done

5959 test -z "$as_dirs" || eval "mkdir $as_dirs"

5960 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5

5961 echo "$as_me: error: cannot create directory $as_dir" >&2;}

5962 { (exit 1); exit 1; }; }; }

5963 # echo "creating $dirpart/$file"

5964 echo '# dummy' > "$dirpart/$file"

5965 done

5966 done

5967 ;;

5968

5969 esac

5970 done # for ac_tag

5971

5972

5973 { (exit 0); exit 0; }

5974 _ACEOF

5975 chmod +x $CONFIG_STATUS

5976 ac_clean_files=$ac_clean_files_save

5977

5978

5979 # configure is writing to config.log, and then calls config.status.

5980 # config.status does its own redirection, appending to config.log.

5981 # Unfortunately, on DOS this fails, as config.log is still kept open

5982 # by configure, so config.status won't be able to write to it; its

5983 # output is simply discarded. So we exec the FD to /dev/null,

5984 # effectively closing config.log, so it can be properly (re)opened and

5985 # appended to by config.status. When coming back to configure, we

5986 # need to make the FD available again.

5987 if test "$no_create" != yes; then

5988 ac_cs_success=:

5989 ac_config_status_args=

5990 test "$silent" = yes &&

5991 ac_config_status_args="$ac_config_status_args --quiet"

5992 exec 5>/dev/null

5993 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false

5994 exec 5>>config.log

5995 # Use ||, not &&, to avoid exiting from the if with $? = 1, which

5996 # would make configure fail if this is the last instruction.

5997 $ac_cs_success || { (exit 1); exit 1; }

5998 fi

5999

6000