From: ayin Date: Thu, 27 Dec 2007 14:21:57 +0000 (+0000) Subject: Remove workaround for SunOS 4. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=de0ba6f2e8234fb77a86338950687b3854c92955;p=dana%2Furxvt.git Remove workaround for SunOS 4. --- diff --git a/configure.ac b/configure.ac index 2fe4b2d3..58ef14ac 100644 --- a/configure.ac +++ b/configure.ac @@ -486,13 +486,6 @@ AC_CHECK_HEADERS( \ cwchar \ ) -dnl# check to allow both and -AC_CACHE_CHECK(whether termios.h and sys/ioctl.h may both be included, rxvt_cv_header_sysioctl, -[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include -#include -#include -]], [[int a = ECHO;]])],[rxvt_cv_header_sysioctl=yes],[rxvt_cv_header_sysioctl=no])]) - AC_CACHE_CHECK([for XPointer], rxvt_cv_xpointer, [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[XPointer dummy;]])],[rxvt_cv_xpointer=yes],[rxvt_cv_xpointer=no])]) if test x$rxvt_cv_xpointer = xyes; then @@ -769,8 +762,6 @@ AC_SUBST(AFTERIMAGE_LIBS) AC_ARG_PROGRAM -dnl# test for "sun" or "__sun__" before include sys_ioctl - dnl# revert HAVE_BLAH_H into a "#include " AC_DEFUN([RXVT_DEFINE_TO_INCLUDE], dnl [if test "$$3" = "$4" -o "$$5" = "$6"; then @@ -781,7 +772,7 @@ fi dnl AC_SUBST($1)]) RXVT_DEFINE_TO_INCLUDE(include_stdint_h, stdint.h, ac_cv_header_stdint_h, yes, notset, dontmatch) -RXVT_DEFINE_TO_INCLUDE(include_sys_ioctl_h, sys/ioctl.h, rxvt_cv_header_sysioctl, yes, notset, dontmatch) +RXVT_DEFINE_TO_INCLUDE(include_sys_ioctl_h, sys/ioctl.h, ac_cv_header_sys_ioctl_h, yes, notset, dontmatch) RXVT_DEFINE_TO_INCLUDE(include_sys_strredir_h, sys/strredir.h, ac_cv_header_sys_strredir_h, yes, notset, dontmatch) AC_CONFIG_FILES([Makefile \