… | |
… | |
5 | AC_INIT |
5 | AC_INIT |
6 | AC_PREREQ(2.71) |
6 | AC_PREREQ(2.71) |
7 | AC_CONFIG_SRCDIR([src/feature.h]) |
7 | AC_CONFIG_SRCDIR([src/feature.h]) |
8 | AC_CONFIG_HEADERS(config.h:config.h.in) |
8 | AC_CONFIG_HEADERS(config.h:config.h.in) |
9 | |
9 | |
10 | AC_CANONICAL_HOST |
|
|
11 | |
|
|
12 | dnl RXVT version |
10 | dnl RXVT version |
13 | changequote(, )dnl |
|
|
14 | VERSION=`sed -n -e 's/^.* VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
11 | VERSION=`sed -n -e 's/^.* VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
15 | DATE=`sed -n -e 's/^.* DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
12 | DATE=`sed -n -e 's/^.* DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
16 | changequote([, ])dnl |
|
|
17 | AC_SUBST(VERSION)dnl |
13 | AC_SUBST(VERSION)dnl |
18 | AC_SUBST(DATE)dnl |
14 | AC_SUBST(DATE)dnl |
19 | |
15 | |
20 | echo "" |
16 | echo "" |
21 | echo "configuring for rxvt $VERSION" |
17 | echo "configuring for rxvt $VERSION" |
… | |
… | |
113 | support_frills=no |
109 | support_frills=no |
114 | support_inheritpixmap=no |
110 | support_inheritpixmap=no |
115 | support_fading=no |
111 | support_fading=no |
116 | support_keepscrolling=no |
112 | support_keepscrolling=no |
117 | support_selectionscrolling=no |
113 | support_selectionscrolling=no |
118 | support_lastlog=no |
|
|
119 | support_mousewheel=no |
114 | support_mousewheel=no |
120 | support_mouseslipwheel=no |
115 | support_mouseslipwheel=no |
121 | support_text_blink=no |
116 | support_text_blink=no |
122 | support_pointer_blank=no |
117 | support_pointer_blank=no |
123 | support_scroll_rxvt=no |
118 | support_scroll_rxvt=no |
124 | support_scroll_next=no |
119 | support_scroll_next=no |
125 | support_scroll_xterm=no |
120 | support_scroll_xterm=no |
126 | support_utmp=no |
|
|
127 | support_wtmp=no |
|
|
128 | support_xim=no |
121 | support_xim=no |
129 | support_pixbuf=no |
122 | support_pixbuf=no |
130 | support_startup_notification=no |
123 | support_startup_notification=no |
131 | support_xft=no |
124 | support_xft=no |
132 | support_unicode3=no |
125 | support_unicode3=no |
… | |
… | |
141 | support_frills=yes |
134 | support_frills=yes |
142 | support_inheritpixmap=yes |
135 | support_inheritpixmap=yes |
143 | support_fading=yes |
136 | support_fading=yes |
144 | support_keepscrolling=yes |
137 | support_keepscrolling=yes |
145 | support_selectionscrolling=yes |
138 | support_selectionscrolling=yes |
146 | support_lastlog=yes |
|
|
147 | support_mousewheel=yes |
139 | support_mousewheel=yes |
148 | support_mouseslipwheel=yes |
140 | support_mouseslipwheel=yes |
149 | support_text_blink=yes |
141 | support_text_blink=yes |
150 | support_pointer_blank=yes |
142 | support_pointer_blank=yes |
151 | support_scroll_rxvt=yes |
143 | support_scroll_rxvt=yes |
152 | support_scroll_next=yes |
144 | support_scroll_next=yes |
153 | support_scroll_xterm=yes |
145 | support_scroll_xterm=yes |
154 | support_utmp=yes |
|
|
155 | support_wtmp=yes |
|
|
156 | support_xim=yes |
146 | support_xim=yes |
157 | support_pixbuf=yes |
147 | support_pixbuf=yes |
158 | support_startup_notification=yes |
148 | support_startup_notification=yes |
159 | support_xft=yes |
149 | support_xft=yes |
160 | support_unicode3=yes |
150 | support_unicode3=yes |
… | |
… | |
434 | |
424 | |
435 | AC_PATH_XTRA |
425 | AC_PATH_XTRA |
436 | |
426 | |
437 | AC_PATH_TOOL(PKG_CONFIG, pkg-config, no) |
427 | AC_PATH_TOOL(PKG_CONFIG, pkg-config, no) |
438 | |
428 | |
|
|
429 | RXVT_CHECK_MODULES([PTYTTY], [libptytty], [:], [ |
|
|
430 | AC_MSG_ERROR([unable to find libptytty]) |
|
|
431 | ]) |
|
|
432 | |
|
|
433 | AC_SUBST(PTYTTY_CFLAGS) |
|
|
434 | AC_SUBST(PTYTTY_LIBS) |
|
|
435 | |
439 | image_lib=none |
436 | image_lib=none |
440 | |
437 | |
441 | PIXBUF_CFLAGS= |
438 | PIXBUF_CFLAGS= |
442 | PIXBUF_LIBS= |
439 | PIXBUF_LIBS= |
443 | |
440 | |
… | |
… | |
512 | |
509 | |
513 | dnl# -------------------------------------------------------------------------- |
510 | dnl# -------------------------------------------------------------------------- |
514 | dnl# CHECKING FOR LIBRARY FUNCTIONS |
511 | dnl# CHECKING FOR LIBRARY FUNCTIONS |
515 | dnl# -------------------------------------------------------------------------- |
512 | dnl# -------------------------------------------------------------------------- |
516 | AC_CHECK_FUNCS(unsetenv) |
513 | AC_CHECK_FUNCS(unsetenv) |
517 | |
|
|
518 | UTMP_CHECK |
|
|
519 | |
514 | |
520 | dnl# -------------------------------------------------------------------------- |
515 | dnl# -------------------------------------------------------------------------- |
521 | |
516 | |
522 | dnl# -------------------------------------------------------------------------- |
517 | dnl# -------------------------------------------------------------------------- |
523 | dnl# -------------------------------------------------------------------------- |
518 | dnl# -------------------------------------------------------------------------- |
… | |
… | |
573 | [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <langinfo.h>]], [[nl_langinfo(CODESET);]])],[rxvt_cv_func_nl_langinfo=yes],[rxvt_cv_func_nl_langinfo=no])]) |
568 | [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <langinfo.h>]], [[nl_langinfo(CODESET);]])],[rxvt_cv_func_nl_langinfo=yes],[rxvt_cv_func_nl_langinfo=no])]) |
574 | if test x$rxvt_cv_func_nl_langinfo = xyes; then |
569 | if test x$rxvt_cv_func_nl_langinfo = xyes; then |
575 | AC_DEFINE(HAVE_NL_LANGINFO, 1, Define if nl_langinfo(CODESET) works) |
570 | AC_DEFINE(HAVE_NL_LANGINFO, 1, Define if nl_langinfo(CODESET) works) |
576 | fi |
571 | fi |
577 | |
572 | |
578 | SCM_RIGHTS_CHECK |
|
|
579 | |
|
|
580 | PTY_CHECK |
|
|
581 | |
|
|
582 | TTY_GROUP_CHECK |
|
|
583 | |
|
|
584 | dnl# -------------------------------------------------------------------------- |
573 | dnl# -------------------------------------------------------------------------- |
585 | dnl# now add and remove other stuff |
574 | dnl# now add and remove other stuff |
586 | dnl# -------------------------------------------------------------------------- |
575 | dnl# -------------------------------------------------------------------------- |
587 | support_image=no |
576 | support_image=no |
588 | if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then |
577 | if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then |