… | |
… | |
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 | [if test "x$withval" != x; then |
|
|
245 | afterimage_config=$withval/afterimage-config |
|
|
246 | fi]) |
243 | |
247 | |
244 | AC_ARG_ENABLE(afterstep, |
248 | AC_ARG_ENABLE(afterstep, |
245 | [ --enable-afterstep enable integration with AfterStep window manager], |
249 | [ --enable-afterstep enable integration with AfterStep window manager], |
246 | [if test x$enableval = xyes -o x$enableval = xno; then |
250 | [if test x$enableval = xyes -o x$enableval = xno; then |
247 | support_afterstep=$enableval |
251 | support_afterstep=$enableval |
… | |
… | |
465 | |
469 | |
466 | LIBAFTERIMAGE_CFLAGS= |
470 | LIBAFTERIMAGE_CFLAGS= |
467 | AFTERIMAGE_LIBS= |
471 | AFTERIMAGE_LIBS= |
468 | have_afterimage= |
472 | have_afterimage= |
469 | |
473 | |
470 | if test x$support_afterimage == xyes; then |
474 | if test x$support_afterimage = xyes; then |
471 | AC_MSG_CHECKING(installed libAfterImage) |
|
|
472 | support_afterimage=no |
475 | support_afterimage=no |
|
|
476 | |
473 | if test "$afterimage_config" = "NO" ; then |
477 | if test "x$afterimage_config" = "x" ; then |
474 | if afterimage-config --version > /dev/null 2>&1 ; then |
478 | AC_PATH_PROG(afterimage_config, afterimage-config, no) |
475 | afterimage_config=afterimage-config |
479 | fi |
476 | else |
480 | |
477 | if test -x /usr/local/bin/afterimage-config; then |
481 | AC_MSG_CHECKING(for libAfterImage) |
478 | afterimage_config=/usr/local/bin/afterimage-config |
|
|
479 | fi |
|
|
480 | fi |
|
|
481 | else |
|
|
482 | afterimage_config=$afterimage_config/afterimage-config |
|
|
483 | fi |
|
|
484 | if $afterimage_config --version > /dev/null 2>&1 ; then |
482 | if $afterimage_config --version >/dev/null 2>&1 ; then |
485 | LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
483 | LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
486 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
484 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
487 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
485 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
488 | support_afterimage=yes |
486 | support_afterimage=yes |
489 | fi |
487 | fi |
490 | fi |
488 | fi |
491 | |
489 | |
492 | if test "x$support_afterimage" = "xyes"; then |
490 | if test "x$support_afterimage" = "xyes"; then |
493 | AC_MSG_RESULT($AFTERIMAGE_LIBS) |
491 | AC_MSG_RESULT($AFTERIMAGE_LIBS) |
494 | else |
492 | else |
495 | AC_MSG_RESULT(afterimage-config not found in $afterimage_config - can't use libAfterImage for images.) |
493 | AC_MSG_RESULT(no) |
496 | fi |
494 | fi |
497 | fi |
495 | fi |
498 | |
496 | |
499 | if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then |
497 | if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then |
500 | VT_FIND_LIBXPM |
498 | VT_FIND_LIBXPM |
501 | if test x$no_xpm = xyes; then |
499 | if test x$no_xpm = xyes; then |
… | |
… | |
1030 | if test x$support_xpm = xyes; then |
1028 | if test x$support_xpm = xyes; then |
1031 | echo " Xpm library: $XPM_LIBS" |
1029 | echo " Xpm library: $XPM_LIBS" |
1032 | fi |
1030 | fi |
1033 | |
1031 | |
1034 | if test x$support_afterimage = xyes; then |
1032 | if test x$support_afterimage = xyes; then |
1035 | echo " AfterImage library: $AFTERIMAGE_LIBS" |
1033 | echo " AfterImage support: yes" |
1036 | fi |
1034 | fi |
1037 | |
1035 | |
1038 | if test x$support_afterstep = xyes; then |
1036 | if test x$support_afterstep = xyes; then |
1039 | echo " With AfterStep integration" |
1037 | echo " AfterStep integration: yes" |
1040 | fi |
1038 | fi |
1041 | |
1039 | |
1042 | if test x$term != x; then |
1040 | if test x$term != x; then |
1043 | echo " set TERM to: $term" |
1041 | echo " set TERM to: $term" |
1044 | fi |
1042 | fi |