Mercurial > emacs
comparison configure @ 83558:8e46638e99c7
Re-enable GTK multidisplay support.
* configure.in (HAVE_GTK_MULTIDISPLAY): Remove override.
* configure: Regenerate.
* xterm.c (x_term_init): Reword error string for GTK.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-598
author | Karoly Lorentey <karoly@lorentey.hu> |
---|---|
date | Sat, 24 Feb 2007 20:29:24 +0000 |
parents | 07774e5c3ff5 |
children | edf631bdbb7a |
comparison
equal
deleted
inserted
replaced
83557:8aaa2a0d400f | 83558:8e46638e99c7 |
---|---|
11104 | 11104 |
11105 if test "$with_toolkit_scroll_bars" != no; then | 11105 if test "$with_toolkit_scroll_bars" != no; then |
11106 with_toolkit_scroll_bars=yes | 11106 with_toolkit_scroll_bars=yes |
11107 fi | 11107 fi |
11108 | 11108 |
11109 HAVE_GTK_MULTIDISPLAY=no | 11109 |
11110 for ac_func in gdk_display_open | |
11111 do | |
11112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
11113 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
11114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | |
11115 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
11116 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11117 else | |
11118 cat >conftest.$ac_ext <<_ACEOF | |
11119 /* confdefs.h. */ | |
11120 _ACEOF | |
11121 cat confdefs.h >>conftest.$ac_ext | |
11122 cat >>conftest.$ac_ext <<_ACEOF | |
11123 /* end confdefs.h. */ | |
11124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
11125 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
11126 #define $ac_func innocuous_$ac_func | |
11127 | |
11128 /* System header to define __stub macros and hopefully few prototypes, | |
11129 which can conflict with char $ac_func (); below. | |
11130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
11131 <limits.h> exists even on freestanding compilers. */ | |
11132 | |
11133 #ifdef __STDC__ | |
11134 # include <limits.h> | |
11135 #else | |
11136 # include <assert.h> | |
11137 #endif | |
11138 | |
11139 #undef $ac_func | |
11140 | |
11141 /* Override any GCC internal prototype to avoid an error. | |
11142 Use char because int might match the return type of a GCC | |
11143 builtin and then its argument prototype would still apply. */ | |
11144 #ifdef __cplusplus | |
11145 extern "C" | |
11146 #endif | |
11147 char $ac_func (); | |
11148 /* The GNU C library defines this for functions which it implements | |
11149 to always fail with ENOSYS. Some functions are actually named | |
11150 something starting with __ and the normal name is an alias. */ | |
11151 #if defined __stub_$ac_func || defined __stub___$ac_func | |
11152 choke me | |
11153 #endif | |
11154 | |
11155 int | |
11156 main () | |
11157 { | |
11158 return $ac_func (); | |
11159 ; | |
11160 return 0; | |
11161 } | |
11162 _ACEOF | |
11163 rm -f conftest.$ac_objext conftest$ac_exeext | |
11164 if { (ac_try="$ac_link" | |
11165 case "(($ac_try" in | |
11166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11167 *) ac_try_echo=$ac_try;; | |
11168 esac | |
11169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11170 (eval "$ac_link") 2>conftest.er1 | |
11171 ac_status=$? | |
11172 grep -v '^ *+' conftest.er1 >conftest.err | |
11173 rm -f conftest.er1 | |
11174 cat conftest.err >&5 | |
11175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11176 (exit $ac_status); } && { | |
11177 test -z "$ac_c_werror_flag" || | |
11178 test ! -s conftest.err | |
11179 } && test -s conftest$ac_exeext && | |
11180 $as_test_x conftest$ac_exeext; then | |
11181 eval "$as_ac_var=yes" | |
11182 else | |
11183 echo "$as_me: failed program was:" >&5 | |
11184 sed 's/^/| /' conftest.$ac_ext >&5 | |
11185 | |
11186 eval "$as_ac_var=no" | |
11187 fi | |
11188 | |
11189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
11190 conftest$ac_exeext conftest.$ac_ext | |
11191 fi | |
11192 ac_res=`eval echo '${'$as_ac_var'}'` | |
11193 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
11194 echo "${ECHO_T}$ac_res" >&6; } | |
11195 if test `eval echo '${'$as_ac_var'}'` = yes; then | |
11196 cat >>confdefs.h <<_ACEOF | |
11197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
11198 _ACEOF | |
11199 HAVE_GTK_MULTIDISPLAY=yes | |
11200 fi | |
11201 done | |
11202 | |
11203 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then | |
11204 | |
11205 cat >>confdefs.h <<\_ACEOF | |
11206 #define HAVE_GTK_MULTIDISPLAY 1 | |
11207 _ACEOF | |
11208 | |
11209 fi | |
11110 | 11210 |
11111 HAVE_GTK_FILE_SELECTION=no | 11211 HAVE_GTK_FILE_SELECTION=no |
11112 | 11212 |
11113 for ac_func in gtk_file_selection_new | 11213 for ac_func in gtk_file_selection_new |
11114 do | 11214 do |