… | |
… | |
3288 | conftest$ac_exeext conftest.$ac_ext |
3288 | conftest$ac_exeext conftest.$ac_ext |
3289 | CXX="$save_CXX" |
3289 | CXX="$save_CXX" |
3290 | fi |
3290 | fi |
3291 | LINKER=$LINKER |
3291 | LINKER=$LINKER |
3292 | |
3292 | |
3293 | |
|
|
3294 | ac_ext=cc |
|
|
3295 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3296 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3297 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3298 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3299 | |
3293 | |
3300 | if test -z "$orig_CXXFLAGS"; then |
3294 | if test -z "$orig_CXXFLAGS"; then |
3301 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3295 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3302 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3296 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3303 | cat >conftest.$ac_ext <<_ACEOF |
3297 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
7338 | |
7332 | |
7339 | fi |
7333 | fi |
7340 | LIBS=$ac_save_LIBS |
7334 | LIBS=$ac_save_LIBS |
7341 | CFLAGS=$ac_save_CFLAGS |
7335 | CFLAGS=$ac_save_CFLAGS |
7342 | |
7336 | |
|
|
7337 | echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
|
|
7338 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6 |
|
|
7339 | if test "${rxvt_xlib_illegal_access+set}" = set; then |
|
|
7340 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7341 | else |
|
|
7342 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7343 | /* confdefs.h. */ |
|
|
7344 | _ACEOF |
|
|
7345 | cat confdefs.h >>conftest.$ac_ext |
|
|
7346 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7347 | /* end confdefs.h. */ |
|
|
7348 | |
|
|
7349 | #define XLIB_ILLEGAL_ACCESS |
|
|
7350 | #include <X11/Xlib.h> |
|
|
7351 | |
|
|
7352 | int |
|
|
7353 | main () |
|
|
7354 | { |
|
|
7355 | |
|
|
7356 | Display *dpy; |
|
|
7357 | dpy->xdefaults = (char *)0; |
|
|
7358 | |
|
|
7359 | ; |
|
|
7360 | return 0; |
|
|
7361 | } |
|
|
7362 | _ACEOF |
|
|
7363 | rm -f conftest.$ac_objext |
|
|
7364 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7365 | (eval $ac_compile) 2>conftest.er1 |
|
|
7366 | ac_status=$? |
|
|
7367 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7368 | rm -f conftest.er1 |
|
|
7369 | cat conftest.err >&5 |
|
|
7370 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7371 | (exit $ac_status); } && |
|
|
7372 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
7373 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7374 | (eval $ac_try) 2>&5 |
|
|
7375 | ac_status=$? |
|
|
7376 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7377 | (exit $ac_status); }; } && |
|
|
7378 | { ac_try='test -s conftest.$ac_objext' |
|
|
7379 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7380 | (eval $ac_try) 2>&5 |
|
|
7381 | ac_status=$? |
|
|
7382 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7383 | (exit $ac_status); }; }; then |
|
|
7384 | rxvt_xlib_illegal_access=yes |
|
|
7385 | else |
|
|
7386 | echo "$as_me: failed program was:" >&5 |
|
|
7387 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7388 | |
|
|
7389 | rxvt_xlib_illegal_access=no |
|
|
7390 | |
|
|
7391 | fi |
|
|
7392 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7393 | fi |
|
|
7394 | echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5 |
|
|
7395 | echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6 |
|
|
7396 | if test x$rxvt_xlib_illegal_access = xyes; then |
|
|
7397 | |
|
|
7398 | cat >>confdefs.h <<\_ACEOF |
|
|
7399 | #define XLIB_ILLEGAL_ACCESS 1 |
|
|
7400 | _ACEOF |
|
|
7401 | |
|
|
7402 | fi |
7343 | |
7403 | |
7344 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
7404 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
7345 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7405 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7346 | if test "${ac_cv_c_const+set}" = set; then |
7406 | if test "${ac_cv_c_const+set}" = set; then |
7347 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7407 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
13212 | |
13272 | |
13213 | |
13273 | |
13214 | |
13274 | |
13215 | |
13275 | |
13216 | |
13276 | |
|
|
13277 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13278 | /* confdefs.h. */ |
|
|
13279 | _ACEOF |
|
|
13280 | cat confdefs.h >>conftest.$ac_ext |
|
|
13281 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13282 | /* end confdefs.h. */ |
|
|
13283 | |
|
|
13284 | #include <EXTERN.h> |
|
|
13285 | #include <perl.h> |
|
|
13286 | #include <XSUB.h> |
|
|
13287 | |
|
|
13288 | int |
|
|
13289 | main () |
|
|
13290 | { |
|
|
13291 | |
|
|
13292 | PerlInterpreter *perl = perl_alloc (); |
|
|
13293 | |
|
|
13294 | ; |
|
|
13295 | return 0; |
|
|
13296 | } |
|
|
13297 | _ACEOF |
|
|
13298 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
13299 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13300 | (eval $ac_link) 2>conftest.er1 |
|
|
13301 | ac_status=$? |
|
|
13302 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13303 | rm -f conftest.er1 |
|
|
13304 | cat conftest.err >&5 |
|
|
13305 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13306 | (exit $ac_status); } && |
|
|
13307 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13308 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13309 | (eval $ac_try) 2>&5 |
|
|
13310 | ac_status=$? |
|
|
13311 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13312 | (exit $ac_status); }; } && |
|
|
13313 | { ac_try='test -s conftest$ac_exeext' |
|
|
13314 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13315 | (eval $ac_try) 2>&5 |
|
|
13316 | ac_status=$? |
|
|
13317 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13318 | (exit $ac_status); }; }; then |
|
|
13319 | rxvt_perl_link=yes |
|
|
13320 | else |
|
|
13321 | echo "$as_me: failed program was:" >&5 |
|
|
13322 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13323 | |
|
|
13324 | rxvt_perl_link=no |
|
|
13325 | fi |
|
|
13326 | rm -f conftest.err conftest.$ac_objext \ |
|
|
13327 | conftest$ac_exeext conftest.$ac_ext |
13217 | if test x$support_perl = xyes; then |
13328 | if test x$support_perl = xyes; then |
13218 | support_frills=yes |
13329 | support_frills=yes |
13219 | fi |
13330 | fi |
13220 | |
13331 | |
13221 | |
|
|
13222 | CFLAGS=${CFLAGS--O} |
|
|
13223 | LDFLAGS=${LDFLAGS--O} |
|
|
13224 | |
|
|
13225 | CPPFLAGS="$CPPFLAGS" |
|
|
13226 | |
13332 | |
13227 | |
13333 | |
13228 | |
13334 | |
13229 | |
13335 | |
13230 | |
13336 | |