… | |
… | |
241 | [ --with-afterimage-config=DIR use libAfterImage config script in DIR], |
241 | [ --with-afterimage-config=DIR use libAfterImage config script in DIR], |
242 | [if test "x$withval" != x; then |
242 | [if test "x$withval" != x; then |
243 | afterimage_config=$withval/afterimage-config |
243 | afterimage_config=$withval/afterimage-config |
244 | fi]) |
244 | fi]) |
245 | |
245 | |
246 | AC_ARG_ENABLE(afterstep, |
246 | dnl AC_ARG_ENABLE(afterstep, |
247 | [ --enable-afterstep enable integration with AfterStep window manager], |
247 | dnl [ --enable-afterstep enable integration with AfterStep window manager], |
248 | [if test x$enableval = xyes -o x$enableval = xno; then |
248 | dnl [if test x$enableval = xyes -o x$enableval = xno; then |
249 | support_afterstep=$enableval |
249 | dnl support_afterstep=$enableval |
250 | fi]) |
250 | dnl fi]) |
251 | |
251 | |
252 | AC_ARG_ENABLE(transparency, |
252 | AC_ARG_ENABLE(transparency, |
253 | [ --enable-transparency enable transparent backgrounds], |
253 | [ --enable-transparency enable transparent backgrounds], |
254 | [if test x$enableval = xyes -o x$enableval = xno; then |
254 | [if test x$enableval = xyes -o x$enableval = xno; then |
255 | support_inheritpixmap=$enableval |
255 | support_inheritpixmap=$enableval |
… | |
… | |
467 | support_afterimage=no |
467 | support_afterimage=no |
468 | |
468 | |
469 | if test "x$afterimage_config" = "x" ; then |
469 | if test "x$afterimage_config" = "x" ; then |
470 | AC_PATH_PROG(afterimage_config, afterimage-config, no) |
470 | AC_PATH_PROG(afterimage_config, afterimage-config, no) |
471 | fi |
471 | fi |
472 | AC_PROG_AWK |
|
|
473 | AC_MSG_CHECKING(for libAfterImage version >= 1.15) |
472 | AC_MSG_CHECKING(for libAfterImage version >= 1.15) |
474 | AFTERIMAGE_VERSION=`$afterimage_config --version` |
473 | AFTERIMAGE_VERSION=`$afterimage_config --version` |
475 | if test -n $AFTERIMAGE_VERSION ; then |
474 | if test -n "$AFTERIMAGE_VERSION" ; then |
476 | AFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
475 | AFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
477 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
476 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
478 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
477 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
479 | libai_ver_major=`echo $AFTERIMAGE_VERSION | $AWK -F . '{print $1}'` |
478 | libai_ver_major=`echo $AFTERIMAGE_VERSION | cut -f 1 -d .` |
480 | libai_ver_minor=`echo $AFTERIMAGE_VERSION | $AWK -F . '{print $2}'` |
479 | libai_ver_minor=`echo $AFTERIMAGE_VERSION | cut -f 2 -d .` |
481 | if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then |
480 | if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then |
482 | support_afterimage=yes |
481 | support_afterimage=yes |
483 | fi |
482 | fi |
484 | fi |
483 | fi |
485 | fi |
484 | fi |
… | |
… | |
805 | |
804 | |
806 | if test x$support_afterimage = xyes; then |
805 | if test x$support_afterimage = xyes; then |
807 | AC_DEFINE(HAVE_AFTERIMAGE, 1, Define if you want to use libAfterImage for image processing) |
806 | AC_DEFINE(HAVE_AFTERIMAGE, 1, Define if you want to use libAfterImage for image processing) |
808 | fi |
807 | fi |
809 | |
808 | |
810 | if test x$support_afterstep = xyes; then |
809 | dnl if test x$support_afterstep = xyes; then |
811 | AC_DEFINE(AFTERSTEP_INTEGRATION, 1, Define if you want to integrate with AfterStep window manager) |
810 | dnl AC_DEFINE(AFTERSTEP_INTEGRATION, 1, Define if you want to integrate with AfterStep window manager) |
812 | fi |
811 | dnl fi |
813 | |
812 | |
814 | if test x$support_scroll_rxvt = xyes; then |
813 | if test x$support_scroll_rxvt = xyes; then |
815 | AC_DEFINE(RXVT_SCROLLBAR, 1, Support Rxvt original style scrollbars) |
814 | AC_DEFINE(RXVT_SCROLLBAR, 1, Support Rxvt original style scrollbars) |
816 | scrolltypes="rxvt" |
815 | scrolltypes="rxvt" |
817 | fi |
816 | fi |
… | |
… | |
968 | |
967 | |
969 | if test x$support_afterimage = xyes; then |
968 | if test x$support_afterimage = xyes; then |
970 | echo " AfterImage support: yes" |
969 | echo " AfterImage support: yes" |
971 | fi |
970 | fi |
972 | |
971 | |
973 | if test x$support_afterstep = xyes; then |
972 | dnl if test x$support_afterstep = xyes; then |
974 | echo " AfterStep integration: yes" |
973 | dnl echo " AfterStep integration: yes" |
975 | fi |
974 | dnl fi |
976 | |
975 | |
977 | if test x$term != x; then |
976 | if test x$term != x; then |
978 | echo " set TERM to: $term" |
977 | echo " set TERM to: $term" |
979 | fi |
978 | fi |
980 | if test x$terminfo != x; then |
979 | if test x$terminfo != x; then |