--- rxvt-unicode/configure 2007/06/09 13:04:27 1.103 +++ rxvt-unicode/configure 2007/06/26 00:40:18 1.105 @@ -679,14 +679,9 @@ GREP EGREP LINKER +CXXLIB INSTALL_LIBRXVT RXVTNAME -MV -CP -LN -SED -ECHO -CMP TIC XMKMF CXXCPP @@ -712,9 +707,6 @@ PERLPRIVLIBEXP IF_PERL PERL_O -DEBUG -DINCLUDE -DLIB LIBAFTERIMAGE_CFLAGS AFTERIMAGE_LIBS include_stdint_h @@ -3865,8 +3857,11 @@ test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then - { echo "$as_me:$LINENO: result: ok" >&5 + + { echo "$as_me:$LINENO: result: ok" >&5 echo "${ECHO_T}ok" >&6; } + CXXLIB="-lsupc++" + else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 @@ -3887,6 +3882,7 @@ LINKER=$LINKER + if test -z "$orig_CXXFLAGS"; then if test x$GCC = xyes && test "x$GXX" = xyes; then CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" @@ -3947,17 +3943,7 @@ *-*-solaris* ) cat >>confdefs.h <<\_ACEOF -#define _XOPEN_SOURCE_EXTENDED 1 -_ACEOF - - -cat >>confdefs.h <<\_ACEOF -#define _XOPEN_SOURCE 2 -_ACEOF - - -cat >>confdefs.h <<\_ACEOF -#define __EXTENSIONS__ 1 +#define _XOPEN_SOURCE 500 _ACEOF ;; @@ -4578,7 +4564,9 @@ # Check whether --with-afterimage_config was given. if test "${with_afterimage_config+set}" = set; then - withval=$with_afterimage_config; afterimage_config="$withval" + withval=$with_afterimage_config; if test "x$withval" != x; then + afterimage_config=$withval/afterimage-config + fi fi @@ -4889,252 +4877,6 @@ -# Extract the first word of "mv", so it can be a program name with args. -set dummy mv; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_MV+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $MV in - [\\/]* | ?:[\\/]*) - ac_cv_path_MV="$MV" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv" - ;; -esac -fi -MV=$ac_cv_path_MV -if test -n "$MV"; then - { echo "$as_me:$LINENO: result: $MV" >&5 -echo "${ECHO_T}$MV" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -# Extract the first word of "cp", so it can be a program name with args. -set dummy cp; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_CP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $CP in - [\\/]* | ?:[\\/]*) - ac_cv_path_CP="$CP" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp" - ;; -esac -fi -CP=$ac_cv_path_CP -if test -n "$CP"; then - { echo "$as_me:$LINENO: result: $CP" >&5 -echo "${ECHO_T}$CP" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -# Extract the first word of "ln", so it can be a program name with args. -set dummy ln; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_LN+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $LN in - [\\/]* | ?:[\\/]*) - ac_cv_path_LN="$LN" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln" - ;; -esac -fi -LN=$ac_cv_path_LN -if test -n "$LN"; then - { echo "$as_me:$LINENO: result: $LN" >&5 -echo "${ECHO_T}$LN" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -# Extract the first word of "sed", so it can be a program name with args. -set dummy sed; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_SED+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $SED in - [\\/]* | ?:[\\/]*) - ac_cv_path_SED="$SED" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed" - ;; -esac -fi -SED=$ac_cv_path_SED -if test -n "$SED"; then - { echo "$as_me:$LINENO: result: $SED" >&5 -echo "${ECHO_T}$SED" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -# Extract the first word of "echo", so it can be a program name with args. -set dummy echo; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_ECHO+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $ECHO in - [\\/]* | ?:[\\/]*) - ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo" - ;; -esac -fi -ECHO=$ac_cv_path_ECHO -if test -n "$ECHO"; then - { echo "$as_me:$LINENO: result: $ECHO" >&5 -echo "${ECHO_T}$ECHO" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -# Extract the first word of "cmp", so it can be a program name with args. -set dummy cmp; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_CMP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $CMP in - [\\/]* | ?:[\\/]*) - ac_cv_path_CMP="$CMP" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp" - ;; -esac -fi -CMP=$ac_cv_path_CMP -if test -n "$CMP"; then - { echo "$as_me:$LINENO: result: $CMP" >&5 -echo "${ECHO_T}$CMP" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - # Extract the first word of "tic", so it can be a program name with args. set dummy tic; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 @@ -6728,7 +6470,7 @@ if test x$support_afterimage = xyes; then support_afterimage=no - if test "x$afterimage_config" = "x" ; then + if test "x$afterimage_config" = "x" ; then # Extract the first word of "afterimage-config", so it can be a program name with args. set dummy afterimage-config; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 @@ -6770,8 +6512,6 @@ fi - else - afterimage_config=$afterimage_config/afterimage-config fi { echo "$as_me:$LINENO: checking for libAfterImage" >&5 @@ -12088,8 +11828,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then - { echo "$as_me:$LINENO: WARNING: Define NO_XLOCALE in config.h manually" >&5 -echo "$as_me: WARNING: Define NO_XLOCALE in config.h manually" >&2;} + : else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -12142,12 +11881,14 @@ fi { echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; } -if test x$rxvt_cv_func_xlocale = xyes; then +if test x$support_xim = xyes; then + if test x$rxvt_cv_func_xlocale = xyes; then cat >>confdefs.h <<\_ACEOF -#define HAVE_XLOCALE 1 +#define USE_XIM 1 _ACEOF + fi fi { echo "$as_me:$LINENO: checking for working X setlocale" >&5 @@ -13480,7 +13221,7 @@ if test x$support_inheritpixmap = xyes; then cat >>confdefs.h <<\_ACEOF -#define TRANSPARENT 1 +#define ENABLE_TRANSPARENCY 1 _ACEOF fi @@ -13519,15 +13260,6 @@ _ACEOF fi -if test x$support_xim = xyes -o x$multichar_set = xyes; then - if test x$rxvt_cv_func_xlocale = xyes; then - -cat >>confdefs.h <<\_ACEOF -#define USE_XIM 1 -_ACEOF - - fi -fi if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then cat >>confdefs.h <<\_ACEOF @@ -13838,10 +13570,7 @@ - - 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"` @@ -13854,7 +13583,6 @@ - test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. @@ -14625,14 +14353,9 @@ GREP!$GREP$ac_delim EGREP!$EGREP$ac_delim LINKER!$LINKER$ac_delim +CXXLIB!$CXXLIB$ac_delim INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim RXVTNAME!$RXVTNAME$ac_delim -MV!$MV$ac_delim -CP!$CP$ac_delim -LN!$LN$ac_delim -SED!$SED$ac_delim -ECHO!$ECHO$ac_delim -CMP!$CMP$ac_delim TIC!$TIC$ac_delim XMKMF!$XMKMF$ac_delim CXXCPP!$CXXCPP$ac_delim @@ -14656,6 +14379,11 @@ PERLLIB!$PERLLIB$ac_delim PERLFLAGS!$PERLFLAGS$ac_delim PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim +IF_PERL!$IF_PERL$ac_delim +PERL_O!$PERL_O$ac_delim +LIBAFTERIMAGE_CFLAGS!$LIBAFTERIMAGE_CFLAGS$ac_delim +AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim +include_stdint_h!$include_stdint_h$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then @@ -14697,14 +14425,6 @@ ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF -IF_PERL!$IF_PERL$ac_delim -PERL_O!$PERL_O$ac_delim -DEBUG!$DEBUG$ac_delim -DINCLUDE!$DINCLUDE$ac_delim -DLIB!$DLIB$ac_delim -LIBAFTERIMAGE_CFLAGS!$LIBAFTERIMAGE_CFLAGS$ac_delim -AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim -include_stdint_h!$include_stdint_h$ac_delim include_stdarg_h!$include_stdarg_h$ac_delim include_stdlib_h!$include_stdlib_h$ac_delim include_unistd_h!$include_unistd_h$ac_delim @@ -14721,7 +14441,7 @@ LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 22; then + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 @@ -15169,7 +14889,7 @@ fi if test x$support_afterstep = xyes; then - echo " AfterStep intergration: yes" + echo " AfterStep integration: yes" fi if test x$term != x; then