ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/autoconf/configure.in
(Generate patch)

Comparing rxvt-unicode/autoconf/configure.in (file contents):
Revision 1.73 by ayin, Mon Jan 16 15:06:26 2006 UTC vs.
Revision 1.75 by ayin, Mon Jan 16 15:36:55 2006 UTC

1dnl# -*- sh -*- 1dnl# -*- sh -*-
2dnl# 2dnl#
3dnl# Process this file with autoconf to produce a configure script. 3dnl# Process this file with autoconf to produce a configure script.
4dnl# 4dnl#
5
6AC_INIT
5AC_PREREQ(2.50) 7AC_PREREQ(2.50)
6orig_CXXFLAGS="$CXXFLAGS"
7
8AC_INIT
9AC_CONFIG_SRCDIR([src/feature.h]) 8AC_CONFIG_SRCDIR([src/feature.h])
10AC_CONFIG_AUX_DIR(autoconf) 9AC_CONFIG_AUX_DIR(autoconf)
11AC_CONFIG_HEADER(config.h:autoconf/config.h.in) 10AC_CONFIG_HEADER(config.h:autoconf/config.h.in)
12 11
13AC_CANONICAL_HOST 12AC_CANONICAL_HOST
24AC_SUBST(LIBVERSION)dnl 23AC_SUBST(LIBVERSION)dnl
25echo "" 24echo ""
26echo "configuring for rxvt $VERSION" 25echo "configuring for rxvt $VERSION"
27echo "" 26echo ""
28 27
28orig_CXXFLAGS="$CXXFLAGS"
29
29dnl# Checks for programs. 30dnl# Checks for programs.
30dnl AC_MAKE_SET 31dnl AC_MAKE_SET
31 32
32AC_PROG_CC 33AC_PROG_CC
33AC_PROG_CXX 34AC_PROG_CXX
39 40
40dnl# -------------------------------------------------------------------------- 41dnl# --------------------------------------------------------------------------
41dnl# Supply default CFLAGS, if not specified by `CFLAGS=flags ./configure' 42dnl# Supply default CFLAGS, if not specified by `CFLAGS=flags ./configure'
42dnl# 43dnl#
43if test -z "$orig_CXXFLAGS"; then 44if test -z "$orig_CXXFLAGS"; then
44 CXXFLAGS='-O'
45 if test x$GCC = xyes && test "x$GXX" = xyes; then 45 if test x$GCC = xyes && test "x$GXX" = xyes; then
46 CXXFLAGS="-g -O3" 46 CXXFLAGS="-g -O3"
47 else
48 CXXFLAGS="-O"
47 fi 49 fi
48 CFLAGS="$CXXFLAGS" 50 CFLAGS="$CXXFLAGS"
49fi 51fi
50 52
51LINKER="$CXX" 53LINKER="$CXX"
299 [ --enable-plain-scroll enable plain style scrollbar], 301 [ --enable-plain-scroll enable plain style scrollbar],
300 [if test x$enableval = xyes -o x$enableval = xno; then 302 [if test x$enableval = xyes -o x$enableval = xno; then
301 support_scroll_plain=$enableval 303 support_scroll_plain=$enableval
302 fi]) 304 fi])
303 305
304AC_ARG_ENABLE(half-shadow, 306dnl AC_ARG_ENABLE(half-shadow,
305 [ --enable-half-shadow use half width/height shadow on rxvt scrollbar], 307dnl [ --enable-half-shadow use half width/height shadow on rxvt scrollbar],
306 [if test x$enableval = xyes; then 308dnl [if test x$enableval = xyes; then
307 AC_DEFINE(HALFSHADOW, 1, Define if you want the depth of scrollbars and menus to be less) 309dnl AC_DEFINE(HALFSHADOW, 1, Define if you want the depth of scrollbars and menus to be less)
308 fi]) 310dnl fi])
309 311
310AC_ARG_WITH(codesets, 312AC_ARG_WITH(codesets,
311 [ --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)], 313 [ --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)],
312 [codesets="$withval"]) 314 [codesets="$withval"])
313 315

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines