--- rxvt-unicode/configure.ac 2007/06/09 13:04:27 1.45 +++ rxvt-unicode/configure.ac 2007/06/13 11:30:42 1.50 @@ -241,7 +241,9 @@ AC_ARG_WITH(afterimage_config, [ --with-afterimage-config=DIR use libAfterImage config script in DIR], - [afterimage_config="$withval"]) + [if test "x$withval" != x; then + afterimage_config=$withval/afterimage-config + fi]) AC_ARG_ENABLE(afterstep, [ --enable-afterstep enable integration with AfterStep window manager], @@ -439,12 +441,9 @@ dnl# -------------------------------------------------------------------------- -AC_PATH_PROG(MV, mv, mv) AC_PATH_PROG(CP, cp, cp) -AC_PATH_PROG(LN, ln, ln) AC_PATH_PROG(SED, sed, sed) AC_PATH_PROG(ECHO, echo, echo) -AC_PATH_PROG(CMP, cmp, cmp) AC_PATH_PROG(TIC, tic) dnl# need a neat way to detect SVR4 or its features @@ -472,10 +471,8 @@ if test x$support_afterimage = xyes; then support_afterimage=no - if test "x$afterimage_config" = "x" ; then + if test "x$afterimage_config" = "x" ; then AC_PATH_PROG(afterimage_config, afterimage-config, no) - else - afterimage_config=$afterimage_config/afterimage-config fi AC_MSG_CHECKING(for libAfterImage) @@ -959,8 +956,6 @@ support_frills=yes fi -AC_SUBST(DEBUG) -AC_SUBST(DINCLUDE) AC_SUBST(CFLAGS) AC_SUBST(CPPFLAGS) AC_SUBST(LDFLAGS) @@ -968,13 +963,11 @@ dnl# Attack the libs if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then - DLIB=`echo $DLIB | sed "$R_TRANSLATE"` LIBS=`echo $LIBS | sed "$R_TRANSLATE"` X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` fi -AC_SUBST(DLIB) AC_SUBST(LIBS) AC_SUBST(X_LIBS) AC_SUBST(X_EXTRA_LIBS) @@ -1034,7 +1027,7 @@ fi if test x$support_afterstep = xyes; then - echo " AfterStep intergration: yes" + echo " AfterStep integration: yes" fi if test x$term != x; then