|
1 | 1 | #! /bin/sh |
2 | | -# From configure.in Revision: 1.468 . |
| 2 | +# From configure.in Revision: 1.469 . |
3 | 3 | # Guess values for system-dependent variables and create Makefiles. |
4 | 4 | # Generated by GNU Autoconf 2.59 for python 2.4. |
5 | 5 | # |
@@ -4532,13 +4532,13 @@ done |
4532 | 4532 |
|
4533 | 4533 |
|
4534 | 4534 |
|
4535 | | -for ac_header in dlfcn.h fcntl.h grp.h langinfo.h \ |
| 4535 | +for ac_header in curses.h dlfcn.h fcntl.h grp.h langinfo.h \ |
4536 | 4536 | libintl.h ncurses.h poll.h pthread.h \ |
4537 | 4537 | stropts.h termios.h thread.h \ |
4538 | 4538 | unistd.h utime.h \ |
4539 | 4539 | sys/audioio.h sys/bsdtty.h sys/file.h sys/lock.h sys/mkdev.h sys/modem.h \ |
4540 | 4540 | sys/param.h sys/poll.h sys/select.h sys/socket.h sys/time.h sys/times.h \ |
4541 | | -sys/un.h sys/utsname.h sys/wait.h pty.h term.h libutil.h \ |
| 4541 | +sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h \ |
4542 | 4542 | sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \ |
4543 | 4543 | bluetooth/bluetooth.h |
4544 | 4544 | do |
@@ -5374,6 +5374,69 @@ fi |
5374 | 5374 | fi |
5375 | 5375 |
|
5376 | 5376 |
|
| 5377 | +# On Solaris, term.h requires curses.h |
| 5378 | + |
| 5379 | +for ac_header in term.h |
| 5380 | +do |
| 5381 | +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5382 | +echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5383 | +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5384 | +if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5385 | + echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5386 | +else |
| 5387 | + cat >conftest.$ac_ext <<_ACEOF |
| 5388 | +/* confdefs.h. */ |
| 5389 | +_ACEOF |
| 5390 | +cat confdefs.h >>conftest.$ac_ext |
| 5391 | +cat >>conftest.$ac_ext <<_ACEOF |
| 5392 | +/* end confdefs.h. */ |
| 5393 | +#include <curses.h> |
| 5394 | + |
| 5395 | +#include <$ac_header> |
| 5396 | +_ACEOF |
| 5397 | +rm -f conftest.$ac_objext |
| 5398 | +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5399 | + (eval $ac_compile) 2>conftest.er1 |
| 5400 | + ac_status=$? |
| 5401 | + grep -v '^ *+' conftest.er1 >conftest.err |
| 5402 | + rm -f conftest.er1 |
| 5403 | + cat conftest.err >&5 |
| 5404 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5405 | + (exit $ac_status); } && |
| 5406 | + { ac_try='test -z "$ac_c_werror_flag" |
| 5407 | + || test ! -s conftest.err' |
| 5408 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5409 | + (eval $ac_try) 2>&5 |
| 5410 | + ac_status=$? |
| 5411 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5412 | + (exit $ac_status); }; } && |
| 5413 | + { ac_try='test -s conftest.$ac_objext' |
| 5414 | + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5415 | + (eval $ac_try) 2>&5 |
| 5416 | + ac_status=$? |
| 5417 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5418 | + (exit $ac_status); }; }; then |
| 5419 | + eval "$as_ac_Header=yes" |
| 5420 | +else |
| 5421 | + echo "$as_me: failed program was:" >&5 |
| 5422 | +sed 's/^/| /' conftest.$ac_ext >&5 |
| 5423 | + |
| 5424 | +eval "$as_ac_Header=no" |
| 5425 | +fi |
| 5426 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5427 | +fi |
| 5428 | +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5429 | +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5430 | +if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 5431 | + cat >>confdefs.h <<_ACEOF |
| 5432 | +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5433 | +_ACEOF |
| 5434 | + |
| 5435 | +fi |
| 5436 | + |
| 5437 | +done |
| 5438 | + |
| 5439 | + |
5377 | 5440 | # checks for typedefs |
5378 | 5441 | was_it_defined=no |
5379 | 5442 | echo "$as_me:$LINENO: checking for clock_t in time.h" >&5 |
|
0 commit comments