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.41 by root, Wed Dec 1 02:33:32 2004 UTC vs.
Revision 1.44 by root, Tue Jan 11 00:54:57 2005 UTC

4dnl# 4dnl#
5AC_INIT 5AC_INIT
6AC_CONFIG_SRCDIR([src/feature.h]) 6AC_CONFIG_SRCDIR([src/feature.h])
7AC_CONFIG_AUX_DIR(autoconf) 7AC_CONFIG_AUX_DIR(autoconf)
8AC_CONFIG_HEADER(config.h:autoconf/config.h.in) 8AC_CONFIG_HEADER(config.h:autoconf/config.h.in)
9
10AC_CANONICAL_HOST
9 11
10dnl RXVT version 12dnl RXVT version
11changequote(, )dnl 13changequote(, )dnl
12VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 14VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
13DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 15DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
40 LIBS="$LIBS -lsupc++" 42 LIBS="$LIBS -lsupc++"
41 ]) 43 ])
42fi 44fi
43AC_SUBST(LINKER,[$LINKER]) 45AC_SUBST(LINKER,[$LINKER])
44 46
45CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" 47AC_DEFINE(_GNU_SOURCE, 1, Use all glibc features.)
48
49case $host in
50 *-*-solaris* )
51 AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, Needed to get declarations for msg_control and msg_controllen on Solaris)
52 AC_DEFINE(_XOPEN_SOURCE, 2, Needed to get declarations for msg_control and msg_controllen on Solaris)
53 AC_DEFINE(__EXTENSIONS__, 1, Needed to get declarations for msg_control and msg_controllen on Solaris)
54 ;;
55esac
46 56
47dnl if test x$GXX = xyes; then 57dnl if test x$GXX = xyes; then
48dnl CXXFLAGS="$CXXFLAGS" dnl I once had -fno-exceptions, but I am using them now... 58dnl CXXFLAGS="$CXXFLAGS" dnl I once had -fno-exceptions, but I am using them now...
49dnl fi 59dnl fi
50 60
66AC_PROG_LIBTOOL()dnl# libtool 76AC_PROG_LIBTOOL()dnl# libtool
67 77
68MALLOC_TYPE=S 78MALLOC_TYPE=S
69support_addstrings=no 79support_addstrings=no
70support_frills=no 80support_frills=no
71support_linespace=no
72support_inheritpixmap=no 81support_inheritpixmap=no
73support_tinting=no 82support_tinting=no
74support_fading=no 83support_fading=no
75support_keepscrolling=no 84support_keepscrolling=no
76support_selectionscrolling=no 85support_selectionscrolling=no
112 NOTE: this option is order dependent 121 NOTE: this option is order dependent
113 NOTE: automatically enabled with --enable-shared], 122 NOTE: automatically enabled with --enable-shared],
114 [if test x$enableval = xyes; then 123 [if test x$enableval = xyes; then
115 support_24bit=yes 124 support_24bit=yes
116 support_frills=yes 125 support_frills=yes
117 support_linespace=yes
118 support_inheritpixmap=yes 126 support_inheritpixmap=yes
119 support_tinting=yes 127 support_tinting=yes
120 support_fading=yes 128 support_fading=yes
121 support_keepscrolling=yes 129 support_keepscrolling=yes
122 support_selectionscrolling=yes 130 support_selectionscrolling=yes
346 354
347AC_ARG_ENABLE(frills, 355AC_ARG_ENABLE(frills,
348 [ --enable-frills enable support for rarely used features], 356 [ --enable-frills enable support for rarely used features],
349 [if test x$enableval = xyes -o x$enableval = xno; then 357 [if test x$enableval = xyes -o x$enableval = xno; then
350 support_frills=$enableval 358 support_frills=$enableval
351 fi])
352
353AC_ARG_ENABLE(linespace,
354 [ --enable-linespace enable support for linespace],
355 [if test x$enableval = xyes -o x$enableval = xno; then
356 support_linespace=$enableval
357 fi]) 359 fi])
358 360
359AC_ARG_ENABLE(24bit, 361AC_ARG_ENABLE(24bit,
360 [ --enable-24bit enable support for using 24bit visuals if available], 362 [ --enable-24bit enable support for using 24bit visuals if available],
361 [if test x$enableval = xyes -o x$enableval = xno; then 363 [if test x$enableval = xyes -o x$enableval = xno; then
1223 AC_DEFINE(MENUBAR, 1, Define if you want Menubar support) 1225 AC_DEFINE(MENUBAR, 1, Define if you want Menubar support)
1224fi 1226fi
1225if test x$support_frills = xyes; then 1227if test x$support_frills = xyes; then
1226 AC_DEFINE(ENABLE_FRILLS, 1, Define if you want handling for rarely used but handy features) 1228 AC_DEFINE(ENABLE_FRILLS, 1, Define if you want handling for rarely used but handy features)
1227fi 1229fi
1228if test x$support_linespace = xno; then
1229 AC_DEFINE(NO_LINESPACE, 1, Define if you don't want support linespace)
1230fi
1231if test x$support_24bit = xyes; then 1230if test x$support_24bit = xyes; then
1232 AC_DEFINE(PREFER_24BIT, 1, Define to use a 24 bit visual if the screen has 24 bit mode, even if the default is 8 bit) 1231 AC_DEFINE(PREFER_24BIT, 1, Define to use a 24 bit visual if the screen has 24 bit mode, even if the default is 8 bit)
1233fi 1232fi
1234if test x$support_mousewheel = xyes; then 1233if test x$support_mousewheel = xyes; then
1235 AC_DEFINE(MOUSE_WHEEL, 1, Define to use wheel events (button4 and button5) to scroll) 1234 AC_DEFINE(MOUSE_WHEEL, 1, Define to use wheel events (button4 and button5) to scroll)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines