… | |
… | |
468 | LIBAFTERIMAGE_CFLAGS= |
468 | LIBAFTERIMAGE_CFLAGS= |
469 | AFTERIMAGE_LIBS= |
469 | AFTERIMAGE_LIBS= |
470 | have_afterimage= |
470 | have_afterimage= |
471 | |
471 | |
472 | if test x$support_afterimage == xyes; then |
472 | if test x$support_afterimage == xyes; then |
473 | AC_MSG_CHECKING(installed libAfterImage) |
473 | AC_MSG_CHECKING(installed libAfterImage) |
474 | support_afterimage=no |
474 | support_afterimage=no |
475 | if test "x$afterimage_config" = "x" ; then |
475 | if test "x$afterimage_config" = "x" ; then |
476 | if afterimage-config --version > /dev/null 2>&1 ; then |
476 | if afterimage-config --version > /dev/null 2>&1 ; then |
477 | afterimage_config=afterimage-config |
477 | afterimage_config=afterimage-config |
478 | else |
478 | else |
479 | if test -x /usr/local/bin/afterimage-config; then |
479 | if test -x /usr/local/bin/afterimage-config; then |
480 | afterimage_config=/usr/local/bin/afterimage-config |
480 | afterimage_config=/usr/local/bin/afterimage-config |
481 | fi |
481 | fi |
482 | fi |
482 | fi |
483 | else |
483 | else |
484 | afterimage_config=$afterimage_config/afterimage-config |
484 | afterimage_config=$afterimage_config/afterimage-config |
485 | fi |
485 | fi |
486 | if $afterimage_config --version > /dev/null 2>&1 ; then |
486 | if $afterimage_config --version > /dev/null 2>&1 ; then |
487 | LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
487 | LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
488 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
488 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
489 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
489 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
490 | support_afterimage=yes |
490 | support_afterimage=yes |
491 | fi |
491 | fi |
492 | fi |
492 | fi |
493 | |
493 | |
494 | if test "x$support_afterimage" = "xyes"; then |
494 | if test "x$support_afterimage" = "xyes"; then |
495 | AC_MSG_RESULT($AFTERIMAGE_LIBS) |
495 | AC_MSG_RESULT($AFTERIMAGE_LIBS) |
496 | else |
496 | else |
497 | AC_MSG_RESULT(afterimage-config not found in $afterimage_config - can't use libAfterImage for images.) |
497 | AC_MSG_RESULT(afterimage-config not found in $afterimage_config - can't use libAfterImage for images.) |
498 | fi |
498 | fi |
499 | fi |
499 | fi |
500 | |
500 | |
501 | if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then |
501 | if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then |
502 | VT_FIND_LIBXPM |
502 | VT_FIND_LIBXPM |
503 | if test x$no_xpm = xyes; then |
503 | if test x$no_xpm = xyes; then |