Mercurial > hg > xemacs-beta
comparison configure @ 1427:5d62849e7275
[xemacs-hg @ 2003-04-24 05:26:40 by youngs]
2003-04-24 Steve Youngs <youngs@xemacs.org>
* configure.in: Fix for building on openbsd.
From Gregory Steuck <greg@nest.cx>
* configure: Regenerate
author | youngs |
---|---|
date | Thu, 24 Apr 2003 05:26:42 +0000 |
parents | cb7e08ff87e8 |
children | 4f98e7b44323 |
comparison
equal
deleted
inserted
replaced
1426:d5077d949761 | 1427:5d62849e7275 |
---|---|
4197 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4197 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4198 echo "configure:4199: checking for socklen_t" >&5 | 4198 echo "configure:4199: checking for socklen_t" >&5 |
4199 cat > conftest.$ac_ext <<EOF | 4199 cat > conftest.$ac_ext <<EOF |
4200 #line 4201 "configure" | 4200 #line 4201 "configure" |
4201 #include "confdefs.h" | 4201 #include "confdefs.h" |
4202 #include <sys/types.h> | |
4202 #include <sys/socket.h> | 4203 #include <sys/socket.h> |
4203 socklen_t x; | 4204 socklen_t x; |
4204 | 4205 |
4205 int main() { | 4206 int main() { |
4206 | 4207 |
4207 ; return 0; } | 4208 ; return 0; } |
4208 EOF | 4209 EOF |
4209 if { (eval echo configure:4210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4210 if { (eval echo configure:4211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4210 rm -rf conftest* | 4211 rm -rf conftest* |
4211 echo "$ac_t""yes" 1>&6 | 4212 echo "$ac_t""yes" 1>&6 |
4212 else | 4213 else |
4213 echo "configure: failed program was:" >&5 | 4214 echo "configure: failed program was:" >&5 |
4214 cat conftest.$ac_ext >&5 | 4215 cat conftest.$ac_ext >&5 |
4215 rm -rf conftest* | 4216 rm -rf conftest* |
4216 | 4217 |
4217 cat > conftest.$ac_ext <<EOF | 4218 cat > conftest.$ac_ext <<EOF |
4218 #line 4219 "configure" | 4219 #line 4220 "configure" |
4219 #include "confdefs.h" | 4220 #include "confdefs.h" |
4221 #include <sys/types.h> | |
4220 #include <sys/socket.h> | 4222 #include <sys/socket.h> |
4221 int accept (int, struct sockaddr *, size_t *); | 4223 int accept (int, struct sockaddr *, size_t *); |
4222 | 4224 |
4223 int main() { | 4225 int main() { |
4224 | 4226 |
4225 ; return 0; } | 4227 ; return 0; } |
4226 EOF | 4228 EOF |
4227 if { (eval echo configure:4228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4229 if { (eval echo configure:4230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4228 rm -rf conftest* | 4230 rm -rf conftest* |
4229 | 4231 |
4230 echo "$ac_t""size_t" 1>&6 | 4232 echo "$ac_t""size_t" 1>&6 |
4231 { test "$extra_verbose" = "yes" && cat << \EOF | 4233 { test "$extra_verbose" = "yes" && cat << \EOF |
4232 Defining socklen_t = size_t | 4234 Defining socklen_t = size_t |
4254 rm -f conftest* | 4256 rm -f conftest* |
4255 fi | 4257 fi |
4256 rm -f conftest* | 4258 rm -f conftest* |
4257 | 4259 |
4258 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4260 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4259 echo "configure:4260: checking for struct timeval" >&5 | 4261 echo "configure:4262: checking for struct timeval" >&5 |
4260 cat > conftest.$ac_ext <<EOF | 4262 cat > conftest.$ac_ext <<EOF |
4261 #line 4262 "configure" | 4263 #line 4264 "configure" |
4262 #include "confdefs.h" | 4264 #include "confdefs.h" |
4263 #ifdef TIME_WITH_SYS_TIME | 4265 #ifdef TIME_WITH_SYS_TIME |
4264 #include <sys/time.h> | 4266 #include <sys/time.h> |
4265 #include <time.h> | 4267 #include <time.h> |
4266 #else | 4268 #else |
4272 #endif | 4274 #endif |
4273 int main() { | 4275 int main() { |
4274 static struct timeval x; x.tv_sec = x.tv_usec; | 4276 static struct timeval x; x.tv_sec = x.tv_usec; |
4275 ; return 0; } | 4277 ; return 0; } |
4276 EOF | 4278 EOF |
4277 if { (eval echo configure:4278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4279 if { (eval echo configure:4280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4278 rm -rf conftest* | 4280 rm -rf conftest* |
4279 echo "$ac_t""yes" 1>&6 | 4281 echo "$ac_t""yes" 1>&6 |
4280 HAVE_TIMEVAL=yes | 4282 HAVE_TIMEVAL=yes |
4281 { test "$extra_verbose" = "yes" && cat << \EOF | 4283 { test "$extra_verbose" = "yes" && cat << \EOF |
4282 Defining HAVE_TIMEVAL | 4284 Defining HAVE_TIMEVAL |
4294 HAVE_TIMEVAL=no | 4296 HAVE_TIMEVAL=no |
4295 fi | 4297 fi |
4296 rm -f conftest* | 4298 rm -f conftest* |
4297 | 4299 |
4298 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4300 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4299 echo "configure:4300: checking whether struct tm is in sys/time.h or time.h" >&5 | 4301 echo "configure:4302: checking whether struct tm is in sys/time.h or time.h" >&5 |
4300 | 4302 |
4301 cat > conftest.$ac_ext <<EOF | 4303 cat > conftest.$ac_ext <<EOF |
4302 #line 4303 "configure" | 4304 #line 4305 "configure" |
4303 #include "confdefs.h" | 4305 #include "confdefs.h" |
4304 #include <sys/types.h> | 4306 #include <sys/types.h> |
4305 #include <time.h> | 4307 #include <time.h> |
4306 int main() { | 4308 int main() { |
4307 struct tm *tp; tp->tm_sec; | 4309 struct tm *tp; tp->tm_sec; |
4308 ; return 0; } | 4310 ; return 0; } |
4309 EOF | 4311 EOF |
4310 if { (eval echo configure:4311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4312 if { (eval echo configure:4313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4311 rm -rf conftest* | 4313 rm -rf conftest* |
4312 ac_cv_struct_tm=time.h | 4314 ac_cv_struct_tm=time.h |
4313 else | 4315 else |
4314 echo "configure: failed program was:" >&5 | 4316 echo "configure: failed program was:" >&5 |
4315 cat conftest.$ac_ext >&5 | 4317 cat conftest.$ac_ext >&5 |
4329 } | 4331 } |
4330 | 4332 |
4331 fi | 4333 fi |
4332 | 4334 |
4333 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4335 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4334 echo "configure:4335: checking for tm_zone in struct tm" >&5 | 4336 echo "configure:4337: checking for tm_zone in struct tm" >&5 |
4335 | 4337 |
4336 cat > conftest.$ac_ext <<EOF | 4338 cat > conftest.$ac_ext <<EOF |
4337 #line 4338 "configure" | 4339 #line 4340 "configure" |
4338 #include "confdefs.h" | 4340 #include "confdefs.h" |
4339 #include <sys/types.h> | 4341 #include <sys/types.h> |
4340 #include <$ac_cv_struct_tm> | 4342 #include <$ac_cv_struct_tm> |
4341 int main() { | 4343 int main() { |
4342 struct tm tm; tm.tm_zone; | 4344 struct tm tm; tm.tm_zone; |
4343 ; return 0; } | 4345 ; return 0; } |
4344 EOF | 4346 EOF |
4345 if { (eval echo configure:4346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4347 if { (eval echo configure:4348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4346 rm -rf conftest* | 4348 rm -rf conftest* |
4347 ac_cv_struct_tm_zone=yes | 4349 ac_cv_struct_tm_zone=yes |
4348 else | 4350 else |
4349 echo "configure: failed program was:" >&5 | 4351 echo "configure: failed program was:" >&5 |
4350 cat conftest.$ac_ext >&5 | 4352 cat conftest.$ac_ext >&5 |
4363 EOF | 4365 EOF |
4364 } | 4366 } |
4365 | 4367 |
4366 else | 4368 else |
4367 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4369 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4368 echo "configure:4369: checking for tzname" >&5 | 4370 echo "configure:4371: checking for tzname" >&5 |
4369 | 4371 |
4370 cat > conftest.$ac_ext <<EOF | 4372 cat > conftest.$ac_ext <<EOF |
4371 #line 4372 "configure" | 4373 #line 4374 "configure" |
4372 #include "confdefs.h" | 4374 #include "confdefs.h" |
4373 #include <time.h> | 4375 #include <time.h> |
4374 #ifndef tzname /* For SGI. */ | 4376 #ifndef tzname /* For SGI. */ |
4375 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4377 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4376 #endif | 4378 #endif |
4377 int main() { | 4379 int main() { |
4378 atoi(*tzname); | 4380 atoi(*tzname); |
4379 ; return 0; } | 4381 ; return 0; } |
4380 EOF | 4382 EOF |
4381 if { (eval echo configure:4382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4383 if { (eval echo configure:4384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4382 rm -rf conftest* | 4384 rm -rf conftest* |
4383 ac_cv_var_tzname=yes | 4385 ac_cv_var_tzname=yes |
4384 else | 4386 else |
4385 echo "configure: failed program was:" >&5 | 4387 echo "configure: failed program was:" >&5 |
4386 cat conftest.$ac_ext >&5 | 4388 cat conftest.$ac_ext >&5 |
4402 fi | 4404 fi |
4403 fi | 4405 fi |
4404 | 4406 |
4405 | 4407 |
4406 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4408 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4407 echo "configure:4408: checking for working const" >&5 | 4409 echo "configure:4410: checking for working const" >&5 |
4408 | 4410 |
4409 cat > conftest.$ac_ext <<EOF | 4411 cat > conftest.$ac_ext <<EOF |
4410 #line 4411 "configure" | 4412 #line 4413 "configure" |
4411 #include "confdefs.h" | 4413 #include "confdefs.h" |
4412 | 4414 |
4413 int main() { | 4415 int main() { |
4414 | 4416 |
4415 /* Ultrix mips cc rejects this. */ | 4417 /* Ultrix mips cc rejects this. */ |
4454 const int foo = 10; | 4456 const int foo = 10; |
4455 } | 4457 } |
4456 | 4458 |
4457 ; return 0; } | 4459 ; return 0; } |
4458 EOF | 4460 EOF |
4459 if { (eval echo configure:4460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4461 if { (eval echo configure:4462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4460 rm -rf conftest* | 4462 rm -rf conftest* |
4461 ac_cv_c_const=yes | 4463 ac_cv_c_const=yes |
4462 else | 4464 else |
4463 echo "configure: failed program was:" >&5 | 4465 echo "configure: failed program was:" >&5 |
4464 cat conftest.$ac_ext >&5 | 4466 cat conftest.$ac_ext >&5 |
4479 | 4481 |
4480 fi | 4482 fi |
4481 | 4483 |
4482 | 4484 |
4483 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4485 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4484 echo "configure:4485: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4486 echo "configure:4487: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4485 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4487 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4486 | 4488 |
4487 cat > conftestmake <<\EOF | 4489 cat > conftestmake <<\EOF |
4488 all: | 4490 all: |
4489 @echo 'ac_maketemp="${MAKE}"' | 4491 @echo 'ac_maketemp="${MAKE}"' |
4504 SET_MAKE="MAKE=${MAKE-make}" | 4506 SET_MAKE="MAKE=${MAKE-make}" |
4505 fi | 4507 fi |
4506 | 4508 |
4507 | 4509 |
4508 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4510 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4509 echo "configure:4510: checking whether byte ordering is bigendian" >&5 | 4511 echo "configure:4512: checking whether byte ordering is bigendian" >&5 |
4510 | 4512 |
4511 ac_cv_c_bigendian=unknown | 4513 ac_cv_c_bigendian=unknown |
4512 # See if sys/param.h defines the BYTE_ORDER macro. | 4514 # See if sys/param.h defines the BYTE_ORDER macro. |
4513 cat > conftest.$ac_ext <<EOF | 4515 cat > conftest.$ac_ext <<EOF |
4514 #line 4515 "configure" | 4516 #line 4517 "configure" |
4515 #include "confdefs.h" | 4517 #include "confdefs.h" |
4516 #include <sys/types.h> | 4518 #include <sys/types.h> |
4517 #include <sys/param.h> | 4519 #include <sys/param.h> |
4518 int main() { | 4520 int main() { |
4519 | 4521 |
4520 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4522 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4521 bogus endian macros | 4523 bogus endian macros |
4522 #endif | 4524 #endif |
4523 ; return 0; } | 4525 ; return 0; } |
4524 EOF | 4526 EOF |
4525 if { (eval echo configure:4526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4527 if { (eval echo configure:4528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4526 rm -rf conftest* | 4528 rm -rf conftest* |
4527 # It does; now see whether it defined to BIG_ENDIAN or not. | 4529 # It does; now see whether it defined to BIG_ENDIAN or not. |
4528 cat > conftest.$ac_ext <<EOF | 4530 cat > conftest.$ac_ext <<EOF |
4529 #line 4530 "configure" | 4531 #line 4532 "configure" |
4530 #include "confdefs.h" | 4532 #include "confdefs.h" |
4531 #include <sys/types.h> | 4533 #include <sys/types.h> |
4532 #include <sys/param.h> | 4534 #include <sys/param.h> |
4533 int main() { | 4535 int main() { |
4534 | 4536 |
4535 #if BYTE_ORDER != BIG_ENDIAN | 4537 #if BYTE_ORDER != BIG_ENDIAN |
4536 not big endian | 4538 not big endian |
4537 #endif | 4539 #endif |
4538 ; return 0; } | 4540 ; return 0; } |
4539 EOF | 4541 EOF |
4540 if { (eval echo configure:4541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4542 if { (eval echo configure:4543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4541 rm -rf conftest* | 4543 rm -rf conftest* |
4542 ac_cv_c_bigendian=yes | 4544 ac_cv_c_bigendian=yes |
4543 else | 4545 else |
4544 echo "configure: failed program was:" >&5 | 4546 echo "configure: failed program was:" >&5 |
4545 cat conftest.$ac_ext >&5 | 4547 cat conftest.$ac_ext >&5 |
4552 cat conftest.$ac_ext >&5 | 4554 cat conftest.$ac_ext >&5 |
4553 fi | 4555 fi |
4554 rm -f conftest* | 4556 rm -f conftest* |
4555 if test $ac_cv_c_bigendian = unknown; then | 4557 if test $ac_cv_c_bigendian = unknown; then |
4556 cat > conftest.$ac_ext <<EOF | 4558 cat > conftest.$ac_ext <<EOF |
4557 #line 4558 "configure" | 4559 #line 4560 "configure" |
4558 #include "confdefs.h" | 4560 #include "confdefs.h" |
4559 main () { | 4561 main () { |
4560 /* Are we little or big endian? From Harbison&Steele. */ | 4562 /* Are we little or big endian? From Harbison&Steele. */ |
4561 union | 4563 union |
4562 { | 4564 { |
4565 } u; | 4567 } u; |
4566 u.l = 1; | 4568 u.l = 1; |
4567 exit (u.c[sizeof (long) - 1] == 1); | 4569 exit (u.c[sizeof (long) - 1] == 1); |
4568 } | 4570 } |
4569 EOF | 4571 EOF |
4570 if { (eval echo configure:4571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4572 if { (eval echo configure:4573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4571 then | 4573 then |
4572 ac_cv_c_bigendian=no | 4574 ac_cv_c_bigendian=no |
4573 else | 4575 else |
4574 conftest_rc="$?" | 4576 conftest_rc="$?" |
4575 echo "configure: failed program was:" >&5 | 4577 echo "configure: failed program was:" >&5 |
4592 | 4594 |
4593 fi | 4595 fi |
4594 | 4596 |
4595 | 4597 |
4596 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4598 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4597 echo "configure:4598: checking size of short" >&5 | 4599 echo "configure:4600: checking size of short" >&5 |
4598 | 4600 |
4599 cat > conftest.$ac_ext <<EOF | 4601 cat > conftest.$ac_ext <<EOF |
4600 #line 4601 "configure" | 4602 #line 4603 "configure" |
4601 #include "confdefs.h" | 4603 #include "confdefs.h" |
4602 #include <stdio.h> | 4604 #include <stdio.h> |
4603 main() | 4605 main() |
4604 { | 4606 { |
4605 FILE *f=fopen("conftestval", "w"); | 4607 FILE *f=fopen("conftestval", "w"); |
4606 if (!f) exit(1); | 4608 if (!f) exit(1); |
4607 fprintf(f, "%d\n", sizeof(short)); | 4609 fprintf(f, "%d\n", sizeof(short)); |
4608 exit(0); | 4610 exit(0); |
4609 } | 4611 } |
4610 EOF | 4612 EOF |
4611 if { (eval echo configure:4612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4613 if { (eval echo configure:4614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4612 then | 4614 then |
4613 ac_cv_sizeof_short=`cat conftestval` | 4615 ac_cv_sizeof_short=`cat conftestval` |
4614 else | 4616 else |
4615 conftest_rc="$?" | 4617 conftest_rc="$?" |
4616 echo "configure: failed program was:" >&5 | 4618 echo "configure: failed program was:" >&5 |
4634 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4636 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4635 echo "*** PANIC *** Please examine config.log for compilation errors." | 4637 echo "*** PANIC *** Please examine config.log for compilation errors." |
4636 exit 1 | 4638 exit 1 |
4637 fi | 4639 fi |
4638 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4640 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4639 echo "configure:4640: checking size of int" >&5 | 4641 echo "configure:4642: checking size of int" >&5 |
4640 | 4642 |
4641 cat > conftest.$ac_ext <<EOF | 4643 cat > conftest.$ac_ext <<EOF |
4642 #line 4643 "configure" | 4644 #line 4645 "configure" |
4643 #include "confdefs.h" | 4645 #include "confdefs.h" |
4644 #include <stdio.h> | 4646 #include <stdio.h> |
4645 main() | 4647 main() |
4646 { | 4648 { |
4647 FILE *f=fopen("conftestval", "w"); | 4649 FILE *f=fopen("conftestval", "w"); |
4648 if (!f) exit(1); | 4650 if (!f) exit(1); |
4649 fprintf(f, "%d\n", sizeof(int)); | 4651 fprintf(f, "%d\n", sizeof(int)); |
4650 exit(0); | 4652 exit(0); |
4651 } | 4653 } |
4652 EOF | 4654 EOF |
4653 if { (eval echo configure:4654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4655 if { (eval echo configure:4656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4654 then | 4656 then |
4655 ac_cv_sizeof_int=`cat conftestval` | 4657 ac_cv_sizeof_int=`cat conftestval` |
4656 else | 4658 else |
4657 conftest_rc="$?" | 4659 conftest_rc="$?" |
4658 echo "configure: failed program was:" >&5 | 4660 echo "configure: failed program was:" >&5 |
4670 EOF | 4672 EOF |
4671 } | 4673 } |
4672 | 4674 |
4673 | 4675 |
4674 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4676 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4675 echo "configure:4676: checking size of long" >&5 | 4677 echo "configure:4678: checking size of long" >&5 |
4676 | 4678 |
4677 cat > conftest.$ac_ext <<EOF | 4679 cat > conftest.$ac_ext <<EOF |
4678 #line 4679 "configure" | 4680 #line 4681 "configure" |
4679 #include "confdefs.h" | 4681 #include "confdefs.h" |
4680 #include <stdio.h> | 4682 #include <stdio.h> |
4681 main() | 4683 main() |
4682 { | 4684 { |
4683 FILE *f=fopen("conftestval", "w"); | 4685 FILE *f=fopen("conftestval", "w"); |
4684 if (!f) exit(1); | 4686 if (!f) exit(1); |
4685 fprintf(f, "%d\n", sizeof(long)); | 4687 fprintf(f, "%d\n", sizeof(long)); |
4686 exit(0); | 4688 exit(0); |
4687 } | 4689 } |
4688 EOF | 4690 EOF |
4689 if { (eval echo configure:4690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4691 if { (eval echo configure:4692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4690 then | 4692 then |
4691 ac_cv_sizeof_long=`cat conftestval` | 4693 ac_cv_sizeof_long=`cat conftestval` |
4692 else | 4694 else |
4693 conftest_rc="$?" | 4695 conftest_rc="$?" |
4694 echo "configure: failed program was:" >&5 | 4696 echo "configure: failed program was:" >&5 |
4706 EOF | 4708 EOF |
4707 } | 4709 } |
4708 | 4710 |
4709 | 4711 |
4710 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4712 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4711 echo "configure:4712: checking size of long long" >&5 | 4713 echo "configure:4714: checking size of long long" >&5 |
4712 | 4714 |
4713 cat > conftest.$ac_ext <<EOF | 4715 cat > conftest.$ac_ext <<EOF |
4714 #line 4715 "configure" | 4716 #line 4717 "configure" |
4715 #include "confdefs.h" | 4717 #include "confdefs.h" |
4716 #include <stdio.h> | 4718 #include <stdio.h> |
4717 main() | 4719 main() |
4718 { | 4720 { |
4719 FILE *f=fopen("conftestval", "w"); | 4721 FILE *f=fopen("conftestval", "w"); |
4720 if (!f) exit(1); | 4722 if (!f) exit(1); |
4721 fprintf(f, "%d\n", sizeof(long long)); | 4723 fprintf(f, "%d\n", sizeof(long long)); |
4722 exit(0); | 4724 exit(0); |
4723 } | 4725 } |
4724 EOF | 4726 EOF |
4725 if { (eval echo configure:4726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4727 if { (eval echo configure:4728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4726 then | 4728 then |
4727 ac_cv_sizeof_long_long=`cat conftestval` | 4729 ac_cv_sizeof_long_long=`cat conftestval` |
4728 else | 4730 else |
4729 conftest_rc="$?" | 4731 conftest_rc="$?" |
4730 echo "configure: failed program was:" >&5 | 4732 echo "configure: failed program was:" >&5 |
4742 EOF | 4744 EOF |
4743 } | 4745 } |
4744 | 4746 |
4745 | 4747 |
4746 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4748 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4747 echo "configure:4748: checking size of void *" >&5 | 4749 echo "configure:4750: checking size of void *" >&5 |
4748 | 4750 |
4749 cat > conftest.$ac_ext <<EOF | 4751 cat > conftest.$ac_ext <<EOF |
4750 #line 4751 "configure" | 4752 #line 4753 "configure" |
4751 #include "confdefs.h" | 4753 #include "confdefs.h" |
4752 #include <stdio.h> | 4754 #include <stdio.h> |
4753 main() | 4755 main() |
4754 { | 4756 { |
4755 FILE *f=fopen("conftestval", "w"); | 4757 FILE *f=fopen("conftestval", "w"); |
4756 if (!f) exit(1); | 4758 if (!f) exit(1); |
4757 fprintf(f, "%d\n", sizeof(void *)); | 4759 fprintf(f, "%d\n", sizeof(void *)); |
4758 exit(0); | 4760 exit(0); |
4759 } | 4761 } |
4760 EOF | 4762 EOF |
4761 if { (eval echo configure:4762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4763 if { (eval echo configure:4764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4762 then | 4764 then |
4763 ac_cv_sizeof_void_p=`cat conftestval` | 4765 ac_cv_sizeof_void_p=`cat conftestval` |
4764 else | 4766 else |
4765 conftest_rc="$?" | 4767 conftest_rc="$?" |
4766 echo "configure: failed program was:" >&5 | 4768 echo "configure: failed program was:" >&5 |
4779 } | 4781 } |
4780 | 4782 |
4781 | 4783 |
4782 | 4784 |
4783 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4785 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4784 echo "configure:4785: checking for long file names" >&5 | 4786 echo "configure:4787: checking for long file names" >&5 |
4785 | 4787 |
4786 ac_cv_sys_long_file_names=yes | 4788 ac_cv_sys_long_file_names=yes |
4787 # Test for long file names in all the places we know might matter: | 4789 # Test for long file names in all the places we know might matter: |
4788 # . the current directory, where building will happen | 4790 # . the current directory, where building will happen |
4789 # $prefix/lib where we will be installing things | 4791 # $prefix/lib where we will be installing things |
4825 | 4827 |
4826 fi | 4828 fi |
4827 | 4829 |
4828 | 4830 |
4829 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4831 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4830 echo "configure:4831: checking for sin" >&5 | 4832 echo "configure:4833: checking for sin" >&5 |
4831 | 4833 |
4832 cat > conftest.$ac_ext <<EOF | 4834 cat > conftest.$ac_ext <<EOF |
4833 #line 4834 "configure" | 4835 #line 4836 "configure" |
4834 #include "confdefs.h" | 4836 #include "confdefs.h" |
4835 /* System header to define __stub macros and hopefully few prototypes, | 4837 /* System header to define __stub macros and hopefully few prototypes, |
4836 which can conflict with char sin(); below. */ | 4838 which can conflict with char sin(); below. */ |
4837 #include <assert.h> | 4839 #include <assert.h> |
4838 /* Override any gcc2 internal prototype to avoid an error. */ | 4840 /* Override any gcc2 internal prototype to avoid an error. */ |
4851 sin(); | 4853 sin(); |
4852 #endif | 4854 #endif |
4853 | 4855 |
4854 ; return 0; } | 4856 ; return 0; } |
4855 EOF | 4857 EOF |
4856 if { (eval echo configure:4857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4858 if { (eval echo configure:4859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4857 rm -rf conftest* | 4859 rm -rf conftest* |
4858 eval "ac_cv_func_sin=yes" | 4860 eval "ac_cv_func_sin=yes" |
4859 else | 4861 else |
4860 echo "configure: failed program was:" >&5 | 4862 echo "configure: failed program was:" >&5 |
4861 cat conftest.$ac_ext >&5 | 4863 cat conftest.$ac_ext >&5 |
4869 : | 4871 : |
4870 else | 4872 else |
4871 echo "$ac_t""no" 1>&6 | 4873 echo "$ac_t""no" 1>&6 |
4872 | 4874 |
4873 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4875 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4874 echo "configure:4875: checking for sin in -lm" >&5 | 4876 echo "configure:4877: checking for sin in -lm" >&5 |
4875 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4877 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4876 | 4878 |
4877 xe_check_libs=" -lm " | 4879 xe_check_libs=" -lm " |
4878 cat > conftest.$ac_ext <<EOF | 4880 cat > conftest.$ac_ext <<EOF |
4879 #line 4880 "configure" | 4881 #line 4882 "configure" |
4880 #include "confdefs.h" | 4882 #include "confdefs.h" |
4881 /* Override any gcc2 internal prototype to avoid an error. */ | 4883 /* Override any gcc2 internal prototype to avoid an error. */ |
4882 /* We use char because int might match the return type of a gcc2 | 4884 /* We use char because int might match the return type of a gcc2 |
4883 builtin and then its argument prototype would still apply. */ | 4885 builtin and then its argument prototype would still apply. */ |
4884 char sin(); | 4886 char sin(); |
4885 | 4887 |
4886 int main() { | 4888 int main() { |
4887 sin() | 4889 sin() |
4888 ; return 0; } | 4890 ; return 0; } |
4889 EOF | 4891 EOF |
4890 if { (eval echo configure:4891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4892 if { (eval echo configure:4893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4891 rm -rf conftest* | 4893 rm -rf conftest* |
4892 eval "ac_cv_lib_$ac_lib_var=yes" | 4894 eval "ac_cv_lib_$ac_lib_var=yes" |
4893 else | 4895 else |
4894 echo "configure: failed program was:" >&5 | 4896 echo "configure: failed program was:" >&5 |
4895 cat conftest.$ac_ext >&5 | 4897 cat conftest.$ac_ext >&5 |
4920 | 4922 |
4921 fi | 4923 fi |
4922 | 4924 |
4923 | 4925 |
4924 cat > conftest.$ac_ext <<EOF | 4926 cat > conftest.$ac_ext <<EOF |
4925 #line 4926 "configure" | 4927 #line 4928 "configure" |
4926 #include "confdefs.h" | 4928 #include "confdefs.h" |
4927 #include <math.h> | 4929 #include <math.h> |
4928 int main() { | 4930 int main() { |
4929 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4931 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4930 ; return 0; } | 4932 ; return 0; } |
4931 EOF | 4933 EOF |
4932 if { (eval echo configure:4933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4934 if { (eval echo configure:4935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4933 rm -rf conftest* | 4935 rm -rf conftest* |
4934 { test "$extra_verbose" = "yes" && cat << \EOF | 4936 { test "$extra_verbose" = "yes" && cat << \EOF |
4935 Defining HAVE_INVERSE_HYPERBOLIC | 4937 Defining HAVE_INVERSE_HYPERBOLIC |
4936 EOF | 4938 EOF |
4937 cat >> confdefs.h <<\EOF | 4939 cat >> confdefs.h <<\EOF |
4946 rm -f conftest* | 4948 rm -f conftest* |
4947 | 4949 |
4948 for ac_func in mkstemp | 4950 for ac_func in mkstemp |
4949 do | 4951 do |
4950 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4952 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4951 echo "configure:4952: checking for $ac_func" >&5 | 4953 echo "configure:4954: checking for $ac_func" >&5 |
4952 | 4954 |
4953 cat > conftest.$ac_ext <<EOF | 4955 cat > conftest.$ac_ext <<EOF |
4954 #line 4955 "configure" | 4956 #line 4957 "configure" |
4955 #include "confdefs.h" | 4957 #include "confdefs.h" |
4956 /* System header to define __stub macros and hopefully few prototypes, | 4958 /* System header to define __stub macros and hopefully few prototypes, |
4957 which can conflict with char $ac_func(); below. */ | 4959 which can conflict with char $ac_func(); below. */ |
4958 #include <assert.h> | 4960 #include <assert.h> |
4959 /* Override any gcc2 internal prototype to avoid an error. */ | 4961 /* Override any gcc2 internal prototype to avoid an error. */ |
4972 $ac_func(); | 4974 $ac_func(); |
4973 #endif | 4975 #endif |
4974 | 4976 |
4975 ; return 0; } | 4977 ; return 0; } |
4976 EOF | 4978 EOF |
4977 if { (eval echo configure:4978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4979 if { (eval echo configure:4980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4978 rm -rf conftest* | 4980 rm -rf conftest* |
4979 eval "ac_cv_func_$ac_func=yes" | 4981 eval "ac_cv_func_$ac_func=yes" |
4980 else | 4982 else |
4981 echo "configure: failed program was:" >&5 | 4983 echo "configure: failed program was:" >&5 |
4982 cat conftest.$ac_ext >&5 | 4984 cat conftest.$ac_ext >&5 |
5001 fi | 5003 fi |
5002 done | 5004 done |
5003 | 5005 |
5004 | 5006 |
5005 echo "checking type of mail spool file locking" 1>&6 | 5007 echo "checking type of mail spool file locking" 1>&6 |
5006 echo "configure:5007: checking type of mail spool file locking" >&5 | 5008 echo "configure:5009: checking type of mail spool file locking" >&5 |
5007 for ac_func in lockf flock | 5009 for ac_func in lockf flock |
5008 do | 5010 do |
5009 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5011 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5010 echo "configure:5011: checking for $ac_func" >&5 | 5012 echo "configure:5013: checking for $ac_func" >&5 |
5011 | 5013 |
5012 cat > conftest.$ac_ext <<EOF | 5014 cat > conftest.$ac_ext <<EOF |
5013 #line 5014 "configure" | 5015 #line 5016 "configure" |
5014 #include "confdefs.h" | 5016 #include "confdefs.h" |
5015 /* System header to define __stub macros and hopefully few prototypes, | 5017 /* System header to define __stub macros and hopefully few prototypes, |
5016 which can conflict with char $ac_func(); below. */ | 5018 which can conflict with char $ac_func(); below. */ |
5017 #include <assert.h> | 5019 #include <assert.h> |
5018 /* Override any gcc2 internal prototype to avoid an error. */ | 5020 /* Override any gcc2 internal prototype to avoid an error. */ |
5031 $ac_func(); | 5033 $ac_func(); |
5032 #endif | 5034 #endif |
5033 | 5035 |
5034 ; return 0; } | 5036 ; return 0; } |
5035 EOF | 5037 EOF |
5036 if { (eval echo configure:5037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5038 if { (eval echo configure:5039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5037 rm -rf conftest* | 5039 rm -rf conftest* |
5038 eval "ac_cv_func_$ac_func=yes" | 5040 eval "ac_cv_func_$ac_func=yes" |
5039 else | 5041 else |
5040 echo "configure: failed program was:" >&5 | 5042 echo "configure: failed program was:" >&5 |
5041 cat conftest.$ac_ext >&5 | 5043 cat conftest.$ac_ext >&5 |
5113 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5115 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5114 | 5116 |
5115 case "$opsys" in decosf*) | 5117 case "$opsys" in decosf*) |
5116 | 5118 |
5117 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5119 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5118 echo "configure:5119: checking for cma_open in -lpthreads" >&5 | 5120 echo "configure:5121: checking for cma_open in -lpthreads" >&5 |
5119 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5121 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5120 | 5122 |
5121 xe_check_libs=" -lpthreads " | 5123 xe_check_libs=" -lpthreads " |
5122 cat > conftest.$ac_ext <<EOF | 5124 cat > conftest.$ac_ext <<EOF |
5123 #line 5124 "configure" | 5125 #line 5126 "configure" |
5124 #include "confdefs.h" | 5126 #include "confdefs.h" |
5125 /* Override any gcc2 internal prototype to avoid an error. */ | 5127 /* Override any gcc2 internal prototype to avoid an error. */ |
5126 /* We use char because int might match the return type of a gcc2 | 5128 /* We use char because int might match the return type of a gcc2 |
5127 builtin and then its argument prototype would still apply. */ | 5129 builtin and then its argument prototype would still apply. */ |
5128 char cma_open(); | 5130 char cma_open(); |
5129 | 5131 |
5130 int main() { | 5132 int main() { |
5131 cma_open() | 5133 cma_open() |
5132 ; return 0; } | 5134 ; return 0; } |
5133 EOF | 5135 EOF |
5134 if { (eval echo configure:5135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5136 if { (eval echo configure:5137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5135 rm -rf conftest* | 5137 rm -rf conftest* |
5136 eval "ac_cv_lib_$ac_lib_var=yes" | 5138 eval "ac_cv_lib_$ac_lib_var=yes" |
5137 else | 5139 else |
5138 echo "configure: failed program was:" >&5 | 5140 echo "configure: failed program was:" >&5 |
5139 cat conftest.$ac_ext >&5 | 5141 cat conftest.$ac_ext >&5 |
5166 c_switch_site="$c_switch_site -threads" ;; | 5168 c_switch_site="$c_switch_site -threads" ;; |
5167 esac | 5169 esac |
5168 | 5170 |
5169 | 5171 |
5170 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5172 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5171 echo "configure:5172: checking whether the -xildoff compiler flag is required" >&5 | 5173 echo "configure:5174: checking whether the -xildoff compiler flag is required" >&5 |
5172 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5174 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5173 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5175 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5174 then echo "$ac_t""no" 1>&6; | 5176 then echo "$ac_t""no" 1>&6; |
5175 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi | 5177 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi |
5176 fi | 5178 fi |
5178 fi | 5180 fi |
5179 | 5181 |
5180 if test "$opsys" = "sol2"; then | 5182 if test "$opsys" = "sol2"; then |
5181 if test "$os_release" -ge 56; then | 5183 if test "$os_release" -ge 56; then |
5182 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5184 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5183 echo "configure:5184: checking for \"-z ignore\" linker flag" >&5 | 5185 echo "configure:5186: checking for \"-z ignore\" linker flag" >&5 |
5184 case "`ld -h 2>&1`" in | 5186 case "`ld -h 2>&1`" in |
5185 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5187 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5186 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5188 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5187 *) echo "$ac_t""no" 1>&6 ;; | 5189 *) echo "$ac_t""no" 1>&6 ;; |
5188 esac | 5190 esac |
5189 fi | 5191 fi |
5190 fi | 5192 fi |
5191 | 5193 |
5192 | 5194 |
5193 echo "checking "for specified window system"" 1>&6 | 5195 echo "checking "for specified window system"" 1>&6 |
5194 echo "configure:5195: checking "for specified window system"" >&5 | 5196 echo "configure:5197: checking "for specified window system"" >&5 |
5195 | 5197 |
5196 | 5198 |
5197 GNOME_CONFIG=no | 5199 GNOME_CONFIG=no |
5198 GTK_CONFIG=no | 5200 GTK_CONFIG=no |
5199 | 5201 |
5200 if test "$with_gnome" != "no"; then | 5202 if test "$with_gnome" != "no"; then |
5201 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5203 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5202 echo "configure:5203: checking for GNOME configuration script" >&5 | 5204 echo "configure:5205: checking for GNOME configuration script" >&5 |
5203 for possible in gnome-config | 5205 for possible in gnome-config |
5204 do | 5206 do |
5205 possible_version=`${possible} --version 2> /dev/null` | 5207 possible_version=`${possible} --version 2> /dev/null` |
5206 if test "x${possible_version}" != "x"; then | 5208 if test "x${possible_version}" != "x"; then |
5207 GNOME_CONFIG="${possible}" | 5209 GNOME_CONFIG="${possible}" |
5228 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5230 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5229 fi | 5231 fi |
5230 | 5232 |
5231 if test "$with_gtk" != "no";then | 5233 if test "$with_gtk" != "no";then |
5232 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5234 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5233 echo "configure:5234: checking for GTK configuration script" >&5 | 5235 echo "configure:5236: checking for GTK configuration script" >&5 |
5234 for possible in gtk12-config gtk14-config gtk-config | 5236 for possible in gtk12-config gtk14-config gtk-config |
5235 do | 5237 do |
5236 possible_version=`${possible} --version 2> /dev/null` | 5238 possible_version=`${possible} --version 2> /dev/null` |
5237 if test "x${possible_version}" != "x"; then | 5239 if test "x${possible_version}" != "x"; then |
5238 GTK_CONFIG="${possible}" | 5240 GTK_CONFIG="${possible}" |
5250 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5252 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5251 fi | 5253 fi |
5252 | 5254 |
5253 if test "${GTK_CONFIG}" != "no"; then | 5255 if test "${GTK_CONFIG}" != "no"; then |
5254 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5256 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5255 echo "configure:5256: checking gtk version" >&5 | 5257 echo "configure:5258: checking gtk version" >&5 |
5256 GTK_VERSION=`${GTK_CONFIG} --version` | 5258 GTK_VERSION=`${GTK_CONFIG} --version` |
5257 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5259 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5258 | 5260 |
5259 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5261 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5260 echo "configure:5261: checking gtk libs" >&5 | 5262 echo "configure:5263: checking gtk libs" >&5 |
5261 GTK_LIBS=`${GTK_CONFIG} --libs` | 5263 GTK_LIBS=`${GTK_CONFIG} --libs` |
5262 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5264 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5263 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5265 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5264 | 5266 |
5265 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5267 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5266 echo "configure:5267: checking gtk cflags" >&5 | 5268 echo "configure:5269: checking gtk cflags" >&5 |
5267 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5269 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5268 if test "$GCC" = "yes"; then | 5270 if test "$GCC" = "yes"; then |
5269 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5271 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5270 fi | 5272 fi |
5271 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5273 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5272 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5274 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5273 | 5275 |
5274 | 5276 |
5275 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5277 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5276 echo "configure:5277: checking for main in -lgdk_imlib" >&5 | 5278 echo "configure:5279: checking for main in -lgdk_imlib" >&5 |
5277 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5279 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5278 | 5280 |
5279 xe_check_libs=" -lgdk_imlib " | 5281 xe_check_libs=" -lgdk_imlib " |
5280 cat > conftest.$ac_ext <<EOF | 5282 cat > conftest.$ac_ext <<EOF |
5281 #line 5282 "configure" | 5283 #line 5284 "configure" |
5282 #include "confdefs.h" | 5284 #include "confdefs.h" |
5283 | 5285 |
5284 int main() { | 5286 int main() { |
5285 main() | 5287 main() |
5286 ; return 0; } | 5288 ; return 0; } |
5287 EOF | 5289 EOF |
5288 if { (eval echo configure:5289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5290 if { (eval echo configure:5291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5289 rm -rf conftest* | 5291 rm -rf conftest* |
5290 eval "ac_cv_lib_$ac_lib_var=yes" | 5292 eval "ac_cv_lib_$ac_lib_var=yes" |
5291 else | 5293 else |
5292 echo "configure: failed program was:" >&5 | 5294 echo "configure: failed program was:" >&5 |
5293 cat conftest.$ac_ext >&5 | 5295 cat conftest.$ac_ext >&5 |
5305 fi | 5307 fi |
5306 | 5308 |
5307 | 5309 |
5308 | 5310 |
5309 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5311 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5310 echo "configure:5311: checking for Imlib_init in -lImlib" >&5 | 5312 echo "configure:5313: checking for Imlib_init in -lImlib" >&5 |
5311 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5313 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5312 | 5314 |
5313 xe_check_libs=" -lImlib " | 5315 xe_check_libs=" -lImlib " |
5314 cat > conftest.$ac_ext <<EOF | 5316 cat > conftest.$ac_ext <<EOF |
5315 #line 5316 "configure" | 5317 #line 5318 "configure" |
5316 #include "confdefs.h" | 5318 #include "confdefs.h" |
5317 /* Override any gcc2 internal prototype to avoid an error. */ | 5319 /* Override any gcc2 internal prototype to avoid an error. */ |
5318 /* We use char because int might match the return type of a gcc2 | 5320 /* We use char because int might match the return type of a gcc2 |
5319 builtin and then its argument prototype would still apply. */ | 5321 builtin and then its argument prototype would still apply. */ |
5320 char Imlib_init(); | 5322 char Imlib_init(); |
5321 | 5323 |
5322 int main() { | 5324 int main() { |
5323 Imlib_init() | 5325 Imlib_init() |
5324 ; return 0; } | 5326 ; return 0; } |
5325 EOF | 5327 EOF |
5326 if { (eval echo configure:5327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5328 if { (eval echo configure:5329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5327 rm -rf conftest* | 5329 rm -rf conftest* |
5328 eval "ac_cv_lib_$ac_lib_var=yes" | 5330 eval "ac_cv_lib_$ac_lib_var=yes" |
5329 else | 5331 else |
5330 echo "configure: failed program was:" >&5 | 5332 echo "configure: failed program was:" >&5 |
5331 cat conftest.$ac_ext >&5 | 5333 cat conftest.$ac_ext >&5 |
5344 | 5346 |
5345 | 5347 |
5346 for ac_func in gdk_imlib_init | 5348 for ac_func in gdk_imlib_init |
5347 do | 5349 do |
5348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5350 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5349 echo "configure:5350: checking for $ac_func" >&5 | 5351 echo "configure:5352: checking for $ac_func" >&5 |
5350 | 5352 |
5351 cat > conftest.$ac_ext <<EOF | 5353 cat > conftest.$ac_ext <<EOF |
5352 #line 5353 "configure" | 5354 #line 5355 "configure" |
5353 #include "confdefs.h" | 5355 #include "confdefs.h" |
5354 /* System header to define __stub macros and hopefully few prototypes, | 5356 /* System header to define __stub macros and hopefully few prototypes, |
5355 which can conflict with char $ac_func(); below. */ | 5357 which can conflict with char $ac_func(); below. */ |
5356 #include <assert.h> | 5358 #include <assert.h> |
5357 /* Override any gcc2 internal prototype to avoid an error. */ | 5359 /* Override any gcc2 internal prototype to avoid an error. */ |
5370 $ac_func(); | 5372 $ac_func(); |
5371 #endif | 5373 #endif |
5372 | 5374 |
5373 ; return 0; } | 5375 ; return 0; } |
5374 EOF | 5376 EOF |
5375 if { (eval echo configure:5376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5377 if { (eval echo configure:5378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5376 rm -rf conftest* | 5378 rm -rf conftest* |
5377 eval "ac_cv_func_$ac_func=yes" | 5379 eval "ac_cv_func_$ac_func=yes" |
5378 else | 5380 else |
5379 echo "configure: failed program was:" >&5 | 5381 echo "configure: failed program was:" >&5 |
5380 cat conftest.$ac_ext >&5 | 5382 cat conftest.$ac_ext >&5 |
5436 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5438 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5437 for ac_hdr in glade/glade.h glade.h | 5439 for ac_hdr in glade/glade.h glade.h |
5438 do | 5440 do |
5439 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5441 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5440 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5442 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5441 echo "configure:5442: checking for $ac_hdr" >&5 | 5443 echo "configure:5444: checking for $ac_hdr" >&5 |
5442 | 5444 |
5443 cat > conftest.$ac_ext <<EOF | 5445 cat > conftest.$ac_ext <<EOF |
5444 #line 5445 "configure" | 5446 #line 5447 "configure" |
5445 #include "confdefs.h" | 5447 #include "confdefs.h" |
5446 #include <$ac_hdr> | 5448 #include <$ac_hdr> |
5447 EOF | 5449 EOF |
5448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5450 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5449 { (eval echo configure:5450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5451 { (eval echo configure:5452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5452 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5451 if test -z "$ac_err"; then | 5453 if test -z "$ac_err"; then |
5452 rm -rf conftest* | 5454 rm -rf conftest* |
5453 eval "ac_cv_header_$ac_safe=yes" | 5455 eval "ac_cv_header_$ac_safe=yes" |
5454 else | 5456 else |
5475 fi | 5477 fi |
5476 done | 5478 done |
5477 | 5479 |
5478 | 5480 |
5479 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5481 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5480 echo "configure:5481: checking for main in -lxml" >&5 | 5482 echo "configure:5483: checking for main in -lxml" >&5 |
5481 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5483 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5482 | 5484 |
5483 xe_check_libs=" -lxml " | 5485 xe_check_libs=" -lxml " |
5484 cat > conftest.$ac_ext <<EOF | 5486 cat > conftest.$ac_ext <<EOF |
5485 #line 5486 "configure" | 5487 #line 5488 "configure" |
5486 #include "confdefs.h" | 5488 #include "confdefs.h" |
5487 | 5489 |
5488 int main() { | 5490 int main() { |
5489 main() | 5491 main() |
5490 ; return 0; } | 5492 ; return 0; } |
5491 EOF | 5493 EOF |
5492 if { (eval echo configure:5493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5494 if { (eval echo configure:5495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5493 rm -rf conftest* | 5495 rm -rf conftest* |
5494 eval "ac_cv_lib_$ac_lib_var=yes" | 5496 eval "ac_cv_lib_$ac_lib_var=yes" |
5495 else | 5497 else |
5496 echo "configure: failed program was:" >&5 | 5498 echo "configure: failed program was:" >&5 |
5497 cat conftest.$ac_ext >&5 | 5499 cat conftest.$ac_ext >&5 |
5509 fi | 5511 fi |
5510 | 5512 |
5511 | 5513 |
5512 | 5514 |
5513 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5515 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5514 echo "configure:5515: checking for main in -lglade" >&5 | 5516 echo "configure:5517: checking for main in -lglade" >&5 |
5515 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5517 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5516 | 5518 |
5517 xe_check_libs=" -lglade " | 5519 xe_check_libs=" -lglade " |
5518 cat > conftest.$ac_ext <<EOF | 5520 cat > conftest.$ac_ext <<EOF |
5519 #line 5520 "configure" | 5521 #line 5522 "configure" |
5520 #include "confdefs.h" | 5522 #include "confdefs.h" |
5521 | 5523 |
5522 int main() { | 5524 int main() { |
5523 main() | 5525 main() |
5524 ; return 0; } | 5526 ; return 0; } |
5525 EOF | 5527 EOF |
5526 if { (eval echo configure:5527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5528 if { (eval echo configure:5529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5527 rm -rf conftest* | 5529 rm -rf conftest* |
5528 eval "ac_cv_lib_$ac_lib_var=yes" | 5530 eval "ac_cv_lib_$ac_lib_var=yes" |
5529 else | 5531 else |
5530 echo "configure: failed program was:" >&5 | 5532 echo "configure: failed program was:" >&5 |
5531 cat conftest.$ac_ext >&5 | 5533 cat conftest.$ac_ext >&5 |
5543 fi | 5545 fi |
5544 | 5546 |
5545 | 5547 |
5546 | 5548 |
5547 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5549 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5548 echo "configure:5549: checking for main in -lglade-gnome" >&5 | 5550 echo "configure:5551: checking for main in -lglade-gnome" >&5 |
5549 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5551 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5550 | 5552 |
5551 xe_check_libs=" -lglade-gnome " | 5553 xe_check_libs=" -lglade-gnome " |
5552 cat > conftest.$ac_ext <<EOF | 5554 cat > conftest.$ac_ext <<EOF |
5553 #line 5554 "configure" | 5555 #line 5556 "configure" |
5554 #include "confdefs.h" | 5556 #include "confdefs.h" |
5555 | 5557 |
5556 int main() { | 5558 int main() { |
5557 main() | 5559 main() |
5558 ; return 0; } | 5560 ; return 0; } |
5559 EOF | 5561 EOF |
5560 if { (eval echo configure:5561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5562 if { (eval echo configure:5563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5561 rm -rf conftest* | 5563 rm -rf conftest* |
5562 eval "ac_cv_lib_$ac_lib_var=yes" | 5564 eval "ac_cv_lib_$ac_lib_var=yes" |
5563 else | 5565 else |
5564 echo "configure: failed program was:" >&5 | 5566 echo "configure: failed program was:" >&5 |
5565 cat conftest.$ac_ext >&5 | 5567 cat conftest.$ac_ext >&5 |
5576 echo "$ac_t""no" 1>&6 | 5578 echo "$ac_t""no" 1>&6 |
5577 fi | 5579 fi |
5578 | 5580 |
5579 | 5581 |
5580 cat > conftest.$ac_ext <<EOF | 5582 cat > conftest.$ac_ext <<EOF |
5581 #line 5582 "configure" | 5583 #line 5584 "configure" |
5582 #include "confdefs.h" | 5584 #include "confdefs.h" |
5583 #include <glade/glade-xml.h> | 5585 #include <glade/glade-xml.h> |
5584 EOF | 5586 EOF |
5585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5586 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5588 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5635 # If we find X, set shell vars x_includes and x_libraries to the | 5637 # If we find X, set shell vars x_includes and x_libraries to the |
5636 # paths, otherwise set no_x=yes. | 5638 # paths, otherwise set no_x=yes. |
5637 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5639 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5638 # --without-x overrides everything else, but does not touch the cache. | 5640 # --without-x overrides everything else, but does not touch the cache. |
5639 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5641 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5640 echo "configure:5641: checking for X" >&5 | 5642 echo "configure:5643: checking for X" >&5 |
5641 | 5643 |
5642 # Check whether --with-x or --without-x was given. | 5644 # Check whether --with-x or --without-x was given. |
5643 if test "${with_x+set}" = set; then | 5645 if test "${with_x+set}" = set; then |
5644 withval="$with_x" | 5646 withval="$with_x" |
5645 : | 5647 : |
5695 # Guess where to find include files, by looking for this one X11 .h file. | 5697 # Guess where to find include files, by looking for this one X11 .h file. |
5696 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5698 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5697 | 5699 |
5698 # First, try using that file with no special directory specified. | 5700 # First, try using that file with no special directory specified. |
5699 cat > conftest.$ac_ext <<EOF | 5701 cat > conftest.$ac_ext <<EOF |
5700 #line 5701 "configure" | 5702 #line 5703 "configure" |
5701 #include "confdefs.h" | 5703 #include "confdefs.h" |
5702 #include <$x_direct_test_include> | 5704 #include <$x_direct_test_include> |
5703 EOF | 5705 EOF |
5704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5706 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5705 { (eval echo configure:5706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5707 { (eval echo configure:5708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5708 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5707 if test -z "$ac_err"; then | 5709 if test -z "$ac_err"; then |
5708 rm -rf conftest* | 5710 rm -rf conftest* |
5709 # We can compile using X headers with no special include directory. | 5711 # We can compile using X headers with no special include directory. |
5710 ac_x_includes= | 5712 ac_x_includes= |
5769 # See if we find them without any special options. | 5771 # See if we find them without any special options. |
5770 # Don't add to $LIBS permanently. | 5772 # Don't add to $LIBS permanently. |
5771 ac_save_LIBS="$LIBS" | 5773 ac_save_LIBS="$LIBS" |
5772 LIBS="-l$x_direct_test_library $LIBS" | 5774 LIBS="-l$x_direct_test_library $LIBS" |
5773 cat > conftest.$ac_ext <<EOF | 5775 cat > conftest.$ac_ext <<EOF |
5774 #line 5775 "configure" | 5776 #line 5777 "configure" |
5775 #include "confdefs.h" | 5777 #include "confdefs.h" |
5776 | 5778 |
5777 int main() { | 5779 int main() { |
5778 ${x_direct_test_function}() | 5780 ${x_direct_test_function}() |
5779 ; return 0; } | 5781 ; return 0; } |
5780 EOF | 5782 EOF |
5781 if { (eval echo configure:5782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5783 if { (eval echo configure:5784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5782 rm -rf conftest* | 5784 rm -rf conftest* |
5783 LIBS="$ac_save_LIBS" | 5785 LIBS="$ac_save_LIBS" |
5784 # We can link X programs with no special library path. | 5786 # We can link X programs with no special library path. |
5785 ac_x_libraries= | 5787 ac_x_libraries= |
5786 else | 5788 else |
5885 # For Solaris; some versions of Sun CC require a space after -R and | 5887 # For Solaris; some versions of Sun CC require a space after -R and |
5886 # others require no space. Words are not sufficient . . . . | 5888 # others require no space. Words are not sufficient . . . . |
5887 case "`(uname -sr) 2>/dev/null`" in | 5889 case "`(uname -sr) 2>/dev/null`" in |
5888 "SunOS 5"*) | 5890 "SunOS 5"*) |
5889 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5891 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5890 echo "configure:5891: checking whether -R must be followed by a space" >&5 | 5892 echo "configure:5893: checking whether -R must be followed by a space" >&5 |
5891 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5893 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5892 cat > conftest.$ac_ext <<EOF | 5894 cat > conftest.$ac_ext <<EOF |
5893 #line 5894 "configure" | 5895 #line 5896 "configure" |
5894 #include "confdefs.h" | 5896 #include "confdefs.h" |
5895 | 5897 |
5896 int main() { | 5898 int main() { |
5897 | 5899 |
5898 ; return 0; } | 5900 ; return 0; } |
5899 EOF | 5901 EOF |
5900 if { (eval echo configure:5901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5902 if { (eval echo configure:5903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5901 rm -rf conftest* | 5903 rm -rf conftest* |
5902 ac_R_nospace=yes | 5904 ac_R_nospace=yes |
5903 else | 5905 else |
5904 echo "configure: failed program was:" >&5 | 5906 echo "configure: failed program was:" >&5 |
5905 cat conftest.$ac_ext >&5 | 5907 cat conftest.$ac_ext >&5 |
5911 echo "$ac_t""no" 1>&6 | 5913 echo "$ac_t""no" 1>&6 |
5912 X_LIBS="$X_LIBS -R$x_libraries" | 5914 X_LIBS="$X_LIBS -R$x_libraries" |
5913 else | 5915 else |
5914 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5916 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5915 cat > conftest.$ac_ext <<EOF | 5917 cat > conftest.$ac_ext <<EOF |
5916 #line 5917 "configure" | 5918 #line 5919 "configure" |
5917 #include "confdefs.h" | 5919 #include "confdefs.h" |
5918 | 5920 |
5919 int main() { | 5921 int main() { |
5920 | 5922 |
5921 ; return 0; } | 5923 ; return 0; } |
5922 EOF | 5924 EOF |
5923 if { (eval echo configure:5924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5925 if { (eval echo configure:5926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5924 rm -rf conftest* | 5926 rm -rf conftest* |
5925 ac_R_space=yes | 5927 ac_R_space=yes |
5926 else | 5928 else |
5927 echo "configure: failed program was:" >&5 | 5929 echo "configure: failed program was:" >&5 |
5928 cat conftest.$ac_ext >&5 | 5930 cat conftest.$ac_ext >&5 |
5954 if test "$with_dnet" = "no" ; then | 5956 if test "$with_dnet" = "no" ; then |
5955 ac_cv_lib_dnet_dnet_ntoa=no | 5957 ac_cv_lib_dnet_dnet_ntoa=no |
5956 else | 5958 else |
5957 | 5959 |
5958 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5960 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5959 echo "configure:5960: checking for dnet_ntoa in -ldnet" >&5 | 5961 echo "configure:5962: checking for dnet_ntoa in -ldnet" >&5 |
5960 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5962 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5961 | 5963 |
5962 xe_check_libs=" -ldnet " | 5964 xe_check_libs=" -ldnet " |
5963 cat > conftest.$ac_ext <<EOF | 5965 cat > conftest.$ac_ext <<EOF |
5964 #line 5965 "configure" | 5966 #line 5967 "configure" |
5965 #include "confdefs.h" | 5967 #include "confdefs.h" |
5966 /* Override any gcc2 internal prototype to avoid an error. */ | 5968 /* Override any gcc2 internal prototype to avoid an error. */ |
5967 /* We use char because int might match the return type of a gcc2 | 5969 /* We use char because int might match the return type of a gcc2 |
5968 builtin and then its argument prototype would still apply. */ | 5970 builtin and then its argument prototype would still apply. */ |
5969 char dnet_ntoa(); | 5971 char dnet_ntoa(); |
5970 | 5972 |
5971 int main() { | 5973 int main() { |
5972 dnet_ntoa() | 5974 dnet_ntoa() |
5973 ; return 0; } | 5975 ; return 0; } |
5974 EOF | 5976 EOF |
5975 if { (eval echo configure:5976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5977 if { (eval echo configure:5978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5976 rm -rf conftest* | 5978 rm -rf conftest* |
5977 eval "ac_cv_lib_$ac_lib_var=yes" | 5979 eval "ac_cv_lib_$ac_lib_var=yes" |
5978 else | 5980 else |
5979 echo "configure: failed program was:" >&5 | 5981 echo "configure: failed program was:" >&5 |
5980 cat conftest.$ac_ext >&5 | 5982 cat conftest.$ac_ext >&5 |
5994 fi | 5996 fi |
5995 | 5997 |
5996 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5998 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5997 | 5999 |
5998 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 6000 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5999 echo "configure:6000: checking for dnet_ntoa in -ldnet_stub" >&5 | 6001 echo "configure:6002: checking for dnet_ntoa in -ldnet_stub" >&5 |
6000 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6002 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6001 | 6003 |
6002 xe_check_libs=" -ldnet_stub " | 6004 xe_check_libs=" -ldnet_stub " |
6003 cat > conftest.$ac_ext <<EOF | 6005 cat > conftest.$ac_ext <<EOF |
6004 #line 6005 "configure" | 6006 #line 6007 "configure" |
6005 #include "confdefs.h" | 6007 #include "confdefs.h" |
6006 /* Override any gcc2 internal prototype to avoid an error. */ | 6008 /* Override any gcc2 internal prototype to avoid an error. */ |
6007 /* We use char because int might match the return type of a gcc2 | 6009 /* We use char because int might match the return type of a gcc2 |
6008 builtin and then its argument prototype would still apply. */ | 6010 builtin and then its argument prototype would still apply. */ |
6009 char dnet_ntoa(); | 6011 char dnet_ntoa(); |
6010 | 6012 |
6011 int main() { | 6013 int main() { |
6012 dnet_ntoa() | 6014 dnet_ntoa() |
6013 ; return 0; } | 6015 ; return 0; } |
6014 EOF | 6016 EOF |
6015 if { (eval echo configure:6016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6017 if { (eval echo configure:6018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6016 rm -rf conftest* | 6018 rm -rf conftest* |
6017 eval "ac_cv_lib_$ac_lib_var=yes" | 6019 eval "ac_cv_lib_$ac_lib_var=yes" |
6018 else | 6020 else |
6019 echo "configure: failed program was:" >&5 | 6021 echo "configure: failed program was:" >&5 |
6020 cat conftest.$ac_ext >&5 | 6022 cat conftest.$ac_ext >&5 |
6039 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6041 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
6040 # needs -lnsl. | 6042 # needs -lnsl. |
6041 # The nsl library prevents programs from opening the X display | 6043 # The nsl library prevents programs from opening the X display |
6042 # on Irix 5.2, according to dickey@clark.net. | 6044 # on Irix 5.2, according to dickey@clark.net. |
6043 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6045 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6044 echo "configure:6045: checking for gethostbyname" >&5 | 6046 echo "configure:6047: checking for gethostbyname" >&5 |
6045 | 6047 |
6046 cat > conftest.$ac_ext <<EOF | 6048 cat > conftest.$ac_ext <<EOF |
6047 #line 6048 "configure" | 6049 #line 6050 "configure" |
6048 #include "confdefs.h" | 6050 #include "confdefs.h" |
6049 /* System header to define __stub macros and hopefully few prototypes, | 6051 /* System header to define __stub macros and hopefully few prototypes, |
6050 which can conflict with char gethostbyname(); below. */ | 6052 which can conflict with char gethostbyname(); below. */ |
6051 #include <assert.h> | 6053 #include <assert.h> |
6052 /* Override any gcc2 internal prototype to avoid an error. */ | 6054 /* Override any gcc2 internal prototype to avoid an error. */ |
6065 gethostbyname(); | 6067 gethostbyname(); |
6066 #endif | 6068 #endif |
6067 | 6069 |
6068 ; return 0; } | 6070 ; return 0; } |
6069 EOF | 6071 EOF |
6070 if { (eval echo configure:6071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6072 if { (eval echo configure:6073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6071 rm -rf conftest* | 6073 rm -rf conftest* |
6072 eval "ac_cv_func_gethostbyname=yes" | 6074 eval "ac_cv_func_gethostbyname=yes" |
6073 else | 6075 else |
6074 echo "configure: failed program was:" >&5 | 6076 echo "configure: failed program was:" >&5 |
6075 cat conftest.$ac_ext >&5 | 6077 cat conftest.$ac_ext >&5 |
6086 fi | 6088 fi |
6087 | 6089 |
6088 if test $ac_cv_func_gethostbyname = no; then | 6090 if test $ac_cv_func_gethostbyname = no; then |
6089 | 6091 |
6090 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6092 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6091 echo "configure:6092: checking for gethostbyname in -lnsl" >&5 | 6093 echo "configure:6094: checking for gethostbyname in -lnsl" >&5 |
6092 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6094 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6093 | 6095 |
6094 xe_check_libs=" -lnsl " | 6096 xe_check_libs=" -lnsl " |
6095 cat > conftest.$ac_ext <<EOF | 6097 cat > conftest.$ac_ext <<EOF |
6096 #line 6097 "configure" | 6098 #line 6099 "configure" |
6097 #include "confdefs.h" | 6099 #include "confdefs.h" |
6098 /* Override any gcc2 internal prototype to avoid an error. */ | 6100 /* Override any gcc2 internal prototype to avoid an error. */ |
6099 /* We use char because int might match the return type of a gcc2 | 6101 /* We use char because int might match the return type of a gcc2 |
6100 builtin and then its argument prototype would still apply. */ | 6102 builtin and then its argument prototype would still apply. */ |
6101 char gethostbyname(); | 6103 char gethostbyname(); |
6102 | 6104 |
6103 int main() { | 6105 int main() { |
6104 gethostbyname() | 6106 gethostbyname() |
6105 ; return 0; } | 6107 ; return 0; } |
6106 EOF | 6108 EOF |
6107 if { (eval echo configure:6108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6109 if { (eval echo configure:6110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6108 rm -rf conftest* | 6110 rm -rf conftest* |
6109 eval "ac_cv_lib_$ac_lib_var=yes" | 6111 eval "ac_cv_lib_$ac_lib_var=yes" |
6110 else | 6112 else |
6111 echo "configure: failed program was:" >&5 | 6113 echo "configure: failed program was:" >&5 |
6112 cat conftest.$ac_ext >&5 | 6114 cat conftest.$ac_ext >&5 |
6132 # on later versions), says simon@lia.di.epfl.ch: it contains | 6134 # on later versions), says simon@lia.di.epfl.ch: it contains |
6133 # gethostby* variants that don't use the nameserver (or something). | 6135 # gethostby* variants that don't use the nameserver (or something). |
6134 # -lsocket must be given before -lnsl if both are needed. | 6136 # -lsocket must be given before -lnsl if both are needed. |
6135 # We assume that if connect needs -lnsl, so does gethostbyname. | 6137 # We assume that if connect needs -lnsl, so does gethostbyname. |
6136 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6138 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6137 echo "configure:6138: checking for connect" >&5 | 6139 echo "configure:6140: checking for connect" >&5 |
6138 | 6140 |
6139 cat > conftest.$ac_ext <<EOF | 6141 cat > conftest.$ac_ext <<EOF |
6140 #line 6141 "configure" | 6142 #line 6143 "configure" |
6141 #include "confdefs.h" | 6143 #include "confdefs.h" |
6142 /* System header to define __stub macros and hopefully few prototypes, | 6144 /* System header to define __stub macros and hopefully few prototypes, |
6143 which can conflict with char connect(); below. */ | 6145 which can conflict with char connect(); below. */ |
6144 #include <assert.h> | 6146 #include <assert.h> |
6145 /* Override any gcc2 internal prototype to avoid an error. */ | 6147 /* Override any gcc2 internal prototype to avoid an error. */ |
6158 connect(); | 6160 connect(); |
6159 #endif | 6161 #endif |
6160 | 6162 |
6161 ; return 0; } | 6163 ; return 0; } |
6162 EOF | 6164 EOF |
6163 if { (eval echo configure:6164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6165 if { (eval echo configure:6166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6164 rm -rf conftest* | 6166 rm -rf conftest* |
6165 eval "ac_cv_func_connect=yes" | 6167 eval "ac_cv_func_connect=yes" |
6166 else | 6168 else |
6167 echo "configure: failed program was:" >&5 | 6169 echo "configure: failed program was:" >&5 |
6168 cat conftest.$ac_ext >&5 | 6170 cat conftest.$ac_ext >&5 |
6181 if test $ac_cv_func_connect = no; then | 6183 if test $ac_cv_func_connect = no; then |
6182 | 6184 |
6183 xe_msg_checking="for connect in -lsocket" | 6185 xe_msg_checking="for connect in -lsocket" |
6184 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6186 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6185 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6187 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6186 echo "configure:6187: checking "$xe_msg_checking"" >&5 | 6188 echo "configure:6189: checking "$xe_msg_checking"" >&5 |
6187 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6189 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6188 | 6190 |
6189 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6191 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6190 cat > conftest.$ac_ext <<EOF | 6192 cat > conftest.$ac_ext <<EOF |
6191 #line 6192 "configure" | 6193 #line 6194 "configure" |
6192 #include "confdefs.h" | 6194 #include "confdefs.h" |
6193 /* Override any gcc2 internal prototype to avoid an error. */ | 6195 /* Override any gcc2 internal prototype to avoid an error. */ |
6194 /* We use char because int might match the return type of a gcc2 | 6196 /* We use char because int might match the return type of a gcc2 |
6195 builtin and then its argument prototype would still apply. */ | 6197 builtin and then its argument prototype would still apply. */ |
6196 char connect(); | 6198 char connect(); |
6197 | 6199 |
6198 int main() { | 6200 int main() { |
6199 connect() | 6201 connect() |
6200 ; return 0; } | 6202 ; return 0; } |
6201 EOF | 6203 EOF |
6202 if { (eval echo configure:6203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6204 if { (eval echo configure:6205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6203 rm -rf conftest* | 6205 rm -rf conftest* |
6204 eval "ac_cv_lib_$ac_lib_var=yes" | 6206 eval "ac_cv_lib_$ac_lib_var=yes" |
6205 else | 6207 else |
6206 echo "configure: failed program was:" >&5 | 6208 echo "configure: failed program was:" >&5 |
6207 cat conftest.$ac_ext >&5 | 6209 cat conftest.$ac_ext >&5 |
6221 | 6223 |
6222 fi | 6224 fi |
6223 | 6225 |
6224 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6226 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6225 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6227 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6226 echo "configure:6227: checking for remove" >&5 | 6228 echo "configure:6229: checking for remove" >&5 |
6227 | 6229 |
6228 cat > conftest.$ac_ext <<EOF | 6230 cat > conftest.$ac_ext <<EOF |
6229 #line 6230 "configure" | 6231 #line 6232 "configure" |
6230 #include "confdefs.h" | 6232 #include "confdefs.h" |
6231 /* System header to define __stub macros and hopefully few prototypes, | 6233 /* System header to define __stub macros and hopefully few prototypes, |
6232 which can conflict with char remove(); below. */ | 6234 which can conflict with char remove(); below. */ |
6233 #include <assert.h> | 6235 #include <assert.h> |
6234 /* Override any gcc2 internal prototype to avoid an error. */ | 6236 /* Override any gcc2 internal prototype to avoid an error. */ |
6247 remove(); | 6249 remove(); |
6248 #endif | 6250 #endif |
6249 | 6251 |
6250 ; return 0; } | 6252 ; return 0; } |
6251 EOF | 6253 EOF |
6252 if { (eval echo configure:6253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6254 if { (eval echo configure:6255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6253 rm -rf conftest* | 6255 rm -rf conftest* |
6254 eval "ac_cv_func_remove=yes" | 6256 eval "ac_cv_func_remove=yes" |
6255 else | 6257 else |
6256 echo "configure: failed program was:" >&5 | 6258 echo "configure: failed program was:" >&5 |
6257 cat conftest.$ac_ext >&5 | 6259 cat conftest.$ac_ext >&5 |
6268 fi | 6270 fi |
6269 | 6271 |
6270 if test $ac_cv_func_remove = no; then | 6272 if test $ac_cv_func_remove = no; then |
6271 | 6273 |
6272 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6274 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6273 echo "configure:6274: checking for remove in -lposix" >&5 | 6275 echo "configure:6276: checking for remove in -lposix" >&5 |
6274 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6276 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6275 | 6277 |
6276 xe_check_libs=" -lposix " | 6278 xe_check_libs=" -lposix " |
6277 cat > conftest.$ac_ext <<EOF | 6279 cat > conftest.$ac_ext <<EOF |
6278 #line 6279 "configure" | 6280 #line 6281 "configure" |
6279 #include "confdefs.h" | 6281 #include "confdefs.h" |
6280 /* Override any gcc2 internal prototype to avoid an error. */ | 6282 /* Override any gcc2 internal prototype to avoid an error. */ |
6281 /* We use char because int might match the return type of a gcc2 | 6283 /* We use char because int might match the return type of a gcc2 |
6282 builtin and then its argument prototype would still apply. */ | 6284 builtin and then its argument prototype would still apply. */ |
6283 char remove(); | 6285 char remove(); |
6284 | 6286 |
6285 int main() { | 6287 int main() { |
6286 remove() | 6288 remove() |
6287 ; return 0; } | 6289 ; return 0; } |
6288 EOF | 6290 EOF |
6289 if { (eval echo configure:6290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6291 if { (eval echo configure:6292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6290 rm -rf conftest* | 6292 rm -rf conftest* |
6291 eval "ac_cv_lib_$ac_lib_var=yes" | 6293 eval "ac_cv_lib_$ac_lib_var=yes" |
6292 else | 6294 else |
6293 echo "configure: failed program was:" >&5 | 6295 echo "configure: failed program was:" >&5 |
6294 cat conftest.$ac_ext >&5 | 6296 cat conftest.$ac_ext >&5 |
6308 | 6310 |
6309 fi | 6311 fi |
6310 | 6312 |
6311 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6313 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6312 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6314 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6313 echo "configure:6314: checking for shmat" >&5 | 6315 echo "configure:6316: checking for shmat" >&5 |
6314 | 6316 |
6315 cat > conftest.$ac_ext <<EOF | 6317 cat > conftest.$ac_ext <<EOF |
6316 #line 6317 "configure" | 6318 #line 6319 "configure" |
6317 #include "confdefs.h" | 6319 #include "confdefs.h" |
6318 /* System header to define __stub macros and hopefully few prototypes, | 6320 /* System header to define __stub macros and hopefully few prototypes, |
6319 which can conflict with char shmat(); below. */ | 6321 which can conflict with char shmat(); below. */ |
6320 #include <assert.h> | 6322 #include <assert.h> |
6321 /* Override any gcc2 internal prototype to avoid an error. */ | 6323 /* Override any gcc2 internal prototype to avoid an error. */ |
6334 shmat(); | 6336 shmat(); |
6335 #endif | 6337 #endif |
6336 | 6338 |
6337 ; return 0; } | 6339 ; return 0; } |
6338 EOF | 6340 EOF |
6339 if { (eval echo configure:6340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6341 if { (eval echo configure:6342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6340 rm -rf conftest* | 6342 rm -rf conftest* |
6341 eval "ac_cv_func_shmat=yes" | 6343 eval "ac_cv_func_shmat=yes" |
6342 else | 6344 else |
6343 echo "configure: failed program was:" >&5 | 6345 echo "configure: failed program was:" >&5 |
6344 cat conftest.$ac_ext >&5 | 6346 cat conftest.$ac_ext >&5 |
6355 fi | 6357 fi |
6356 | 6358 |
6357 if test $ac_cv_func_shmat = no; then | 6359 if test $ac_cv_func_shmat = no; then |
6358 | 6360 |
6359 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6361 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6360 echo "configure:6361: checking for shmat in -lipc" >&5 | 6362 echo "configure:6363: checking for shmat in -lipc" >&5 |
6361 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6363 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6362 | 6364 |
6363 xe_check_libs=" -lipc " | 6365 xe_check_libs=" -lipc " |
6364 cat > conftest.$ac_ext <<EOF | 6366 cat > conftest.$ac_ext <<EOF |
6365 #line 6366 "configure" | 6367 #line 6368 "configure" |
6366 #include "confdefs.h" | 6368 #include "confdefs.h" |
6367 /* Override any gcc2 internal prototype to avoid an error. */ | 6369 /* Override any gcc2 internal prototype to avoid an error. */ |
6368 /* We use char because int might match the return type of a gcc2 | 6370 /* We use char because int might match the return type of a gcc2 |
6369 builtin and then its argument prototype would still apply. */ | 6371 builtin and then its argument prototype would still apply. */ |
6370 char shmat(); | 6372 char shmat(); |
6371 | 6373 |
6372 int main() { | 6374 int main() { |
6373 shmat() | 6375 shmat() |
6374 ; return 0; } | 6376 ; return 0; } |
6375 EOF | 6377 EOF |
6376 if { (eval echo configure:6377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6378 if { (eval echo configure:6379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6377 rm -rf conftest* | 6379 rm -rf conftest* |
6378 eval "ac_cv_lib_$ac_lib_var=yes" | 6380 eval "ac_cv_lib_$ac_lib_var=yes" |
6379 else | 6381 else |
6380 echo "configure: failed program was:" >&5 | 6382 echo "configure: failed program was:" >&5 |
6381 cat conftest.$ac_ext >&5 | 6383 cat conftest.$ac_ext >&5 |
6407 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6409 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6408 | 6410 |
6409 xe_msg_checking="for IceConnectionNumber in -lICE" | 6411 xe_msg_checking="for IceConnectionNumber in -lICE" |
6410 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6412 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6411 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6413 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6412 echo "configure:6413: checking "$xe_msg_checking"" >&5 | 6414 echo "configure:6415: checking "$xe_msg_checking"" >&5 |
6413 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6415 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6414 | 6416 |
6415 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6417 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6416 cat > conftest.$ac_ext <<EOF | 6418 cat > conftest.$ac_ext <<EOF |
6417 #line 6418 "configure" | 6419 #line 6420 "configure" |
6418 #include "confdefs.h" | 6420 #include "confdefs.h" |
6419 /* Override any gcc2 internal prototype to avoid an error. */ | 6421 /* Override any gcc2 internal prototype to avoid an error. */ |
6420 /* We use char because int might match the return type of a gcc2 | 6422 /* We use char because int might match the return type of a gcc2 |
6421 builtin and then its argument prototype would still apply. */ | 6423 builtin and then its argument prototype would still apply. */ |
6422 char IceConnectionNumber(); | 6424 char IceConnectionNumber(); |
6423 | 6425 |
6424 int main() { | 6426 int main() { |
6425 IceConnectionNumber() | 6427 IceConnectionNumber() |
6426 ; return 0; } | 6428 ; return 0; } |
6427 EOF | 6429 EOF |
6428 if { (eval echo configure:6429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6430 if { (eval echo configure:6431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6429 rm -rf conftest* | 6431 rm -rf conftest* |
6430 eval "ac_cv_lib_$ac_lib_var=yes" | 6432 eval "ac_cv_lib_$ac_lib_var=yes" |
6431 else | 6433 else |
6432 echo "configure: failed program was:" >&5 | 6434 echo "configure: failed program was:" >&5 |
6433 cat conftest.$ac_ext >&5 | 6435 cat conftest.$ac_ext >&5 |
6590 EOF | 6592 EOF |
6591 } | 6593 } |
6592 | 6594 |
6593 | 6595 |
6594 echo "checking for X defines extracted by xmkmf" 1>&6 | 6596 echo "checking for X defines extracted by xmkmf" 1>&6 |
6595 echo "configure:6596: checking for X defines extracted by xmkmf" >&5 | 6597 echo "configure:6598: checking for X defines extracted by xmkmf" >&5 |
6596 rm -fr conftestdir | 6598 rm -fr conftestdir |
6597 if mkdir conftestdir; then | 6599 if mkdir conftestdir; then |
6598 cd conftestdir | 6600 cd conftestdir |
6599 cat > Imakefile <<'EOF' | 6601 cat > Imakefile <<'EOF' |
6600 xetest: | 6602 xetest: |
6639 done | 6641 done |
6640 fi | 6642 fi |
6641 | 6643 |
6642 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6644 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6643 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6645 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6644 echo "configure:6645: checking for X11/Intrinsic.h" >&5 | 6646 echo "configure:6647: checking for X11/Intrinsic.h" >&5 |
6645 | 6647 |
6646 cat > conftest.$ac_ext <<EOF | 6648 cat > conftest.$ac_ext <<EOF |
6647 #line 6648 "configure" | 6649 #line 6650 "configure" |
6648 #include "confdefs.h" | 6650 #include "confdefs.h" |
6649 #include <X11/Intrinsic.h> | 6651 #include <X11/Intrinsic.h> |
6650 EOF | 6652 EOF |
6651 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6652 { (eval echo configure:6653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6654 { (eval echo configure:6655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6653 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6655 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6654 if test -z "$ac_err"; then | 6656 if test -z "$ac_err"; then |
6655 rm -rf conftest* | 6657 rm -rf conftest* |
6656 eval "ac_cv_header_$ac_safe=yes" | 6658 eval "ac_cv_header_$ac_safe=yes" |
6657 else | 6659 else |
6671 fi | 6673 fi |
6672 | 6674 |
6673 | 6675 |
6674 | 6676 |
6675 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6677 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6676 echo "configure:6677: checking for XOpenDisplay in -lX11" >&5 | 6678 echo "configure:6679: checking for XOpenDisplay in -lX11" >&5 |
6677 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6679 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6678 | 6680 |
6679 xe_check_libs=" -lX11 " | 6681 xe_check_libs=" -lX11 " |
6680 cat > conftest.$ac_ext <<EOF | 6682 cat > conftest.$ac_ext <<EOF |
6681 #line 6682 "configure" | 6683 #line 6684 "configure" |
6682 #include "confdefs.h" | 6684 #include "confdefs.h" |
6683 /* Override any gcc2 internal prototype to avoid an error. */ | 6685 /* Override any gcc2 internal prototype to avoid an error. */ |
6684 /* We use char because int might match the return type of a gcc2 | 6686 /* We use char because int might match the return type of a gcc2 |
6685 builtin and then its argument prototype would still apply. */ | 6687 builtin and then its argument prototype would still apply. */ |
6686 char XOpenDisplay(); | 6688 char XOpenDisplay(); |
6687 | 6689 |
6688 int main() { | 6690 int main() { |
6689 XOpenDisplay() | 6691 XOpenDisplay() |
6690 ; return 0; } | 6692 ; return 0; } |
6691 EOF | 6693 EOF |
6692 if { (eval echo configure:6693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6694 if { (eval echo configure:6695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6693 rm -rf conftest* | 6695 rm -rf conftest* |
6694 eval "ac_cv_lib_$ac_lib_var=yes" | 6696 eval "ac_cv_lib_$ac_lib_var=yes" |
6695 else | 6697 else |
6696 echo "configure: failed program was:" >&5 | 6698 echo "configure: failed program was:" >&5 |
6697 cat conftest.$ac_ext >&5 | 6699 cat conftest.$ac_ext >&5 |
6712 if test "$have_lib_x11" != "yes"; then | 6714 if test "$have_lib_x11" != "yes"; then |
6713 | 6715 |
6714 xe_msg_checking="for XGetFontProperty in -lX11" | 6716 xe_msg_checking="for XGetFontProperty in -lX11" |
6715 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6717 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6716 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6718 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6717 echo "configure:6718: checking "$xe_msg_checking"" >&5 | 6719 echo "configure:6720: checking "$xe_msg_checking"" >&5 |
6718 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6720 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6719 | 6721 |
6720 xe_check_libs=" -lX11 -b i486-linuxaout" | 6722 xe_check_libs=" -lX11 -b i486-linuxaout" |
6721 cat > conftest.$ac_ext <<EOF | 6723 cat > conftest.$ac_ext <<EOF |
6722 #line 6723 "configure" | 6724 #line 6725 "configure" |
6723 #include "confdefs.h" | 6725 #include "confdefs.h" |
6724 /* Override any gcc2 internal prototype to avoid an error. */ | 6726 /* Override any gcc2 internal prototype to avoid an error. */ |
6725 /* We use char because int might match the return type of a gcc2 | 6727 /* We use char because int might match the return type of a gcc2 |
6726 builtin and then its argument prototype would still apply. */ | 6728 builtin and then its argument prototype would still apply. */ |
6727 char XGetFontProperty(); | 6729 char XGetFontProperty(); |
6728 | 6730 |
6729 int main() { | 6731 int main() { |
6730 XGetFontProperty() | 6732 XGetFontProperty() |
6731 ; return 0; } | 6733 ; return 0; } |
6732 EOF | 6734 EOF |
6733 if { (eval echo configure:6734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6735 if { (eval echo configure:6736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6734 rm -rf conftest* | 6736 rm -rf conftest* |
6735 eval "ac_cv_lib_$ac_lib_var=yes" | 6737 eval "ac_cv_lib_$ac_lib_var=yes" |
6736 else | 6738 else |
6737 echo "configure: failed program was:" >&5 | 6739 echo "configure: failed program was:" >&5 |
6738 cat conftest.$ac_ext >&5 | 6740 cat conftest.$ac_ext >&5 |
6755 libs_x="-lX11" | 6757 libs_x="-lX11" |
6756 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6758 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6757 | 6759 |
6758 | 6760 |
6759 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6761 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6760 echo "configure:6761: checking for XShapeSelectInput in -lXext" >&5 | 6762 echo "configure:6763: checking for XShapeSelectInput in -lXext" >&5 |
6761 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6763 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6762 | 6764 |
6763 xe_check_libs=" -lXext " | 6765 xe_check_libs=" -lXext " |
6764 cat > conftest.$ac_ext <<EOF | 6766 cat > conftest.$ac_ext <<EOF |
6765 #line 6766 "configure" | 6767 #line 6768 "configure" |
6766 #include "confdefs.h" | 6768 #include "confdefs.h" |
6767 /* Override any gcc2 internal prototype to avoid an error. */ | 6769 /* Override any gcc2 internal prototype to avoid an error. */ |
6768 /* We use char because int might match the return type of a gcc2 | 6770 /* We use char because int might match the return type of a gcc2 |
6769 builtin and then its argument prototype would still apply. */ | 6771 builtin and then its argument prototype would still apply. */ |
6770 char XShapeSelectInput(); | 6772 char XShapeSelectInput(); |
6771 | 6773 |
6772 int main() { | 6774 int main() { |
6773 XShapeSelectInput() | 6775 XShapeSelectInput() |
6774 ; return 0; } | 6776 ; return 0; } |
6775 EOF | 6777 EOF |
6776 if { (eval echo configure:6777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6778 if { (eval echo configure:6779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6777 rm -rf conftest* | 6779 rm -rf conftest* |
6778 eval "ac_cv_lib_$ac_lib_var=yes" | 6780 eval "ac_cv_lib_$ac_lib_var=yes" |
6779 else | 6781 else |
6780 echo "configure: failed program was:" >&5 | 6782 echo "configure: failed program was:" >&5 |
6781 cat conftest.$ac_ext >&5 | 6783 cat conftest.$ac_ext >&5 |
6794 | 6796 |
6795 | 6797 |
6796 | 6798 |
6797 | 6799 |
6798 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6800 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6799 echo "configure:6800: checking for XtOpenDisplay in -lXt" >&5 | 6801 echo "configure:6802: checking for XtOpenDisplay in -lXt" >&5 |
6800 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6802 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6801 | 6803 |
6802 xe_check_libs=" -lXt " | 6804 xe_check_libs=" -lXt " |
6803 cat > conftest.$ac_ext <<EOF | 6805 cat > conftest.$ac_ext <<EOF |
6804 #line 6805 "configure" | 6806 #line 6807 "configure" |
6805 #include "confdefs.h" | 6807 #include "confdefs.h" |
6806 /* Override any gcc2 internal prototype to avoid an error. */ | 6808 /* Override any gcc2 internal prototype to avoid an error. */ |
6807 /* We use char because int might match the return type of a gcc2 | 6809 /* We use char because int might match the return type of a gcc2 |
6808 builtin and then its argument prototype would still apply. */ | 6810 builtin and then its argument prototype would still apply. */ |
6809 char XtOpenDisplay(); | 6811 char XtOpenDisplay(); |
6810 | 6812 |
6811 int main() { | 6813 int main() { |
6812 XtOpenDisplay() | 6814 XtOpenDisplay() |
6813 ; return 0; } | 6815 ; return 0; } |
6814 EOF | 6816 EOF |
6815 if { (eval echo configure:6816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6817 if { (eval echo configure:6818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6816 rm -rf conftest* | 6818 rm -rf conftest* |
6817 eval "ac_cv_lib_$ac_lib_var=yes" | 6819 eval "ac_cv_lib_$ac_lib_var=yes" |
6818 else | 6820 else |
6819 echo "configure: failed program was:" >&5 | 6821 echo "configure: failed program was:" >&5 |
6820 cat conftest.$ac_ext >&5 | 6822 cat conftest.$ac_ext >&5 |
6833 fi | 6835 fi |
6834 | 6836 |
6835 | 6837 |
6836 | 6838 |
6837 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6839 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6838 echo "configure:6839: checking the version of X11 being used" >&5 | 6840 echo "configure:6841: checking the version of X11 being used" >&5 |
6839 cat > conftest.$ac_ext <<EOF | 6841 cat > conftest.$ac_ext <<EOF |
6840 #line 6841 "configure" | 6842 #line 6843 "configure" |
6841 #include "confdefs.h" | 6843 #include "confdefs.h" |
6842 #include <X11/Intrinsic.h> | 6844 #include <X11/Intrinsic.h> |
6843 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6845 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6844 EOF | 6846 EOF |
6845 if { (eval echo configure:6846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6847 if { (eval echo configure:6848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6846 then | 6848 then |
6847 ./conftest foobar; x11_release=$? | 6849 ./conftest foobar; x11_release=$? |
6848 else | 6850 else |
6849 conftest_rc="$?" | 6851 conftest_rc="$?" |
6850 echo "configure: failed program was:" >&5 | 6852 echo "configure: failed program was:" >&5 |
6871 fi | 6873 fi |
6872 | 6874 |
6873 for ac_func in XConvertCase | 6875 for ac_func in XConvertCase |
6874 do | 6876 do |
6875 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6876 echo "configure:6877: checking for $ac_func" >&5 | 6878 echo "configure:6879: checking for $ac_func" >&5 |
6877 | 6879 |
6878 cat > conftest.$ac_ext <<EOF | 6880 cat > conftest.$ac_ext <<EOF |
6879 #line 6880 "configure" | 6881 #line 6882 "configure" |
6880 #include "confdefs.h" | 6882 #include "confdefs.h" |
6881 /* System header to define __stub macros and hopefully few prototypes, | 6883 /* System header to define __stub macros and hopefully few prototypes, |
6882 which can conflict with char $ac_func(); below. */ | 6884 which can conflict with char $ac_func(); below. */ |
6883 #include <assert.h> | 6885 #include <assert.h> |
6884 /* Override any gcc2 internal prototype to avoid an error. */ | 6886 /* Override any gcc2 internal prototype to avoid an error. */ |
6897 $ac_func(); | 6899 $ac_func(); |
6898 #endif | 6900 #endif |
6899 | 6901 |
6900 ; return 0; } | 6902 ; return 0; } |
6901 EOF | 6903 EOF |
6902 if { (eval echo configure:6903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6904 if { (eval echo configure:6905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6903 rm -rf conftest* | 6905 rm -rf conftest* |
6904 eval "ac_cv_func_$ac_func=yes" | 6906 eval "ac_cv_func_$ac_func=yes" |
6905 else | 6907 else |
6906 echo "configure: failed program was:" >&5 | 6908 echo "configure: failed program was:" >&5 |
6907 cat conftest.$ac_ext >&5 | 6909 cat conftest.$ac_ext >&5 |
6929 | 6931 |
6930 for ac_hdr in X11/Xlocale.h | 6932 for ac_hdr in X11/Xlocale.h |
6931 do | 6933 do |
6932 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6934 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6933 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6935 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6934 echo "configure:6935: checking for $ac_hdr" >&5 | 6936 echo "configure:6937: checking for $ac_hdr" >&5 |
6935 | 6937 |
6936 cat > conftest.$ac_ext <<EOF | 6938 cat > conftest.$ac_ext <<EOF |
6937 #line 6938 "configure" | 6939 #line 6940 "configure" |
6938 #include "confdefs.h" | 6940 #include "confdefs.h" |
6939 #include <$ac_hdr> | 6941 #include <$ac_hdr> |
6940 EOF | 6942 EOF |
6941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6942 { (eval echo configure:6943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6944 { (eval echo configure:6945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6943 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6945 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6944 if test -z "$ac_err"; then | 6946 if test -z "$ac_err"; then |
6945 rm -rf conftest* | 6947 rm -rf conftest* |
6946 eval "ac_cv_header_$ac_safe=yes" | 6948 eval "ac_cv_header_$ac_safe=yes" |
6947 else | 6949 else |
6970 | 6972 |
6971 | 6973 |
6972 for ac_func in XRegisterIMInstantiateCallback | 6974 for ac_func in XRegisterIMInstantiateCallback |
6973 do | 6975 do |
6974 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6976 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6975 echo "configure:6976: checking for $ac_func" >&5 | 6977 echo "configure:6978: checking for $ac_func" >&5 |
6976 | 6978 |
6977 cat > conftest.$ac_ext <<EOF | 6979 cat > conftest.$ac_ext <<EOF |
6978 #line 6979 "configure" | 6980 #line 6981 "configure" |
6979 #include "confdefs.h" | 6981 #include "confdefs.h" |
6980 /* System header to define __stub macros and hopefully few prototypes, | 6982 /* System header to define __stub macros and hopefully few prototypes, |
6981 which can conflict with char $ac_func(); below. */ | 6983 which can conflict with char $ac_func(); below. */ |
6982 #include <assert.h> | 6984 #include <assert.h> |
6983 /* Override any gcc2 internal prototype to avoid an error. */ | 6985 /* Override any gcc2 internal prototype to avoid an error. */ |
6996 $ac_func(); | 6998 $ac_func(); |
6997 #endif | 6999 #endif |
6998 | 7000 |
6999 ; return 0; } | 7001 ; return 0; } |
7000 EOF | 7002 EOF |
7001 if { (eval echo configure:7002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7003 if { (eval echo configure:7004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7002 rm -rf conftest* | 7004 rm -rf conftest* |
7003 eval "ac_cv_func_$ac_func=yes" | 7005 eval "ac_cv_func_$ac_func=yes" |
7004 else | 7006 else |
7005 echo "configure: failed program was:" >&5 | 7007 echo "configure: failed program was:" >&5 |
7006 cat conftest.$ac_ext >&5 | 7008 cat conftest.$ac_ext >&5 |
7024 echo "$ac_t""no" 1>&6 | 7026 echo "$ac_t""no" 1>&6 |
7025 fi | 7027 fi |
7026 done | 7028 done |
7027 | 7029 |
7028 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7030 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
7029 echo "configure:7030: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7031 echo "configure:7032: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
7030 cat > conftest.$ac_ext <<EOF | 7032 cat > conftest.$ac_ext <<EOF |
7031 #line 7032 "configure" | 7033 #line 7034 "configure" |
7032 #include "confdefs.h" | 7034 #include "confdefs.h" |
7033 | 7035 |
7034 #define NeedFunctionPrototypes 1 | 7036 #define NeedFunctionPrototypes 1 |
7035 #include <X11/Xlib.h> | 7037 #include <X11/Xlib.h> |
7036 extern Bool XRegisterIMInstantiateCallback( | 7038 extern Bool XRegisterIMInstantiateCallback( |
7038 | 7040 |
7039 int main() { | 7041 int main() { |
7040 | 7042 |
7041 ; return 0; } | 7043 ; return 0; } |
7042 EOF | 7044 EOF |
7043 if { (eval echo configure:7044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7045 if { (eval echo configure:7046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7044 rm -rf conftest* | 7046 rm -rf conftest* |
7045 echo "$ac_t""yes" 1>&6 | 7047 echo "$ac_t""yes" 1>&6 |
7046 else | 7048 else |
7047 echo "configure: failed program was:" >&5 | 7049 echo "configure: failed program was:" >&5 |
7048 cat conftest.$ac_ext >&5 | 7050 cat conftest.$ac_ext >&5 |
7059 fi | 7061 fi |
7060 rm -f conftest* | 7062 rm -f conftest* |
7061 | 7063 |
7062 test -z "$with_xmu" && { | 7064 test -z "$with_xmu" && { |
7063 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7065 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
7064 echo "configure:7065: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7066 echo "configure:7067: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
7065 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7067 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
7066 | 7068 |
7067 xe_check_libs=" -lXmu " | 7069 xe_check_libs=" -lXmu " |
7068 cat > conftest.$ac_ext <<EOF | 7070 cat > conftest.$ac_ext <<EOF |
7069 #line 7070 "configure" | 7071 #line 7072 "configure" |
7070 #include "confdefs.h" | 7072 #include "confdefs.h" |
7071 /* Override any gcc2 internal prototype to avoid an error. */ | 7073 /* Override any gcc2 internal prototype to avoid an error. */ |
7072 /* We use char because int might match the return type of a gcc2 | 7074 /* We use char because int might match the return type of a gcc2 |
7073 builtin and then its argument prototype would still apply. */ | 7075 builtin and then its argument prototype would still apply. */ |
7074 char XmuReadBitmapDataFromFile(); | 7076 char XmuReadBitmapDataFromFile(); |
7075 | 7077 |
7076 int main() { | 7078 int main() { |
7077 XmuReadBitmapDataFromFile() | 7079 XmuReadBitmapDataFromFile() |
7078 ; return 0; } | 7080 ; return 0; } |
7079 EOF | 7081 EOF |
7080 if { (eval echo configure:7081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7082 if { (eval echo configure:7083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7081 rm -rf conftest* | 7083 rm -rf conftest* |
7082 eval "ac_cv_lib_$ac_lib_var=yes" | 7084 eval "ac_cv_lib_$ac_lib_var=yes" |
7083 else | 7085 else |
7084 echo "configure: failed program was:" >&5 | 7086 echo "configure: failed program was:" >&5 |
7085 cat conftest.$ac_ext >&5 | 7087 cat conftest.$ac_ext >&5 |
7114 | 7116 |
7115 fi | 7117 fi |
7116 | 7118 |
7117 | 7119 |
7118 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7120 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7119 echo "configure:7120: checking for main in -lXbsd" >&5 | 7121 echo "configure:7122: checking for main in -lXbsd" >&5 |
7120 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7122 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7121 | 7123 |
7122 xe_check_libs=" -lXbsd " | 7124 xe_check_libs=" -lXbsd " |
7123 cat > conftest.$ac_ext <<EOF | 7125 cat > conftest.$ac_ext <<EOF |
7124 #line 7125 "configure" | 7126 #line 7127 "configure" |
7125 #include "confdefs.h" | 7127 #include "confdefs.h" |
7126 | 7128 |
7127 int main() { | 7129 int main() { |
7128 main() | 7130 main() |
7129 ; return 0; } | 7131 ; return 0; } |
7130 EOF | 7132 EOF |
7131 if { (eval echo configure:7132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7133 if { (eval echo configure:7134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7132 rm -rf conftest* | 7134 rm -rf conftest* |
7133 eval "ac_cv_lib_$ac_lib_var=yes" | 7135 eval "ac_cv_lib_$ac_lib_var=yes" |
7134 else | 7136 else |
7135 echo "configure: failed program was:" >&5 | 7137 echo "configure: failed program was:" >&5 |
7136 cat conftest.$ac_ext >&5 | 7138 cat conftest.$ac_ext >&5 |
7163 fi | 7165 fi |
7164 | 7166 |
7165 fi | 7167 fi |
7166 if test "$with_msw" != "no"; then | 7168 if test "$with_msw" != "no"; then |
7167 echo "checking for MS-Windows" 1>&6 | 7169 echo "checking for MS-Windows" 1>&6 |
7168 echo "configure:7169: checking for MS-Windows" >&5 | 7170 echo "configure:7171: checking for MS-Windows" >&5 |
7169 | 7171 |
7170 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7172 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7171 echo "configure:7172: checking for main in -lgdi32" >&5 | 7173 echo "configure:7174: checking for main in -lgdi32" >&5 |
7172 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7174 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7173 | 7175 |
7174 xe_check_libs=" -lgdi32 " | 7176 xe_check_libs=" -lgdi32 " |
7175 cat > conftest.$ac_ext <<EOF | 7177 cat > conftest.$ac_ext <<EOF |
7176 #line 7177 "configure" | 7178 #line 7179 "configure" |
7177 #include "confdefs.h" | 7179 #include "confdefs.h" |
7178 | 7180 |
7179 int main() { | 7181 int main() { |
7180 main() | 7182 main() |
7181 ; return 0; } | 7183 ; return 0; } |
7182 EOF | 7184 EOF |
7183 if { (eval echo configure:7184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7185 if { (eval echo configure:7186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7184 rm -rf conftest* | 7186 rm -rf conftest* |
7185 eval "ac_cv_lib_$ac_lib_var=yes" | 7187 eval "ac_cv_lib_$ac_lib_var=yes" |
7186 else | 7188 else |
7187 echo "configure: failed program was:" >&5 | 7189 echo "configure: failed program was:" >&5 |
7188 cat conftest.$ac_ext >&5 | 7190 cat conftest.$ac_ext >&5 |
7229 test "$with_toolbars" != "no" && with_toolbars=msw | 7231 test "$with_toolbars" != "no" && with_toolbars=msw |
7230 test "$with_dialogs" != "no" && with_dialogs=msw | 7232 test "$with_dialogs" != "no" && with_dialogs=msw |
7231 test "$with_widgets" != "no" && with_widgets=msw | 7233 test "$with_widgets" != "no" && with_widgets=msw |
7232 fi | 7234 fi |
7233 cat > conftest.$ac_ext <<EOF | 7235 cat > conftest.$ac_ext <<EOF |
7234 #line 7235 "configure" | 7236 #line 7237 "configure" |
7235 #include "confdefs.h" | 7237 #include "confdefs.h" |
7236 #include <fcntl.h> | 7238 #include <fcntl.h> |
7237 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7239 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7238 EOF | 7240 EOF |
7239 if { (eval echo configure:7240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7241 if { (eval echo configure:7242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7240 then | 7242 then |
7241 { test "$extra_verbose" = "yes" && cat << \EOF | 7243 { test "$extra_verbose" = "yes" && cat << \EOF |
7242 Defining HAVE_MSG_SELECT | 7244 Defining HAVE_MSG_SELECT |
7243 EOF | 7245 EOF |
7244 cat >> confdefs.h <<\EOF | 7246 cat >> confdefs.h <<\EOF |
7295 fi | 7297 fi |
7296 | 7298 |
7297 if test "$with_x11" = "yes"; then | 7299 if test "$with_x11" = "yes"; then |
7298 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7300 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7299 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7301 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7300 echo "configure:7301: checking for X11/extensions/shape.h" >&5 | 7302 echo "configure:7303: checking for X11/extensions/shape.h" >&5 |
7301 | 7303 |
7302 cat > conftest.$ac_ext <<EOF | 7304 cat > conftest.$ac_ext <<EOF |
7303 #line 7304 "configure" | 7305 #line 7306 "configure" |
7304 #include "confdefs.h" | 7306 #include "confdefs.h" |
7305 #include <X11/extensions/shape.h> | 7307 #include <X11/extensions/shape.h> |
7306 EOF | 7308 EOF |
7307 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7309 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7308 { (eval echo configure:7309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7310 { (eval echo configure:7311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7309 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7311 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7310 if test -z "$ac_err"; then | 7312 if test -z "$ac_err"; then |
7311 rm -rf conftest* | 7313 rm -rf conftest* |
7312 eval "ac_cv_header_$ac_safe=yes" | 7314 eval "ac_cv_header_$ac_safe=yes" |
7313 else | 7315 else |
7353 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7355 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7354 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7356 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7355 esac | 7357 esac |
7356 | 7358 |
7357 echo "checking for WM_COMMAND option" 1>&6 | 7359 echo "checking for WM_COMMAND option" 1>&6 |
7358 echo "configure:7359: checking for WM_COMMAND option" >&5; | 7360 echo "configure:7361: checking for WM_COMMAND option" >&5; |
7359 if test "$with_wmcommand" != "no"; then | 7361 if test "$with_wmcommand" != "no"; then |
7360 { test "$extra_verbose" = "yes" && cat << \EOF | 7362 { test "$extra_verbose" = "yes" && cat << \EOF |
7361 Defining HAVE_WMCOMMAND | 7363 Defining HAVE_WMCOMMAND |
7362 EOF | 7364 EOF |
7363 cat >> confdefs.h <<\EOF | 7365 cat >> confdefs.h <<\EOF |
7368 fi | 7370 fi |
7369 | 7371 |
7370 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7372 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7371 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7373 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7372 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7374 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7373 echo "configure:7374: checking for X11/Xauth.h" >&5 | 7375 echo "configure:7376: checking for X11/Xauth.h" >&5 |
7374 | 7376 |
7375 cat > conftest.$ac_ext <<EOF | 7377 cat > conftest.$ac_ext <<EOF |
7376 #line 7377 "configure" | 7378 #line 7379 "configure" |
7377 #include "confdefs.h" | 7379 #include "confdefs.h" |
7378 #include <X11/Xauth.h> | 7380 #include <X11/Xauth.h> |
7379 EOF | 7381 EOF |
7380 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7382 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7381 { (eval echo configure:7382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7383 { (eval echo configure:7384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7382 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7384 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7383 if test -z "$ac_err"; then | 7385 if test -z "$ac_err"; then |
7384 rm -rf conftest* | 7386 rm -rf conftest* |
7385 eval "ac_cv_header_$ac_safe=yes" | 7387 eval "ac_cv_header_$ac_safe=yes" |
7386 else | 7388 else |
7399 with_xauth=no | 7401 with_xauth=no |
7400 fi | 7402 fi |
7401 } | 7403 } |
7402 test -z "$with_xauth" && { | 7404 test -z "$with_xauth" && { |
7403 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7405 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7404 echo "configure:7405: checking for XauGetAuthByAddr in -lXau" >&5 | 7406 echo "configure:7407: checking for XauGetAuthByAddr in -lXau" >&5 |
7405 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7407 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7406 | 7408 |
7407 xe_check_libs=" -lXau " | 7409 xe_check_libs=" -lXau " |
7408 cat > conftest.$ac_ext <<EOF | 7410 cat > conftest.$ac_ext <<EOF |
7409 #line 7410 "configure" | 7411 #line 7412 "configure" |
7410 #include "confdefs.h" | 7412 #include "confdefs.h" |
7411 /* Override any gcc2 internal prototype to avoid an error. */ | 7413 /* Override any gcc2 internal prototype to avoid an error. */ |
7412 /* We use char because int might match the return type of a gcc2 | 7414 /* We use char because int might match the return type of a gcc2 |
7413 builtin and then its argument prototype would still apply. */ | 7415 builtin and then its argument prototype would still apply. */ |
7414 char XauGetAuthByAddr(); | 7416 char XauGetAuthByAddr(); |
7415 | 7417 |
7416 int main() { | 7418 int main() { |
7417 XauGetAuthByAddr() | 7419 XauGetAuthByAddr() |
7418 ; return 0; } | 7420 ; return 0; } |
7419 EOF | 7421 EOF |
7420 if { (eval echo configure:7421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7422 if { (eval echo configure:7423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7421 rm -rf conftest* | 7423 rm -rf conftest* |
7422 eval "ac_cv_lib_$ac_lib_var=yes" | 7424 eval "ac_cv_lib_$ac_lib_var=yes" |
7423 else | 7425 else |
7424 echo "configure: failed program was:" >&5 | 7426 echo "configure: failed program was:" >&5 |
7425 cat conftest.$ac_ext >&5 | 7427 cat conftest.$ac_ext >&5 |
7462 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" | 7464 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" |
7463 : ${XEMACS_CC:="$CC"} | 7465 : ${XEMACS_CC:="$CC"} |
7464 | 7466 |
7465 if test "$with_modules" != "no"; then | 7467 if test "$with_modules" != "no"; then |
7466 echo "checking for module support" 1>&6 | 7468 echo "checking for module support" 1>&6 |
7467 echo "configure:7468: checking for module support" >&5 | 7469 echo "configure:7470: checking for module support" >&5 |
7468 | 7470 |
7469 if test "$with_msw" = "yes"; then | 7471 if test "$with_msw" = "yes"; then |
7470 have_dl=yes; | 7472 have_dl=yes; |
7471 else | 7473 else |
7472 case "$opsys" in | 7474 case "$opsys" in |
7479 } | 7481 } |
7480 ;; | 7482 ;; |
7481 * ) | 7483 * ) |
7482 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7484 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
7483 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7485 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7484 echo "configure:7485: checking for dlfcn.h" >&5 | 7486 echo "configure:7487: checking for dlfcn.h" >&5 |
7485 | 7487 |
7486 cat > conftest.$ac_ext <<EOF | 7488 cat > conftest.$ac_ext <<EOF |
7487 #line 7488 "configure" | 7489 #line 7490 "configure" |
7488 #include "confdefs.h" | 7490 #include "confdefs.h" |
7489 #include <dlfcn.h> | 7491 #include <dlfcn.h> |
7490 EOF | 7492 EOF |
7491 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7493 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7492 { (eval echo configure:7493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7494 { (eval echo configure:7495: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7493 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7495 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7494 if test -z "$ac_err"; then | 7496 if test -z "$ac_err"; then |
7495 rm -rf conftest* | 7497 rm -rf conftest* |
7496 eval "ac_cv_header_$ac_safe=yes" | 7498 eval "ac_cv_header_$ac_safe=yes" |
7497 else | 7499 else |
7504 rm -f conftest* | 7506 rm -f conftest* |
7505 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7507 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7506 echo "$ac_t""yes" 1>&6 | 7508 echo "$ac_t""yes" 1>&6 |
7507 | 7509 |
7508 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7510 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
7509 echo "configure:7510: checking for dlopen in -lc" >&5 | 7511 echo "configure:7512: checking for dlopen in -lc" >&5 |
7510 cat > conftest.$ac_ext <<EOF | 7512 cat > conftest.$ac_ext <<EOF |
7511 #line 7512 "configure" | 7513 #line 7514 "configure" |
7512 #include "confdefs.h" | 7514 #include "confdefs.h" |
7513 #include <dlfcn.h> | 7515 #include <dlfcn.h> |
7514 int main() { | 7516 int main() { |
7515 dlopen ("", 0); | 7517 dlopen ("", 0); |
7516 ; return 0; } | 7518 ; return 0; } |
7517 EOF | 7519 EOF |
7518 if { (eval echo configure:7519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7520 if { (eval echo configure:7521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7519 rm -rf conftest* | 7521 rm -rf conftest* |
7520 have_dl=yes | 7522 have_dl=yes |
7521 else | 7523 else |
7522 echo "configure: failed program was:" >&5 | 7524 echo "configure: failed program was:" >&5 |
7523 cat conftest.$ac_ext >&5 | 7525 cat conftest.$ac_ext >&5 |
7524 rm -rf conftest* | 7526 rm -rf conftest* |
7525 | 7527 |
7526 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7528 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
7527 echo "configure:7528: checking for dlopen in -ldl" >&5 | 7529 echo "configure:7530: checking for dlopen in -ldl" >&5 |
7528 ac_save_LIBS="$LIBS" | 7530 ac_save_LIBS="$LIBS" |
7529 LIBS="-ldl $LIBS" | 7531 LIBS="-ldl $LIBS" |
7530 cat > conftest.$ac_ext <<EOF | 7532 cat > conftest.$ac_ext <<EOF |
7531 #line 7532 "configure" | 7533 #line 7534 "configure" |
7532 #include "confdefs.h" | 7534 #include "confdefs.h" |
7533 #include <dlfcn.h> | 7535 #include <dlfcn.h> |
7534 int main() { | 7536 int main() { |
7535 dlopen ("", 0); | 7537 dlopen ("", 0); |
7536 ; return 0; } | 7538 ; return 0; } |
7537 EOF | 7539 EOF |
7538 if { (eval echo configure:7539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7540 if { (eval echo configure:7541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7539 rm -rf conftest* | 7541 rm -rf conftest* |
7540 have_dl=yes | 7542 have_dl=yes |
7541 else | 7543 else |
7542 echo "configure: failed program was:" >&5 | 7544 echo "configure: failed program was:" >&5 |
7543 cat conftest.$ac_ext >&5 | 7545 cat conftest.$ac_ext >&5 |
7562 } | 7564 } |
7563 | 7565 |
7564 else | 7566 else |
7565 | 7567 |
7566 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 7568 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
7567 echo "configure:7568: checking for shl_load in -ldld" >&5 | 7569 echo "configure:7570: checking for shl_load in -ldld" >&5 |
7568 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 7570 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
7569 | 7571 |
7570 xe_check_libs=" -ldld " | 7572 xe_check_libs=" -ldld " |
7571 cat > conftest.$ac_ext <<EOF | 7573 cat > conftest.$ac_ext <<EOF |
7572 #line 7573 "configure" | 7574 #line 7575 "configure" |
7573 #include "confdefs.h" | 7575 #include "confdefs.h" |
7574 /* Override any gcc2 internal prototype to avoid an error. */ | 7576 /* Override any gcc2 internal prototype to avoid an error. */ |
7575 /* We use char because int might match the return type of a gcc2 | 7577 /* We use char because int might match the return type of a gcc2 |
7576 builtin and then its argument prototype would still apply. */ | 7578 builtin and then its argument prototype would still apply. */ |
7577 char shl_load(); | 7579 char shl_load(); |
7578 | 7580 |
7579 int main() { | 7581 int main() { |
7580 shl_load() | 7582 shl_load() |
7581 ; return 0; } | 7583 ; return 0; } |
7582 EOF | 7584 EOF |
7583 if { (eval echo configure:7584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7585 if { (eval echo configure:7586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7584 rm -rf conftest* | 7586 rm -rf conftest* |
7585 eval "ac_cv_lib_$ac_lib_var=yes" | 7587 eval "ac_cv_lib_$ac_lib_var=yes" |
7586 else | 7588 else |
7587 echo "configure: failed program was:" >&5 | 7589 echo "configure: failed program was:" >&5 |
7588 cat conftest.$ac_ext >&5 | 7590 cat conftest.$ac_ext >&5 |
7605 | 7607 |
7606 else | 7608 else |
7607 echo "$ac_t""no" 1>&6 | 7609 echo "$ac_t""no" 1>&6 |
7608 | 7610 |
7609 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 7611 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
7610 echo "configure:7611: checking for dld_init in -ldld" >&5 | 7612 echo "configure:7613: checking for dld_init in -ldld" >&5 |
7611 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 7613 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
7612 | 7614 |
7613 xe_check_libs=" -ldld " | 7615 xe_check_libs=" -ldld " |
7614 cat > conftest.$ac_ext <<EOF | 7616 cat > conftest.$ac_ext <<EOF |
7615 #line 7616 "configure" | 7617 #line 7618 "configure" |
7616 #include "confdefs.h" | 7618 #include "confdefs.h" |
7617 /* Override any gcc2 internal prototype to avoid an error. */ | 7619 /* Override any gcc2 internal prototype to avoid an error. */ |
7618 /* We use char because int might match the return type of a gcc2 | 7620 /* We use char because int might match the return type of a gcc2 |
7619 builtin and then its argument prototype would still apply. */ | 7621 builtin and then its argument prototype would still apply. */ |
7620 char dld_init(); | 7622 char dld_init(); |
7621 | 7623 |
7622 int main() { | 7624 int main() { |
7623 dld_init() | 7625 dld_init() |
7624 ; return 0; } | 7626 ; return 0; } |
7625 EOF | 7627 EOF |
7626 if { (eval echo configure:7627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7628 if { (eval echo configure:7629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7627 rm -rf conftest* | 7629 rm -rf conftest* |
7628 eval "ac_cv_lib_$ac_lib_var=yes" | 7630 eval "ac_cv_lib_$ac_lib_var=yes" |
7629 else | 7631 else |
7630 echo "configure: failed program was:" >&5 | 7632 echo "configure: failed program was:" >&5 |
7631 cat conftest.$ac_ext >&5 | 7633 cat conftest.$ac_ext >&5 |
7666 ld_dynamic_link_flags= | 7668 ld_dynamic_link_flags= |
7667 xehost=$canonical | 7669 xehost=$canonical |
7668 xealias=$internal_configuration | 7670 xealias=$internal_configuration |
7669 | 7671 |
7670 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7672 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
7671 echo "configure:7672: checking how to build dynamic libraries for ${xehost}" >&5 | 7673 echo "configure:7674: checking how to build dynamic libraries for ${xehost}" >&5 |
7672 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7674 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
7673 case "$xehost" in | 7675 case "$xehost" in |
7674 *-*-linux-gnu*) ;; | 7676 *-*-linux-gnu*) ;; |
7675 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7677 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
7676 esac | 7678 esac |
7694 # Now see if the compiler is really GCC. | 7696 # Now see if the compiler is really GCC. |
7695 if test "$GCC" = "yes"; then | 7697 if test "$GCC" = "yes"; then |
7696 XEGCC=yes | 7698 XEGCC=yes |
7697 else | 7699 else |
7698 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7700 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
7699 echo "configure:7700: checking checking whether we are using GNU C" >&5 | 7701 echo "configure:7702: checking checking whether we are using GNU C" >&5 |
7700 cat > conftest.$ac_ext <<EOF | 7702 cat > conftest.$ac_ext <<EOF |
7701 #line 7702 "configure" | 7703 #line 7704 "configure" |
7702 #include "confdefs.h" | 7704 #include "confdefs.h" |
7703 | 7705 |
7704 #ifdef __GNUC__ | 7706 #ifdef __GNUC__ |
7705 yes; | 7707 yes; |
7706 #endif | 7708 #endif |
7718 | 7720 |
7719 echo "$ac_t""${XEGCC}" 1>&6 | 7721 echo "$ac_t""${XEGCC}" 1>&6 |
7720 fi | 7722 fi |
7721 | 7723 |
7722 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7724 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
7723 echo "configure:7724: checking how to produce PIC code" >&5 | 7725 echo "configure:7726: checking how to produce PIC code" >&5 |
7724 wl= | 7726 wl= |
7725 | 7727 |
7726 can_build_shared=yes | 7728 can_build_shared=yes |
7727 cygwin_warn= | 7729 cygwin_warn= |
7728 if test "$XEGCC" = yes; then | 7730 if test "$XEGCC" = yes; then |
7824 if test -n "$dll_cflags"; then | 7826 if test -n "$dll_cflags"; then |
7825 echo "$ac_t""${dll_cflags}" 1>&6 | 7827 echo "$ac_t""${dll_cflags}" 1>&6 |
7826 | 7828 |
7827 # Check to make sure the dll_cflags actually works. | 7829 # Check to make sure the dll_cflags actually works. |
7828 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 7830 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
7829 echo "configure:7830: checking if PIC flag ${dll_cflags} really works" >&5 | 7831 echo "configure:7832: checking if PIC flag ${dll_cflags} really works" >&5 |
7830 save_CFLAGS="$CFLAGS" | 7832 save_CFLAGS="$CFLAGS" |
7831 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 7833 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
7832 cat > conftest.$ac_ext <<EOF | 7834 cat > conftest.$ac_ext <<EOF |
7833 #line 7834 "configure" | 7835 #line 7836 "configure" |
7834 #include "confdefs.h" | 7836 #include "confdefs.h" |
7835 | 7837 |
7836 int main() { | 7838 int main() { |
7837 int x=0; | 7839 int x=0; |
7838 ; return 0; } | 7840 ; return 0; } |
7839 EOF | 7841 EOF |
7840 if { (eval echo configure:7841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7842 if { (eval echo configure:7843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7841 rm -rf conftest* | 7843 rm -rf conftest* |
7842 | 7844 |
7843 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 7845 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
7844 # reports no error. So, we need to grep stderr for (Bundled). | 7846 # reports no error. So, we need to grep stderr for (Bundled). |
7845 if grep '(Bundled)' config.log >/dev/null; then | 7847 if grep '(Bundled)' config.log >/dev/null; then |
7870 if test "$can_build_shared" = "yes"; then | 7872 if test "$can_build_shared" = "yes"; then |
7871 cc_produces_so=no | 7873 cc_produces_so=no |
7872 xldf= | 7874 xldf= |
7873 xcldf= | 7875 xcldf= |
7874 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 7876 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
7875 echo "configure:7876: checking if C compiler can produce shared libraries" >&5 | 7877 echo "configure:7878: checking if C compiler can produce shared libraries" >&5 |
7876 if test "$XEGCC" = yes; then | 7878 if test "$XEGCC" = yes; then |
7877 xcldf="-shared" | 7879 xcldf="-shared" |
7878 xldf="-shared" | 7880 xldf="-shared" |
7879 else # Not using GCC | 7881 else # Not using GCC |
7880 case "$xehost_os" in | 7882 case "$xehost_os" in |
7921 LDFLAGS="$xcldf $LDFLAGS" | 7923 LDFLAGS="$xcldf $LDFLAGS" |
7922 LIBS= | 7924 LIBS= |
7923 xe_libs= | 7925 xe_libs= |
7924 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 7926 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
7925 cat > conftest.$ac_ext <<EOF | 7927 cat > conftest.$ac_ext <<EOF |
7926 #line 7927 "configure" | 7928 #line 7929 "configure" |
7927 #include "confdefs.h" | 7929 #include "confdefs.h" |
7928 | 7930 |
7929 int main() { | 7931 int main() { |
7930 int x=0; | 7932 int x=0; |
7931 ; return 0; } | 7933 ; return 0; } |
7932 EOF | 7934 EOF |
7933 if { (eval echo configure:7934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7935 if { (eval echo configure:7936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7934 rm -rf conftest* | 7936 rm -rf conftest* |
7935 cc_produces_so=yes | 7937 cc_produces_so=yes |
7936 else | 7938 else |
7937 echo "configure: failed program was:" >&5 | 7939 echo "configure: failed program was:" >&5 |
7938 cat conftest.$ac_ext >&5 | 7940 cat conftest.$ac_ext >&5 |
7953 if test -z "$LTLD"; then | 7955 if test -z "$LTLD"; then |
7954 ac_prog=ld | 7956 ac_prog=ld |
7955 if test "$XEGCC" = yes; then | 7957 if test "$XEGCC" = yes; then |
7956 # Check if gcc -print-prog-name=ld gives a path. | 7958 # Check if gcc -print-prog-name=ld gives a path. |
7957 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 7959 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
7958 echo "configure:7959: checking for ld used by GCC" >&5 | 7960 echo "configure:7961: checking for ld used by GCC" >&5 |
7959 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 7961 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
7960 case "$ac_prog" in | 7962 case "$ac_prog" in |
7961 # Accept absolute paths. | 7963 # Accept absolute paths. |
7962 /*) | 7964 /*) |
7963 if test -z "$LTLD"; then | 7965 if test -z "$LTLD"; then |
7979 with_gnu_ld=unknown | 7981 with_gnu_ld=unknown |
7980 ;; | 7982 ;; |
7981 esac | 7983 esac |
7982 else | 7984 else |
7983 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 7985 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
7984 echo "configure:7985: checking for GNU ld" >&5 | 7986 echo "configure:7987: checking for GNU ld" >&5 |
7985 fi | 7987 fi |
7986 | 7988 |
7987 if test -z "$LTLD"; then | 7989 if test -z "$LTLD"; then |
7988 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 7990 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
7989 for ac_dir in $PATH; do | 7991 for ac_dir in $PATH; do |
8017 | 8019 |
8018 ld_dynamic_link_flags= | 8020 ld_dynamic_link_flags= |
8019 | 8021 |
8020 # Check to see if it really is or isn't GNU ld. | 8022 # Check to see if it really is or isn't GNU ld. |
8021 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8023 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
8022 echo "configure:8023: checking if the linker is GNU ld" >&5 | 8024 echo "configure:8025: checking if the linker is GNU ld" >&5 |
8023 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8025 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
8024 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8026 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
8025 xe_gnu_ld=yes | 8027 xe_gnu_ld=yes |
8026 else | 8028 else |
8027 xe_gnu_ld=no | 8029 xe_gnu_ld=no |
8045 ld_shlibs=yes | 8047 ld_shlibs=yes |
8046 else | 8048 else |
8047 # OK - only NOW do we futz about with ld. | 8049 # OK - only NOW do we futz about with ld. |
8048 # See if the linker supports building shared libraries. | 8050 # See if the linker supports building shared libraries. |
8049 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8051 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
8050 echo "configure:8051: checking whether the linker supports shared libraries" >&5 | 8052 echo "configure:8053: checking whether the linker supports shared libraries" >&5 |
8051 dll_ld=$CC | 8053 dll_ld=$CC |
8052 dll_ldflags=$LDFLAGS | 8054 dll_ldflags=$LDFLAGS |
8053 ld_shlibs=yes | 8055 ld_shlibs=yes |
8054 can_build_shared=yes | 8056 can_build_shared=yes |
8055 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8057 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
8253 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8255 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8254 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8256 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8255 for ac_func in dlerror _dlerror | 8257 for ac_func in dlerror _dlerror |
8256 do | 8258 do |
8257 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8259 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8258 echo "configure:8259: checking for $ac_func" >&5 | 8260 echo "configure:8261: checking for $ac_func" >&5 |
8259 | 8261 |
8260 cat > conftest.$ac_ext <<EOF | 8262 cat > conftest.$ac_ext <<EOF |
8261 #line 8262 "configure" | 8263 #line 8264 "configure" |
8262 #include "confdefs.h" | 8264 #include "confdefs.h" |
8263 /* System header to define __stub macros and hopefully few prototypes, | 8265 /* System header to define __stub macros and hopefully few prototypes, |
8264 which can conflict with char $ac_func(); below. */ | 8266 which can conflict with char $ac_func(); below. */ |
8265 #include <assert.h> | 8267 #include <assert.h> |
8266 /* Override any gcc2 internal prototype to avoid an error. */ | 8268 /* Override any gcc2 internal prototype to avoid an error. */ |
8279 $ac_func(); | 8281 $ac_func(); |
8280 #endif | 8282 #endif |
8281 | 8283 |
8282 ; return 0; } | 8284 ; return 0; } |
8283 EOF | 8285 EOF |
8284 if { (eval echo configure:8285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8286 if { (eval echo configure:8287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8285 rm -rf conftest* | 8287 rm -rf conftest* |
8286 eval "ac_cv_func_$ac_func=yes" | 8288 eval "ac_cv_func_$ac_func=yes" |
8287 else | 8289 else |
8288 echo "configure: failed program was:" >&5 | 8290 echo "configure: failed program was:" >&5 |
8289 cat conftest.$ac_ext >&5 | 8291 cat conftest.$ac_ext >&5 |
8341 | 8343 |
8342 if test "$with_tooltalk" != "no" ; then | 8344 if test "$with_tooltalk" != "no" ; then |
8343 for dir in "" "Tt/" "desktop/" ; do | 8345 for dir in "" "Tt/" "desktop/" ; do |
8344 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8346 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8345 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8347 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8346 echo "configure:8347: checking for ${dir}tt_c.h" >&5 | 8348 echo "configure:8349: checking for ${dir}tt_c.h" >&5 |
8347 | 8349 |
8348 cat > conftest.$ac_ext <<EOF | 8350 cat > conftest.$ac_ext <<EOF |
8349 #line 8350 "configure" | 8351 #line 8352 "configure" |
8350 #include "confdefs.h" | 8352 #include "confdefs.h" |
8351 #include <${dir}tt_c.h> | 8353 #include <${dir}tt_c.h> |
8352 EOF | 8354 EOF |
8353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8355 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8354 { (eval echo configure:8355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8356 { (eval echo configure:8357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8355 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8357 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8356 if test -z "$ac_err"; then | 8358 if test -z "$ac_err"; then |
8357 rm -rf conftest* | 8359 rm -rf conftest* |
8358 eval "ac_cv_header_$ac_safe=yes" | 8360 eval "ac_cv_header_$ac_safe=yes" |
8359 else | 8361 else |
8385 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8387 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8386 | 8388 |
8387 xe_msg_checking="for tt_message_create in -ltt" | 8389 xe_msg_checking="for tt_message_create in -ltt" |
8388 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8390 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8389 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8391 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8390 echo "configure:8391: checking "$xe_msg_checking"" >&5 | 8392 echo "configure:8393: checking "$xe_msg_checking"" >&5 |
8391 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8393 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8392 | 8394 |
8393 xe_check_libs=" -ltt $extra_libs" | 8395 xe_check_libs=" -ltt $extra_libs" |
8394 cat > conftest.$ac_ext <<EOF | 8396 cat > conftest.$ac_ext <<EOF |
8395 #line 8396 "configure" | 8397 #line 8398 "configure" |
8396 #include "confdefs.h" | 8398 #include "confdefs.h" |
8397 /* Override any gcc2 internal prototype to avoid an error. */ | 8399 /* Override any gcc2 internal prototype to avoid an error. */ |
8398 /* We use char because int might match the return type of a gcc2 | 8400 /* We use char because int might match the return type of a gcc2 |
8399 builtin and then its argument prototype would still apply. */ | 8401 builtin and then its argument prototype would still apply. */ |
8400 char tt_message_create(); | 8402 char tt_message_create(); |
8401 | 8403 |
8402 int main() { | 8404 int main() { |
8403 tt_message_create() | 8405 tt_message_create() |
8404 ; return 0; } | 8406 ; return 0; } |
8405 EOF | 8407 EOF |
8406 if { (eval echo configure:8407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8408 if { (eval echo configure:8409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8407 rm -rf conftest* | 8409 rm -rf conftest* |
8408 eval "ac_cv_lib_$ac_lib_var=yes" | 8410 eval "ac_cv_lib_$ac_lib_var=yes" |
8409 else | 8411 else |
8410 echo "configure: failed program was:" >&5 | 8412 echo "configure: failed program was:" >&5 |
8411 cat conftest.$ac_ext >&5 | 8413 cat conftest.$ac_ext >&5 |
8455 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8457 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8456 fi | 8458 fi |
8457 | 8459 |
8458 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8460 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8459 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8461 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8460 echo "configure:8461: checking for Dt/Dt.h" >&5 | 8462 echo "configure:8463: checking for Dt/Dt.h" >&5 |
8461 | 8463 |
8462 cat > conftest.$ac_ext <<EOF | 8464 cat > conftest.$ac_ext <<EOF |
8463 #line 8464 "configure" | 8465 #line 8466 "configure" |
8464 #include "confdefs.h" | 8466 #include "confdefs.h" |
8465 #include <Dt/Dt.h> | 8467 #include <Dt/Dt.h> |
8466 EOF | 8468 EOF |
8467 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8469 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8468 { (eval echo configure:8469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8470 { (eval echo configure:8471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8469 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8471 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8470 if test -z "$ac_err"; then | 8472 if test -z "$ac_err"; then |
8471 rm -rf conftest* | 8473 rm -rf conftest* |
8472 eval "ac_cv_header_$ac_safe=yes" | 8474 eval "ac_cv_header_$ac_safe=yes" |
8473 else | 8475 else |
8486 with_cde=no | 8488 with_cde=no |
8487 fi | 8489 fi |
8488 } | 8490 } |
8489 test -z "$with_cde" && { | 8491 test -z "$with_cde" && { |
8490 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8492 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8491 echo "configure:8492: checking for DtDndDragStart in -lDtSvc" >&5 | 8493 echo "configure:8494: checking for DtDndDragStart in -lDtSvc" >&5 |
8492 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8494 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8493 | 8495 |
8494 xe_check_libs=" -lDtSvc " | 8496 xe_check_libs=" -lDtSvc " |
8495 cat > conftest.$ac_ext <<EOF | 8497 cat > conftest.$ac_ext <<EOF |
8496 #line 8497 "configure" | 8498 #line 8499 "configure" |
8497 #include "confdefs.h" | 8499 #include "confdefs.h" |
8498 /* Override any gcc2 internal prototype to avoid an error. */ | 8500 /* Override any gcc2 internal prototype to avoid an error. */ |
8499 /* We use char because int might match the return type of a gcc2 | 8501 /* We use char because int might match the return type of a gcc2 |
8500 builtin and then its argument prototype would still apply. */ | 8502 builtin and then its argument prototype would still apply. */ |
8501 char DtDndDragStart(); | 8503 char DtDndDragStart(); |
8502 | 8504 |
8503 int main() { | 8505 int main() { |
8504 DtDndDragStart() | 8506 DtDndDragStart() |
8505 ; return 0; } | 8507 ; return 0; } |
8506 EOF | 8508 EOF |
8507 if { (eval echo configure:8508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8509 if { (eval echo configure:8510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8508 rm -rf conftest* | 8510 rm -rf conftest* |
8509 eval "ac_cv_lib_$ac_lib_var=yes" | 8511 eval "ac_cv_lib_$ac_lib_var=yes" |
8510 else | 8512 else |
8511 echo "configure: failed program was:" >&5 | 8513 echo "configure: failed program was:" >&5 |
8512 cat conftest.$ac_ext >&5 | 8514 cat conftest.$ac_ext >&5 |
8583 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8585 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8584 fi | 8586 fi |
8585 | 8587 |
8586 if test "$with_dragndrop" != "no" ; then | 8588 if test "$with_dragndrop" != "no" ; then |
8587 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8589 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8588 echo "configure:8589: checking if drag and drop API is needed" >&5 | 8590 echo "configure:8591: checking if drag and drop API is needed" >&5 |
8589 if test -n "$dragndrop_proto" ; then | 8591 if test -n "$dragndrop_proto" ; then |
8590 with_dragndrop=yes | 8592 with_dragndrop=yes |
8591 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8593 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8592 { test "$extra_verbose" = "yes" && cat << \EOF | 8594 { test "$extra_verbose" = "yes" && cat << \EOF |
8593 Defining HAVE_DRAGNDROP | 8595 Defining HAVE_DRAGNDROP |
8603 echo "$ac_t""no" 1>&6 | 8605 echo "$ac_t""no" 1>&6 |
8604 fi | 8606 fi |
8605 fi | 8607 fi |
8606 | 8608 |
8607 echo "checking for LDAP" 1>&6 | 8609 echo "checking for LDAP" 1>&6 |
8608 echo "configure:8609: checking for LDAP" >&5 | 8610 echo "configure:8611: checking for LDAP" >&5 |
8609 ldap_libs= | 8611 ldap_libs= |
8610 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8612 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8611 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8613 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8612 echo "configure:8613: checking for ldap.h" >&5 | 8614 echo "configure:8615: checking for ldap.h" >&5 |
8613 | 8615 |
8614 cat > conftest.$ac_ext <<EOF | 8616 cat > conftest.$ac_ext <<EOF |
8615 #line 8616 "configure" | 8617 #line 8618 "configure" |
8616 #include "confdefs.h" | 8618 #include "confdefs.h" |
8617 #include <ldap.h> | 8619 #include <ldap.h> |
8618 EOF | 8620 EOF |
8619 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8620 { (eval echo configure:8621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8622 { (eval echo configure:8623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8621 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8622 if test -z "$ac_err"; then | 8624 if test -z "$ac_err"; then |
8623 rm -rf conftest* | 8625 rm -rf conftest* |
8624 eval "ac_cv_header_$ac_safe=yes" | 8626 eval "ac_cv_header_$ac_safe=yes" |
8625 else | 8627 else |
8638 with_ldap=no | 8640 with_ldap=no |
8639 fi | 8641 fi |
8640 } | 8642 } |
8641 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8643 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8642 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8644 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8643 echo "configure:8644: checking for lber.h" >&5 | 8645 echo "configure:8646: checking for lber.h" >&5 |
8644 | 8646 |
8645 cat > conftest.$ac_ext <<EOF | 8647 cat > conftest.$ac_ext <<EOF |
8646 #line 8647 "configure" | 8648 #line 8649 "configure" |
8647 #include "confdefs.h" | 8649 #include "confdefs.h" |
8648 #include <lber.h> | 8650 #include <lber.h> |
8649 EOF | 8651 EOF |
8650 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8652 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8651 { (eval echo configure:8652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8653 { (eval echo configure:8654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8652 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8654 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8653 if test -z "$ac_err"; then | 8655 if test -z "$ac_err"; then |
8654 rm -rf conftest* | 8656 rm -rf conftest* |
8655 eval "ac_cv_header_$ac_safe=yes" | 8657 eval "ac_cv_header_$ac_safe=yes" |
8656 else | 8658 else |
8670 fi | 8672 fi |
8671 } | 8673 } |
8672 if test "$with_ldap" != "no"; then | 8674 if test "$with_ldap" != "no"; then |
8673 | 8675 |
8674 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8676 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8675 echo "configure:8676: checking for ldap_search in -lldap" >&5 | 8677 echo "configure:8678: checking for ldap_search in -lldap" >&5 |
8676 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8678 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8677 | 8679 |
8678 xe_check_libs=" -lldap " | 8680 xe_check_libs=" -lldap " |
8679 cat > conftest.$ac_ext <<EOF | 8681 cat > conftest.$ac_ext <<EOF |
8680 #line 8681 "configure" | 8682 #line 8683 "configure" |
8681 #include "confdefs.h" | 8683 #include "confdefs.h" |
8682 /* Override any gcc2 internal prototype to avoid an error. */ | 8684 /* Override any gcc2 internal prototype to avoid an error. */ |
8683 /* We use char because int might match the return type of a gcc2 | 8685 /* We use char because int might match the return type of a gcc2 |
8684 builtin and then its argument prototype would still apply. */ | 8686 builtin and then its argument prototype would still apply. */ |
8685 char ldap_search(); | 8687 char ldap_search(); |
8686 | 8688 |
8687 int main() { | 8689 int main() { |
8688 ldap_search() | 8690 ldap_search() |
8689 ; return 0; } | 8691 ; return 0; } |
8690 EOF | 8692 EOF |
8691 if { (eval echo configure:8692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8693 if { (eval echo configure:8694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8692 rm -rf conftest* | 8694 rm -rf conftest* |
8693 eval "ac_cv_lib_$ac_lib_var=yes" | 8695 eval "ac_cv_lib_$ac_lib_var=yes" |
8694 else | 8696 else |
8695 echo "configure: failed program was:" >&5 | 8697 echo "configure: failed program was:" >&5 |
8696 cat conftest.$ac_ext >&5 | 8698 cat conftest.$ac_ext >&5 |
8711 | 8713 |
8712 test "$with_ldap_nolber" = "no" && { | 8714 test "$with_ldap_nolber" = "no" && { |
8713 xe_msg_checking="for ldap_open in -lldap" | 8715 xe_msg_checking="for ldap_open in -lldap" |
8714 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8716 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8715 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8717 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8716 echo "configure:8717: checking "$xe_msg_checking"" >&5 | 8718 echo "configure:8719: checking "$xe_msg_checking"" >&5 |
8717 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8719 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8718 | 8720 |
8719 xe_check_libs=" -lldap -llber" | 8721 xe_check_libs=" -lldap -llber" |
8720 cat > conftest.$ac_ext <<EOF | 8722 cat > conftest.$ac_ext <<EOF |
8721 #line 8722 "configure" | 8723 #line 8724 "configure" |
8722 #include "confdefs.h" | 8724 #include "confdefs.h" |
8723 /* Override any gcc2 internal prototype to avoid an error. */ | 8725 /* Override any gcc2 internal prototype to avoid an error. */ |
8724 /* We use char because int might match the return type of a gcc2 | 8726 /* We use char because int might match the return type of a gcc2 |
8725 builtin and then its argument prototype would still apply. */ | 8727 builtin and then its argument prototype would still apply. */ |
8726 char ldap_open(); | 8728 char ldap_open(); |
8727 | 8729 |
8728 int main() { | 8730 int main() { |
8729 ldap_open() | 8731 ldap_open() |
8730 ; return 0; } | 8732 ; return 0; } |
8731 EOF | 8733 EOF |
8732 if { (eval echo configure:8733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8734 if { (eval echo configure:8735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8733 rm -rf conftest* | 8735 rm -rf conftest* |
8734 eval "ac_cv_lib_$ac_lib_var=yes" | 8736 eval "ac_cv_lib_$ac_lib_var=yes" |
8735 else | 8737 else |
8736 echo "configure: failed program was:" >&5 | 8738 echo "configure: failed program was:" >&5 |
8737 cat conftest.$ac_ext >&5 | 8739 cat conftest.$ac_ext >&5 |
8752 } | 8754 } |
8753 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8755 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8754 xe_msg_checking="for ldap_open in -lldap" | 8756 xe_msg_checking="for ldap_open in -lldap" |
8755 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8757 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8756 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8758 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8757 echo "configure:8758: checking "$xe_msg_checking"" >&5 | 8759 echo "configure:8760: checking "$xe_msg_checking"" >&5 |
8758 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8760 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8759 | 8761 |
8760 xe_check_libs=" -lldap -llber -lkrb" | 8762 xe_check_libs=" -lldap -llber -lkrb" |
8761 cat > conftest.$ac_ext <<EOF | 8763 cat > conftest.$ac_ext <<EOF |
8762 #line 8763 "configure" | 8764 #line 8765 "configure" |
8763 #include "confdefs.h" | 8765 #include "confdefs.h" |
8764 /* Override any gcc2 internal prototype to avoid an error. */ | 8766 /* Override any gcc2 internal prototype to avoid an error. */ |
8765 /* We use char because int might match the return type of a gcc2 | 8767 /* We use char because int might match the return type of a gcc2 |
8766 builtin and then its argument prototype would still apply. */ | 8768 builtin and then its argument prototype would still apply. */ |
8767 char ldap_open(); | 8769 char ldap_open(); |
8768 | 8770 |
8769 int main() { | 8771 int main() { |
8770 ldap_open() | 8772 ldap_open() |
8771 ; return 0; } | 8773 ; return 0; } |
8772 EOF | 8774 EOF |
8773 if { (eval echo configure:8774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8775 if { (eval echo configure:8776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8774 rm -rf conftest* | 8776 rm -rf conftest* |
8775 eval "ac_cv_lib_$ac_lib_var=yes" | 8777 eval "ac_cv_lib_$ac_lib_var=yes" |
8776 else | 8778 else |
8777 echo "configure: failed program was:" >&5 | 8779 echo "configure: failed program was:" >&5 |
8778 cat conftest.$ac_ext >&5 | 8780 cat conftest.$ac_ext >&5 |
8793 } | 8795 } |
8794 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 8796 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
8795 xe_msg_checking="for ldap_open in -lldap" | 8797 xe_msg_checking="for ldap_open in -lldap" |
8796 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 8798 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
8797 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8799 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8798 echo "configure:8799: checking "$xe_msg_checking"" >&5 | 8800 echo "configure:8801: checking "$xe_msg_checking"" >&5 |
8799 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8801 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8800 | 8802 |
8801 xe_check_libs=" -lldap -llber -lkrb -ldes" | 8803 xe_check_libs=" -lldap -llber -lkrb -ldes" |
8802 cat > conftest.$ac_ext <<EOF | 8804 cat > conftest.$ac_ext <<EOF |
8803 #line 8804 "configure" | 8805 #line 8806 "configure" |
8804 #include "confdefs.h" | 8806 #include "confdefs.h" |
8805 /* Override any gcc2 internal prototype to avoid an error. */ | 8807 /* Override any gcc2 internal prototype to avoid an error. */ |
8806 /* We use char because int might match the return type of a gcc2 | 8808 /* We use char because int might match the return type of a gcc2 |
8807 builtin and then its argument prototype would still apply. */ | 8809 builtin and then its argument prototype would still apply. */ |
8808 char ldap_open(); | 8810 char ldap_open(); |
8809 | 8811 |
8810 int main() { | 8812 int main() { |
8811 ldap_open() | 8813 ldap_open() |
8812 ; return 0; } | 8814 ; return 0; } |
8813 EOF | 8815 EOF |
8814 if { (eval echo configure:8815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8816 if { (eval echo configure:8817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8815 rm -rf conftest* | 8817 rm -rf conftest* |
8816 eval "ac_cv_lib_$ac_lib_var=yes" | 8818 eval "ac_cv_lib_$ac_lib_var=yes" |
8817 else | 8819 else |
8818 echo "configure: failed program was:" >&5 | 8820 echo "configure: failed program was:" >&5 |
8819 cat conftest.$ac_ext >&5 | 8821 cat conftest.$ac_ext >&5 |
8858 fi | 8860 fi |
8859 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 8861 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
8860 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 8862 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
8861 do | 8863 do |
8862 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8864 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8863 echo "configure:8864: checking for $ac_func" >&5 | 8865 echo "configure:8866: checking for $ac_func" >&5 |
8864 | 8866 |
8865 cat > conftest.$ac_ext <<EOF | 8867 cat > conftest.$ac_ext <<EOF |
8866 #line 8867 "configure" | 8868 #line 8869 "configure" |
8867 #include "confdefs.h" | 8869 #include "confdefs.h" |
8868 /* System header to define __stub macros and hopefully few prototypes, | 8870 /* System header to define __stub macros and hopefully few prototypes, |
8869 which can conflict with char $ac_func(); below. */ | 8871 which can conflict with char $ac_func(); below. */ |
8870 #include <assert.h> | 8872 #include <assert.h> |
8871 /* Override any gcc2 internal prototype to avoid an error. */ | 8873 /* Override any gcc2 internal prototype to avoid an error. */ |
8884 $ac_func(); | 8886 $ac_func(); |
8885 #endif | 8887 #endif |
8886 | 8888 |
8887 ; return 0; } | 8889 ; return 0; } |
8888 EOF | 8890 EOF |
8889 if { (eval echo configure:8890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8891 if { (eval echo configure:8892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8890 rm -rf conftest* | 8892 rm -rf conftest* |
8891 eval "ac_cv_func_$ac_func=yes" | 8893 eval "ac_cv_func_$ac_func=yes" |
8892 else | 8894 else |
8893 echo "configure: failed program was:" >&5 | 8895 echo "configure: failed program was:" >&5 |
8894 cat conftest.$ac_ext >&5 | 8896 cat conftest.$ac_ext >&5 |
8923 | 8925 |
8924 | 8926 |
8925 postgresql_libs= | 8927 postgresql_libs= |
8926 if test "$with_postgresql" != "no"; then | 8928 if test "$with_postgresql" != "no"; then |
8927 echo "checking for PostgreSQL" 1>&6 | 8929 echo "checking for PostgreSQL" 1>&6 |
8928 echo "configure:8929: checking for PostgreSQL" >&5 | 8930 echo "configure:8931: checking for PostgreSQL" >&5 |
8929 | 8931 |
8930 for header_dir in "" "pgsql/" "postgresql/"; do | 8932 for header_dir in "" "pgsql/" "postgresql/"; do |
8931 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 8933 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
8932 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 8934 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
8933 echo "configure:8934: checking for ${header_dir}libpq-fe.h" >&5 | 8935 echo "configure:8936: checking for ${header_dir}libpq-fe.h" >&5 |
8934 | 8936 |
8935 cat > conftest.$ac_ext <<EOF | 8937 cat > conftest.$ac_ext <<EOF |
8936 #line 8937 "configure" | 8938 #line 8939 "configure" |
8937 #include "confdefs.h" | 8939 #include "confdefs.h" |
8938 #include <${header_dir}libpq-fe.h> | 8940 #include <${header_dir}libpq-fe.h> |
8939 EOF | 8941 EOF |
8940 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8941 { (eval echo configure:8942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8943 { (eval echo configure:8944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8942 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8944 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8943 if test -z "$ac_err"; then | 8945 if test -z "$ac_err"; then |
8944 rm -rf conftest* | 8946 rm -rf conftest* |
8945 eval "ac_cv_header_$ac_safe=yes" | 8947 eval "ac_cv_header_$ac_safe=yes" |
8946 else | 8948 else |
8960 | 8962 |
8961 done | 8963 done |
8962 | 8964 |
8963 test -n "$libpq_fe_h_file" && { | 8965 test -n "$libpq_fe_h_file" && { |
8964 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 8966 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
8965 echo "configure:8966: checking for PQconnectdb in -lpq" >&5 | 8967 echo "configure:8968: checking for PQconnectdb in -lpq" >&5 |
8966 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 8968 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
8967 | 8969 |
8968 xe_check_libs=" -lpq " | 8970 xe_check_libs=" -lpq " |
8969 cat > conftest.$ac_ext <<EOF | 8971 cat > conftest.$ac_ext <<EOF |
8970 #line 8971 "configure" | 8972 #line 8973 "configure" |
8971 #include "confdefs.h" | 8973 #include "confdefs.h" |
8972 /* Override any gcc2 internal prototype to avoid an error. */ | 8974 /* Override any gcc2 internal prototype to avoid an error. */ |
8973 /* We use char because int might match the return type of a gcc2 | 8975 /* We use char because int might match the return type of a gcc2 |
8974 builtin and then its argument prototype would still apply. */ | 8976 builtin and then its argument prototype would still apply. */ |
8975 char PQconnectdb(); | 8977 char PQconnectdb(); |
8976 | 8978 |
8977 int main() { | 8979 int main() { |
8978 PQconnectdb() | 8980 PQconnectdb() |
8979 ; return 0; } | 8981 ; return 0; } |
8980 EOF | 8982 EOF |
8981 if { (eval echo configure:8982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8983 if { (eval echo configure:8984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8982 rm -rf conftest* | 8984 rm -rf conftest* |
8983 eval "ac_cv_lib_$ac_lib_var=yes" | 8985 eval "ac_cv_lib_$ac_lib_var=yes" |
8984 else | 8986 else |
8985 echo "configure: failed program was:" >&5 | 8987 echo "configure: failed program was:" >&5 |
8986 cat conftest.$ac_ext >&5 | 8988 cat conftest.$ac_ext >&5 |
9009 EOF | 9011 EOF |
9010 } | 9012 } |
9011 | 9013 |
9012 | 9014 |
9013 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9015 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9014 echo "configure:9015: checking for PQconnectStart in -lpq" >&5 | 9016 echo "configure:9017: checking for PQconnectStart in -lpq" >&5 |
9015 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9017 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9016 | 9018 |
9017 xe_check_libs=" -lpq " | 9019 xe_check_libs=" -lpq " |
9018 cat > conftest.$ac_ext <<EOF | 9020 cat > conftest.$ac_ext <<EOF |
9019 #line 9020 "configure" | 9021 #line 9022 "configure" |
9020 #include "confdefs.h" | 9022 #include "confdefs.h" |
9021 /* Override any gcc2 internal prototype to avoid an error. */ | 9023 /* Override any gcc2 internal prototype to avoid an error. */ |
9022 /* We use char because int might match the return type of a gcc2 | 9024 /* We use char because int might match the return type of a gcc2 |
9023 builtin and then its argument prototype would still apply. */ | 9025 builtin and then its argument prototype would still apply. */ |
9024 char PQconnectStart(); | 9026 char PQconnectStart(); |
9025 | 9027 |
9026 int main() { | 9028 int main() { |
9027 PQconnectStart() | 9029 PQconnectStart() |
9028 ; return 0; } | 9030 ; return 0; } |
9029 EOF | 9031 EOF |
9030 if { (eval echo configure:9031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9032 if { (eval echo configure:9033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9031 rm -rf conftest* | 9033 rm -rf conftest* |
9032 eval "ac_cv_lib_$ac_lib_var=yes" | 9034 eval "ac_cv_lib_$ac_lib_var=yes" |
9033 else | 9035 else |
9034 echo "configure: failed program was:" >&5 | 9036 echo "configure: failed program was:" >&5 |
9035 cat conftest.$ac_ext >&5 | 9037 cat conftest.$ac_ext >&5 |
9076 | 9078 |
9077 | 9079 |
9078 | 9080 |
9079 if test "$window_system" != "none"; then | 9081 if test "$window_system" != "none"; then |
9080 echo "checking for graphics libraries" 1>&6 | 9082 echo "checking for graphics libraries" 1>&6 |
9081 echo "configure:9082: checking for graphics libraries" >&5 | 9083 echo "configure:9084: checking for graphics libraries" >&5 |
9082 | 9084 |
9083 libpath_xpm= | 9085 libpath_xpm= |
9084 incpath_xpm= | 9086 incpath_xpm= |
9085 case "$opsys" in | 9087 case "$opsys" in |
9086 cygwin*) | 9088 cygwin*) |
9102 xpm_problem="" | 9104 xpm_problem="" |
9103 if test -z "$with_xpm"; then | 9105 if test -z "$with_xpm"; then |
9104 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9106 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9105 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9107 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9106 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9108 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9107 echo "configure:9108: checking for Xpm - no older than 3.4f" >&5 | 9109 echo "configure:9110: checking for Xpm - no older than 3.4f" >&5 |
9108 xe_check_libs=-lXpm | 9110 xe_check_libs=-lXpm |
9109 cat > conftest.$ac_ext <<EOF | 9111 cat > conftest.$ac_ext <<EOF |
9110 #line 9111 "configure" | 9112 #line 9113 "configure" |
9111 #include "confdefs.h" | 9113 #include "confdefs.h" |
9112 #define XPM_NUMBERS | 9114 #define XPM_NUMBERS |
9113 #include <X11/xpm.h> | 9115 #include <X11/xpm.h> |
9114 int main(int c, char **v) { | 9116 int main(int c, char **v) { |
9115 return c == 1 ? 0 : | 9117 return c == 1 ? 0 : |
9116 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9118 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9117 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9119 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9118 EOF | 9120 EOF |
9119 if { (eval echo configure:9120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9121 if { (eval echo configure:9122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9120 then | 9122 then |
9121 ./conftest dummy_arg; xpm_status=$?; | 9123 ./conftest dummy_arg; xpm_status=$?; |
9122 if test "$xpm_status" = "0"; then | 9124 if test "$xpm_status" = "0"; then |
9123 with_xpm=yes; | 9125 with_xpm=yes; |
9124 else | 9126 else |
9158 | 9160 |
9159 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9161 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9160 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9162 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9161 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9163 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9162 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9164 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9163 echo "configure:9164: checking for \"FOR_MSW\" xpm" >&5 | 9165 echo "configure:9166: checking for \"FOR_MSW\" xpm" >&5 |
9164 xe_check_libs=-lXpm | 9166 xe_check_libs=-lXpm |
9165 cat > conftest.$ac_ext <<EOF | 9167 cat > conftest.$ac_ext <<EOF |
9166 #line 9167 "configure" | 9168 #line 9169 "configure" |
9167 #include "confdefs.h" | 9169 #include "confdefs.h" |
9168 | 9170 |
9169 int main() { | 9171 int main() { |
9170 XpmCreatePixmapFromData() | 9172 XpmCreatePixmapFromData() |
9171 ; return 0; } | 9173 ; return 0; } |
9172 EOF | 9174 EOF |
9173 if { (eval echo configure:9174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9175 if { (eval echo configure:9176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9174 rm -rf conftest* | 9176 rm -rf conftest* |
9175 xpm_for_msw=no | 9177 xpm_for_msw=no |
9176 else | 9178 else |
9177 echo "configure: failed program was:" >&5 | 9179 echo "configure: failed program was:" >&5 |
9178 cat conftest.$ac_ext >&5 | 9180 cat conftest.$ac_ext >&5 |
9194 fi | 9196 fi |
9195 fi | 9197 fi |
9196 | 9198 |
9197 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9199 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9198 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9200 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9199 echo "configure:9200: checking for compface.h" >&5 | 9201 echo "configure:9202: checking for compface.h" >&5 |
9200 | 9202 |
9201 cat > conftest.$ac_ext <<EOF | 9203 cat > conftest.$ac_ext <<EOF |
9202 #line 9203 "configure" | 9204 #line 9205 "configure" |
9203 #include "confdefs.h" | 9205 #include "confdefs.h" |
9204 #include <compface.h> | 9206 #include <compface.h> |
9205 EOF | 9207 EOF |
9206 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9208 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9207 { (eval echo configure:9208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9209 { (eval echo configure:9210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9208 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9209 if test -z "$ac_err"; then | 9211 if test -z "$ac_err"; then |
9210 rm -rf conftest* | 9212 rm -rf conftest* |
9211 eval "ac_cv_header_$ac_safe=yes" | 9213 eval "ac_cv_header_$ac_safe=yes" |
9212 else | 9214 else |
9225 with_xface=no | 9227 with_xface=no |
9226 fi | 9228 fi |
9227 } | 9229 } |
9228 test -z "$with_xface" && { | 9230 test -z "$with_xface" && { |
9229 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9231 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9230 echo "configure:9231: checking for UnGenFace in -lcompface" >&5 | 9232 echo "configure:9233: checking for UnGenFace in -lcompface" >&5 |
9231 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9233 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9232 | 9234 |
9233 xe_check_libs=" -lcompface " | 9235 xe_check_libs=" -lcompface " |
9234 cat > conftest.$ac_ext <<EOF | 9236 cat > conftest.$ac_ext <<EOF |
9235 #line 9236 "configure" | 9237 #line 9238 "configure" |
9236 #include "confdefs.h" | 9238 #include "confdefs.h" |
9237 /* Override any gcc2 internal prototype to avoid an error. */ | 9239 /* Override any gcc2 internal prototype to avoid an error. */ |
9238 /* We use char because int might match the return type of a gcc2 | 9240 /* We use char because int might match the return type of a gcc2 |
9239 builtin and then its argument prototype would still apply. */ | 9241 builtin and then its argument prototype would still apply. */ |
9240 char UnGenFace(); | 9242 char UnGenFace(); |
9241 | 9243 |
9242 int main() { | 9244 int main() { |
9243 UnGenFace() | 9245 UnGenFace() |
9244 ; return 0; } | 9246 ; return 0; } |
9245 EOF | 9247 EOF |
9246 if { (eval echo configure:9247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9248 if { (eval echo configure:9249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9247 rm -rf conftest* | 9249 rm -rf conftest* |
9248 eval "ac_cv_lib_$ac_lib_var=yes" | 9250 eval "ac_cv_lib_$ac_lib_var=yes" |
9249 else | 9251 else |
9250 echo "configure: failed program was:" >&5 | 9252 echo "configure: failed program was:" >&5 |
9251 cat conftest.$ac_ext >&5 | 9253 cat conftest.$ac_ext >&5 |
9290 fi | 9292 fi |
9291 | 9293 |
9292 if test "$with_png $with_tiff" != "no no"; then | 9294 if test "$with_png $with_tiff" != "no no"; then |
9293 | 9295 |
9294 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9296 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9295 echo "configure:9296: checking for inflate in -lc" >&5 | 9297 echo "configure:9298: checking for inflate in -lc" >&5 |
9296 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9298 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9297 | 9299 |
9298 xe_check_libs=" -lc " | 9300 xe_check_libs=" -lc " |
9299 cat > conftest.$ac_ext <<EOF | 9301 cat > conftest.$ac_ext <<EOF |
9300 #line 9301 "configure" | 9302 #line 9303 "configure" |
9301 #include "confdefs.h" | 9303 #include "confdefs.h" |
9302 /* Override any gcc2 internal prototype to avoid an error. */ | 9304 /* Override any gcc2 internal prototype to avoid an error. */ |
9303 /* We use char because int might match the return type of a gcc2 | 9305 /* We use char because int might match the return type of a gcc2 |
9304 builtin and then its argument prototype would still apply. */ | 9306 builtin and then its argument prototype would still apply. */ |
9305 char inflate(); | 9307 char inflate(); |
9306 | 9308 |
9307 int main() { | 9309 int main() { |
9308 inflate() | 9310 inflate() |
9309 ; return 0; } | 9311 ; return 0; } |
9310 EOF | 9312 EOF |
9311 if { (eval echo configure:9312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9313 if { (eval echo configure:9314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9312 rm -rf conftest* | 9314 rm -rf conftest* |
9313 eval "ac_cv_lib_$ac_lib_var=yes" | 9315 eval "ac_cv_lib_$ac_lib_var=yes" |
9314 else | 9316 else |
9315 echo "configure: failed program was:" >&5 | 9317 echo "configure: failed program was:" >&5 |
9316 cat conftest.$ac_ext >&5 | 9318 cat conftest.$ac_ext >&5 |
9325 : | 9327 : |
9326 else | 9328 else |
9327 echo "$ac_t""no" 1>&6 | 9329 echo "$ac_t""no" 1>&6 |
9328 | 9330 |
9329 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9331 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9330 echo "configure:9331: checking for inflate in -lz" >&5 | 9332 echo "configure:9333: checking for inflate in -lz" >&5 |
9331 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9333 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9332 | 9334 |
9333 xe_check_libs=" -lz " | 9335 xe_check_libs=" -lz " |
9334 cat > conftest.$ac_ext <<EOF | 9336 cat > conftest.$ac_ext <<EOF |
9335 #line 9336 "configure" | 9337 #line 9338 "configure" |
9336 #include "confdefs.h" | 9338 #include "confdefs.h" |
9337 /* Override any gcc2 internal prototype to avoid an error. */ | 9339 /* Override any gcc2 internal prototype to avoid an error. */ |
9338 /* We use char because int might match the return type of a gcc2 | 9340 /* We use char because int might match the return type of a gcc2 |
9339 builtin and then its argument prototype would still apply. */ | 9341 builtin and then its argument prototype would still apply. */ |
9340 char inflate(); | 9342 char inflate(); |
9341 | 9343 |
9342 int main() { | 9344 int main() { |
9343 inflate() | 9345 inflate() |
9344 ; return 0; } | 9346 ; return 0; } |
9345 EOF | 9347 EOF |
9346 if { (eval echo configure:9347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9348 if { (eval echo configure:9349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9347 rm -rf conftest* | 9349 rm -rf conftest* |
9348 eval "ac_cv_lib_$ac_lib_var=yes" | 9350 eval "ac_cv_lib_$ac_lib_var=yes" |
9349 else | 9351 else |
9350 echo "configure: failed program was:" >&5 | 9352 echo "configure: failed program was:" >&5 |
9351 cat conftest.$ac_ext >&5 | 9353 cat conftest.$ac_ext >&5 |
9360 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9362 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9361 else | 9363 else |
9362 echo "$ac_t""no" 1>&6 | 9364 echo "$ac_t""no" 1>&6 |
9363 | 9365 |
9364 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9366 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9365 echo "configure:9366: checking for inflate in -lgz" >&5 | 9367 echo "configure:9368: checking for inflate in -lgz" >&5 |
9366 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9368 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9367 | 9369 |
9368 xe_check_libs=" -lgz " | 9370 xe_check_libs=" -lgz " |
9369 cat > conftest.$ac_ext <<EOF | 9371 cat > conftest.$ac_ext <<EOF |
9370 #line 9371 "configure" | 9372 #line 9373 "configure" |
9371 #include "confdefs.h" | 9373 #include "confdefs.h" |
9372 /* Override any gcc2 internal prototype to avoid an error. */ | 9374 /* Override any gcc2 internal prototype to avoid an error. */ |
9373 /* We use char because int might match the return type of a gcc2 | 9375 /* We use char because int might match the return type of a gcc2 |
9374 builtin and then its argument prototype would still apply. */ | 9376 builtin and then its argument prototype would still apply. */ |
9375 char inflate(); | 9377 char inflate(); |
9376 | 9378 |
9377 int main() { | 9379 int main() { |
9378 inflate() | 9380 inflate() |
9379 ; return 0; } | 9381 ; return 0; } |
9380 EOF | 9382 EOF |
9381 if { (eval echo configure:9382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9383 if { (eval echo configure:9384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9382 rm -rf conftest* | 9384 rm -rf conftest* |
9383 eval "ac_cv_lib_$ac_lib_var=yes" | 9385 eval "ac_cv_lib_$ac_lib_var=yes" |
9384 else | 9386 else |
9385 echo "configure: failed program was:" >&5 | 9387 echo "configure: failed program was:" >&5 |
9386 cat conftest.$ac_ext >&5 | 9388 cat conftest.$ac_ext >&5 |
9406 | 9408 |
9407 fi | 9409 fi |
9408 | 9410 |
9409 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9411 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9410 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9412 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9411 echo "configure:9412: checking for jpeglib.h" >&5 | 9413 echo "configure:9414: checking for jpeglib.h" >&5 |
9412 | 9414 |
9413 cat > conftest.$ac_ext <<EOF | 9415 cat > conftest.$ac_ext <<EOF |
9414 #line 9415 "configure" | 9416 #line 9417 "configure" |
9415 #include "confdefs.h" | 9417 #include "confdefs.h" |
9416 #include <jpeglib.h> | 9418 #include <jpeglib.h> |
9417 EOF | 9419 EOF |
9418 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9419 { (eval echo configure:9420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9421 { (eval echo configure:9422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9420 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9421 if test -z "$ac_err"; then | 9423 if test -z "$ac_err"; then |
9422 rm -rf conftest* | 9424 rm -rf conftest* |
9423 eval "ac_cv_header_$ac_safe=yes" | 9425 eval "ac_cv_header_$ac_safe=yes" |
9424 else | 9426 else |
9437 with_jpeg=no | 9439 with_jpeg=no |
9438 fi | 9440 fi |
9439 } | 9441 } |
9440 test -z "$with_jpeg" && { | 9442 test -z "$with_jpeg" && { |
9441 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9443 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9442 echo "configure:9443: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9444 echo "configure:9445: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9443 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9445 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9444 | 9446 |
9445 xe_check_libs=" -ljpeg " | 9447 xe_check_libs=" -ljpeg " |
9446 cat > conftest.$ac_ext <<EOF | 9448 cat > conftest.$ac_ext <<EOF |
9447 #line 9448 "configure" | 9449 #line 9450 "configure" |
9448 #include "confdefs.h" | 9450 #include "confdefs.h" |
9449 /* Override any gcc2 internal prototype to avoid an error. */ | 9451 /* Override any gcc2 internal prototype to avoid an error. */ |
9450 /* We use char because int might match the return type of a gcc2 | 9452 /* We use char because int might match the return type of a gcc2 |
9451 builtin and then its argument prototype would still apply. */ | 9453 builtin and then its argument prototype would still apply. */ |
9452 char jpeg_destroy_decompress(); | 9454 char jpeg_destroy_decompress(); |
9453 | 9455 |
9454 int main() { | 9456 int main() { |
9455 jpeg_destroy_decompress() | 9457 jpeg_destroy_decompress() |
9456 ; return 0; } | 9458 ; return 0; } |
9457 EOF | 9459 EOF |
9458 if { (eval echo configure:9459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9460 if { (eval echo configure:9461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9459 rm -rf conftest* | 9461 rm -rf conftest* |
9460 eval "ac_cv_lib_$ac_lib_var=yes" | 9462 eval "ac_cv_lib_$ac_lib_var=yes" |
9461 else | 9463 else |
9462 echo "configure: failed program was:" >&5 | 9464 echo "configure: failed program was:" >&5 |
9463 cat conftest.$ac_ext >&5 | 9465 cat conftest.$ac_ext >&5 |
9489 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9491 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9490 fi | 9492 fi |
9491 | 9493 |
9492 png_problem="" | 9494 png_problem="" |
9493 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9495 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9494 echo "configure:9495: checking for pow" >&5 | 9496 echo "configure:9497: checking for pow" >&5 |
9495 | 9497 |
9496 cat > conftest.$ac_ext <<EOF | 9498 cat > conftest.$ac_ext <<EOF |
9497 #line 9498 "configure" | 9499 #line 9500 "configure" |
9498 #include "confdefs.h" | 9500 #include "confdefs.h" |
9499 /* System header to define __stub macros and hopefully few prototypes, | 9501 /* System header to define __stub macros and hopefully few prototypes, |
9500 which can conflict with char pow(); below. */ | 9502 which can conflict with char pow(); below. */ |
9501 #include <assert.h> | 9503 #include <assert.h> |
9502 /* Override any gcc2 internal prototype to avoid an error. */ | 9504 /* Override any gcc2 internal prototype to avoid an error. */ |
9515 pow(); | 9517 pow(); |
9516 #endif | 9518 #endif |
9517 | 9519 |
9518 ; return 0; } | 9520 ; return 0; } |
9519 EOF | 9521 EOF |
9520 if { (eval echo configure:9521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9522 if { (eval echo configure:9523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9521 rm -rf conftest* | 9523 rm -rf conftest* |
9522 eval "ac_cv_func_pow=yes" | 9524 eval "ac_cv_func_pow=yes" |
9523 else | 9525 else |
9524 echo "configure: failed program was:" >&5 | 9526 echo "configure: failed program was:" >&5 |
9525 cat conftest.$ac_ext >&5 | 9527 cat conftest.$ac_ext >&5 |
9536 with_png=no | 9538 with_png=no |
9537 fi | 9539 fi |
9538 } | 9540 } |
9539 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9541 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9540 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9542 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9541 echo "configure:9542: checking for png.h" >&5 | 9543 echo "configure:9544: checking for png.h" >&5 |
9542 | 9544 |
9543 cat > conftest.$ac_ext <<EOF | 9545 cat > conftest.$ac_ext <<EOF |
9544 #line 9545 "configure" | 9546 #line 9547 "configure" |
9545 #include "confdefs.h" | 9547 #include "confdefs.h" |
9546 #include <png.h> | 9548 #include <png.h> |
9547 EOF | 9549 EOF |
9548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9550 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9549 { (eval echo configure:9550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9551 { (eval echo configure:9552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9552 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9551 if test -z "$ac_err"; then | 9553 if test -z "$ac_err"; then |
9552 rm -rf conftest* | 9554 rm -rf conftest* |
9553 eval "ac_cv_header_$ac_safe=yes" | 9555 eval "ac_cv_header_$ac_safe=yes" |
9554 else | 9556 else |
9567 with_png=no | 9569 with_png=no |
9568 fi | 9570 fi |
9569 } | 9571 } |
9570 test -z "$with_png" && { | 9572 test -z "$with_png" && { |
9571 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9573 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9572 echo "configure:9573: checking for png_read_image in -lpng" >&5 | 9574 echo "configure:9575: checking for png_read_image in -lpng" >&5 |
9573 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9575 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9574 | 9576 |
9575 xe_check_libs=" -lpng " | 9577 xe_check_libs=" -lpng " |
9576 cat > conftest.$ac_ext <<EOF | 9578 cat > conftest.$ac_ext <<EOF |
9577 #line 9578 "configure" | 9579 #line 9580 "configure" |
9578 #include "confdefs.h" | 9580 #include "confdefs.h" |
9579 /* Override any gcc2 internal prototype to avoid an error. */ | 9581 /* Override any gcc2 internal prototype to avoid an error. */ |
9580 /* We use char because int might match the return type of a gcc2 | 9582 /* We use char because int might match the return type of a gcc2 |
9581 builtin and then its argument prototype would still apply. */ | 9583 builtin and then its argument prototype would still apply. */ |
9582 char png_read_image(); | 9584 char png_read_image(); |
9583 | 9585 |
9584 int main() { | 9586 int main() { |
9585 png_read_image() | 9587 png_read_image() |
9586 ; return 0; } | 9588 ; return 0; } |
9587 EOF | 9589 EOF |
9588 if { (eval echo configure:9589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9590 if { (eval echo configure:9591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9589 rm -rf conftest* | 9591 rm -rf conftest* |
9590 eval "ac_cv_lib_$ac_lib_var=yes" | 9592 eval "ac_cv_lib_$ac_lib_var=yes" |
9591 else | 9593 else |
9592 echo "configure: failed program was:" >&5 | 9594 echo "configure: failed program was:" >&5 |
9593 cat conftest.$ac_ext >&5 | 9595 cat conftest.$ac_ext >&5 |
9606 fi | 9608 fi |
9607 | 9609 |
9608 } | 9610 } |
9609 if test -z "$with_png"; then | 9611 if test -z "$with_png"; then |
9610 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9612 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9611 echo "configure:9612: checking for workable png version information" >&5 | 9613 echo "configure:9614: checking for workable png version information" >&5 |
9612 xe_check_libs="-lpng -lz" | 9614 xe_check_libs="-lpng -lz" |
9613 cat > conftest.$ac_ext <<EOF | 9615 cat > conftest.$ac_ext <<EOF |
9614 #line 9615 "configure" | 9616 #line 9617 "configure" |
9615 #include "confdefs.h" | 9617 #include "confdefs.h" |
9616 #include <png.h> | 9618 #include <png.h> |
9617 int main(int c, char **v) { | 9619 int main(int c, char **v) { |
9618 if (c == 1) return 0; | 9620 if (c == 1) return 0; |
9619 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9621 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9620 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9622 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9621 EOF | 9623 EOF |
9622 if { (eval echo configure:9623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9624 if { (eval echo configure:9625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9623 then | 9625 then |
9624 ./conftest dummy_arg; png_status=$?; | 9626 ./conftest dummy_arg; png_status=$?; |
9625 if test "$png_status" = "0"; then | 9627 if test "$png_status" = "0"; then |
9626 with_png=yes; | 9628 with_png=yes; |
9627 else | 9629 else |
9660 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9662 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9661 fi | 9663 fi |
9662 | 9664 |
9663 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9665 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9664 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9666 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9665 echo "configure:9666: checking for tiffio.h" >&5 | 9667 echo "configure:9668: checking for tiffio.h" >&5 |
9666 | 9668 |
9667 cat > conftest.$ac_ext <<EOF | 9669 cat > conftest.$ac_ext <<EOF |
9668 #line 9669 "configure" | 9670 #line 9671 "configure" |
9669 #include "confdefs.h" | 9671 #include "confdefs.h" |
9670 #include <tiffio.h> | 9672 #include <tiffio.h> |
9671 EOF | 9673 EOF |
9672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9674 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9673 { (eval echo configure:9674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9675 { (eval echo configure:9676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9676 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9675 if test -z "$ac_err"; then | 9677 if test -z "$ac_err"; then |
9676 rm -rf conftest* | 9678 rm -rf conftest* |
9677 eval "ac_cv_header_$ac_safe=yes" | 9679 eval "ac_cv_header_$ac_safe=yes" |
9678 else | 9680 else |
9691 with_tiff=no | 9693 with_tiff=no |
9692 fi | 9694 fi |
9693 } | 9695 } |
9694 test -z "$with_tiff" && { | 9696 test -z "$with_tiff" && { |
9695 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9697 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9696 echo "configure:9697: checking for TIFFClientOpen in -ltiff" >&5 | 9698 echo "configure:9699: checking for TIFFClientOpen in -ltiff" >&5 |
9697 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9699 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9698 | 9700 |
9699 xe_check_libs=" -ltiff " | 9701 xe_check_libs=" -ltiff " |
9700 cat > conftest.$ac_ext <<EOF | 9702 cat > conftest.$ac_ext <<EOF |
9701 #line 9702 "configure" | 9703 #line 9704 "configure" |
9702 #include "confdefs.h" | 9704 #include "confdefs.h" |
9703 /* Override any gcc2 internal prototype to avoid an error. */ | 9705 /* Override any gcc2 internal prototype to avoid an error. */ |
9704 /* We use char because int might match the return type of a gcc2 | 9706 /* We use char because int might match the return type of a gcc2 |
9705 builtin and then its argument prototype would still apply. */ | 9707 builtin and then its argument prototype would still apply. */ |
9706 char TIFFClientOpen(); | 9708 char TIFFClientOpen(); |
9707 | 9709 |
9708 int main() { | 9710 int main() { |
9709 TIFFClientOpen() | 9711 TIFFClientOpen() |
9710 ; return 0; } | 9712 ; return 0; } |
9711 EOF | 9713 EOF |
9712 if { (eval echo configure:9713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9714 if { (eval echo configure:9715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9713 rm -rf conftest* | 9715 rm -rf conftest* |
9714 eval "ac_cv_lib_$ac_lib_var=yes" | 9716 eval "ac_cv_lib_$ac_lib_var=yes" |
9715 else | 9717 else |
9716 echo "configure: failed program was:" >&5 | 9718 echo "configure: failed program was:" >&5 |
9717 cat conftest.$ac_ext >&5 | 9719 cat conftest.$ac_ext >&5 |
9746 | 9748 |
9747 | 9749 |
9748 if test "$with_gtk" = "yes"; then | 9750 if test "$with_gtk" = "yes"; then |
9749 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9751 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9750 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9752 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9751 echo "configure:9752: checking for compface.h" >&5 | 9753 echo "configure:9754: checking for compface.h" >&5 |
9752 | 9754 |
9753 cat > conftest.$ac_ext <<EOF | 9755 cat > conftest.$ac_ext <<EOF |
9754 #line 9755 "configure" | 9756 #line 9757 "configure" |
9755 #include "confdefs.h" | 9757 #include "confdefs.h" |
9756 #include <compface.h> | 9758 #include <compface.h> |
9757 EOF | 9759 EOF |
9758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9760 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9759 { (eval echo configure:9760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9761 { (eval echo configure:9762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9762 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9761 if test -z "$ac_err"; then | 9763 if test -z "$ac_err"; then |
9762 rm -rf conftest* | 9764 rm -rf conftest* |
9763 eval "ac_cv_header_$ac_safe=yes" | 9765 eval "ac_cv_header_$ac_safe=yes" |
9764 else | 9766 else |
9777 with_xface=no | 9779 with_xface=no |
9778 fi | 9780 fi |
9779 } | 9781 } |
9780 test -z "$with_xface" && { | 9782 test -z "$with_xface" && { |
9781 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9783 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9782 echo "configure:9783: checking for UnGenFace in -lcompface" >&5 | 9784 echo "configure:9785: checking for UnGenFace in -lcompface" >&5 |
9783 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9785 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9784 | 9786 |
9785 xe_check_libs=" -lcompface " | 9787 xe_check_libs=" -lcompface " |
9786 cat > conftest.$ac_ext <<EOF | 9788 cat > conftest.$ac_ext <<EOF |
9787 #line 9788 "configure" | 9789 #line 9790 "configure" |
9788 #include "confdefs.h" | 9790 #include "confdefs.h" |
9789 /* Override any gcc2 internal prototype to avoid an error. */ | 9791 /* Override any gcc2 internal prototype to avoid an error. */ |
9790 /* We use char because int might match the return type of a gcc2 | 9792 /* We use char because int might match the return type of a gcc2 |
9791 builtin and then its argument prototype would still apply. */ | 9793 builtin and then its argument prototype would still apply. */ |
9792 char UnGenFace(); | 9794 char UnGenFace(); |
9793 | 9795 |
9794 int main() { | 9796 int main() { |
9795 UnGenFace() | 9797 UnGenFace() |
9796 ; return 0; } | 9798 ; return 0; } |
9797 EOF | 9799 EOF |
9798 if { (eval echo configure:9799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9800 if { (eval echo configure:9801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9799 rm -rf conftest* | 9801 rm -rf conftest* |
9800 eval "ac_cv_lib_$ac_lib_var=yes" | 9802 eval "ac_cv_lib_$ac_lib_var=yes" |
9801 else | 9803 else |
9802 echo "configure: failed program was:" >&5 | 9804 echo "configure: failed program was:" >&5 |
9803 cat conftest.$ac_ext >&5 | 9805 cat conftest.$ac_ext >&5 |
9832 | 9834 |
9833 | 9835 |
9834 | 9836 |
9835 if test "$with_x11" = "yes"; then | 9837 if test "$with_x11" = "yes"; then |
9836 echo "checking for X11 graphics libraries" 1>&6 | 9838 echo "checking for X11 graphics libraries" 1>&6 |
9837 echo "configure:9838: checking for X11 graphics libraries" >&5 | 9839 echo "configure:9840: checking for X11 graphics libraries" >&5 |
9838 fi | 9840 fi |
9839 | 9841 |
9840 case "$with_widgets" in | 9842 case "$with_widgets" in |
9841 "yes" | "athena") detect_athena=yes ;; | 9843 "yes" | "athena") detect_athena=yes ;; |
9842 *) detect_athena=no ;; | 9844 *) detect_athena=no ;; |
9843 esac | 9845 esac |
9844 | 9846 |
9845 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 9847 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
9846 echo "checking for the Athena widgets" 1>&6 | 9848 echo "checking for the Athena widgets" 1>&6 |
9847 echo "configure:9848: checking for the Athena widgets" >&5 | 9849 echo "configure:9850: checking for the Athena widgets" >&5 |
9848 | 9850 |
9849 case "$with_athena" in | 9851 case "$with_athena" in |
9850 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 9852 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
9851 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 9853 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
9852 "next") athena_variant=neXtaw athena_3d=yes ;; | 9854 "next") athena_variant=neXtaw athena_3d=yes ;; |
9856 esac | 9858 esac |
9857 | 9859 |
9858 if test "$athena_3d" = "no"; then | 9860 if test "$athena_3d" = "no"; then |
9859 | 9861 |
9860 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 9862 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
9861 echo "configure:9862: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 9863 echo "configure:9864: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
9862 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 9864 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
9863 | 9865 |
9864 xe_check_libs=" -l$athena_variant " | 9866 xe_check_libs=" -l$athena_variant " |
9865 cat > conftest.$ac_ext <<EOF | 9867 cat > conftest.$ac_ext <<EOF |
9866 #line 9867 "configure" | 9868 #line 9869 "configure" |
9867 #include "confdefs.h" | 9869 #include "confdefs.h" |
9868 /* Override any gcc2 internal prototype to avoid an error. */ | 9870 /* Override any gcc2 internal prototype to avoid an error. */ |
9869 /* We use char because int might match the return type of a gcc2 | 9871 /* We use char because int might match the return type of a gcc2 |
9870 builtin and then its argument prototype would still apply. */ | 9872 builtin and then its argument prototype would still apply. */ |
9871 char XawScrollbarSetThumb(); | 9873 char XawScrollbarSetThumb(); |
9872 | 9874 |
9873 int main() { | 9875 int main() { |
9874 XawScrollbarSetThumb() | 9876 XawScrollbarSetThumb() |
9875 ; return 0; } | 9877 ; return 0; } |
9876 EOF | 9878 EOF |
9877 if { (eval echo configure:9878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9879 if { (eval echo configure:9880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9878 rm -rf conftest* | 9880 rm -rf conftest* |
9879 eval "ac_cv_lib_$ac_lib_var=yes" | 9881 eval "ac_cv_lib_$ac_lib_var=yes" |
9880 else | 9882 else |
9881 echo "configure: failed program was:" >&5 | 9883 echo "configure: failed program was:" >&5 |
9882 cat conftest.$ac_ext >&5 | 9884 cat conftest.$ac_ext >&5 |
9888 | 9890 |
9889 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 9891 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
9890 echo "$ac_t""yes" 1>&6 | 9892 echo "$ac_t""yes" 1>&6 |
9891 | 9893 |
9892 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9894 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
9893 echo "configure:9894: checking for threeDClassRec in -l$athena_variant" >&5 | 9895 echo "configure:9896: checking for threeDClassRec in -l$athena_variant" >&5 |
9894 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9896 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9895 | 9897 |
9896 xe_check_libs=" -l$athena_variant " | 9898 xe_check_libs=" -l$athena_variant " |
9897 cat > conftest.$ac_ext <<EOF | 9899 cat > conftest.$ac_ext <<EOF |
9898 #line 9899 "configure" | 9900 #line 9901 "configure" |
9899 #include "confdefs.h" | 9901 #include "confdefs.h" |
9900 /* Override any gcc2 internal prototype to avoid an error. */ | 9902 /* Override any gcc2 internal prototype to avoid an error. */ |
9901 /* We use char because int might match the return type of a gcc2 | 9903 /* We use char because int might match the return type of a gcc2 |
9902 builtin and then its argument prototype would still apply. */ | 9904 builtin and then its argument prototype would still apply. */ |
9903 char threeDClassRec(); | 9905 char threeDClassRec(); |
9904 | 9906 |
9905 int main() { | 9907 int main() { |
9906 threeDClassRec() | 9908 threeDClassRec() |
9907 ; return 0; } | 9909 ; return 0; } |
9908 EOF | 9910 EOF |
9909 if { (eval echo configure:9910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9911 if { (eval echo configure:9912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9910 rm -rf conftest* | 9912 rm -rf conftest* |
9911 eval "ac_cv_lib_$ac_lib_var=yes" | 9913 eval "ac_cv_lib_$ac_lib_var=yes" |
9912 else | 9914 else |
9913 echo "configure: failed program was:" >&5 | 9915 echo "configure: failed program was:" >&5 |
9914 cat conftest.$ac_ext >&5 | 9916 cat conftest.$ac_ext >&5 |
9935 | 9937 |
9936 | 9938 |
9937 else | 9939 else |
9938 | 9940 |
9939 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9941 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
9940 echo "configure:9941: checking for threeDClassRec in -l$athena_variant" >&5 | 9942 echo "configure:9943: checking for threeDClassRec in -l$athena_variant" >&5 |
9941 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9943 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9942 | 9944 |
9943 xe_check_libs=" -l$athena_variant " | 9945 xe_check_libs=" -l$athena_variant " |
9944 cat > conftest.$ac_ext <<EOF | 9946 cat > conftest.$ac_ext <<EOF |
9945 #line 9946 "configure" | 9947 #line 9948 "configure" |
9946 #include "confdefs.h" | 9948 #include "confdefs.h" |
9947 /* Override any gcc2 internal prototype to avoid an error. */ | 9949 /* Override any gcc2 internal prototype to avoid an error. */ |
9948 /* We use char because int might match the return type of a gcc2 | 9950 /* We use char because int might match the return type of a gcc2 |
9949 builtin and then its argument prototype would still apply. */ | 9951 builtin and then its argument prototype would still apply. */ |
9950 char threeDClassRec(); | 9952 char threeDClassRec(); |
9951 | 9953 |
9952 int main() { | 9954 int main() { |
9953 threeDClassRec() | 9955 threeDClassRec() |
9954 ; return 0; } | 9956 ; return 0; } |
9955 EOF | 9957 EOF |
9956 if { (eval echo configure:9957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9958 if { (eval echo configure:9959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9957 rm -rf conftest* | 9959 rm -rf conftest* |
9958 eval "ac_cv_lib_$ac_lib_var=yes" | 9960 eval "ac_cv_lib_$ac_lib_var=yes" |
9959 else | 9961 else |
9960 echo "configure: failed program was:" >&5 | 9962 echo "configure: failed program was:" >&5 |
9961 cat conftest.$ac_ext >&5 | 9963 cat conftest.$ac_ext >&5 |
9969 echo "$ac_t""yes" 1>&6 | 9971 echo "$ac_t""yes" 1>&6 |
9970 athena_lib=$athena_variant | 9972 athena_lib=$athena_variant |
9971 else | 9973 else |
9972 echo "$ac_t""no" 1>&6 | 9974 echo "$ac_t""no" 1>&6 |
9973 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 9975 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
9974 echo "configure:9975: checking for threeDClassRec in -lXaw" >&5 | 9976 echo "configure:9977: checking for threeDClassRec in -lXaw" >&5 |
9975 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9977 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9976 | 9978 |
9977 xe_check_libs=" -lXaw " | 9979 xe_check_libs=" -lXaw " |
9978 cat > conftest.$ac_ext <<EOF | 9980 cat > conftest.$ac_ext <<EOF |
9979 #line 9980 "configure" | 9981 #line 9982 "configure" |
9980 #include "confdefs.h" | 9982 #include "confdefs.h" |
9981 /* Override any gcc2 internal prototype to avoid an error. */ | 9983 /* Override any gcc2 internal prototype to avoid an error. */ |
9982 /* We use char because int might match the return type of a gcc2 | 9984 /* We use char because int might match the return type of a gcc2 |
9983 builtin and then its argument prototype would still apply. */ | 9985 builtin and then its argument prototype would still apply. */ |
9984 char threeDClassRec(); | 9986 char threeDClassRec(); |
9985 | 9987 |
9986 int main() { | 9988 int main() { |
9987 threeDClassRec() | 9989 threeDClassRec() |
9988 ; return 0; } | 9990 ; return 0; } |
9989 EOF | 9991 EOF |
9990 if { (eval echo configure:9991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9992 if { (eval echo configure:9993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9991 rm -rf conftest* | 9993 rm -rf conftest* |
9992 eval "ac_cv_lib_$ac_lib_var=yes" | 9994 eval "ac_cv_lib_$ac_lib_var=yes" |
9993 else | 9995 else |
9994 echo "configure: failed program was:" >&5 | 9996 echo "configure: failed program was:" >&5 |
9995 cat conftest.$ac_ext >&5 | 9997 cat conftest.$ac_ext >&5 |
10016 fi | 10018 fi |
10017 | 10019 |
10018 if test "$athena_3d" = "no"; then | 10020 if test "$athena_3d" = "no"; then |
10019 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10021 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10020 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10022 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10021 echo "configure:10022: checking for X11/Xaw/ThreeD.h" >&5 | 10023 echo "configure:10024: checking for X11/Xaw/ThreeD.h" >&5 |
10022 | 10024 |
10023 cat > conftest.$ac_ext <<EOF | 10025 cat > conftest.$ac_ext <<EOF |
10024 #line 10025 "configure" | 10026 #line 10027 "configure" |
10025 #include "confdefs.h" | 10027 #include "confdefs.h" |
10026 #include <X11/Xaw/ThreeD.h> | 10028 #include <X11/Xaw/ThreeD.h> |
10027 EOF | 10029 EOF |
10028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10030 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10029 { (eval echo configure:10030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10031 { (eval echo configure:10032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10032 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10031 if test -z "$ac_err"; then | 10033 if test -z "$ac_err"; then |
10032 rm -rf conftest* | 10034 rm -rf conftest* |
10033 eval "ac_cv_header_$ac_safe=yes" | 10035 eval "ac_cv_header_$ac_safe=yes" |
10034 else | 10036 else |
10044 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10046 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10045 else | 10047 else |
10046 echo "$ac_t""no" 1>&6 | 10048 echo "$ac_t""no" 1>&6 |
10047 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10049 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10048 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10050 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10049 echo "configure:10050: checking for X11/Xaw/XawInit.h" >&5 | 10051 echo "configure:10052: checking for X11/Xaw/XawInit.h" >&5 |
10050 | 10052 |
10051 cat > conftest.$ac_ext <<EOF | 10053 cat > conftest.$ac_ext <<EOF |
10052 #line 10053 "configure" | 10054 #line 10055 "configure" |
10053 #include "confdefs.h" | 10055 #include "confdefs.h" |
10054 #include <X11/Xaw/XawInit.h> | 10056 #include <X11/Xaw/XawInit.h> |
10055 EOF | 10057 EOF |
10056 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10058 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10057 { (eval echo configure:10058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10059 { (eval echo configure:10060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10058 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10060 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10059 if test -z "$ac_err"; then | 10061 if test -z "$ac_err"; then |
10060 rm -rf conftest* | 10062 rm -rf conftest* |
10061 eval "ac_cv_header_$ac_safe=yes" | 10063 eval "ac_cv_header_$ac_safe=yes" |
10062 else | 10064 else |
10078 fi | 10080 fi |
10079 | 10081 |
10080 else | 10082 else |
10081 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10083 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10082 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10084 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10083 echo "configure:10084: checking for X11/$athena_variant/XawInit.h" >&5 | 10085 echo "configure:10086: checking for X11/$athena_variant/XawInit.h" >&5 |
10084 | 10086 |
10085 cat > conftest.$ac_ext <<EOF | 10087 cat > conftest.$ac_ext <<EOF |
10086 #line 10087 "configure" | 10088 #line 10089 "configure" |
10087 #include "confdefs.h" | 10089 #include "confdefs.h" |
10088 #include <X11/$athena_variant/XawInit.h> | 10090 #include <X11/$athena_variant/XawInit.h> |
10089 EOF | 10091 EOF |
10090 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10092 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10091 { (eval echo configure:10092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10093 { (eval echo configure:10094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10092 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10094 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10093 if test -z "$ac_err"; then | 10095 if test -z "$ac_err"; then |
10094 rm -rf conftest* | 10096 rm -rf conftest* |
10095 eval "ac_cv_header_$ac_safe=yes" | 10097 eval "ac_cv_header_$ac_safe=yes" |
10096 else | 10098 else |
10103 rm -f conftest* | 10105 rm -f conftest* |
10104 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10106 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10105 echo "$ac_t""yes" 1>&6 | 10107 echo "$ac_t""yes" 1>&6 |
10106 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10108 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10107 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10109 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10108 echo "configure:10109: checking for X11/$athena_variant/ThreeD.h" >&5 | 10110 echo "configure:10111: checking for X11/$athena_variant/ThreeD.h" >&5 |
10109 | 10111 |
10110 cat > conftest.$ac_ext <<EOF | 10112 cat > conftest.$ac_ext <<EOF |
10111 #line 10112 "configure" | 10113 #line 10114 "configure" |
10112 #include "confdefs.h" | 10114 #include "confdefs.h" |
10113 #include <X11/$athena_variant/ThreeD.h> | 10115 #include <X11/$athena_variant/ThreeD.h> |
10114 EOF | 10116 EOF |
10115 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10117 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10116 { (eval echo configure:10117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10118 { (eval echo configure:10119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10117 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10119 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10118 if test -z "$ac_err"; then | 10120 if test -z "$ac_err"; then |
10119 rm -rf conftest* | 10121 rm -rf conftest* |
10120 eval "ac_cv_header_$ac_safe=yes" | 10122 eval "ac_cv_header_$ac_safe=yes" |
10121 else | 10123 else |
10139 | 10141 |
10140 | 10142 |
10141 if test -z "$athena_h_path"; then | 10143 if test -z "$athena_h_path"; then |
10142 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10144 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10143 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10145 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10144 echo "configure:10145: checking for $athena_variant/XawInit.h" >&5 | 10146 echo "configure:10147: checking for $athena_variant/XawInit.h" >&5 |
10145 | 10147 |
10146 cat > conftest.$ac_ext <<EOF | 10148 cat > conftest.$ac_ext <<EOF |
10147 #line 10148 "configure" | 10149 #line 10150 "configure" |
10148 #include "confdefs.h" | 10150 #include "confdefs.h" |
10149 #include <$athena_variant/XawInit.h> | 10151 #include <$athena_variant/XawInit.h> |
10150 EOF | 10152 EOF |
10151 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10153 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10152 { (eval echo configure:10153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10154 { (eval echo configure:10155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10153 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10155 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10154 if test -z "$ac_err"; then | 10156 if test -z "$ac_err"; then |
10155 rm -rf conftest* | 10157 rm -rf conftest* |
10156 eval "ac_cv_header_$ac_safe=yes" | 10158 eval "ac_cv_header_$ac_safe=yes" |
10157 else | 10159 else |
10164 rm -f conftest* | 10166 rm -f conftest* |
10165 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10167 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10166 echo "$ac_t""yes" 1>&6 | 10168 echo "$ac_t""yes" 1>&6 |
10167 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10169 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10168 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10170 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10169 echo "configure:10170: checking for $athena_variant/ThreeD.h" >&5 | 10171 echo "configure:10172: checking for $athena_variant/ThreeD.h" >&5 |
10170 | 10172 |
10171 cat > conftest.$ac_ext <<EOF | 10173 cat > conftest.$ac_ext <<EOF |
10172 #line 10173 "configure" | 10174 #line 10175 "configure" |
10173 #include "confdefs.h" | 10175 #include "confdefs.h" |
10174 #include <$athena_variant/ThreeD.h> | 10176 #include <$athena_variant/ThreeD.h> |
10175 EOF | 10177 EOF |
10176 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10177 { (eval echo configure:10178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10179 { (eval echo configure:10180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10178 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10180 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10179 if test -z "$ac_err"; then | 10181 if test -z "$ac_err"; then |
10180 rm -rf conftest* | 10182 rm -rf conftest* |
10181 eval "ac_cv_header_$ac_safe=yes" | 10183 eval "ac_cv_header_$ac_safe=yes" |
10182 else | 10184 else |
10201 fi | 10203 fi |
10202 | 10204 |
10203 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10205 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10204 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10206 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10205 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10207 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10206 echo "configure:10207: checking for X11/Xaw3d/XawInit.h" >&5 | 10208 echo "configure:10209: checking for X11/Xaw3d/XawInit.h" >&5 |
10207 | 10209 |
10208 cat > conftest.$ac_ext <<EOF | 10210 cat > conftest.$ac_ext <<EOF |
10209 #line 10210 "configure" | 10211 #line 10212 "configure" |
10210 #include "confdefs.h" | 10212 #include "confdefs.h" |
10211 #include <X11/Xaw3d/XawInit.h> | 10213 #include <X11/Xaw3d/XawInit.h> |
10212 EOF | 10214 EOF |
10213 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10215 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10214 { (eval echo configure:10215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10216 { (eval echo configure:10217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10215 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10217 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10216 if test -z "$ac_err"; then | 10218 if test -z "$ac_err"; then |
10217 rm -rf conftest* | 10219 rm -rf conftest* |
10218 eval "ac_cv_header_$ac_safe=yes" | 10220 eval "ac_cv_header_$ac_safe=yes" |
10219 else | 10221 else |
10226 rm -f conftest* | 10228 rm -f conftest* |
10227 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10229 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10228 echo "$ac_t""yes" 1>&6 | 10230 echo "$ac_t""yes" 1>&6 |
10229 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10231 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10230 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10232 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10231 echo "configure:10232: checking for X11/Xaw3d/ThreeD.h" >&5 | 10233 echo "configure:10234: checking for X11/Xaw3d/ThreeD.h" >&5 |
10232 | 10234 |
10233 cat > conftest.$ac_ext <<EOF | 10235 cat > conftest.$ac_ext <<EOF |
10234 #line 10235 "configure" | 10236 #line 10237 "configure" |
10235 #include "confdefs.h" | 10237 #include "confdefs.h" |
10236 #include <X11/Xaw3d/ThreeD.h> | 10238 #include <X11/Xaw3d/ThreeD.h> |
10237 EOF | 10239 EOF |
10238 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10240 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10239 { (eval echo configure:10240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10241 { (eval echo configure:10242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10240 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10242 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10241 if test -z "$ac_err"; then | 10243 if test -z "$ac_err"; then |
10242 rm -rf conftest* | 10244 rm -rf conftest* |
10243 eval "ac_cv_header_$ac_safe=yes" | 10245 eval "ac_cv_header_$ac_safe=yes" |
10244 else | 10246 else |
10266 fi | 10268 fi |
10267 | 10269 |
10268 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10270 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10269 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10271 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10270 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10272 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10271 echo "configure:10272: checking for Xaw3d/XawInit.h" >&5 | 10273 echo "configure:10274: checking for Xaw3d/XawInit.h" >&5 |
10272 | 10274 |
10273 cat > conftest.$ac_ext <<EOF | 10275 cat > conftest.$ac_ext <<EOF |
10274 #line 10275 "configure" | 10276 #line 10277 "configure" |
10275 #include "confdefs.h" | 10277 #include "confdefs.h" |
10276 #include <Xaw3d/XawInit.h> | 10278 #include <Xaw3d/XawInit.h> |
10277 EOF | 10279 EOF |
10278 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10280 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10279 { (eval echo configure:10280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10281 { (eval echo configure:10282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10280 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10282 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10281 if test -z "$ac_err"; then | 10283 if test -z "$ac_err"; then |
10282 rm -rf conftest* | 10284 rm -rf conftest* |
10283 eval "ac_cv_header_$ac_safe=yes" | 10285 eval "ac_cv_header_$ac_safe=yes" |
10284 else | 10286 else |
10291 rm -f conftest* | 10293 rm -f conftest* |
10292 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10294 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10293 echo "$ac_t""yes" 1>&6 | 10295 echo "$ac_t""yes" 1>&6 |
10294 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10296 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10295 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10297 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10296 echo "configure:10297: checking for Xaw3d/ThreeD.h" >&5 | 10298 echo "configure:10299: checking for Xaw3d/ThreeD.h" >&5 |
10297 | 10299 |
10298 cat > conftest.$ac_ext <<EOF | 10300 cat > conftest.$ac_ext <<EOF |
10299 #line 10300 "configure" | 10301 #line 10302 "configure" |
10300 #include "confdefs.h" | 10302 #include "confdefs.h" |
10301 #include <Xaw3d/ThreeD.h> | 10303 #include <Xaw3d/ThreeD.h> |
10302 EOF | 10304 EOF |
10303 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10304 { (eval echo configure:10305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10306 { (eval echo configure:10307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10305 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10307 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10306 if test -z "$ac_err"; then | 10308 if test -z "$ac_err"; then |
10307 rm -rf conftest* | 10309 rm -rf conftest* |
10308 eval "ac_cv_header_$ac_safe=yes" | 10310 eval "ac_cv_header_$ac_safe=yes" |
10309 else | 10311 else |
10331 fi | 10333 fi |
10332 | 10334 |
10333 if test -z "$athena_h_path"; then | 10335 if test -z "$athena_h_path"; then |
10334 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10336 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10335 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10337 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10336 echo "configure:10337: checking for X11/Xaw/ThreeD.h" >&5 | 10338 echo "configure:10339: checking for X11/Xaw/ThreeD.h" >&5 |
10337 | 10339 |
10338 cat > conftest.$ac_ext <<EOF | 10340 cat > conftest.$ac_ext <<EOF |
10339 #line 10340 "configure" | 10341 #line 10342 "configure" |
10340 #include "confdefs.h" | 10342 #include "confdefs.h" |
10341 #include <X11/Xaw/ThreeD.h> | 10343 #include <X11/Xaw/ThreeD.h> |
10342 EOF | 10344 EOF |
10343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10344 { (eval echo configure:10345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10346 { (eval echo configure:10347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10347 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10346 if test -z "$ac_err"; then | 10348 if test -z "$ac_err"; then |
10347 rm -rf conftest* | 10349 rm -rf conftest* |
10348 eval "ac_cv_header_$ac_safe=yes" | 10350 eval "ac_cv_header_$ac_safe=yes" |
10349 else | 10351 else |
10378 have_xaw=no | 10380 have_xaw=no |
10379 fi | 10381 fi |
10380 if test "$with_x11" = "yes"; then | 10382 if test "$with_x11" = "yes"; then |
10381 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10383 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10382 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10384 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10383 echo "configure:10384: checking for Xm/Xm.h" >&5 | 10385 echo "configure:10386: checking for Xm/Xm.h" >&5 |
10384 | 10386 |
10385 cat > conftest.$ac_ext <<EOF | 10387 cat > conftest.$ac_ext <<EOF |
10386 #line 10387 "configure" | 10388 #line 10389 "configure" |
10387 #include "confdefs.h" | 10389 #include "confdefs.h" |
10388 #include <Xm/Xm.h> | 10390 #include <Xm/Xm.h> |
10389 EOF | 10391 EOF |
10390 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10392 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10391 { (eval echo configure:10392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10393 { (eval echo configure:10394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10392 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10394 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10393 if test -z "$ac_err"; then | 10395 if test -z "$ac_err"; then |
10394 rm -rf conftest* | 10396 rm -rf conftest* |
10395 eval "ac_cv_header_$ac_safe=yes" | 10397 eval "ac_cv_header_$ac_safe=yes" |
10396 else | 10398 else |
10403 rm -f conftest* | 10405 rm -f conftest* |
10404 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10406 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10405 echo "$ac_t""yes" 1>&6 | 10407 echo "$ac_t""yes" 1>&6 |
10406 | 10408 |
10407 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10409 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10408 echo "configure:10409: checking for XmStringFree in -lXm" >&5 | 10410 echo "configure:10411: checking for XmStringFree in -lXm" >&5 |
10409 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10411 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10410 | 10412 |
10411 xe_check_libs=" -lXm " | 10413 xe_check_libs=" -lXm " |
10412 cat > conftest.$ac_ext <<EOF | 10414 cat > conftest.$ac_ext <<EOF |
10413 #line 10414 "configure" | 10415 #line 10416 "configure" |
10414 #include "confdefs.h" | 10416 #include "confdefs.h" |
10415 /* Override any gcc2 internal prototype to avoid an error. */ | 10417 /* Override any gcc2 internal prototype to avoid an error. */ |
10416 /* We use char because int might match the return type of a gcc2 | 10418 /* We use char because int might match the return type of a gcc2 |
10417 builtin and then its argument prototype would still apply. */ | 10419 builtin and then its argument prototype would still apply. */ |
10418 char XmStringFree(); | 10420 char XmStringFree(); |
10419 | 10421 |
10420 int main() { | 10422 int main() { |
10421 XmStringFree() | 10423 XmStringFree() |
10422 ; return 0; } | 10424 ; return 0; } |
10423 EOF | 10425 EOF |
10424 if { (eval echo configure:10425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10426 if { (eval echo configure:10427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10425 rm -rf conftest* | 10427 rm -rf conftest* |
10426 eval "ac_cv_lib_$ac_lib_var=yes" | 10428 eval "ac_cv_lib_$ac_lib_var=yes" |
10427 else | 10429 else |
10428 echo "configure: failed program was:" >&5 | 10430 echo "configure: failed program was:" >&5 |
10429 cat conftest.$ac_ext >&5 | 10431 cat conftest.$ac_ext >&5 |
10448 fi | 10450 fi |
10449 | 10451 |
10450 | 10452 |
10451 if test "$have_motif" = "yes"; then | 10453 if test "$have_motif" = "yes"; then |
10452 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10454 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10453 echo "configure:10454: checking for Lesstif" >&5 | 10455 echo "configure:10456: checking for Lesstif" >&5 |
10454 cat > conftest.$ac_ext <<EOF | 10456 cat > conftest.$ac_ext <<EOF |
10455 #line 10456 "configure" | 10457 #line 10458 "configure" |
10456 #include "confdefs.h" | 10458 #include "confdefs.h" |
10457 #include <Xm/Xm.h> | 10459 #include <Xm/Xm.h> |
10458 #ifdef LESSTIF_VERSION | 10460 #ifdef LESSTIF_VERSION |
10459 yes | 10461 yes |
10460 #endif | 10462 #endif |
10823 | 10825 |
10824 fi | 10826 fi |
10825 | 10827 |
10826 if test "$with_mule" = "yes" ; then | 10828 if test "$with_mule" = "yes" ; then |
10827 echo "checking for Mule-related features" 1>&6 | 10829 echo "checking for Mule-related features" 1>&6 |
10828 echo "configure:10829: checking for Mule-related features" >&5 | 10830 echo "configure:10831: checking for Mule-related features" >&5 |
10829 { test "$extra_verbose" = "yes" && cat << \EOF | 10831 { test "$extra_verbose" = "yes" && cat << \EOF |
10830 Defining MULE | 10832 Defining MULE |
10831 EOF | 10833 EOF |
10832 cat >> confdefs.h <<\EOF | 10834 cat >> confdefs.h <<\EOF |
10833 #define MULE 1 | 10835 #define MULE 1 |
10837 | 10839 |
10838 for ac_hdr in libintl.h | 10840 for ac_hdr in libintl.h |
10839 do | 10841 do |
10840 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10842 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10841 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10843 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10842 echo "configure:10843: checking for $ac_hdr" >&5 | 10844 echo "configure:10845: checking for $ac_hdr" >&5 |
10843 | 10845 |
10844 cat > conftest.$ac_ext <<EOF | 10846 cat > conftest.$ac_ext <<EOF |
10845 #line 10846 "configure" | 10847 #line 10848 "configure" |
10846 #include "confdefs.h" | 10848 #include "confdefs.h" |
10847 #include <$ac_hdr> | 10849 #include <$ac_hdr> |
10848 EOF | 10850 EOF |
10849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10851 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10850 { (eval echo configure:10851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10852 { (eval echo configure:10853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10853 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10852 if test -z "$ac_err"; then | 10854 if test -z "$ac_err"; then |
10853 rm -rf conftest* | 10855 rm -rf conftest* |
10854 eval "ac_cv_header_$ac_safe=yes" | 10856 eval "ac_cv_header_$ac_safe=yes" |
10855 else | 10857 else |
10876 fi | 10878 fi |
10877 done | 10879 done |
10878 | 10880 |
10879 | 10881 |
10880 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 10882 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
10881 echo "configure:10882: checking for strerror in -lintl" >&5 | 10883 echo "configure:10884: checking for strerror in -lintl" >&5 |
10882 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 10884 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
10883 | 10885 |
10884 xe_check_libs=" -lintl " | 10886 xe_check_libs=" -lintl " |
10885 cat > conftest.$ac_ext <<EOF | 10887 cat > conftest.$ac_ext <<EOF |
10886 #line 10887 "configure" | 10888 #line 10889 "configure" |
10887 #include "confdefs.h" | 10889 #include "confdefs.h" |
10888 /* Override any gcc2 internal prototype to avoid an error. */ | 10890 /* Override any gcc2 internal prototype to avoid an error. */ |
10889 /* We use char because int might match the return type of a gcc2 | 10891 /* We use char because int might match the return type of a gcc2 |
10890 builtin and then its argument prototype would still apply. */ | 10892 builtin and then its argument prototype would still apply. */ |
10891 char strerror(); | 10893 char strerror(); |
10892 | 10894 |
10893 int main() { | 10895 int main() { |
10894 strerror() | 10896 strerror() |
10895 ; return 0; } | 10897 ; return 0; } |
10896 EOF | 10898 EOF |
10897 if { (eval echo configure:10898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10899 if { (eval echo configure:10900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10898 rm -rf conftest* | 10900 rm -rf conftest* |
10899 eval "ac_cv_lib_$ac_lib_var=yes" | 10901 eval "ac_cv_lib_$ac_lib_var=yes" |
10900 else | 10902 else |
10901 echo "configure: failed program was:" >&5 | 10903 echo "configure: failed program was:" >&5 |
10902 cat conftest.$ac_ext >&5 | 10904 cat conftest.$ac_ext >&5 |
10925 fi | 10927 fi |
10926 | 10928 |
10927 | 10929 |
10928 | 10930 |
10929 echo "checking for Mule input methods" 1>&6 | 10931 echo "checking for Mule input methods" 1>&6 |
10930 echo "configure:10931: checking for Mule input methods" >&5 | 10932 echo "configure:10933: checking for Mule input methods" >&5 |
10931 case "$with_xim" in "" | "yes" ) | 10933 case "$with_xim" in "" | "yes" ) |
10932 echo "checking for XIM" 1>&6 | 10934 echo "checking for XIM" 1>&6 |
10933 echo "configure:10934: checking for XIM" >&5 | 10935 echo "configure:10936: checking for XIM" >&5 |
10934 | 10936 |
10935 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 10937 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
10936 echo "configure:10937: checking for XOpenIM in -lX11" >&5 | 10938 echo "configure:10939: checking for XOpenIM in -lX11" >&5 |
10937 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 10939 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
10938 | 10940 |
10939 xe_check_libs=" -lX11 " | 10941 xe_check_libs=" -lX11 " |
10940 cat > conftest.$ac_ext <<EOF | 10942 cat > conftest.$ac_ext <<EOF |
10941 #line 10942 "configure" | 10943 #line 10944 "configure" |
10942 #include "confdefs.h" | 10944 #include "confdefs.h" |
10943 /* Override any gcc2 internal prototype to avoid an error. */ | 10945 /* Override any gcc2 internal prototype to avoid an error. */ |
10944 /* We use char because int might match the return type of a gcc2 | 10946 /* We use char because int might match the return type of a gcc2 |
10945 builtin and then its argument prototype would still apply. */ | 10947 builtin and then its argument prototype would still apply. */ |
10946 char XOpenIM(); | 10948 char XOpenIM(); |
10947 | 10949 |
10948 int main() { | 10950 int main() { |
10949 XOpenIM() | 10951 XOpenIM() |
10950 ; return 0; } | 10952 ; return 0; } |
10951 EOF | 10953 EOF |
10952 if { (eval echo configure:10953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10954 if { (eval echo configure:10955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10953 rm -rf conftest* | 10955 rm -rf conftest* |
10954 eval "ac_cv_lib_$ac_lib_var=yes" | 10956 eval "ac_cv_lib_$ac_lib_var=yes" |
10955 else | 10957 else |
10956 echo "configure: failed program was:" >&5 | 10958 echo "configure: failed program was:" >&5 |
10957 cat conftest.$ac_ext >&5 | 10959 cat conftest.$ac_ext >&5 |
10971 | 10973 |
10972 | 10974 |
10973 if test "$have_motif $have_lesstif" = "yes no"; then | 10975 if test "$have_motif $have_lesstif" = "yes no"; then |
10974 | 10976 |
10975 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 10977 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
10976 echo "configure:10977: checking for XmImMbLookupString in -lXm" >&5 | 10978 echo "configure:10979: checking for XmImMbLookupString in -lXm" >&5 |
10977 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 10979 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
10978 | 10980 |
10979 xe_check_libs=" -lXm " | 10981 xe_check_libs=" -lXm " |
10980 cat > conftest.$ac_ext <<EOF | 10982 cat > conftest.$ac_ext <<EOF |
10981 #line 10982 "configure" | 10983 #line 10984 "configure" |
10982 #include "confdefs.h" | 10984 #include "confdefs.h" |
10983 /* Override any gcc2 internal prototype to avoid an error. */ | 10985 /* Override any gcc2 internal prototype to avoid an error. */ |
10984 /* We use char because int might match the return type of a gcc2 | 10986 /* We use char because int might match the return type of a gcc2 |
10985 builtin and then its argument prototype would still apply. */ | 10987 builtin and then its argument prototype would still apply. */ |
10986 char XmImMbLookupString(); | 10988 char XmImMbLookupString(); |
10987 | 10989 |
10988 int main() { | 10990 int main() { |
10989 XmImMbLookupString() | 10991 XmImMbLookupString() |
10990 ; return 0; } | 10992 ; return 0; } |
10991 EOF | 10993 EOF |
10992 if { (eval echo configure:10993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10994 if { (eval echo configure:10995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10993 rm -rf conftest* | 10995 rm -rf conftest* |
10994 eval "ac_cv_lib_$ac_lib_var=yes" | 10996 eval "ac_cv_lib_$ac_lib_var=yes" |
10995 else | 10997 else |
10996 echo "configure: failed program was:" >&5 | 10998 echo "configure: failed program was:" >&5 |
10997 cat conftest.$ac_ext >&5 | 10999 cat conftest.$ac_ext >&5 |
11052 fi | 11054 fi |
11053 fi | 11055 fi |
11054 | 11056 |
11055 if test "$with_xfs" = "yes" ; then | 11057 if test "$with_xfs" = "yes" ; then |
11056 echo "checking for XFontSet" 1>&6 | 11058 echo "checking for XFontSet" 1>&6 |
11057 echo "configure:11058: checking for XFontSet" >&5 | 11059 echo "configure:11060: checking for XFontSet" >&5 |
11058 | 11060 |
11059 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11061 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11060 echo "configure:11061: checking for XmbDrawString in -lX11" >&5 | 11062 echo "configure:11063: checking for XmbDrawString in -lX11" >&5 |
11061 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11063 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11062 | 11064 |
11063 xe_check_libs=" -lX11 " | 11065 xe_check_libs=" -lX11 " |
11064 cat > conftest.$ac_ext <<EOF | 11066 cat > conftest.$ac_ext <<EOF |
11065 #line 11066 "configure" | 11067 #line 11068 "configure" |
11066 #include "confdefs.h" | 11068 #include "confdefs.h" |
11067 /* Override any gcc2 internal prototype to avoid an error. */ | 11069 /* Override any gcc2 internal prototype to avoid an error. */ |
11068 /* We use char because int might match the return type of a gcc2 | 11070 /* We use char because int might match the return type of a gcc2 |
11069 builtin and then its argument prototype would still apply. */ | 11071 builtin and then its argument prototype would still apply. */ |
11070 char XmbDrawString(); | 11072 char XmbDrawString(); |
11071 | 11073 |
11072 int main() { | 11074 int main() { |
11073 XmbDrawString() | 11075 XmbDrawString() |
11074 ; return 0; } | 11076 ; return 0; } |
11075 EOF | 11077 EOF |
11076 if { (eval echo configure:11077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11078 if { (eval echo configure:11079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11077 rm -rf conftest* | 11079 rm -rf conftest* |
11078 eval "ac_cv_lib_$ac_lib_var=yes" | 11080 eval "ac_cv_lib_$ac_lib_var=yes" |
11079 else | 11081 else |
11080 echo "configure: failed program was:" >&5 | 11082 echo "configure: failed program was:" >&5 |
11081 cat conftest.$ac_ext >&5 | 11083 cat conftest.$ac_ext >&5 |
11111 fi | 11113 fi |
11112 fi | 11114 fi |
11113 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11115 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11114 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11116 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11115 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11117 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11116 echo "configure:11117: checking for wnn/jllib.h" >&5 | 11118 echo "configure:11119: checking for wnn/jllib.h" >&5 |
11117 | 11119 |
11118 cat > conftest.$ac_ext <<EOF | 11120 cat > conftest.$ac_ext <<EOF |
11119 #line 11120 "configure" | 11121 #line 11122 "configure" |
11120 #include "confdefs.h" | 11122 #include "confdefs.h" |
11121 #include <wnn/jllib.h> | 11123 #include <wnn/jllib.h> |
11122 EOF | 11124 EOF |
11123 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11124 { (eval echo configure:11125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11126 { (eval echo configure:11127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11125 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11127 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11126 if test -z "$ac_err"; then | 11128 if test -z "$ac_err"; then |
11127 rm -rf conftest* | 11129 rm -rf conftest* |
11128 eval "ac_cv_header_$ac_safe=yes" | 11130 eval "ac_cv_header_$ac_safe=yes" |
11129 else | 11131 else |
11142 with_wnn=no | 11144 with_wnn=no |
11143 fi | 11145 fi |
11144 } | 11146 } |
11145 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11147 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11146 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11148 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11147 echo "configure:11148: checking for wnn/commonhd.h" >&5 | 11149 echo "configure:11150: checking for wnn/commonhd.h" >&5 |
11148 | 11150 |
11149 cat > conftest.$ac_ext <<EOF | 11151 cat > conftest.$ac_ext <<EOF |
11150 #line 11151 "configure" | 11152 #line 11153 "configure" |
11151 #include "confdefs.h" | 11153 #include "confdefs.h" |
11152 #include <wnn/commonhd.h> | 11154 #include <wnn/commonhd.h> |
11153 EOF | 11155 EOF |
11154 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11156 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11155 { (eval echo configure:11156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11157 { (eval echo configure:11158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11156 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11158 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11157 if test -z "$ac_err"; then | 11159 if test -z "$ac_err"; then |
11158 rm -rf conftest* | 11160 rm -rf conftest* |
11159 eval "ac_cv_header_$ac_safe=yes" | 11161 eval "ac_cv_header_$ac_safe=yes" |
11160 else | 11162 else |
11175 } | 11177 } |
11176 if test "$with_wnn" != "no"; then | 11178 if test "$with_wnn" != "no"; then |
11177 for ac_func in crypt | 11179 for ac_func in crypt |
11178 do | 11180 do |
11179 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11181 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11180 echo "configure:11181: checking for $ac_func" >&5 | 11182 echo "configure:11183: checking for $ac_func" >&5 |
11181 | 11183 |
11182 cat > conftest.$ac_ext <<EOF | 11184 cat > conftest.$ac_ext <<EOF |
11183 #line 11184 "configure" | 11185 #line 11186 "configure" |
11184 #include "confdefs.h" | 11186 #include "confdefs.h" |
11185 /* System header to define __stub macros and hopefully few prototypes, | 11187 /* System header to define __stub macros and hopefully few prototypes, |
11186 which can conflict with char $ac_func(); below. */ | 11188 which can conflict with char $ac_func(); below. */ |
11187 #include <assert.h> | 11189 #include <assert.h> |
11188 /* Override any gcc2 internal prototype to avoid an error. */ | 11190 /* Override any gcc2 internal prototype to avoid an error. */ |
11201 $ac_func(); | 11203 $ac_func(); |
11202 #endif | 11204 #endif |
11203 | 11205 |
11204 ; return 0; } | 11206 ; return 0; } |
11205 EOF | 11207 EOF |
11206 if { (eval echo configure:11207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11208 if { (eval echo configure:11209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11207 rm -rf conftest* | 11209 rm -rf conftest* |
11208 eval "ac_cv_func_$ac_func=yes" | 11210 eval "ac_cv_func_$ac_func=yes" |
11209 else | 11211 else |
11210 echo "configure: failed program was:" >&5 | 11212 echo "configure: failed program was:" >&5 |
11211 cat conftest.$ac_ext >&5 | 11213 cat conftest.$ac_ext >&5 |
11230 fi | 11232 fi |
11231 done | 11233 done |
11232 | 11234 |
11233 test "$ac_cv_func_crypt" != "yes" && { | 11235 test "$ac_cv_func_crypt" != "yes" && { |
11234 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11236 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11235 echo "configure:11236: checking for crypt in -lcrypt" >&5 | 11237 echo "configure:11238: checking for crypt in -lcrypt" >&5 |
11236 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11238 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11237 | 11239 |
11238 xe_check_libs=" -lcrypt " | 11240 xe_check_libs=" -lcrypt " |
11239 cat > conftest.$ac_ext <<EOF | 11241 cat > conftest.$ac_ext <<EOF |
11240 #line 11241 "configure" | 11242 #line 11243 "configure" |
11241 #include "confdefs.h" | 11243 #include "confdefs.h" |
11242 /* Override any gcc2 internal prototype to avoid an error. */ | 11244 /* Override any gcc2 internal prototype to avoid an error. */ |
11243 /* We use char because int might match the return type of a gcc2 | 11245 /* We use char because int might match the return type of a gcc2 |
11244 builtin and then its argument prototype would still apply. */ | 11246 builtin and then its argument prototype would still apply. */ |
11245 char crypt(); | 11247 char crypt(); |
11246 | 11248 |
11247 int main() { | 11249 int main() { |
11248 crypt() | 11250 crypt() |
11249 ; return 0; } | 11251 ; return 0; } |
11250 EOF | 11252 EOF |
11251 if { (eval echo configure:11252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11253 if { (eval echo configure:11254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11252 rm -rf conftest* | 11254 rm -rf conftest* |
11253 eval "ac_cv_lib_$ac_lib_var=yes" | 11255 eval "ac_cv_lib_$ac_lib_var=yes" |
11254 else | 11256 else |
11255 echo "configure: failed program was:" >&5 | 11257 echo "configure: failed program was:" >&5 |
11256 cat conftest.$ac_ext >&5 | 11258 cat conftest.$ac_ext >&5 |
11281 } | 11283 } |
11282 fi | 11284 fi |
11283 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11285 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11284 | 11286 |
11285 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11287 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11286 echo "configure:11287: checking for jl_dic_list_e in -lwnn" >&5 | 11288 echo "configure:11289: checking for jl_dic_list_e in -lwnn" >&5 |
11287 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11289 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11288 | 11290 |
11289 xe_check_libs=" -lwnn " | 11291 xe_check_libs=" -lwnn " |
11290 cat > conftest.$ac_ext <<EOF | 11292 cat > conftest.$ac_ext <<EOF |
11291 #line 11292 "configure" | 11293 #line 11294 "configure" |
11292 #include "confdefs.h" | 11294 #include "confdefs.h" |
11293 /* Override any gcc2 internal prototype to avoid an error. */ | 11295 /* Override any gcc2 internal prototype to avoid an error. */ |
11294 /* We use char because int might match the return type of a gcc2 | 11296 /* We use char because int might match the return type of a gcc2 |
11295 builtin and then its argument prototype would still apply. */ | 11297 builtin and then its argument prototype would still apply. */ |
11296 char jl_dic_list_e(); | 11298 char jl_dic_list_e(); |
11297 | 11299 |
11298 int main() { | 11300 int main() { |
11299 jl_dic_list_e() | 11301 jl_dic_list_e() |
11300 ; return 0; } | 11302 ; return 0; } |
11301 EOF | 11303 EOF |
11302 if { (eval echo configure:11303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11304 if { (eval echo configure:11305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11303 rm -rf conftest* | 11305 rm -rf conftest* |
11304 eval "ac_cv_lib_$ac_lib_var=yes" | 11306 eval "ac_cv_lib_$ac_lib_var=yes" |
11305 else | 11307 else |
11306 echo "configure: failed program was:" >&5 | 11308 echo "configure: failed program was:" >&5 |
11307 cat conftest.$ac_ext >&5 | 11309 cat conftest.$ac_ext >&5 |
11315 echo "$ac_t""yes" 1>&6 | 11317 echo "$ac_t""yes" 1>&6 |
11316 libwnn=wnn | 11318 libwnn=wnn |
11317 else | 11319 else |
11318 echo "$ac_t""no" 1>&6 | 11320 echo "$ac_t""no" 1>&6 |
11319 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11321 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11320 echo "configure:11321: checking for jl_dic_list_e in -lwnn4" >&5 | 11322 echo "configure:11323: checking for jl_dic_list_e in -lwnn4" >&5 |
11321 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11323 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11322 | 11324 |
11323 xe_check_libs=" -lwnn4 " | 11325 xe_check_libs=" -lwnn4 " |
11324 cat > conftest.$ac_ext <<EOF | 11326 cat > conftest.$ac_ext <<EOF |
11325 #line 11326 "configure" | 11327 #line 11328 "configure" |
11326 #include "confdefs.h" | 11328 #include "confdefs.h" |
11327 /* Override any gcc2 internal prototype to avoid an error. */ | 11329 /* Override any gcc2 internal prototype to avoid an error. */ |
11328 /* We use char because int might match the return type of a gcc2 | 11330 /* We use char because int might match the return type of a gcc2 |
11329 builtin and then its argument prototype would still apply. */ | 11331 builtin and then its argument prototype would still apply. */ |
11330 char jl_dic_list_e(); | 11332 char jl_dic_list_e(); |
11331 | 11333 |
11332 int main() { | 11334 int main() { |
11333 jl_dic_list_e() | 11335 jl_dic_list_e() |
11334 ; return 0; } | 11336 ; return 0; } |
11335 EOF | 11337 EOF |
11336 if { (eval echo configure:11337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11338 if { (eval echo configure:11339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11337 rm -rf conftest* | 11339 rm -rf conftest* |
11338 eval "ac_cv_lib_$ac_lib_var=yes" | 11340 eval "ac_cv_lib_$ac_lib_var=yes" |
11339 else | 11341 else |
11340 echo "configure: failed program was:" >&5 | 11342 echo "configure: failed program was:" >&5 |
11341 cat conftest.$ac_ext >&5 | 11343 cat conftest.$ac_ext >&5 |
11349 echo "$ac_t""yes" 1>&6 | 11351 echo "$ac_t""yes" 1>&6 |
11350 libwnn=wnn4 | 11352 libwnn=wnn4 |
11351 else | 11353 else |
11352 echo "$ac_t""no" 1>&6 | 11354 echo "$ac_t""no" 1>&6 |
11353 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11355 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11354 echo "configure:11355: checking for jl_dic_list_e in -lwnn6" >&5 | 11356 echo "configure:11357: checking for jl_dic_list_e in -lwnn6" >&5 |
11355 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11357 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11356 | 11358 |
11357 xe_check_libs=" -lwnn6 " | 11359 xe_check_libs=" -lwnn6 " |
11358 cat > conftest.$ac_ext <<EOF | 11360 cat > conftest.$ac_ext <<EOF |
11359 #line 11360 "configure" | 11361 #line 11362 "configure" |
11360 #include "confdefs.h" | 11362 #include "confdefs.h" |
11361 /* Override any gcc2 internal prototype to avoid an error. */ | 11363 /* Override any gcc2 internal prototype to avoid an error. */ |
11362 /* We use char because int might match the return type of a gcc2 | 11364 /* We use char because int might match the return type of a gcc2 |
11363 builtin and then its argument prototype would still apply. */ | 11365 builtin and then its argument prototype would still apply. */ |
11364 char jl_dic_list_e(); | 11366 char jl_dic_list_e(); |
11365 | 11367 |
11366 int main() { | 11368 int main() { |
11367 jl_dic_list_e() | 11369 jl_dic_list_e() |
11368 ; return 0; } | 11370 ; return 0; } |
11369 EOF | 11371 EOF |
11370 if { (eval echo configure:11371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11372 if { (eval echo configure:11373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11371 rm -rf conftest* | 11373 rm -rf conftest* |
11372 eval "ac_cv_lib_$ac_lib_var=yes" | 11374 eval "ac_cv_lib_$ac_lib_var=yes" |
11373 else | 11375 else |
11374 echo "configure: failed program was:" >&5 | 11376 echo "configure: failed program was:" >&5 |
11375 cat conftest.$ac_ext >&5 | 11377 cat conftest.$ac_ext >&5 |
11383 echo "$ac_t""yes" 1>&6 | 11385 echo "$ac_t""yes" 1>&6 |
11384 libwnn=wnn6 | 11386 libwnn=wnn6 |
11385 else | 11387 else |
11386 echo "$ac_t""no" 1>&6 | 11388 echo "$ac_t""no" 1>&6 |
11387 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11389 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11388 echo "configure:11389: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11390 echo "configure:11391: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11389 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11391 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11390 | 11392 |
11391 xe_check_libs=" -lwnn6_fromsrc " | 11393 xe_check_libs=" -lwnn6_fromsrc " |
11392 cat > conftest.$ac_ext <<EOF | 11394 cat > conftest.$ac_ext <<EOF |
11393 #line 11394 "configure" | 11395 #line 11396 "configure" |
11394 #include "confdefs.h" | 11396 #include "confdefs.h" |
11395 /* Override any gcc2 internal prototype to avoid an error. */ | 11397 /* Override any gcc2 internal prototype to avoid an error. */ |
11396 /* We use char because int might match the return type of a gcc2 | 11398 /* We use char because int might match the return type of a gcc2 |
11397 builtin and then its argument prototype would still apply. */ | 11399 builtin and then its argument prototype would still apply. */ |
11398 char dic_list_e(); | 11400 char dic_list_e(); |
11399 | 11401 |
11400 int main() { | 11402 int main() { |
11401 dic_list_e() | 11403 dic_list_e() |
11402 ; return 0; } | 11404 ; return 0; } |
11403 EOF | 11405 EOF |
11404 if { (eval echo configure:11405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11406 if { (eval echo configure:11407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11405 rm -rf conftest* | 11407 rm -rf conftest* |
11406 eval "ac_cv_lib_$ac_lib_var=yes" | 11408 eval "ac_cv_lib_$ac_lib_var=yes" |
11407 else | 11409 else |
11408 echo "configure: failed program was:" >&5 | 11410 echo "configure: failed program was:" >&5 |
11409 cat conftest.$ac_ext >&5 | 11411 cat conftest.$ac_ext >&5 |
11444 | 11446 |
11445 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11447 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11446 if test "$with_wnn6" != "no"; then | 11448 if test "$with_wnn6" != "no"; then |
11447 | 11449 |
11448 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11450 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11449 echo "configure:11450: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11451 echo "configure:11452: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11450 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11452 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11451 | 11453 |
11452 xe_check_libs=" -l$libwnn " | 11454 xe_check_libs=" -l$libwnn " |
11453 cat > conftest.$ac_ext <<EOF | 11455 cat > conftest.$ac_ext <<EOF |
11454 #line 11455 "configure" | 11456 #line 11457 "configure" |
11455 #include "confdefs.h" | 11457 #include "confdefs.h" |
11456 /* Override any gcc2 internal prototype to avoid an error. */ | 11458 /* Override any gcc2 internal prototype to avoid an error. */ |
11457 /* We use char because int might match the return type of a gcc2 | 11459 /* We use char because int might match the return type of a gcc2 |
11458 builtin and then its argument prototype would still apply. */ | 11460 builtin and then its argument prototype would still apply. */ |
11459 char jl_fi_dic_list(); | 11461 char jl_fi_dic_list(); |
11460 | 11462 |
11461 int main() { | 11463 int main() { |
11462 jl_fi_dic_list() | 11464 jl_fi_dic_list() |
11463 ; return 0; } | 11465 ; return 0; } |
11464 EOF | 11466 EOF |
11465 if { (eval echo configure:11466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11467 if { (eval echo configure:11468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11466 rm -rf conftest* | 11468 rm -rf conftest* |
11467 eval "ac_cv_lib_$ac_lib_var=yes" | 11469 eval "ac_cv_lib_$ac_lib_var=yes" |
11468 else | 11470 else |
11469 echo "configure: failed program was:" >&5 | 11471 echo "configure: failed program was:" >&5 |
11470 cat conftest.$ac_ext >&5 | 11472 cat conftest.$ac_ext >&5 |
11495 | 11497 |
11496 canna_includes_found=no | 11498 canna_includes_found=no |
11497 if test "$with_canna" != "no"; then | 11499 if test "$with_canna" != "no"; then |
11498 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11500 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11499 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11501 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11500 echo "configure:11501: checking for canna/jrkanji.h" >&5 | 11502 echo "configure:11503: checking for canna/jrkanji.h" >&5 |
11501 | 11503 |
11502 cat > conftest.$ac_ext <<EOF | 11504 cat > conftest.$ac_ext <<EOF |
11503 #line 11504 "configure" | 11505 #line 11506 "configure" |
11504 #include "confdefs.h" | 11506 #include "confdefs.h" |
11505 #include <canna/jrkanji.h> | 11507 #include <canna/jrkanji.h> |
11506 EOF | 11508 EOF |
11507 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11508 { (eval echo configure:11509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11510 { (eval echo configure:11511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11509 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11511 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11510 if test -z "$ac_err"; then | 11512 if test -z "$ac_err"; then |
11511 rm -rf conftest* | 11513 rm -rf conftest* |
11512 eval "ac_cv_header_$ac_safe=yes" | 11514 eval "ac_cv_header_$ac_safe=yes" |
11513 else | 11515 else |
11530 -d "/usr/local/canna/include"; then | 11532 -d "/usr/local/canna/include"; then |
11531 save_c_switch_site="$c_switch_site" | 11533 save_c_switch_site="$c_switch_site" |
11532 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11534 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11533 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11535 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11534 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11536 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11535 echo "configure:11536: checking for canna/jrkanji.h" >&5 | 11537 echo "configure:11538: checking for canna/jrkanji.h" >&5 |
11536 | 11538 |
11537 cat > conftest.$ac_ext <<EOF | 11539 cat > conftest.$ac_ext <<EOF |
11538 #line 11539 "configure" | 11540 #line 11541 "configure" |
11539 #include "confdefs.h" | 11541 #include "confdefs.h" |
11540 #include <canna/jrkanji.h> | 11542 #include <canna/jrkanji.h> |
11541 EOF | 11543 EOF |
11542 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11544 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11543 { (eval echo configure:11544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11545 { (eval echo configure:11546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11544 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11546 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11545 if test -z "$ac_err"; then | 11547 if test -z "$ac_err"; then |
11546 rm -rf conftest* | 11548 rm -rf conftest* |
11547 eval "ac_cv_header_$ac_safe=yes" | 11549 eval "ac_cv_header_$ac_safe=yes" |
11548 else | 11550 else |
11566 fi | 11568 fi |
11567 fi | 11569 fi |
11568 | 11570 |
11569 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11571 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11570 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11572 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11571 echo "configure:11572: checking for canna/RK.h" >&5 | 11573 echo "configure:11574: checking for canna/RK.h" >&5 |
11572 | 11574 |
11573 cat > conftest.$ac_ext <<EOF | 11575 cat > conftest.$ac_ext <<EOF |
11574 #line 11575 "configure" | 11576 #line 11577 "configure" |
11575 #include "confdefs.h" | 11577 #include "confdefs.h" |
11576 #include <canna/RK.h> | 11578 #include <canna/RK.h> |
11577 EOF | 11579 EOF |
11578 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11580 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11579 { (eval echo configure:11580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11581 { (eval echo configure:11582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11580 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11582 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11581 if test -z "$ac_err"; then | 11583 if test -z "$ac_err"; then |
11582 rm -rf conftest* | 11584 rm -rf conftest* |
11583 eval "ac_cv_header_$ac_safe=yes" | 11585 eval "ac_cv_header_$ac_safe=yes" |
11584 else | 11586 else |
11597 with_canna=no | 11599 with_canna=no |
11598 fi | 11600 fi |
11599 } | 11601 } |
11600 test -z "$with_canna" && { | 11602 test -z "$with_canna" && { |
11601 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11603 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11602 echo "configure:11603: checking for RkBgnBun in -lRKC" >&5 | 11604 echo "configure:11605: checking for RkBgnBun in -lRKC" >&5 |
11603 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11605 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11604 | 11606 |
11605 xe_check_libs=" -lRKC " | 11607 xe_check_libs=" -lRKC " |
11606 cat > conftest.$ac_ext <<EOF | 11608 cat > conftest.$ac_ext <<EOF |
11607 #line 11608 "configure" | 11609 #line 11610 "configure" |
11608 #include "confdefs.h" | 11610 #include "confdefs.h" |
11609 /* Override any gcc2 internal prototype to avoid an error. */ | 11611 /* Override any gcc2 internal prototype to avoid an error. */ |
11610 /* We use char because int might match the return type of a gcc2 | 11612 /* We use char because int might match the return type of a gcc2 |
11611 builtin and then its argument prototype would still apply. */ | 11613 builtin and then its argument prototype would still apply. */ |
11612 char RkBgnBun(); | 11614 char RkBgnBun(); |
11613 | 11615 |
11614 int main() { | 11616 int main() { |
11615 RkBgnBun() | 11617 RkBgnBun() |
11616 ; return 0; } | 11618 ; return 0; } |
11617 EOF | 11619 EOF |
11618 if { (eval echo configure:11619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11620 if { (eval echo configure:11621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11619 rm -rf conftest* | 11621 rm -rf conftest* |
11620 eval "ac_cv_lib_$ac_lib_var=yes" | 11622 eval "ac_cv_lib_$ac_lib_var=yes" |
11621 else | 11623 else |
11622 echo "configure: failed program was:" >&5 | 11624 echo "configure: failed program was:" >&5 |
11623 cat conftest.$ac_ext >&5 | 11625 cat conftest.$ac_ext >&5 |
11636 fi | 11638 fi |
11637 | 11639 |
11638 } | 11640 } |
11639 test -z "$with_canna" && { | 11641 test -z "$with_canna" && { |
11640 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11642 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11641 echo "configure:11642: checking for jrKanjiControl in -lcanna" >&5 | 11643 echo "configure:11644: checking for jrKanjiControl in -lcanna" >&5 |
11642 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11644 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11643 | 11645 |
11644 xe_check_libs=" -lcanna " | 11646 xe_check_libs=" -lcanna " |
11645 cat > conftest.$ac_ext <<EOF | 11647 cat > conftest.$ac_ext <<EOF |
11646 #line 11647 "configure" | 11648 #line 11649 "configure" |
11647 #include "confdefs.h" | 11649 #include "confdefs.h" |
11648 /* Override any gcc2 internal prototype to avoid an error. */ | 11650 /* Override any gcc2 internal prototype to avoid an error. */ |
11649 /* We use char because int might match the return type of a gcc2 | 11651 /* We use char because int might match the return type of a gcc2 |
11650 builtin and then its argument prototype would still apply. */ | 11652 builtin and then its argument prototype would still apply. */ |
11651 char jrKanjiControl(); | 11653 char jrKanjiControl(); |
11652 | 11654 |
11653 int main() { | 11655 int main() { |
11654 jrKanjiControl() | 11656 jrKanjiControl() |
11655 ; return 0; } | 11657 ; return 0; } |
11656 EOF | 11658 EOF |
11657 if { (eval echo configure:11658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11659 if { (eval echo configure:11660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11658 rm -rf conftest* | 11660 rm -rf conftest* |
11659 eval "ac_cv_lib_$ac_lib_var=yes" | 11661 eval "ac_cv_lib_$ac_lib_var=yes" |
11660 else | 11662 else |
11661 echo "configure: failed program was:" >&5 | 11663 echo "configure: failed program was:" >&5 |
11662 cat conftest.$ac_ext >&5 | 11664 cat conftest.$ac_ext >&5 |
11698 | 11700 |
11699 if test "$need_motif" = "yes" ; then | 11701 if test "$need_motif" = "yes" ; then |
11700 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11702 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11701 | 11703 |
11702 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11704 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11703 echo "configure:11704: checking for layout_object_getvalue in -li18n" >&5 | 11705 echo "configure:11706: checking for layout_object_getvalue in -li18n" >&5 |
11704 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11706 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11705 | 11707 |
11706 xe_check_libs=" -li18n " | 11708 xe_check_libs=" -li18n " |
11707 cat > conftest.$ac_ext <<EOF | 11709 cat > conftest.$ac_ext <<EOF |
11708 #line 11709 "configure" | 11710 #line 11711 "configure" |
11709 #include "confdefs.h" | 11711 #include "confdefs.h" |
11710 /* Override any gcc2 internal prototype to avoid an error. */ | 11712 /* Override any gcc2 internal prototype to avoid an error. */ |
11711 /* We use char because int might match the return type of a gcc2 | 11713 /* We use char because int might match the return type of a gcc2 |
11712 builtin and then its argument prototype would still apply. */ | 11714 builtin and then its argument prototype would still apply. */ |
11713 char layout_object_getvalue(); | 11715 char layout_object_getvalue(); |
11714 | 11716 |
11715 int main() { | 11717 int main() { |
11716 layout_object_getvalue() | 11718 layout_object_getvalue() |
11717 ; return 0; } | 11719 ; return 0; } |
11718 EOF | 11720 EOF |
11719 if { (eval echo configure:11720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11721 if { (eval echo configure:11722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11720 rm -rf conftest* | 11722 rm -rf conftest* |
11721 eval "ac_cv_lib_$ac_lib_var=yes" | 11723 eval "ac_cv_lib_$ac_lib_var=yes" |
11722 else | 11724 else |
11723 echo "configure: failed program was:" >&5 | 11725 echo "configure: failed program was:" >&5 |
11724 cat conftest.$ac_ext >&5 | 11726 cat conftest.$ac_ext >&5 |
11801 | 11803 |
11802 | 11804 |
11803 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp | 11805 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp |
11804 do | 11806 do |
11805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11806 echo "configure:11807: checking for $ac_func" >&5 | 11808 echo "configure:11809: checking for $ac_func" >&5 |
11807 | 11809 |
11808 cat > conftest.$ac_ext <<EOF | 11810 cat > conftest.$ac_ext <<EOF |
11809 #line 11810 "configure" | 11811 #line 11812 "configure" |
11810 #include "confdefs.h" | 11812 #include "confdefs.h" |
11811 /* System header to define __stub macros and hopefully few prototypes, | 11813 /* System header to define __stub macros and hopefully few prototypes, |
11812 which can conflict with char $ac_func(); below. */ | 11814 which can conflict with char $ac_func(); below. */ |
11813 #include <assert.h> | 11815 #include <assert.h> |
11814 /* Override any gcc2 internal prototype to avoid an error. */ | 11816 /* Override any gcc2 internal prototype to avoid an error. */ |
11827 $ac_func(); | 11829 $ac_func(); |
11828 #endif | 11830 #endif |
11829 | 11831 |
11830 ; return 0; } | 11832 ; return 0; } |
11831 EOF | 11833 EOF |
11832 if { (eval echo configure:11833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11834 if { (eval echo configure:11835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11833 rm -rf conftest* | 11835 rm -rf conftest* |
11834 eval "ac_cv_func_$ac_func=yes" | 11836 eval "ac_cv_func_$ac_func=yes" |
11835 else | 11837 else |
11836 echo "configure: failed program was:" >&5 | 11838 echo "configure: failed program was:" >&5 |
11837 cat conftest.$ac_ext >&5 | 11839 cat conftest.$ac_ext >&5 |
11868 | 11870 |
11869 | 11871 |
11870 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 11872 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
11871 do | 11873 do |
11872 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11874 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11873 echo "configure:11874: checking for $ac_func" >&5 | 11875 echo "configure:11876: checking for $ac_func" >&5 |
11874 | 11876 |
11875 cat > conftest.$ac_ext <<EOF | 11877 cat > conftest.$ac_ext <<EOF |
11876 #line 11877 "configure" | 11878 #line 11879 "configure" |
11877 #include "confdefs.h" | 11879 #include "confdefs.h" |
11878 /* System header to define __stub macros and hopefully few prototypes, | 11880 /* System header to define __stub macros and hopefully few prototypes, |
11879 which can conflict with char $ac_func(); below. */ | 11881 which can conflict with char $ac_func(); below. */ |
11880 #include <assert.h> | 11882 #include <assert.h> |
11881 /* Override any gcc2 internal prototype to avoid an error. */ | 11883 /* Override any gcc2 internal prototype to avoid an error. */ |
11894 $ac_func(); | 11896 $ac_func(); |
11895 #endif | 11897 #endif |
11896 | 11898 |
11897 ; return 0; } | 11899 ; return 0; } |
11898 EOF | 11900 EOF |
11899 if { (eval echo configure:11900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11901 if { (eval echo configure:11902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11900 rm -rf conftest* | 11902 rm -rf conftest* |
11901 eval "ac_cv_func_$ac_func=yes" | 11903 eval "ac_cv_func_$ac_func=yes" |
11902 else | 11904 else |
11903 echo "configure: failed program was:" >&5 | 11905 echo "configure: failed program was:" >&5 |
11904 cat conftest.$ac_ext >&5 | 11906 cat conftest.$ac_ext >&5 |
11923 fi | 11925 fi |
11924 done | 11926 done |
11925 | 11927 |
11926 | 11928 |
11927 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 11929 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
11928 echo "configure:11929: checking for openpty" >&5 | 11930 echo "configure:11931: checking for openpty" >&5 |
11929 | 11931 |
11930 cat > conftest.$ac_ext <<EOF | 11932 cat > conftest.$ac_ext <<EOF |
11931 #line 11932 "configure" | 11933 #line 11934 "configure" |
11932 #include "confdefs.h" | 11934 #include "confdefs.h" |
11933 /* System header to define __stub macros and hopefully few prototypes, | 11935 /* System header to define __stub macros and hopefully few prototypes, |
11934 which can conflict with char openpty(); below. */ | 11936 which can conflict with char openpty(); below. */ |
11935 #include <assert.h> | 11937 #include <assert.h> |
11936 /* Override any gcc2 internal prototype to avoid an error. */ | 11938 /* Override any gcc2 internal prototype to avoid an error. */ |
11949 openpty(); | 11951 openpty(); |
11950 #endif | 11952 #endif |
11951 | 11953 |
11952 ; return 0; } | 11954 ; return 0; } |
11953 EOF | 11955 EOF |
11954 if { (eval echo configure:11955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11956 if { (eval echo configure:11957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11955 rm -rf conftest* | 11957 rm -rf conftest* |
11956 eval "ac_cv_func_openpty=yes" | 11958 eval "ac_cv_func_openpty=yes" |
11957 else | 11959 else |
11958 echo "configure: failed program was:" >&5 | 11960 echo "configure: failed program was:" >&5 |
11959 cat conftest.$ac_ext >&5 | 11961 cat conftest.$ac_ext >&5 |
11968 else | 11970 else |
11969 echo "$ac_t""no" 1>&6 | 11971 echo "$ac_t""no" 1>&6 |
11970 | 11972 |
11971 | 11973 |
11972 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 11974 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
11973 echo "configure:11974: checking for openpty in -lutil" >&5 | 11975 echo "configure:11976: checking for openpty in -lutil" >&5 |
11974 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 11976 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
11975 | 11977 |
11976 xe_check_libs=" -lutil " | 11978 xe_check_libs=" -lutil " |
11977 cat > conftest.$ac_ext <<EOF | 11979 cat > conftest.$ac_ext <<EOF |
11978 #line 11979 "configure" | 11980 #line 11981 "configure" |
11979 #include "confdefs.h" | 11981 #include "confdefs.h" |
11980 /* Override any gcc2 internal prototype to avoid an error. */ | 11982 /* Override any gcc2 internal prototype to avoid an error. */ |
11981 /* We use char because int might match the return type of a gcc2 | 11983 /* We use char because int might match the return type of a gcc2 |
11982 builtin and then its argument prototype would still apply. */ | 11984 builtin and then its argument prototype would still apply. */ |
11983 char openpty(); | 11985 char openpty(); |
11984 | 11986 |
11985 int main() { | 11987 int main() { |
11986 openpty() | 11988 openpty() |
11987 ; return 0; } | 11989 ; return 0; } |
11988 EOF | 11990 EOF |
11989 if { (eval echo configure:11990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11991 if { (eval echo configure:11992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11990 rm -rf conftest* | 11992 rm -rf conftest* |
11991 eval "ac_cv_lib_$ac_lib_var=yes" | 11993 eval "ac_cv_lib_$ac_lib_var=yes" |
11992 else | 11994 else |
11993 echo "configure: failed program was:" >&5 | 11995 echo "configure: failed program was:" >&5 |
11994 cat conftest.$ac_ext >&5 | 11996 cat conftest.$ac_ext >&5 |
12019 | 12021 |
12020 for ac_hdr in libutil.h util.h | 12022 for ac_hdr in libutil.h util.h |
12021 do | 12023 do |
12022 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12024 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12023 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12025 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12024 echo "configure:12025: checking for $ac_hdr" >&5 | 12026 echo "configure:12027: checking for $ac_hdr" >&5 |
12025 | 12027 |
12026 cat > conftest.$ac_ext <<EOF | 12028 cat > conftest.$ac_ext <<EOF |
12027 #line 12028 "configure" | 12029 #line 12030 "configure" |
12028 #include "confdefs.h" | 12030 #include "confdefs.h" |
12029 #include <$ac_hdr> | 12031 #include <$ac_hdr> |
12030 EOF | 12032 EOF |
12031 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12033 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12032 { (eval echo configure:12033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12034 { (eval echo configure:12035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12033 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12035 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12034 if test -z "$ac_err"; then | 12036 if test -z "$ac_err"; then |
12035 rm -rf conftest* | 12037 rm -rf conftest* |
12036 eval "ac_cv_header_$ac_safe=yes" | 12038 eval "ac_cv_header_$ac_safe=yes" |
12037 else | 12039 else |
12064 case "$opsys" in | 12066 case "$opsys" in |
12065 hpux*) for ac_hdr in sys/ptyio.h | 12067 hpux*) for ac_hdr in sys/ptyio.h |
12066 do | 12068 do |
12067 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12069 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12068 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12070 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12069 echo "configure:12070: checking for $ac_hdr" >&5 | 12071 echo "configure:12072: checking for $ac_hdr" >&5 |
12070 | 12072 |
12071 cat > conftest.$ac_ext <<EOF | 12073 cat > conftest.$ac_ext <<EOF |
12072 #line 12073 "configure" | 12074 #line 12075 "configure" |
12073 #include "confdefs.h" | 12075 #include "confdefs.h" |
12074 #include <$ac_hdr> | 12076 #include <$ac_hdr> |
12075 EOF | 12077 EOF |
12076 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12078 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12077 { (eval echo configure:12078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12079 { (eval echo configure:12080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12078 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12079 if test -z "$ac_err"; then | 12081 if test -z "$ac_err"; then |
12080 rm -rf conftest* | 12082 rm -rf conftest* |
12081 eval "ac_cv_header_$ac_safe=yes" | 12083 eval "ac_cv_header_$ac_safe=yes" |
12082 else | 12084 else |
12105 ;; | 12107 ;; |
12106 *) for ac_hdr in pty.h | 12108 *) for ac_hdr in pty.h |
12107 do | 12109 do |
12108 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12110 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12109 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12111 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12110 echo "configure:12111: checking for $ac_hdr" >&5 | 12112 echo "configure:12113: checking for $ac_hdr" >&5 |
12111 | 12113 |
12112 cat > conftest.$ac_ext <<EOF | 12114 cat > conftest.$ac_ext <<EOF |
12113 #line 12114 "configure" | 12115 #line 12116 "configure" |
12114 #include "confdefs.h" | 12116 #include "confdefs.h" |
12115 #include <$ac_hdr> | 12117 #include <$ac_hdr> |
12116 EOF | 12118 EOF |
12117 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12119 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12118 { (eval echo configure:12119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12120 { (eval echo configure:12121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12119 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12121 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12120 if test -z "$ac_err"; then | 12122 if test -z "$ac_err"; then |
12121 rm -rf conftest* | 12123 rm -rf conftest* |
12122 eval "ac_cv_header_$ac_safe=yes" | 12124 eval "ac_cv_header_$ac_safe=yes" |
12123 else | 12125 else |
12146 | 12148 |
12147 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12149 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12148 do | 12150 do |
12149 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12151 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12150 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12152 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12151 echo "configure:12152: checking for $ac_hdr" >&5 | 12153 echo "configure:12154: checking for $ac_hdr" >&5 |
12152 | 12154 |
12153 cat > conftest.$ac_ext <<EOF | 12155 cat > conftest.$ac_ext <<EOF |
12154 #line 12155 "configure" | 12156 #line 12157 "configure" |
12155 #include "confdefs.h" | 12157 #include "confdefs.h" |
12156 #include <$ac_hdr> | 12158 #include <$ac_hdr> |
12157 EOF | 12159 EOF |
12158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12160 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12159 { (eval echo configure:12160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12161 { (eval echo configure:12162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12160 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12161 if test -z "$ac_err"; then | 12163 if test -z "$ac_err"; then |
12162 rm -rf conftest* | 12164 rm -rf conftest* |
12163 eval "ac_cv_header_$ac_safe=yes" | 12165 eval "ac_cv_header_$ac_safe=yes" |
12164 else | 12166 else |
12190 | 12192 |
12191 for ac_hdr in stropts.h | 12193 for ac_hdr in stropts.h |
12192 do | 12194 do |
12193 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12195 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12194 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12196 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12195 echo "configure:12196: checking for $ac_hdr" >&5 | 12197 echo "configure:12198: checking for $ac_hdr" >&5 |
12196 | 12198 |
12197 cat > conftest.$ac_ext <<EOF | 12199 cat > conftest.$ac_ext <<EOF |
12198 #line 12199 "configure" | 12200 #line 12201 "configure" |
12199 #include "confdefs.h" | 12201 #include "confdefs.h" |
12200 #include <$ac_hdr> | 12202 #include <$ac_hdr> |
12201 EOF | 12203 EOF |
12202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12203 { (eval echo configure:12204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12205 { (eval echo configure:12206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12205 if test -z "$ac_err"; then | 12207 if test -z "$ac_err"; then |
12206 rm -rf conftest* | 12208 rm -rf conftest* |
12207 eval "ac_cv_header_$ac_safe=yes" | 12209 eval "ac_cv_header_$ac_safe=yes" |
12208 else | 12210 else |
12231 | 12233 |
12232 if test "$ac_cv_header_stropts_h" = "yes"; then | 12234 if test "$ac_cv_header_stropts_h" = "yes"; then |
12233 for ac_func in isastream | 12235 for ac_func in isastream |
12234 do | 12236 do |
12235 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12237 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12236 echo "configure:12237: checking for $ac_func" >&5 | 12238 echo "configure:12239: checking for $ac_func" >&5 |
12237 | 12239 |
12238 cat > conftest.$ac_ext <<EOF | 12240 cat > conftest.$ac_ext <<EOF |
12239 #line 12240 "configure" | 12241 #line 12242 "configure" |
12240 #include "confdefs.h" | 12242 #include "confdefs.h" |
12241 /* System header to define __stub macros and hopefully few prototypes, | 12243 /* System header to define __stub macros and hopefully few prototypes, |
12242 which can conflict with char $ac_func(); below. */ | 12244 which can conflict with char $ac_func(); below. */ |
12243 #include <assert.h> | 12245 #include <assert.h> |
12244 /* Override any gcc2 internal prototype to avoid an error. */ | 12246 /* Override any gcc2 internal prototype to avoid an error. */ |
12257 $ac_func(); | 12259 $ac_func(); |
12258 #endif | 12260 #endif |
12259 | 12261 |
12260 ; return 0; } | 12262 ; return 0; } |
12261 EOF | 12263 EOF |
12262 if { (eval echo configure:12263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12264 if { (eval echo configure:12265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12263 rm -rf conftest* | 12265 rm -rf conftest* |
12264 eval "ac_cv_func_$ac_func=yes" | 12266 eval "ac_cv_func_$ac_func=yes" |
12265 else | 12267 else |
12266 echo "configure: failed program was:" >&5 | 12268 echo "configure: failed program was:" >&5 |
12267 cat conftest.$ac_ext >&5 | 12269 cat conftest.$ac_ext >&5 |
12288 | 12290 |
12289 for ac_hdr in strtio.h | 12291 for ac_hdr in strtio.h |
12290 do | 12292 do |
12291 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12293 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12292 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12294 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12293 echo "configure:12294: checking for $ac_hdr" >&5 | 12295 echo "configure:12296: checking for $ac_hdr" >&5 |
12294 | 12296 |
12295 cat > conftest.$ac_ext <<EOF | 12297 cat > conftest.$ac_ext <<EOF |
12296 #line 12297 "configure" | 12298 #line 12299 "configure" |
12297 #include "confdefs.h" | 12299 #include "confdefs.h" |
12298 #include <$ac_hdr> | 12300 #include <$ac_hdr> |
12299 EOF | 12301 EOF |
12300 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12302 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12301 { (eval echo configure:12302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12303 { (eval echo configure:12304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12302 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12304 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12303 if test -z "$ac_err"; then | 12305 if test -z "$ac_err"; then |
12304 rm -rf conftest* | 12306 rm -rf conftest* |
12305 eval "ac_cv_header_$ac_safe=yes" | 12307 eval "ac_cv_header_$ac_safe=yes" |
12306 else | 12308 else |
12329 fi | 12331 fi |
12330 | 12332 |
12331 for ac_func in getloadavg | 12333 for ac_func in getloadavg |
12332 do | 12334 do |
12333 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12335 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12334 echo "configure:12335: checking for $ac_func" >&5 | 12336 echo "configure:12337: checking for $ac_func" >&5 |
12335 | 12337 |
12336 cat > conftest.$ac_ext <<EOF | 12338 cat > conftest.$ac_ext <<EOF |
12337 #line 12338 "configure" | 12339 #line 12340 "configure" |
12338 #include "confdefs.h" | 12340 #include "confdefs.h" |
12339 /* System header to define __stub macros and hopefully few prototypes, | 12341 /* System header to define __stub macros and hopefully few prototypes, |
12340 which can conflict with char $ac_func(); below. */ | 12342 which can conflict with char $ac_func(); below. */ |
12341 #include <assert.h> | 12343 #include <assert.h> |
12342 /* Override any gcc2 internal prototype to avoid an error. */ | 12344 /* Override any gcc2 internal prototype to avoid an error. */ |
12355 $ac_func(); | 12357 $ac_func(); |
12356 #endif | 12358 #endif |
12357 | 12359 |
12358 ; return 0; } | 12360 ; return 0; } |
12359 EOF | 12361 EOF |
12360 if { (eval echo configure:12361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12362 if { (eval echo configure:12363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12361 rm -rf conftest* | 12363 rm -rf conftest* |
12362 eval "ac_cv_func_$ac_func=yes" | 12364 eval "ac_cv_func_$ac_func=yes" |
12363 else | 12365 else |
12364 echo "configure: failed program was:" >&5 | 12366 echo "configure: failed program was:" >&5 |
12365 cat conftest.$ac_ext >&5 | 12367 cat conftest.$ac_ext >&5 |
12388 if test "$ac_cv_func_getloadavg" = "yes"; then | 12390 if test "$ac_cv_func_getloadavg" = "yes"; then |
12389 for ac_hdr in sys/loadavg.h | 12391 for ac_hdr in sys/loadavg.h |
12390 do | 12392 do |
12391 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12393 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12392 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12394 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12393 echo "configure:12394: checking for $ac_hdr" >&5 | 12395 echo "configure:12396: checking for $ac_hdr" >&5 |
12394 | 12396 |
12395 cat > conftest.$ac_ext <<EOF | 12397 cat > conftest.$ac_ext <<EOF |
12396 #line 12397 "configure" | 12398 #line 12399 "configure" |
12397 #include "confdefs.h" | 12399 #include "confdefs.h" |
12398 #include <$ac_hdr> | 12400 #include <$ac_hdr> |
12399 EOF | 12401 EOF |
12400 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12401 { (eval echo configure:12402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12403 { (eval echo configure:12404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12402 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12403 if test -z "$ac_err"; then | 12405 if test -z "$ac_err"; then |
12404 rm -rf conftest* | 12406 rm -rf conftest* |
12405 eval "ac_cv_header_$ac_safe=yes" | 12407 eval "ac_cv_header_$ac_safe=yes" |
12406 else | 12408 else |
12432 echo " xemacs will be linked with \"getloadavg.o\"" | 12434 echo " xemacs will be linked with \"getloadavg.o\"" |
12433 fi | 12435 fi |
12434 | 12436 |
12435 | 12437 |
12436 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12438 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12437 echo "configure:12438: checking for kstat_open in -lkstat" >&5 | 12439 echo "configure:12440: checking for kstat_open in -lkstat" >&5 |
12438 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12440 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12439 | 12441 |
12440 xe_check_libs=" -lkstat " | 12442 xe_check_libs=" -lkstat " |
12441 cat > conftest.$ac_ext <<EOF | 12443 cat > conftest.$ac_ext <<EOF |
12442 #line 12443 "configure" | 12444 #line 12445 "configure" |
12443 #include "confdefs.h" | 12445 #include "confdefs.h" |
12444 /* Override any gcc2 internal prototype to avoid an error. */ | 12446 /* Override any gcc2 internal prototype to avoid an error. */ |
12445 /* We use char because int might match the return type of a gcc2 | 12447 /* We use char because int might match the return type of a gcc2 |
12446 builtin and then its argument prototype would still apply. */ | 12448 builtin and then its argument prototype would still apply. */ |
12447 char kstat_open(); | 12449 char kstat_open(); |
12448 | 12450 |
12449 int main() { | 12451 int main() { |
12450 kstat_open() | 12452 kstat_open() |
12451 ; return 0; } | 12453 ; return 0; } |
12452 EOF | 12454 EOF |
12453 if { (eval echo configure:12454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12455 if { (eval echo configure:12456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12454 rm -rf conftest* | 12456 rm -rf conftest* |
12455 eval "ac_cv_lib_$ac_lib_var=yes" | 12457 eval "ac_cv_lib_$ac_lib_var=yes" |
12456 else | 12458 else |
12457 echo "configure: failed program was:" >&5 | 12459 echo "configure: failed program was:" >&5 |
12458 cat conftest.$ac_ext >&5 | 12460 cat conftest.$ac_ext >&5 |
12483 | 12485 |
12484 for ac_hdr in kstat.h | 12486 for ac_hdr in kstat.h |
12485 do | 12487 do |
12486 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12488 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12487 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12489 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12488 echo "configure:12489: checking for $ac_hdr" >&5 | 12490 echo "configure:12491: checking for $ac_hdr" >&5 |
12489 | 12491 |
12490 cat > conftest.$ac_ext <<EOF | 12492 cat > conftest.$ac_ext <<EOF |
12491 #line 12492 "configure" | 12493 #line 12494 "configure" |
12492 #include "confdefs.h" | 12494 #include "confdefs.h" |
12493 #include <$ac_hdr> | 12495 #include <$ac_hdr> |
12494 EOF | 12496 EOF |
12495 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12497 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12496 { (eval echo configure:12497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12498 { (eval echo configure:12499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12497 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12499 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12498 if test -z "$ac_err"; then | 12500 if test -z "$ac_err"; then |
12499 rm -rf conftest* | 12501 rm -rf conftest* |
12500 eval "ac_cv_header_$ac_safe=yes" | 12502 eval "ac_cv_header_$ac_safe=yes" |
12501 else | 12503 else |
12523 done | 12525 done |
12524 | 12526 |
12525 | 12527 |
12526 | 12528 |
12527 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12529 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12528 echo "configure:12529: checking for kvm_read in -lkvm" >&5 | 12530 echo "configure:12531: checking for kvm_read in -lkvm" >&5 |
12529 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12531 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12530 | 12532 |
12531 xe_check_libs=" -lkvm " | 12533 xe_check_libs=" -lkvm " |
12532 cat > conftest.$ac_ext <<EOF | 12534 cat > conftest.$ac_ext <<EOF |
12533 #line 12534 "configure" | 12535 #line 12536 "configure" |
12534 #include "confdefs.h" | 12536 #include "confdefs.h" |
12535 /* Override any gcc2 internal prototype to avoid an error. */ | 12537 /* Override any gcc2 internal prototype to avoid an error. */ |
12536 /* We use char because int might match the return type of a gcc2 | 12538 /* We use char because int might match the return type of a gcc2 |
12537 builtin and then its argument prototype would still apply. */ | 12539 builtin and then its argument prototype would still apply. */ |
12538 char kvm_read(); | 12540 char kvm_read(); |
12539 | 12541 |
12540 int main() { | 12542 int main() { |
12541 kvm_read() | 12543 kvm_read() |
12542 ; return 0; } | 12544 ; return 0; } |
12543 EOF | 12545 EOF |
12544 if { (eval echo configure:12545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12546 if { (eval echo configure:12547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12545 rm -rf conftest* | 12547 rm -rf conftest* |
12546 eval "ac_cv_lib_$ac_lib_var=yes" | 12548 eval "ac_cv_lib_$ac_lib_var=yes" |
12547 else | 12549 else |
12548 echo "configure: failed program was:" >&5 | 12550 echo "configure: failed program was:" >&5 |
12549 cat conftest.$ac_ext >&5 | 12551 cat conftest.$ac_ext >&5 |
12573 | 12575 |
12574 | 12576 |
12575 fi | 12577 fi |
12576 | 12578 |
12577 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12579 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12578 echo "configure:12579: checking whether netdb declares h_errno" >&5 | 12580 echo "configure:12581: checking whether netdb declares h_errno" >&5 |
12579 cat > conftest.$ac_ext <<EOF | 12581 cat > conftest.$ac_ext <<EOF |
12580 #line 12581 "configure" | 12582 #line 12583 "configure" |
12581 #include "confdefs.h" | 12583 #include "confdefs.h" |
12582 #include <netdb.h> | 12584 #include <netdb.h> |
12583 int main() { | 12585 int main() { |
12584 return h_errno; | 12586 return h_errno; |
12585 ; return 0; } | 12587 ; return 0; } |
12586 EOF | 12588 EOF |
12587 if { (eval echo configure:12588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12589 if { (eval echo configure:12590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12588 rm -rf conftest* | 12590 rm -rf conftest* |
12589 echo "$ac_t""yes" 1>&6 | 12591 echo "$ac_t""yes" 1>&6 |
12590 { test "$extra_verbose" = "yes" && cat << \EOF | 12592 { test "$extra_verbose" = "yes" && cat << \EOF |
12591 Defining HAVE_H_ERRNO | 12593 Defining HAVE_H_ERRNO |
12592 EOF | 12594 EOF |
12602 echo "$ac_t""no" 1>&6 | 12604 echo "$ac_t""no" 1>&6 |
12603 fi | 12605 fi |
12604 rm -f conftest* | 12606 rm -f conftest* |
12605 | 12607 |
12606 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12608 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12607 echo "configure:12608: checking for sigsetjmp" >&5 | 12609 echo "configure:12610: checking for sigsetjmp" >&5 |
12608 cat > conftest.$ac_ext <<EOF | 12610 cat > conftest.$ac_ext <<EOF |
12609 #line 12610 "configure" | 12611 #line 12612 "configure" |
12610 #include "confdefs.h" | 12612 #include "confdefs.h" |
12611 #include <setjmp.h> | 12613 #include <setjmp.h> |
12612 int main() { | 12614 int main() { |
12613 sigjmp_buf bar; sigsetjmp (bar, 0); | 12615 sigjmp_buf bar; sigsetjmp (bar, 0); |
12614 ; return 0; } | 12616 ; return 0; } |
12615 EOF | 12617 EOF |
12616 if { (eval echo configure:12617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12618 if { (eval echo configure:12619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12617 rm -rf conftest* | 12619 rm -rf conftest* |
12618 echo "$ac_t""yes" 1>&6 | 12620 echo "$ac_t""yes" 1>&6 |
12619 { test "$extra_verbose" = "yes" && cat << \EOF | 12621 { test "$extra_verbose" = "yes" && cat << \EOF |
12620 Defining HAVE_SIGSETJMP | 12622 Defining HAVE_SIGSETJMP |
12621 EOF | 12623 EOF |
12631 echo "$ac_t""no" 1>&6 | 12633 echo "$ac_t""no" 1>&6 |
12632 fi | 12634 fi |
12633 rm -f conftest* | 12635 rm -f conftest* |
12634 | 12636 |
12635 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12637 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12636 echo "configure:12637: checking whether localtime caches TZ" >&5 | 12638 echo "configure:12639: checking whether localtime caches TZ" >&5 |
12637 | 12639 |
12638 if test "$ac_cv_func_tzset" = "yes"; then | 12640 if test "$ac_cv_func_tzset" = "yes"; then |
12639 cat > conftest.$ac_ext <<EOF | 12641 cat > conftest.$ac_ext <<EOF |
12640 #line 12641 "configure" | 12642 #line 12643 "configure" |
12641 #include "confdefs.h" | 12643 #include "confdefs.h" |
12642 #include <time.h> | 12644 #include <time.h> |
12643 #if STDC_HEADERS | 12645 #if STDC_HEADERS |
12644 # include <stdlib.h> | 12646 # include <stdlib.h> |
12645 #endif | 12647 #endif |
12670 if (localtime (&now)->tm_hour != hour_unset) | 12672 if (localtime (&now)->tm_hour != hour_unset) |
12671 exit (1); | 12673 exit (1); |
12672 exit (0); | 12674 exit (0); |
12673 } | 12675 } |
12674 EOF | 12676 EOF |
12675 if { (eval echo configure:12676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12677 if { (eval echo configure:12678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12676 then | 12678 then |
12677 emacs_cv_localtime_cache=no | 12679 emacs_cv_localtime_cache=no |
12678 else | 12680 else |
12679 conftest_rc="$?" | 12681 conftest_rc="$?" |
12680 echo "configure: failed program was:" >&5 | 12682 echo "configure: failed program was:" >&5 |
12700 | 12702 |
12701 fi | 12703 fi |
12702 | 12704 |
12703 if test "$HAVE_TIMEVAL" = "yes"; then | 12705 if test "$HAVE_TIMEVAL" = "yes"; then |
12704 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12706 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12705 echo "configure:12706: checking whether gettimeofday accepts one or two arguments" >&5 | 12707 echo "configure:12708: checking whether gettimeofday accepts one or two arguments" >&5 |
12706 cat > conftest.$ac_ext <<EOF | 12708 cat > conftest.$ac_ext <<EOF |
12707 #line 12708 "configure" | 12709 #line 12710 "configure" |
12708 #include "confdefs.h" | 12710 #include "confdefs.h" |
12709 | 12711 |
12710 #ifdef TIME_WITH_SYS_TIME | 12712 #ifdef TIME_WITH_SYS_TIME |
12711 #include <sys/time.h> | 12713 #include <sys/time.h> |
12712 #include <time.h> | 12714 #include <time.h> |
12723 struct timeval time; | 12725 struct timeval time; |
12724 gettimeofday (&time, 0); | 12726 gettimeofday (&time, 0); |
12725 | 12727 |
12726 ; return 0; } | 12728 ; return 0; } |
12727 EOF | 12729 EOF |
12728 if { (eval echo configure:12729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12730 if { (eval echo configure:12731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12729 rm -rf conftest* | 12731 rm -rf conftest* |
12730 echo "$ac_t""two" 1>&6 | 12732 echo "$ac_t""two" 1>&6 |
12731 else | 12733 else |
12732 echo "configure: failed program was:" >&5 | 12734 echo "configure: failed program was:" >&5 |
12733 cat conftest.$ac_ext >&5 | 12735 cat conftest.$ac_ext >&5 |
12745 rm -f conftest* | 12747 rm -f conftest* |
12746 fi | 12748 fi |
12747 | 12749 |
12748 | 12750 |
12749 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12751 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12750 echo "configure:12751: checking for inline" >&5 | 12752 echo "configure:12753: checking for inline" >&5 |
12751 | 12753 |
12752 ac_cv_c_inline=no | 12754 ac_cv_c_inline=no |
12753 for ac_kw in inline __inline__ __inline; do | 12755 for ac_kw in inline __inline__ __inline; do |
12754 cat > conftest.$ac_ext <<EOF | 12756 cat > conftest.$ac_ext <<EOF |
12755 #line 12756 "configure" | 12757 #line 12758 "configure" |
12756 #include "confdefs.h" | 12758 #include "confdefs.h" |
12757 | 12759 |
12758 int main() { | 12760 int main() { |
12759 } $ac_kw foo() { | 12761 } $ac_kw foo() { |
12760 ; return 0; } | 12762 ; return 0; } |
12761 EOF | 12763 EOF |
12762 if { (eval echo configure:12763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12764 if { (eval echo configure:12765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12763 rm -rf conftest* | 12765 rm -rf conftest* |
12764 ac_cv_c_inline=$ac_kw; break | 12766 ac_cv_c_inline=$ac_kw; break |
12765 else | 12767 else |
12766 echo "configure: failed program was:" >&5 | 12768 echo "configure: failed program was:" >&5 |
12767 cat conftest.$ac_ext >&5 | 12769 cat conftest.$ac_ext >&5 |
12798 | 12800 |
12799 if test "$__DECC" != "yes"; then | 12801 if test "$__DECC" != "yes"; then |
12800 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 12802 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
12801 # for constant arguments. Useless! | 12803 # for constant arguments. Useless! |
12802 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 12804 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
12803 echo "configure:12804: checking for working alloca.h" >&5 | 12805 echo "configure:12806: checking for working alloca.h" >&5 |
12804 | 12806 |
12805 cat > conftest.$ac_ext <<EOF | 12807 cat > conftest.$ac_ext <<EOF |
12806 #line 12807 "configure" | 12808 #line 12809 "configure" |
12807 #include "confdefs.h" | 12809 #include "confdefs.h" |
12808 #include <alloca.h> | 12810 #include <alloca.h> |
12809 int main() { | 12811 int main() { |
12810 char *p = alloca(2 * sizeof(int)); | 12812 char *p = alloca(2 * sizeof(int)); |
12811 ; return 0; } | 12813 ; return 0; } |
12812 EOF | 12814 EOF |
12813 if { (eval echo configure:12814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12815 if { (eval echo configure:12816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12814 rm -rf conftest* | 12816 rm -rf conftest* |
12815 ac_cv_header_alloca_h=yes | 12817 ac_cv_header_alloca_h=yes |
12816 else | 12818 else |
12817 echo "configure: failed program was:" >&5 | 12819 echo "configure: failed program was:" >&5 |
12818 cat conftest.$ac_ext >&5 | 12820 cat conftest.$ac_ext >&5 |
12832 } | 12834 } |
12833 | 12835 |
12834 fi | 12836 fi |
12835 | 12837 |
12836 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 12838 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
12837 echo "configure:12838: checking for alloca" >&5 | 12839 echo "configure:12840: checking for alloca" >&5 |
12838 | 12840 |
12839 cat > conftest.$ac_ext <<EOF | 12841 cat > conftest.$ac_ext <<EOF |
12840 #line 12841 "configure" | 12842 #line 12843 "configure" |
12841 #include "confdefs.h" | 12843 #include "confdefs.h" |
12842 | 12844 |
12843 #ifdef __GNUC__ | 12845 #ifdef __GNUC__ |
12844 # define alloca __builtin_alloca | 12846 # define alloca __builtin_alloca |
12845 #else | 12847 #else |
12863 | 12865 |
12864 int main() { | 12866 int main() { |
12865 char *p = (char *) alloca(1); | 12867 char *p = (char *) alloca(1); |
12866 ; return 0; } | 12868 ; return 0; } |
12867 EOF | 12869 EOF |
12868 if { (eval echo configure:12869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12870 if { (eval echo configure:12871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12869 rm -rf conftest* | 12871 rm -rf conftest* |
12870 ac_cv_func_alloca_works=yes | 12872 ac_cv_func_alloca_works=yes |
12871 else | 12873 else |
12872 echo "configure: failed program was:" >&5 | 12874 echo "configure: failed program was:" >&5 |
12873 cat conftest.$ac_ext >&5 | 12875 cat conftest.$ac_ext >&5 |
12902 EOF | 12904 EOF |
12903 } | 12905 } |
12904 | 12906 |
12905 | 12907 |
12906 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 12908 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
12907 echo "configure:12908: checking whether alloca needs Cray hooks" >&5 | 12909 echo "configure:12910: checking whether alloca needs Cray hooks" >&5 |
12908 | 12910 |
12909 cat > conftest.$ac_ext <<EOF | 12911 cat > conftest.$ac_ext <<EOF |
12910 #line 12911 "configure" | 12912 #line 12913 "configure" |
12911 #include "confdefs.h" | 12913 #include "confdefs.h" |
12912 #if defined(CRAY) && ! defined(CRAY2) | 12914 #if defined(CRAY) && ! defined(CRAY2) |
12913 webecray | 12915 webecray |
12914 #else | 12916 #else |
12915 wenotbecray | 12917 wenotbecray |
12929 | 12931 |
12930 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 12932 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
12931 if test $ac_cv_os_cray = yes; then | 12933 if test $ac_cv_os_cray = yes; then |
12932 for ac_func in _getb67 GETB67 getb67; do | 12934 for ac_func in _getb67 GETB67 getb67; do |
12933 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12935 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12934 echo "configure:12935: checking for $ac_func" >&5 | 12936 echo "configure:12937: checking for $ac_func" >&5 |
12935 | 12937 |
12936 cat > conftest.$ac_ext <<EOF | 12938 cat > conftest.$ac_ext <<EOF |
12937 #line 12938 "configure" | 12939 #line 12940 "configure" |
12938 #include "confdefs.h" | 12940 #include "confdefs.h" |
12939 /* System header to define __stub macros and hopefully few prototypes, | 12941 /* System header to define __stub macros and hopefully few prototypes, |
12940 which can conflict with char $ac_func(); below. */ | 12942 which can conflict with char $ac_func(); below. */ |
12941 #include <assert.h> | 12943 #include <assert.h> |
12942 /* Override any gcc2 internal prototype to avoid an error. */ | 12944 /* Override any gcc2 internal prototype to avoid an error. */ |
12955 $ac_func(); | 12957 $ac_func(); |
12956 #endif | 12958 #endif |
12957 | 12959 |
12958 ; return 0; } | 12960 ; return 0; } |
12959 EOF | 12961 EOF |
12960 if { (eval echo configure:12961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12962 if { (eval echo configure:12963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12961 rm -rf conftest* | 12963 rm -rf conftest* |
12962 eval "ac_cv_func_$ac_func=yes" | 12964 eval "ac_cv_func_$ac_func=yes" |
12963 else | 12965 else |
12964 echo "configure: failed program was:" >&5 | 12966 echo "configure: failed program was:" >&5 |
12965 cat conftest.$ac_ext >&5 | 12967 cat conftest.$ac_ext >&5 |
12985 | 12987 |
12986 done | 12988 done |
12987 fi | 12989 fi |
12988 | 12990 |
12989 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 12991 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
12990 echo "configure:12991: checking stack direction for C alloca" >&5 | 12992 echo "configure:12993: checking stack direction for C alloca" >&5 |
12991 | 12993 |
12992 cat > conftest.$ac_ext <<EOF | 12994 cat > conftest.$ac_ext <<EOF |
12993 #line 12994 "configure" | 12995 #line 12996 "configure" |
12994 #include "confdefs.h" | 12996 #include "confdefs.h" |
12995 find_stack_direction () | 12997 find_stack_direction () |
12996 { | 12998 { |
12997 static char *addr = 0; | 12999 static char *addr = 0; |
12998 auto char dummy; | 13000 auto char dummy; |
13007 main () | 13009 main () |
13008 { | 13010 { |
13009 exit (find_stack_direction() < 0); | 13011 exit (find_stack_direction() < 0); |
13010 } | 13012 } |
13011 EOF | 13013 EOF |
13012 if { (eval echo configure:13013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13014 if { (eval echo configure:13015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13013 then | 13015 then |
13014 ac_cv_c_stack_direction=1 | 13016 ac_cv_c_stack_direction=1 |
13015 else | 13017 else |
13016 conftest_rc="$?" | 13018 conftest_rc="$?" |
13017 echo "configure: failed program was:" >&5 | 13019 echo "configure: failed program was:" >&5 |
13036 echo " xemacs will be linked with \"$ALLOCA\"" | 13038 echo " xemacs will be linked with \"$ALLOCA\"" |
13037 fi | 13039 fi |
13038 fi | 13040 fi |
13039 | 13041 |
13040 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13042 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13041 echo "configure:13042: checking for working alloca in function calls" >&5 | 13043 echo "configure:13044: checking for working alloca in function calls" >&5 |
13042 cat > conftest.$ac_ext <<EOF | 13044 cat > conftest.$ac_ext <<EOF |
13043 #line 13044 "configure" | 13045 #line 13046 "configure" |
13044 #include "confdefs.h" | 13046 #include "confdefs.h" |
13045 | 13047 |
13046 #if defined (__CYGWIN__) | 13048 #if defined (__CYGWIN__) |
13047 #include <alloca.h> | 13049 #include <alloca.h> |
13048 #elif defined (__GNUC__) | 13050 #elif defined (__GNUC__) |
13091 return 1; | 13093 return 1; |
13092 return 0; | 13094 return 0; |
13093 } | 13095 } |
13094 | 13096 |
13095 EOF | 13097 EOF |
13096 if { (eval echo configure:13097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13098 if { (eval echo configure:13099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13097 then | 13099 then |
13098 working_alloca_in_function_calls=yes | 13100 working_alloca_in_function_calls=yes |
13099 else | 13101 else |
13100 conftest_rc="$?" | 13102 conftest_rc="$?" |
13101 echo "configure: failed program was:" >&5 | 13103 echo "configure: failed program was:" >&5 |
13114 EOF | 13116 EOF |
13115 } | 13117 } |
13116 | 13118 |
13117 | 13119 |
13118 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13120 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13119 echo "configure:13120: checking for working strcoll" >&5 | 13121 echo "configure:13122: checking for working strcoll" >&5 |
13120 | 13122 |
13121 cat > conftest.$ac_ext <<EOF | 13123 cat > conftest.$ac_ext <<EOF |
13122 #line 13123 "configure" | 13124 #line 13125 "configure" |
13123 #include "confdefs.h" | 13125 #include "confdefs.h" |
13124 #include <string.h> | 13126 #include <string.h> |
13125 main () | 13127 main () |
13126 { | 13128 { |
13127 exit (strcoll ("abc", "def") >= 0 || | 13129 exit (strcoll ("abc", "def") >= 0 || |
13128 strcoll ("ABC", "DEF") >= 0 || | 13130 strcoll ("ABC", "DEF") >= 0 || |
13129 strcoll ("123", "456") >= 0); | 13131 strcoll ("123", "456") >= 0); |
13130 } | 13132 } |
13131 EOF | 13133 EOF |
13132 if { (eval echo configure:13133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13134 if { (eval echo configure:13135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13133 then | 13135 then |
13134 ac_cv_func_strcoll_works=yes | 13136 ac_cv_func_strcoll_works=yes |
13135 else | 13137 else |
13136 conftest_rc="$?" | 13138 conftest_rc="$?" |
13137 echo "configure: failed program was:" >&5 | 13139 echo "configure: failed program was:" >&5 |
13155 | 13157 |
13156 | 13158 |
13157 for ac_func in getpgrp | 13159 for ac_func in getpgrp |
13158 do | 13160 do |
13159 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13161 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13160 echo "configure:13161: checking for $ac_func" >&5 | 13162 echo "configure:13163: checking for $ac_func" >&5 |
13161 | 13163 |
13162 cat > conftest.$ac_ext <<EOF | 13164 cat > conftest.$ac_ext <<EOF |
13163 #line 13164 "configure" | 13165 #line 13166 "configure" |
13164 #include "confdefs.h" | 13166 #include "confdefs.h" |
13165 /* System header to define __stub macros and hopefully few prototypes, | 13167 /* System header to define __stub macros and hopefully few prototypes, |
13166 which can conflict with char $ac_func(); below. */ | 13168 which can conflict with char $ac_func(); below. */ |
13167 #include <assert.h> | 13169 #include <assert.h> |
13168 /* Override any gcc2 internal prototype to avoid an error. */ | 13170 /* Override any gcc2 internal prototype to avoid an error. */ |
13181 $ac_func(); | 13183 $ac_func(); |
13182 #endif | 13184 #endif |
13183 | 13185 |
13184 ; return 0; } | 13186 ; return 0; } |
13185 EOF | 13187 EOF |
13186 if { (eval echo configure:13187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13188 if { (eval echo configure:13189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13187 rm -rf conftest* | 13189 rm -rf conftest* |
13188 eval "ac_cv_func_$ac_func=yes" | 13190 eval "ac_cv_func_$ac_func=yes" |
13189 else | 13191 else |
13190 echo "configure: failed program was:" >&5 | 13192 echo "configure: failed program was:" >&5 |
13191 cat conftest.$ac_ext >&5 | 13193 cat conftest.$ac_ext >&5 |
13209 echo "$ac_t""no" 1>&6 | 13211 echo "$ac_t""no" 1>&6 |
13210 fi | 13212 fi |
13211 done | 13213 done |
13212 | 13214 |
13213 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13215 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13214 echo "configure:13215: checking whether getpgrp takes no argument" >&5 | 13216 echo "configure:13217: checking whether getpgrp takes no argument" >&5 |
13215 | 13217 |
13216 cat > conftest.$ac_ext <<EOF | 13218 cat > conftest.$ac_ext <<EOF |
13217 #line 13218 "configure" | 13219 #line 13220 "configure" |
13218 #include "confdefs.h" | 13220 #include "confdefs.h" |
13219 | 13221 |
13220 /* | 13222 /* |
13221 * If this system has a BSD-style getpgrp(), | 13223 * If this system has a BSD-style getpgrp(), |
13222 * which takes a pid argument, exit unsuccessfully. | 13224 * which takes a pid argument, exit unsuccessfully. |
13267 exit(s>>8); | 13269 exit(s>>8); |
13268 } | 13270 } |
13269 } | 13271 } |
13270 | 13272 |
13271 EOF | 13273 EOF |
13272 if { (eval echo configure:13273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13274 if { (eval echo configure:13275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13273 then | 13275 then |
13274 ac_cv_func_getpgrp_void=yes | 13276 ac_cv_func_getpgrp_void=yes |
13275 else | 13277 else |
13276 conftest_rc="$?" | 13278 conftest_rc="$?" |
13277 echo "configure: failed program was:" >&5 | 13279 echo "configure: failed program was:" >&5 |
13294 | 13296 |
13295 fi | 13297 fi |
13296 | 13298 |
13297 | 13299 |
13298 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13300 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13299 echo "configure:13300: checking for working mmap" >&5 | 13301 echo "configure:13302: checking for working mmap" >&5 |
13300 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13302 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13301 cat > conftest.$ac_ext <<EOF | 13303 cat > conftest.$ac_ext <<EOF |
13302 #line 13303 "configure" | 13304 #line 13305 "configure" |
13303 #include "confdefs.h" | 13305 #include "confdefs.h" |
13304 #include <stdio.h> | 13306 #include <stdio.h> |
13305 #include <unistd.h> | 13307 #include <unistd.h> |
13306 #include <fcntl.h> | 13308 #include <fcntl.h> |
13307 #include <sys/mman.h> | 13309 #include <sys/mman.h> |
13330 return 0; | 13332 return 0; |
13331 perror ("conftest: mmap failed"); | 13333 perror ("conftest: mmap failed"); |
13332 return 1; | 13334 return 1; |
13333 } | 13335 } |
13334 EOF | 13336 EOF |
13335 if { (eval echo configure:13336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13337 if { (eval echo configure:13338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13336 then | 13338 then |
13337 have_mmap=yes | 13339 have_mmap=yes |
13338 else | 13340 else |
13339 conftest_rc="$?" | 13341 conftest_rc="$?" |
13340 echo "configure: failed program was:" >&5 | 13342 echo "configure: failed program was:" >&5 |
13359 esac | 13361 esac |
13360 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13362 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13361 if test "$rel_alloc $have_mmap" = "default yes"; then | 13363 if test "$rel_alloc $have_mmap" = "default yes"; then |
13362 if test "$doug_lea_malloc" = "yes"; then | 13364 if test "$doug_lea_malloc" = "yes"; then |
13363 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13365 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13364 echo "configure:13365: checking for M_MMAP_THRESHOLD" >&5 | 13366 echo "configure:13367: checking for M_MMAP_THRESHOLD" >&5 |
13365 cat > conftest.$ac_ext <<EOF | 13367 cat > conftest.$ac_ext <<EOF |
13366 #line 13367 "configure" | 13368 #line 13369 "configure" |
13367 #include "confdefs.h" | 13369 #include "confdefs.h" |
13368 #include <malloc.h> | 13370 #include <malloc.h> |
13369 int main() { | 13371 int main() { |
13370 | 13372 |
13371 #ifndef M_MMAP_THRESHOLD | 13373 #ifndef M_MMAP_THRESHOLD |
13373 !@+$%^&*_)(_ - unlikely to compile... | 13375 !@+$%^&*_)(_ - unlikely to compile... |
13374 #endif | 13376 #endif |
13375 | 13377 |
13376 ; return 0; } | 13378 ; return 0; } |
13377 EOF | 13379 EOF |
13378 if { (eval echo configure:13379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13380 if { (eval echo configure:13381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13379 rm -rf conftest* | 13381 rm -rf conftest* |
13380 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13382 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13381 else | 13383 else |
13382 echo "configure: failed program was:" >&5 | 13384 echo "configure: failed program was:" >&5 |
13383 cat conftest.$ac_ext >&5 | 13385 cat conftest.$ac_ext >&5 |
13398 } | 13400 } |
13399 | 13401 |
13400 | 13402 |
13401 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13403 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13402 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13404 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13403 echo "configure:13404: checking for termios.h" >&5 | 13405 echo "configure:13406: checking for termios.h" >&5 |
13404 | 13406 |
13405 cat > conftest.$ac_ext <<EOF | 13407 cat > conftest.$ac_ext <<EOF |
13406 #line 13407 "configure" | 13408 #line 13409 "configure" |
13407 #include "confdefs.h" | 13409 #include "confdefs.h" |
13408 #include <termios.h> | 13410 #include <termios.h> |
13409 EOF | 13411 EOF |
13410 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13412 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13411 { (eval echo configure:13412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13413 { (eval echo configure:13414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13412 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13414 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13413 if test -z "$ac_err"; then | 13415 if test -z "$ac_err"; then |
13414 rm -rf conftest* | 13416 rm -rf conftest* |
13415 eval "ac_cv_header_$ac_safe=yes" | 13417 eval "ac_cv_header_$ac_safe=yes" |
13416 else | 13418 else |
13449 | 13451 |
13450 else | 13452 else |
13451 echo "$ac_t""no" 1>&6 | 13453 echo "$ac_t""no" 1>&6 |
13452 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13454 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13453 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13455 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13454 echo "configure:13455: checking for termio.h" >&5 | 13456 echo "configure:13457: checking for termio.h" >&5 |
13455 | 13457 |
13456 cat > conftest.$ac_ext <<EOF | 13458 cat > conftest.$ac_ext <<EOF |
13457 #line 13458 "configure" | 13459 #line 13460 "configure" |
13458 #include "confdefs.h" | 13460 #include "confdefs.h" |
13459 #include <termio.h> | 13461 #include <termio.h> |
13460 EOF | 13462 EOF |
13461 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13463 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13462 { (eval echo configure:13463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13464 { (eval echo configure:13465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13463 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13465 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13464 if test -z "$ac_err"; then | 13466 if test -z "$ac_err"; then |
13465 rm -rf conftest* | 13467 rm -rf conftest* |
13466 eval "ac_cv_header_$ac_safe=yes" | 13468 eval "ac_cv_header_$ac_safe=yes" |
13467 else | 13469 else |
13489 fi | 13491 fi |
13490 | 13492 |
13491 | 13493 |
13492 | 13494 |
13493 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13495 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13494 echo "configure:13495: checking for socket" >&5 | 13496 echo "configure:13497: checking for socket" >&5 |
13495 | 13497 |
13496 cat > conftest.$ac_ext <<EOF | 13498 cat > conftest.$ac_ext <<EOF |
13497 #line 13498 "configure" | 13499 #line 13500 "configure" |
13498 #include "confdefs.h" | 13500 #include "confdefs.h" |
13499 /* System header to define __stub macros and hopefully few prototypes, | 13501 /* System header to define __stub macros and hopefully few prototypes, |
13500 which can conflict with char socket(); below. */ | 13502 which can conflict with char socket(); below. */ |
13501 #include <assert.h> | 13503 #include <assert.h> |
13502 /* Override any gcc2 internal prototype to avoid an error. */ | 13504 /* Override any gcc2 internal prototype to avoid an error. */ |
13515 socket(); | 13517 socket(); |
13516 #endif | 13518 #endif |
13517 | 13519 |
13518 ; return 0; } | 13520 ; return 0; } |
13519 EOF | 13521 EOF |
13520 if { (eval echo configure:13521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13522 if { (eval echo configure:13523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13521 rm -rf conftest* | 13523 rm -rf conftest* |
13522 eval "ac_cv_func_socket=yes" | 13524 eval "ac_cv_func_socket=yes" |
13523 else | 13525 else |
13524 echo "configure: failed program was:" >&5 | 13526 echo "configure: failed program was:" >&5 |
13525 cat conftest.$ac_ext >&5 | 13527 cat conftest.$ac_ext >&5 |
13530 | 13532 |
13531 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13533 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13532 echo "$ac_t""yes" 1>&6 | 13534 echo "$ac_t""yes" 1>&6 |
13533 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13535 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13534 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13536 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13535 echo "configure:13536: checking for netinet/in.h" >&5 | 13537 echo "configure:13538: checking for netinet/in.h" >&5 |
13536 | 13538 |
13537 cat > conftest.$ac_ext <<EOF | 13539 cat > conftest.$ac_ext <<EOF |
13538 #line 13539 "configure" | 13540 #line 13541 "configure" |
13539 #include "confdefs.h" | 13541 #include "confdefs.h" |
13540 #include <netinet/in.h> | 13542 #include <netinet/in.h> |
13541 EOF | 13543 EOF |
13542 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13544 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13543 { (eval echo configure:13544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13545 { (eval echo configure:13546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13544 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13546 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13545 if test -z "$ac_err"; then | 13547 if test -z "$ac_err"; then |
13546 rm -rf conftest* | 13548 rm -rf conftest* |
13547 eval "ac_cv_header_$ac_safe=yes" | 13549 eval "ac_cv_header_$ac_safe=yes" |
13548 else | 13550 else |
13555 rm -f conftest* | 13557 rm -f conftest* |
13556 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13558 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13557 echo "$ac_t""yes" 1>&6 | 13559 echo "$ac_t""yes" 1>&6 |
13558 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13560 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13559 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13561 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13560 echo "configure:13561: checking for arpa/inet.h" >&5 | 13562 echo "configure:13563: checking for arpa/inet.h" >&5 |
13561 | 13563 |
13562 cat > conftest.$ac_ext <<EOF | 13564 cat > conftest.$ac_ext <<EOF |
13563 #line 13564 "configure" | 13565 #line 13566 "configure" |
13564 #include "confdefs.h" | 13566 #include "confdefs.h" |
13565 #include <arpa/inet.h> | 13567 #include <arpa/inet.h> |
13566 EOF | 13568 EOF |
13567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13569 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13568 { (eval echo configure:13569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13570 { (eval echo configure:13571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13571 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13570 if test -z "$ac_err"; then | 13572 if test -z "$ac_err"; then |
13571 rm -rf conftest* | 13573 rm -rf conftest* |
13572 eval "ac_cv_header_$ac_safe=yes" | 13574 eval "ac_cv_header_$ac_safe=yes" |
13573 else | 13575 else |
13588 #define HAVE_SOCKETS 1 | 13590 #define HAVE_SOCKETS 1 |
13589 EOF | 13591 EOF |
13590 } | 13592 } |
13591 | 13593 |
13592 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13594 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13593 echo "configure:13594: checking "for sun_len member in struct sockaddr_un"" >&5 | 13595 echo "configure:13596: checking "for sun_len member in struct sockaddr_un"" >&5 |
13594 cat > conftest.$ac_ext <<EOF | 13596 cat > conftest.$ac_ext <<EOF |
13595 #line 13596 "configure" | 13597 #line 13598 "configure" |
13596 #include "confdefs.h" | 13598 #include "confdefs.h" |
13597 | 13599 |
13598 #include <sys/types.h> | 13600 #include <sys/types.h> |
13599 #include <sys/socket.h> | 13601 #include <sys/socket.h> |
13600 #include <sys/un.h> | 13602 #include <sys/un.h> |
13601 | 13603 |
13602 int main() { | 13604 int main() { |
13603 static struct sockaddr_un x; x.sun_len = 1; | 13605 static struct sockaddr_un x; x.sun_len = 1; |
13604 ; return 0; } | 13606 ; return 0; } |
13605 EOF | 13607 EOF |
13606 if { (eval echo configure:13607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13608 if { (eval echo configure:13609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13607 rm -rf conftest* | 13609 rm -rf conftest* |
13608 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13610 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13609 Defining HAVE_SOCKADDR_SUN_LEN | 13611 Defining HAVE_SOCKADDR_SUN_LEN |
13610 EOF | 13612 EOF |
13611 cat >> confdefs.h <<\EOF | 13613 cat >> confdefs.h <<\EOF |
13619 rm -rf conftest* | 13621 rm -rf conftest* |
13620 echo "$ac_t""no" 1>&6 | 13622 echo "$ac_t""no" 1>&6 |
13621 fi | 13623 fi |
13622 rm -f conftest* | 13624 rm -f conftest* |
13623 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13625 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13624 echo "configure:13625: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13626 echo "configure:13627: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13625 cat > conftest.$ac_ext <<EOF | 13627 cat > conftest.$ac_ext <<EOF |
13626 #line 13627 "configure" | 13628 #line 13629 "configure" |
13627 #include "confdefs.h" | 13629 #include "confdefs.h" |
13628 | 13630 |
13629 #include <sys/types.h> | 13631 #include <sys/types.h> |
13630 #include <netinet/in.h> | 13632 #include <netinet/in.h> |
13631 | 13633 |
13632 int main() { | 13634 int main() { |
13633 static struct ip_mreq x; | 13635 static struct ip_mreq x; |
13634 ; return 0; } | 13636 ; return 0; } |
13635 EOF | 13637 EOF |
13636 if { (eval echo configure:13637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13638 if { (eval echo configure:13639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13637 rm -rf conftest* | 13639 rm -rf conftest* |
13638 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13640 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13639 Defining HAVE_MULTICAST | 13641 Defining HAVE_MULTICAST |
13640 EOF | 13642 EOF |
13641 cat >> confdefs.h <<\EOF | 13643 cat >> confdefs.h <<\EOF |
13662 echo "$ac_t""no" 1>&6 | 13664 echo "$ac_t""no" 1>&6 |
13663 fi | 13665 fi |
13664 | 13666 |
13665 | 13667 |
13666 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13668 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13667 echo "configure:13668: checking for msgget" >&5 | 13669 echo "configure:13670: checking for msgget" >&5 |
13668 | 13670 |
13669 cat > conftest.$ac_ext <<EOF | 13671 cat > conftest.$ac_ext <<EOF |
13670 #line 13671 "configure" | 13672 #line 13673 "configure" |
13671 #include "confdefs.h" | 13673 #include "confdefs.h" |
13672 /* System header to define __stub macros and hopefully few prototypes, | 13674 /* System header to define __stub macros and hopefully few prototypes, |
13673 which can conflict with char msgget(); below. */ | 13675 which can conflict with char msgget(); below. */ |
13674 #include <assert.h> | 13676 #include <assert.h> |
13675 /* Override any gcc2 internal prototype to avoid an error. */ | 13677 /* Override any gcc2 internal prototype to avoid an error. */ |
13688 msgget(); | 13690 msgget(); |
13689 #endif | 13691 #endif |
13690 | 13692 |
13691 ; return 0; } | 13693 ; return 0; } |
13692 EOF | 13694 EOF |
13693 if { (eval echo configure:13694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13695 if { (eval echo configure:13696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13694 rm -rf conftest* | 13696 rm -rf conftest* |
13695 eval "ac_cv_func_msgget=yes" | 13697 eval "ac_cv_func_msgget=yes" |
13696 else | 13698 else |
13697 echo "configure: failed program was:" >&5 | 13699 echo "configure: failed program was:" >&5 |
13698 cat conftest.$ac_ext >&5 | 13700 cat conftest.$ac_ext >&5 |
13703 | 13705 |
13704 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13706 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13705 echo "$ac_t""yes" 1>&6 | 13707 echo "$ac_t""yes" 1>&6 |
13706 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13708 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13707 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13709 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13708 echo "configure:13709: checking for sys/ipc.h" >&5 | 13710 echo "configure:13711: checking for sys/ipc.h" >&5 |
13709 | 13711 |
13710 cat > conftest.$ac_ext <<EOF | 13712 cat > conftest.$ac_ext <<EOF |
13711 #line 13712 "configure" | 13713 #line 13714 "configure" |
13712 #include "confdefs.h" | 13714 #include "confdefs.h" |
13713 #include <sys/ipc.h> | 13715 #include <sys/ipc.h> |
13714 EOF | 13716 EOF |
13715 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13717 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13716 { (eval echo configure:13717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13718 { (eval echo configure:13719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13717 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13719 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13718 if test -z "$ac_err"; then | 13720 if test -z "$ac_err"; then |
13719 rm -rf conftest* | 13721 rm -rf conftest* |
13720 eval "ac_cv_header_$ac_safe=yes" | 13722 eval "ac_cv_header_$ac_safe=yes" |
13721 else | 13723 else |
13728 rm -f conftest* | 13730 rm -f conftest* |
13729 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13731 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13730 echo "$ac_t""yes" 1>&6 | 13732 echo "$ac_t""yes" 1>&6 |
13731 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13733 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
13732 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13734 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
13733 echo "configure:13734: checking for sys/msg.h" >&5 | 13735 echo "configure:13736: checking for sys/msg.h" >&5 |
13734 | 13736 |
13735 cat > conftest.$ac_ext <<EOF | 13737 cat > conftest.$ac_ext <<EOF |
13736 #line 13737 "configure" | 13738 #line 13739 "configure" |
13737 #include "confdefs.h" | 13739 #include "confdefs.h" |
13738 #include <sys/msg.h> | 13740 #include <sys/msg.h> |
13739 EOF | 13741 EOF |
13740 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13742 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13741 { (eval echo configure:13742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13743 { (eval echo configure:13744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13742 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13744 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13743 if test -z "$ac_err"; then | 13745 if test -z "$ac_err"; then |
13744 rm -rf conftest* | 13746 rm -rf conftest* |
13745 eval "ac_cv_header_$ac_safe=yes" | 13747 eval "ac_cv_header_$ac_safe=yes" |
13746 else | 13748 else |
13774 fi | 13776 fi |
13775 | 13777 |
13776 | 13778 |
13777 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 13779 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
13778 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 13780 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
13779 echo "configure:13780: checking for dirent.h" >&5 | 13781 echo "configure:13782: checking for dirent.h" >&5 |
13780 | 13782 |
13781 cat > conftest.$ac_ext <<EOF | 13783 cat > conftest.$ac_ext <<EOF |
13782 #line 13783 "configure" | 13784 #line 13785 "configure" |
13783 #include "confdefs.h" | 13785 #include "confdefs.h" |
13784 #include <dirent.h> | 13786 #include <dirent.h> |
13785 EOF | 13787 EOF |
13786 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13787 { (eval echo configure:13788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13789 { (eval echo configure:13790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13788 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13790 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13789 if test -z "$ac_err"; then | 13791 if test -z "$ac_err"; then |
13790 rm -rf conftest* | 13792 rm -rf conftest* |
13791 eval "ac_cv_header_$ac_safe=yes" | 13793 eval "ac_cv_header_$ac_safe=yes" |
13792 else | 13794 else |
13809 | 13811 |
13810 else | 13812 else |
13811 echo "$ac_t""no" 1>&6 | 13813 echo "$ac_t""no" 1>&6 |
13812 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 13814 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
13813 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 13815 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
13814 echo "configure:13815: checking for sys/dir.h" >&5 | 13816 echo "configure:13817: checking for sys/dir.h" >&5 |
13815 | 13817 |
13816 cat > conftest.$ac_ext <<EOF | 13818 cat > conftest.$ac_ext <<EOF |
13817 #line 13818 "configure" | 13819 #line 13820 "configure" |
13818 #include "confdefs.h" | 13820 #include "confdefs.h" |
13819 #include <sys/dir.h> | 13821 #include <sys/dir.h> |
13820 EOF | 13822 EOF |
13821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13822 { (eval echo configure:13823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13824 { (eval echo configure:13825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13823 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13825 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13824 if test -z "$ac_err"; then | 13826 if test -z "$ac_err"; then |
13825 rm -rf conftest* | 13827 rm -rf conftest* |
13826 eval "ac_cv_header_$ac_safe=yes" | 13828 eval "ac_cv_header_$ac_safe=yes" |
13827 else | 13829 else |
13850 fi | 13852 fi |
13851 | 13853 |
13852 | 13854 |
13853 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 13855 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
13854 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 13856 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
13855 echo "configure:13856: checking for nlist.h" >&5 | 13857 echo "configure:13858: checking for nlist.h" >&5 |
13856 | 13858 |
13857 cat > conftest.$ac_ext <<EOF | 13859 cat > conftest.$ac_ext <<EOF |
13858 #line 13859 "configure" | 13860 #line 13861 "configure" |
13859 #include "confdefs.h" | 13861 #include "confdefs.h" |
13860 #include <nlist.h> | 13862 #include <nlist.h> |
13861 EOF | 13863 EOF |
13862 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13864 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13863 { (eval echo configure:13864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13865 { (eval echo configure:13866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13864 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13866 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13865 if test -z "$ac_err"; then | 13867 if test -z "$ac_err"; then |
13866 rm -rf conftest* | 13868 rm -rf conftest* |
13867 eval "ac_cv_header_$ac_safe=yes" | 13869 eval "ac_cv_header_$ac_safe=yes" |
13868 else | 13870 else |
13888 fi | 13890 fi |
13889 | 13891 |
13890 | 13892 |
13891 | 13893 |
13892 echo "checking "for sound support"" 1>&6 | 13894 echo "checking "for sound support"" 1>&6 |
13893 echo "configure:13894: checking "for sound support"" >&5 | 13895 echo "configure:13896: checking "for sound support"" >&5 |
13894 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 13896 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
13895 | 13897 |
13896 if test "$with_native_sound" != "no"; then | 13898 if test "$with_native_sound" != "no"; then |
13897 if test -n "$native_sound_lib"; then | 13899 if test -n "$native_sound_lib"; then |
13898 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 13900 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
13899 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 13901 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
13900 echo "configure:13901: checking for multimedia/audio_device.h" >&5 | 13902 echo "configure:13903: checking for multimedia/audio_device.h" >&5 |
13901 | 13903 |
13902 cat > conftest.$ac_ext <<EOF | 13904 cat > conftest.$ac_ext <<EOF |
13903 #line 13904 "configure" | 13905 #line 13906 "configure" |
13904 #include "confdefs.h" | 13906 #include "confdefs.h" |
13905 #include <multimedia/audio_device.h> | 13907 #include <multimedia/audio_device.h> |
13906 EOF | 13908 EOF |
13907 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13908 { (eval echo configure:13909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13910 { (eval echo configure:13911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13909 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13910 if test -z "$ac_err"; then | 13912 if test -z "$ac_err"; then |
13911 rm -rf conftest* | 13913 rm -rf conftest* |
13912 eval "ac_cv_header_$ac_safe=yes" | 13914 eval "ac_cv_header_$ac_safe=yes" |
13913 else | 13915 else |
13951 case "$canonical" in | 13953 case "$canonical" in |
13952 *-sgi-* ) | 13954 *-sgi-* ) |
13953 if test -z "$native_sound_lib"; then | 13955 if test -z "$native_sound_lib"; then |
13954 | 13956 |
13955 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 13957 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
13956 echo "configure:13957: checking for ALopenport in -laudio" >&5 | 13958 echo "configure:13959: checking for ALopenport in -laudio" >&5 |
13957 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 13959 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
13958 | 13960 |
13959 xe_check_libs=" -laudio " | 13961 xe_check_libs=" -laudio " |
13960 cat > conftest.$ac_ext <<EOF | 13962 cat > conftest.$ac_ext <<EOF |
13961 #line 13962 "configure" | 13963 #line 13964 "configure" |
13962 #include "confdefs.h" | 13964 #include "confdefs.h" |
13963 /* Override any gcc2 internal prototype to avoid an error. */ | 13965 /* Override any gcc2 internal prototype to avoid an error. */ |
13964 /* We use char because int might match the return type of a gcc2 | 13966 /* We use char because int might match the return type of a gcc2 |
13965 builtin and then its argument prototype would still apply. */ | 13967 builtin and then its argument prototype would still apply. */ |
13966 char ALopenport(); | 13968 char ALopenport(); |
13967 | 13969 |
13968 int main() { | 13970 int main() { |
13969 ALopenport() | 13971 ALopenport() |
13970 ; return 0; } | 13972 ; return 0; } |
13971 EOF | 13973 EOF |
13972 if { (eval echo configure:13973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13974 if { (eval echo configure:13975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13973 rm -rf conftest* | 13975 rm -rf conftest* |
13974 eval "ac_cv_lib_$ac_lib_var=yes" | 13976 eval "ac_cv_lib_$ac_lib_var=yes" |
13975 else | 13977 else |
13976 echo "configure: failed program was:" >&5 | 13978 echo "configure: failed program was:" >&5 |
13977 cat conftest.$ac_ext >&5 | 13979 cat conftest.$ac_ext >&5 |
13998 fi ;; | 14000 fi ;; |
13999 hppa*-hp-hpux* ) | 14001 hppa*-hp-hpux* ) |
14000 if test -z "$native_sound_lib"; then | 14002 if test -z "$native_sound_lib"; then |
14001 | 14003 |
14002 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14004 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
14003 echo "configure:14004: checking for AOpenAudio in -lAlib" >&5 | 14005 echo "configure:14006: checking for AOpenAudio in -lAlib" >&5 |
14004 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14006 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
14005 | 14007 |
14006 xe_check_libs=" -lAlib " | 14008 xe_check_libs=" -lAlib " |
14007 cat > conftest.$ac_ext <<EOF | 14009 cat > conftest.$ac_ext <<EOF |
14008 #line 14009 "configure" | 14010 #line 14011 "configure" |
14009 #include "confdefs.h" | 14011 #include "confdefs.h" |
14010 /* Override any gcc2 internal prototype to avoid an error. */ | 14012 /* Override any gcc2 internal prototype to avoid an error. */ |
14011 /* We use char because int might match the return type of a gcc2 | 14013 /* We use char because int might match the return type of a gcc2 |
14012 builtin and then its argument prototype would still apply. */ | 14014 builtin and then its argument prototype would still apply. */ |
14013 char AOpenAudio(); | 14015 char AOpenAudio(); |
14014 | 14016 |
14015 int main() { | 14017 int main() { |
14016 AOpenAudio() | 14018 AOpenAudio() |
14017 ; return 0; } | 14019 ; return 0; } |
14018 EOF | 14020 EOF |
14019 if { (eval echo configure:14020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14021 if { (eval echo configure:14022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14020 rm -rf conftest* | 14022 rm -rf conftest* |
14021 eval "ac_cv_lib_$ac_lib_var=yes" | 14023 eval "ac_cv_lib_$ac_lib_var=yes" |
14022 else | 14024 else |
14023 echo "configure: failed program was:" >&5 | 14025 echo "configure: failed program was:" >&5 |
14024 cat conftest.$ac_ext >&5 | 14026 cat conftest.$ac_ext >&5 |
14062 | 14064 |
14063 if test -z "$sound_found"; then | 14065 if test -z "$sound_found"; then |
14064 for dir in "machine" "sys" "linux"; do | 14066 for dir in "machine" "sys" "linux"; do |
14065 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14067 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14066 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14068 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14067 echo "configure:14068: checking for ${dir}/soundcard.h" >&5 | 14069 echo "configure:14070: checking for ${dir}/soundcard.h" >&5 |
14068 | 14070 |
14069 cat > conftest.$ac_ext <<EOF | 14071 cat > conftest.$ac_ext <<EOF |
14070 #line 14071 "configure" | 14072 #line 14073 "configure" |
14071 #include "confdefs.h" | 14073 #include "confdefs.h" |
14072 #include <${dir}/soundcard.h> | 14074 #include <${dir}/soundcard.h> |
14073 EOF | 14075 EOF |
14074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14076 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14075 { (eval echo configure:14076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14077 { (eval echo configure:14078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14078 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14077 if test -z "$ac_err"; then | 14079 if test -z "$ac_err"; then |
14078 rm -rf conftest* | 14080 rm -rf conftest* |
14079 eval "ac_cv_header_$ac_safe=yes" | 14081 eval "ac_cv_header_$ac_safe=yes" |
14080 else | 14082 else |
14124 fi | 14126 fi |
14125 | 14127 |
14126 if test "$with_nas_sound" != "no"; then | 14128 if test "$with_nas_sound" != "no"; then |
14127 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14129 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14128 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14130 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14129 echo "configure:14130: checking for audio/audiolib.h" >&5 | 14131 echo "configure:14132: checking for audio/audiolib.h" >&5 |
14130 | 14132 |
14131 cat > conftest.$ac_ext <<EOF | 14133 cat > conftest.$ac_ext <<EOF |
14132 #line 14133 "configure" | 14134 #line 14135 "configure" |
14133 #include "confdefs.h" | 14135 #include "confdefs.h" |
14134 #include <audio/audiolib.h> | 14136 #include <audio/audiolib.h> |
14135 EOF | 14137 EOF |
14136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14137 { (eval echo configure:14138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14139 { (eval echo configure:14140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14140 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14139 if test -z "$ac_err"; then | 14141 if test -z "$ac_err"; then |
14140 rm -rf conftest* | 14142 rm -rf conftest* |
14141 eval "ac_cv_header_$ac_safe=yes" | 14143 eval "ac_cv_header_$ac_safe=yes" |
14142 else | 14144 else |
14150 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14152 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14151 echo "$ac_t""yes" 1>&6 | 14153 echo "$ac_t""yes" 1>&6 |
14152 | 14154 |
14153 | 14155 |
14154 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14156 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14155 echo "configure:14156: checking for AuOpenServer in -laudio" >&5 | 14157 echo "configure:14158: checking for AuOpenServer in -laudio" >&5 |
14156 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14158 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14157 | 14159 |
14158 xe_check_libs=" -laudio " | 14160 xe_check_libs=" -laudio " |
14159 cat > conftest.$ac_ext <<EOF | 14161 cat > conftest.$ac_ext <<EOF |
14160 #line 14161 "configure" | 14162 #line 14163 "configure" |
14161 #include "confdefs.h" | 14163 #include "confdefs.h" |
14162 /* Override any gcc2 internal prototype to avoid an error. */ | 14164 /* Override any gcc2 internal prototype to avoid an error. */ |
14163 /* We use char because int might match the return type of a gcc2 | 14165 /* We use char because int might match the return type of a gcc2 |
14164 builtin and then its argument prototype would still apply. */ | 14166 builtin and then its argument prototype would still apply. */ |
14165 char AuOpenServer(); | 14167 char AuOpenServer(); |
14166 | 14168 |
14167 int main() { | 14169 int main() { |
14168 AuOpenServer() | 14170 AuOpenServer() |
14169 ; return 0; } | 14171 ; return 0; } |
14170 EOF | 14172 EOF |
14171 if { (eval echo configure:14172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14173 if { (eval echo configure:14174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14172 rm -rf conftest* | 14174 rm -rf conftest* |
14173 eval "ac_cv_lib_$ac_lib_var=yes" | 14175 eval "ac_cv_lib_$ac_lib_var=yes" |
14174 else | 14176 else |
14175 echo "configure: failed program was:" >&5 | 14177 echo "configure: failed program was:" >&5 |
14176 cat conftest.$ac_ext >&5 | 14178 cat conftest.$ac_ext >&5 |
14205 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14207 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14206 echo " xemacs will be linked with \"nas.o\"" | 14208 echo " xemacs will be linked with \"nas.o\"" |
14207 fi | 14209 fi |
14208 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14210 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14209 cat > conftest.$ac_ext <<EOF | 14211 cat > conftest.$ac_ext <<EOF |
14210 #line 14211 "configure" | 14212 #line 14213 "configure" |
14211 #include "confdefs.h" | 14213 #include "confdefs.h" |
14212 #include <audio/Xtutil.h> | 14214 #include <audio/Xtutil.h> |
14213 EOF | 14215 EOF |
14214 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14216 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14215 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14217 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14236 | 14238 |
14237 if test "$with_esd_sound" != "no"; then | 14239 if test "$with_esd_sound" != "no"; then |
14238 # Extract the first word of "esd-config", so it can be a program name with args. | 14240 # Extract the first word of "esd-config", so it can be a program name with args. |
14239 set dummy esd-config; ac_word=$2 | 14241 set dummy esd-config; ac_word=$2 |
14240 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14242 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14241 echo "configure:14242: checking for $ac_word" >&5 | 14243 echo "configure:14244: checking for $ac_word" >&5 |
14242 | 14244 |
14243 if test -n "$have_esd_config"; then | 14245 if test -n "$have_esd_config"; then |
14244 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14246 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14245 else | 14247 else |
14246 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14248 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14265 if test "$have_esd_config" = "yes"; then | 14267 if test "$have_esd_config" = "yes"; then |
14266 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14268 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14267 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi | 14269 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi |
14268 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14270 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14269 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14271 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14270 echo "configure:14271: checking for esd_play_stream" >&5 | 14272 echo "configure:14273: checking for esd_play_stream" >&5 |
14271 | 14273 |
14272 cat > conftest.$ac_ext <<EOF | 14274 cat > conftest.$ac_ext <<EOF |
14273 #line 14274 "configure" | 14275 #line 14276 "configure" |
14274 #include "confdefs.h" | 14276 #include "confdefs.h" |
14275 /* System header to define __stub macros and hopefully few prototypes, | 14277 /* System header to define __stub macros and hopefully few prototypes, |
14276 which can conflict with char esd_play_stream(); below. */ | 14278 which can conflict with char esd_play_stream(); below. */ |
14277 #include <assert.h> | 14279 #include <assert.h> |
14278 /* Override any gcc2 internal prototype to avoid an error. */ | 14280 /* Override any gcc2 internal prototype to avoid an error. */ |
14291 esd_play_stream(); | 14293 esd_play_stream(); |
14292 #endif | 14294 #endif |
14293 | 14295 |
14294 ; return 0; } | 14296 ; return 0; } |
14295 EOF | 14297 EOF |
14296 if { (eval echo configure:14297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14298 if { (eval echo configure:14299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14297 rm -rf conftest* | 14299 rm -rf conftest* |
14298 eval "ac_cv_func_esd_play_stream=yes" | 14300 eval "ac_cv_func_esd_play_stream=yes" |
14299 else | 14301 else |
14300 echo "configure: failed program was:" >&5 | 14302 echo "configure: failed program was:" >&5 |
14301 cat conftest.$ac_ext >&5 | 14303 cat conftest.$ac_ext >&5 |
14342 | 14344 |
14343 test -z "$with_tty" && with_tty=yes | 14345 test -z "$with_tty" && with_tty=yes |
14344 | 14346 |
14345 if test "$with_tty" = "yes" ; then | 14347 if test "$with_tty" = "yes" ; then |
14346 echo "checking for TTY-related features" 1>&6 | 14348 echo "checking for TTY-related features" 1>&6 |
14347 echo "configure:14348: checking for TTY-related features" >&5 | 14349 echo "configure:14350: checking for TTY-related features" >&5 |
14348 { test "$extra_verbose" = "yes" && cat << \EOF | 14350 { test "$extra_verbose" = "yes" && cat << \EOF |
14349 Defining HAVE_TTY | 14351 Defining HAVE_TTY |
14350 EOF | 14352 EOF |
14351 cat >> confdefs.h <<\EOF | 14353 cat >> confdefs.h <<\EOF |
14352 #define HAVE_TTY 1 | 14354 #define HAVE_TTY 1 |
14355 | 14357 |
14356 | 14358 |
14357 if test -z "$with_ncurses"; then | 14359 if test -z "$with_ncurses"; then |
14358 | 14360 |
14359 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14361 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14360 echo "configure:14361: checking for tgetent in -lncurses" >&5 | 14362 echo "configure:14363: checking for tgetent in -lncurses" >&5 |
14361 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14363 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14362 | 14364 |
14363 xe_check_libs=" -lncurses " | 14365 xe_check_libs=" -lncurses " |
14364 cat > conftest.$ac_ext <<EOF | 14366 cat > conftest.$ac_ext <<EOF |
14365 #line 14366 "configure" | 14367 #line 14368 "configure" |
14366 #include "confdefs.h" | 14368 #include "confdefs.h" |
14367 /* Override any gcc2 internal prototype to avoid an error. */ | 14369 /* Override any gcc2 internal prototype to avoid an error. */ |
14368 /* We use char because int might match the return type of a gcc2 | 14370 /* We use char because int might match the return type of a gcc2 |
14369 builtin and then its argument prototype would still apply. */ | 14371 builtin and then its argument prototype would still apply. */ |
14370 char tgetent(); | 14372 char tgetent(); |
14371 | 14373 |
14372 int main() { | 14374 int main() { |
14373 tgetent() | 14375 tgetent() |
14374 ; return 0; } | 14376 ; return 0; } |
14375 EOF | 14377 EOF |
14376 if { (eval echo configure:14377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14378 if { (eval echo configure:14379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14377 rm -rf conftest* | 14379 rm -rf conftest* |
14378 eval "ac_cv_lib_$ac_lib_var=yes" | 14380 eval "ac_cv_lib_$ac_lib_var=yes" |
14379 else | 14381 else |
14380 echo "configure: failed program was:" >&5 | 14382 echo "configure: failed program was:" >&5 |
14381 cat conftest.$ac_ext >&5 | 14383 cat conftest.$ac_ext >&5 |
14404 EOF | 14406 EOF |
14405 } | 14407 } |
14406 | 14408 |
14407 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14409 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14408 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14410 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14409 echo "configure:14410: checking for ncurses/curses.h" >&5 | 14411 echo "configure:14412: checking for ncurses/curses.h" >&5 |
14410 | 14412 |
14411 cat > conftest.$ac_ext <<EOF | 14413 cat > conftest.$ac_ext <<EOF |
14412 #line 14413 "configure" | 14414 #line 14415 "configure" |
14413 #include "confdefs.h" | 14415 #include "confdefs.h" |
14414 #include <ncurses/curses.h> | 14416 #include <ncurses/curses.h> |
14415 EOF | 14417 EOF |
14416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14418 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14417 { (eval echo configure:14418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14419 { (eval echo configure:14420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14420 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14419 if test -z "$ac_err"; then | 14421 if test -z "$ac_err"; then |
14420 rm -rf conftest* | 14422 rm -rf conftest* |
14421 eval "ac_cv_header_$ac_safe=yes" | 14423 eval "ac_cv_header_$ac_safe=yes" |
14422 else | 14424 else |
14434 echo "$ac_t""no" 1>&6 | 14436 echo "$ac_t""no" 1>&6 |
14435 fi | 14437 fi |
14436 | 14438 |
14437 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14439 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14438 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14440 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14439 echo "configure:14440: checking for ncurses/term.h" >&5 | 14441 echo "configure:14442: checking for ncurses/term.h" >&5 |
14440 | 14442 |
14441 cat > conftest.$ac_ext <<EOF | 14443 cat > conftest.$ac_ext <<EOF |
14442 #line 14443 "configure" | 14444 #line 14445 "configure" |
14443 #include "confdefs.h" | 14445 #include "confdefs.h" |
14444 #include <ncurses/term.h> | 14446 #include <ncurses/term.h> |
14445 EOF | 14447 EOF |
14446 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14447 { (eval echo configure:14448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14449 { (eval echo configure:14450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14448 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14449 if test -z "$ac_err"; then | 14451 if test -z "$ac_err"; then |
14450 rm -rf conftest* | 14452 rm -rf conftest* |
14451 eval "ac_cv_header_$ac_safe=yes" | 14453 eval "ac_cv_header_$ac_safe=yes" |
14452 else | 14454 else |
14472 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14474 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14473 save_c_switch_site="$c_switch_site" | 14475 save_c_switch_site="$c_switch_site" |
14474 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14476 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14475 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14477 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14476 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14478 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14477 echo "configure:14478: checking for ncurses/curses.h" >&5 | 14479 echo "configure:14480: checking for ncurses/curses.h" >&5 |
14478 | 14480 |
14479 cat > conftest.$ac_ext <<EOF | 14481 cat > conftest.$ac_ext <<EOF |
14480 #line 14481 "configure" | 14482 #line 14483 "configure" |
14481 #include "confdefs.h" | 14483 #include "confdefs.h" |
14482 #include <ncurses/curses.h> | 14484 #include <ncurses/curses.h> |
14483 EOF | 14485 EOF |
14484 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14486 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14485 { (eval echo configure:14486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14487 { (eval echo configure:14488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14486 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14488 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14487 if test -z "$ac_err"; then | 14489 if test -z "$ac_err"; then |
14488 rm -rf conftest* | 14490 rm -rf conftest* |
14489 eval "ac_cv_header_$ac_safe=yes" | 14491 eval "ac_cv_header_$ac_safe=yes" |
14490 else | 14492 else |
14515 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14517 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14516 else | 14518 else |
14517 for lib in curses termlib termcap; do | 14519 for lib in curses termlib termcap; do |
14518 | 14520 |
14519 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14521 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14520 echo "configure:14521: checking for tgetent in -l$lib" >&5 | 14522 echo "configure:14523: checking for tgetent in -l$lib" >&5 |
14521 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14523 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14522 | 14524 |
14523 xe_check_libs=" -l$lib " | 14525 xe_check_libs=" -l$lib " |
14524 cat > conftest.$ac_ext <<EOF | 14526 cat > conftest.$ac_ext <<EOF |
14525 #line 14526 "configure" | 14527 #line 14528 "configure" |
14526 #include "confdefs.h" | 14528 #include "confdefs.h" |
14527 /* Override any gcc2 internal prototype to avoid an error. */ | 14529 /* Override any gcc2 internal prototype to avoid an error. */ |
14528 /* We use char because int might match the return type of a gcc2 | 14530 /* We use char because int might match the return type of a gcc2 |
14529 builtin and then its argument prototype would still apply. */ | 14531 builtin and then its argument prototype would still apply. */ |
14530 char tgetent(); | 14532 char tgetent(); |
14531 | 14533 |
14532 int main() { | 14534 int main() { |
14533 tgetent() | 14535 tgetent() |
14534 ; return 0; } | 14536 ; return 0; } |
14535 EOF | 14537 EOF |
14536 if { (eval echo configure:14537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14538 if { (eval echo configure:14539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14537 rm -rf conftest* | 14539 rm -rf conftest* |
14538 eval "ac_cv_lib_$ac_lib_var=yes" | 14540 eval "ac_cv_lib_$ac_lib_var=yes" |
14539 else | 14541 else |
14540 echo "configure: failed program was:" >&5 | 14542 echo "configure: failed program was:" >&5 |
14541 cat conftest.$ac_ext >&5 | 14543 cat conftest.$ac_ext >&5 |
14562 if test -n "$libs_termcap"; then | 14564 if test -n "$libs_termcap"; then |
14563 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14565 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14564 else | 14566 else |
14565 | 14567 |
14566 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14568 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14567 echo "configure:14568: checking for tgetent in -lcurses" >&5 | 14569 echo "configure:14570: checking for tgetent in -lcurses" >&5 |
14568 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14570 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14569 | 14571 |
14570 xe_check_libs=" -lcurses " | 14572 xe_check_libs=" -lcurses " |
14571 cat > conftest.$ac_ext <<EOF | 14573 cat > conftest.$ac_ext <<EOF |
14572 #line 14573 "configure" | 14574 #line 14575 "configure" |
14573 #include "confdefs.h" | 14575 #include "confdefs.h" |
14574 /* Override any gcc2 internal prototype to avoid an error. */ | 14576 /* Override any gcc2 internal prototype to avoid an error. */ |
14575 /* We use char because int might match the return type of a gcc2 | 14577 /* We use char because int might match the return type of a gcc2 |
14576 builtin and then its argument prototype would still apply. */ | 14578 builtin and then its argument prototype would still apply. */ |
14577 char tgetent(); | 14579 char tgetent(); |
14578 | 14580 |
14579 int main() { | 14581 int main() { |
14580 tgetent() | 14582 tgetent() |
14581 ; return 0; } | 14583 ; return 0; } |
14582 EOF | 14584 EOF |
14583 if { (eval echo configure:14584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14585 if { (eval echo configure:14586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14584 rm -rf conftest* | 14586 rm -rf conftest* |
14585 eval "ac_cv_lib_$ac_lib_var=yes" | 14587 eval "ac_cv_lib_$ac_lib_var=yes" |
14586 else | 14588 else |
14587 echo "configure: failed program was:" >&5 | 14589 echo "configure: failed program was:" >&5 |
14588 cat conftest.$ac_ext >&5 | 14590 cat conftest.$ac_ext >&5 |
14596 echo "$ac_t""yes" 1>&6 | 14598 echo "$ac_t""yes" 1>&6 |
14597 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14599 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14598 else | 14600 else |
14599 echo "$ac_t""no" 1>&6 | 14601 echo "$ac_t""no" 1>&6 |
14600 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14602 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14601 echo "configure:14602: checking for tgetent in -ltermcap" >&5 | 14603 echo "configure:14604: checking for tgetent in -ltermcap" >&5 |
14602 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14604 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14603 | 14605 |
14604 xe_check_libs=" -ltermcap " | 14606 xe_check_libs=" -ltermcap " |
14605 cat > conftest.$ac_ext <<EOF | 14607 cat > conftest.$ac_ext <<EOF |
14606 #line 14607 "configure" | 14608 #line 14609 "configure" |
14607 #include "confdefs.h" | 14609 #include "confdefs.h" |
14608 /* Override any gcc2 internal prototype to avoid an error. */ | 14610 /* Override any gcc2 internal prototype to avoid an error. */ |
14609 /* We use char because int might match the return type of a gcc2 | 14611 /* We use char because int might match the return type of a gcc2 |
14610 builtin and then its argument prototype would still apply. */ | 14612 builtin and then its argument prototype would still apply. */ |
14611 char tgetent(); | 14613 char tgetent(); |
14612 | 14614 |
14613 int main() { | 14615 int main() { |
14614 tgetent() | 14616 tgetent() |
14615 ; return 0; } | 14617 ; return 0; } |
14616 EOF | 14618 EOF |
14617 if { (eval echo configure:14618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14619 if { (eval echo configure:14620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14618 rm -rf conftest* | 14620 rm -rf conftest* |
14619 eval "ac_cv_lib_$ac_lib_var=yes" | 14621 eval "ac_cv_lib_$ac_lib_var=yes" |
14620 else | 14622 else |
14621 echo "configure: failed program was:" >&5 | 14623 echo "configure: failed program was:" >&5 |
14622 cat conftest.$ac_ext >&5 | 14624 cat conftest.$ac_ext >&5 |
14660 } | 14662 } |
14661 | 14663 |
14662 | 14664 |
14663 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14665 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14664 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14666 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14665 echo "configure:14666: checking for gpm.h" >&5 | 14667 echo "configure:14668: checking for gpm.h" >&5 |
14666 | 14668 |
14667 cat > conftest.$ac_ext <<EOF | 14669 cat > conftest.$ac_ext <<EOF |
14668 #line 14669 "configure" | 14670 #line 14671 "configure" |
14669 #include "confdefs.h" | 14671 #include "confdefs.h" |
14670 #include <gpm.h> | 14672 #include <gpm.h> |
14671 EOF | 14673 EOF |
14672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14674 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14673 { (eval echo configure:14674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14675 { (eval echo configure:14676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14676 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14675 if test -z "$ac_err"; then | 14677 if test -z "$ac_err"; then |
14676 rm -rf conftest* | 14678 rm -rf conftest* |
14677 eval "ac_cv_header_$ac_safe=yes" | 14679 eval "ac_cv_header_$ac_safe=yes" |
14678 else | 14680 else |
14691 with_gpm=no | 14693 with_gpm=no |
14692 fi | 14694 fi |
14693 } | 14695 } |
14694 test -z "$with_gpm" && { | 14696 test -z "$with_gpm" && { |
14695 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14697 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14696 echo "configure:14697: checking for Gpm_Open in -lgpm" >&5 | 14698 echo "configure:14699: checking for Gpm_Open in -lgpm" >&5 |
14697 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14699 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14698 | 14700 |
14699 xe_check_libs=" -lgpm " | 14701 xe_check_libs=" -lgpm " |
14700 cat > conftest.$ac_ext <<EOF | 14702 cat > conftest.$ac_ext <<EOF |
14701 #line 14702 "configure" | 14703 #line 14704 "configure" |
14702 #include "confdefs.h" | 14704 #include "confdefs.h" |
14703 /* Override any gcc2 internal prototype to avoid an error. */ | 14705 /* Override any gcc2 internal prototype to avoid an error. */ |
14704 /* We use char because int might match the return type of a gcc2 | 14706 /* We use char because int might match the return type of a gcc2 |
14705 builtin and then its argument prototype would still apply. */ | 14707 builtin and then its argument prototype would still apply. */ |
14706 char Gpm_Open(); | 14708 char Gpm_Open(); |
14707 | 14709 |
14708 int main() { | 14710 int main() { |
14709 Gpm_Open() | 14711 Gpm_Open() |
14710 ; return 0; } | 14712 ; return 0; } |
14711 EOF | 14713 EOF |
14712 if { (eval echo configure:14713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14714 if { (eval echo configure:14715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14713 rm -rf conftest* | 14715 rm -rf conftest* |
14714 eval "ac_cv_lib_$ac_lib_var=yes" | 14716 eval "ac_cv_lib_$ac_lib_var=yes" |
14715 else | 14717 else |
14716 echo "configure: failed program was:" >&5 | 14718 echo "configure: failed program was:" >&5 |
14717 cat conftest.$ac_ext >&5 | 14719 cat conftest.$ac_ext >&5 |
14750 done | 14752 done |
14751 fi | 14753 fi |
14752 | 14754 |
14753 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 14755 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
14754 != "no no no" && echo "checking for database support" 1>&6 | 14756 != "no no no" && echo "checking for database support" 1>&6 |
14755 echo "configure:14756: checking for database support" >&5 | 14757 echo "configure:14758: checking for database support" >&5 |
14756 | 14758 |
14757 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 14759 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
14758 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 14760 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
14759 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 14761 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
14760 echo "configure:14761: checking for ndbm.h" >&5 | 14762 echo "configure:14763: checking for ndbm.h" >&5 |
14761 | 14763 |
14762 cat > conftest.$ac_ext <<EOF | 14764 cat > conftest.$ac_ext <<EOF |
14763 #line 14764 "configure" | 14765 #line 14766 "configure" |
14764 #include "confdefs.h" | 14766 #include "confdefs.h" |
14765 #include <ndbm.h> | 14767 #include <ndbm.h> |
14766 EOF | 14768 EOF |
14767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14768 { (eval echo configure:14769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14770 { (eval echo configure:14771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14769 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14771 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14770 if test -z "$ac_err"; then | 14772 if test -z "$ac_err"; then |
14771 rm -rf conftest* | 14773 rm -rf conftest* |
14772 eval "ac_cv_header_$ac_safe=yes" | 14774 eval "ac_cv_header_$ac_safe=yes" |
14773 else | 14775 else |
14793 fi | 14795 fi |
14794 | 14796 |
14795 if test "$with_database_gdbm" != "no"; then | 14797 if test "$with_database_gdbm" != "no"; then |
14796 | 14798 |
14797 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 14799 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
14798 echo "configure:14799: checking for dbm_open in -lgdbm" >&5 | 14800 echo "configure:14801: checking for dbm_open in -lgdbm" >&5 |
14799 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14801 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14800 | 14802 |
14801 xe_check_libs=" -lgdbm " | 14803 xe_check_libs=" -lgdbm " |
14802 cat > conftest.$ac_ext <<EOF | 14804 cat > conftest.$ac_ext <<EOF |
14803 #line 14804 "configure" | 14805 #line 14806 "configure" |
14804 #include "confdefs.h" | 14806 #include "confdefs.h" |
14805 /* Override any gcc2 internal prototype to avoid an error. */ | 14807 /* Override any gcc2 internal prototype to avoid an error. */ |
14806 /* We use char because int might match the return type of a gcc2 | 14808 /* We use char because int might match the return type of a gcc2 |
14807 builtin and then its argument prototype would still apply. */ | 14809 builtin and then its argument prototype would still apply. */ |
14808 char dbm_open(); | 14810 char dbm_open(); |
14809 | 14811 |
14810 int main() { | 14812 int main() { |
14811 dbm_open() | 14813 dbm_open() |
14812 ; return 0; } | 14814 ; return 0; } |
14813 EOF | 14815 EOF |
14814 if { (eval echo configure:14815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14816 if { (eval echo configure:14817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14815 rm -rf conftest* | 14817 rm -rf conftest* |
14816 eval "ac_cv_lib_$ac_lib_var=yes" | 14818 eval "ac_cv_lib_$ac_lib_var=yes" |
14817 else | 14819 else |
14818 echo "configure: failed program was:" >&5 | 14820 echo "configure: failed program was:" >&5 |
14819 cat conftest.$ac_ext >&5 | 14821 cat conftest.$ac_ext >&5 |
14837 | 14839 |
14838 fi | 14840 fi |
14839 | 14841 |
14840 if test "$with_database_dbm" != "no"; then | 14842 if test "$with_database_dbm" != "no"; then |
14841 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 14843 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
14842 echo "configure:14843: checking for dbm_open" >&5 | 14844 echo "configure:14845: checking for dbm_open" >&5 |
14843 | 14845 |
14844 cat > conftest.$ac_ext <<EOF | 14846 cat > conftest.$ac_ext <<EOF |
14845 #line 14846 "configure" | 14847 #line 14848 "configure" |
14846 #include "confdefs.h" | 14848 #include "confdefs.h" |
14847 /* System header to define __stub macros and hopefully few prototypes, | 14849 /* System header to define __stub macros and hopefully few prototypes, |
14848 which can conflict with char dbm_open(); below. */ | 14850 which can conflict with char dbm_open(); below. */ |
14849 #include <assert.h> | 14851 #include <assert.h> |
14850 /* Override any gcc2 internal prototype to avoid an error. */ | 14852 /* Override any gcc2 internal prototype to avoid an error. */ |
14863 dbm_open(); | 14865 dbm_open(); |
14864 #endif | 14866 #endif |
14865 | 14867 |
14866 ; return 0; } | 14868 ; return 0; } |
14867 EOF | 14869 EOF |
14868 if { (eval echo configure:14869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14870 if { (eval echo configure:14871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14869 rm -rf conftest* | 14871 rm -rf conftest* |
14870 eval "ac_cv_func_dbm_open=yes" | 14872 eval "ac_cv_func_dbm_open=yes" |
14871 else | 14873 else |
14872 echo "configure: failed program was:" >&5 | 14874 echo "configure: failed program was:" >&5 |
14873 cat conftest.$ac_ext >&5 | 14875 cat conftest.$ac_ext >&5 |
14882 else | 14884 else |
14883 echo "$ac_t""no" 1>&6 | 14885 echo "$ac_t""no" 1>&6 |
14884 | 14886 |
14885 | 14887 |
14886 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 14888 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
14887 echo "configure:14888: checking for dbm_open in -ldbm" >&5 | 14889 echo "configure:14890: checking for dbm_open in -ldbm" >&5 |
14888 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14890 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14889 | 14891 |
14890 xe_check_libs=" -ldbm " | 14892 xe_check_libs=" -ldbm " |
14891 cat > conftest.$ac_ext <<EOF | 14893 cat > conftest.$ac_ext <<EOF |
14892 #line 14893 "configure" | 14894 #line 14895 "configure" |
14893 #include "confdefs.h" | 14895 #include "confdefs.h" |
14894 /* Override any gcc2 internal prototype to avoid an error. */ | 14896 /* Override any gcc2 internal prototype to avoid an error. */ |
14895 /* We use char because int might match the return type of a gcc2 | 14897 /* We use char because int might match the return type of a gcc2 |
14896 builtin and then its argument prototype would still apply. */ | 14898 builtin and then its argument prototype would still apply. */ |
14897 char dbm_open(); | 14899 char dbm_open(); |
14898 | 14900 |
14899 int main() { | 14901 int main() { |
14900 dbm_open() | 14902 dbm_open() |
14901 ; return 0; } | 14903 ; return 0; } |
14902 EOF | 14904 EOF |
14903 if { (eval echo configure:14904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14905 if { (eval echo configure:14906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14904 rm -rf conftest* | 14906 rm -rf conftest* |
14905 eval "ac_cv_lib_$ac_lib_var=yes" | 14907 eval "ac_cv_lib_$ac_lib_var=yes" |
14906 else | 14908 else |
14907 echo "configure: failed program was:" >&5 | 14909 echo "configure: failed program was:" >&5 |
14908 cat conftest.$ac_ext >&5 | 14910 cat conftest.$ac_ext >&5 |
14939 } | 14941 } |
14940 | 14942 |
14941 | 14943 |
14942 if test "$with_database_berkdb" != "no"; then | 14944 if test "$with_database_berkdb" != "no"; then |
14943 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 14945 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
14944 echo "configure:14945: checking for Berkeley db.h" >&5 | 14946 echo "configure:14947: checking for Berkeley db.h" >&5 |
14945 for header in "db/db.h" "db.h"; do | 14947 for header in "db/db.h" "db.h"; do |
14946 cat > conftest.$ac_ext <<EOF | 14948 cat > conftest.$ac_ext <<EOF |
14947 #line 14948 "configure" | 14949 #line 14950 "configure" |
14948 #include "confdefs.h" | 14950 #include "confdefs.h" |
14949 | 14951 |
14950 #include <stdlib.h> | 14952 #include <stdlib.h> |
14951 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 14953 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
14952 #ifdef HAVE_INTTYPES_H | 14954 #ifdef HAVE_INTTYPES_H |
14964 | 14966 |
14965 int main() { | 14967 int main() { |
14966 | 14968 |
14967 ; return 0; } | 14969 ; return 0; } |
14968 EOF | 14970 EOF |
14969 if { (eval echo configure:14970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14971 if { (eval echo configure:14972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14970 rm -rf conftest* | 14972 rm -rf conftest* |
14971 db_h_file="$header"; break | 14973 db_h_file="$header"; break |
14972 else | 14974 else |
14973 echo "configure: failed program was:" >&5 | 14975 echo "configure: failed program was:" >&5 |
14974 cat conftest.$ac_ext >&5 | 14976 cat conftest.$ac_ext >&5 |
14980 else echo "$ac_t""$db_h_file" 1>&6 | 14982 else echo "$ac_t""$db_h_file" 1>&6 |
14981 fi | 14983 fi |
14982 | 14984 |
14983 if test "$with_database_berkdb" != "no"; then | 14985 if test "$with_database_berkdb" != "no"; then |
14984 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 14986 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
14985 echo "configure:14986: checking for Berkeley DB version" >&5 | 14987 echo "configure:14988: checking for Berkeley DB version" >&5 |
14986 cat > conftest.$ac_ext <<EOF | 14988 cat > conftest.$ac_ext <<EOF |
14987 #line 14988 "configure" | 14989 #line 14990 "configure" |
14988 #include "confdefs.h" | 14990 #include "confdefs.h" |
14989 #include <$db_h_file> | 14991 #include <$db_h_file> |
14990 #if DB_VERSION_MAJOR > 1 | 14992 #if DB_VERSION_MAJOR > 1 |
14991 yes | 14993 yes |
14992 #endif | 14994 #endif |
14994 EOF | 14996 EOF |
14995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14996 egrep "yes" >/dev/null 2>&1; then | 14998 egrep "yes" >/dev/null 2>&1; then |
14997 rm -rf conftest* | 14999 rm -rf conftest* |
14998 cat > conftest.$ac_ext <<EOF | 15000 cat > conftest.$ac_ext <<EOF |
14999 #line 15000 "configure" | 15001 #line 15002 "configure" |
15000 #include "confdefs.h" | 15002 #include "confdefs.h" |
15001 #include <$db_h_file> | 15003 #include <$db_h_file> |
15002 #if DB_VERSION_MAJOR > 2 | 15004 #if DB_VERSION_MAJOR > 2 |
15003 yes | 15005 yes |
15004 #endif | 15006 #endif |
15021 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 15023 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
15022 fi | 15024 fi |
15023 rm -f conftest* | 15025 rm -f conftest* |
15024 | 15026 |
15025 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15027 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15026 echo "configure:15027: checking for $dbfunc" >&5 | 15028 echo "configure:15029: checking for $dbfunc" >&5 |
15027 | 15029 |
15028 cat > conftest.$ac_ext <<EOF | 15030 cat > conftest.$ac_ext <<EOF |
15029 #line 15030 "configure" | 15031 #line 15032 "configure" |
15030 #include "confdefs.h" | 15032 #include "confdefs.h" |
15031 /* System header to define __stub macros and hopefully few prototypes, | 15033 /* System header to define __stub macros and hopefully few prototypes, |
15032 which can conflict with char $dbfunc(); below. */ | 15034 which can conflict with char $dbfunc(); below. */ |
15033 #include <assert.h> | 15035 #include <assert.h> |
15034 /* Override any gcc2 internal prototype to avoid an error. */ | 15036 /* Override any gcc2 internal prototype to avoid an error. */ |
15047 $dbfunc(); | 15049 $dbfunc(); |
15048 #endif | 15050 #endif |
15049 | 15051 |
15050 ; return 0; } | 15052 ; return 0; } |
15051 EOF | 15053 EOF |
15052 if { (eval echo configure:15053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15054 if { (eval echo configure:15055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15053 rm -rf conftest* | 15055 rm -rf conftest* |
15054 eval "ac_cv_func_$dbfunc=yes" | 15056 eval "ac_cv_func_$dbfunc=yes" |
15055 else | 15057 else |
15056 echo "configure: failed program was:" >&5 | 15058 echo "configure: failed program was:" >&5 |
15057 cat conftest.$ac_ext >&5 | 15059 cat conftest.$ac_ext >&5 |
15066 else | 15068 else |
15067 echo "$ac_t""no" 1>&6 | 15069 echo "$ac_t""no" 1>&6 |
15068 | 15070 |
15069 | 15071 |
15070 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15072 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15071 echo "configure:15072: checking for $dbfunc in -ldb" >&5 | 15073 echo "configure:15074: checking for $dbfunc in -ldb" >&5 |
15072 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15074 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15073 | 15075 |
15074 xe_check_libs=" -ldb " | 15076 xe_check_libs=" -ldb " |
15075 cat > conftest.$ac_ext <<EOF | 15077 cat > conftest.$ac_ext <<EOF |
15076 #line 15077 "configure" | 15078 #line 15079 "configure" |
15077 #include "confdefs.h" | 15079 #include "confdefs.h" |
15078 /* Override any gcc2 internal prototype to avoid an error. */ | 15080 /* Override any gcc2 internal prototype to avoid an error. */ |
15079 /* We use char because int might match the return type of a gcc2 | 15081 /* We use char because int might match the return type of a gcc2 |
15080 builtin and then its argument prototype would still apply. */ | 15082 builtin and then its argument prototype would still apply. */ |
15081 char $dbfunc(); | 15083 char $dbfunc(); |
15082 | 15084 |
15083 int main() { | 15085 int main() { |
15084 $dbfunc() | 15086 $dbfunc() |
15085 ; return 0; } | 15087 ; return 0; } |
15086 EOF | 15088 EOF |
15087 if { (eval echo configure:15088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15089 if { (eval echo configure:15090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15088 rm -rf conftest* | 15090 rm -rf conftest* |
15089 eval "ac_cv_lib_$ac_lib_var=yes" | 15091 eval "ac_cv_lib_$ac_lib_var=yes" |
15090 else | 15092 else |
15091 echo "configure: failed program was:" >&5 | 15093 echo "configure: failed program was:" >&5 |
15092 cat conftest.$ac_ext >&5 | 15094 cat conftest.$ac_ext >&5 |
15143 fi | 15145 fi |
15144 | 15146 |
15145 if test "$with_socks" = "yes"; then | 15147 if test "$with_socks" = "yes"; then |
15146 | 15148 |
15147 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15149 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15148 echo "configure:15149: checking for SOCKSinit in -lsocks" >&5 | 15150 echo "configure:15151: checking for SOCKSinit in -lsocks" >&5 |
15149 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15151 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15150 | 15152 |
15151 xe_check_libs=" -lsocks " | 15153 xe_check_libs=" -lsocks " |
15152 cat > conftest.$ac_ext <<EOF | 15154 cat > conftest.$ac_ext <<EOF |
15153 #line 15154 "configure" | 15155 #line 15156 "configure" |
15154 #include "confdefs.h" | 15156 #include "confdefs.h" |
15155 /* Override any gcc2 internal prototype to avoid an error. */ | 15157 /* Override any gcc2 internal prototype to avoid an error. */ |
15156 /* We use char because int might match the return type of a gcc2 | 15158 /* We use char because int might match the return type of a gcc2 |
15157 builtin and then its argument prototype would still apply. */ | 15159 builtin and then its argument prototype would still apply. */ |
15158 char SOCKSinit(); | 15160 char SOCKSinit(); |
15159 | 15161 |
15160 int main() { | 15162 int main() { |
15161 SOCKSinit() | 15163 SOCKSinit() |
15162 ; return 0; } | 15164 ; return 0; } |
15163 EOF | 15165 EOF |
15164 if { (eval echo configure:15165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15166 if { (eval echo configure:15167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15165 rm -rf conftest* | 15167 rm -rf conftest* |
15166 eval "ac_cv_lib_$ac_lib_var=yes" | 15168 eval "ac_cv_lib_$ac_lib_var=yes" |
15167 else | 15169 else |
15168 echo "configure: failed program was:" >&5 | 15170 echo "configure: failed program was:" >&5 |
15169 cat conftest.$ac_ext >&5 | 15171 cat conftest.$ac_ext >&5 |
15213 | 15215 |
15214 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 15216 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
15215 fi | 15217 fi |
15216 | 15218 |
15217 cat > conftest.$ac_ext <<EOF | 15219 cat > conftest.$ac_ext <<EOF |
15218 #line 15219 "configure" | 15220 #line 15221 "configure" |
15219 #include "confdefs.h" | 15221 #include "confdefs.h" |
15220 int main(int c,char *v[]){return 0;} | 15222 int main(int c,char *v[]){return 0;} |
15221 EOF | 15223 EOF |
15222 if { (eval echo configure:15223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15224 if { (eval echo configure:15225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15223 then | 15225 then |
15224 : | 15226 : |
15225 else | 15227 else |
15226 conftest_rc="$?" | 15228 conftest_rc="$?" |
15227 echo "configure: failed program was:" >&5 | 15229 echo "configure: failed program was:" >&5 |