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

Comparing rxvt-unicode/configure.ac (file contents):
Revision 1.100 by root, Sun Dec 23 05:03:52 2007 UTC vs.
Revision 1.101 by ayin, Thu Dec 27 14:21:57 2007 UTC

484 stdint.h \ 484 stdint.h \
485 wchar.h \ 485 wchar.h \
486 cwchar \ 486 cwchar \
487) 487)
488 488
489dnl# check to allow both <termios.h> and <sys/ioctl.h>
490AC_CACHE_CHECK(whether termios.h and sys/ioctl.h may both be included, rxvt_cv_header_sysioctl,
491[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>
492#include <sys/ioctl.h>
493#include <termios.h>
494]], [[int a = ECHO;]])],[rxvt_cv_header_sysioctl=yes],[rxvt_cv_header_sysioctl=no])])
495
496AC_CACHE_CHECK([for XPointer], rxvt_cv_xpointer, 489AC_CACHE_CHECK([for XPointer], rxvt_cv_xpointer,
497[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <X11/Xlib.h>]], [[XPointer dummy;]])],[rxvt_cv_xpointer=yes],[rxvt_cv_xpointer=no])]) 490[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <X11/Xlib.h>]], [[XPointer dummy;]])],[rxvt_cv_xpointer=yes],[rxvt_cv_xpointer=no])])
498if test x$rxvt_cv_xpointer = xyes; then 491if test x$rxvt_cv_xpointer = xyes; then
499 AC_DEFINE(HAVE_XPOINTER, 1, Define if you have XPointer typedef) 492 AC_DEFINE(HAVE_XPOINTER, 1, Define if you have XPointer typedef)
500fi 493fi
767AC_SUBST(AFTERIMAGE_CFLAGS) 760AC_SUBST(AFTERIMAGE_CFLAGS)
768AC_SUBST(AFTERIMAGE_LIBS) 761AC_SUBST(AFTERIMAGE_LIBS)
769 762
770AC_ARG_PROGRAM 763AC_ARG_PROGRAM
771 764
772dnl# test for "sun" or "__sun__" before include sys_ioctl
773
774dnl# revert HAVE_BLAH_H into a "#include <blah.h>" 765dnl# revert HAVE_BLAH_H into a "#include <blah.h>"
775AC_DEFUN([RXVT_DEFINE_TO_INCLUDE], dnl 766AC_DEFUN([RXVT_DEFINE_TO_INCLUDE], dnl
776[if test "$$3" = "$4" -o "$$5" = "$6"; then 767[if test "$$3" = "$4" -o "$$5" = "$6"; then
777 $1="#include <$2>" 768 $1="#include <$2>"
778else 769else
779 $1="/* #include <$2> */" 770 $1="/* #include <$2> */"
780fi dnl 771fi dnl
781AC_SUBST($1)]) 772AC_SUBST($1)])
782 773
783RXVT_DEFINE_TO_INCLUDE(include_stdint_h, stdint.h, ac_cv_header_stdint_h, yes, notset, dontmatch) 774RXVT_DEFINE_TO_INCLUDE(include_stdint_h, stdint.h, ac_cv_header_stdint_h, yes, notset, dontmatch)
784RXVT_DEFINE_TO_INCLUDE(include_sys_ioctl_h, sys/ioctl.h, rxvt_cv_header_sysioctl, yes, notset, dontmatch) 775RXVT_DEFINE_TO_INCLUDE(include_sys_ioctl_h, sys/ioctl.h, ac_cv_header_sys_ioctl_h, yes, notset, dontmatch)
785RXVT_DEFINE_TO_INCLUDE(include_sys_strredir_h, sys/strredir.h, ac_cv_header_sys_strredir_h, yes, notset, dontmatch) 776RXVT_DEFINE_TO_INCLUDE(include_sys_strredir_h, sys/strredir.h, ac_cv_header_sys_strredir_h, yes, notset, dontmatch)
786 777
787AC_CONFIG_FILES([Makefile \ 778AC_CONFIG_FILES([Makefile \
788doc/Makefile \ 779doc/Makefile \
789src/Makefile \ 780src/Makefile \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines