ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/configure
(Generate patch)

Comparing rxvt-unicode/configure (file contents):
Revision 1.66 by root, Wed Jan 11 19:55:33 2006 UTC vs.
Revision 1.67 by root, Wed Jan 11 23:08:54 2006 UTC

10183 10183
10184 10184
10185 10185
10186 10186
10187 10187
10188
10188for ac_func in \ 10189for ac_func in \
10189 atexit \ 10190 atexit \
10190 revoke \ 10191 revoke \
10191 unsetenv \ 10192 unsetenv \
10192 setutent \ 10193 setutent \
10194 setreuid \ 10195 setreuid \
10195 setsid \ 10196 setsid \
10196 setpgrp \ 10197 setpgrp \
10197 setpgid \ 10198 setpgid \
10198 _getpty \ 10199 _getpty \
10200 posix_openpt \
10199 grantpt \ 10201 grantpt \
10200 unlockpt \ 10202 unlockpt \
10201 isastream \ 10203 isastream \
10202 on_exit \ 10204 on_exit \
10203 nanosleep \ 10205 nanosleep \
11984#define XIMCB_PROTO_BROKEN 1 11986#define XIMCB_PROTO_BROKEN 1
11985_ACEOF 11987_ACEOF
11986 11988
11987fi 11989fi
11988 11990
11989echo "$as_me:$LINENO: checking for getpt" >&5
11990echo $ECHO_N "checking for getpt... $ECHO_C" >&6
11991if test "${rxvt_cv_func_getpt+set}" = set; then
11992 echo $ECHO_N "(cached) $ECHO_C" >&6
11993else
11994 cat >conftest.$ac_ext <<_ACEOF
11995/* confdefs.h. */
11996_ACEOF
11997cat confdefs.h >>conftest.$ac_ext
11998cat >>conftest.$ac_ext <<_ACEOF
11999/* end confdefs.h. */
12000#define _GNU_SOURCE
12001#ifdef HAVE_STDLIB_H
12002# include <cstdlib>
12003#endif
12004int
12005main ()
12006{
12007(void)getpt();
12008 ;
12009 return 0;
12010}
12011_ACEOF
12012rm -f conftest.$ac_objext conftest$ac_exeext
12013if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12014 (eval $ac_link) 2>conftest.er1
12015 ac_status=$?
12016 grep -v '^ *+' conftest.er1 >conftest.err
12017 rm -f conftest.er1
12018 cat conftest.err >&5
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); } &&
12021 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12023 (eval $ac_try) 2>&5
12024 ac_status=$?
12025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12026 (exit $ac_status); }; } &&
12027 { ac_try='test -s conftest$ac_exeext'
12028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12029 (eval $ac_try) 2>&5
12030 ac_status=$?
12031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12032 (exit $ac_status); }; }; then
12033 rxvt_cv_func_getpt=yes
12034else
12035 echo "$as_me: failed program was:" >&5
12036sed 's/^/| /' conftest.$ac_ext >&5
12037
12038rxvt_cv_func_getpt=no
12039fi
12040rm -f conftest.err conftest.$ac_objext \
12041 conftest$ac_exeext conftest.$ac_ext
12042fi
12043echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5
12044echo "${ECHO_T}$rxvt_cv_func_getpt" >&6
12045if test x$rxvt_cv_func_getpt = xno; then 11991if test x$rxvt_cv_func_posix_openpt = xno; then
12046 echo "$as_me:$LINENO: checking for openpty" >&5 11992 echo "$as_me:$LINENO: checking for openpty" >&5
12047echo $ECHO_N "checking for openpty... $ECHO_C" >&6 11993echo $ECHO_N "checking for openpty... $ECHO_C" >&6
12048if test "${ac_cv_func_openpty+set}" = set; then 11994if test "${ac_cv_func_openpty+set}" = set; then
12049 echo $ECHO_N "(cached) $ECHO_C" >&6 11995 echo $ECHO_N "(cached) $ECHO_C" >&6
12050else 11996else
12211if test "${rxvt_cv_ptys+set}" = set; then 12157if test "${rxvt_cv_ptys+set}" = set; then
12212 echo $ECHO_N "(cached) $ECHO_C" >&6 12158 echo $ECHO_N "(cached) $ECHO_C" >&6
12213else 12159else
12214 if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then 12160 if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then
12215 rxvt_cv_ptys=OPENPTY 12161 rxvt_cv_ptys=OPENPTY
12162 else if test x$ac_cv_func_posix_openpt = xyes; then
12163 rxvt_cv_ptys=POSIX
12216 else if test x$ac_cv_func__getpty = xyes; then 12164 else if test x$ac_cv_func__getpty = xyes; then
12217 rxvt_cv_ptys=SGI4 12165 rxvt_cv_ptys=SGI4
12218 else if test -c /dev/ttyp20; then 12166 else if test -c /dev/ttyp20; then
12219 rxvt_cv_ptys=SCO 12167 rxvt_cv_ptys=SCO
12220 else if test -c /dev/ptym/clone; then 12168 else if test -c /dev/ptym/clone; then
12221 rxvt_cv_ptys=HPUX 12169 rxvt_cv_ptys=HPUX
12222 else if test x$rxvt_cv_func_getpt = xyes; then
12223 rxvt_cv_ptys=GLIBC
12224 else if test -c /dev/ptc -a -c /dev/pts; then 12170 else if test -c /dev/ptc -a -c /dev/pts; then
12225 rxvt_cv_ptys=PTC 12171 rxvt_cv_ptys=PTC
12226 else if test -c /dev/ptc -a -d /dev/pts; then 12172 else if test -c /dev/ptc -a -d /dev/pts; then
12227 rxvt_cv_ptys=PTC 12173 rxvt_cv_ptys=PTC
12228 else if test -c /dev/ptmx -a -c /dev/pts/0; then 12174 else if test -c /dev/ptmx -a -c /dev/pts/0; then
12243 12189
12244fi 12190fi
12245echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 12191echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5
12246echo "${ECHO_T}$rxvt_cv_ptys" >&6 12192echo "${ECHO_T}$rxvt_cv_ptys" >&6
12247 12193
12194if test x$rxvt_cv_ptys = xPOSIX; then
12195
12196cat >>confdefs.h <<\_ACEOF
12197#define PTYS_ARE_POSIX 1
12198_ACEOF
12199
12200fi
12248if test x$rxvt_cv_ptys = xOPENPTY; then 12201if test x$rxvt_cv_ptys = xOPENPTY; then
12249 12202
12250cat >>confdefs.h <<\_ACEOF 12203cat >>confdefs.h <<\_ACEOF
12251#define PTYS_ARE_OPENPTY 1 12204#define PTYS_ARE_OPENPTY 1
12252_ACEOF 12205_ACEOF
12275fi 12228fi
12276if test x$rxvt_cv_ptys = xSGI4; then 12229if test x$rxvt_cv_ptys = xSGI4; then
12277 12230
12278cat >>confdefs.h <<\_ACEOF 12231cat >>confdefs.h <<\_ACEOF
12279#define PTYS_ARE__GETPTY 1 12232#define PTYS_ARE__GETPTY 1
12280_ACEOF
12281
12282fi
12283if test x$rxvt_cv_ptys = xCONVEX; then
12284
12285cat >>confdefs.h <<\_ACEOF
12286#define PTYS_ARE_GETPTY 1
12287_ACEOF 12233_ACEOF
12288 12234
12289fi 12235fi
12290if test x$rxvt_cv_ptys = xGLIBC; then 12236if test x$rxvt_cv_ptys = xGLIBC; then
12291 12237

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines