- Replace xconsole_CFLAGS with AM_CFLAGS to make automake-1.10 happier - Check if openpty() is available and use it if it is.