… | |
… | |
239 | support_afterimage=$enableval |
239 | support_afterimage=$enableval |
240 | fi]) |
240 | fi]) |
241 | |
241 | |
242 | AC_ARG_WITH(afterimage_config, |
242 | AC_ARG_WITH(afterimage_config, |
243 | [ --with-afterimage-config=DIR use libAfterImage config script in DIR], |
243 | [ --with-afterimage-config=DIR use libAfterImage config script in DIR], |
244 | [afterimage_config="$withval"]) |
244 | [if test "x$withval" != x; then |
|
|
245 | afterimage_config=$withval/afterimage-config |
|
|
246 | fi]) |
245 | |
247 | |
246 | AC_ARG_ENABLE(afterstep, |
248 | AC_ARG_ENABLE(afterstep, |
247 | [ --enable-afterstep enable integration with AfterStep window manager], |
249 | [ --enable-afterstep enable integration with AfterStep window manager], |
248 | [if test x$enableval = xyes -o x$enableval = xno; then |
250 | [if test x$enableval = xyes -o x$enableval = xno; then |
249 | support_afterstep=$enableval |
251 | support_afterstep=$enableval |
… | |
… | |
472 | if test x$support_afterimage = xyes; then |
474 | if test x$support_afterimage = xyes; then |
473 | support_afterimage=no |
475 | support_afterimage=no |
474 | |
476 | |
475 | if test "x$afterimage_config" = "x" ; then |
477 | if test "x$afterimage_config" = "x" ; then |
476 | AC_PATH_PROG(afterimage_config, afterimage-config, no) |
478 | AC_PATH_PROG(afterimage_config, afterimage-config, no) |
477 | else |
|
|
478 | afterimage_config=$afterimage_config/afterimage-config |
|
|
479 | fi |
479 | fi |
480 | |
480 | |
481 | AC_MSG_CHECKING(for libAfterImage) |
481 | AC_MSG_CHECKING(for libAfterImage) |
482 | if $afterimage_config --version >/dev/null 2>&1 ; then |
482 | if $afterimage_config --version >/dev/null 2>&1 ; then |
483 | LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
483 | LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
… | |
… | |
957 | |
957 | |
958 | if test x$support_perl = xyes; then |
958 | if test x$support_perl = xyes; then |
959 | support_frills=yes |
959 | support_frills=yes |
960 | fi |
960 | fi |
961 | |
961 | |
962 | AC_SUBST(DEBUG) |
|
|
963 | AC_SUBST(DINCLUDE) |
|
|
964 | AC_SUBST(CFLAGS) |
962 | AC_SUBST(CFLAGS) |
965 | AC_SUBST(CPPFLAGS) |
963 | AC_SUBST(CPPFLAGS) |
966 | AC_SUBST(LDFLAGS) |
964 | AC_SUBST(LDFLAGS) |
967 | AC_SUBST(X_CFLAGS) |
965 | AC_SUBST(X_CFLAGS) |
968 | |
966 | |
969 | dnl# Attack the libs |
967 | dnl# Attack the libs |
970 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
968 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
971 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
972 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
969 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
973 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
970 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
974 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
971 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
975 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
972 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
976 | fi |
973 | fi |
977 | AC_SUBST(DLIB) |
|
|
978 | AC_SUBST(LIBS) |
974 | AC_SUBST(LIBS) |
979 | AC_SUBST(X_LIBS) |
975 | AC_SUBST(X_LIBS) |
980 | AC_SUBST(X_EXTRA_LIBS) |
976 | AC_SUBST(X_EXTRA_LIBS) |
981 | |
977 | |
982 | AC_SUBST(LIBAFTERIMAGE_CFLAGS) |
978 | AC_SUBST(LIBAFTERIMAGE_CFLAGS) |
… | |
… | |
1032 | if test x$support_afterimage = xyes; then |
1028 | if test x$support_afterimage = xyes; then |
1033 | echo " AfterImage support: yes" |
1029 | echo " AfterImage support: yes" |
1034 | fi |
1030 | fi |
1035 | |
1031 | |
1036 | if test x$support_afterstep = xyes; then |
1032 | if test x$support_afterstep = xyes; then |
1037 | echo " AfterStep intergration: yes" |
1033 | echo " AfterStep integration: yes" |
1038 | fi |
1034 | fi |
1039 | |
1035 | |
1040 | if test x$term != x; then |
1036 | if test x$term != x; then |
1041 | echo " set TERM to: $term" |
1037 | echo " set TERM to: $term" |
1042 | fi |
1038 | fi |