--- rxvt-unicode/configure.ac 2007/06/09 11:27:43 1.44 +++ rxvt-unicode/configure.ac 2007/06/09 13:04:27 1.45 @@ -470,14 +470,16 @@ have_afterimage= if test x$support_afterimage = xyes; then - AC_MSG_CHECKING(installed libAfterImage) support_afterimage=no - if test "x$afterimage_config" = "x" ; then + + if test "x$afterimage_config" = "x" ; then AC_PATH_PROG(afterimage_config, afterimage-config, no) else afterimage_config=$afterimage_config/afterimage-config fi - if $afterimage_config --version > /dev/null 2>&1 ; then + + AC_MSG_CHECKING(for libAfterImage) + if $afterimage_config --version >/dev/null 2>&1 ; then LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` AFTERIMAGE_LIBS=`$afterimage_config --libs` if test "x$AFTERIMAGE_LIBS" != "x"; then @@ -488,7 +490,7 @@ if test "x$support_afterimage" = "xyes"; then AC_MSG_RESULT($AFTERIMAGE_LIBS) else - AC_MSG_RESULT(afterimage-config not found - can't use libAfterImage for images.) + AC_MSG_RESULT(no) fi fi @@ -1028,11 +1030,11 @@ fi if test x$support_afterimage = xyes; then - echo " AfterImage library: $AFTERIMAGE_LIBS" + echo " AfterImage support: yes" fi if test x$support_afterstep = xyes; then - echo " With AfterStep integration" + echo " AfterStep intergration: yes" fi if test x$term != x; then