diff -u -ruN control-center-2.13.5.orig/configure.in control-center-2.13.5/configure.in --- control-center-2.13.5.orig/configure.in 2006-01-16 11:42:19.000000000 -0500 +++ control-center-2.13.5/configure.in 2006-01-18 11:22:11.000000000 -0500 @@ -292,39 +292,39 @@ dnl ----- aix loads module ldterm by default and wants no ptem dnl ----- ptmx takes precedence -AC_MSG_CHECKING([for master pty]) -if test -r /dev/ptc ; then - if test -r /dev/ptmx ; then - AC_DEFINE_UNQUOTED(MASTERPTYDEV, "/dev/ptmx", [hp and sun style pty master]) - AC_MSG_RESULT(ptmx) - else - AC_DEFINE_UNQUOTED(MASTERPTYDEV, "/dev/ptc", [aix style pty master]) - AC_MSG_RESULT(ptc) - fi -elif test -r /dev/ptmx ; then - AC_DEFINE_UNQUOTED(MASTERPTYDEV, "/dev/ptmx", [hp and sun style pty master]) - AC_MSG_RESULT(ptmx) -else - AC_DEFINE_UNQUOTED(MASTERPTYDEV, "/dev/null", [lets see what happens]) -fi - -dnl ----- this will succeed on solaris and fail on hpux -AC_MSG_CHECKING(if your system supports the ttcompat streams module) -AC_RUN_IFELSE([AC_LANG_SOURCE([[ -#include -#include -#include -main() -{ int line; - - if ( (line = open("/dev/ptmx", O_RDWR)) >= 0 && - ioctl(line, I_PUSH, "ttcompat") == 0 ) - exit(0); - exit(1); -} -]])],[AC_DEFINE(HAVE_TTCOMPAT, 1, - "Define if your system supports the ttcompat streams module") - AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)],[AC_MSG_RESULT(assuming no)]) +dnl AC_MSG_CHECKING([for master pty]) +dnl if test -r /dev/ptc ; then +dnl if test -r /dev/ptmx ; then +dnl AC_DEFINE_UNQUOTED(MASTERPTYDEV, "/dev/ptmx", [hp and sun style pty master]) +dnl AC_MSG_RESULT(ptmx) +dnl else +dnl AC_DEFINE_UNQUOTED(MASTERPTYDEV, "/dev/ptc", [aix style pty master]) +dnl AC_MSG_RESULT(ptc) +dnl fi +dnl elif test -r /dev/ptmx ; then +dnl AC_DEFINE_UNQUOTED(MASTERPTYDEV, "/dev/ptmx", [hp and sun style pty master]) +dnl AC_MSG_RESULT(ptmx) +dnl else +dnl AC_DEFINE_UNQUOTED(MASTERPTYDEV, "/dev/null", [lets see what happens]) +dnl fi +dnl +dnl dnl ----- this will succeed on solaris and fail on hpux +dnl AC_MSG_CHECKING(if your system supports the ttcompat streams module) +dnl AC_RUN_IFELSE([AC_LANG_SOURCE([[ +dnl #include +dnl #include +dnl #include +dnl main() +dnl { int line; +dnl +dnl if ( (line = open("/dev/ptmx", O_RDWR)) >= 0 && +dnl ioctl(line, I_PUSH, "ttcompat") == 0 ) +dnl exit(0); +dnl exit(1); +dnl } +dnl ]])],[AC_DEFINE(HAVE_TTCOMPAT, 1, +dnl "Define if your system supports the ttcompat streams module") +dnl AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)],[AC_MSG_RESULT(assuming no)]) AC_MSG_CHECKING([whether to enable About Me]) AC_ARG_ENABLE([aboutme],