⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure.ac

📁 multi-tabed terminal based on rxvt
💻 AC
📖 第 1 页 / 共 3 页
字号:
dnl# All portions of code are copyright by their respective author/s.dnl#dnl#  Copyright (c) 1998-2001   Geoff Wing <gcw@pobox.com>dnl#  Copyright (c) 2003-2004   Marc Lehmann <pcg@goof.com>dnl#  Copyright (c) 2004        Hiramatsu Yoshifumidnl#  Copyright (c) 2004-2006   Jingmin Zhou <jimmyzhou@users.sourceforge.net>dnl#  Copyright (c) 2006	Gautam Iyer <gi1242@users.sourceforge.net>dnl#	Copyright (c) 2007	Jehan Hysseo <hysseo@users.sourceforge.net>dnl#dnl# This program is free software; you can redistribute it and/ordnl# modify it under the terms of the GNU General Public License asdnl# published by the Free Software Foundation; either version 2 ofdnl# the License, or (at your option) any later version.dnl# dnl# This program is distributed in the hope that it will be useful,dnl# but WITHOUT ANY WARRANTY; without even the implied warranty ofdnl# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See thednl# GNU General Public License for more details.dnl# dnl# You should have received a copy of the GNU General Public Licensednl# along with this program; if not, write to the Free Softwarednl# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.dnl#dnl 2006-02-20 gi1242: If the version contains a letter, then it sometimesdnl produces spurious results when programs use an escape sequence to query thednl terminal version.AC_INIT(mrxvt, 0.5.4, [jimmyzhou@users.sourceforge.net])AM_INIT_AUTOMAKE(mrxvt, 0.5.4)AM_CONFIG_HEADER(config.h)AC_CONFIG_SRCDIR([src/main.c])AM_MAINTAINER_MODEdnl Check OSAC_CANONICAL_HOSTlocal_os_type="unknown"case "$host" in*-cygwin*)    AC_DEFINE(OS_CYGWIN, [], [set OS to cygwin])    local_os_type="cygwin"    ;;*-linux*)    AC_DEFINE(OS_LINUX, [], [set OS to linux])	dnl hack for some 64-bit systems	AC_DEFINE(_GNU_SOURCE, [], [set GNU source flag for linux])    local_os_type="linux"    ;;*-irix*)    AC_DEFINE(OS_IRIX, [], [set OS to irix])    local_os_type="irix"    ;;*-sunos*)    AC_DEFINE(OS_SUNOS, [], [set OS to sunos])    local_os_type="sunos"    ;;*-solaris*)    AC_DEFINE(OS_SOLARIS, [], [set OS to solaris])    local_os_type="solaris"    ;;*-aix*)    AC_DEFINE(OS_AIX, [], [set OS to aix])    local_os_type="aix"    ;;*-hpux*)    AC_DEFINE(OS_HPUX, [], [set OS to hp-ux])    local_os_type="hpux"    ;;*-freebsd*)    AC_DEFINE(OS_BSD, [], [set OS to bsd])    AC_DEFINE(OS_FREEBSD, [], [set OS to freebsd])    local_os_type="freebsd"    dnl our hack for freebsd system    CFLAGS="$CFLAGS -I/usr/local/include"    LIBS="$LIBS -L/usr/local/lib"    ;;*-netbsd*)    AC_DEFINE(OS_BSD, [], [set OS to bsd])    AC_DEFINE(OS_NETBSD, [], [set OS to netbsd])    local_os_type="netbsd"    dnl our hack for netbsd system    CFLAGS="$CFLAGS -I/usr/local/include"    LIBS="$LIBS -L/usr/local/lib"    ;;*-openbsd*)    AC_DEFINE(OS_BSD, [], [set OS to bsd])    AC_DEFINE(OS_OPENBSD, [], [set OS to openbsd])    local_os_type="openbsd"	dnl get openbsd release number, remove `.' from release number	OBSD_REL=`/usr/bin/uname -r | sed 's/\.//g'`	AC_DEFINE_UNQUOTED(OS_OPENBSD_REL, ${OBSD_REL}, [set openbsd release number])    dnl our hack for openbsd system    CFLAGS="$CFLAGS -I/usr/local/include"    LIBS="$LIBS -L/usr/local/lib"    ;;*-osf*)    AC_DEFINE(OS_OSF, [], [set OS to osf])    local_os_type="osf"    ;;*-darwin*)    AC_DEFINE(OS_BSD, [], [set OS to bsd])    AC_DEFINE(OS_DARWIN, [], [set OS to darwin])    local_os_type="darwin"    ;;*-sco*)    AC_DEFINE(OS_SCO, [], [set OS to sco])    AC_DEFINE(OS_SVR4, [], [set OS to svr4])    local_os_type="sco"    AC_MSG_ERROR([Mrxvt does not support f*cking SCO's products!])esacdnl Configuration optionssupport_everything=nosupport_minimal=nosupport_debug=nosupport_ourstrings=nosupport_frills=yessupport_keepscrolling=yessupport_selectionscrolling=yessupport_mousewheel=yessupport_mouseslipwheel=nosupport_scroll_rxvt=yessupport_scroll_next=yessupport_scroll_xterm=yessupport_scroll_plain=yessupport_scroll_sgi=yessupport_half_shadow=yessupport_utmp=yessupport_wtmp=yessupport_lastlog=yessupport_sessionmgr=yessupport_utempter=nosupport_linespace=yessupport_24bits=nosupport_256colors=yessupport_cursor_blink=yessupport_pointer_blank=yessupport_text_shadow=nosupport_smart_resize=nosupport_menubar=nosupport_background_image=yessupport_transparency=yesdnl: support_fading=yessupport_tinting=yessupport_xrender=yessupport_xpm=yessupport_jpeg=yessupport_png=yessupport_xft=nosupport_xim=nosupport_greek=nosupport_cjk=nosupport_ttygid=yessupport_backspace_key=yessupport_delete_key=yesuse_fifo=yessupport_resources=yessupport_xgetdefault=nosupport_swapscreen=yessupport_old_selection=noAC_ARG_ENABLE(    everything,    AC_HELP_STRING([--enable-everything],[enable all options [[no]]]),    [support_everything=$enableval],    [support_everything=no])if test "x$support_everything" = "xyes"; then    support_debug=yes    support_ourstrings=no    support_frills=yes    support_keepscrolling=yes    support_selectionscrolling=yes    support_mousewheel=yes    support_mouseslipwheel=yes    support_scroll_rxvt=yes    support_scroll_next=yes    support_scroll_sgi=yes    support_scroll_xterm=yes    support_scroll_plain=yes    support_half_shadow=yes    support_utmp=yes    support_wtmp=yes    support_lastlog=yes    support_sessionmgr=yes    support_utempter=yes    support_linespace=yes    support_24bits=yes    support_256colors=yes    support_cursor_blink=yes    support_pointer_blank=yes    support_text_shadow=yes    support_smart_resize=yes    support_menubar=yes    support_background_image=yes    support_transparency=yes    dnl: support_fading=yes    support_tinting=yes    support_xrender=yes    support_xpm=yes    support_jpeg=yes    support_png=yes    support_xft=yes    support_xim=yes    support_greek=yes    support_cjk=yes    support_ttygid=yes    support_backspace_key=yes    support_delete_key=yes    use_fifo=yes    support_resources=yes    support_xgetdefault=no    support_swapscreen=yes    support_old_selection=nofiAC_ARG_ENABLE(    minimal,    AC_HELP_STRING([--enable-minimal],[enable minimal options [[no]]]),    [support_minimal=$enableval],    [support_minimal=no])if test "x$support_minimal" = "xyes"; then    support_debug=no    support_ourstrings=no    support_frills=no    support_keepscrolling=no    support_selectionscrolling=no    support_mousewheel=no    support_mouseslipwheel=no    support_scroll_rxvt=no    support_scroll_next=no    support_scroll_sgi=no    support_scroll_xterm=yes    support_scroll_plain=no    support_half_shadow=no    support_utmp=no    support_wtmp=no    support_lastlog=no    support_sessionmgr=no    support_utempter=no    support_linespace=no    support_24bits=no    support_256colors=no    support_cursor_blink=no    support_pointer_blank=no    support_text_shadow=no    support_smart_resize=no    support_menubar=no    support_background_image=no    support_transparency=no    dnl: support_fading=no    support_tinting=no    support_xrender=no    support_xpm=no    support_jpeg=no    support_png=no    support_xft=no    support_xim=no    support_greek=no    support_cjk=no    support_ttygid=yes    support_backspace_key=yes    support_delete_key=yes    use_fifo=no    support_resources=yes    support_xgetdefault=no    support_swapscreen=yes    support_old_selection=nofiAC_ARG_ENABLE(    debug,    AC_HELP_STRING([--enable-debug],[enable debug mode - for developper [[no]]]),    [support_debug=$enableval])if test "x$support_debug" = "xyes"; then    AC_DEFINE(DEBUG, [], [set DEBUG mode])    CFLAGS="$CFLAGS -g"else    AC_DEFINE(NDEBUG, [], [unset DEBUG mode])fiAC_ARG_ENABLE(    ourstrings,    AC_HELP_STRING([--enable-ourstrings],[enable our strings functions [[no]]]),    [support_ourstrings=$enableval])if test "x$support_ourstrings" = "xyes"; then    AC_DEFINE(OUR_STRINGS, [], [use our own string functions])fiAC_ARG_ENABLE(    frills,    AC_HELP_STRING([--enable-frills],[enable internal borders / smart resizing [[yes]]]),    [support_frills=$enableval])if test "x$support_frills" != "xyes"; then    AC_DEFINE(NO_FRILLS, [], [enable internal borders / smart resizing])fiAC_ARG_ENABLE(    keepscrolling,    AC_HELP_STRING([--enable-keepscrolling],[enable continual scrolling on scrollbar arrow press [[yes]]]),    [support_keepscrolling=$enableval])if test "x$support_keepscrolling" != "xyes"; then    AC_DEFINE(NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING, [], [enable continual scrolling on scrollbar arrow press])fiAC_ARG_ENABLE(    selectionscrolling,    AC_HELP_STRING([--enable-selectionscrolling],[enable continual scrolling on selection [[yes]]]),    [support_selectionscrolling=$enableval])if test "x$support_selectionscrolling" = "xyes"; then    AC_DEFINE(SELECTION_SCROLLING, [], [enable continual scrolling on selection])fiAC_ARG_ENABLE(    mousewheel,    AC_HELP_STRING([--enable-mousewheel],[enable scrolling via mouse wheel or buttons 4 & 5 [[yes]]]),    [support_mousewheel=$enableval])if test "x$support_mousewheel" = "xyes"; then    AC_DEFINE(MOUSE_WHEEL, [], [enable scrolling via mouse wheel])fiAC_ARG_ENABLE(    mouseslipwheel,    AC_HELP_STRING([--enable-mouseslipwheel],[enable slip scrolling via mouse wheel or buttons 4 & 5 [[no]]]),    [support_mouseslipwheel=$enableval])if test "x$support_mousewheel x$support_mouseslipwheel" = "xyes xyes"; then    AC_DEFINE(MOUSE_SLIP_WHEELING, [], [enable slip scrolling via mouse wheel])fiAC_ARG_ENABLE(    rxvt-scroll,    AC_HELP_STRING([--enable-rxvt-scroll],[enable rxvt style scrollbar [[yes]]]),    [support_scroll_rxvt=$enableval])if test "x$support_scroll_rxvt" = "xyes"; then    AC_DEFINE(RXVT_SCROLLBAR, [], [set rxvt style scroll bar])    AC_DEFINE(HAVE_SCROLLBARS, [], [set scroll bar support])    support_scroll="yes"fiAC_ARG_ENABLE(    next-scroll,    AC_HELP_STRING([--enable-next-scroll],[enable NeXT style scrollbar [[yes]]]),    [support_scroll_next=$enableval])if test "x$support_scroll_next" = "xyes"; then    AC_DEFINE(NEXT_SCROLLBAR, [], [set next style scroll bar])    AC_DEFINE(HAVE_SCROLLBARS, [], [set scroll bar support])    support_scroll="yes"fiAC_ARG_ENABLE(    xterm-scroll,    AC_HELP_STRING([--enable-xterm-scroll],[enable Xterm style scrollbar [[yes]]]),    [support_scroll_xterm=$enableval])if test "x$support_scroll_xterm" = "xyes"; then    AC_DEFINE(XTERM_SCROLLBAR, [], [set xterm style scroll bar])    AC_DEFINE(HAVE_SCROLLBARS, [], [set scroll bar support])    support_scroll="yes"fiAC_ARG_ENABLE(    plain-scroll,    AC_HELP_STRING([--enable-plain-scroll],[enable plain style scrollbar [[yes]]]),    [support_scroll_plain=$enableval])if test "x$support_scroll_plain" = "xyes"; then    AC_DEFINE(PLAIN_SCROLLBAR, [], [set plain style scroll bar])    AC_DEFINE(HAVE_SCROLLBARS, [], [set scroll bar support])    support_scroll="yes"fiAC_ARG_ENABLE(    sgi-scroll,    AC_HELP_STRING([--enable-sgi-scroll],[enable SGI IRIX style scrollbar [[yes]]]),    [support_scroll_sgi=$enableval])if test "x$support_scroll_sgi" = "xyes"; then    AC_DEFINE(SGI_SCROLLBAR, [], [set sgi style scroll bar])    AC_DEFINE(HAVE_SCROLLBARS, [], [set scroll bar support])    support_scroll="yes"fiAM_CONDITIONAL(RXVT_SCROLLBAR, test "x$support_scroll_rxvt" = "xyes")AM_CONDITIONAL(NEXT_SCROLLBAR, test "x$support_scroll_next" = "xyes")AM_CONDITIONAL(XTERM_SCROLLBAR, test "x$support_scroll_xterm" = "xyes")AM_CONDITIONAL(PLAIN_SCROLLBAR, test "x$support_scroll_plain" = "xyes")AM_CONDITIONAL(SGI_SCROLLBAR, test "x$support_scroll_sgi" = "xyes")AC_ARG_ENABLE(    half-shadow,    AC_HELP_STRING([--enable-half-shadow],[enable half width/height shadow on rxvt scrollbar [[yes]]]),    [support_half_shadow=$enableval])if test "x$support_scroll_rxvt x$support_half_shadow" = "xyes xyes"; then    AC_DEFINE(HALFSHADOW, [], [set half shadow rxvt scrollbar support])fiAC_ARG_ENABLE(    utmp,    AC_HELP_STRING([--enable-utmp],[enable utmp/utmpx support [[yes]]]),    [support_utmp=$enableval])if test "x$support_utmp" = "xyes"; then    AC_DEFINE(UTMP_SUPPORT, [], [set utmp support])fiAC_ARG_ENABLE(    wtmp,    AC_HELP_STRING([--enable-wtmp],[enable wtmp support (need utmp support) [[yes]]]),    [support_wtmp=$enableval])dnl depends on utmp supportif test "x$support_utmp x$support_wtmp" = "xyes xyes"; then    AC_DEFINE(WTMP_SUPPORT, [], [set wtmp support])fiAC_ARG_ENABLE(    lastlog,    AC_HELP_STRING([--enable-lastlog],[enable lastlog support [[yes]]]),    [support_lastlog=$enableval])dnl depends on utmp supportif test "x$support_utmp x$support_lastlog" = "xyes xyes"; then    AC_DEFINE(LASTLOG_SUPPORT, [], [set lastlog support])fiAM_CONDITIONAL(UTMP_SUPPORT, test "x$support_utmp" = "xyes")AC_ARG_ENABLE(    sessionmgr,    AC_HELP_STRING([--enable-sessionmgr],[enable X session manager [[yes]]]),    [support_sessionmgr=$enableval],)AC_ARG_ENABLE(    utempter,    AC_HELP_STRING([--enable-utempter],[enable utempter library for utmp/wtmp/lastlog [[no]]]),    [support_utempter=$enableval],)AC_ARG_ENABLE(    linespace,    AC_HELP_STRING([--enable-linespace],[enable linespace support [[yes]]]),    [support_linespace=$enableval])if test "x$support_linespace" != "xyes"; then    AC_DEFINE(NO_LINESPACE, [], [unset linespace support])fiAC_ARG_ENABLE(    24bits,    AC_HELP_STRING([--enable-24bits],[prefer 24 bits color [[no]]]),    [support_24bits=$enableval])if test "x$support_24bits" = "xyes"; then    AC_DEFINE(PREFER_24BIT, [], [set 24 bits color support])fiAC_ARG_ENABLE(    256colors,    AC_HELP_STRING([--enable-256colors],[use 256 color [[yes]]]),    [support_256colors=$enableval])if test "x$support_256colors" = "xyes"; then    AC_DEFINE(TTY_256COLOR, [], [set 256 color support])fiAC_ARG_ENABLE(    cursor-blink,    AC_HELP_STRING([--enable-cursor-blink],[enable cursor blinking [[yes]]]),    [support_cursor_blink=$enableval])if test "x$support_cursor_blink" = "xyes"; then    AC_DEFINE(CURSOR_BLINK, [], [set cursor blinking support])fiAC_ARG_ENABLE(    pointer-blank,    AC_HELP_STRING([--enable-pointer-blank],[enable blank pointer [[yes]]]),    [support_pointer_blank=$enableval])

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -