… | |
… | |
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 |
|
|
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 |
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 |
… | |
… | |
6270 | LDFLAGS=$ac_save_LDFLAGS |
6361 | LDFLAGS=$ac_save_LDFLAGS |
6271 | |
6362 | |
6272 | fi |
6363 | fi |
6273 | |
6364 | |
6274 | |
6365 | |
6275 | image_lib=none |
6366 | 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. |
6367 | # 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 |
6368 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
6284 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6369 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6285 | $as_echo_n "checking for $ac_word... " >&6; } |
6370 | $as_echo_n "checking for $ac_word... " >&6; } |
6286 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6371 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6287 | $as_echo_n "(cached) " >&6 |
6372 | $as_echo_n "(cached) " >&6 |
6288 | else |
6373 | else |
… | |
… | |
6304 | fi |
6389 | fi |
6305 | done |
6390 | done |
6306 | done |
6391 | done |
6307 | IFS=$as_save_IFS |
6392 | IFS=$as_save_IFS |
6308 | |
6393 | |
6309 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
6310 | ;; |
6394 | ;; |
6311 | esac |
6395 | esac |
6312 | fi |
6396 | fi |
6313 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
6397 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
6314 | if test -n "$PKG_CONFIG"; then |
6398 | if test -n "$PKG_CONFIG"; then |
… | |
… | |
6318 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6402 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6319 | $as_echo "no" >&6; } |
6403 | $as_echo "no" >&6; } |
6320 | fi |
6404 | fi |
6321 | |
6405 | |
6322 | |
6406 | |
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 |
6407 | fi |
6343 | |
6408 | if test -z "$ac_cv_path_PKG_CONFIG"; then |
6344 | |
6409 | 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. |
6410 | # Extract the first word of "pkg-config", so it can be a program name with args. |
6353 | set dummy pkg-config; ac_word=$2 |
6411 | set dummy pkg-config; ac_word=$2 |
6354 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6412 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6355 | $as_echo_n "checking for $ac_word... " >&6; } |
6413 | $as_echo_n "checking for $ac_word... " >&6; } |
6356 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6414 | if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
6357 | $as_echo_n "(cached) " >&6 |
6415 | $as_echo_n "(cached) " >&6 |
6358 | else |
6416 | else |
6359 | case $PKG_CONFIG in |
6417 | case $ac_pt_PKG_CONFIG in |
6360 | [\\/]* | ?:[\\/]*) |
6418 | [\\/]* | ?:[\\/]*) |
6361 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
6419 | ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
6362 | ;; |
6420 | ;; |
6363 | *) |
6421 | *) |
6364 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6422 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6365 | for as_dir in $PATH |
6423 | for as_dir in $PATH |
6366 | do |
6424 | do |
6367 | IFS=$as_save_IFS |
6425 | IFS=$as_save_IFS |
6368 | test -z "$as_dir" && as_dir=. |
6426 | test -z "$as_dir" && as_dir=. |
6369 | for ac_exec_ext in '' $ac_executable_extensions; do |
6427 | for ac_exec_ext in '' $ac_executable_extensions; do |
6370 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6428 | 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" |
6429 | 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 |
6430 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6373 | break 2 |
6431 | break 2 |
6374 | fi |
6432 | fi |
6375 | done |
6433 | done |
6376 | done |
6434 | done |
6377 | IFS=$as_save_IFS |
6435 | IFS=$as_save_IFS |
6378 | |
6436 | |
6379 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
6380 | ;; |
6437 | ;; |
6381 | esac |
6438 | esac |
6382 | fi |
6439 | fi |
6383 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
6440 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
6384 | if test -n "$PKG_CONFIG"; then |
6441 | if test -n "$ac_pt_PKG_CONFIG"; then |
6385 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
6442 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
6386 | $as_echo "$PKG_CONFIG" >&6; } |
6443 | $as_echo "$ac_pt_PKG_CONFIG" >&6; } |
6387 | else |
6444 | else |
6388 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6445 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6389 | $as_echo "no" >&6; } |
6446 | $as_echo "no" >&6; } |
6390 | fi |
6447 | fi |
6391 | |
6448 | |
|
|
6449 | if test "x$ac_pt_PKG_CONFIG" = x; then |
|
|
6450 | PKG_CONFIG="no" |
|
|
6451 | else |
|
|
6452 | case $cross_compiling:$ac_tool_warned in |
|
|
6453 | yes:) |
|
|
6454 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
6455 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
6456 | ac_tool_warned=yes ;; |
|
|
6457 | esac |
|
|
6458 | PKG_CONFIG=$ac_pt_PKG_CONFIG |
|
|
6459 | fi |
|
|
6460 | else |
|
|
6461 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
|
|
6462 | fi |
6392 | |
6463 | |
|
|
6464 | |
|
|
6465 | image_lib=none |
|
|
6466 | |
|
|
6467 | PIXBUF_CFLAGS= |
|
|
6468 | PIXBUF_LIBS= |
|
|
6469 | |
|
|
6470 | if test x$support_pixbuf = xyes; then |
|
|
6471 | |
6393 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification" >&5 |
6472 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf-2.0" >&5 |
6394 | $as_echo_n "checking for libstartup-notification... " >&6; } |
6473 | $as_echo_n "checking for gdk-pixbuf-2.0... " >&6; } |
6395 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then |
6474 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then |
6396 | STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG libstartup-notification-1.0 --cflags`" |
6475 | PIXBUF_CFLAGS="`$PKG_CONFIG --cflags gdk-pixbuf-2.0`" |
6397 | STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG libstartup-notification-1.0 --libs`" |
6476 | PIXBUF_LIBS="`$PKG_CONFIG --libs gdk-pixbuf-2.0`" |
6398 | support_startup_notification=yes |
|
|
6399 | fi |
|
|
6400 | |
6477 | |
6401 | if test x$support_startup_notification = xyes; then |
|
|
6402 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6478 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6403 | $as_echo "ok" >&6; } |
6479 | $as_echo "ok" >&6; } |
6404 | |
6480 | |
|
|
6481 | image_lib=gdk-pixbuf |
|
|
6482 | |
6405 | $as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h |
6483 | $as_echo "#define HAVE_PIXBUF 1" >>confdefs.h |
|
|
6484 | |
6406 | |
6485 | |
6407 | else |
6486 | else |
6408 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6487 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6409 | $as_echo "no" >&6; } |
6488 | $as_echo "no" >&6; } |
|
|
6489 | : |
6410 | fi |
6490 | fi |
6411 | fi |
|
|
6412 | |
6491 | |
|
|
6492 | fi |
6413 | |
6493 | |
6414 | |
6494 | |
|
|
6495 | |
|
|
6496 | |
|
|
6497 | STARTUP_NOTIFICATION_CFLAGS= |
|
|
6498 | STARTUP_NOTIFICATION_LIBS= |
|
|
6499 | |
|
|
6500 | if test x$support_startup_notification = xyes; then |
|
|
6501 | |
|
|
6502 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification-1.0" >&5 |
|
|
6503 | $as_echo_n "checking for libstartup-notification-1.0... " >&6; } |
|
|
6504 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then |
|
|
6505 | STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG --cflags libstartup-notification-1.0`" |
|
|
6506 | STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG --libs libstartup-notification-1.0`" |
|
|
6507 | |
|
|
6508 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
|
6509 | $as_echo "ok" >&6; } |
|
|
6510 | |
|
|
6511 | |
|
|
6512 | $as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h |
|
|
6513 | |
|
|
6514 | |
|
|
6515 | else |
|
|
6516 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6517 | $as_echo "no" >&6; } |
|
|
6518 | : |
|
|
6519 | fi |
|
|
6520 | |
|
|
6521 | fi |
|
|
6522 | |
|
|
6523 | |
|
|
6524 | |
|
|
6525 | |
|
|
6526 | if test x$support_frills = xyes; then |
|
|
6527 | |
|
|
6528 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmu" >&5 |
|
|
6529 | $as_echo_n "checking for xmu... " >&6; } |
|
|
6530 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xmu; then |
|
|
6531 | XMU_CFLAGS="`$PKG_CONFIG --cflags xmu`" |
|
|
6532 | XMU_LIBS="`$PKG_CONFIG --libs xmu`" |
|
|
6533 | |
|
|
6534 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
|
6535 | $as_echo "ok" >&6; } |
|
|
6536 | |
|
|
6537 | X_LIBS="$XMU_LIBS $X_LIBS" |
|
|
6538 | CPPFLAGS="$CPPFLAGS $XMU_CFLAGS" |
|
|
6539 | |
|
|
6540 | $as_echo "#define HAVE_XMU 1" >>confdefs.h |
|
|
6541 | |
|
|
6542 | |
|
|
6543 | else |
|
|
6544 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6545 | $as_echo "no" >&6; } |
|
|
6546 | : |
|
|
6547 | fi |
|
|
6548 | |
|
|
6549 | fi |
6415 | |
6550 | |
6416 | for ac_header in \ |
6551 | for ac_header in \ |
6417 | sys/byteorder.h \ |
6552 | sys/byteorder.h \ |
6418 | sys/ioctl.h \ |
6553 | sys/ioctl.h \ |
6419 | sys/sockio.h \ |
6554 | sys/sockio.h \ |
… | |
… | |
6674 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" |
6809 | 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 : |
6810 | if test "x$ac_cv_header_utmp_h" = xyes; then : |
6676 | cat >>confdefs.h <<_ACEOF |
6811 | cat >>confdefs.h <<_ACEOF |
6677 | #define HAVE_UTMP_H 1 |
6812 | #define HAVE_UTMP_H 1 |
6678 | _ACEOF |
6813 | _ACEOF |
|
|
6814 | |
6679 | ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " |
6815 | ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " |
6680 | #include <sys/types.h> |
6816 | #include <sys/types.h> |
6681 | #include <utmp.h> |
6817 | #include <utmp.h> |
6682 | |
6818 | |
6683 | " |
6819 | " |
6684 | if test "x$ac_cv_type_struct_utmp" = xyes; then : |
6820 | if test "x$ac_cv_type_struct_utmp" = xyes; then : |
… | |
… | |
6689 | |
6825 | |
6690 | |
6826 | |
6691 | fi |
6827 | fi |
6692 | |
6828 | |
6693 | |
6829 | |
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" " |
6830 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" " |
6752 | #include <sys/types.h> |
6831 | #include <sys/types.h> |
6753 | #include <utmp.h> |
6832 | #include <utmp.h> |
6754 | |
6833 | |
6755 | " |
6834 | " |
… | |
… | |
6782 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" |
6861 | 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 : |
6862 | if test "x$ac_cv_header_utmpx_h" = xyes; then : |
6784 | cat >>confdefs.h <<_ACEOF |
6863 | cat >>confdefs.h <<_ACEOF |
6785 | #define HAVE_UTMPX_H 1 |
6864 | #define HAVE_UTMPX_H 1 |
6786 | _ACEOF |
6865 | _ACEOF |
|
|
6866 | |
6787 | ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " |
6867 | ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " |
6788 | #include <sys/types.h> |
6868 | #include <sys/types.h> |
6789 | #include <utmpx.h> |
6869 | #include <utmpx.h> |
6790 | |
6870 | |
6791 | " |
6871 | " |
6792 | if test "x$ac_cv_type_struct_utmpx" = xyes; then : |
6872 | if test "x$ac_cv_type_struct_utmpx" = xyes; then : |
… | |
… | |
6995 | |
7075 | |
6996 | |
7076 | |
6997 | |
7077 | |
6998 | |
7078 | |
6999 | save_LIBS=$LIBS |
7079 | save_LIBS=$LIBS |
7000 | save_CFLAGS=$CFLAGS |
7080 | save_CXXFLAGS=$CXXFLAGS |
7001 | CFLAGS="$CFLAGS $X_CFLAGS" |
7081 | CXXFLAGS="$CXXFLAGS $X_CFLAGS" |
7002 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
7082 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
7003 | if test x$support_xim = xyes; then |
7083 | if test x$support_xim = xyes; then |
7004 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 |
7084 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 |
7005 | $as_echo_n "checking for working Xlocale... " >&6; } |
7085 | $as_echo_n "checking for working Xlocale... " >&6; } |
7006 | if ${rxvt_cv_func_xlocale+:} false; then : |
7086 | if ${rxvt_cv_func_xlocale+:} false; then : |
… | |
… | |
7106 | |
7186 | |
7107 | $as_echo "#define HAVE_XSETLOCALE 1" >>confdefs.h |
7187 | $as_echo "#define HAVE_XSETLOCALE 1" >>confdefs.h |
7108 | |
7188 | |
7109 | fi |
7189 | fi |
7110 | LIBS=$save_LIBS |
7190 | LIBS=$save_LIBS |
7111 | CFLAGS=$save_CFLAGS |
7191 | CXXFLAGS=$save_CXXFLAGS |
7112 | |
7192 | |
7113 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 |
7193 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 |
7114 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
7194 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
7115 | if ${rxvt_cv_func_nl_langinfo+:} false; then : |
7195 | if ${rxvt_cv_func_nl_langinfo+:} false; then : |
7116 | $as_echo_n "(cached) " >&6 |
7196 | $as_echo_n "(cached) " >&6 |
… | |
… | |
7141 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
7221 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
7142 | |
7222 | |
7143 | fi |
7223 | fi |
7144 | |
7224 | |
7145 | |
7225 | |
|
|
7226 | |
7146 | case $host in |
7227 | case $host in |
7147 | *-*-solaris*) |
7228 | *-*-solaris*) |
|
|
7229 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7230 | /* end confdefs.h. */ |
7148 | |
7231 | |
|
|
7232 | #if __STDC_VERSION__ >= 199901L |
|
|
7233 | error |
|
|
7234 | #endif |
|
|
7235 | |
|
|
7236 | int |
|
|
7237 | main () |
|
|
7238 | { |
|
|
7239 | |
|
|
7240 | ; |
|
|
7241 | return 0; |
|
|
7242 | } |
|
|
7243 | _ACEOF |
|
|
7244 | if ac_fn_cxx_try_compile "$LINENO"; then : |
7149 | $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h |
7245 | $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h |
7150 | |
7246 | |
|
|
7247 | else |
|
|
7248 | $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h |
|
|
7249 | |
|
|
7250 | fi |
|
|
7251 | 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 |
7252 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5 |
7152 | $as_echo_n "checking for library containing sendmsg... " >&6; } |
7253 | $as_echo_n "checking for library containing sendmsg... " >&6; } |
7153 | if ${ac_cv_search_sendmsg+:} false; then : |
7254 | if ${ac_cv_search_sendmsg+:} false; then : |
7154 | $as_echo_n "(cached) " >&6 |
7255 | $as_echo_n "(cached) " >&6 |
7155 | else |
7256 | else |
… | |
… | |
7459 | if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then |
7560 | if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then |
7460 | support_image=yes |
7561 | support_image=yes |
7461 | fi |
7562 | fi |
7462 | if test x$support_xft = xyes || test x$support_image = xyes; then |
7563 | if test x$support_xft = xyes || test x$support_image = xyes; then |
7463 | rxvt_have_xrender=no |
7564 | rxvt_have_xrender=no |
7464 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7565 | |
7465 | set dummy pkg-config; ac_word=$2 |
|
|
7466 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7566 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xrender" >&5 |
7467 | $as_echo_n "checking for $ac_word... " >&6; } |
7567 | $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 |
7568 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then |
7506 | X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS" |
7569 | XRENDER_CFLAGS="`$PKG_CONFIG --cflags xrender`" |
7507 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`" |
7570 | XRENDER_LIBS="`$PKG_CONFIG --libs xrender`" |
|
|
7571 | |
|
|
7572 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
|
7573 | $as_echo "ok" >&6; } |
|
|
7574 | |
|
|
7575 | X_LIBS="$XRENDER_LIBS $X_LIBS" |
|
|
7576 | CPPFLAGS="$CPPFLAGS $XRENDER_CFLAGS" |
7508 | rxvt_have_xrender=yes |
7577 | rxvt_have_xrender=yes |
7509 | |
7578 | |
7510 | save_LIBS="$LIBS" |
7579 | save_LIBS="$LIBS" |
7511 | LIBS="$LIBS $X_LIBS" |
7580 | 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" |
7581 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" |
… | |
… | |
7523 | else |
7592 | else |
7524 | rxvt_have_xrender=no |
7593 | rxvt_have_xrender=no |
7525 | fi |
7594 | fi |
7526 | |
7595 | |
7527 | LIBS="$save_LIBS" |
7596 | LIBS="$save_LIBS" |
|
|
7597 | |
|
|
7598 | else |
|
|
7599 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7600 | $as_echo "no" >&6; } |
|
|
7601 | : |
7528 | fi |
7602 | fi |
|
|
7603 | |
7529 | fi |
7604 | fi |
7530 | |
7605 | |
7531 | if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then |
7606 | 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. |
7607 | |
7533 | set dummy pkg-config; ac_word=$2 |
|
|
7534 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7608 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig xft" >&5 |
7535 | $as_echo_n "checking for $ac_word... " >&6; } |
7609 | $as_echo_n "checking for fontconfig xft... " >&6; } |
7536 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
7610 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig xft; then |
7537 | $as_echo_n "(cached) " >&6 |
7611 | XFT_CFLAGS="`$PKG_CONFIG --cflags fontconfig xft`" |
7538 | else |
7612 | 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 | |
7613 | |
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 |
7614 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
7566 | $as_echo "$PKG_CONFIG" >&6; } |
7615 | $as_echo "ok" >&6; } |
|
|
7616 | |
|
|
7617 | X_LIBS="$XFT_LIBS $X_LIBS" |
|
|
7618 | CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" |
|
|
7619 | |
7567 | else |
7620 | else |
7568 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7621 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7569 | $as_echo "no" >&6; } |
7622 | $as_echo "no" >&6; } |
7570 | fi |
|
|
7571 | |
7623 | |
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. |
7624 | # Extract the first word of "xft-config", so it can be a program name with args. |
7578 | set dummy xft-config; ac_word=$2 |
7625 | set dummy xft-config; ac_word=$2 |
7579 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7626 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7580 | $as_echo_n "checking for $ac_word... " >&6; } |
7627 | $as_echo_n "checking for $ac_word... " >&6; } |
7581 | if ${ac_cv_path_XFT_CONFIG+:} false; then : |
7628 | if ${ac_cv_path_XFT_CONFIG+:} false; then : |
… | |
… | |
7617 | |
7664 | |
7618 | if test $XFT_CONFIG != no; then |
7665 | if test $XFT_CONFIG != no; then |
7619 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
7666 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
7620 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
7667 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
7621 | fi |
7668 | fi |
7622 | fi |
|
|
7623 | |
7669 | |
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 |
7670 | fi |
|
|
7671 | |
7628 | |
7672 | |
7629 | save_LIBS="$LIBS" |
7673 | save_LIBS="$LIBS" |
7630 | LIBS="$LIBS $X_LIBS" |
7674 | LIBS="$LIBS $X_LIBS" |
7631 | for ac_header in X11/Xft/Xft.h fontconfig/fontconfig.h |
7675 | for ac_header in X11/Xft/Xft.h fontconfig/fontconfig.h |
7632 | do : |
7676 | do : |
… | |
… | |
7665 | |
7709 | |
7666 | fi |
7710 | fi |
7667 | fi |
7711 | fi |
7668 | |
7712 | |
7669 | if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then |
7713 | if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then |
|
|
7714 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Render >= 0.11" >&5 |
|
|
7715 | $as_echo_n "checking for Render >= 0.11... " >&6; } |
|
|
7716 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7717 | /* end confdefs.h. */ |
|
|
7718 | |
|
|
7719 | #include <X11/extensions/Xrender.h> |
|
|
7720 | #if RENDER_MAJOR == 0 && RENDER_MINOR <= 10 |
|
|
7721 | error |
|
|
7722 | #endif |
|
|
7723 | |
|
|
7724 | int |
|
|
7725 | main () |
|
|
7726 | { |
|
|
7727 | |
|
|
7728 | ; |
|
|
7729 | return 0; |
|
|
7730 | } |
|
|
7731 | _ACEOF |
|
|
7732 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
7733 | |
|
|
7734 | else |
|
|
7735 | support_image=no |
|
|
7736 | fi |
|
|
7737 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7738 | if test x$support_image = xyes; then |
|
|
7739 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
|
7740 | $as_echo "ok" >&6; } |
7670 | LIBS="$LIBS -lm" |
7741 | LIBS="$LIBS -lm" |
7671 | |
7742 | |
7672 | $as_echo "#define XRENDER 1" >>confdefs.h |
7743 | $as_echo "#define XRENDER 1" >>confdefs.h |
7673 | |
7744 | |
7674 | |
7745 | |
7675 | if test x$support_inheritpixmap = xyes; then |
7746 | if test x$support_inheritpixmap = xyes; then |
7676 | |
7747 | |
7677 | $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h |
7748 | $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h |
7678 | |
7749 | |
|
|
7750 | fi |
|
|
7751 | else |
|
|
7752 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7753 | $as_echo "no" >&6; } |
7679 | fi |
7754 | fi |
7680 | fi |
7755 | fi |
7681 | |
7756 | |
7682 | if test x$support_styles = xyes; then |
7757 | if test x$support_styles = xyes; then |
7683 | |
7758 | |