configure (rxvt-unicode-9.26.tar.bz2) | : | configure (rxvt-unicode-9.29.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 653 | skipping to change at line 653 | |||
PERLFLAGS | PERLFLAGS | |||
PERLLIB | PERLLIB | |||
PERL | PERL | |||
XFT_CONFIG | XFT_CONFIG | |||
EGREP | EGREP | |||
GREP | GREP | |||
STARTUP_NOTIFICATION_LIBS | STARTUP_NOTIFICATION_LIBS | |||
STARTUP_NOTIFICATION_CFLAGS | STARTUP_NOTIFICATION_CFLAGS | |||
PIXBUF_LIBS | PIXBUF_LIBS | |||
PIXBUF_CFLAGS | PIXBUF_CFLAGS | |||
PTYTTY_LIBS | ||||
PTYTTY_CFLAGS | ||||
PKG_CONFIG | PKG_CONFIG | |||
X_EXTRA_LIBS | X_EXTRA_LIBS | |||
X_LIBS | X_LIBS | |||
X_PRE_LIBS | X_PRE_LIBS | |||
X_CFLAGS | X_CFLAGS | |||
CXXCPP | CXXCPP | |||
XMKMF | XMKMF | |||
TIC | TIC | |||
RXVTNAME | RXVTNAME | |||
LINKER | LINKER | |||
skipping to change at line 678 | skipping to change at line 680 | |||
CXX | CXX | |||
OBJEXT | OBJEXT | |||
EXEEXT | EXEEXT | |||
ac_ct_CC | ac_ct_CC | |||
CPPFLAGS | CPPFLAGS | |||
LDFLAGS | LDFLAGS | |||
CFLAGS | CFLAGS | |||
CC | CC | |||
DATE | DATE | |||
VERSION | VERSION | |||
host_os | ||||
host_vendor | ||||
host_cpu | ||||
host | ||||
build_os | ||||
build_vendor | ||||
build_cpu | ||||
build | ||||
target_alias | target_alias | |||
host_alias | host_alias | |||
build_alias | build_alias | |||
LIBS | LIBS | |||
ECHO_T | ECHO_T | |||
ECHO_N | ECHO_N | |||
ECHO_C | ECHO_C | |||
DEFS | DEFS | |||
mandir | mandir | |||
localedir | localedir | |||
skipping to change at line 767 | skipping to change at line 761 | |||
enable_keepscrolling | enable_keepscrolling | |||
enable_selectionscrolling | enable_selectionscrolling | |||
enable_mousewheel | enable_mousewheel | |||
enable_slipwheeling | enable_slipwheeling | |||
enable_smart_resize | enable_smart_resize | |||
enable_text_blink | enable_text_blink | |||
enable_pointer_blank | enable_pointer_blank | |||
with_term | with_term | |||
with_terminfo | with_terminfo | |||
with_x | with_x | |||
enable_utmp | ||||
enable_wtmp | ||||
enable_lastlog | ||||
' | ' | |||
ac_precious_vars='build_alias | ac_precious_vars='build_alias | |||
host_alias | host_alias | |||
target_alias | target_alias | |||
CC | CC | |||
CFLAGS | CFLAGS | |||
LDFLAGS | LDFLAGS | |||
LIBS | LIBS | |||
CPPFLAGS | CPPFLAGS | |||
CXX | CXX | |||
skipping to change at line 1390 | skipping to change at line 1381 | |||
--dvidir=DIR dvi documentation [DOCDIR] | --dvidir=DIR dvi documentation [DOCDIR] | |||
--pdfdir=DIR pdf documentation [DOCDIR] | --pdfdir=DIR pdf documentation [DOCDIR] | |||
--psdir=DIR ps documentation [DOCDIR] | --psdir=DIR ps documentation [DOCDIR] | |||
_ACEOF | _ACEOF | |||
cat <<\_ACEOF | cat <<\_ACEOF | |||
X features: | X features: | |||
--x-includes=DIR X include files are in DIR | --x-includes=DIR X include files are in DIR | |||
--x-libraries=DIR X library files are in DIR | --x-libraries=DIR X library files are in DIR | |||
System types: | ||||
--build=BUILD configure for building on BUILD [guessed] | ||||
--host=HOST cross-compile to build programs to run on HOST [BUILD] | ||||
_ACEOF | _ACEOF | |||
fi | fi | |||
if test -n "$ac_init_help"; then | if test -n "$ac_init_help"; then | |||
cat <<\_ACEOF | cat <<\_ACEOF | |||
Optional Features: | Optional Features: | |||
--disable-option-checking ignore unrecognized --enable/--with options | --disable-option-checking ignore unrecognized --enable/--with options | |||
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |||
skipping to change at line 1438 | skipping to change at line 1425 | |||
--disable-swapscreen disable swap screen support | --disable-swapscreen disable swap screen support | |||
--enable-iso14755 enable support for extended ISO 14755 modes | --enable-iso14755 enable support for extended ISO 14755 modes | |||
--enable-frills enable support for rarely used features | --enable-frills enable support for rarely used features | |||
--enable-keepscrolling enable continual scrolling on scrollbar arrow press | --enable-keepscrolling enable continual scrolling on scrollbar arrow press | |||
--enable-selectionscrolling enable scrolling during selections | --enable-selectionscrolling enable scrolling during selections | |||
--enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 | |||
--enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewh eel) | --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewh eel) | |||
--enable-smart-resize enable smart growth/shrink behaviour | --enable-smart-resize enable smart growth/shrink behaviour | |||
--enable-text-blink enable blinking text | --enable-text-blink enable blinking text | |||
--enable-pointer-blank enable pointer blanking when typing or inactive | --enable-pointer-blank enable pointer blanking when typing or inactive | |||
--enable-utmp enable utmp (utmpx) support | ||||
--enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) | ||||
--enable-lastlog enable lastlog support (requires --enable-utmp) | ||||
Optional Packages: | Optional Packages: | |||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |||
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |||
--with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext ,all) | --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext ,all) | |||
--with-res-name=NAME use this as default resource name (default: urxvt) | --with-res-name=NAME use this as default resource name (default: urxvt) | |||
--with-res-class=CLASS use this as the resource class (default: URxvt) | --with-res-class=CLASS use this as the resource class (default: URxvt) | |||
--with-name=NAME set the basename for the installed binaries (default: urxvt) | --with-name=NAME set the basename for the installed binaries (default: urxvt) | |||
--with-term=NAME set the terminal to NAME (default: rxvt) | --with-term=NAME set the terminal to NAME (default: rxvt) | |||
--with-terminfo=PATH set the path to the terminfo tree to PATH | --with-terminfo=PATH set the path to the terminfo tree to PATH | |||
skipping to change at line 2032 | skipping to change at line 2016 | |||
fi | fi | |||
done | done | |||
fi | fi | |||
eval ac_res=\$$3 | eval ac_res=\$$3 | |||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |||
printf "%s\n" "$ac_res" >&6; } | printf "%s\n" "$ac_res" >&6; } | |||
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |||
} # ac_fn_c_find_uintX_t | } # ac_fn_c_find_uintX_t | |||
# ac_fn_cxx_check_member LINENO AGGR MEMBER VAR INCLUDES | ||||
# ------------------------------------------------------ | ||||
# Tries to find if the field MEMBER exists in type AGGR, after including | ||||
# INCLUDES, setting cache variable VAR accordingly. | ||||
ac_fn_cxx_check_member () | ||||
{ | ||||
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | ||||
printf %s "checking for $2.$3... " >&6; } | ||||
if eval test \${$4+y} | ||||
then : | ||||
printf %s "(cached) " >&6 | ||||
else $as_nop | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
$5 | ||||
int | ||||
main (void) | ||||
{ | ||||
static $2 ac_aggr; | ||||
if (ac_aggr.$3) | ||||
return 0; | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_cxx_try_compile "$LINENO" | ||||
then : | ||||
eval "$4=yes" | ||||
else $as_nop | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
$5 | ||||
int | ||||
main (void) | ||||
{ | ||||
static $2 ac_aggr; | ||||
if (sizeof ac_aggr.$3) | ||||
return 0; | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_cxx_try_compile "$LINENO" | ||||
then : | ||||
eval "$4=yes" | ||||
else $as_nop | ||||
eval "$4=no" | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||||
fi | ||||
eval ac_res=\$$4 | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||||
printf "%s\n" "$ac_res" >&6; } | ||||
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||||
} # ac_fn_cxx_check_member | ||||
# ac_fn_cxx_try_run LINENO | # ac_fn_cxx_try_run LINENO | |||
# ------------------------ | # ------------------------ | |||
# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that | # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that | |||
# executables *can* be run. | # executables *can* be run. | |||
ac_fn_cxx_try_run () | ac_fn_cxx_try_run () | |||
{ | { | |||
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |||
if { { ac_try="$ac_link" | if { { ac_try="$ac_link" | |||
case "(($ac_try" in | case "(($ac_try" in | |||
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |||
skipping to change at line 2963 | skipping to change at line 2887 | |||
as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" | as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" | |||
as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" | as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" | |||
as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" | as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" | |||
as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" | as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" | |||
as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" | as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" | |||
as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" | as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" | |||
as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" | as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" | |||
as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_ H" | as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_ H" | |||
# Auxiliary files required by this configure script. | # Auxiliary files required by this configure script. | |||
ac_aux_files="install-sh config.guess config.sub" | ac_aux_files="install-sh" | |||
# Locations in which to look for auxiliary files. | # Locations in which to look for auxiliary files. | |||
ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${ srcdir}/../.." | ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${ srcdir}/../.." | |||
# Search for a directory containing all of the required auxiliary files, | # Search for a directory containing all of the required auxiliary files, | |||
# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. | # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. | |||
# If we don't find one directory that contains all the files we need, | # If we don't find one directory that contains all the files we need, | |||
# we report the set of missing files from the *first* directory in | # we report the set of missing files from the *first* directory in | |||
# $ac_aux_dir_candidates and give up. | # $ac_aux_dir_candidates and give up. | |||
ac_missing_aux_files="" | ac_missing_aux_files="" | |||
skipping to change at line 3128 | skipping to change at line 3052 | |||
## -------------------- ## | ## -------------------- ## | |||
ac_ext=c | ac_ext=c | |||
ac_cpp='$CPP $CPPFLAGS' | ac_cpp='$CPP $CPPFLAGS' | |||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' | |||
ac_compiler_gnu=$ac_cv_c_compiler_gnu | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
ac_config_headers="$ac_config_headers config.h:config.h.in" | ac_config_headers="$ac_config_headers config.h:config.h.in" | |||
# Make sure we can run config.sub. | ||||
$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || | ||||
as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | ||||
printf %s "checking build system type... " >&6; } | ||||
if test ${ac_cv_build+y} | ||||
then : | ||||
printf %s "(cached) " >&6 | ||||
else $as_nop | ||||
ac_build_alias=$build_alias | ||||
test "x$ac_build_alias" = x && | ||||
ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` | ||||
test "x$ac_build_alias" = x && | ||||
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 | ||||
ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || | ||||
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINEN | ||||
O" 5 | ||||
fi | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | ||||
printf "%s\n" "$ac_cv_build" >&6; } | ||||
case $ac_cv_build in | ||||
*-*-*) ;; | ||||
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; | ||||
esac | ||||
build=$ac_cv_build | ||||
ac_save_IFS=$IFS; IFS='-' | ||||
set x $ac_cv_build | ||||
shift | ||||
build_cpu=$1 | ||||
build_vendor=$2 | ||||
shift; shift | ||||
# Remember, the first character of IFS is used to create $*, | ||||
# except with old shells: | ||||
build_os=$* | ||||
IFS=$ac_save_IFS | ||||
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | ||||
printf %s "checking host system type... " >&6; } | ||||
if test ${ac_cv_host+y} | ||||
then : | ||||
printf %s "(cached) " >&6 | ||||
else $as_nop | ||||
if test "x$host_alias" = x; then | ||||
ac_cv_host=$ac_cv_build | ||||
else | ||||
ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || | ||||
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" | ||||
5 | ||||
fi | ||||
fi | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | ||||
printf "%s\n" "$ac_cv_host" >&6; } | ||||
case $ac_cv_host in | ||||
*-*-*) ;; | ||||
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | ||||
esac | ||||
host=$ac_cv_host | ||||
ac_save_IFS=$IFS; IFS='-' | ||||
set x $ac_cv_host | ||||
shift | ||||
host_cpu=$1 | ||||
host_vendor=$2 | ||||
shift; shift | ||||
# Remember, the first character of IFS is used to create $*, | ||||
# except with old shells: | ||||
host_os=$* | ||||
IFS=$ac_save_IFS | ||||
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | ||||
VERSION=`sed -n -e 's/^.* VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` | VERSION=`sed -n -e 's/^.* VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` | |||
DATE=`sed -n -e 's/^.* DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` | DATE=`sed -n -e 's/^.* DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` | |||
echo "" | echo "" | |||
echo "configuring for rxvt $VERSION" | echo "configuring for rxvt $VERSION" | |||
echo "" | echo "" | |||
orig_CXXFLAGS="$CXXFLAGS" | orig_CXXFLAGS="$CXXFLAGS" | |||
ac_ext=c | ac_ext=c | |||
skipping to change at line 5093 | skipping to change at line 4946 | |||
# Check whether --enable-everything was given. | # Check whether --enable-everything was given. | |||
if test ${enable_everything+y} | if test ${enable_everything+y} | |||
then : | then : | |||
enableval=$enable_everything; | enableval=$enable_everything; | |||
if test x$enableval = xno; then | if test x$enableval = xno; then | |||
support_frills=no | support_frills=no | |||
support_inheritpixmap=no | support_inheritpixmap=no | |||
support_fading=no | support_fading=no | |||
support_keepscrolling=no | support_keepscrolling=no | |||
support_selectionscrolling=no | support_selectionscrolling=no | |||
support_lastlog=no | ||||
support_mousewheel=no | support_mousewheel=no | |||
support_mouseslipwheel=no | support_mouseslipwheel=no | |||
support_text_blink=no | support_text_blink=no | |||
support_pointer_blank=no | support_pointer_blank=no | |||
support_scroll_rxvt=no | support_scroll_rxvt=no | |||
support_scroll_next=no | support_scroll_next=no | |||
support_scroll_xterm=no | support_scroll_xterm=no | |||
support_utmp=no | ||||
support_wtmp=no | ||||
support_xim=no | support_xim=no | |||
support_pixbuf=no | support_pixbuf=no | |||
support_startup_notification=no | support_startup_notification=no | |||
support_xft=no | support_xft=no | |||
support_unicode3=no | support_unicode3=no | |||
support_combining=no | support_combining=no | |||
support_8bitctrls=no | support_8bitctrls=no | |||
support_iso14755=no | support_iso14755=no | |||
support_styles=no | support_styles=no | |||
support_perl=no | support_perl=no | |||
codesets= | codesets= | |||
fi | fi | |||
if test x$enableval = xyes; then | if test x$enableval = xyes; then | |||
support_frills=yes | support_frills=yes | |||
support_inheritpixmap=yes | support_inheritpixmap=yes | |||
support_fading=yes | support_fading=yes | |||
support_keepscrolling=yes | support_keepscrolling=yes | |||
support_selectionscrolling=yes | support_selectionscrolling=yes | |||
support_lastlog=yes | ||||
support_mousewheel=yes | support_mousewheel=yes | |||
support_mouseslipwheel=yes | support_mouseslipwheel=yes | |||
support_text_blink=yes | support_text_blink=yes | |||
support_pointer_blank=yes | support_pointer_blank=yes | |||
support_scroll_rxvt=yes | support_scroll_rxvt=yes | |||
support_scroll_next=yes | support_scroll_next=yes | |||
support_scroll_xterm=yes | support_scroll_xterm=yes | |||
support_utmp=yes | ||||
support_wtmp=yes | ||||
support_xim=yes | support_xim=yes | |||
support_pixbuf=yes | support_pixbuf=yes | |||
support_startup_notification=yes | support_startup_notification=yes | |||
support_xft=yes | support_xft=yes | |||
support_unicode3=yes | support_unicode3=yes | |||
support_combining=yes | support_combining=yes | |||
#support_8bitctrls=yes | #support_8bitctrls=yes | |||
support_iso14755=yes | support_iso14755=yes | |||
support_styles=yes | support_styles=yes | |||
support_perl=yes | support_perl=yes | |||
skipping to change at line 5173 | skipping to change at line 5020 | |||
if test ${enable_warnings+y} | if test ${enable_warnings+y} | |||
then : | then : | |||
enableval=$enable_warnings; if test x$enableval = xyes; then | enableval=$enable_warnings; if test x$enableval = xyes; then | |||
support_warnings=yes | support_warnings=yes | |||
fi | fi | |||
fi | fi | |||
if test x$GXX = xyes; then | if test x$GXX = xyes; then | |||
if test $support_warnings = yes; then | if test $support_warnings = yes; then | |||
save_CXXFLAGS="$CXXFLAGS" | save_CXXFLAGS="$CXXFLAGS" | |||
CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-unused-value" | for warning in \ | |||
-Wall \ | ||||
-Wno-parentheses \ | ||||
-Wno-reorder \ | ||||
-Wno-sign-compare \ | ||||
-Wno-unused-value \ | ||||
; do | ||||
CXXFLAGS="$CXXFLAGS $warning" | ||||
done | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
/* end confdefs.h. */ | /* end confdefs.h. */ | |||
int | int | |||
main (void) | main (void) | |||
{ | { | |||
; | ; | |||
return 0; | return 0; | |||
} | } | |||
skipping to change at line 6866 | skipping to change at line 6721 | |||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pre fixed with host triplet" >&5 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pre fixed with host triplet" >&5 | |||
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet " >&2;} | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet " >&2;} | |||
ac_tool_warned=yes ;; | ac_tool_warned=yes ;; | |||
esac | esac | |||
PKG_CONFIG=$ac_pt_PKG_CONFIG | PKG_CONFIG=$ac_pt_PKG_CONFIG | |||
fi | fi | |||
else | else | |||
PKG_CONFIG="$ac_cv_path_PKG_CONFIG" | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" | |||
fi | fi | |||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libptytty" >&5 | ||||
printf %s "checking for libptytty... " >&6; } | ||||
if test $PKG_CONFIG != no && $PKG_CONFIG --exists libptytty; then | ||||
PTYTTY_CFLAGS="`$PKG_CONFIG --cflags libptytty`" | ||||
PTYTTY_LIBS="`$PKG_CONFIG --libs libptytty`" | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 | ||||
printf "%s\n" "ok" >&6; } | ||||
: | ||||
else | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||||
printf "%s\n" "no" >&6; } | ||||
as_fn_error $? "unable to find libptytty" "$LINENO" 5 | ||||
fi | ||||
image_lib=none | image_lib=none | |||
PIXBUF_CFLAGS= | PIXBUF_CFLAGS= | |||
PIXBUF_LIBS= | PIXBUF_LIBS= | |||
if test x$support_pixbuf = xyes; then | if test x$support_pixbuf = xyes; then | |||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf-2.0" >&5 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf-2.0" >&5 | |||
printf %s "checking for gdk-pixbuf-2.0... " >&6; } | printf %s "checking for gdk-pixbuf-2.0... " >&6; } | |||
if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then | if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then | |||
skipping to change at line 7279 | skipping to change at line 7151 | |||
;; | ;; | |||
esac | esac | |||
ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" | ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" | |||
if test "x$ac_cv_func_unsetenv" = xyes | if test "x$ac_cv_func_unsetenv" = xyes | |||
then : | then : | |||
printf "%s\n" "#define HAVE_UNSETENV 1" >>confdefs.h | printf "%s\n" "#define HAVE_UNSETENV 1" >>confdefs.h | |||
fi | fi | |||
support_utmp=yes | ||||
support_wtmp=yes | ||||
support_lastlog=yes | ||||
# Check whether --enable-utmp was given. | ||||
if test ${enable_utmp+y} | ||||
then : | ||||
enableval=$enable_utmp; if test x$enableval = xyes -o x$enableval = xno; then | ||||
support_utmp=$enableval | ||||
fi | ||||
fi | ||||
# Check whether --enable-wtmp was given. | ||||
if test ${enable_wtmp+y} | ||||
then : | ||||
enableval=$enable_wtmp; if test x$enableval = xyes -o x$enableval = xno; then | ||||
support_wtmp=$enableval | ||||
fi | ||||
fi | ||||
# Check whether --enable-lastlog was given. | ||||
if test ${enable_lastlog+y} | ||||
then : | ||||
enableval=$enable_lastlog; if test x$enableval = xyes -o x$enableval = xno; th | ||||
en | ||||
support_lastlog=$enableval | ||||
fi | ||||
fi | ||||
if test x$support_utmp = xyes; then | ||||
printf "%s\n" "#define UTMP_SUPPORT 1" >>confdefs.h | ||||
fi | ||||
if test x$support_wtmp = xyes; then | ||||
printf "%s\n" "#define WTMP_SUPPORT 1" >>confdefs.h | ||||
fi | ||||
if test x$support_lastlog = xyes; then | ||||
printf "%s\n" "#define LASTLOG_SUPPORT 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_func "$LINENO" "updwtmp" "ac_cv_func_updwtmp" | ||||
if test "x$ac_cv_func_updwtmp" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_UPDWTMP 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_func "$LINENO" "updwtmpx" "ac_cv_func_updwtmpx" | ||||
if test "x$ac_cv_func_updwtmpx" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_UPDWTMPX 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_func "$LINENO" "updlastlogx" "ac_cv_func_updlastlogx" | ||||
if test "x$ac_cv_func_updlastlogx" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_UPDLASTLOGX 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_header_compile "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "$ | ||||
ac_includes_default" | ||||
if test "x$ac_cv_header_lastlog_h" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_LASTLOG_H 1" >>confdefs.h | ||||
fi | ||||
case $host in | ||||
*-*-solaris*) | ||||
printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h | ||||
;; | ||||
esac | ||||
for ac_header in utmp.h | ||||
do : | ||||
ac_fn_cxx_check_header_compile "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_i | ||||
ncludes_default" | ||||
if test "x$ac_cv_header_utmp_h" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_UTMP_H 1" >>confdefs.h | ||||
ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " | ||||
#include <sys/types.h> | ||||
#include <utmp.h> | ||||
" | ||||
if test "x$ac_cv_type_struct_utmp" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_STRUCT_UTMP 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_ut | ||||
mp_ut_host" " | ||||
#include <sys/types.h> | ||||
#include <utmp.h> | ||||
" | ||||
if test "x$ac_cv_member_struct_utmp_ut_host" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_UTMP_HOST 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utm | ||||
p_ut_pid" " | ||||
#include <sys/types.h> | ||||
#include <utmp.h> | ||||
" | ||||
if test "x$ac_cv_member_struct_utmp_ut_pid" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_UTMP_PID 1" >>confdefs.h | ||||
fi | ||||
fi | ||||
done | ||||
for ac_header in utmpx.h | ||||
do : | ||||
ac_fn_cxx_check_header_compile "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac | ||||
_includes_default" | ||||
if test "x$ac_cv_header_utmpx_h" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_UTMPX_H 1" >>confdefs.h | ||||
ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " | ||||
#include <sys/types.h> | ||||
#include <utmpx.h> | ||||
" | ||||
if test "x$ac_cv_type_struct_utmpx" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_STRUCT_UTMPX 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_u | ||||
tmpx_ut_host" " | ||||
#include <sys/types.h> | ||||
#include <utmpx.h> | ||||
" | ||||
if test "x$ac_cv_member_struct_utmpx_ut_host" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_UTMPX_HOST 1" >>confdefs.h | ||||
fi | ||||
fi | ||||
done | ||||
ac_fn_cxx_check_type "$LINENO" "struct lastlog" "ac_cv_type_struct_lastlog" " | ||||
#include <sys/types.h> | ||||
#include <utmp.h> | ||||
#ifdef HAVE_LASTLOG_H | ||||
#include <lastlog.h> | ||||
#endif | ||||
" | ||||
if test "x$ac_cv_type_struct_lastlog" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_STRUCT_LASTLOG 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_type "$LINENO" "struct lastlogx" "ac_cv_type_struct_lastlogx" " | ||||
#include <sys/types.h> | ||||
#include <utmpx.h> | ||||
#ifdef HAVE_LASTLOG_H | ||||
#include <lastlog.h> | ||||
#endif | ||||
" | ||||
if test "x$ac_cv_type_struct_lastlogx" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_STRUCT_LASTLOGX 1" >>confdefs.h | ||||
fi | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a fallback location o | ||||
f utmp" >&5 | ||||
printf %s "checking for a fallback location of utmp... " >&6; } | ||||
if test ${pt_cv_path_utmp+y} | ||||
then : | ||||
printf %s "(cached) " >&6 | ||||
else $as_nop | ||||
if test "$cross_compiling" != yes; then | ||||
for file in "/var/run/utmp" "/var/adm/utmp" "/etc/utmp" "/usr/etc/utmp" "/usr/ | ||||
adm/utmp"; do | ||||
if test -f "$file"; then | ||||
pt_cv_path_utmp=$file | ||||
break | ||||
fi | ||||
done | ||||
fi | ||||
fi | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5 | ||||
printf "%s\n" "$pt_cv_path_utmp" >&6; } | ||||
if test x$pt_cv_path_utmp != x; then | ||||
printf "%s\n" "#define PT_UTMP_FILE \"$pt_cv_path_utmp\"" >>confdefs.h | ||||
elif test "$cross_compiling" = yes; then | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_UTMP_FILE in | ||||
config.h manually" >&5 | ||||
printf "%s\n" "$as_me: WARNING: Define PT_UTMP_FILE in config.h manually" >&2;} | ||||
fi | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a fallback location o | ||||
f wtmp" >&5 | ||||
printf %s "checking for a fallback location of wtmp... " >&6; } | ||||
if test ${pt_cv_path_wtmp+y} | ||||
then : | ||||
printf %s "(cached) " >&6 | ||||
else $as_nop | ||||
if test "$cross_compiling" != yes; then | ||||
for file in "/var/log/wtmp" "/var/adm/wtmp" "/etc/wtmp" "/usr/etc/wtmp" "/usr/ | ||||
adm/wtmp"; do | ||||
if test -f "$file"; then | ||||
pt_cv_path_wtmp=$file | ||||
break | ||||
fi | ||||
done | ||||
fi | ||||
fi | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5 | ||||
printf "%s\n" "$pt_cv_path_wtmp" >&6; } | ||||
if test x$pt_cv_path_wtmp != x; then | ||||
printf "%s\n" "#define PT_WTMP_FILE \"$pt_cv_path_wtmp\"" >>confdefs.h | ||||
elif test "$cross_compiling" = yes; then | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMP_FILE in | ||||
config.h manually" >&5 | ||||
printf "%s\n" "$as_me: WARNING: Define PT_WTMP_FILE in config.h manually" >&2;} | ||||
fi | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a fallback location o | ||||
f wtmpx" >&5 | ||||
printf %s "checking for a fallback location of wtmpx... " >&6; } | ||||
if test ${pt_cv_path_wtmpx+y} | ||||
then : | ||||
printf %s "(cached) " >&6 | ||||
else $as_nop | ||||
if test "$cross_compiling" != yes; then | ||||
for file in "/var/log/wtmpx" "/var/adm/wtmpx"; do | ||||
if test -f "$file"; then | ||||
pt_cv_path_wtmpx=$file | ||||
break | ||||
fi | ||||
done | ||||
fi | ||||
fi | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5 | ||||
printf "%s\n" "$pt_cv_path_wtmpx" >&6; } | ||||
if test x$pt_cv_path_wtmpx != x; then | ||||
printf "%s\n" "#define PT_WTMPX_FILE \"$pt_cv_path_wtmpx\"" >>confdefs.h | ||||
elif test "$cross_compiling" = yes; then | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMPX_FILE in | ||||
config.h manually" >&5 | ||||
printf "%s\n" "$as_me: WARNING: Define PT_WTMPX_FILE in config.h manually" >&2;} | ||||
fi | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a fallback location o | ||||
f lastlog" >&5 | ||||
printf %s "checking for a fallback location of lastlog... " >&6; } | ||||
if test ${pt_cv_path_lastlog+y} | ||||
then : | ||||
printf %s "(cached) " >&6 | ||||
else $as_nop | ||||
if test "$cross_compiling" != yes; then | ||||
for file in "/var/log/lastlog" "/var/adm/lastlog"; do | ||||
if test -f "$file"; then | ||||
pt_cv_path_lastlog=$file | ||||
break | ||||
fi | ||||
done | ||||
fi | ||||
fi | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5 | ||||
printf "%s\n" "$pt_cv_path_lastlog" >&6; } | ||||
if test x$pt_cv_path_lastlog != x; then | ||||
printf "%s\n" "#define PT_LASTLOG_FILE \"$pt_cv_path_lastlog\"" >>confdefs.h | ||||
elif test "$cross_compiling" = yes; then | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOG_FILE | ||||
in config.h manually" >&5 | ||||
printf "%s\n" "$as_me: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&2 | ||||
;} | ||||
fi | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a fallback location o | ||||
f lastlogx" >&5 | ||||
printf %s "checking for a fallback location of lastlogx... " >&6; } | ||||
if test ${pt_cv_path_lastlogx+y} | ||||
then : | ||||
printf %s "(cached) " >&6 | ||||
else $as_nop | ||||
if test "$cross_compiling" != yes; then | ||||
for file in "/var/log/lastlogx" "/var/adm/lastlogx"; do | ||||
if test -f "$file"; then | ||||
pt_cv_path_lastlogx=$file | ||||
break | ||||
fi | ||||
done | ||||
fi | ||||
fi | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5 | ||||
printf "%s\n" "$pt_cv_path_lastlogx" >&6; } | ||||
if test x$pt_cv_path_lastlogx != x; then | ||||
printf "%s\n" "#define PT_LASTLOGX_FILE \"$pt_cv_path_lastlogx\"" >>confdefs.h | ||||
elif test "$cross_compiling" = yes; then | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOGX_FILE | ||||
in config.h manually" >&5 | ||||
printf "%s\n" "$as_me: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >& | ||||
2;} | ||||
fi | ||||
save_LIBS=$LIBS | save_LIBS=$LIBS | |||
save_CXXFLAGS=$CXXFLAGS | save_CXXFLAGS=$CXXFLAGS | |||
CXXFLAGS="$CXXFLAGS $X_CFLAGS" | CXXFLAGS="$CXXFLAGS $X_CFLAGS" | |||
LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | |||
if test x$support_xim = xyes; then | if test x$support_xim = xyes; then | |||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >& 5 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >& 5 | |||
printf %s "checking for working Xlocale... " >&6; } | printf %s "checking for working Xlocale... " >&6; } | |||
if test ${rxvt_cv_func_xlocale+y} | if test ${rxvt_cv_func_xlocale+y} | |||
then : | then : | |||
printf %s "(cached) " >&6 | printf %s "(cached) " >&6 | |||
skipping to change at line 7758 | skipping to change at line 7306 | |||
conftest$ac_exeext conftest.$ac_ext | conftest$ac_exeext conftest.$ac_ext | |||
fi | fi | |||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_nl_langinfo" >&5 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_nl_langinfo" >&5 | |||
printf "%s\n" "$rxvt_cv_func_nl_langinfo" >&6; } | printf "%s\n" "$rxvt_cv_func_nl_langinfo" >&6; } | |||
if test x$rxvt_cv_func_nl_langinfo = xyes; then | if test x$rxvt_cv_func_nl_langinfo = xyes; then | |||
printf "%s\n" "#define HAVE_NL_LANGINFO 1" >>confdefs.h | printf "%s\n" "#define HAVE_NL_LANGINFO 1" >>confdefs.h | |||
fi | fi | |||
case $host in | ||||
*-*-solaris*) | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
#if __STDC_VERSION__ >= 199901L | ||||
error | ||||
#endif | ||||
int | ||||
main (void) | ||||
{ | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_cxx_try_compile "$LINENO" | ||||
then : | ||||
printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h | ||||
else $as_nop | ||||
printf "%s\n" "#define _XOPEN_SOURCE 600" >>confdefs.h | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library contain | ||||
ing sendmsg" >&5 | ||||
printf %s "checking for library containing sendmsg... " >&6; } | ||||
if test ${ac_cv_search_sendmsg+y} | ||||
then : | ||||
printf %s "(cached) " >&6 | ||||
else $as_nop | ||||
ac_func_search_save_LIBS=$LIBS | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
namespace conftest { | ||||
extern "C" int sendmsg (); | ||||
} | ||||
int | ||||
main (void) | ||||
{ | ||||
return conftest::sendmsg (); | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
for ac_lib in '' socket | ||||
do | ||||
if test -z "$ac_lib"; then | ||||
ac_res="none required" | ||||
else | ||||
ac_res=-l$ac_lib | ||||
LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||||
fi | ||||
if ac_fn_cxx_try_link "$LINENO" | ||||
then : | ||||
ac_cv_search_sendmsg=$ac_res | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext conftest.beam \ | ||||
conftest$ac_exeext | ||||
if test ${ac_cv_search_sendmsg+y} | ||||
then : | ||||
break | ||||
fi | ||||
done | ||||
if test ${ac_cv_search_sendmsg+y} | ||||
then : | ||||
else $as_nop | ||||
ac_cv_search_sendmsg=no | ||||
fi | ||||
rm conftest.$ac_ext | ||||
LIBS=$ac_func_search_save_LIBS | ||||
fi | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendmsg" >&5 | ||||
printf "%s\n" "$ac_cv_search_sendmsg" >&6; } | ||||
ac_res=$ac_cv_search_sendmsg | ||||
if test "$ac_res" != no | ||||
then : | ||||
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||||
fi | ||||
;; | ||||
esac | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unix-compliant fileha | ||||
ndle passing ability" >&5 | ||||
printf %s "checking for unix-compliant filehandle passing ability... " >&6; } | ||||
if test ${pt_cv_can_pass_fds+y} | ||||
then : | ||||
printf %s "(cached) " >&6 | ||||
else $as_nop | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
#include <stddef.h> // broken bsds (is that redundant?) need this | ||||
#include <sys/types.h> | ||||
#include <sys/socket.h> | ||||
#include <sys/uio.h> | ||||
int | ||||
main (void) | ||||
{ | ||||
{ | ||||
msghdr msg; | ||||
iovec iov; | ||||
char buf [100]; | ||||
char data = 0; | ||||
iov.iov_base = &data; | ||||
iov.iov_len = 1; | ||||
msg.msg_iov = &iov; | ||||
msg.msg_iovlen = 1; | ||||
msg.msg_control = buf; | ||||
msg.msg_controllen = sizeof buf; | ||||
cmsghdr *cmsg = CMSG_FIRSTHDR (&msg); | ||||
cmsg->cmsg_level = SOL_SOCKET; | ||||
cmsg->cmsg_type = SCM_RIGHTS; | ||||
cmsg->cmsg_len = 100; | ||||
*(int *)CMSG_DATA (cmsg) = 5; | ||||
return sendmsg (3, &msg, 0); | ||||
} | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_cxx_try_link "$LINENO" | ||||
then : | ||||
pt_cv_can_pass_fds=yes | ||||
else $as_nop | ||||
pt_cv_can_pass_fds=no | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext conftest.beam \ | ||||
conftest$ac_exeext conftest.$ac_ext | ||||
fi | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pt_cv_can_pass_fds" >&5 | ||||
printf "%s\n" "$pt_cv_can_pass_fds" >&6; } | ||||
if test x$pt_cv_can_pass_fds = xyes; then | ||||
printf "%s\n" "#define HAVE_UNIX_FDPASS 1" >>confdefs.h | ||||
else | ||||
as_fn_error $? "libptytty requires unix-compliant filehandle passing ability" | ||||
"$LINENO" 5 | ||||
fi | ||||
ac_fn_cxx_check_header_compile "$LINENO" "pty.h" "ac_cv_header_pty_h" "$ac_inclu | ||||
des_default" | ||||
if test "x$ac_cv_header_pty_h" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_PTY_H 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_header_compile "$LINENO" "util.h" "ac_cv_header_util_h" "$ac_inc | ||||
ludes_default" | ||||
if test "x$ac_cv_header_util_h" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_UTIL_H 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_header_compile "$LINENO" "libutil.h" "ac_cv_header_libutil_h" "$ | ||||
ac_includes_default" | ||||
if test "x$ac_cv_header_libutil_h" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_LIBUTIL_H 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h | ||||
" "$ac_includes_default" | ||||
if test "x$ac_cv_header_sys_ioctl_h" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_header_compile "$LINENO" "stropts.h" "ac_cv_header_stropts_h" "$ | ||||
ac_includes_default" | ||||
if test "x$ac_cv_header_stropts_h" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_STROPTS_H 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_func "$LINENO" "revoke" "ac_cv_func_revoke" | ||||
if test "x$ac_cv_func_revoke" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_REVOKE 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_func "$LINENO" "_getpty" "ac_cv_func__getpty" | ||||
if test "x$ac_cv_func__getpty" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE__GETPTY 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_func "$LINENO" "getpt" "ac_cv_func_getpt" | ||||
if test "x$ac_cv_func_getpt" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_GETPT 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_func "$LINENO" "posix_openpt" "ac_cv_func_posix_openpt" | ||||
if test "x$ac_cv_func_posix_openpt" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_POSIX_OPENPT 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_func "$LINENO" "isastream" "ac_cv_func_isastream" | ||||
if test "x$ac_cv_func_isastream" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_ISASTREAM 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_func "$LINENO" "setuid" "ac_cv_func_setuid" | ||||
if test "x$ac_cv_func_setuid" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_SETUID 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_func "$LINENO" "seteuid" "ac_cv_func_seteuid" | ||||
if test "x$ac_cv_func_seteuid" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_SETEUID 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_func "$LINENO" "setreuid" "ac_cv_func_setreuid" | ||||
if test "x$ac_cv_func_setreuid" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_SETREUID 1" >>confdefs.h | ||||
fi | ||||
ac_fn_cxx_check_func "$LINENO" "setresuid" "ac_cv_func_setresuid" | ||||
if test "x$ac_cv_func_setresuid" = xyes | ||||
then : | ||||
printf "%s\n" "#define HAVE_SETRESUID 1" >>confdefs.h | ||||
fi | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5 | ||||
printf %s "checking for UNIX98 ptys... " >&6; } | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
#include <stdlib.h> | ||||
int | ||||
main (void) | ||||
{ | ||||
grantpt(0);unlockpt(0);ptsname(0); | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_cxx_try_link "$LINENO" | ||||
then : | ||||
unix98_pty=yes | ||||
printf "%s\n" "#define UNIX98_PTY 1" >>confdefs.h | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||||
printf "%s\n" "yes" >&6; } | ||||
else $as_nop | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||||
printf "%s\n" "no" >&6; } | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext conftest.beam \ | ||||
conftest$ac_exeext conftest.$ac_ext | ||||
if test -z "$unix98_pty"; then | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing | ||||
openpty" >&5 | ||||
printf %s "checking for library containing openpty... " >&6; } | ||||
if test ${ac_cv_search_openpty+y} | ||||
then : | ||||
printf %s "(cached) " >&6 | ||||
else $as_nop | ||||
ac_func_search_save_LIBS=$LIBS | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
namespace conftest { | ||||
extern "C" int openpty (); | ||||
} | ||||
int | ||||
main (void) | ||||
{ | ||||
return conftest::openpty (); | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
for ac_lib in '' util | ||||
do | ||||
if test -z "$ac_lib"; then | ||||
ac_res="none required" | ||||
else | ||||
ac_res=-l$ac_lib | ||||
LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||||
fi | ||||
if ac_fn_cxx_try_link "$LINENO" | ||||
then : | ||||
ac_cv_search_openpty=$ac_res | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext conftest.beam \ | ||||
conftest$ac_exeext | ||||
if test ${ac_cv_search_openpty+y} | ||||
then : | ||||
break | ||||
fi | ||||
done | ||||
if test ${ac_cv_search_openpty+y} | ||||
then : | ||||
else $as_nop | ||||
ac_cv_search_openpty=no | ||||
fi | ||||
rm conftest.$ac_ext | ||||
LIBS=$ac_func_search_save_LIBS | ||||
fi | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_openpty" >&5 | ||||
printf "%s\n" "$ac_cv_search_openpty" >&6; } | ||||
ac_res=$ac_cv_search_openpty | ||||
if test "$ac_res" != no | ||||
then : | ||||
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||||
printf "%s\n" "#define HAVE_OPENPTY 1" >>confdefs.h | ||||
fi | ||||
fi | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tty group" >&5 | ||||
printf %s "checking for tty group... " >&6; } | ||||
if test ${pt_cv_tty_group+y} | ||||
then : | ||||
printf %s "(cached) " >&6 | ||||
else $as_nop | ||||
if test "$cross_compiling" = yes | ||||
then : | ||||
pt_cv_tty_group=no | ||||
else $as_nop | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
#include <sys/types.h> | ||||
#include <sys/stat.h> | ||||
#include <unistd.h> | ||||
#include <grp.h> | ||||
int main() | ||||
{ | ||||
struct stat st; | ||||
struct group *gr; | ||||
char *tty; | ||||
gr = getgrnam("tty"); | ||||
tty = ttyname(0); | ||||
if (gr != 0 | ||||
&& tty != 0 | ||||
&& (stat(tty, &st)) == 0 | ||||
&& st.st_gid == gr->gr_gid) | ||||
return 0; | ||||
else | ||||
return 1; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_cxx_try_run "$LINENO" | ||||
then : | ||||
pt_cv_tty_group=yes | ||||
else $as_nop | ||||
pt_cv_tty_group=no | ||||
fi | ||||
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | ||||
conftest.$ac_objext conftest.beam conftest.$ac_ext | ||||
fi | ||||
fi | ||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pt_cv_tty_group" >&5 | ||||
printf "%s\n" "$pt_cv_tty_group" >&6; } | ||||
if test x$pt_cv_tty_group = xyes; then | ||||
printf "%s\n" "#define TTY_GID_SUPPORT 1" >>confdefs.h | ||||
fi | ||||
support_image=no | support_image=no | |||
if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then | if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then | |||
support_image=yes | support_image=yes | |||
fi | fi | |||
if test x$support_xft = xyes || test x$support_image = xyes; then | if test x$support_xft = xyes || test x$support_image = xyes; then | |||
rxvt_have_xrender=no | rxvt_have_xrender=no | |||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xrender" >&5 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xrender" >&5 | |||
printf %s "checking for xrender... " >&6; } | printf %s "checking for xrender... " >&6; } | |||
if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then | |||
End of changes. 16 change blocks. | ||||
895 lines changed or deleted | 29 lines changed or added |