… | |
… | |
237 | [ --enable-afterimage enable integration with libAfterImage for background images], |
237 | [ --enable-afterimage enable integration with libAfterImage for background images], |
238 | [if test x$enableval = xyes -o x$enableval = xno; then |
238 | [if test x$enableval = xyes -o x$enableval = xno; then |
239 | support_afterimage=$enableval |
239 | support_afterimage=$enableval |
240 | fi]) |
240 | fi]) |
241 | |
241 | |
242 | AC_ARG_WITH(afterimage_config, [ --with-afterimage-config=DIR use libAfterImage config script in DIR], afterimage_config="$withval",afterimage_config=NO) |
242 | AC_ARG_WITH(afterimage_config, |
|
|
243 | [ --with-afterimage-config=DIR use libAfterImage config script in DIR], |
|
|
244 | [afterimage_config="$withval"]) |
243 | |
245 | |
244 | AC_ARG_ENABLE(afterstep, |
246 | AC_ARG_ENABLE(afterstep, |
245 | [ --enable-afterstep enable integration with AfterStep window manager], |
247 | [ --enable-afterstep enable integration with AfterStep window manager], |
246 | [if test x$enableval = xyes -o x$enableval = xno; then |
248 | [if test x$enableval = xyes -o x$enableval = xno; then |
247 | support_afterstep=$enableval |
249 | support_afterstep=$enableval |
… | |
… | |
466 | LIBAFTERIMAGE_CFLAGS= |
468 | LIBAFTERIMAGE_CFLAGS= |
467 | AFTERIMAGE_LIBS= |
469 | AFTERIMAGE_LIBS= |
468 | have_afterimage= |
470 | have_afterimage= |
469 | |
471 | |
470 | if test x$support_afterimage == xyes; then |
472 | if test x$support_afterimage == xyes; then |
471 | AC_MSG_CHECKING(installed libAfterImage) |
473 | AC_MSG_CHECKING(installed libAfterImage) |
472 | support_afterimage=no |
474 | support_afterimage=no |
473 | if test "$afterimage_config" = "NO" ; then |
475 | if test "x$afterimage_config" = "x" ; then |
474 | if afterimage-config --version > /dev/null 2>&1 ; then |
476 | if afterimage-config --version > /dev/null 2>&1 ; then |
475 | afterimage_config=afterimage-config |
477 | afterimage_config=afterimage-config |
476 | else |
478 | else |
477 | if test -x /usr/local/bin/afterimage-config; then |
479 | if test -x /usr/local/bin/afterimage-config; then |
478 | afterimage_config=/usr/local/bin/afterimage-config |
480 | afterimage_config=/usr/local/bin/afterimage-config |
479 | fi |
481 | fi |
480 | fi |
482 | fi |
481 | else |
483 | else |
482 | afterimage_config=$afterimage_config/afterimage-config |
484 | afterimage_config=$afterimage_config/afterimage-config |
483 | fi |
485 | fi |
484 | if $afterimage_config --version > /dev/null 2>&1 ; then |
486 | if $afterimage_config --version > /dev/null 2>&1 ; then |
485 | LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
487 | LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
486 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
488 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
487 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
489 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
488 | support_afterimage=yes |
490 | support_afterimage=yes |
489 | fi |
491 | fi |
490 | fi |
492 | fi |
491 | |
493 | |
492 | if test "x$support_afterimage" = "xyes"; then |
494 | if test "x$support_afterimage" = "xyes"; then |
493 | AC_MSG_RESULT($AFTERIMAGE_LIBS) |
495 | AC_MSG_RESULT($AFTERIMAGE_LIBS) |
494 | else |
496 | else |
495 | 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.) |
496 | fi |
498 | fi |
497 | fi |
499 | fi |
498 | |
500 | |
499 | 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 |
500 | VT_FIND_LIBXPM |
502 | VT_FIND_LIBXPM |
501 | if test x$no_xpm = xyes; then |
503 | if test x$no_xpm = xyes; then |