… | |
… | |
2261 | $as_echo "$ac_res" >&6; } |
2261 | $as_echo "$ac_res" >&6; } |
2262 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2262 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2263 | |
2263 | |
2264 | } # ac_fn_c_find_uintX_t |
2264 | } # ac_fn_c_find_uintX_t |
2265 | |
2265 | |
|
|
2266 | # ac_fn_cxx_check_member LINENO AGGR MEMBER VAR INCLUDES |
|
|
2267 | # ------------------------------------------------------ |
|
|
2268 | # Tries to find if the field MEMBER exists in type AGGR, after including |
|
|
2269 | # INCLUDES, setting cache variable VAR accordingly. |
|
|
2270 | ac_fn_cxx_check_member () |
|
|
2271 | { |
|
|
2272 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
2273 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
|
|
2274 | $as_echo_n "checking for $2.$3... " >&6; } |
|
|
2275 | if eval \${$4+:} false; then : |
|
|
2276 | $as_echo_n "(cached) " >&6 |
|
|
2277 | else |
|
|
2278 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2279 | /* end confdefs.h. */ |
|
|
2280 | $5 |
|
|
2281 | int |
|
|
2282 | main () |
|
|
2283 | { |
|
|
2284 | static $2 ac_aggr; |
|
|
2285 | if (ac_aggr.$3) |
|
|
2286 | return 0; |
|
|
2287 | ; |
|
|
2288 | return 0; |
|
|
2289 | } |
|
|
2290 | _ACEOF |
|
|
2291 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
2292 | eval "$4=yes" |
|
|
2293 | else |
|
|
2294 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2295 | /* end confdefs.h. */ |
|
|
2296 | $5 |
|
|
2297 | int |
|
|
2298 | main () |
|
|
2299 | { |
|
|
2300 | static $2 ac_aggr; |
|
|
2301 | if (sizeof ac_aggr.$3) |
|
|
2302 | return 0; |
|
|
2303 | ; |
|
|
2304 | return 0; |
|
|
2305 | } |
|
|
2306 | _ACEOF |
|
|
2307 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
2308 | eval "$4=yes" |
|
|
2309 | else |
|
|
2310 | eval "$4=no" |
|
|
2311 | fi |
|
|
2312 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
2313 | fi |
|
|
2314 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
2315 | fi |
|
|
2316 | eval ac_res=\$$4 |
|
|
2317 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
2318 | $as_echo "$ac_res" >&6; } |
|
|
2319 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
2320 | |
|
|
2321 | } # ac_fn_cxx_check_member |
|
|
2322 | |
2266 | # ac_fn_cxx_try_run LINENO |
2323 | # ac_fn_cxx_try_run LINENO |
2267 | # ------------------------ |
2324 | # ------------------------ |
2268 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
2325 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
2269 | # that executables *can* be run. |
2326 | # that executables *can* be run. |
2270 | ac_fn_cxx_try_run () |
2327 | ac_fn_cxx_try_run () |
… | |
… | |
4949 | |
5006 | |
4950 | fi |
5007 | fi |
4951 | fi |
5008 | fi |
4952 | |
5009 | |
4953 | |
5010 | |
|
|
5011 | support_resources=yes |
4954 | # Check whether --enable-resources was given. |
5012 | # Check whether --enable-resources was given. |
4955 | if test "${enable_resources+set}" = set; then : |
5013 | if test "${enable_resources+set}" = set; then : |
4956 | enableval=$enable_resources; if test x$enableval = xno; then |
5014 | enableval=$enable_resources; if test x$enableval = xno; then |
4957 | |
5015 | support_resources=no |
4958 | $as_echo "#define NO_RESOURCES 1" >>confdefs.h |
|
|
4959 | |
|
|
4960 | fi |
5016 | fi |
4961 | fi |
5017 | fi |
4962 | |
5018 | |
4963 | |
5019 | |
4964 | # Check whether --enable-8bitctrls was given. |
5020 | # Check whether --enable-8bitctrls was given. |
… | |
… | |
5136 | _ACEOF |
5192 | _ACEOF |
5137 | terminfo="$withval" |
5193 | terminfo="$withval" |
5138 | fi |
5194 | fi |
5139 | fi |
5195 | fi |
5140 | |
5196 | |
|
|
5197 | |
|
|
5198 | if test x$support_resources = xno; then |
|
|
5199 | if test x$support_frills = xyes || test x$support_perl = xyes; then |
|
|
5200 | as_fn_error $? "--disable-resources requires --disable-frills --disable-perl" "$LINENO" 5 |
|
|
5201 | fi |
|
|
5202 | |
|
|
5203 | |
|
|
5204 | $as_echo "#define NO_RESOURCES 1" >>confdefs.h |
|
|
5205 | |
|
|
5206 | fi |
5141 | |
5207 | |
5142 | |
5208 | |
5143 | LIBEV_M4_AVOID_LIBRT=1 |
5209 | LIBEV_M4_AVOID_LIBRT=1 |
5144 | |
5210 | |
5145 | ac_ext=cpp |
5211 | ac_ext=cpp |
… | |
… | |
6270 | LDFLAGS=$ac_save_LDFLAGS |
6336 | LDFLAGS=$ac_save_LDFLAGS |
6271 | |
6337 | |
6272 | fi |
6338 | fi |
6273 | |
6339 | |
6274 | |
6340 | |
6275 | image_lib=none |
6341 | if test -n "$ac_tool_prefix"; then |
6276 | |
|
|
6277 | PIXBUF_CFLAGS= |
|
|
6278 | PIXBUF_LIBS= |
|
|
6279 | |
|
|
6280 | if test x$support_pixbuf = xyes; then |
|
|
6281 | support_pixbuf=no |
|
|
6282 | # Extract the first word of "pkg-config", so it can be a program name with args. |
6342 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
6283 | set dummy pkg-config; ac_word=$2 |
6343 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
6284 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6344 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6285 | $as_echo_n "checking for $ac_word... " >&6; } |
6345 | $as_echo_n "checking for $ac_word... " >&6; } |
6286 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6346 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6287 | $as_echo_n "(cached) " >&6 |
6347 | $as_echo_n "(cached) " >&6 |
6288 | else |
6348 | else |
… | |
… | |
6304 | fi |
6364 | fi |
6305 | done |
6365 | done |
6306 | done |
6366 | done |
6307 | IFS=$as_save_IFS |
6367 | IFS=$as_save_IFS |
6308 | |
6368 | |
6309 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
6310 | ;; |
6369 | ;; |
6311 | esac |
6370 | esac |
6312 | fi |
6371 | fi |
6313 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
6372 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
6314 | if test -n "$PKG_CONFIG"; then |
6373 | if test -n "$PKG_CONFIG"; then |
… | |
… | |
6318 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6377 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6319 | $as_echo "no" >&6; } |
6378 | $as_echo "no" >&6; } |
6320 | fi |
6379 | fi |
6321 | |
6380 | |
6322 | |
6381 | |
6323 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf" >&5 |
|
|
6324 | $as_echo_n "checking for gdk-pixbuf... " >&6; } |
|
|
6325 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then |
|
|
6326 | PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-2.0 --cflags`" |
|
|
6327 | PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-2.0 --libs`" |
|
|
6328 | support_pixbuf=yes |
|
|
6329 | fi |
|
|
6330 | |
|
|
6331 | if test x$support_pixbuf = xyes; then |
|
|
6332 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
|
6333 | $as_echo "ok" >&6; } |
|
|
6334 | image_lib=gdk-pixbuf |
|
|
6335 | |
|
|
6336 | $as_echo "#define HAVE_PIXBUF 1" >>confdefs.h |
|
|
6337 | |
|
|
6338 | else |
|
|
6339 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6340 | $as_echo "no" >&6; } |
|
|
6341 | fi |
|
|
6342 | fi |
6382 | fi |
6343 | |
6383 | if test -z "$ac_cv_path_PKG_CONFIG"; then |
6344 | |
6384 | ac_pt_PKG_CONFIG=$PKG_CONFIG |
6345 | |
|
|
6346 | |
|
|
6347 | STARTUP_NOTIFICATION_CFLAGS= |
|
|
6348 | STARTUP_NOTIFICATION_LIBS= |
|
|
6349 | |
|
|
6350 | if test x$support_startup_notification = xyes; then |
|
|
6351 | support_startup_notification=no |
|
|
6352 | # Extract the first word of "pkg-config", so it can be a program name with args. |
6385 | # Extract the first word of "pkg-config", so it can be a program name with args. |
6353 | set dummy pkg-config; ac_word=$2 |
6386 | set dummy pkg-config; ac_word=$2 |
6354 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6387 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6355 | $as_echo_n "checking for $ac_word... " >&6; } |
6388 | $as_echo_n "checking for $ac_word... " >&6; } |
6356 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6389 | if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
6357 | $as_echo_n "(cached) " >&6 |
6390 | $as_echo_n "(cached) " >&6 |
6358 | else |
6391 | else |
6359 | case $PKG_CONFIG in |
6392 | case $ac_pt_PKG_CONFIG in |
6360 | [\\/]* | ?:[\\/]*) |
6393 | [\\/]* | ?:[\\/]*) |
6361 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
6394 | ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
6362 | ;; |
6395 | ;; |
6363 | *) |
6396 | *) |
6364 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6397 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6365 | for as_dir in $PATH |
6398 | for as_dir in $PATH |
6366 | do |
6399 | do |
6367 | IFS=$as_save_IFS |
6400 | IFS=$as_save_IFS |
6368 | test -z "$as_dir" && as_dir=. |
6401 | test -z "$as_dir" && as_dir=. |
6369 | for ac_exec_ext in '' $ac_executable_extensions; do |
6402 | for ac_exec_ext in '' $ac_executable_extensions; do |
6370 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6403 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6371 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
6404 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
6372 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6405 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6373 | break 2 |
6406 | break 2 |
6374 | fi |
6407 | fi |
6375 | done |
6408 | done |
6376 | done |
6409 | done |
6377 | IFS=$as_save_IFS |
6410 | IFS=$as_save_IFS |
6378 | |
6411 | |
6379 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
6380 | ;; |
6412 | ;; |
6381 | esac |
6413 | esac |
6382 | fi |
6414 | fi |
6383 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
6415 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
6384 | if test -n "$PKG_CONFIG"; then |
6416 | if test -n "$ac_pt_PKG_CONFIG"; then |
6385 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
6417 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
6386 | $as_echo "$PKG_CONFIG" >&6; } |
6418 | $as_echo "$ac_pt_PKG_CONFIG" >&6; } |
6387 | else |
6419 | else |
6388 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6420 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6389 | $as_echo "no" >&6; } |
6421 | $as_echo "no" >&6; } |
6390 | fi |
6422 | fi |
6391 | |
6423 | |
|
|
6424 | if test "x$ac_pt_PKG_CONFIG" = x; then |
|
|
6425 | PKG_CONFIG="no" |
|
|
6426 | else |
|
|
6427 | case $cross_compiling:$ac_tool_warned in |
|
|
6428 | yes:) |
|
|
6429 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
6430 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
6431 | ac_tool_warned=yes ;; |
|
|
6432 | esac |
|
|
6433 | PKG_CONFIG=$ac_pt_PKG_CONFIG |
|
|
6434 | fi |
|
|
6435 | else |
|
|
6436 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
|
|
6437 | fi |
6392 | |
6438 | |
|
|
6439 | |
|
|
6440 | image_lib=none |
|
|
6441 | |
|
|
6442 | PIXBUF_CFLAGS= |
|
|
6443 | PIXBUF_LIBS= |
|
|
6444 | |
|
|
6445 | if test x$support_pixbuf = xyes; then |
|
|
6446 | |
|
|
6447 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf-2.0" >&5 |
|
|
6448 | $as_echo_n "checking for gdk-pixbuf-2.0... " >&6; } |
|
|
6449 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then |
|
|
6450 | PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-2.0 --cflags`" |
|
|
6451 | PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-2.0 --libs`" |
|
|
6452 | |
|
|
6453 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
|
6454 | $as_echo "ok" >&6; } |
|
|
6455 | |
|
|
6456 | image_lib=gdk-pixbuf |
|
|
6457 | |
|
|
6458 | $as_echo "#define HAVE_PIXBUF 1" >>confdefs.h |
|
|
6459 | |
|
|
6460 | |
|
|
6461 | else |
|
|
6462 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6463 | $as_echo "no" >&6; } |
|
|
6464 | : |
|
|
6465 | fi |
|
|
6466 | |
|
|
6467 | fi |
|
|
6468 | |
|
|
6469 | |
|
|
6470 | |
|
|
6471 | |
|
|
6472 | STARTUP_NOTIFICATION_CFLAGS= |
|
|
6473 | STARTUP_NOTIFICATION_LIBS= |
|
|
6474 | |
|
|
6475 | if test x$support_startup_notification = xyes; then |
|
|
6476 | |
6393 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification" >&5 |
6477 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification-1.0" >&5 |
6394 | $as_echo_n "checking for libstartup-notification... " >&6; } |
6478 | $as_echo_n "checking for libstartup-notification-1.0... " >&6; } |
6395 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then |
6479 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then |
6396 | STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG libstartup-notification-1.0 --cflags`" |
6480 | STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG libstartup-notification-1.0 --cflags`" |
6397 | STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG libstartup-notification-1.0 --libs`" |
6481 | STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG libstartup-notification-1.0 --libs`" |
6398 | support_startup_notification=yes |
|
|
6399 | fi |
|
|
6400 | |
6482 | |
6401 | if test x$support_startup_notification = xyes; then |
|
|
6402 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6483 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6403 | $as_echo "ok" >&6; } |
6484 | $as_echo "ok" >&6; } |
6404 | |
6485 | |
|
|
6486 | |
6405 | $as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h |
6487 | $as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h |
|
|
6488 | |
6406 | |
6489 | |
6407 | else |
6490 | else |
6408 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6491 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6409 | $as_echo "no" >&6; } |
6492 | $as_echo "no" >&6; } |
|
|
6493 | : |
6410 | fi |
6494 | fi |
6411 | fi |
|
|
6412 | |
6495 | |
|
|
6496 | fi |
6413 | |
6497 | |
6414 | |
6498 | |
|
|
6499 | |
|
|
6500 | |
|
|
6501 | if test x$support_frills = xyes; then |
|
|
6502 | |
|
|
6503 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmu" >&5 |
|
|
6504 | $as_echo_n "checking for xmu... " >&6; } |
|
|
6505 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xmu; then |
|
|
6506 | XMU_CFLAGS="`$PKG_CONFIG xmu --cflags`" |
|
|
6507 | XMU_LIBS="`$PKG_CONFIG xmu --libs`" |
|
|
6508 | |
|
|
6509 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
|
6510 | $as_echo "ok" >&6; } |
|
|
6511 | |
|
|
6512 | X_LIBS="$XMU_LIBS $X_LIBS" |
|
|
6513 | CPPFLAGS="$CPPFLAGS $XMU_CFLAGS" |
|
|
6514 | |
|
|
6515 | $as_echo "#define HAVE_XMU 1" >>confdefs.h |
|
|
6516 | |
|
|
6517 | |
|
|
6518 | else |
|
|
6519 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6520 | $as_echo "no" >&6; } |
|
|
6521 | : |
|
|
6522 | fi |
|
|
6523 | |
|
|
6524 | fi |
6415 | |
6525 | |
6416 | for ac_header in \ |
6526 | for ac_header in \ |
6417 | sys/byteorder.h \ |
6527 | sys/byteorder.h \ |
6418 | sys/ioctl.h \ |
6528 | sys/ioctl.h \ |
6419 | sys/sockio.h \ |
6529 | sys/sockio.h \ |
… | |
… | |
6674 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" |
6784 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" |
6675 | if test "x$ac_cv_header_utmp_h" = xyes; then : |
6785 | if test "x$ac_cv_header_utmp_h" = xyes; then : |
6676 | cat >>confdefs.h <<_ACEOF |
6786 | cat >>confdefs.h <<_ACEOF |
6677 | #define HAVE_UTMP_H 1 |
6787 | #define HAVE_UTMP_H 1 |
6678 | _ACEOF |
6788 | _ACEOF |
|
|
6789 | |
6679 | ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " |
6790 | ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " |
6680 | #include <sys/types.h> |
6791 | #include <sys/types.h> |
6681 | #include <utmp.h> |
6792 | #include <utmp.h> |
6682 | |
6793 | |
6683 | " |
6794 | " |
6684 | if test "x$ac_cv_type_struct_utmp" = xyes; then : |
6795 | if test "x$ac_cv_type_struct_utmp" = xyes; then : |
… | |
… | |
6689 | |
6800 | |
6690 | |
6801 | |
6691 | fi |
6802 | fi |
6692 | |
6803 | |
6693 | |
6804 | |
6694 | |
|
|
6695 | # ac_fn_cxx_check_member LINENO AGGR MEMBER VAR INCLUDES |
|
|
6696 | # ------------------------------------------------------ |
|
|
6697 | # Tries to find if the field MEMBER exists in type AGGR, after including |
|
|
6698 | # INCLUDES, setting cache variable VAR accordingly. |
|
|
6699 | ac_fn_cxx_check_member () |
|
|
6700 | { |
|
|
6701 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
6702 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
|
|
6703 | $as_echo_n "checking for $2.$3... " >&6; } |
|
|
6704 | if eval \${$4+:} false; then : |
|
|
6705 | $as_echo_n "(cached) " >&6 |
|
|
6706 | else |
|
|
6707 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6708 | /* end confdefs.h. */ |
|
|
6709 | $5 |
|
|
6710 | int |
|
|
6711 | main () |
|
|
6712 | { |
|
|
6713 | static $2 ac_aggr; |
|
|
6714 | if (ac_aggr.$3) |
|
|
6715 | return 0; |
|
|
6716 | ; |
|
|
6717 | return 0; |
|
|
6718 | } |
|
|
6719 | _ACEOF |
|
|
6720 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6721 | eval "$4=yes" |
|
|
6722 | else |
|
|
6723 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6724 | /* end confdefs.h. */ |
|
|
6725 | $5 |
|
|
6726 | int |
|
|
6727 | main () |
|
|
6728 | { |
|
|
6729 | static $2 ac_aggr; |
|
|
6730 | if (sizeof ac_aggr.$3) |
|
|
6731 | return 0; |
|
|
6732 | ; |
|
|
6733 | return 0; |
|
|
6734 | } |
|
|
6735 | _ACEOF |
|
|
6736 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6737 | eval "$4=yes" |
|
|
6738 | else |
|
|
6739 | eval "$4=no" |
|
|
6740 | fi |
|
|
6741 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6742 | fi |
|
|
6743 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6744 | fi |
|
|
6745 | eval ac_res=\$$4 |
|
|
6746 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
6747 | $as_echo "$ac_res" >&6; } |
|
|
6748 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
6749 | |
|
|
6750 | } # ac_fn_cxx_check_member |
|
|
6751 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" " |
6805 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" " |
6752 | #include <sys/types.h> |
6806 | #include <sys/types.h> |
6753 | #include <utmp.h> |
6807 | #include <utmp.h> |
6754 | |
6808 | |
6755 | " |
6809 | " |
… | |
… | |
6782 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" |
6836 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" |
6783 | if test "x$ac_cv_header_utmpx_h" = xyes; then : |
6837 | if test "x$ac_cv_header_utmpx_h" = xyes; then : |
6784 | cat >>confdefs.h <<_ACEOF |
6838 | cat >>confdefs.h <<_ACEOF |
6785 | #define HAVE_UTMPX_H 1 |
6839 | #define HAVE_UTMPX_H 1 |
6786 | _ACEOF |
6840 | _ACEOF |
|
|
6841 | |
6787 | ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " |
6842 | ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " |
6788 | #include <sys/types.h> |
6843 | #include <sys/types.h> |
6789 | #include <utmpx.h> |
6844 | #include <utmpx.h> |
6790 | |
6845 | |
6791 | " |
6846 | " |
6792 | if test "x$ac_cv_type_struct_utmpx" = xyes; then : |
6847 | if test "x$ac_cv_type_struct_utmpx" = xyes; then : |
… | |
… | |
7480 | if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then |
7535 | if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then |
7481 | support_image=yes |
7536 | support_image=yes |
7482 | fi |
7537 | fi |
7483 | if test x$support_xft = xyes || test x$support_image = xyes; then |
7538 | if test x$support_xft = xyes || test x$support_image = xyes; then |
7484 | rxvt_have_xrender=no |
7539 | rxvt_have_xrender=no |
7485 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7540 | |
7486 | set dummy pkg-config; ac_word=$2 |
|
|
7487 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7541 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xrender" >&5 |
7488 | $as_echo_n "checking for $ac_word... " >&6; } |
7542 | $as_echo_n "checking for xrender... " >&6; } |
7489 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
|
|
7490 | $as_echo_n "(cached) " >&6 |
|
|
7491 | else |
|
|
7492 | case $PKG_CONFIG in |
|
|
7493 | [\\/]* | ?:[\\/]*) |
|
|
7494 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
7495 | ;; |
|
|
7496 | *) |
|
|
7497 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
7498 | for as_dir in $PATH |
|
|
7499 | do |
|
|
7500 | IFS=$as_save_IFS |
|
|
7501 | test -z "$as_dir" && as_dir=. |
|
|
7502 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
7503 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
7504 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
7505 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
7506 | break 2 |
|
|
7507 | fi |
|
|
7508 | done |
|
|
7509 | done |
|
|
7510 | IFS=$as_save_IFS |
|
|
7511 | |
|
|
7512 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
7513 | ;; |
|
|
7514 | esac |
|
|
7515 | fi |
|
|
7516 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
7517 | if test -n "$PKG_CONFIG"; then |
|
|
7518 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
|
|
7519 | $as_echo "$PKG_CONFIG" >&6; } |
|
|
7520 | else |
|
|
7521 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7522 | $as_echo "no" >&6; } |
|
|
7523 | fi |
|
|
7524 | |
|
|
7525 | |
|
|
7526 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then |
7543 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then |
|
|
7544 | XRENDER_CFLAGS="`$PKG_CONFIG xrender --cflags`" |
7527 | X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS" |
7545 | XRENDER_LIBS="`$PKG_CONFIG xrender --libs`" |
7528 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`" |
7546 | |
|
|
7547 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
|
7548 | $as_echo "ok" >&6; } |
|
|
7549 | |
|
|
7550 | X_LIBS="$XRENDER_LIBS $X_LIBS" |
|
|
7551 | CPPFLAGS="$CPPFLAGS $XRENDER_CFLAGS" |
7529 | rxvt_have_xrender=yes |
7552 | rxvt_have_xrender=yes |
7530 | |
7553 | |
7531 | save_LIBS="$LIBS" |
7554 | save_LIBS="$LIBS" |
7532 | LIBS="$LIBS $X_LIBS" |
7555 | LIBS="$LIBS $X_LIBS" |
7533 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" |
7556 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" |
… | |
… | |
7544 | else |
7567 | else |
7545 | rxvt_have_xrender=no |
7568 | rxvt_have_xrender=no |
7546 | fi |
7569 | fi |
7547 | |
7570 | |
7548 | LIBS="$save_LIBS" |
7571 | LIBS="$save_LIBS" |
|
|
7572 | |
|
|
7573 | else |
|
|
7574 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7575 | $as_echo "no" >&6; } |
|
|
7576 | : |
7549 | fi |
7577 | fi |
|
|
7578 | |
7550 | fi |
7579 | fi |
7551 | |
7580 | |
7552 | if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then |
7581 | if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then |
7553 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7582 | |
7554 | set dummy pkg-config; ac_word=$2 |
|
|
7555 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7583 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig xft" >&5 |
7556 | $as_echo_n "checking for $ac_word... " >&6; } |
7584 | $as_echo_n "checking for fontconfig xft... " >&6; } |
7557 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
7585 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig xft; then |
7558 | $as_echo_n "(cached) " >&6 |
7586 | XFT_CFLAGS="`$PKG_CONFIG fontconfig xft --cflags`" |
7559 | else |
7587 | XFT_LIBS="`$PKG_CONFIG fontconfig xft --libs`" |
7560 | case $PKG_CONFIG in |
|
|
7561 | [\\/]* | ?:[\\/]*) |
|
|
7562 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
7563 | ;; |
|
|
7564 | *) |
|
|
7565 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
7566 | for as_dir in $PATH |
|
|
7567 | do |
|
|
7568 | IFS=$as_save_IFS |
|
|
7569 | test -z "$as_dir" && as_dir=. |
|
|
7570 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
7571 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
7572 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
7573 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
7574 | break 2 |
|
|
7575 | fi |
|
|
7576 | done |
|
|
7577 | done |
|
|
7578 | IFS=$as_save_IFS |
|
|
7579 | |
7588 | |
7580 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
7581 | ;; |
|
|
7582 | esac |
|
|
7583 | fi |
|
|
7584 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
7585 | if test -n "$PKG_CONFIG"; then |
|
|
7586 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
7589 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
7587 | $as_echo "$PKG_CONFIG" >&6; } |
7590 | $as_echo "ok" >&6; } |
|
|
7591 | |
|
|
7592 | X_LIBS="$XFT_LIBS $X_LIBS" |
|
|
7593 | CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" |
|
|
7594 | |
7588 | else |
7595 | else |
7589 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7596 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7590 | $as_echo "no" >&6; } |
7597 | $as_echo "no" >&6; } |
7591 | fi |
|
|
7592 | |
7598 | |
7593 | |
|
|
7594 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
|
|
7595 | X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS" |
|
|
7596 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
|
|
7597 | else |
|
|
7598 | # Extract the first word of "xft-config", so it can be a program name with args. |
7599 | # Extract the first word of "xft-config", so it can be a program name with args. |
7599 | set dummy xft-config; ac_word=$2 |
7600 | set dummy xft-config; ac_word=$2 |
7600 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7601 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7601 | $as_echo_n "checking for $ac_word... " >&6; } |
7602 | $as_echo_n "checking for $ac_word... " >&6; } |
7602 | if ${ac_cv_path_XFT_CONFIG+:} false; then : |
7603 | if ${ac_cv_path_XFT_CONFIG+:} false; then : |
… | |
… | |
7638 | |
7639 | |
7639 | if test $XFT_CONFIG != no; then |
7640 | if test $XFT_CONFIG != no; then |
7640 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
7641 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
7641 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
7642 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
7642 | fi |
7643 | fi |
7643 | fi |
|
|
7644 | |
7644 | |
7645 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig; then |
|
|
7646 | X_LIBS="`$PKG_CONFIG fontconfig --libs` $X_LIBS" |
|
|
7647 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG fontconfig --cflags`" |
|
|
7648 | fi |
7645 | fi |
|
|
7646 | |
7649 | |
7647 | |
7650 | save_LIBS="$LIBS" |
7648 | save_LIBS="$LIBS" |
7651 | LIBS="$LIBS $X_LIBS" |
7649 | LIBS="$LIBS $X_LIBS" |
7652 | for ac_header in X11/Xft/Xft.h fontconfig/fontconfig.h |
7650 | for ac_header in X11/Xft/Xft.h fontconfig/fontconfig.h |
7653 | do : |
7651 | do : |