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.68 by root, Wed Jan 11 23:08:54 2006 UTC vs.
Revision 1.71 by ayin, Mon Jan 16 14:23:26 2006 UTC

97dnl AC_ENABLE_STATIC(yes)dnl# libtool 97dnl AC_ENABLE_STATIC(yes)dnl# libtool
98dnl AC_PROG_LIBTOOL()dnl# libtool 98dnl AC_PROG_LIBTOOL()dnl# libtool
99 99
100MALLOC_TYPE=S 100MALLOC_TYPE=S
101 101
102support_addstrings=no
103support_frills=yes 102support_frills=yes
104support_inheritpixmap=yes 103support_inheritpixmap=yes
105support_tinting=yes 104support_tinting=yes
106support_fading=yes 105support_fading=yes
107support_keepscrolling=yes 106support_keepscrolling=yes
387 [RXVTNAME="$withval"]) 386 [RXVTNAME="$withval"])
388AC_DEFINE_UNQUOTED(RXVTNAME,"$RXVTNAME", [Binary base name]) 387AC_DEFINE_UNQUOTED(RXVTNAME,"$RXVTNAME", [Binary base name])
389 388
390RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` 389RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
391AC_SUBST(RXVTNAME) 390AC_SUBST(RXVTNAME)
392
393AC_ARG_ENABLE(strings,
394 [ --enable-strings enable some replacement system functions],
395 [if test x$enableval = xyes -o x$enableval = xno; then
396 support_addstrings=$enableval
397 fi])
398 391
399AC_ARG_ENABLE(swapscreen, 392AC_ARG_ENABLE(swapscreen,
400 [ --disable-swapscreen disable swap screen support], 393 [ --disable-swapscreen disable swap screen support],
401 [if test x$enableval = xno; then 394 [if test x$enableval = xno; then
402 AC_DEFINE(NO_SECONDARY_SCREEN, 1, Disable the secondary screen. Many programs use the secondary screen as their workplace) 395 AC_DEFINE(NO_SECONDARY_SCREEN, 1, Disable the secondary screen. Many programs use the secondary screen as their workplace)
1179 1172
1180if test x$rxvt_broken_ximcb = xyes; then 1173if test x$rxvt_broken_ximcb = xyes; then
1181 AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.) 1174 AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.)
1182fi 1175fi
1183 1176
1184if test x$rxvt_cv_func_posix_openpt = xno; then 1177if test x$ac_cv_func_posix_openpt = xno; then
1185 AC_CHECK_FUNC(openpty, [], [AC_CHECK_LIB(util, openpty, [LIBS="$LIBS -lutil"])]) 1178 AC_CHECK_FUNC(openpty, [], [AC_CHECK_LIB(util, openpty, [LIBS="$LIBS -lutil"])])
1186fi 1179fi
1187 1180
1188dnl# if we don't guess right then it's up to the user 1181dnl# if we don't guess right then it's up to the user
1189AC_CACHE_CHECK(for pty/tty type, rxvt_cv_ptys, 1182AC_CACHE_CHECK(for pty/tty type, rxvt_cv_ptys,
1235 AC_DEFINE(PTYS_ARE_PTC, 1, Define for this pty type) 1228 AC_DEFINE(PTYS_ARE_PTC, 1, Define for this pty type)
1236fi 1229fi
1237if test x$rxvt_cv_ptys = xSGI4; then 1230if test x$rxvt_cv_ptys = xSGI4; then
1238 AC_DEFINE(PTYS_ARE__GETPTY, 1, Define for this pty type) 1231 AC_DEFINE(PTYS_ARE__GETPTY, 1, Define for this pty type)
1239fi 1232fi
1240if test x$rxvt_cv_ptys = xGLIBC; then
1241 AC_DEFINE(PTYS_ARE_GETPT, 1, Define for this pty type)
1242fi
1243if test x$rxvt_cv_ptys = xHPUX; then 1233if test x$rxvt_cv_ptys = xHPUX; then
1244 AC_DEFINE(PTYS_ARE_CLONE, 1, Define for this pty type) 1234 AC_DEFINE(PTYS_ARE_CLONE, 1, Define for this pty type)
1245fi 1235fi
1246if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then 1236if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xPOSIX; then
1247 AC_DEFINE(PTYS_ARE_SEARCHED, 1, Define for this pty type) 1237 AC_DEFINE(PTYS_ARE_SEARCHED, 1, Define for this pty type)
1248fi 1238fi
1249 1239
1250 1240
1251AS_MESSAGE(checking for pty ranges...) 1241AS_MESSAGE(checking for pty ranges...)
1445fi 1435fi
1446AC_SUBST(DLIB) 1436AC_SUBST(DLIB)
1447AC_SUBST(LIBS) 1437AC_SUBST(LIBS)
1448AC_SUBST(X_LIBS) 1438AC_SUBST(X_LIBS)
1449AC_SUBST(X_EXTRA_LIBS) 1439AC_SUBST(X_EXTRA_LIBS)
1450
1451if test x$support_addstrings = xno; then
1452 AC_DEFINE(NO_STRINGS, 1, Define if you don't need to use our replacement string functions)
1453fi
1454 1440
1455dnl# common parts of the Makefile 1441dnl# common parts of the Makefile
1456MCOMMON=./autoconf/Make.common 1442MCOMMON=./autoconf/Make.common
1457AC_SUBST_FILE(MCOMMON) 1443AC_SUBST_FILE(MCOMMON)
1458 1444

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines