--- rxvt-unicode/configure.ac 2007/07/26 19:18:59 1.65 +++ rxvt-unicode/configure.ac 2007/08/01 18:10:10 1.68 @@ -243,11 +243,11 @@ afterimage_config=$withval/afterimage-config fi]) -AC_ARG_ENABLE(afterstep, - [ --enable-afterstep enable integration with AfterStep window manager], - [if test x$enableval = xyes -o x$enableval = xno; then - support_afterstep=$enableval - fi]) +dnl AC_ARG_ENABLE(afterstep, +dnl [ --enable-afterstep enable integration with AfterStep window manager], +dnl [if test x$enableval = xyes -o x$enableval = xno; then +dnl support_afterstep=$enableval +dnl fi]) AC_ARG_ENABLE(transparency, [ --enable-transparency enable transparent backgrounds], @@ -469,15 +469,14 @@ if test "x$afterimage_config" = "x" ; then AC_PATH_PROG(afterimage_config, afterimage-config, no) fi - AC_PROG_AWK AC_MSG_CHECKING(for libAfterImage version >= 1.15) AFTERIMAGE_VERSION=`$afterimage_config --version` - if test -n $AFTERIMAGE_VERSION ; then + if test -n "$AFTERIMAGE_VERSION" ; then AFTERIMAGE_CFLAGS=`$afterimage_config --cflags` AFTERIMAGE_LIBS=`$afterimage_config --libs` if test "x$AFTERIMAGE_LIBS" != "x"; then - libai_ver_major=`echo $AFTERIMAGE_VERSION | $AWK -F . '{print $1}'` - libai_ver_minor=`echo $AFTERIMAGE_VERSION | $AWK -F . '{print $2}'` + libai_ver_major=`echo $AFTERIMAGE_VERSION | cut -f 1 -d .` + libai_ver_minor=`echo $AFTERIMAGE_VERSION | cut -f 2 -d .` if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then support_afterimage=yes fi @@ -807,9 +806,9 @@ AC_DEFINE(HAVE_AFTERIMAGE, 1, Define if you want to use libAfterImage for image processing) fi -if test x$support_afterstep = xyes; then - AC_DEFINE(AFTERSTEP_INTEGRATION, 1, Define if you want to integrate with AfterStep window manager) -fi +dnl if test x$support_afterstep = xyes; then +dnl AC_DEFINE(AFTERSTEP_INTEGRATION, 1, Define if you want to integrate with AfterStep window manager) +dnl fi if test x$support_scroll_rxvt = xyes; then AC_DEFINE(RXVT_SCROLLBAR, 1, Support Rxvt original style scrollbars) @@ -970,9 +969,9 @@ echo " AfterImage support: yes" fi -if test x$support_afterstep = xyes; then - echo " AfterStep integration: yes" -fi +dnl if test x$support_afterstep = xyes; then +dnl echo " AfterStep integration: yes" +dnl fi if test x$term != x; then echo " set TERM to: $term"