Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
/* Define to 1 if you have the <fontconfig/fontconfig.h> header file. */
#undef HAVE_FONTCONFIG_FONTCONFIG_H

/* Define if you want to display images inside urxvt */
#undef HAVE_IMAGES

/* Define to 1 if you have the `inotify_init' function. */
#undef HAVE_INOTIFY_INIT

Expand Down
59 changes: 41 additions & 18 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,7 @@ enable_combining
enable_xft
enable_font_styles
enable_pixbuf
enable_images
enable_startup_notification
enable_transparency
enable_fading
Expand Down Expand Up @@ -1403,17 +1404,21 @@ Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-everything enable standard non-multichoice features
NOTE: this option is order dependent
--enable-everything enable standard non-multichoice features NOTE: this
option is order dependent
--enable-assert enable assertions
--enable-warnings turn on g++ warnings
--enable-256-color enable 256-color support
--enable-unicode3 use 21 instead of 16 bits to represent unicode characters
--enable-unicode3 use 21 instead of 16 bits to represent unicode
characters
--enable-combining enable composition of base and combining characters
--enable-xft enable xft support on systems that have it
--enable-font-styles enable bold and italic support
--enable-pixbuf enable integration with gdk-pixbuf for background images
--enable-startup-notification enable freedesktop startup notification support
--enable-pixbuf enable integration with gdk-pixbuf for background
images
--enable-images enable the display of images inside the terminal
--enable-startup-notification
enable freedesktop startup notification support
--enable-transparency enable transparent backgrounds
--enable-fading enable colors fading when off focus
--enable-rxvt-scroll enable rxvt style scrollbar
Expand All @@ -1425,27 +1430,34 @@ Optional Features:
--disable-delete-key disable handling of the delete key
--disable-resources disable all resource checking
--enable-8bitctrls enable 8 bit control sequences (not recommended)
--enable-fallback[=CLASS] fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
--enable-fallback[=CLASS]
fall back on CLASS resources in addition to URxvt
ones (default: Rxvt)
--disable-swapscreen disable swap screen support
--enable-iso14755 enable support for extended ISO 14755 modes
--enable-frills enable support for rarely used features
--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-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel)
--enable-slipwheeling enable slip wheel scrolling (requires
--enable-mousewheel)
--enable-smart-resize enable smart growth/shrink behaviour
--enable-text-blink enable blinking text
--enable-pointer-blank enable pointer blanking when typing or inactive

Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--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-res-name=NAME use this as default resource name (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-term=NAME set the terminal to NAME (default: rxvt)
--with-terminfo=PATH set the path to the terminfo tree to PATH
--with-codesets=CS,... compile in additional codesets
(jp,jp_ext,kr,zh,zh_ext,all)
--with-res-name=NAME set the default resource name (default: urxvt)
--with-res-class=CLASS set the resource class (default: URxvt)
--with-name=NAME set the basename for the installed binaries
(default: urxvt)
--with-term=VALUE set the value of the TERM environment variable
(default: rxvt)
--with-terminfo=VALUE set the value of the TERMINFO environment variable
--with-x use the X Window System

Some influential environment variables:
Expand Down Expand Up @@ -4355,11 +4367,11 @@ if test x$ac_prog_cxx_stdcxx = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
printf %s "checking for $CXX option to enable C++11 features... " >&6; }
if test ${ac_cv_prog_cxx_11+y}
if test ${ac_cv_prog_cxx_cxx11+y}
then :
printf %s "(cached) " >&6
else $as_nop
ac_cv_prog_cxx_11=no
ac_cv_prog_cxx_cxx11=no
ac_save_CXX=$CXX
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
Expand Down Expand Up @@ -4401,11 +4413,11 @@ if test x$ac_prog_cxx_stdcxx = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
printf %s "checking for $CXX option to enable C++98 features... " >&6; }
if test ${ac_cv_prog_cxx_98+y}
if test ${ac_cv_prog_cxx_cxx98+y}
then :
printf %s "(cached) " >&6
else $as_nop
ac_cv_prog_cxx_98=no
ac_cv_prog_cxx_cxx98=no
ac_save_CXX=$CXX
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
Expand Down Expand Up @@ -5174,6 +5186,17 @@ then :
fi


# Check whether --enable-images was given.
if test ${enable_images+y}
then :
enableval=$enable_images; if test x$enableval = xyes -o x$enableval = xno; then

printf "%s\n" "#define HAVE_IMAGES 1" >>confdefs.h

fi
fi


# Check whether --enable-startup-notification was given.
if test ${enable_startup_notification+y}
then :
Expand Down
7 changes: 7 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,13 @@ AC_ARG_ENABLE(pixbuf,
support_pixbuf=$enableval
fi])

AC_ARG_ENABLE(images,
[AS_HELP_STRING([--enable-images],
[enable the display of images inside the terminal])],
[if test x$enableval = xyes -o x$enableval = xno; then
AC_DEFINE(HAVE_IMAGES, 1, Define if you want to display images inside urxvt)
fi])

AC_ARG_ENABLE(startup-notification,
[AS_HELP_STRING([--enable-startup-notification],
[enable freedesktop startup notification support])],
Expand Down
4 changes: 4 additions & 0 deletions src/init.C
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,10 @@ rxvt_term::init_vars ()
set_option (Opt_iso14755);
set_option (Opt_iso14755_52);
set_option (Opt_buffered);

#if HAVE_IMAGES
line_images_need_expose = 0;
#endif
}

#if ENABLE_PERL
Expand Down
Loading