--- rxvt-unicode/configure.ac 2011/12/13 19:13:27 1.131 +++ rxvt-unicode/configure.ac 2011/12/14 13:34:20 1.133 @@ -97,7 +97,6 @@ support_xim=yes support_pixbuf=yes support_startup_notification=yes -support_afterimage=yes support_xft=yes support_unicode3=no support_combining=yes @@ -134,7 +133,6 @@ support_xim=no support_pixbuf=no support_startup_notification=no - support_afterimage=no support_xft=no support_unicode3=no support_combining=no @@ -163,7 +161,6 @@ support_xim=yes support_pixbuf=yes support_startup_notification=yes - support_afterimage=yes support_xft=yes support_unicode3=yes support_combining=yes @@ -175,24 +172,24 @@ fi ]) -ASSERTIONS=no +support_assertions=no AC_ARG_ENABLE(assert, [ --enable-assert enable assertions], [if test x$enableval = xyes; then - ASSERTIONS=yes + support_assertions=yes fi]) -if test x$ASSERTIONS = xno; then +if test x$support_assertions = xno; then AC_DEFINE(NDEBUG, 1, Disable assertions (good for debugging)) fi -WARNINGS=no +support_warnings=no AC_ARG_ENABLE(warnings, [ --enable-warnings turn on g++ warnings], [if test x$enableval = xyes; then - WARNINGS=yes + support_warnings=yes fi]) if test x$GXX = xyes; then - if test $WARNINGS = yes; then + if test $support_warnings = yes; then save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-non-virtual-dtor" AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])], [], [CXXFLAGS="$save_CXXFLAGS"]) @@ -236,7 +233,7 @@ fi]) AC_ARG_ENABLE(afterimage, - [ --enable-afterimage enable integration with libAfterImage for background images], + [ --enable-afterimage enable integration with libAfterImage for background images (deprecated)], [if test x$enableval = xyes -o x$enableval = xno; then support_afterimage=$enableval fi])