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.38 by root, Sun Aug 22 01:40:31 2004 UTC vs.
Revision 1.43 by root, Mon Jan 3 12:00:50 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
245 [if test x$enableval = xyes; then 255 [if test x$enableval = xyes; then
246 AC_DEFINE(HALFSHADOW, 1, Define if you want the depth of scrollbars and menus to be less) 256 AC_DEFINE(HALFSHADOW, 1, Define if you want the depth of scrollbars and menus to be less)
247 fi]) 257 fi])
248 258
249AC_ARG_WITH(codesets, 259AC_ARG_WITH(codesets,
250 [ --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all)], 260 [ --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)],
251 [codesets="$withval"]) 261 [codesets="$withval"])
252 262
253AC_ARG_ENABLE(xim, 263AC_ARG_ENABLE(xim,
254 [ --enable-xim XIM (X Input Method) protocol support], 264 [ --enable-xim XIM (X Input Method) protocol support],
255 [if test x$enableval = xyes -o x$enableval = xno; then 265 [if test x$enableval = xyes -o x$enableval = xno; then
595dnl> AC_CHECK_TYPE(umode_t, int) 605dnl> AC_CHECK_TYPE(umode_t, int)
596dnl> AC_CHECK_TYPE(off_t, long) 606dnl> AC_CHECK_TYPE(off_t, long)
597AC_TYPE_PID_T 607AC_TYPE_PID_T
598AC_TYPE_UID_T 608AC_TYPE_UID_T
599 609
600AC_CHECK_SIZEOF(char, 1)
601AC_CHECK_SIZEOF(short, 2) 610AC_CHECK_SIZEOF(short, 2)
602AC_CHECK_SIZEOF(int, 4) 611AC_CHECK_SIZEOF(int, 4)
603AC_CHECK_SIZEOF(long, 4) 612dnl AC_CHECK_SIZEOF(long, 4)
604AC_CHECK_SIZEOF(long long, 8) 613AC_CHECK_SIZEOF(long long, 8)
605AC_CHECK_SIZEOF(int *, 4) 614AC_CHECK_SIZEOF(int *, 4)
606 615
607dnl# see usage below 616dnl# see usage below
608AC_DEFUN(RXVT_CHECK_SIZE, 617AC_DEFUN(RXVT_CHECK_SIZE,
1285fi 1294fi
1286if test x$support_combining = xyes; then 1295if test x$support_combining = xyes; then
1287 AC_DEFINE(ENABLE_COMBINING, 1, Define if you want to automatically compose combining characters) 1296 AC_DEFINE(ENABLE_COMBINING, 1, Define if you want to automatically compose combining characters)
1288fi 1297fi
1289if test x$codesets = xall; then 1298if test x$codesets = xall; then
1290 codesets=jp,jp-ext,kr,cn,cn-ext 1299 codesets=jp,jp-ext,kr,zh,zh-ext
1291fi 1300fi
1292AC_DEFINE(ENCODING_EU, 1, Define if you want european extended codesets) 1301AC_DEFINE(ENCODING_EU, 1, Define if you want european extended codesets)
1293AC_DEFINE(ENCODING_VN, 1, Define if you want vietnamese codesets) 1302AC_DEFINE(ENCODING_VN, 1, Define if you want vietnamese codesets)
1294for codeset in `echo $codesets | tr "[a-z,\\-]" "[A-Z _]"`; do 1303for codeset in `echo $codesets | tr "[a-z,\\-]" "[A-Z _]"`; do
1295 case "$codeset" in 1304 case "$codeset" in
1296 JP ) AC_DEFINE(ENCODING_JP, 1, Define if you want japanese codesets) ;; 1305 JP ) AC_DEFINE(ENCODING_JP, 1, Define if you want japanese codesets) ;;
1297 JP_EXT ) AC_DEFINE(ENCODING_JP_EXT, 1, Define if you want extended japanese codesets) ;; 1306 JP_EXT ) AC_DEFINE(ENCODING_JP_EXT, 1, Define if you want extended japanese codesets) ;;
1298 KR ) AC_DEFINE(ENCODING_KR, 1, Define if you want korean codesets) ;; 1307 KR ) AC_DEFINE(ENCODING_KR, 1, Define if you want korean codesets) ;;
1299 CN ) AC_DEFINE(ENCODING_CN, 1, Define if you want chinese codesets) ;; 1308 ZH ) AC_DEFINE(ENCODING_ZH, 1, Define if you want chinese codesets) ;;
1300 CN_EXT ) AC_DEFINE(ENCODING_CN_EXT, 1, Define if you want extended chinese codesets) ;; 1309 ZH_EXT ) AC_DEFINE(ENCODING_ZH_EXT, 1, Define if you want extended chinese codesets) ;;
1301 esac 1310 esac
1302done 1311done
1303 1312
1304dnl> AC_CHECK_FUNCS(gettimeofday putenv select socket) 1313dnl> AC_CHECK_FUNCS(gettimeofday putenv select socket)
1305 1314

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines