1 | dnl# -*- sh -*- |
1 | dnl# -*- sh -*- |
2 | dnl# |
2 | dnl# |
3 | dnl# Process this file with autoconf to produce a configure script. |
3 | dnl# Process this file with autoconf to produce a configure script. |
4 | dnl# |
4 | dnl# |
|
|
5 | AC_PREREQ(2.50) |
5 | orig_CXXFLAGS="$CXXFLAGS" |
6 | orig_CXXFLAGS="$CXXFLAGS" |
6 | |
7 | |
7 | AC_INIT |
8 | AC_INIT |
8 | AC_CONFIG_SRCDIR([src/feature.h]) |
9 | AC_CONFIG_SRCDIR([src/feature.h]) |
9 | AC_CONFIG_AUX_DIR(autoconf) |
10 | AC_CONFIG_AUX_DIR(autoconf) |
… | |
… | |
298 | [ --enable-plain-scroll enable plain style scrollbar], |
299 | [ --enable-plain-scroll enable plain style scrollbar], |
299 | [if test x$enableval = xyes -o x$enableval = xno; then |
300 | [if test x$enableval = xyes -o x$enableval = xno; then |
300 | support_scroll_plain=$enableval |
301 | support_scroll_plain=$enableval |
301 | fi]) |
302 | fi]) |
302 | |
303 | |
303 | AC_ARG_ENABLE(half-shadow, |
304 | dnl AC_ARG_ENABLE(half-shadow, |
304 | [ --enable-half-shadow use half width/height shadow on rxvt scrollbar], |
305 | dnl [ --enable-half-shadow use half width/height shadow on rxvt scrollbar], |
305 | [if test x$enableval = xyes; then |
306 | dnl [if test x$enableval = xyes; then |
306 | AC_DEFINE(HALFSHADOW, 1, Define if you want the depth of scrollbars and menus to be less) |
307 | dnl AC_DEFINE(HALFSHADOW, 1, Define if you want the depth of scrollbars and menus to be less) |
307 | fi]) |
308 | dnl fi]) |
308 | |
309 | |
309 | AC_ARG_WITH(codesets, |
310 | AC_ARG_WITH(codesets, |
310 | [ --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)], |
311 | [ --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)], |
311 | [codesets="$withval"]) |
312 | [codesets="$withval"]) |
312 | |
313 | |