… | |
… | |
685 | htmldir |
685 | htmldir |
686 | infodir |
686 | infodir |
687 | docdir |
687 | docdir |
688 | oldincludedir |
688 | oldincludedir |
689 | includedir |
689 | includedir |
|
|
690 | runstatedir |
690 | localstatedir |
691 | localstatedir |
691 | sharedstatedir |
692 | sharedstatedir |
692 | sysconfdir |
693 | sysconfdir |
693 | datadir |
694 | datadir |
694 | datarootdir |
695 | datarootdir |
… | |
… | |
802 | datarootdir='${prefix}/share' |
803 | datarootdir='${prefix}/share' |
803 | datadir='${datarootdir}' |
804 | datadir='${datarootdir}' |
804 | sysconfdir='${prefix}/etc' |
805 | sysconfdir='${prefix}/etc' |
805 | sharedstatedir='${prefix}/com' |
806 | sharedstatedir='${prefix}/com' |
806 | localstatedir='${prefix}/var' |
807 | localstatedir='${prefix}/var' |
|
|
808 | runstatedir='${localstatedir}/run' |
807 | includedir='${prefix}/include' |
809 | includedir='${prefix}/include' |
808 | oldincludedir='/usr/include' |
810 | oldincludedir='/usr/include' |
809 | docdir='${datarootdir}/doc/${PACKAGE}' |
811 | docdir='${datarootdir}/doc/${PACKAGE}' |
810 | infodir='${datarootdir}/info' |
812 | infodir='${datarootdir}/info' |
811 | htmldir='${docdir}' |
813 | htmldir='${docdir}' |
… | |
… | |
1054 | |
1056 | |
1055 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1057 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1056 | | -silent | --silent | --silen | --sile | --sil) |
1058 | | -silent | --silent | --silen | --sile | --sil) |
1057 | silent=yes ;; |
1059 | silent=yes ;; |
1058 | |
1060 | |
|
|
1061 | -runstatedir | --runstatedir | --runstatedi | --runstated \ |
|
|
1062 | | --runstate | --runstat | --runsta | --runst | --runs \ |
|
|
1063 | | --run | --ru | --r) |
|
|
1064 | ac_prev=runstatedir ;; |
|
|
1065 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
|
|
1066 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
|
|
1067 | | --run=* | --ru=* | --r=*) |
|
|
1068 | runstatedir=$ac_optarg ;; |
|
|
1069 | |
1059 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1070 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1060 | ac_prev=sbindir ;; |
1071 | ac_prev=sbindir ;; |
1061 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1072 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1062 | | --sbi=* | --sb=*) |
1073 | | --sbi=* | --sb=*) |
1063 | sbindir=$ac_optarg ;; |
1074 | sbindir=$ac_optarg ;; |
… | |
… | |
1191 | |
1202 | |
1192 | # Check all directory arguments for consistency. |
1203 | # Check all directory arguments for consistency. |
1193 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1204 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1194 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1205 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1195 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1206 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1196 | libdir localedir mandir |
1207 | libdir localedir mandir runstatedir |
1197 | do |
1208 | do |
1198 | eval ac_val=\$$ac_var |
1209 | eval ac_val=\$$ac_var |
1199 | # Remove trailing slashes. |
1210 | # Remove trailing slashes. |
1200 | case $ac_val in |
1211 | case $ac_val in |
1201 | */ ) |
1212 | */ ) |
… | |
… | |
1344 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1355 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1345 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1356 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1346 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1357 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1347 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1358 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1348 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1359 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
|
1360 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
1349 | --libdir=DIR object code libraries [EPREFIX/lib] |
1361 | --libdir=DIR object code libraries [EPREFIX/lib] |
1350 | --includedir=DIR C header files [PREFIX/include] |
1362 | --includedir=DIR C header files [PREFIX/include] |
1351 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1363 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1352 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1364 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1353 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1365 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
… | |
… | |
2260 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2272 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2261 | $as_echo "$ac_res" >&6; } |
2273 | $as_echo "$ac_res" >&6; } |
2262 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2274 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2263 | |
2275 | |
2264 | } # ac_fn_c_find_uintX_t |
2276 | } # ac_fn_c_find_uintX_t |
|
|
2277 | |
|
|
2278 | # ac_fn_cxx_check_member LINENO AGGR MEMBER VAR INCLUDES |
|
|
2279 | # ------------------------------------------------------ |
|
|
2280 | # Tries to find if the field MEMBER exists in type AGGR, after including |
|
|
2281 | # INCLUDES, setting cache variable VAR accordingly. |
|
|
2282 | ac_fn_cxx_check_member () |
|
|
2283 | { |
|
|
2284 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
2285 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
|
|
2286 | $as_echo_n "checking for $2.$3... " >&6; } |
|
|
2287 | if eval \${$4+:} false; then : |
|
|
2288 | $as_echo_n "(cached) " >&6 |
|
|
2289 | else |
|
|
2290 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2291 | /* end confdefs.h. */ |
|
|
2292 | $5 |
|
|
2293 | int |
|
|
2294 | main () |
|
|
2295 | { |
|
|
2296 | static $2 ac_aggr; |
|
|
2297 | if (ac_aggr.$3) |
|
|
2298 | return 0; |
|
|
2299 | ; |
|
|
2300 | return 0; |
|
|
2301 | } |
|
|
2302 | _ACEOF |
|
|
2303 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
2304 | eval "$4=yes" |
|
|
2305 | else |
|
|
2306 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2307 | /* end confdefs.h. */ |
|
|
2308 | $5 |
|
|
2309 | int |
|
|
2310 | main () |
|
|
2311 | { |
|
|
2312 | static $2 ac_aggr; |
|
|
2313 | if (sizeof ac_aggr.$3) |
|
|
2314 | return 0; |
|
|
2315 | ; |
|
|
2316 | return 0; |
|
|
2317 | } |
|
|
2318 | _ACEOF |
|
|
2319 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
2320 | eval "$4=yes" |
|
|
2321 | else |
|
|
2322 | eval "$4=no" |
|
|
2323 | fi |
|
|
2324 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
2325 | fi |
|
|
2326 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
2327 | fi |
|
|
2328 | eval ac_res=\$$4 |
|
|
2329 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
2330 | $as_echo "$ac_res" >&6; } |
|
|
2331 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
2332 | |
|
|
2333 | } # ac_fn_cxx_check_member |
2265 | |
2334 | |
2266 | # ac_fn_cxx_try_run LINENO |
2335 | # ac_fn_cxx_try_run LINENO |
2267 | # ------------------------ |
2336 | # ------------------------ |
2268 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
2337 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
2269 | # that executables *can* be run. |
2338 | # that executables *can* be run. |
… | |
… | |
4949 | |
5018 | |
4950 | fi |
5019 | fi |
4951 | fi |
5020 | fi |
4952 | |
5021 | |
4953 | |
5022 | |
|
|
5023 | support_resources=yes |
4954 | # Check whether --enable-resources was given. |
5024 | # Check whether --enable-resources was given. |
4955 | if test "${enable_resources+set}" = set; then : |
5025 | if test "${enable_resources+set}" = set; then : |
4956 | enableval=$enable_resources; if test x$enableval = xno; then |
5026 | enableval=$enable_resources; if test x$enableval = xno; then |
4957 | |
5027 | support_resources=no |
4958 | $as_echo "#define NO_RESOURCES 1" >>confdefs.h |
|
|
4959 | |
|
|
4960 | fi |
5028 | fi |
4961 | fi |
5029 | fi |
4962 | |
5030 | |
4963 | |
5031 | |
4964 | # Check whether --enable-8bitctrls was given. |
5032 | # Check whether --enable-8bitctrls was given. |
… | |
… | |
5136 | _ACEOF |
5204 | _ACEOF |
5137 | terminfo="$withval" |
5205 | terminfo="$withval" |
5138 | fi |
5206 | fi |
5139 | fi |
5207 | fi |
5140 | |
5208 | |
|
|
5209 | |
|
|
5210 | if test x$support_resources = xno; then |
|
|
5211 | if test x$support_frills = xyes || test x$support_perl = xyes; then |
|
|
5212 | as_fn_error $? "--disable-resources requires --disable-frills --disable-perl" "$LINENO" 5 |
|
|
5213 | fi |
|
|
5214 | |
|
|
5215 | |
|
|
5216 | $as_echo "#define NO_RESOURCES 1" >>confdefs.h |
|
|
5217 | |
|
|
5218 | fi |
5141 | |
5219 | |
5142 | |
5220 | |
5143 | LIBEV_M4_AVOID_LIBRT=1 |
5221 | LIBEV_M4_AVOID_LIBRT=1 |
5144 | |
5222 | |
5145 | ac_ext=cpp |
5223 | ac_ext=cpp |
… | |
… | |
5274 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5352 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5275 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5353 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5276 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5354 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5277 | |
5355 | |
5278 | |
5356 | |
5279 | for ac_header in sys/inotify.h sys/epoll.h sys/event.h port.h poll.h sys/select.h sys/eventfd.h sys/signalfd.h |
5357 | for ac_header in sys/inotify.h sys/epoll.h sys/event.h port.h poll.h sys/timerfd.h |
|
|
5358 | do : |
|
|
5359 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
5360 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
5361 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
5362 | cat >>confdefs.h <<_ACEOF |
|
|
5363 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
5364 | _ACEOF |
|
|
5365 | |
|
|
5366 | fi |
|
|
5367 | |
|
|
5368 | done |
|
|
5369 | |
|
|
5370 | for ac_header in sys/select.h sys/eventfd.h sys/signalfd.h linux/aio_abi.h linux/fs.h |
5280 | do : |
5371 | do : |
5281 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5372 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5282 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
5373 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
5283 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
5374 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
5284 | cat >>confdefs.h <<_ACEOF |
5375 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
5477 | |
5568 | |
5478 | fi |
5569 | fi |
5479 | |
5570 | |
5480 | fi |
5571 | fi |
5481 | done |
5572 | done |
|
|
5573 | |
|
|
5574 | |
|
|
5575 | ac_fn_cxx_check_type "$LINENO" "__kernel_rwf_t" "ac_cv_type___kernel_rwf_t" "#include <linux/fs.h> |
|
|
5576 | " |
|
|
5577 | if test "x$ac_cv_type___kernel_rwf_t" = xyes; then : |
|
|
5578 | |
|
|
5579 | |
|
|
5580 | $as_echo "#define HAVE_KERNEL_RWF_T 1" >>confdefs.h |
|
|
5581 | |
|
|
5582 | |
|
|
5583 | fi |
5482 | |
5584 | |
5483 | |
5585 | |
5484 | if test -z "$LIBEV_M4_AVOID_LIBM"; then |
5586 | if test -z "$LIBEV_M4_AVOID_LIBM"; then |
5485 | LIBM=m |
5587 | LIBM=m |
5486 | fi |
5588 | fi |
… | |
… | |
6270 | LDFLAGS=$ac_save_LDFLAGS |
6372 | LDFLAGS=$ac_save_LDFLAGS |
6271 | |
6373 | |
6272 | fi |
6374 | fi |
6273 | |
6375 | |
6274 | |
6376 | |
6275 | image_lib=none |
6377 | 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. |
6378 | # 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 |
6379 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
6284 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6380 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6285 | $as_echo_n "checking for $ac_word... " >&6; } |
6381 | $as_echo_n "checking for $ac_word... " >&6; } |
6286 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6382 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6287 | $as_echo_n "(cached) " >&6 |
6383 | $as_echo_n "(cached) " >&6 |
6288 | else |
6384 | else |
… | |
… | |
6304 | fi |
6400 | fi |
6305 | done |
6401 | done |
6306 | done |
6402 | done |
6307 | IFS=$as_save_IFS |
6403 | IFS=$as_save_IFS |
6308 | |
6404 | |
6309 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
6310 | ;; |
6405 | ;; |
6311 | esac |
6406 | esac |
6312 | fi |
6407 | fi |
6313 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
6408 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
6314 | if test -n "$PKG_CONFIG"; then |
6409 | if test -n "$PKG_CONFIG"; then |
… | |
… | |
6318 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6413 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6319 | $as_echo "no" >&6; } |
6414 | $as_echo "no" >&6; } |
6320 | fi |
6415 | fi |
6321 | |
6416 | |
6322 | |
6417 | |
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 |
6418 | fi |
6343 | |
6419 | if test -z "$ac_cv_path_PKG_CONFIG"; then |
6344 | |
6420 | 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. |
6421 | # Extract the first word of "pkg-config", so it can be a program name with args. |
6353 | set dummy pkg-config; ac_word=$2 |
6422 | set dummy pkg-config; ac_word=$2 |
6354 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6423 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6355 | $as_echo_n "checking for $ac_word... " >&6; } |
6424 | $as_echo_n "checking for $ac_word... " >&6; } |
6356 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6425 | if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
6357 | $as_echo_n "(cached) " >&6 |
6426 | $as_echo_n "(cached) " >&6 |
6358 | else |
6427 | else |
6359 | case $PKG_CONFIG in |
6428 | case $ac_pt_PKG_CONFIG in |
6360 | [\\/]* | ?:[\\/]*) |
6429 | [\\/]* | ?:[\\/]*) |
6361 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
6430 | ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
6362 | ;; |
6431 | ;; |
6363 | *) |
6432 | *) |
6364 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6433 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6365 | for as_dir in $PATH |
6434 | for as_dir in $PATH |
6366 | do |
6435 | do |
6367 | IFS=$as_save_IFS |
6436 | IFS=$as_save_IFS |
6368 | test -z "$as_dir" && as_dir=. |
6437 | test -z "$as_dir" && as_dir=. |
6369 | for ac_exec_ext in '' $ac_executable_extensions; do |
6438 | for ac_exec_ext in '' $ac_executable_extensions; do |
6370 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6439 | 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" |
6440 | 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 |
6441 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6373 | break 2 |
6442 | break 2 |
6374 | fi |
6443 | fi |
6375 | done |
6444 | done |
6376 | done |
6445 | done |
6377 | IFS=$as_save_IFS |
6446 | IFS=$as_save_IFS |
6378 | |
6447 | |
6379 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
6380 | ;; |
6448 | ;; |
6381 | esac |
6449 | esac |
6382 | fi |
6450 | fi |
6383 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
6451 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
6384 | if test -n "$PKG_CONFIG"; then |
6452 | if test -n "$ac_pt_PKG_CONFIG"; then |
6385 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
6453 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
6386 | $as_echo "$PKG_CONFIG" >&6; } |
6454 | $as_echo "$ac_pt_PKG_CONFIG" >&6; } |
6387 | else |
6455 | else |
6388 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6456 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6389 | $as_echo "no" >&6; } |
6457 | $as_echo "no" >&6; } |
6390 | fi |
6458 | fi |
6391 | |
6459 | |
|
|
6460 | if test "x$ac_pt_PKG_CONFIG" = x; then |
|
|
6461 | PKG_CONFIG="no" |
|
|
6462 | else |
|
|
6463 | case $cross_compiling:$ac_tool_warned in |
|
|
6464 | yes:) |
|
|
6465 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
6466 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
6467 | ac_tool_warned=yes ;; |
|
|
6468 | esac |
|
|
6469 | PKG_CONFIG=$ac_pt_PKG_CONFIG |
|
|
6470 | fi |
|
|
6471 | else |
|
|
6472 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
|
|
6473 | fi |
6392 | |
6474 | |
|
|
6475 | |
|
|
6476 | image_lib=none |
|
|
6477 | |
|
|
6478 | PIXBUF_CFLAGS= |
|
|
6479 | PIXBUF_LIBS= |
|
|
6480 | |
|
|
6481 | if test x$support_pixbuf = xyes; then |
|
|
6482 | |
6393 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification" >&5 |
6483 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf-2.0" >&5 |
6394 | $as_echo_n "checking for libstartup-notification... " >&6; } |
6484 | $as_echo_n "checking for gdk-pixbuf-2.0... " >&6; } |
6395 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then |
6485 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then |
6396 | STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG libstartup-notification-1.0 --cflags`" |
6486 | PIXBUF_CFLAGS="`$PKG_CONFIG --cflags gdk-pixbuf-2.0`" |
6397 | STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG libstartup-notification-1.0 --libs`" |
6487 | PIXBUF_LIBS="`$PKG_CONFIG --libs gdk-pixbuf-2.0`" |
6398 | support_startup_notification=yes |
|
|
6399 | fi |
|
|
6400 | |
6488 | |
6401 | if test x$support_startup_notification = xyes; then |
|
|
6402 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6489 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6403 | $as_echo "ok" >&6; } |
6490 | $as_echo "ok" >&6; } |
6404 | |
6491 | |
|
|
6492 | image_lib=gdk-pixbuf |
|
|
6493 | |
6405 | $as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h |
6494 | $as_echo "#define HAVE_PIXBUF 1" >>confdefs.h |
|
|
6495 | |
6406 | |
6496 | |
6407 | else |
6497 | else |
6408 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6498 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6409 | $as_echo "no" >&6; } |
6499 | $as_echo "no" >&6; } |
|
|
6500 | : |
6410 | fi |
6501 | fi |
6411 | fi |
|
|
6412 | |
6502 | |
|
|
6503 | fi |
6413 | |
6504 | |
6414 | |
6505 | |
|
|
6506 | |
|
|
6507 | |
|
|
6508 | STARTUP_NOTIFICATION_CFLAGS= |
|
|
6509 | STARTUP_NOTIFICATION_LIBS= |
|
|
6510 | |
|
|
6511 | if test x$support_startup_notification = xyes; then |
|
|
6512 | |
|
|
6513 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification-1.0" >&5 |
|
|
6514 | $as_echo_n "checking for libstartup-notification-1.0... " >&6; } |
|
|
6515 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then |
|
|
6516 | STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG --cflags libstartup-notification-1.0`" |
|
|
6517 | STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG --libs libstartup-notification-1.0`" |
|
|
6518 | |
|
|
6519 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
|
6520 | $as_echo "ok" >&6; } |
|
|
6521 | |
|
|
6522 | |
|
|
6523 | $as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h |
|
|
6524 | |
|
|
6525 | |
|
|
6526 | else |
|
|
6527 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6528 | $as_echo "no" >&6; } |
|
|
6529 | : |
|
|
6530 | fi |
|
|
6531 | |
|
|
6532 | fi |
|
|
6533 | |
|
|
6534 | |
|
|
6535 | |
|
|
6536 | |
|
|
6537 | if test x$support_frills = xyes; then |
|
|
6538 | |
|
|
6539 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmu" >&5 |
|
|
6540 | $as_echo_n "checking for xmu... " >&6; } |
|
|
6541 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xmu; then |
|
|
6542 | XMU_CFLAGS="`$PKG_CONFIG --cflags xmu`" |
|
|
6543 | XMU_LIBS="`$PKG_CONFIG --libs xmu`" |
|
|
6544 | |
|
|
6545 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
|
6546 | $as_echo "ok" >&6; } |
|
|
6547 | |
|
|
6548 | X_LIBS="$XMU_LIBS $X_LIBS" |
|
|
6549 | CPPFLAGS="$CPPFLAGS $XMU_CFLAGS" |
|
|
6550 | |
|
|
6551 | $as_echo "#define HAVE_XMU 1" >>confdefs.h |
|
|
6552 | |
|
|
6553 | |
|
|
6554 | else |
|
|
6555 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6556 | $as_echo "no" >&6; } |
|
|
6557 | : |
|
|
6558 | fi |
|
|
6559 | |
|
|
6560 | fi |
6415 | |
6561 | |
6416 | for ac_header in \ |
6562 | for ac_header in \ |
6417 | sys/byteorder.h \ |
6563 | sys/byteorder.h \ |
6418 | sys/ioctl.h \ |
6564 | sys/ioctl.h \ |
6419 | sys/sockio.h \ |
6565 | sys/sockio.h \ |
… | |
… | |
6674 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" |
6820 | 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 : |
6821 | if test "x$ac_cv_header_utmp_h" = xyes; then : |
6676 | cat >>confdefs.h <<_ACEOF |
6822 | cat >>confdefs.h <<_ACEOF |
6677 | #define HAVE_UTMP_H 1 |
6823 | #define HAVE_UTMP_H 1 |
6678 | _ACEOF |
6824 | _ACEOF |
|
|
6825 | |
6679 | ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " |
6826 | ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " |
6680 | #include <sys/types.h> |
6827 | #include <sys/types.h> |
6681 | #include <utmp.h> |
6828 | #include <utmp.h> |
6682 | |
6829 | |
6683 | " |
6830 | " |
6684 | if test "x$ac_cv_type_struct_utmp" = xyes; then : |
6831 | if test "x$ac_cv_type_struct_utmp" = xyes; then : |
… | |
… | |
6689 | |
6836 | |
6690 | |
6837 | |
6691 | fi |
6838 | fi |
6692 | |
6839 | |
6693 | |
6840 | |
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" " |
6841 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" " |
6752 | #include <sys/types.h> |
6842 | #include <sys/types.h> |
6753 | #include <utmp.h> |
6843 | #include <utmp.h> |
6754 | |
6844 | |
6755 | " |
6845 | " |
… | |
… | |
6782 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" |
6872 | 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 : |
6873 | if test "x$ac_cv_header_utmpx_h" = xyes; then : |
6784 | cat >>confdefs.h <<_ACEOF |
6874 | cat >>confdefs.h <<_ACEOF |
6785 | #define HAVE_UTMPX_H 1 |
6875 | #define HAVE_UTMPX_H 1 |
6786 | _ACEOF |
6876 | _ACEOF |
|
|
6877 | |
6787 | ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " |
6878 | ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " |
6788 | #include <sys/types.h> |
6879 | #include <sys/types.h> |
6789 | #include <utmpx.h> |
6880 | #include <utmpx.h> |
6790 | |
6881 | |
6791 | " |
6882 | " |
6792 | if test "x$ac_cv_type_struct_utmpx" = xyes; then : |
6883 | if test "x$ac_cv_type_struct_utmpx" = xyes; then : |
… | |
… | |
6995 | |
7086 | |
6996 | |
7087 | |
6997 | |
7088 | |
6998 | |
7089 | |
6999 | save_LIBS=$LIBS |
7090 | save_LIBS=$LIBS |
7000 | save_CFLAGS=$CFLAGS |
7091 | save_CXXFLAGS=$CXXFLAGS |
7001 | CFLAGS="$CFLAGS $X_CFLAGS" |
7092 | CXXFLAGS="$CXXFLAGS $X_CFLAGS" |
7002 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
7093 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
7003 | if test x$support_xim = xyes; then |
7094 | if test x$support_xim = xyes; then |
7004 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 |
7095 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 |
7005 | $as_echo_n "checking for working Xlocale... " >&6; } |
7096 | $as_echo_n "checking for working Xlocale... " >&6; } |
7006 | if ${rxvt_cv_func_xlocale+:} false; then : |
7097 | if ${rxvt_cv_func_xlocale+:} false; then : |
… | |
… | |
7106 | |
7197 | |
7107 | $as_echo "#define HAVE_XSETLOCALE 1" >>confdefs.h |
7198 | $as_echo "#define HAVE_XSETLOCALE 1" >>confdefs.h |
7108 | |
7199 | |
7109 | fi |
7200 | fi |
7110 | LIBS=$save_LIBS |
7201 | LIBS=$save_LIBS |
7111 | CFLAGS=$save_CFLAGS |
7202 | CXXFLAGS=$save_CXXFLAGS |
7112 | |
7203 | |
7113 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 |
7204 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 |
7114 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
7205 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
7115 | if ${rxvt_cv_func_nl_langinfo+:} false; then : |
7206 | if ${rxvt_cv_func_nl_langinfo+:} false; then : |
7116 | $as_echo_n "(cached) " >&6 |
7207 | $as_echo_n "(cached) " >&6 |
… | |
… | |
7141 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
7232 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
7142 | |
7233 | |
7143 | fi |
7234 | fi |
7144 | |
7235 | |
7145 | |
7236 | |
|
|
7237 | |
7146 | case $host in |
7238 | case $host in |
7147 | *-*-solaris*) |
7239 | *-*-solaris*) |
|
|
7240 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7241 | /* end confdefs.h. */ |
7148 | |
7242 | |
|
|
7243 | #if __STDC_VERSION__ >= 199901L |
|
|
7244 | error |
|
|
7245 | #endif |
|
|
7246 | |
|
|
7247 | int |
|
|
7248 | main () |
|
|
7249 | { |
|
|
7250 | |
|
|
7251 | ; |
|
|
7252 | return 0; |
|
|
7253 | } |
|
|
7254 | _ACEOF |
|
|
7255 | if ac_fn_cxx_try_compile "$LINENO"; then : |
7149 | $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h |
7256 | $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h |
7150 | |
7257 | |
|
|
7258 | else |
|
|
7259 | $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h |
|
|
7260 | |
|
|
7261 | fi |
|
|
7262 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7151 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5 |
7263 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5 |
7152 | $as_echo_n "checking for library containing sendmsg... " >&6; } |
7264 | $as_echo_n "checking for library containing sendmsg... " >&6; } |
7153 | if ${ac_cv_search_sendmsg+:} false; then : |
7265 | if ${ac_cv_search_sendmsg+:} false; then : |
7154 | $as_echo_n "(cached) " >&6 |
7266 | $as_echo_n "(cached) " >&6 |
7155 | else |
7267 | else |
… | |
… | |
7459 | if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then |
7571 | if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then |
7460 | support_image=yes |
7572 | support_image=yes |
7461 | fi |
7573 | fi |
7462 | if test x$support_xft = xyes || test x$support_image = xyes; then |
7574 | if test x$support_xft = xyes || test x$support_image = xyes; then |
7463 | rxvt_have_xrender=no |
7575 | rxvt_have_xrender=no |
7464 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7576 | |
7465 | set dummy pkg-config; ac_word=$2 |
|
|
7466 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7577 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xrender" >&5 |
7467 | $as_echo_n "checking for $ac_word... " >&6; } |
7578 | $as_echo_n "checking for xrender... " >&6; } |
7468 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
|
|
7469 | $as_echo_n "(cached) " >&6 |
|
|
7470 | else |
|
|
7471 | case $PKG_CONFIG in |
|
|
7472 | [\\/]* | ?:[\\/]*) |
|
|
7473 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
7474 | ;; |
|
|
7475 | *) |
|
|
7476 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
7477 | for as_dir in $PATH |
|
|
7478 | do |
|
|
7479 | IFS=$as_save_IFS |
|
|
7480 | test -z "$as_dir" && as_dir=. |
|
|
7481 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
7482 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
7483 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
7484 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
7485 | break 2 |
|
|
7486 | fi |
|
|
7487 | done |
|
|
7488 | done |
|
|
7489 | IFS=$as_save_IFS |
|
|
7490 | |
|
|
7491 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
7492 | ;; |
|
|
7493 | esac |
|
|
7494 | fi |
|
|
7495 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
7496 | if test -n "$PKG_CONFIG"; then |
|
|
7497 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
|
|
7498 | $as_echo "$PKG_CONFIG" >&6; } |
|
|
7499 | else |
|
|
7500 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7501 | $as_echo "no" >&6; } |
|
|
7502 | fi |
|
|
7503 | |
|
|
7504 | |
|
|
7505 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then |
7579 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then |
7506 | X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS" |
7580 | XRENDER_CFLAGS="`$PKG_CONFIG --cflags xrender`" |
7507 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`" |
7581 | XRENDER_LIBS="`$PKG_CONFIG --libs xrender`" |
|
|
7582 | |
|
|
7583 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
|
7584 | $as_echo "ok" >&6; } |
|
|
7585 | |
|
|
7586 | X_LIBS="$XRENDER_LIBS $X_LIBS" |
|
|
7587 | CPPFLAGS="$CPPFLAGS $XRENDER_CFLAGS" |
7508 | rxvt_have_xrender=yes |
7588 | rxvt_have_xrender=yes |
7509 | |
7589 | |
7510 | save_LIBS="$LIBS" |
7590 | save_LIBS="$LIBS" |
7511 | LIBS="$LIBS $X_LIBS" |
7591 | LIBS="$LIBS $X_LIBS" |
7512 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" |
7592 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" |
… | |
… | |
7523 | else |
7603 | else |
7524 | rxvt_have_xrender=no |
7604 | rxvt_have_xrender=no |
7525 | fi |
7605 | fi |
7526 | |
7606 | |
7527 | LIBS="$save_LIBS" |
7607 | LIBS="$save_LIBS" |
|
|
7608 | |
|
|
7609 | else |
|
|
7610 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7611 | $as_echo "no" >&6; } |
|
|
7612 | : |
7528 | fi |
7613 | fi |
|
|
7614 | |
7529 | fi |
7615 | fi |
7530 | |
7616 | |
7531 | if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then |
7617 | if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then |
7532 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7618 | |
7533 | set dummy pkg-config; ac_word=$2 |
|
|
7534 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7619 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig xft" >&5 |
7535 | $as_echo_n "checking for $ac_word... " >&6; } |
7620 | $as_echo_n "checking for fontconfig xft... " >&6; } |
7536 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
7621 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig xft; then |
7537 | $as_echo_n "(cached) " >&6 |
7622 | XFT_CFLAGS="`$PKG_CONFIG --cflags fontconfig xft`" |
7538 | else |
7623 | XFT_LIBS="`$PKG_CONFIG --libs fontconfig xft`" |
7539 | case $PKG_CONFIG in |
|
|
7540 | [\\/]* | ?:[\\/]*) |
|
|
7541 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
7542 | ;; |
|
|
7543 | *) |
|
|
7544 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
7545 | for as_dir in $PATH |
|
|
7546 | do |
|
|
7547 | IFS=$as_save_IFS |
|
|
7548 | test -z "$as_dir" && as_dir=. |
|
|
7549 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
7550 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
7551 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
7552 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
7553 | break 2 |
|
|
7554 | fi |
|
|
7555 | done |
|
|
7556 | done |
|
|
7557 | IFS=$as_save_IFS |
|
|
7558 | |
7624 | |
7559 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
7560 | ;; |
|
|
7561 | esac |
|
|
7562 | fi |
|
|
7563 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
7564 | if test -n "$PKG_CONFIG"; then |
|
|
7565 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
7625 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
7566 | $as_echo "$PKG_CONFIG" >&6; } |
7626 | $as_echo "ok" >&6; } |
|
|
7627 | |
|
|
7628 | X_LIBS="$XFT_LIBS $X_LIBS" |
|
|
7629 | CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" |
|
|
7630 | |
7567 | else |
7631 | else |
7568 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7632 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7569 | $as_echo "no" >&6; } |
7633 | $as_echo "no" >&6; } |
7570 | fi |
|
|
7571 | |
7634 | |
7572 | |
|
|
7573 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
|
|
7574 | X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS" |
|
|
7575 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
|
|
7576 | else |
|
|
7577 | # Extract the first word of "xft-config", so it can be a program name with args. |
7635 | # Extract the first word of "xft-config", so it can be a program name with args. |
7578 | set dummy xft-config; ac_word=$2 |
7636 | set dummy xft-config; ac_word=$2 |
7579 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7637 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7580 | $as_echo_n "checking for $ac_word... " >&6; } |
7638 | $as_echo_n "checking for $ac_word... " >&6; } |
7581 | if ${ac_cv_path_XFT_CONFIG+:} false; then : |
7639 | if ${ac_cv_path_XFT_CONFIG+:} false; then : |
… | |
… | |
7617 | |
7675 | |
7618 | if test $XFT_CONFIG != no; then |
7676 | if test $XFT_CONFIG != no; then |
7619 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
7677 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
7620 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
7678 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
7621 | fi |
7679 | fi |
7622 | fi |
|
|
7623 | |
7680 | |
7624 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig; then |
|
|
7625 | X_LIBS="`$PKG_CONFIG fontconfig --libs` $X_LIBS" |
|
|
7626 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG fontconfig --cflags`" |
|
|
7627 | fi |
7681 | fi |
|
|
7682 | |
7628 | |
7683 | |
7629 | save_LIBS="$LIBS" |
7684 | save_LIBS="$LIBS" |
7630 | LIBS="$LIBS $X_LIBS" |
7685 | LIBS="$LIBS $X_LIBS" |
7631 | for ac_header in X11/Xft/Xft.h fontconfig/fontconfig.h |
7686 | for ac_header in X11/Xft/Xft.h fontconfig/fontconfig.h |
7632 | do : |
7687 | do : |
… | |
… | |
7665 | |
7720 | |
7666 | fi |
7721 | fi |
7667 | fi |
7722 | fi |
7668 | |
7723 | |
7669 | if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then |
7724 | if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then |
|
|
7725 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Render >= 0.11" >&5 |
|
|
7726 | $as_echo_n "checking for Render >= 0.11... " >&6; } |
|
|
7727 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7728 | /* end confdefs.h. */ |
|
|
7729 | |
|
|
7730 | #include <X11/extensions/Xrender.h> |
|
|
7731 | #if RENDER_MAJOR == 0 && RENDER_MINOR <= 10 |
|
|
7732 | error |
|
|
7733 | #endif |
|
|
7734 | |
|
|
7735 | int |
|
|
7736 | main () |
|
|
7737 | { |
|
|
7738 | |
|
|
7739 | ; |
|
|
7740 | return 0; |
|
|
7741 | } |
|
|
7742 | _ACEOF |
|
|
7743 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
7744 | |
|
|
7745 | else |
|
|
7746 | support_image=no |
|
|
7747 | fi |
|
|
7748 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7749 | if test x$support_image = xyes; then |
|
|
7750 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
|
7751 | $as_echo "ok" >&6; } |
7670 | LIBS="$LIBS -lm" |
7752 | LIBS="$LIBS -lm" |
7671 | |
7753 | |
7672 | $as_echo "#define XRENDER 1" >>confdefs.h |
7754 | $as_echo "#define XRENDER 1" >>confdefs.h |
7673 | |
7755 | |
7674 | |
7756 | |
7675 | if test x$support_inheritpixmap = xyes; then |
7757 | if test x$support_inheritpixmap = xyes; then |
7676 | |
7758 | |
7677 | $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h |
7759 | $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h |
7678 | |
7760 | |
|
|
7761 | fi |
|
|
7762 | else |
|
|
7763 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7764 | $as_echo "no" >&6; } |
7679 | fi |
7765 | fi |
7680 | fi |
7766 | fi |
7681 | |
7767 | |
7682 | if test x$support_styles = xyes; then |
7768 | if test x$support_styles = xyes; then |
7683 | |
7769 | |