1 | #! /bin/sh |
1 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Guess values for system-dependent variables and create Makefiles. |
3 | # Generated by GNU Autoconf 2.68. |
3 | # Generated by GNU Autoconf 2.69. |
4 | # |
4 | # |
5 | # |
5 | # |
6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
|
|
8 | # Foundation, Inc. |
|
|
9 | # |
7 | # |
10 | # |
8 | # |
11 | # This configure script is free software; the Free Software Foundation |
9 | # This configure script is free software; the Free Software Foundation |
12 | # gives unlimited permission to copy, distribute and modify it. |
10 | # gives unlimited permission to copy, distribute and modify it. |
13 | ## -------------------- ## |
11 | ## -------------------- ## |
… | |
… | |
132 | export LANGUAGE |
130 | export LANGUAGE |
133 | |
131 | |
134 | # CDPATH. |
132 | # CDPATH. |
135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
133 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
136 | |
134 | |
|
|
135 | # Use a proper internal environment variable to ensure we don't fall |
|
|
136 | # into an infinite loop, continuously re-executing ourselves. |
|
|
137 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
|
|
138 | _as_can_reexec=no; export _as_can_reexec; |
|
|
139 | # We cannot yet assume a decent shell, so we have to provide a |
|
|
140 | # neutralization value for shells without unset; and this also |
|
|
141 | # works around shells that cannot unset nonexistent variables. |
|
|
142 | # Preserve -v and -x to the replacement shell. |
|
|
143 | BASH_ENV=/dev/null |
|
|
144 | ENV=/dev/null |
|
|
145 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
|
146 | case $- in # (((( |
|
|
147 | *v*x* | *x*v* ) as_opts=-vx ;; |
|
|
148 | *v* ) as_opts=-v ;; |
|
|
149 | *x* ) as_opts=-x ;; |
|
|
150 | * ) as_opts= ;; |
|
|
151 | esac |
|
|
152 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
|
153 | # Admittedly, this is quite paranoid, since all the known shells bail |
|
|
154 | # out after a failed `exec'. |
|
|
155 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
|
156 | as_fn_exit 255 |
|
|
157 | fi |
|
|
158 | # We don't want this to propagate to other subprocesses. |
|
|
159 | { _as_can_reexec=; unset _as_can_reexec;} |
137 | if test "x$CONFIG_SHELL" = x; then |
160 | if test "x$CONFIG_SHELL" = x; then |
138 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
161 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
139 | emulate sh |
162 | emulate sh |
140 | NULLCMD=: |
163 | NULLCMD=: |
141 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
164 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
… | |
… | |
165 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
188 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
166 | |
189 | |
167 | else |
190 | else |
168 | exitcode=1; echo positional parameters were not saved. |
191 | exitcode=1; echo positional parameters were not saved. |
169 | fi |
192 | fi |
170 | test x\$exitcode = x0 || exit 1" |
193 | test x\$exitcode = x0 || exit 1 |
|
|
194 | test -x / || exit 1" |
171 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
195 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
172 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
196 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
173 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
197 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
174 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
198 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
175 | test \$(( 1 + 1 )) = 2 || exit 1" |
199 | test \$(( 1 + 1 )) = 2 || exit 1" |
… | |
… | |
210 | fi; } |
234 | fi; } |
211 | IFS=$as_save_IFS |
235 | IFS=$as_save_IFS |
212 | |
236 | |
213 | |
237 | |
214 | if test "x$CONFIG_SHELL" != x; then : |
238 | if test "x$CONFIG_SHELL" != x; then : |
|
|
239 | export CONFIG_SHELL |
215 | # We cannot yet assume a decent shell, so we have to provide a |
240 | # We cannot yet assume a decent shell, so we have to provide a |
216 | # neutralization value for shells without unset; and this also |
241 | # neutralization value for shells without unset; and this also |
217 | # works around shells that cannot unset nonexistent variables. |
242 | # works around shells that cannot unset nonexistent variables. |
218 | # Preserve -v and -x to the replacement shell. |
243 | # Preserve -v and -x to the replacement shell. |
219 | BASH_ENV=/dev/null |
244 | BASH_ENV=/dev/null |
220 | ENV=/dev/null |
245 | ENV=/dev/null |
221 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
246 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
222 | export CONFIG_SHELL |
|
|
223 | case $- in # (((( |
247 | case $- in # (((( |
224 | *v*x* | *x*v* ) as_opts=-vx ;; |
248 | *v*x* | *x*v* ) as_opts=-vx ;; |
225 | *v* ) as_opts=-v ;; |
249 | *v* ) as_opts=-v ;; |
226 | *x* ) as_opts=-x ;; |
250 | *x* ) as_opts=-x ;; |
227 | * ) as_opts= ;; |
251 | * ) as_opts= ;; |
228 | esac |
252 | esac |
229 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
253 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
|
254 | # Admittedly, this is quite paranoid, since all the known shells bail |
|
|
255 | # out after a failed `exec'. |
|
|
256 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
|
257 | exit 255 |
230 | fi |
258 | fi |
231 | |
259 | |
232 | if test x$as_have_required = xno; then : |
260 | if test x$as_have_required = xno; then : |
233 | $as_echo "$0: This script requires a shell more modern than all" |
261 | $as_echo "$0: This script requires a shell more modern than all" |
234 | $as_echo "$0: the shells that I found on your system." |
262 | $as_echo "$0: the shells that I found on your system." |
… | |
… | |
326 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
354 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
327 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
355 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
328 | |
356 | |
329 | |
357 | |
330 | } # as_fn_mkdir_p |
358 | } # as_fn_mkdir_p |
|
|
359 | |
|
|
360 | # as_fn_executable_p FILE |
|
|
361 | # ----------------------- |
|
|
362 | # Test if FILE is an executable regular file. |
|
|
363 | as_fn_executable_p () |
|
|
364 | { |
|
|
365 | test -f "$1" && test -x "$1" |
|
|
366 | } # as_fn_executable_p |
331 | # as_fn_append VAR VALUE |
367 | # as_fn_append VAR VALUE |
332 | # ---------------------- |
368 | # ---------------------- |
333 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
369 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
334 | # advantage of any shell optimizations that allow amortized linear growth over |
370 | # advantage of any shell optimizations that allow amortized linear growth over |
335 | # repeated appends, instead of the typical quadratic growth present in naive |
371 | # repeated appends, instead of the typical quadratic growth present in naive |
… | |
… | |
447 | s/-\n.*// |
483 | s/-\n.*// |
448 | ' >$as_me.lineno && |
484 | ' >$as_me.lineno && |
449 | chmod +x "$as_me.lineno" || |
485 | chmod +x "$as_me.lineno" || |
450 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
486 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
451 | |
487 | |
|
|
488 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
|
|
489 | # already done that, so ensure we don't try to do so again and fall |
|
|
490 | # in an infinite loop. This has already happened in practice. |
|
|
491 | _as_can_reexec=no; export _as_can_reexec |
452 | # Don't try to exec as it changes $[0], causing all sort of problems |
492 | # Don't try to exec as it changes $[0], causing all sort of problems |
453 | # (the dirname of $[0] is not the place where we might find the |
493 | # (the dirname of $[0] is not the place where we might find the |
454 | # original and so on. Autoconf is especially sensitive to this). |
494 | # original and so on. Autoconf is especially sensitive to this). |
455 | . "./$as_me.lineno" |
495 | . "./$as_me.lineno" |
456 | # Exit status is that of the last command. |
496 | # Exit status is that of the last command. |
… | |
… | |
481 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
521 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
482 | as_ln_s='ln -s' |
522 | as_ln_s='ln -s' |
483 | # ... but there are two gotchas: |
523 | # ... but there are two gotchas: |
484 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
524 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
485 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
525 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
486 | # In both cases, we have to default to `cp -p'. |
526 | # In both cases, we have to default to `cp -pR'. |
487 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
527 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
488 | as_ln_s='cp -p' |
528 | as_ln_s='cp -pR' |
489 | elif ln conf$$.file conf$$ 2>/dev/null; then |
529 | elif ln conf$$.file conf$$ 2>/dev/null; then |
490 | as_ln_s=ln |
530 | as_ln_s=ln |
491 | else |
531 | else |
492 | as_ln_s='cp -p' |
532 | as_ln_s='cp -pR' |
493 | fi |
533 | fi |
494 | else |
534 | else |
495 | as_ln_s='cp -p' |
535 | as_ln_s='cp -pR' |
496 | fi |
536 | fi |
497 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
537 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
498 | rmdir conf$$.dir 2>/dev/null |
538 | rmdir conf$$.dir 2>/dev/null |
499 | |
539 | |
500 | if mkdir -p . 2>/dev/null; then |
540 | if mkdir -p . 2>/dev/null; then |
… | |
… | |
502 | else |
542 | else |
503 | test -d ./-p && rmdir ./-p |
543 | test -d ./-p && rmdir ./-p |
504 | as_mkdir_p=false |
544 | as_mkdir_p=false |
505 | fi |
545 | fi |
506 | |
546 | |
507 | if test -x / >/dev/null 2>&1; then |
|
|
508 | as_test_x='test -x' |
547 | as_test_x='test -x' |
509 | else |
548 | as_executable_p=as_fn_executable_p |
510 | if ls -dL / >/dev/null 2>&1; then |
|
|
511 | as_ls_L_option=L |
|
|
512 | else |
|
|
513 | as_ls_L_option= |
|
|
514 | fi |
|
|
515 | as_test_x=' |
|
|
516 | eval sh -c '\'' |
|
|
517 | if test -d "$1"; then |
|
|
518 | test -d "$1/."; |
|
|
519 | else |
|
|
520 | case $1 in #( |
|
|
521 | -*)set "./$1";; |
|
|
522 | esac; |
|
|
523 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
|
524 | ???[sx]*):;;*)false;;esac;fi |
|
|
525 | '\'' sh |
|
|
526 | ' |
|
|
527 | fi |
|
|
528 | as_executable_p=$as_test_x |
|
|
529 | |
549 | |
530 | # Sed expression to map a string onto a valid CPP name. |
550 | # Sed expression to map a string onto a valid CPP name. |
531 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
551 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
532 | |
552 | |
533 | # Sed expression to map a string onto a valid variable name. |
553 | # Sed expression to map a string onto a valid variable name. |
… | |
… | |
606 | PERLPRIVLIBEXP |
626 | PERLPRIVLIBEXP |
607 | PERLFLAGS |
627 | PERLFLAGS |
608 | PERLLIB |
628 | PERLLIB |
609 | PERL |
629 | PERL |
610 | XFT_CONFIG |
630 | XFT_CONFIG |
611 | AFTERIMAGE_LIBS |
|
|
612 | AFTERIMAGE_CFLAGS |
|
|
613 | afterimage_config |
|
|
614 | STARTUP_NOTIFICATION_LIBS |
631 | STARTUP_NOTIFICATION_LIBS |
615 | STARTUP_NOTIFICATION_CFLAGS |
632 | STARTUP_NOTIFICATION_CFLAGS |
616 | PIXBUF_LIBS |
633 | PIXBUF_LIBS |
617 | PIXBUF_CFLAGS |
634 | PIXBUF_CFLAGS |
618 | PKG_CONFIG |
635 | PKG_CONFIG |
… | |
… | |
625 | CXXCPP |
642 | CXXCPP |
626 | RXVTNAME |
643 | RXVTNAME |
627 | LINKER |
644 | LINKER |
628 | EGREP |
645 | EGREP |
629 | GREP |
646 | GREP |
|
|
647 | CPP |
630 | INSTALL_DATA |
648 | INSTALL_DATA |
631 | INSTALL_SCRIPT |
649 | INSTALL_SCRIPT |
632 | INSTALL_PROGRAM |
650 | INSTALL_PROGRAM |
633 | CPP |
|
|
634 | ac_ct_CXX |
651 | ac_ct_CXX |
635 | CXXFLAGS |
652 | CXXFLAGS |
636 | CXX |
653 | CXX |
637 | OBJEXT |
654 | OBJEXT |
638 | EXEEXT |
655 | EXEEXT |
… | |
… | |
698 | enable_256_color |
715 | enable_256_color |
699 | enable_unicode3 |
716 | enable_unicode3 |
700 | enable_combining |
717 | enable_combining |
701 | enable_xft |
718 | enable_xft |
702 | enable_font_styles |
719 | enable_font_styles |
703 | enable_afterimage |
|
|
704 | with_afterimage_config |
|
|
705 | enable_pixbuf |
720 | enable_pixbuf |
706 | enable_startup_notification |
721 | enable_startup_notification |
707 | enable_transparency |
722 | enable_transparency |
708 | enable_fading |
723 | enable_fading |
709 | enable_rxvt_scroll |
724 | enable_rxvt_scroll |
… | |
… | |
1204 | |
1219 | |
1205 | # FIXME: To remove some day. |
1220 | # FIXME: To remove some day. |
1206 | if test "x$host_alias" != x; then |
1221 | if test "x$host_alias" != x; then |
1207 | if test "x$build_alias" = x; then |
1222 | if test "x$build_alias" = x; then |
1208 | cross_compiling=maybe |
1223 | cross_compiling=maybe |
1209 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
|
|
1210 | If a cross compiler is detected then cross compile mode will be used" >&2 |
|
|
1211 | elif test "x$build_alias" != "x$host_alias"; then |
1224 | elif test "x$build_alias" != "x$host_alias"; then |
1212 | cross_compiling=yes |
1225 | cross_compiling=yes |
1213 | fi |
1226 | fi |
1214 | fi |
1227 | fi |
1215 | |
1228 | |
… | |
… | |
1375 | --enable-256-color enable 256-color support |
1388 | --enable-256-color enable 256-color support |
1376 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1389 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1377 | --enable-combining enable composition of base and combining characters |
1390 | --enable-combining enable composition of base and combining characters |
1378 | --enable-xft enable xft support on systems that have it |
1391 | --enable-xft enable xft support on systems that have it |
1379 | --enable-font-styles enable bold and italic support |
1392 | --enable-font-styles enable bold and italic support |
1380 | --enable-afterimage enable integration with libAfterImage for background images |
|
|
1381 | --enable-pixbuf enable integration with gdk-pixbuf for background images |
1393 | --enable-pixbuf enable integration with gdk-pixbuf for background images |
1382 | --enable-startup-notification enable freedesktop startup notification support |
1394 | --enable-startup-notification enable freedesktop startup notification support |
1383 | --enable-transparency enable transparent backgrounds |
1395 | --enable-transparency enable transparent backgrounds |
1384 | --enable-fading enable colors fading when off focus |
1396 | --enable-fading enable colors fading when off focus |
1385 | --enable-rxvt-scroll enable rxvt style scrollbar |
1397 | --enable-rxvt-scroll enable rxvt style scrollbar |
… | |
… | |
1407 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1419 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1408 | |
1420 | |
1409 | Optional Packages: |
1421 | Optional Packages: |
1410 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1422 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1411 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1423 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1412 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
|
|
1413 | --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1424 | --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1414 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1425 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1415 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1426 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1416 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1427 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1417 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1428 | --with-term=NAME set the terminal to NAME (default: rxvt) |
… | |
… | |
1497 | |
1508 | |
1498 | test -n "$ac_init_help" && exit $ac_status |
1509 | test -n "$ac_init_help" && exit $ac_status |
1499 | if $ac_init_version; then |
1510 | if $ac_init_version; then |
1500 | cat <<\_ACEOF |
1511 | cat <<\_ACEOF |
1501 | configure |
1512 | configure |
1502 | generated by GNU Autoconf 2.68 |
1513 | generated by GNU Autoconf 2.69 |
1503 | |
1514 | |
1504 | Copyright (C) 2010 Free Software Foundation, Inc. |
1515 | Copyright (C) 2012 Free Software Foundation, Inc. |
1505 | This configure script is free software; the Free Software Foundation |
1516 | This configure script is free software; the Free Software Foundation |
1506 | gives unlimited permission to copy, distribute and modify it. |
1517 | gives unlimited permission to copy, distribute and modify it. |
1507 | _ACEOF |
1518 | _ACEOF |
1508 | exit |
1519 | exit |
1509 | fi |
1520 | fi |
… | |
… | |
1810 | test $ac_status = 0; } && { |
1821 | test $ac_status = 0; } && { |
1811 | test -z "$ac_c_werror_flag" || |
1822 | test -z "$ac_c_werror_flag" || |
1812 | test ! -s conftest.err |
1823 | test ! -s conftest.err |
1813 | } && test -s conftest$ac_exeext && { |
1824 | } && test -s conftest$ac_exeext && { |
1814 | test "$cross_compiling" = yes || |
1825 | test "$cross_compiling" = yes || |
1815 | $as_test_x conftest$ac_exeext |
1826 | test -x conftest$ac_exeext |
1816 | }; then : |
1827 | }; then : |
1817 | ac_retval=0 |
1828 | ac_retval=0 |
1818 | else |
1829 | else |
1819 | $as_echo "$as_me: failed program was:" >&5 |
1830 | $as_echo "$as_me: failed program was:" >&5 |
1820 | sed 's/^/| /' conftest.$ac_ext >&5 |
1831 | sed 's/^/| /' conftest.$ac_ext >&5 |
… | |
… | |
1856 | test $ac_status = 0; } && { |
1867 | test $ac_status = 0; } && { |
1857 | test -z "$ac_cxx_werror_flag" || |
1868 | test -z "$ac_cxx_werror_flag" || |
1858 | test ! -s conftest.err |
1869 | test ! -s conftest.err |
1859 | } && test -s conftest$ac_exeext && { |
1870 | } && test -s conftest$ac_exeext && { |
1860 | test "$cross_compiling" = yes || |
1871 | test "$cross_compiling" = yes || |
1861 | $as_test_x conftest$ac_exeext |
1872 | test -x conftest$ac_exeext |
1862 | }; then : |
1873 | }; then : |
1863 | ac_retval=0 |
1874 | ac_retval=0 |
1864 | else |
1875 | else |
1865 | $as_echo "$as_me: failed program was:" >&5 |
1876 | $as_echo "$as_me: failed program was:" >&5 |
1866 | sed 's/^/| /' conftest.$ac_ext >&5 |
1877 | sed 's/^/| /' conftest.$ac_ext >&5 |
… | |
… | |
2145 | enum { N = $2 / 2 - 1 }; |
2156 | enum { N = $2 / 2 - 1 }; |
2146 | int |
2157 | int |
2147 | main () |
2158 | main () |
2148 | { |
2159 | { |
2149 | static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; |
2160 | static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; |
2150 | test_array [0] = 0 |
2161 | test_array [0] = 0; |
|
|
2162 | return test_array [0]; |
2151 | |
2163 | |
2152 | ; |
2164 | ; |
2153 | return 0; |
2165 | return 0; |
2154 | } |
2166 | } |
2155 | _ACEOF |
2167 | _ACEOF |
… | |
… | |
2161 | int |
2173 | int |
2162 | main () |
2174 | main () |
2163 | { |
2175 | { |
2164 | static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) |
2176 | static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) |
2165 | < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; |
2177 | < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; |
2166 | test_array [0] = 0 |
2178 | test_array [0] = 0; |
|
|
2179 | return test_array [0]; |
2167 | |
2180 | |
2168 | ; |
2181 | ; |
2169 | return 0; |
2182 | return 0; |
2170 | } |
2183 | } |
2171 | _ACEOF |
2184 | _ACEOF |
… | |
… | |
2218 | $ac_includes_default |
2231 | $ac_includes_default |
2219 | int |
2232 | int |
2220 | main () |
2233 | main () |
2221 | { |
2234 | { |
2222 | static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; |
2235 | static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; |
2223 | test_array [0] = 0 |
2236 | test_array [0] = 0; |
|
|
2237 | return test_array [0]; |
2224 | |
2238 | |
2225 | ; |
2239 | ; |
2226 | return 0; |
2240 | return 0; |
2227 | } |
2241 | } |
2228 | _ACEOF |
2242 | _ACEOF |
… | |
… | |
2246 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2260 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2247 | $as_echo "$ac_res" >&6; } |
2261 | $as_echo "$ac_res" >&6; } |
2248 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2262 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2249 | |
2263 | |
2250 | } # ac_fn_c_find_uintX_t |
2264 | } # ac_fn_c_find_uintX_t |
|
|
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 |
2251 | |
2322 | |
2252 | # ac_fn_cxx_try_run LINENO |
2323 | # ac_fn_cxx_try_run LINENO |
2253 | # ------------------------ |
2324 | # ------------------------ |
2254 | # 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 |
2255 | # that executables *can* be run. |
2326 | # that executables *can* be run. |
… | |
… | |
2293 | cat >config.log <<_ACEOF |
2364 | cat >config.log <<_ACEOF |
2294 | This file contains any messages produced by compilers while |
2365 | This file contains any messages produced by compilers while |
2295 | running configure, to aid debugging if configure makes a mistake. |
2366 | running configure, to aid debugging if configure makes a mistake. |
2296 | |
2367 | |
2297 | It was created by $as_me, which was |
2368 | It was created by $as_me, which was |
2298 | generated by GNU Autoconf 2.68. Invocation command line was |
2369 | generated by GNU Autoconf 2.69. Invocation command line was |
2299 | |
2370 | |
2300 | $ $0 $@ |
2371 | $ $0 $@ |
2301 | |
2372 | |
2302 | _ACEOF |
2373 | _ACEOF |
2303 | exec 5>>config.log |
2374 | exec 5>>config.log |
… | |
… | |
2746 | IFS=$ac_save_IFS |
2817 | IFS=$ac_save_IFS |
2747 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2818 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2748 | |
2819 | |
2749 | |
2820 | |
2750 | |
2821 | |
2751 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2822 | VERSION=`sed -n -e 's/^.* VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2752 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2823 | DATE=`sed -n -e 's/^.* DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2753 | |
2824 | |
2754 | echo "" |
2825 | echo "" |
2755 | echo "configuring for rxvt $VERSION" |
2826 | echo "configuring for rxvt $VERSION" |
2756 | echo "" |
2827 | echo "" |
2757 | |
2828 | |
… | |
… | |
2777 | for as_dir in $PATH |
2848 | for as_dir in $PATH |
2778 | do |
2849 | do |
2779 | IFS=$as_save_IFS |
2850 | IFS=$as_save_IFS |
2780 | test -z "$as_dir" && as_dir=. |
2851 | test -z "$as_dir" && as_dir=. |
2781 | for ac_exec_ext in '' $ac_executable_extensions; do |
2852 | for ac_exec_ext in '' $ac_executable_extensions; do |
2782 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2853 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2783 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2854 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2784 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2855 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2785 | break 2 |
2856 | break 2 |
2786 | fi |
2857 | fi |
2787 | done |
2858 | done |
… | |
… | |
2817 | for as_dir in $PATH |
2888 | for as_dir in $PATH |
2818 | do |
2889 | do |
2819 | IFS=$as_save_IFS |
2890 | IFS=$as_save_IFS |
2820 | test -z "$as_dir" && as_dir=. |
2891 | test -z "$as_dir" && as_dir=. |
2821 | for ac_exec_ext in '' $ac_executable_extensions; do |
2892 | for ac_exec_ext in '' $ac_executable_extensions; do |
2822 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2893 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2823 | ac_cv_prog_ac_ct_CC="gcc" |
2894 | ac_cv_prog_ac_ct_CC="gcc" |
2824 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2895 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2825 | break 2 |
2896 | break 2 |
2826 | fi |
2897 | fi |
2827 | done |
2898 | done |
… | |
… | |
2870 | for as_dir in $PATH |
2941 | for as_dir in $PATH |
2871 | do |
2942 | do |
2872 | IFS=$as_save_IFS |
2943 | IFS=$as_save_IFS |
2873 | test -z "$as_dir" && as_dir=. |
2944 | test -z "$as_dir" && as_dir=. |
2874 | for ac_exec_ext in '' $ac_executable_extensions; do |
2945 | for ac_exec_ext in '' $ac_executable_extensions; do |
2875 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2946 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2876 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2947 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2877 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2948 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2878 | break 2 |
2949 | break 2 |
2879 | fi |
2950 | fi |
2880 | done |
2951 | done |
… | |
… | |
2911 | for as_dir in $PATH |
2982 | for as_dir in $PATH |
2912 | do |
2983 | do |
2913 | IFS=$as_save_IFS |
2984 | IFS=$as_save_IFS |
2914 | test -z "$as_dir" && as_dir=. |
2985 | test -z "$as_dir" && as_dir=. |
2915 | for ac_exec_ext in '' $ac_executable_extensions; do |
2986 | for ac_exec_ext in '' $ac_executable_extensions; do |
2916 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2987 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2917 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2988 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2918 | ac_prog_rejected=yes |
2989 | ac_prog_rejected=yes |
2919 | continue |
2990 | continue |
2920 | fi |
2991 | fi |
2921 | ac_cv_prog_CC="cc" |
2992 | ac_cv_prog_CC="cc" |
… | |
… | |
2969 | for as_dir in $PATH |
3040 | for as_dir in $PATH |
2970 | do |
3041 | do |
2971 | IFS=$as_save_IFS |
3042 | IFS=$as_save_IFS |
2972 | test -z "$as_dir" && as_dir=. |
3043 | test -z "$as_dir" && as_dir=. |
2973 | for ac_exec_ext in '' $ac_executable_extensions; do |
3044 | for ac_exec_ext in '' $ac_executable_extensions; do |
2974 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3045 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2975 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3046 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2976 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3047 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2977 | break 2 |
3048 | break 2 |
2978 | fi |
3049 | fi |
2979 | done |
3050 | done |
… | |
… | |
3013 | for as_dir in $PATH |
3084 | for as_dir in $PATH |
3014 | do |
3085 | do |
3015 | IFS=$as_save_IFS |
3086 | IFS=$as_save_IFS |
3016 | test -z "$as_dir" && as_dir=. |
3087 | test -z "$as_dir" && as_dir=. |
3017 | for ac_exec_ext in '' $ac_executable_extensions; do |
3088 | for ac_exec_ext in '' $ac_executable_extensions; do |
3018 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3089 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3019 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3090 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3020 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3091 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3021 | break 2 |
3092 | break 2 |
3022 | fi |
3093 | fi |
3023 | done |
3094 | done |
… | |
… | |
3459 | ac_save_CC=$CC |
3530 | ac_save_CC=$CC |
3460 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3531 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3461 | /* end confdefs.h. */ |
3532 | /* end confdefs.h. */ |
3462 | #include <stdarg.h> |
3533 | #include <stdarg.h> |
3463 | #include <stdio.h> |
3534 | #include <stdio.h> |
3464 | #include <sys/types.h> |
3535 | struct stat; |
3465 | #include <sys/stat.h> |
|
|
3466 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3536 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3467 | struct buf { int x; }; |
3537 | struct buf { int x; }; |
3468 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3538 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3469 | static char *e (p, i) |
3539 | static char *e (p, i) |
3470 | char **p; |
3540 | char **p; |
… | |
… | |
3573 | for as_dir in $PATH |
3643 | for as_dir in $PATH |
3574 | do |
3644 | do |
3575 | IFS=$as_save_IFS |
3645 | IFS=$as_save_IFS |
3576 | test -z "$as_dir" && as_dir=. |
3646 | test -z "$as_dir" && as_dir=. |
3577 | for ac_exec_ext in '' $ac_executable_extensions; do |
3647 | for ac_exec_ext in '' $ac_executable_extensions; do |
3578 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3648 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3579 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
3649 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
3580 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3650 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3581 | break 2 |
3651 | break 2 |
3582 | fi |
3652 | fi |
3583 | done |
3653 | done |
… | |
… | |
3617 | for as_dir in $PATH |
3687 | for as_dir in $PATH |
3618 | do |
3688 | do |
3619 | IFS=$as_save_IFS |
3689 | IFS=$as_save_IFS |
3620 | test -z "$as_dir" && as_dir=. |
3690 | test -z "$as_dir" && as_dir=. |
3621 | for ac_exec_ext in '' $ac_executable_extensions; do |
3691 | for ac_exec_ext in '' $ac_executable_extensions; do |
3622 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3692 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3623 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
3693 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
3624 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3694 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3625 | break 2 |
3695 | break 2 |
3626 | fi |
3696 | fi |
3627 | done |
3697 | done |
… | |
… | |
3802 | ac_cpp='$CPP $CPPFLAGS' |
3872 | ac_cpp='$CPP $CPPFLAGS' |
3803 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3873 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3804 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3874 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3805 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3875 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3806 | |
3876 | |
3807 | ac_ext=c |
|
|
3808 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3809 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3810 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3811 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3812 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
|
3813 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
|
3814 | # On Suns, sometimes $CPP names a directory. |
|
|
3815 | if test -n "$CPP" && test -d "$CPP"; then |
|
|
3816 | CPP= |
|
|
3817 | fi |
|
|
3818 | if test -z "$CPP"; then |
|
|
3819 | if ${ac_cv_prog_CPP+:} false; then : |
|
|
3820 | $as_echo_n "(cached) " >&6 |
|
|
3821 | else |
|
|
3822 | # Double quotes because CPP needs to be expanded |
|
|
3823 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
3824 | do |
|
|
3825 | ac_preproc_ok=false |
|
|
3826 | for ac_c_preproc_warn_flag in '' yes |
|
|
3827 | do |
|
|
3828 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3829 | # with a fresh cross-compiler works. |
|
|
3830 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3831 | # <limits.h> exists even on freestanding compilers. |
|
|
3832 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3833 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3834 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3835 | /* end confdefs.h. */ |
|
|
3836 | #ifdef __STDC__ |
|
|
3837 | # include <limits.h> |
|
|
3838 | #else |
|
|
3839 | # include <assert.h> |
|
|
3840 | #endif |
|
|
3841 | Syntax error |
|
|
3842 | _ACEOF |
|
|
3843 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3844 | |
|
|
3845 | else |
|
|
3846 | # Broken: fails on valid input. |
|
|
3847 | continue |
|
|
3848 | fi |
|
|
3849 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3850 | |
|
|
3851 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3852 | # can be detected and how. |
|
|
3853 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3854 | /* end confdefs.h. */ |
|
|
3855 | #include <ac_nonexistent.h> |
|
|
3856 | _ACEOF |
|
|
3857 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3858 | # Broken: success on invalid input. |
|
|
3859 | continue |
|
|
3860 | else |
|
|
3861 | # Passes both tests. |
|
|
3862 | ac_preproc_ok=: |
|
|
3863 | break |
|
|
3864 | fi |
|
|
3865 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3866 | |
|
|
3867 | done |
|
|
3868 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3869 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3870 | if $ac_preproc_ok; then : |
|
|
3871 | break |
|
|
3872 | fi |
|
|
3873 | |
|
|
3874 | done |
|
|
3875 | ac_cv_prog_CPP=$CPP |
|
|
3876 | |
|
|
3877 | fi |
|
|
3878 | CPP=$ac_cv_prog_CPP |
|
|
3879 | else |
|
|
3880 | ac_cv_prog_CPP=$CPP |
|
|
3881 | fi |
|
|
3882 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
|
3883 | $as_echo "$CPP" >&6; } |
|
|
3884 | ac_preproc_ok=false |
|
|
3885 | for ac_c_preproc_warn_flag in '' yes |
|
|
3886 | do |
|
|
3887 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3888 | # with a fresh cross-compiler works. |
|
|
3889 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3890 | # <limits.h> exists even on freestanding compilers. |
|
|
3891 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3892 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3893 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3894 | /* end confdefs.h. */ |
|
|
3895 | #ifdef __STDC__ |
|
|
3896 | # include <limits.h> |
|
|
3897 | #else |
|
|
3898 | # include <assert.h> |
|
|
3899 | #endif |
|
|
3900 | Syntax error |
|
|
3901 | _ACEOF |
|
|
3902 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3903 | |
|
|
3904 | else |
|
|
3905 | # Broken: fails on valid input. |
|
|
3906 | continue |
|
|
3907 | fi |
|
|
3908 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3909 | |
|
|
3910 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3911 | # can be detected and how. |
|
|
3912 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3913 | /* end confdefs.h. */ |
|
|
3914 | #include <ac_nonexistent.h> |
|
|
3915 | _ACEOF |
|
|
3916 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3917 | # Broken: success on invalid input. |
|
|
3918 | continue |
|
|
3919 | else |
|
|
3920 | # Passes both tests. |
|
|
3921 | ac_preproc_ok=: |
|
|
3922 | break |
|
|
3923 | fi |
|
|
3924 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3925 | |
|
|
3926 | done |
|
|
3927 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3928 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3929 | if $ac_preproc_ok; then : |
|
|
3930 | |
|
|
3931 | else |
|
|
3932 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
3933 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
3934 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
|
3935 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
3936 | fi |
|
|
3937 | |
|
|
3938 | ac_ext=c |
|
|
3939 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3940 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3941 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3942 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3943 | |
|
|
3944 | # Find a good install program. We prefer a C program (faster), |
3877 | # Find a good install program. We prefer a C program (faster), |
3945 | # so one script is as good as another. But avoid the broken or |
3878 | # so one script is as good as another. But avoid the broken or |
3946 | # incompatible versions: |
3879 | # incompatible versions: |
3947 | # SysV /etc/install, /usr/sbin/install |
3880 | # SysV /etc/install, /usr/sbin/install |
3948 | # SunOS /usr/etc/install |
3881 | # SunOS /usr/etc/install |
… | |
… | |
3976 | # OSF1 and SCO ODT 3.0 have their own names for install. |
3909 | # OSF1 and SCO ODT 3.0 have their own names for install. |
3977 | # Don't use installbsd from OSF since it installs stuff as root |
3910 | # Don't use installbsd from OSF since it installs stuff as root |
3978 | # by default. |
3911 | # by default. |
3979 | for ac_prog in ginstall scoinst install; do |
3912 | for ac_prog in ginstall scoinst install; do |
3980 | for ac_exec_ext in '' $ac_executable_extensions; do |
3913 | for ac_exec_ext in '' $ac_executable_extensions; do |
3981 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
3914 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
3982 | if test $ac_prog = install && |
3915 | if test $ac_prog = install && |
3983 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3916 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3984 | # AIX install. It has an incompatible calling convention. |
3917 | # AIX install. It has an incompatible calling convention. |
3985 | : |
3918 | : |
3986 | elif test $ac_prog = install && |
3919 | elif test $ac_prog = install && |
… | |
… | |
4034 | |
3967 | |
4035 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3968 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
4036 | |
3969 | |
4037 | |
3970 | |
4038 | |
3971 | |
|
|
3972 | ac_ext=c |
|
|
3973 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3974 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3975 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3976 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3977 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
|
3978 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
|
3979 | # On Suns, sometimes $CPP names a directory. |
|
|
3980 | if test -n "$CPP" && test -d "$CPP"; then |
|
|
3981 | CPP= |
|
|
3982 | fi |
|
|
3983 | if test -z "$CPP"; then |
|
|
3984 | if ${ac_cv_prog_CPP+:} false; then : |
|
|
3985 | $as_echo_n "(cached) " >&6 |
|
|
3986 | else |
|
|
3987 | # Double quotes because CPP needs to be expanded |
|
|
3988 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
3989 | do |
|
|
3990 | ac_preproc_ok=false |
|
|
3991 | for ac_c_preproc_warn_flag in '' yes |
|
|
3992 | do |
|
|
3993 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3994 | # with a fresh cross-compiler works. |
|
|
3995 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3996 | # <limits.h> exists even on freestanding compilers. |
|
|
3997 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3998 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3999 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4000 | /* end confdefs.h. */ |
|
|
4001 | #ifdef __STDC__ |
|
|
4002 | # include <limits.h> |
|
|
4003 | #else |
|
|
4004 | # include <assert.h> |
|
|
4005 | #endif |
|
|
4006 | Syntax error |
|
|
4007 | _ACEOF |
|
|
4008 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
4009 | |
|
|
4010 | else |
|
|
4011 | # Broken: fails on valid input. |
|
|
4012 | continue |
|
|
4013 | fi |
|
|
4014 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
4015 | |
|
|
4016 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
4017 | # can be detected and how. |
|
|
4018 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4019 | /* end confdefs.h. */ |
|
|
4020 | #include <ac_nonexistent.h> |
|
|
4021 | _ACEOF |
|
|
4022 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
4023 | # Broken: success on invalid input. |
|
|
4024 | continue |
|
|
4025 | else |
|
|
4026 | # Passes both tests. |
|
|
4027 | ac_preproc_ok=: |
|
|
4028 | break |
|
|
4029 | fi |
|
|
4030 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
4031 | |
|
|
4032 | done |
|
|
4033 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4034 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
4035 | if $ac_preproc_ok; then : |
|
|
4036 | break |
|
|
4037 | fi |
|
|
4038 | |
|
|
4039 | done |
|
|
4040 | ac_cv_prog_CPP=$CPP |
|
|
4041 | |
|
|
4042 | fi |
|
|
4043 | CPP=$ac_cv_prog_CPP |
|
|
4044 | else |
|
|
4045 | ac_cv_prog_CPP=$CPP |
|
|
4046 | fi |
|
|
4047 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
|
4048 | $as_echo "$CPP" >&6; } |
|
|
4049 | ac_preproc_ok=false |
|
|
4050 | for ac_c_preproc_warn_flag in '' yes |
|
|
4051 | do |
|
|
4052 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4053 | # with a fresh cross-compiler works. |
|
|
4054 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4055 | # <limits.h> exists even on freestanding compilers. |
|
|
4056 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4057 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4058 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4059 | /* end confdefs.h. */ |
|
|
4060 | #ifdef __STDC__ |
|
|
4061 | # include <limits.h> |
|
|
4062 | #else |
|
|
4063 | # include <assert.h> |
|
|
4064 | #endif |
|
|
4065 | Syntax error |
|
|
4066 | _ACEOF |
|
|
4067 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
4068 | |
|
|
4069 | else |
|
|
4070 | # Broken: fails on valid input. |
|
|
4071 | continue |
|
|
4072 | fi |
|
|
4073 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
4074 | |
|
|
4075 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
4076 | # can be detected and how. |
|
|
4077 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4078 | /* end confdefs.h. */ |
|
|
4079 | #include <ac_nonexistent.h> |
|
|
4080 | _ACEOF |
|
|
4081 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
4082 | # Broken: success on invalid input. |
|
|
4083 | continue |
|
|
4084 | else |
|
|
4085 | # Passes both tests. |
|
|
4086 | ac_preproc_ok=: |
|
|
4087 | break |
|
|
4088 | fi |
|
|
4089 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
4090 | |
|
|
4091 | done |
|
|
4092 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4093 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
4094 | if $ac_preproc_ok; then : |
|
|
4095 | |
|
|
4096 | else |
|
|
4097 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
4098 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
4099 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
|
4100 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
4101 | fi |
|
|
4102 | |
|
|
4103 | ac_ext=c |
|
|
4104 | ac_cpp='$CPP $CPPFLAGS' |
|
|
4105 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4106 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4107 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
4108 | |
4039 | |
4109 | |
4040 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4110 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4041 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4111 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4042 | if ${ac_cv_path_GREP+:} false; then : |
4112 | if ${ac_cv_path_GREP+:} false; then : |
4043 | $as_echo_n "(cached) " >&6 |
4113 | $as_echo_n "(cached) " >&6 |
… | |
… | |
4051 | IFS=$as_save_IFS |
4121 | IFS=$as_save_IFS |
4052 | test -z "$as_dir" && as_dir=. |
4122 | test -z "$as_dir" && as_dir=. |
4053 | for ac_prog in grep ggrep; do |
4123 | for ac_prog in grep ggrep; do |
4054 | for ac_exec_ext in '' $ac_executable_extensions; do |
4124 | for ac_exec_ext in '' $ac_executable_extensions; do |
4055 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4125 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4056 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4126 | as_fn_executable_p "$ac_path_GREP" || continue |
4057 | # Check for GNU ac_path_GREP and select it if it is found. |
4127 | # Check for GNU ac_path_GREP and select it if it is found. |
4058 | # Check for GNU $ac_path_GREP |
4128 | # Check for GNU $ac_path_GREP |
4059 | case `"$ac_path_GREP" --version 2>&1` in |
4129 | case `"$ac_path_GREP" --version 2>&1` in |
4060 | *GNU*) |
4130 | *GNU*) |
4061 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
4131 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
… | |
… | |
4117 | IFS=$as_save_IFS |
4187 | IFS=$as_save_IFS |
4118 | test -z "$as_dir" && as_dir=. |
4188 | test -z "$as_dir" && as_dir=. |
4119 | for ac_prog in egrep; do |
4189 | for ac_prog in egrep; do |
4120 | for ac_exec_ext in '' $ac_executable_extensions; do |
4190 | for ac_exec_ext in '' $ac_executable_extensions; do |
4121 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4191 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4122 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
4192 | as_fn_executable_p "$ac_path_EGREP" || continue |
4123 | # Check for GNU ac_path_EGREP and select it if it is found. |
4193 | # Check for GNU ac_path_EGREP and select it if it is found. |
4124 | # Check for GNU $ac_path_EGREP |
4194 | # Check for GNU $ac_path_EGREP |
4125 | case `"$ac_path_EGREP" --version 2>&1` in |
4195 | case `"$ac_path_EGREP" --version 2>&1` in |
4126 | *GNU*) |
4196 | *GNU*) |
4127 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
4197 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
… | |
… | |
4324 | $as_echo_n "(cached) " >&6 |
4394 | $as_echo_n "(cached) " >&6 |
4325 | else |
4395 | else |
4326 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4396 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4327 | /* end confdefs.h. */ |
4397 | /* end confdefs.h. */ |
4328 | |
4398 | |
4329 | # define __EXTENSIONS__ 1 |
4399 | # define __EXTENSIONS__ 1 |
4330 | $ac_includes_default |
4400 | $ac_includes_default |
4331 | int |
4401 | int |
4332 | main () |
4402 | main () |
4333 | { |
4403 | { |
4334 | |
4404 | |
4335 | ; |
4405 | ; |
… | |
… | |
4420 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4490 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4421 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4491 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4422 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4492 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4423 | |
4493 | |
4424 | |
4494 | |
|
|
4495 | LINKER="$CXX" |
4425 | if test x$GCC = xyes && test x$GXX = xyes; then |
4496 | if test x$GCC = xyes && test x$GXX = xyes; then |
4426 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working libsupc++" >&5 |
4497 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working libsupc++" >&5 |
4427 | $as_echo_n "checking for working libsupc++... " >&6; } |
4498 | $as_echo_n "checking for working libsupc++... " >&6; } |
4428 | save_CXX="$CXX" |
4499 | save_CXX="$CXX" |
4429 | save_LIBS="$LIBS" |
4500 | save_LIBS="$LIBS" |
4430 | CXX="$CC" |
4501 | CXX="$CC" |
4431 | LIBS="$LIBS -lsupc++" |
4502 | LIBS="$LIBS -lsupc++" |
4432 | LINKER="$CC" |
|
|
4433 | |
4503 | |
4434 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4504 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4435 | /* end confdefs.h. */ |
4505 | /* end confdefs.h. */ |
4436 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
4506 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
4437 | int |
4507 | int |
… | |
… | |
4443 | } |
4513 | } |
4444 | _ACEOF |
4514 | _ACEOF |
4445 | if ac_fn_cxx_try_link "$LINENO"; then : |
4515 | if ac_fn_cxx_try_link "$LINENO"; then : |
4446 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
4516 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
4447 | $as_echo "ok" >&6; } |
4517 | $as_echo "ok" >&6; } |
|
|
4518 | LINKER="$CC" |
4448 | else |
4519 | else |
4449 | |
4520 | |
4450 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, making everything bigger and slower" >&5 |
4521 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, making everything bigger and slower" >&5 |
4451 | $as_echo "no, making everything bigger and slower" >&6; } |
4522 | $as_echo "no, making everything bigger and slower" >&6; } |
4452 | LIBS="$save_LIBS" |
4523 | LIBS="$save_LIBS" |
4453 | LINKER="$save_CXX" |
|
|
4454 | |
4524 | |
4455 | |
4525 | |
4456 | fi |
4526 | fi |
4457 | rm -f core conftest.err conftest.$ac_objext \ |
4527 | rm -f core conftest.err conftest.$ac_objext \ |
4458 | conftest$ac_exeext conftest.$ac_ext |
4528 | conftest$ac_exeext conftest.$ac_ext |
… | |
… | |
4484 | else |
4554 | else |
4485 | CXXFLAGS="-O" |
4555 | CXXFLAGS="-O" |
4486 | fi |
4556 | fi |
4487 | CFLAGS="$CXXFLAGS" |
4557 | CFLAGS="$CXXFLAGS" |
4488 | fi |
4558 | fi |
4489 | |
|
|
4490 | case $host in |
|
|
4491 | *-*-solaris* ) |
|
|
4492 | |
|
|
4493 | $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h |
|
|
4494 | |
|
|
4495 | ;; |
|
|
4496 | esac |
|
|
4497 | |
4559 | |
4498 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setlocale" >&5 |
4560 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setlocale" >&5 |
4499 | $as_echo_n "checking for library containing setlocale... " >&6; } |
4561 | $as_echo_n "checking for library containing setlocale... " >&6; } |
4500 | if ${ac_cv_search_setlocale+:} false; then : |
4562 | if ${ac_cv_search_setlocale+:} false; then : |
4501 | $as_echo_n "(cached) " >&6 |
4563 | $as_echo_n "(cached) " >&6 |
… | |
… | |
4678 | support_scroll_next=yes |
4740 | support_scroll_next=yes |
4679 | support_scroll_xterm=yes |
4741 | support_scroll_xterm=yes |
4680 | support_xim=yes |
4742 | support_xim=yes |
4681 | support_pixbuf=yes |
4743 | support_pixbuf=yes |
4682 | support_startup_notification=yes |
4744 | support_startup_notification=yes |
4683 | support_afterimage=yes |
|
|
4684 | support_xft=yes |
4745 | support_xft=yes |
4685 | support_unicode3=no |
4746 | support_unicode3=no |
4686 | support_combining=yes |
4747 | support_combining=yes |
4687 | support_8bitctrls=no |
4748 | support_8bitctrls=no |
4688 | support_iso14755=yes |
4749 | support_iso14755=yes |
… | |
… | |
4711 | support_utmp=no |
4772 | support_utmp=no |
4712 | support_wtmp=no |
4773 | support_wtmp=no |
4713 | support_xim=no |
4774 | support_xim=no |
4714 | support_pixbuf=no |
4775 | support_pixbuf=no |
4715 | support_startup_notification=no |
4776 | support_startup_notification=no |
4716 | support_afterimage=no |
|
|
4717 | support_xft=no |
4777 | support_xft=no |
4718 | support_unicode3=no |
4778 | support_unicode3=no |
4719 | support_combining=no |
4779 | support_combining=no |
4720 | support_8bitctrls=no |
4780 | support_8bitctrls=no |
4721 | support_iso14755=no |
4781 | support_iso14755=no |
… | |
… | |
4740 | support_utmp=yes |
4800 | support_utmp=yes |
4741 | support_wtmp=yes |
4801 | support_wtmp=yes |
4742 | support_xim=yes |
4802 | support_xim=yes |
4743 | support_pixbuf=yes |
4803 | support_pixbuf=yes |
4744 | support_startup_notification=yes |
4804 | support_startup_notification=yes |
4745 | support_afterimage=yes |
|
|
4746 | support_xft=yes |
4805 | support_xft=yes |
4747 | support_unicode3=yes |
4806 | support_unicode3=yes |
4748 | support_combining=yes |
4807 | support_combining=yes |
4749 | #support_8bitctrls=yes |
4808 | #support_8bitctrls=yes |
4750 | support_iso14755=yes |
4809 | support_iso14755=yes |
… | |
… | |
4754 | fi |
4813 | fi |
4755 | |
4814 | |
4756 | fi |
4815 | fi |
4757 | |
4816 | |
4758 | |
4817 | |
4759 | ASSERTIONS=no |
4818 | support_assertions=no |
4760 | # Check whether --enable-assert was given. |
4819 | # Check whether --enable-assert was given. |
4761 | if test "${enable_assert+set}" = set; then : |
4820 | if test "${enable_assert+set}" = set; then : |
4762 | enableval=$enable_assert; if test x$enableval = xyes; then |
4821 | enableval=$enable_assert; if test x$enableval = xyes; then |
4763 | ASSERTIONS=yes |
4822 | support_assertions=yes |
4764 | fi |
4823 | fi |
4765 | fi |
4824 | fi |
4766 | |
4825 | |
4767 | if test x$ASSERTIONS = xno; then |
4826 | if test x$support_assertions = xno; then |
4768 | |
4827 | |
4769 | $as_echo "#define NDEBUG 1" >>confdefs.h |
4828 | $as_echo "#define NDEBUG 1" >>confdefs.h |
4770 | |
4829 | |
4771 | fi |
4830 | fi |
4772 | |
4831 | |
4773 | WARNINGS=no |
4832 | support_warnings=no |
4774 | # Check whether --enable-warnings was given. |
4833 | # Check whether --enable-warnings was given. |
4775 | if test "${enable_warnings+set}" = set; then : |
4834 | if test "${enable_warnings+set}" = set; then : |
4776 | enableval=$enable_warnings; if test x$enableval = xyes; then |
4835 | enableval=$enable_warnings; if test x$enableval = xyes; then |
4777 | WARNINGS=yes |
4836 | support_warnings=yes |
4778 | fi |
4837 | fi |
4779 | fi |
4838 | fi |
4780 | |
4839 | |
4781 | if test x$GXX = xyes; then |
4840 | if test x$GXX = xyes; then |
4782 | if test $WARNINGS = yes; then |
4841 | if test $support_warnings = yes; then |
4783 | save_CXXFLAGS="$CXXFLAGS" |
4842 | save_CXXFLAGS="$CXXFLAGS" |
4784 | CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-non-virtual-dtor" |
4843 | CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-unused-value" |
4785 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4844 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4786 | /* end confdefs.h. */ |
4845 | /* end confdefs.h. */ |
4787 | |
4846 | |
4788 | int |
4847 | int |
4789 | main () |
4848 | main () |
… | |
… | |
4848 | support_styles=$enableval |
4907 | support_styles=$enableval |
4849 | fi |
4908 | fi |
4850 | fi |
4909 | fi |
4851 | |
4910 | |
4852 | |
4911 | |
4853 | # Check whether --enable-afterimage was given. |
|
|
4854 | if test "${enable_afterimage+set}" = set; then : |
|
|
4855 | enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4856 | support_afterimage=$enableval |
|
|
4857 | fi |
|
|
4858 | fi |
|
|
4859 | |
|
|
4860 | |
|
|
4861 | |
|
|
4862 | # Check whether --with-afterimage_config was given. |
|
|
4863 | if test "${with_afterimage_config+set}" = set; then : |
|
|
4864 | withval=$with_afterimage_config; if test "x$withval" != x; then |
|
|
4865 | afterimage_config=$withval/afterimage-config |
|
|
4866 | fi |
|
|
4867 | fi |
|
|
4868 | |
|
|
4869 | |
|
|
4870 | # Check whether --enable-pixbuf was given. |
4912 | # Check whether --enable-pixbuf was given. |
4871 | if test "${enable_pixbuf+set}" = set; then : |
4913 | if test "${enable_pixbuf+set}" = set; then : |
4872 | enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then |
4914 | enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then |
4873 | support_pixbuf=$enableval |
4915 | support_pixbuf=$enableval |
4874 | fi |
4916 | fi |
… | |
… | |
4964 | |
5006 | |
4965 | fi |
5007 | fi |
4966 | fi |
5008 | fi |
4967 | |
5009 | |
4968 | |
5010 | |
|
|
5011 | support_resources=yes |
4969 | # Check whether --enable-resources was given. |
5012 | # Check whether --enable-resources was given. |
4970 | if test "${enable_resources+set}" = set; then : |
5013 | if test "${enable_resources+set}" = set; then : |
4971 | enableval=$enable_resources; if test x$enableval = xno; then |
5014 | enableval=$enable_resources; if test x$enableval = xno; then |
4972 | |
5015 | support_resources=no |
4973 | $as_echo "#define NO_RESOURCES 1" >>confdefs.h |
|
|
4974 | |
|
|
4975 | fi |
5016 | fi |
4976 | fi |
5017 | fi |
4977 | |
5018 | |
4978 | |
5019 | |
4979 | # Check whether --enable-8bitctrls was given. |
5020 | # Check whether --enable-8bitctrls was given. |
… | |
… | |
5151 | _ACEOF |
5192 | _ACEOF |
5152 | terminfo="$withval" |
5193 | terminfo="$withval" |
5153 | fi |
5194 | fi |
5154 | fi |
5195 | fi |
5155 | |
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 |
5156 | |
5207 | |
5157 | |
5208 | |
5158 | LIBEV_M4_AVOID_LIBRT=1 |
5209 | LIBEV_M4_AVOID_LIBRT=1 |
5159 | |
5210 | |
5160 | ac_ext=cpp |
5211 | ac_ext=cpp |
… | |
… | |
5577 | for as_dir in $PATH |
5628 | for as_dir in $PATH |
5578 | do |
5629 | do |
5579 | IFS=$as_save_IFS |
5630 | IFS=$as_save_IFS |
5580 | test -z "$as_dir" && as_dir=. |
5631 | test -z "$as_dir" && as_dir=. |
5581 | for ac_exec_ext in '' $ac_executable_extensions; do |
5632 | for ac_exec_ext in '' $ac_executable_extensions; do |
5582 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5633 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5583 | ac_cv_path_TIC="$as_dir/$ac_word$ac_exec_ext" |
5634 | ac_cv_path_TIC="$as_dir/$ac_word$ac_exec_ext" |
5584 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5635 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5585 | break 2 |
5636 | break 2 |
5586 | fi |
5637 | fi |
5587 | done |
5638 | done |
… | |
… | |
6285 | LDFLAGS=$ac_save_LDFLAGS |
6336 | LDFLAGS=$ac_save_LDFLAGS |
6286 | |
6337 | |
6287 | fi |
6338 | fi |
6288 | |
6339 | |
6289 | |
6340 | |
6290 | image_lib=none |
6341 | if test -n "$ac_tool_prefix"; then |
6291 | |
|
|
6292 | PIXBUF_CFLAGS= |
|
|
6293 | PIXBUF_LIBS= |
|
|
6294 | |
|
|
6295 | if test x$support_pixbuf = xyes; then |
|
|
6296 | support_pixbuf=no |
|
|
6297 | # 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. |
6298 | set dummy pkg-config; ac_word=$2 |
6343 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
6299 | { $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 |
6300 | $as_echo_n "checking for $ac_word... " >&6; } |
6345 | $as_echo_n "checking for $ac_word... " >&6; } |
6301 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6346 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6302 | $as_echo_n "(cached) " >&6 |
6347 | $as_echo_n "(cached) " >&6 |
6303 | else |
6348 | else |
… | |
… | |
6310 | for as_dir in $PATH |
6355 | for as_dir in $PATH |
6311 | do |
6356 | do |
6312 | IFS=$as_save_IFS |
6357 | IFS=$as_save_IFS |
6313 | test -z "$as_dir" && as_dir=. |
6358 | test -z "$as_dir" && as_dir=. |
6314 | for ac_exec_ext in '' $ac_executable_extensions; do |
6359 | for ac_exec_ext in '' $ac_executable_extensions; do |
6315 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6360 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6316 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
6361 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
6317 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6362 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6318 | break 2 |
6363 | break 2 |
6319 | fi |
6364 | fi |
6320 | done |
6365 | done |
6321 | done |
6366 | done |
6322 | IFS=$as_save_IFS |
6367 | IFS=$as_save_IFS |
6323 | |
6368 | |
6324 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
6325 | ;; |
6369 | ;; |
6326 | esac |
6370 | esac |
6327 | fi |
6371 | fi |
6328 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
6372 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
6329 | if test -n "$PKG_CONFIG"; then |
6373 | if test -n "$PKG_CONFIG"; then |
… | |
… | |
6333 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6377 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6334 | $as_echo "no" >&6; } |
6378 | $as_echo "no" >&6; } |
6335 | fi |
6379 | fi |
6336 | |
6380 | |
6337 | |
6381 | |
6338 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf" >&5 |
|
|
6339 | $as_echo_n "checking for gdk-pixbuf... " >&6; } |
|
|
6340 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then |
|
|
6341 | PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-2.0 --cflags`" |
|
|
6342 | PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-2.0 --libs`" |
|
|
6343 | support_pixbuf=yes |
|
|
6344 | fi |
|
|
6345 | |
|
|
6346 | if test x$support_pixbuf = xyes; then |
|
|
6347 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
|
6348 | $as_echo "ok" >&6; } |
|
|
6349 | image_lib=gdk-pixbuf |
|
|
6350 | support_afterimage=no |
|
|
6351 | |
|
|
6352 | $as_echo "#define HAVE_PIXBUF 1" >>confdefs.h |
|
|
6353 | |
|
|
6354 | |
|
|
6355 | $as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h |
|
|
6356 | |
|
|
6357 | else |
|
|
6358 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6359 | $as_echo "no" >&6; } |
|
|
6360 | fi |
|
|
6361 | fi |
6382 | fi |
6362 | |
6383 | if test -z "$ac_cv_path_PKG_CONFIG"; then |
6363 | |
6384 | ac_pt_PKG_CONFIG=$PKG_CONFIG |
6364 | |
|
|
6365 | |
|
|
6366 | STARTUP_NOTIFICATION_CFLAGS= |
|
|
6367 | STARTUP_NOTIFICATION_LIBS= |
|
|
6368 | |
|
|
6369 | if test x$support_startup_notification = xyes; then |
|
|
6370 | support_startup_notification=no |
|
|
6371 | # 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. |
6372 | set dummy pkg-config; ac_word=$2 |
6386 | set dummy pkg-config; ac_word=$2 |
6373 | { $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 |
6374 | $as_echo_n "checking for $ac_word... " >&6; } |
6388 | $as_echo_n "checking for $ac_word... " >&6; } |
6375 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6389 | if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
6376 | $as_echo_n "(cached) " >&6 |
6390 | $as_echo_n "(cached) " >&6 |
6377 | else |
6391 | else |
6378 | case $PKG_CONFIG in |
6392 | case $ac_pt_PKG_CONFIG in |
6379 | [\\/]* | ?:[\\/]*) |
6393 | [\\/]* | ?:[\\/]*) |
6380 | 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. |
6381 | ;; |
6395 | ;; |
6382 | *) |
6396 | *) |
6383 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6397 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6384 | for as_dir in $PATH |
6398 | for as_dir in $PATH |
6385 | do |
6399 | do |
6386 | IFS=$as_save_IFS |
6400 | IFS=$as_save_IFS |
6387 | test -z "$as_dir" && as_dir=. |
6401 | test -z "$as_dir" && as_dir=. |
6388 | for ac_exec_ext in '' $ac_executable_extensions; do |
6402 | for ac_exec_ext in '' $ac_executable_extensions; do |
6389 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6403 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6390 | 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" |
6391 | $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 |
6392 | break 2 |
6406 | break 2 |
6393 | fi |
6407 | fi |
6394 | done |
6408 | done |
6395 | done |
6409 | done |
6396 | IFS=$as_save_IFS |
6410 | IFS=$as_save_IFS |
6397 | |
6411 | |
6398 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
6399 | ;; |
6412 | ;; |
6400 | esac |
6413 | esac |
6401 | fi |
6414 | fi |
6402 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
6415 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
6403 | if test -n "$PKG_CONFIG"; then |
6416 | if test -n "$ac_pt_PKG_CONFIG"; then |
6404 | { $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 |
6405 | $as_echo "$PKG_CONFIG" >&6; } |
6418 | $as_echo "$ac_pt_PKG_CONFIG" >&6; } |
6406 | else |
6419 | else |
6407 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6420 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6408 | $as_echo "no" >&6; } |
6421 | $as_echo "no" >&6; } |
6409 | fi |
6422 | fi |
6410 | |
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 |
6411 | |
6438 | |
|
|
6439 | |
|
|
6440 | image_lib=none |
|
|
6441 | |
|
|
6442 | PIXBUF_CFLAGS= |
|
|
6443 | PIXBUF_LIBS= |
|
|
6444 | |
|
|
6445 | if test x$support_pixbuf = xyes; then |
|
|
6446 | |
6412 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification" >&5 |
6447 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf-2.0" >&5 |
6413 | $as_echo_n "checking for libstartup-notification... " >&6; } |
6448 | $as_echo_n "checking for gdk-pixbuf-2.0... " >&6; } |
6414 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then |
6449 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then |
6415 | STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG libstartup-notification-1.0 --cflags`" |
6450 | PIXBUF_CFLAGS="`$PKG_CONFIG --cflags gdk-pixbuf-2.0`" |
6416 | STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG libstartup-notification-1.0 --libs`" |
6451 | PIXBUF_LIBS="`$PKG_CONFIG --libs gdk-pixbuf-2.0`" |
6417 | support_startup_notification=yes |
|
|
6418 | fi |
|
|
6419 | |
6452 | |
6420 | if test x$support_startup_notification = xyes; then |
|
|
6421 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6453 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6422 | $as_echo "ok" >&6; } |
6454 | $as_echo "ok" >&6; } |
6423 | |
6455 | |
|
|
6456 | image_lib=gdk-pixbuf |
|
|
6457 | |
6424 | $as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h |
6458 | $as_echo "#define HAVE_PIXBUF 1" >>confdefs.h |
|
|
6459 | |
6425 | |
6460 | |
6426 | else |
6461 | else |
6427 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6462 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6428 | $as_echo "no" >&6; } |
6463 | $as_echo "no" >&6; } |
|
|
6464 | : |
6429 | fi |
6465 | fi |
6430 | fi |
|
|
6431 | |
6466 | |
|
|
6467 | fi |
6432 | |
6468 | |
6433 | |
6469 | |
6434 | |
6470 | |
6435 | AFTERIMAGE_CFLAGS= |
|
|
6436 | AFTERIMAGE_LIBS= |
|
|
6437 | AFTERIMAGE_VERSION= |
|
|
6438 | |
6471 | |
|
|
6472 | STARTUP_NOTIFICATION_CFLAGS= |
|
|
6473 | STARTUP_NOTIFICATION_LIBS= |
|
|
6474 | |
6439 | if test x$support_afterimage = xyes; then |
6475 | if test x$support_startup_notification = xyes; then |
6440 | support_afterimage=no |
|
|
6441 | |
6476 | |
6442 | if test "x$afterimage_config" = "x" ; then |
|
|
6443 | # Extract the first word of "afterimage-config", so it can be a program name with args. |
|
|
6444 | set dummy afterimage-config; ac_word=$2 |
|
|
6445 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6477 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification-1.0" >&5 |
6446 | $as_echo_n "checking for $ac_word... " >&6; } |
6478 | $as_echo_n "checking for libstartup-notification-1.0... " >&6; } |
6447 | if ${ac_cv_path_afterimage_config+:} false; then : |
6479 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then |
6448 | $as_echo_n "(cached) " >&6 |
6480 | STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG --cflags libstartup-notification-1.0`" |
6449 | else |
6481 | STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG --libs libstartup-notification-1.0`" |
6450 | case $afterimage_config in |
|
|
6451 | [\\/]* | ?:[\\/]*) |
|
|
6452 | ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path. |
|
|
6453 | ;; |
|
|
6454 | *) |
|
|
6455 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
6456 | for as_dir in $PATH |
|
|
6457 | do |
|
|
6458 | IFS=$as_save_IFS |
|
|
6459 | test -z "$as_dir" && as_dir=. |
|
|
6460 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
6461 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
6462 | ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext" |
|
|
6463 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
6464 | break 2 |
|
|
6465 | fi |
|
|
6466 | done |
|
|
6467 | done |
|
|
6468 | IFS=$as_save_IFS |
|
|
6469 | |
6482 | |
6470 | test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no" |
|
|
6471 | ;; |
|
|
6472 | esac |
|
|
6473 | fi |
|
|
6474 | afterimage_config=$ac_cv_path_afterimage_config |
|
|
6475 | if test -n "$afterimage_config"; then |
|
|
6476 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $afterimage_config" >&5 |
6483 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6477 | $as_echo "$afterimage_config" >&6; } |
6484 | $as_echo "ok" >&6; } |
|
|
6485 | |
|
|
6486 | |
|
|
6487 | $as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h |
|
|
6488 | |
|
|
6489 | |
6478 | else |
6490 | else |
6479 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6491 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6480 | $as_echo "no" >&6; } |
6492 | $as_echo "no" >&6; } |
6481 | fi |
6493 | : |
6482 | |
|
|
6483 | |
|
|
6484 | fi |
|
|
6485 | if test "x$afterimage_config" != "xno" ; then |
|
|
6486 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libAfterImage version >= 1.15" >&5 |
|
|
6487 | $as_echo_n "checking for libAfterImage version >= 1.15... " >&6; } |
|
|
6488 | xAFTERIMAGE_VERSION=`$afterimage_config --version` |
|
|
6489 | if test -n "$xAFTERIMAGE_VERSION" ; then |
|
|
6490 | xAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
|
|
6491 | xAFTERIMAGE_LIBS=`$afterimage_config --libs` |
|
|
6492 | if test "x$xAFTERIMAGE_LIBS" != "x"; then |
|
|
6493 | libai_ver_major=`echo $xAFTERIMAGE_VERSION | cut -f 1 -d .` |
|
|
6494 | libai_ver_minor=`echo $xAFTERIMAGE_VERSION | cut -f 2 -d .` |
|
|
6495 | if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then |
|
|
6496 | support_afterimage=yes |
|
|
6497 | AFTERIMAGE_CFLAGS="$xAFTERIMAGE_CFLAGS" |
|
|
6498 | AFTERIMAGE_LIBS="$xAFTERIMAGE_LIBS" |
|
|
6499 | AFTERIMAGE_VERSION="$xAFTERIMAGE_VERSION" |
|
|
6500 | fi |
|
|
6501 | fi |
|
|
6502 | fi |
6494 | fi |
|
|
6495 | |
|
|
6496 | fi |
|
|
6497 | |
|
|
6498 | |
|
|
6499 | |
|
|
6500 | |
6503 | if test "x$support_afterimage" = "xyes"; then |
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 --cflags xmu`" |
|
|
6507 | XMU_LIBS="`$PKG_CONFIG --libs xmu`" |
|
|
6508 | |
6504 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AFTERIMAGE_LIBS" >&5 |
6509 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6505 | $as_echo "$AFTERIMAGE_LIBS" >&6; } |
6510 | $as_echo "ok" >&6; } |
6506 | image_lib=libafterimage |
|
|
6507 | |
6511 | |
|
|
6512 | X_LIBS="$XMU_LIBS $X_LIBS" |
|
|
6513 | CPPFLAGS="$CPPFLAGS $XMU_CFLAGS" |
|
|
6514 | |
6508 | $as_echo "#define HAVE_AFTERIMAGE 1" >>confdefs.h |
6515 | $as_echo "#define HAVE_XMU 1" >>confdefs.h |
6509 | |
6516 | |
6510 | |
6517 | |
6511 | $as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h |
|
|
6512 | |
|
|
6513 | else |
6518 | else |
6514 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6519 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6515 | $as_echo "no" >&6; } |
6520 | $as_echo "no" >&6; } |
|
|
6521 | : |
6516 | fi |
6522 | fi |
6517 | fi |
|
|
6518 | fi |
|
|
6519 | |
6523 | |
6520 | |
6524 | fi |
6521 | |
|
|
6522 | |
6525 | |
6523 | for ac_header in \ |
6526 | for ac_header in \ |
6524 | sys/byteorder.h \ |
6527 | sys/byteorder.h \ |
6525 | sys/ioctl.h \ |
6528 | sys/ioctl.h \ |
6526 | sys/sockio.h \ |
6529 | sys/sockio.h \ |
6527 | sys/strredir.h \ |
6530 | sys/strredir.h \ |
6528 | stdint.h \ |
6531 | stdint.h \ |
6529 | wchar.h \ |
6532 | wchar.h \ |
6530 | cwchar \ |
|
|
6531 | |
6533 | |
6532 | do : |
6534 | do : |
6533 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6535 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6534 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6536 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6535 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
6537 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
… | |
… | |
6766 | fi |
6768 | fi |
6767 | |
6769 | |
6768 | done |
6770 | done |
6769 | |
6771 | |
6770 | |
6772 | |
|
|
6773 | case $host in |
|
|
6774 | *-*-solaris*) |
|
|
6775 | |
|
|
6776 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
|
|
6777 | |
|
|
6778 | ;; |
|
|
6779 | esac |
|
|
6780 | |
6771 | |
6781 | |
6772 | for ac_header in utmp.h |
6782 | for ac_header in utmp.h |
6773 | do : |
6783 | do : |
6774 | 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" |
6775 | if test "x$ac_cv_header_utmp_h" = xyes; then : |
6785 | if test "x$ac_cv_header_utmp_h" = xyes; then : |
6776 | cat >>confdefs.h <<_ACEOF |
6786 | cat >>confdefs.h <<_ACEOF |
6777 | #define HAVE_UTMP_H 1 |
6787 | #define HAVE_UTMP_H 1 |
6778 | _ACEOF |
6788 | _ACEOF |
|
|
6789 | |
6779 | 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" " |
6780 | #include <sys/types.h> |
6791 | #include <sys/types.h> |
6781 | #include <utmp.h> |
6792 | #include <utmp.h> |
6782 | |
6793 | |
6783 | " |
6794 | " |
6784 | if test "x$ac_cv_type_struct_utmp" = xyes; then : |
6795 | if test "x$ac_cv_type_struct_utmp" = xyes; then : |
… | |
… | |
6789 | |
6800 | |
6790 | |
6801 | |
6791 | fi |
6802 | fi |
6792 | |
6803 | |
6793 | |
6804 | |
6794 | |
|
|
6795 | # ac_fn_cxx_check_member LINENO AGGR MEMBER VAR INCLUDES |
|
|
6796 | # ------------------------------------------------------ |
|
|
6797 | # Tries to find if the field MEMBER exists in type AGGR, after including |
|
|
6798 | # INCLUDES, setting cache variable VAR accordingly. |
|
|
6799 | ac_fn_cxx_check_member () |
|
|
6800 | { |
|
|
6801 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
6802 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
|
|
6803 | $as_echo_n "checking for $2.$3... " >&6; } |
|
|
6804 | if eval \${$4+:} false; then : |
|
|
6805 | $as_echo_n "(cached) " >&6 |
|
|
6806 | else |
|
|
6807 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6808 | /* end confdefs.h. */ |
|
|
6809 | $5 |
|
|
6810 | int |
|
|
6811 | main () |
|
|
6812 | { |
|
|
6813 | static $2 ac_aggr; |
|
|
6814 | if (ac_aggr.$3) |
|
|
6815 | return 0; |
|
|
6816 | ; |
|
|
6817 | return 0; |
|
|
6818 | } |
|
|
6819 | _ACEOF |
|
|
6820 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6821 | eval "$4=yes" |
|
|
6822 | else |
|
|
6823 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6824 | /* end confdefs.h. */ |
|
|
6825 | $5 |
|
|
6826 | int |
|
|
6827 | main () |
|
|
6828 | { |
|
|
6829 | static $2 ac_aggr; |
|
|
6830 | if (sizeof ac_aggr.$3) |
|
|
6831 | return 0; |
|
|
6832 | ; |
|
|
6833 | return 0; |
|
|
6834 | } |
|
|
6835 | _ACEOF |
|
|
6836 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6837 | eval "$4=yes" |
|
|
6838 | else |
|
|
6839 | eval "$4=no" |
|
|
6840 | fi |
|
|
6841 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6842 | fi |
|
|
6843 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6844 | fi |
|
|
6845 | eval ac_res=\$$4 |
|
|
6846 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
6847 | $as_echo "$ac_res" >&6; } |
|
|
6848 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
6849 | |
|
|
6850 | } # ac_fn_cxx_check_member |
|
|
6851 | 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" " |
6852 | #include <sys/types.h> |
6806 | #include <sys/types.h> |
6853 | #include <utmp.h> |
6807 | #include <utmp.h> |
6854 | |
6808 | |
6855 | " |
6809 | " |
… | |
… | |
6882 | 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" |
6883 | if test "x$ac_cv_header_utmpx_h" = xyes; then : |
6837 | if test "x$ac_cv_header_utmpx_h" = xyes; then : |
6884 | cat >>confdefs.h <<_ACEOF |
6838 | cat >>confdefs.h <<_ACEOF |
6885 | #define HAVE_UTMPX_H 1 |
6839 | #define HAVE_UTMPX_H 1 |
6886 | _ACEOF |
6840 | _ACEOF |
|
|
6841 | |
6887 | 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" " |
6888 | #include <sys/types.h> |
6843 | #include <sys/types.h> |
6889 | #include <utmpx.h> |
6844 | #include <utmpx.h> |
6890 | |
6845 | |
6891 | " |
6846 | " |
6892 | if test "x$ac_cv_type_struct_utmpx" = xyes; then : |
6847 | if test "x$ac_cv_type_struct_utmpx" = xyes; then : |
… | |
… | |
6905 | |
6860 | |
6906 | " |
6861 | " |
6907 | if test "x$ac_cv_member_struct_utmpx_ut_host" = xyes; then : |
6862 | if test "x$ac_cv_member_struct_utmpx_ut_host" = xyes; then : |
6908 | |
6863 | |
6909 | $as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h |
6864 | $as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h |
6910 | |
|
|
6911 | fi |
|
|
6912 | |
|
|
6913 | |
|
|
6914 | ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_session" "ac_cv_member_struct_utmpx_ut_session" " |
|
|
6915 | #include <sys/types.h> |
|
|
6916 | #include <utmpx.h> |
|
|
6917 | |
|
|
6918 | " |
|
|
6919 | if test "x$ac_cv_member_struct_utmpx_ut_session" = xyes; then : |
|
|
6920 | |
|
|
6921 | $as_echo "#define HAVE_UTMPX_SESSION 1" >>confdefs.h |
|
|
6922 | |
6865 | |
6923 | fi |
6866 | fi |
6924 | |
6867 | |
6925 | |
6868 | |
6926 | fi |
6869 | fi |
… | |
… | |
6962 | |
6905 | |
6963 | fi |
6906 | fi |
6964 | |
6907 | |
6965 | |
6908 | |
6966 | |
6909 | |
6967 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where utmp is located" >&5 |
6910 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of utmp" >&5 |
6968 | $as_echo_n "checking where utmp is located... " >&6; } |
6911 | $as_echo_n "checking for a fallback location of utmp... " >&6; } |
6969 | if ${pt_cv_path_utmp+:} false; then : |
6912 | if ${pt_cv_path_utmp+:} false; then : |
6970 | $as_echo_n "(cached) " >&6 |
6913 | $as_echo_n "(cached) " >&6 |
6971 | else |
6914 | else |
|
|
6915 | |
6972 | if test "$cross_compiling" = yes; then : |
6916 | if test "$cross_compiling" != yes; then |
6973 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define UTMP_FILE in config.h manually" >&5 |
|
|
6974 | $as_echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;} |
|
|
6975 | else |
|
|
6976 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6977 | /* end confdefs.h. */ |
|
|
6978 | #include <stdio.h> |
|
|
6979 | #include <stdlib.h> |
|
|
6980 | #include <sys/stat.h> |
|
|
6981 | |
|
|
6982 | #include <sys/types.h> |
|
|
6983 | #include <utmp.h> |
|
|
6984 | |
|
|
6985 | int main() |
|
|
6986 | { |
|
|
6987 | const char **path, *list[] = { "/var/run/utmp", "/var/adm/utmp", "/etc/utmp", "/usr/etc/utmp", "/usr/adm/utmp", NULL }; |
6917 | for file in "/var/run/utmp" "/var/adm/utmp" "/etc/utmp" "/usr/etc/utmp" "/usr/adm/utmp"; do |
6988 | FILE *f = fopen("conftestval", "w"); |
6918 | if test -f "$file"; then |
6989 | if (!f) return 1; |
|
|
6990 | #ifdef UTMP_FILE |
|
|
6991 | fprintf(f, "%s\n", UTMP_FILE); |
|
|
6992 | #elif defined(_PATH_UTMP) |
|
|
6993 | fprintf(f, "%s\n", _PATH_UTMP); |
|
|
6994 | #else |
|
|
6995 | for (path = list; *path; path++) { |
|
|
6996 | struct stat st; |
|
|
6997 | if (stat(*path, &st) == 0) { |
|
|
6998 | fprintf(f, "%s\n", *path); |
|
|
6999 | break; |
|
|
7000 | } |
|
|
7001 | } |
|
|
7002 | #endif |
|
|
7003 | return fclose(f) != 0; |
|
|
7004 | } |
|
|
7005 | _ACEOF |
|
|
7006 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7007 | pt_cv_path_utmp=`cat conftestval` |
|
|
7008 | else |
|
|
7009 | pt_cv_path_utmp= |
6919 | pt_cv_path_utmp=$file |
|
|
6920 | break |
|
|
6921 | fi |
|
|
6922 | done |
7010 | fi |
6923 | fi |
7011 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7012 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7013 | fi |
|
|
7014 | |
|
|
7015 | fi |
6924 | fi |
7016 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5 |
6925 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5 |
7017 | $as_echo "$pt_cv_path_utmp" >&6; } |
6926 | $as_echo "$pt_cv_path_utmp" >&6; } |
7018 | if test x$pt_cv_path_utmp != x; then |
6927 | if test x$pt_cv_path_utmp != x; then |
7019 | |
6928 | |
7020 | cat >>confdefs.h <<_ACEOF |
6929 | cat >>confdefs.h <<_ACEOF |
7021 | #define UTMP_FILE "$pt_cv_path_utmp" |
6930 | #define PT_UTMP_FILE "$pt_cv_path_utmp" |
7022 | _ACEOF |
6931 | _ACEOF |
7023 | |
6932 | |
|
|
6933 | elif test "$cross_compiling" = yes; then |
|
|
6934 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_UTMP_FILE in config.h manually" >&5 |
|
|
6935 | $as_echo "$as_me: WARNING: Define PT_UTMP_FILE in config.h manually" >&2;} |
7024 | fi |
6936 | fi |
7025 | |
6937 | |
7026 | |
6938 | |
7027 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where wtmp is located" >&5 |
6939 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmp" >&5 |
7028 | $as_echo_n "checking where wtmp is located... " >&6; } |
6940 | $as_echo_n "checking for a fallback location of wtmp... " >&6; } |
7029 | if ${pt_cv_path_wtmp+:} false; then : |
6941 | if ${pt_cv_path_wtmp+:} false; then : |
7030 | $as_echo_n "(cached) " >&6 |
6942 | $as_echo_n "(cached) " >&6 |
7031 | else |
6943 | else |
|
|
6944 | |
7032 | if test "$cross_compiling" = yes; then : |
6945 | if test "$cross_compiling" != yes; then |
7033 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define WTMP_FILE in config.h manually" >&5 |
|
|
7034 | $as_echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;} |
|
|
7035 | else |
|
|
7036 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7037 | /* end confdefs.h. */ |
|
|
7038 | #include <stdio.h> |
|
|
7039 | #include <stdlib.h> |
|
|
7040 | #include <sys/stat.h> |
|
|
7041 | |
|
|
7042 | #include <sys/types.h> |
|
|
7043 | #ifdef HAVE_UTMP_H |
|
|
7044 | #include <utmp.h> |
|
|
7045 | #endif |
|
|
7046 | |
|
|
7047 | int main() |
|
|
7048 | { |
|
|
7049 | const char **path, *list[] = { "/var/log/wtmp", "/var/adm/wtmp", "/etc/wtmp", "/usr/etc/wtmp", "/usr/adm/wtmp", NULL }; |
6946 | for file in "/var/log/wtmp" "/var/adm/wtmp" "/etc/wtmp" "/usr/etc/wtmp" "/usr/adm/wtmp"; do |
7050 | FILE *f = fopen("conftestval", "w"); |
6947 | if test -f "$file"; then |
7051 | if (!f) return 1; |
|
|
7052 | #ifdef WTMP_FILE |
|
|
7053 | fprintf(f, "%s\n", WTMP_FILE); |
|
|
7054 | #elif defined(_PATH_WTMP) |
|
|
7055 | fprintf(f, "%s\n", _PATH_WTMP); |
|
|
7056 | #else |
|
|
7057 | for (path = list; *path; path++) { |
|
|
7058 | struct stat st; |
|
|
7059 | if (stat(*path, &st) == 0) { |
|
|
7060 | fprintf(f, "%s\n", *path); |
|
|
7061 | break; |
|
|
7062 | } |
|
|
7063 | } |
|
|
7064 | #endif |
|
|
7065 | return fclose(f) != 0; |
|
|
7066 | } |
|
|
7067 | _ACEOF |
|
|
7068 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7069 | pt_cv_path_wtmp=`cat conftestval` |
|
|
7070 | else |
|
|
7071 | pt_cv_path_wtmp= |
6948 | pt_cv_path_wtmp=$file |
|
|
6949 | break |
|
|
6950 | fi |
|
|
6951 | done |
7072 | fi |
6952 | fi |
7073 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7074 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7075 | fi |
|
|
7076 | |
|
|
7077 | fi |
6953 | fi |
7078 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5 |
6954 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5 |
7079 | $as_echo "$pt_cv_path_wtmp" >&6; } |
6955 | $as_echo "$pt_cv_path_wtmp" >&6; } |
7080 | if test x$pt_cv_path_wtmp != x; then |
6956 | if test x$pt_cv_path_wtmp != x; then |
7081 | |
6957 | |
7082 | cat >>confdefs.h <<_ACEOF |
6958 | cat >>confdefs.h <<_ACEOF |
7083 | #define WTMP_FILE "$pt_cv_path_wtmp" |
6959 | #define PT_WTMP_FILE "$pt_cv_path_wtmp" |
7084 | _ACEOF |
6960 | _ACEOF |
7085 | |
6961 | |
|
|
6962 | elif test "$cross_compiling" = yes; then |
|
|
6963 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMP_FILE in config.h manually" >&5 |
|
|
6964 | $as_echo "$as_me: WARNING: Define PT_WTMP_FILE in config.h manually" >&2;} |
7086 | fi |
6965 | fi |
7087 | |
6966 | |
7088 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where wtmpx is located" >&5 |
6967 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmpx" >&5 |
7089 | $as_echo_n "checking where wtmpx is located... " >&6; } |
6968 | $as_echo_n "checking for a fallback location of wtmpx... " >&6; } |
7090 | if ${pt_cv_path_wtmpx+:} false; then : |
6969 | if ${pt_cv_path_wtmpx+:} false; then : |
7091 | $as_echo_n "(cached) " >&6 |
6970 | $as_echo_n "(cached) " >&6 |
7092 | else |
6971 | else |
|
|
6972 | |
7093 | if test "$cross_compiling" = yes; then : |
6973 | if test "$cross_compiling" != yes; then |
7094 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define WTMPX_FILE in config.h manually" >&5 |
6974 | for file in "/var/log/wtmpx" "/var/adm/wtmpx"; do |
7095 | $as_echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;} |
6975 | if test -f "$file"; then |
7096 | else |
|
|
7097 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7098 | /* end confdefs.h. */ |
|
|
7099 | #include <stdio.h> |
|
|
7100 | #include <stdlib.h> |
|
|
7101 | #include <sys/stat.h> |
|
|
7102 | |
|
|
7103 | #ifdef HAVE_UTMPX_H |
|
|
7104 | #include <utmpx.h> |
|
|
7105 | #endif |
|
|
7106 | |
|
|
7107 | int main() |
|
|
7108 | { |
|
|
7109 | const char **path, *list[] = { "/var/log/wtmpx", "/var/adm/wtmpx", NULL }; |
|
|
7110 | FILE *f = fopen("conftestval", "w"); |
|
|
7111 | if (!f) return 1; |
|
|
7112 | #ifdef WTMPX_FILE |
|
|
7113 | fprintf(f, "%s\n", WTMPX_FILE); |
|
|
7114 | #elif defined(_PATH_WTMPX) |
|
|
7115 | fprintf(f, "%s\n", _PATH_WTMPX); |
|
|
7116 | #else |
|
|
7117 | for (path = list; *path; path++) { |
|
|
7118 | struct stat st; |
|
|
7119 | if (stat(*path, &st) == 0) { |
|
|
7120 | fprintf(f, "%s\n", *path); |
|
|
7121 | break; |
|
|
7122 | } |
|
|
7123 | } |
|
|
7124 | #endif |
|
|
7125 | return fclose(f) != 0; |
|
|
7126 | } |
|
|
7127 | _ACEOF |
|
|
7128 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7129 | pt_cv_path_wtmpx=`cat conftestval` |
|
|
7130 | else |
|
|
7131 | pt_cv_path_wtmpx= |
6976 | pt_cv_path_wtmpx=$file |
|
|
6977 | break |
|
|
6978 | fi |
|
|
6979 | done |
7132 | fi |
6980 | fi |
7133 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7134 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7135 | fi |
|
|
7136 | |
|
|
7137 | fi |
6981 | fi |
7138 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5 |
6982 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5 |
7139 | $as_echo "$pt_cv_path_wtmpx" >&6; } |
6983 | $as_echo "$pt_cv_path_wtmpx" >&6; } |
7140 | if test x$pt_cv_path_wtmpx != x; then |
6984 | if test x$pt_cv_path_wtmpx != x; then |
7141 | |
6985 | |
7142 | cat >>confdefs.h <<_ACEOF |
6986 | cat >>confdefs.h <<_ACEOF |
7143 | #define WTMPX_FILE "$pt_cv_path_wtmpx" |
6987 | #define PT_WTMPX_FILE "$pt_cv_path_wtmpx" |
7144 | _ACEOF |
6988 | _ACEOF |
7145 | |
6989 | |
|
|
6990 | elif test "$cross_compiling" = yes; then |
|
|
6991 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMPX_FILE in config.h manually" >&5 |
|
|
6992 | $as_echo "$as_me: WARNING: Define PT_WTMPX_FILE in config.h manually" >&2;} |
7146 | fi |
6993 | fi |
7147 | |
6994 | |
7148 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where lastlog is located" >&5 |
6995 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlog" >&5 |
7149 | $as_echo_n "checking where lastlog is located... " >&6; } |
6996 | $as_echo_n "checking for a fallback location of lastlog... " >&6; } |
7150 | if ${pt_cv_path_lastlog+:} false; then : |
6997 | if ${pt_cv_path_lastlog+:} false; then : |
7151 | $as_echo_n "(cached) " >&6 |
6998 | $as_echo_n "(cached) " >&6 |
7152 | else |
6999 | else |
|
|
7000 | |
7153 | if test "$cross_compiling" = yes; then : |
7001 | if test "$cross_compiling" != yes; then |
7154 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define LASTLOG_FILE in config.h manually" >&5 |
7002 | for file in "/var/log/lastlog" "/var/adm/lastlog"; do |
7155 | $as_echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;} |
7003 | if test -f "$file"; then |
7156 | else |
|
|
7157 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7158 | /* end confdefs.h. */ |
|
|
7159 | #include <stdio.h> |
|
|
7160 | #include <stdlib.h> |
|
|
7161 | #include <sys/stat.h> |
|
|
7162 | |
|
|
7163 | #include <sys/types.h> |
|
|
7164 | #ifdef HAVE_UTMP_H |
|
|
7165 | #include <utmp.h> |
|
|
7166 | #endif |
|
|
7167 | #ifdef HAVE_LASTLOG_H |
|
|
7168 | #include <lastlog.h> |
|
|
7169 | #endif |
|
|
7170 | |
|
|
7171 | int main() |
|
|
7172 | { |
|
|
7173 | const char **path, *list[] = { "/var/log/lastlog", NULL }; |
|
|
7174 | FILE *f = fopen("conftestval", "w"); |
|
|
7175 | if (!f) return 1; |
|
|
7176 | #ifdef LASTLOG_FILE |
|
|
7177 | fprintf(f, "%s\n", LASTLOG_FILE); |
|
|
7178 | #elif defined(_PATH_LASTLOG) |
|
|
7179 | fprintf(f, "%s\n", _PATH_LASTLOG); |
|
|
7180 | #else |
|
|
7181 | for (path = list; *path; path++) { |
|
|
7182 | struct stat st; |
|
|
7183 | if (stat(*path, &st) == 0) { |
|
|
7184 | fprintf(f, "%s\n", *path); |
|
|
7185 | break; |
|
|
7186 | } |
|
|
7187 | } |
|
|
7188 | #endif |
|
|
7189 | return fclose(f) != 0; |
|
|
7190 | } |
|
|
7191 | _ACEOF |
|
|
7192 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7193 | pt_cv_path_lastlog=`cat conftestval` |
|
|
7194 | else |
|
|
7195 | pt_cv_path_lastlog= |
7004 | pt_cv_path_lastlog=$file |
|
|
7005 | break |
|
|
7006 | fi |
|
|
7007 | done |
7196 | fi |
7008 | fi |
7197 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7198 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7199 | fi |
|
|
7200 | |
|
|
7201 | fi |
7009 | fi |
7202 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5 |
7010 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5 |
7203 | $as_echo "$pt_cv_path_lastlog" >&6; } |
7011 | $as_echo "$pt_cv_path_lastlog" >&6; } |
7204 | if test x$pt_cv_path_lastlog != x; then |
7012 | if test x$pt_cv_path_lastlog != x; then |
7205 | |
7013 | |
7206 | cat >>confdefs.h <<_ACEOF |
7014 | cat >>confdefs.h <<_ACEOF |
7207 | #define LASTLOG_FILE "$pt_cv_path_lastlog" |
7015 | #define PT_LASTLOG_FILE "$pt_cv_path_lastlog" |
7208 | _ACEOF |
7016 | _ACEOF |
7209 | |
7017 | |
|
|
7018 | elif test "$cross_compiling" = yes; then |
|
|
7019 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&5 |
|
|
7020 | $as_echo "$as_me: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&2;} |
7210 | fi |
7021 | fi |
7211 | |
7022 | |
7212 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where lastlogx is located" >&5 |
7023 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlogx" >&5 |
7213 | $as_echo_n "checking where lastlogx is located... " >&6; } |
7024 | $as_echo_n "checking for a fallback location of lastlogx... " >&6; } |
7214 | if ${pt_cv_path_lastlogx+:} false; then : |
7025 | if ${pt_cv_path_lastlogx+:} false; then : |
7215 | $as_echo_n "(cached) " >&6 |
7026 | $as_echo_n "(cached) " >&6 |
7216 | else |
7027 | else |
|
|
7028 | |
7217 | if test "$cross_compiling" = yes; then : |
7029 | if test "$cross_compiling" != yes; then |
7218 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define LASTLOGX_FILE in config.h manually" >&5 |
7030 | for file in "/var/log/lastlogx" "/var/adm/lastlogx"; do |
7219 | $as_echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;} |
7031 | if test -f "$file"; then |
7220 | else |
|
|
7221 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7222 | /* end confdefs.h. */ |
|
|
7223 | #include <stdio.h> |
|
|
7224 | #include <stdlib.h> |
|
|
7225 | #include <sys/stat.h> |
|
|
7226 | |
|
|
7227 | #ifdef HAVE_UTMPX_H |
|
|
7228 | #include <utmpx.h> |
|
|
7229 | #endif |
|
|
7230 | |
|
|
7231 | int main() |
|
|
7232 | { |
|
|
7233 | const char **path, *list[] = { "/var/log/lastlogx", "/var/adm/lastlogx", NULL }; |
|
|
7234 | FILE *f = fopen("conftestval", "w"); |
|
|
7235 | if (!f) return 1; |
|
|
7236 | #ifdef LASTLOGX_FILE |
|
|
7237 | fprintf(f, "%s\n", LASTLOGX_FILE); |
|
|
7238 | #elif defined(_PATH_LASTLOGX) |
|
|
7239 | fprintf(f, "%s\n", _PATH_LASTLOGX); |
|
|
7240 | #else |
|
|
7241 | for (path = list; *path; path++) { |
|
|
7242 | struct stat st; |
|
|
7243 | if (stat(*path, &st) == 0) { |
|
|
7244 | fprintf(f, "%s\n", *path); |
|
|
7245 | break; |
|
|
7246 | } |
|
|
7247 | } |
|
|
7248 | #endif |
|
|
7249 | return fclose(f) != 0; |
|
|
7250 | } |
|
|
7251 | _ACEOF |
|
|
7252 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7253 | pt_cv_path_lastlogx=`cat conftestval` |
|
|
7254 | else |
|
|
7255 | pt_cv_path_lastlogx= |
7032 | pt_cv_path_lastlogx=$file |
|
|
7033 | break |
|
|
7034 | fi |
|
|
7035 | done |
7256 | fi |
7036 | fi |
7257 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7258 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7259 | fi |
|
|
7260 | |
|
|
7261 | fi |
7037 | fi |
7262 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5 |
7038 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5 |
7263 | $as_echo "$pt_cv_path_lastlogx" >&6; } |
7039 | $as_echo "$pt_cv_path_lastlogx" >&6; } |
7264 | if test x$pt_cv_path_lastlogx != x; then |
7040 | if test x$pt_cv_path_lastlogx != x; then |
7265 | |
7041 | |
7266 | cat >>confdefs.h <<_ACEOF |
7042 | cat >>confdefs.h <<_ACEOF |
7267 | #define LASTLOGX_FILE "$pt_cv_path_lastlogx" |
7043 | #define PT_LASTLOGX_FILE "$pt_cv_path_lastlogx" |
7268 | _ACEOF |
7044 | _ACEOF |
7269 | |
7045 | |
|
|
7046 | elif test "$cross_compiling" = yes; then |
|
|
7047 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&5 |
|
|
7048 | $as_echo "$as_me: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&2;} |
7270 | fi |
7049 | fi |
7271 | |
7050 | |
7272 | |
7051 | |
7273 | |
7052 | |
7274 | |
7053 | |
7275 | save_LIBS=$LIBS |
7054 | save_LIBS=$LIBS |
7276 | save_CFLAGS=$CFLAGS |
7055 | save_CXXFLAGS=$CXXFLAGS |
7277 | CFLAGS="$CFLAGS $X_CFLAGS" |
7056 | CXXFLAGS="$CXXFLAGS $X_CFLAGS" |
7278 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
7057 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
7279 | if test x$support_xim = xyes; then |
7058 | if test x$support_xim = xyes; then |
7280 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 |
7059 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 |
7281 | $as_echo_n "checking for working Xlocale... " >&6; } |
7060 | $as_echo_n "checking for working Xlocale... " >&6; } |
7282 | if ${rxvt_cv_func_xlocale+:} false; then : |
7061 | if ${rxvt_cv_func_xlocale+:} false; then : |
… | |
… | |
7382 | |
7161 | |
7383 | $as_echo "#define HAVE_XSETLOCALE 1" >>confdefs.h |
7162 | $as_echo "#define HAVE_XSETLOCALE 1" >>confdefs.h |
7384 | |
7163 | |
7385 | fi |
7164 | fi |
7386 | LIBS=$save_LIBS |
7165 | LIBS=$save_LIBS |
7387 | CFLAGS=$save_CFLAGS |
7166 | CXXFLAGS=$save_CXXFLAGS |
7388 | |
|
|
7389 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working plain setlocale" >&5 |
|
|
7390 | $as_echo_n "checking for working plain setlocale... " >&6; } |
|
|
7391 | if ${rxvt_cv_func_setlocale+:} false; then : |
|
|
7392 | $as_echo_n "(cached) " >&6 |
|
|
7393 | else |
|
|
7394 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7395 | /* end confdefs.h. */ |
|
|
7396 | #include <clocale> |
|
|
7397 | int |
|
|
7398 | main () |
|
|
7399 | { |
|
|
7400 | setlocale(LC_CTYPE, ""); |
|
|
7401 | ; |
|
|
7402 | return 0; |
|
|
7403 | } |
|
|
7404 | _ACEOF |
|
|
7405 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7406 | rxvt_cv_func_setlocale=yes |
|
|
7407 | else |
|
|
7408 | rxvt_cv_func_setlocale=no |
|
|
7409 | fi |
|
|
7410 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7411 | conftest$ac_exeext conftest.$ac_ext |
|
|
7412 | fi |
|
|
7413 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_setlocale" >&5 |
|
|
7414 | $as_echo "$rxvt_cv_func_setlocale" >&6; } |
|
|
7415 | if test x$rxvt_cv_func_setlocale = xyes; then |
|
|
7416 | |
|
|
7417 | $as_echo "#define HAVE_SETLOCALE 1" >>confdefs.h |
|
|
7418 | |
|
|
7419 | fi |
|
|
7420 | |
7167 | |
7421 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 |
7168 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 |
7422 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
7169 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
7423 | if ${rxvt_cv_func_nl_langinfo+:} false; then : |
7170 | if ${rxvt_cv_func_nl_langinfo+:} false; then : |
7424 | $as_echo_n "(cached) " >&6 |
7171 | $as_echo_n "(cached) " >&6 |
… | |
… | |
7449 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
7196 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
7450 | |
7197 | |
7451 | fi |
7198 | fi |
7452 | |
7199 | |
7453 | |
7200 | |
|
|
7201 | |
|
|
7202 | case $host in |
|
|
7203 | *-*-solaris*) |
|
|
7204 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7205 | /* end confdefs.h. */ |
|
|
7206 | |
|
|
7207 | #if __STDC_VERSION__ >= 199901L |
|
|
7208 | error |
|
|
7209 | #endif |
|
|
7210 | |
|
|
7211 | int |
|
|
7212 | main () |
|
|
7213 | { |
|
|
7214 | |
|
|
7215 | ; |
|
|
7216 | return 0; |
|
|
7217 | } |
|
|
7218 | _ACEOF |
|
|
7219 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
7220 | $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h |
|
|
7221 | |
|
|
7222 | else |
|
|
7223 | $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h |
|
|
7224 | |
|
|
7225 | fi |
|
|
7226 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7227 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5 |
|
|
7228 | $as_echo_n "checking for library containing sendmsg... " >&6; } |
|
|
7229 | if ${ac_cv_search_sendmsg+:} false; then : |
|
|
7230 | $as_echo_n "(cached) " >&6 |
|
|
7231 | else |
|
|
7232 | ac_func_search_save_LIBS=$LIBS |
|
|
7233 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7234 | /* end confdefs.h. */ |
|
|
7235 | |
|
|
7236 | /* Override any GCC internal prototype to avoid an error. |
|
|
7237 | Use char because int might match the return type of a GCC |
|
|
7238 | builtin and then its argument prototype would still apply. */ |
|
|
7239 | #ifdef __cplusplus |
|
|
7240 | extern "C" |
|
|
7241 | #endif |
|
|
7242 | char sendmsg (); |
|
|
7243 | int |
|
|
7244 | main () |
|
|
7245 | { |
|
|
7246 | return sendmsg (); |
|
|
7247 | ; |
|
|
7248 | return 0; |
|
|
7249 | } |
|
|
7250 | _ACEOF |
|
|
7251 | for ac_lib in '' socket; do |
|
|
7252 | if test -z "$ac_lib"; then |
|
|
7253 | ac_res="none required" |
|
|
7254 | else |
|
|
7255 | ac_res=-l$ac_lib |
|
|
7256 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
|
7257 | fi |
|
|
7258 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7259 | ac_cv_search_sendmsg=$ac_res |
|
|
7260 | fi |
|
|
7261 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7262 | conftest$ac_exeext |
|
|
7263 | if ${ac_cv_search_sendmsg+:} false; then : |
|
|
7264 | break |
|
|
7265 | fi |
|
|
7266 | done |
|
|
7267 | if ${ac_cv_search_sendmsg+:} false; then : |
|
|
7268 | |
|
|
7269 | else |
|
|
7270 | ac_cv_search_sendmsg=no |
|
|
7271 | fi |
|
|
7272 | rm conftest.$ac_ext |
|
|
7273 | LIBS=$ac_func_search_save_LIBS |
|
|
7274 | fi |
|
|
7275 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendmsg" >&5 |
|
|
7276 | $as_echo "$ac_cv_search_sendmsg" >&6; } |
|
|
7277 | ac_res=$ac_cv_search_sendmsg |
|
|
7278 | if test "$ac_res" != no; then : |
|
|
7279 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
7280 | |
|
|
7281 | fi |
|
|
7282 | |
|
|
7283 | ;; |
|
|
7284 | esac |
|
|
7285 | |
7454 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5 |
7286 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5 |
7455 | $as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; } |
7287 | $as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; } |
7456 | if ${pt_cv_can_pass_fds+:} false; then : |
7288 | if ${pt_cv_can_pass_fds+:} false; then : |
7457 | $as_echo_n "(cached) " >&6 |
7289 | $as_echo_n "(cached) " >&6 |
7458 | else |
7290 | else |
7459 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7291 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7460 | /* end confdefs.h. */ |
7292 | /* end confdefs.h. */ |
7461 | |
7293 | |
7462 | #include <cstddef> // broken bsds (is that redundant?) need this |
7294 | #include <stddef.h> // broken bsds (is that redundant?) need this |
7463 | #include <sys/types.h> |
7295 | #include <sys/types.h> |
7464 | #include <sys/socket.h> |
7296 | #include <sys/socket.h> |
7465 | #include <sys/uio.h> |
7297 | #include <sys/uio.h> |
7466 | |
7298 | |
7467 | int |
7299 | int |
… | |
… | |
7519 | for ac_header in \ |
7351 | for ac_header in \ |
7520 | pty.h \ |
7352 | pty.h \ |
7521 | util.h \ |
7353 | util.h \ |
7522 | libutil.h \ |
7354 | libutil.h \ |
7523 | sys/ioctl.h \ |
7355 | sys/ioctl.h \ |
7524 | sys/stropts.h \ |
|
|
7525 | stropts.h \ |
7356 | stropts.h \ |
7526 | |
7357 | |
7527 | do : |
7358 | do : |
7528 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7359 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7529 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
7360 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
… | |
… | |
7558 | |
7389 | |
7559 | fi |
7390 | fi |
7560 | done |
7391 | done |
7561 | |
7392 | |
7562 | |
7393 | |
7563 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5 |
7394 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5 |
7564 | $as_echo_n "checking for UNIX98 ptys... " >&6; } |
7395 | $as_echo_n "checking for UNIX98 ptys... " >&6; } |
7565 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7396 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7566 | /* end confdefs.h. */ |
7397 | /* end confdefs.h. */ |
7567 | #include <stdlib.h> |
7398 | #include <stdlib.h> |
7568 | int |
7399 | int |
7569 | main () |
7400 | main () |
7570 | { |
7401 | { |
… | |
… | |
7576 | if ac_fn_cxx_try_link "$LINENO"; then : |
7407 | if ac_fn_cxx_try_link "$LINENO"; then : |
7577 | unix98_pty=yes |
7408 | unix98_pty=yes |
7578 | |
7409 | |
7579 | $as_echo "#define UNIX98_PTY 1" >>confdefs.h |
7410 | $as_echo "#define UNIX98_PTY 1" >>confdefs.h |
7580 | |
7411 | |
7581 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
7412 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
7582 | $as_echo "yes" >&6; } |
7413 | $as_echo "yes" >&6; } |
7583 | else |
7414 | else |
7584 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7415 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7585 | $as_echo "no" >&6; } |
7416 | $as_echo "no" >&6; } |
7586 | fi |
7417 | fi |
… | |
… | |
7698 | |
7529 | |
7699 | $as_echo "#define TTY_GID_SUPPORT 1" >>confdefs.h |
7530 | $as_echo "#define TTY_GID_SUPPORT 1" >>confdefs.h |
7700 | |
7531 | |
7701 | fi |
7532 | fi |
7702 | |
7533 | |
|
|
7534 | support_image=no |
|
|
7535 | if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then |
|
|
7536 | support_image=yes |
|
|
7537 | fi |
7703 | if test x$support_xft = xyes || test x$support_inheritpixmap = xyes; then |
7538 | if test x$support_xft = xyes || test x$support_image = xyes; then |
7704 | rxvt_have_xrender=no |
7539 | rxvt_have_xrender=no |
7705 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7540 | |
7706 | set dummy pkg-config; ac_word=$2 |
|
|
7707 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7541 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xrender" >&5 |
7708 | $as_echo_n "checking for $ac_word... " >&6; } |
7542 | $as_echo_n "checking for xrender... " >&6; } |
7709 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
|
|
7710 | $as_echo_n "(cached) " >&6 |
|
|
7711 | else |
|
|
7712 | case $PKG_CONFIG in |
|
|
7713 | [\\/]* | ?:[\\/]*) |
|
|
7714 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
7715 | ;; |
|
|
7716 | *) |
|
|
7717 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
7718 | for as_dir in $PATH |
|
|
7719 | do |
|
|
7720 | IFS=$as_save_IFS |
|
|
7721 | test -z "$as_dir" && as_dir=. |
|
|
7722 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
7723 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
7724 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
7725 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
7726 | break 2 |
|
|
7727 | fi |
|
|
7728 | done |
|
|
7729 | done |
|
|
7730 | IFS=$as_save_IFS |
|
|
7731 | |
|
|
7732 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
7733 | ;; |
|
|
7734 | esac |
|
|
7735 | fi |
|
|
7736 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
7737 | if test -n "$PKG_CONFIG"; then |
|
|
7738 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
|
|
7739 | $as_echo "$PKG_CONFIG" >&6; } |
|
|
7740 | else |
|
|
7741 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7742 | $as_echo "no" >&6; } |
|
|
7743 | fi |
|
|
7744 | |
|
|
7745 | |
|
|
7746 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then |
7543 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then |
7747 | X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS" |
7544 | XRENDER_CFLAGS="`$PKG_CONFIG --cflags xrender`" |
7748 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`" |
7545 | XRENDER_LIBS="`$PKG_CONFIG --libs xrender`" |
|
|
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" |
7749 | rxvt_have_xrender=yes |
7552 | rxvt_have_xrender=yes |
7750 | |
7553 | |
7751 | save_LIBS="$LIBS" |
7554 | save_LIBS="$LIBS" |
7752 | LIBS="$LIBS $X_LIBS" |
7555 | LIBS="$LIBS $X_LIBS" |
7753 | 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" |
… | |
… | |
7764 | else |
7567 | else |
7765 | rxvt_have_xrender=no |
7568 | rxvt_have_xrender=no |
7766 | fi |
7569 | fi |
7767 | |
7570 | |
7768 | 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 | : |
7769 | fi |
7577 | fi |
|
|
7578 | |
7770 | fi |
7579 | fi |
7771 | |
7580 | |
7772 | 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 |
7773 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7582 | |
7774 | set dummy pkg-config; ac_word=$2 |
|
|
7775 | { $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 |
7776 | $as_echo_n "checking for $ac_word... " >&6; } |
7584 | $as_echo_n "checking for fontconfig xft... " >&6; } |
7777 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
7585 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig xft; then |
7778 | $as_echo_n "(cached) " >&6 |
7586 | XFT_CFLAGS="`$PKG_CONFIG --cflags fontconfig xft`" |
7779 | else |
7587 | XFT_LIBS="`$PKG_CONFIG --libs fontconfig xft`" |
7780 | case $PKG_CONFIG in |
|
|
7781 | [\\/]* | ?:[\\/]*) |
|
|
7782 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
7783 | ;; |
|
|
7784 | *) |
|
|
7785 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
7786 | for as_dir in $PATH |
|
|
7787 | do |
|
|
7788 | IFS=$as_save_IFS |
|
|
7789 | test -z "$as_dir" && as_dir=. |
|
|
7790 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
7791 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
7792 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
7793 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
7794 | break 2 |
|
|
7795 | fi |
|
|
7796 | done |
|
|
7797 | done |
|
|
7798 | IFS=$as_save_IFS |
|
|
7799 | |
7588 | |
7800 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
7801 | ;; |
|
|
7802 | esac |
|
|
7803 | fi |
|
|
7804 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
7805 | if test -n "$PKG_CONFIG"; then |
|
|
7806 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
7589 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
7807 | $as_echo "$PKG_CONFIG" >&6; } |
7590 | $as_echo "ok" >&6; } |
|
|
7591 | |
|
|
7592 | X_LIBS="$XFT_LIBS $X_LIBS" |
|
|
7593 | CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" |
|
|
7594 | |
7808 | else |
7595 | else |
7809 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7596 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7810 | $as_echo "no" >&6; } |
7597 | $as_echo "no" >&6; } |
7811 | fi |
|
|
7812 | |
7598 | |
7813 | |
|
|
7814 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
|
|
7815 | X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS" |
|
|
7816 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
|
|
7817 | else |
|
|
7818 | # 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. |
7819 | set dummy xft-config; ac_word=$2 |
7600 | set dummy xft-config; ac_word=$2 |
7820 | { $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 |
7821 | $as_echo_n "checking for $ac_word... " >&6; } |
7602 | $as_echo_n "checking for $ac_word... " >&6; } |
7822 | if ${ac_cv_path_XFT_CONFIG+:} false; then : |
7603 | if ${ac_cv_path_XFT_CONFIG+:} false; then : |
… | |
… | |
7831 | for as_dir in $PATH |
7612 | for as_dir in $PATH |
7832 | do |
7613 | do |
7833 | IFS=$as_save_IFS |
7614 | IFS=$as_save_IFS |
7834 | test -z "$as_dir" && as_dir=. |
7615 | test -z "$as_dir" && as_dir=. |
7835 | for ac_exec_ext in '' $ac_executable_extensions; do |
7616 | for ac_exec_ext in '' $ac_executable_extensions; do |
7836 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7617 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7837 | ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
7618 | ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
7838 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7619 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7839 | break 2 |
7620 | break 2 |
7840 | fi |
7621 | fi |
7841 | done |
7622 | done |
… | |
… | |
7858 | |
7639 | |
7859 | if test $XFT_CONFIG != no; then |
7640 | if test $XFT_CONFIG != no; then |
7860 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
7641 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
7861 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
7642 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
7862 | fi |
7643 | fi |
7863 | fi |
|
|
7864 | |
7644 | |
7865 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig; then |
|
|
7866 | X_LIBS="`$PKG_CONFIG fontconfig --libs` $X_LIBS" |
|
|
7867 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG fontconfig --cflags`" |
|
|
7868 | fi |
7645 | fi |
|
|
7646 | |
7869 | |
7647 | |
7870 | save_LIBS="$LIBS" |
7648 | save_LIBS="$LIBS" |
7871 | LIBS="$LIBS $X_LIBS" |
7649 | LIBS="$LIBS $X_LIBS" |
7872 | for ac_header in X11/Xft/Xft.h |
7650 | for ac_header in X11/Xft/Xft.h fontconfig/fontconfig.h |
7873 | do : |
7651 | do : |
|
|
7652 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7874 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" |
7653 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
7875 | if test "x$ac_cv_header_X11_Xft_Xft_h" = xyes; then : |
7654 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
7876 | cat >>confdefs.h <<_ACEOF |
7655 | cat >>confdefs.h <<_ACEOF |
7877 | #define HAVE_X11_XFT_XFT_H 1 |
7656 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7878 | _ACEOF |
7657 | _ACEOF |
7879 | |
7658 | |
7880 | else |
7659 | else |
7881 | support_xft=no |
7660 | support_xft=no |
7882 | fi |
7661 | fi |
7883 | |
7662 | |
7884 | done |
7663 | done |
7885 | |
7664 | |
|
|
7665 | for ac_func in XftDrawString32 FcPatternGet |
|
|
7666 | do : |
|
|
7667 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
7668 | ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
|
7669 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
|
7670 | cat >>confdefs.h <<_ACEOF |
|
|
7671 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
7672 | _ACEOF |
|
|
7673 | |
|
|
7674 | else |
|
|
7675 | support_xft=no |
|
|
7676 | fi |
|
|
7677 | done |
|
|
7678 | |
|
|
7679 | LIBS="$save_LIBS" |
|
|
7680 | |
|
|
7681 | if test x$support_xft = xyes; then |
|
|
7682 | |
|
|
7683 | $as_echo "#define XFT 1" >>confdefs.h |
|
|
7684 | |
|
|
7685 | fi |
|
|
7686 | fi |
|
|
7687 | |
|
|
7688 | if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then |
7886 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawString32 in -lXft" >&5 |
7689 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Render >= 0.11" >&5 |
7887 | $as_echo_n "checking for XftDrawString32 in -lXft... " >&6; } |
7690 | $as_echo_n "checking for Render >= 0.11... " >&6; } |
7888 | if ${ac_cv_lib_Xft_XftDrawString32+:} false; then : |
|
|
7889 | $as_echo_n "(cached) " >&6 |
|
|
7890 | else |
|
|
7891 | ac_check_lib_save_LIBS=$LIBS |
|
|
7892 | LIBS="-lXft $LIBS" |
|
|
7893 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7691 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7894 | /* end confdefs.h. */ |
7692 | /* end confdefs.h. */ |
7895 | |
7693 | |
7896 | /* Override any GCC internal prototype to avoid an error. |
7694 | #include <X11/extensions/Xrender.h> |
7897 | Use char because int might match the return type of a GCC |
7695 | #if RENDER_MAJOR == 0 && RENDER_MINOR <= 10 |
7898 | builtin and then its argument prototype would still apply. */ |
7696 | error |
7899 | #ifdef __cplusplus |
|
|
7900 | extern "C" |
|
|
7901 | #endif |
7697 | #endif |
7902 | char XftDrawString32 (); |
7698 | |
7903 | int |
7699 | int |
7904 | main () |
7700 | main () |
7905 | { |
7701 | { |
7906 | return XftDrawString32 (); |
7702 | |
7907 | ; |
7703 | ; |
7908 | return 0; |
7704 | return 0; |
7909 | } |
7705 | } |
7910 | _ACEOF |
7706 | _ACEOF |
7911 | if ac_fn_cxx_try_link "$LINENO"; then : |
7707 | if ac_fn_cxx_try_compile "$LINENO"; then : |
7912 | ac_cv_lib_Xft_XftDrawString32=yes |
7708 | |
7913 | else |
7709 | else |
7914 | ac_cv_lib_Xft_XftDrawString32=no |
7710 | support_image=no |
7915 | fi |
7711 | fi |
7916 | rm -f core conftest.err conftest.$ac_objext \ |
7712 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7917 | conftest$ac_exeext conftest.$ac_ext |
|
|
7918 | LIBS=$ac_check_lib_save_LIBS |
|
|
7919 | fi |
|
|
7920 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
|
|
7921 | $as_echo "$ac_cv_lib_Xft_XftDrawString32" >&6; } |
|
|
7922 | if test "x$ac_cv_lib_Xft_XftDrawString32" = xyes; then : |
|
|
7923 | : |
|
|
7924 | else |
|
|
7925 | support_xft=no |
|
|
7926 | fi |
|
|
7927 | |
|
|
7928 | for ac_header in fontconfig/fontconfig.h |
|
|
7929 | do : |
|
|
7930 | ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default" |
|
|
7931 | if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then : |
|
|
7932 | cat >>confdefs.h <<_ACEOF |
|
|
7933 | #define HAVE_FONTCONFIG_FONTCONFIG_H 1 |
|
|
7934 | _ACEOF |
|
|
7935 | |
|
|
7936 | else |
|
|
7937 | support_xft=no |
|
|
7938 | fi |
|
|
7939 | |
|
|
7940 | done |
|
|
7941 | |
|
|
7942 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5 |
|
|
7943 | $as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; } |
|
|
7944 | if ${ac_cv_lib_fontconfig_FcPatternGet+:} false; then : |
|
|
7945 | $as_echo_n "(cached) " >&6 |
|
|
7946 | else |
|
|
7947 | ac_check_lib_save_LIBS=$LIBS |
|
|
7948 | LIBS="-lfontconfig $LIBS" |
|
|
7949 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7950 | /* end confdefs.h. */ |
|
|
7951 | |
|
|
7952 | /* Override any GCC internal prototype to avoid an error. |
|
|
7953 | Use char because int might match the return type of a GCC |
|
|
7954 | builtin and then its argument prototype would still apply. */ |
|
|
7955 | #ifdef __cplusplus |
|
|
7956 | extern "C" |
|
|
7957 | #endif |
|
|
7958 | char FcPatternGet (); |
|
|
7959 | int |
|
|
7960 | main () |
|
|
7961 | { |
|
|
7962 | return FcPatternGet (); |
|
|
7963 | ; |
|
|
7964 | return 0; |
|
|
7965 | } |
|
|
7966 | _ACEOF |
|
|
7967 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7968 | ac_cv_lib_fontconfig_FcPatternGet=yes |
|
|
7969 | else |
|
|
7970 | ac_cv_lib_fontconfig_FcPatternGet=no |
|
|
7971 | fi |
|
|
7972 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7973 | conftest$ac_exeext conftest.$ac_ext |
|
|
7974 | LIBS=$ac_check_lib_save_LIBS |
|
|
7975 | fi |
|
|
7976 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5 |
|
|
7977 | $as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; } |
|
|
7978 | if test "x$ac_cv_lib_fontconfig_FcPatternGet" = xyes; then : |
|
|
7979 | : |
|
|
7980 | else |
|
|
7981 | support_xft=no |
|
|
7982 | fi |
|
|
7983 | |
|
|
7984 | LIBS="$save_LIBS" |
|
|
7985 | |
|
|
7986 | if test x$support_xft = xyes; then |
7713 | if test x$support_image = xyes; then |
|
|
7714 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
|
7715 | $as_echo "ok" >&6; } |
|
|
7716 | LIBS="$LIBS -lm" |
7987 | |
7717 | |
7988 | $as_echo "#define XFT 1" >>confdefs.h |
7718 | $as_echo "#define XRENDER 1" >>confdefs.h |
7989 | |
7719 | |
|
|
7720 | |
|
|
7721 | if test x$support_inheritpixmap = xyes; then |
|
|
7722 | |
|
|
7723 | $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h |
|
|
7724 | |
7990 | fi |
7725 | fi |
|
|
7726 | else |
|
|
7727 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7728 | $as_echo "no" >&6; } |
|
|
7729 | fi |
7991 | fi |
7730 | fi |
|
|
7731 | |
7992 | if test x$support_styles = xyes; then |
7732 | if test x$support_styles = xyes; then |
7993 | |
7733 | |
7994 | $as_echo "#define ENABLE_STYLES 1" >>confdefs.h |
7734 | $as_echo "#define ENABLE_STYLES 1" >>confdefs.h |
7995 | |
7735 | |
7996 | fi |
7736 | fi |
… | |
… | |
8005 | |
7745 | |
8006 | fi |
7746 | fi |
8007 | if test x$support_fading = xyes; then |
7747 | if test x$support_fading = xyes; then |
8008 | |
7748 | |
8009 | $as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h |
7749 | $as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h |
8010 | |
|
|
8011 | fi |
|
|
8012 | if test x$support_inheritpixmap = xyes; then |
|
|
8013 | if test x$rxvt_have_xrender = xyes; then |
|
|
8014 | LIBS="$LIBS -lm" |
|
|
8015 | |
|
|
8016 | $as_echo "#define XRENDER 1" >>confdefs.h |
|
|
8017 | |
|
|
8018 | fi |
|
|
8019 | |
|
|
8020 | $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h |
|
|
8021 | |
7750 | |
8022 | fi |
7751 | fi |
8023 | if test x$support_keepscrolling = xno; then |
7752 | if test x$support_keepscrolling = xno; then |
8024 | |
7753 | |
8025 | $as_echo "#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1" >>confdefs.h |
7754 | $as_echo "#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1" >>confdefs.h |
… | |
… | |
8136 | for as_dir in $PATH |
7865 | for as_dir in $PATH |
8137 | do |
7866 | do |
8138 | IFS=$as_save_IFS |
7867 | IFS=$as_save_IFS |
8139 | test -z "$as_dir" && as_dir=. |
7868 | test -z "$as_dir" && as_dir=. |
8140 | for ac_exec_ext in '' $ac_executable_extensions; do |
7869 | for ac_exec_ext in '' $ac_executable_extensions; do |
8141 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7870 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
8142 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
7871 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
8143 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7872 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8144 | break 2 |
7873 | break 2 |
8145 | fi |
7874 | fi |
8146 | done |
7875 | done |
8147 | done |
7876 | done |
8148 | IFS=$as_save_IFS |
7877 | IFS=$as_save_IFS |
8149 | |
7878 | |
8150 | ;; |
7879 | test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl" |
8151 | esac |
|
|
8152 | fi |
|
|
8153 | PERL=$ac_cv_path_PERL |
|
|
8154 | if test -n "$PERL"; then |
|
|
8155 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 |
|
|
8156 | $as_echo "$PERL" >&6; } |
|
|
8157 | else |
|
|
8158 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8159 | $as_echo "no" >&6; } |
|
|
8160 | fi |
|
|
8161 | |
|
|
8162 | |
|
|
8163 | # Extract the first word of "perl", so it can be a program name with args. |
|
|
8164 | set dummy perl; ac_word=$2 |
|
|
8165 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
8166 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
8167 | if ${ac_cv_path_PERL+:} false; then : |
|
|
8168 | $as_echo_n "(cached) " >&6 |
|
|
8169 | else |
|
|
8170 | case $PERL in |
|
|
8171 | [\\/]* | ?:[\\/]*) |
|
|
8172 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
8173 | ;; |
|
|
8174 | *) |
|
|
8175 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
8176 | for as_dir in $PATH |
|
|
8177 | do |
|
|
8178 | IFS=$as_save_IFS |
|
|
8179 | test -z "$as_dir" && as_dir=. |
|
|
8180 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8181 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
8182 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
8183 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
8184 | break 2 |
|
|
8185 | fi |
|
|
8186 | done |
|
|
8187 | done |
|
|
8188 | IFS=$as_save_IFS |
|
|
8189 | |
|
|
8190 | ;; |
7880 | ;; |
8191 | esac |
7881 | esac |
8192 | fi |
7882 | fi |
8193 | PERL=$ac_cv_path_PERL |
7883 | PERL=$ac_cv_path_PERL |
8194 | if test -n "$PERL"; then |
7884 | if test -n "$PERL"; then |
… | |
… | |
8669 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
8359 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
8670 | as_ln_s='ln -s' |
8360 | as_ln_s='ln -s' |
8671 | # ... but there are two gotchas: |
8361 | # ... but there are two gotchas: |
8672 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
8362 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
8673 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
8363 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
8674 | # In both cases, we have to default to `cp -p'. |
8364 | # In both cases, we have to default to `cp -pR'. |
8675 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
8365 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
8676 | as_ln_s='cp -p' |
8366 | as_ln_s='cp -pR' |
8677 | elif ln conf$$.file conf$$ 2>/dev/null; then |
8367 | elif ln conf$$.file conf$$ 2>/dev/null; then |
8678 | as_ln_s=ln |
8368 | as_ln_s=ln |
8679 | else |
8369 | else |
8680 | as_ln_s='cp -p' |
8370 | as_ln_s='cp -pR' |
8681 | fi |
8371 | fi |
8682 | else |
8372 | else |
8683 | as_ln_s='cp -p' |
8373 | as_ln_s='cp -pR' |
8684 | fi |
8374 | fi |
8685 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
8375 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
8686 | rmdir conf$$.dir 2>/dev/null |
8376 | rmdir conf$$.dir 2>/dev/null |
8687 | |
8377 | |
8688 | |
8378 | |
… | |
… | |
8738 | else |
8428 | else |
8739 | test -d ./-p && rmdir ./-p |
8429 | test -d ./-p && rmdir ./-p |
8740 | as_mkdir_p=false |
8430 | as_mkdir_p=false |
8741 | fi |
8431 | fi |
8742 | |
8432 | |
8743 | if test -x / >/dev/null 2>&1; then |
8433 | |
|
|
8434 | # as_fn_executable_p FILE |
|
|
8435 | # ----------------------- |
|
|
8436 | # Test if FILE is an executable regular file. |
|
|
8437 | as_fn_executable_p () |
|
|
8438 | { |
|
|
8439 | test -f "$1" && test -x "$1" |
|
|
8440 | } # as_fn_executable_p |
8744 | as_test_x='test -x' |
8441 | as_test_x='test -x' |
8745 | else |
8442 | as_executable_p=as_fn_executable_p |
8746 | if ls -dL / >/dev/null 2>&1; then |
|
|
8747 | as_ls_L_option=L |
|
|
8748 | else |
|
|
8749 | as_ls_L_option= |
|
|
8750 | fi |
|
|
8751 | as_test_x=' |
|
|
8752 | eval sh -c '\'' |
|
|
8753 | if test -d "$1"; then |
|
|
8754 | test -d "$1/."; |
|
|
8755 | else |
|
|
8756 | case $1 in #( |
|
|
8757 | -*)set "./$1";; |
|
|
8758 | esac; |
|
|
8759 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
|
8760 | ???[sx]*):;;*)false;;esac;fi |
|
|
8761 | '\'' sh |
|
|
8762 | ' |
|
|
8763 | fi |
|
|
8764 | as_executable_p=$as_test_x |
|
|
8765 | |
8443 | |
8766 | # Sed expression to map a string onto a valid CPP name. |
8444 | # Sed expression to map a string onto a valid CPP name. |
8767 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
8445 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
8768 | |
8446 | |
8769 | # Sed expression to map a string onto a valid variable name. |
8447 | # Sed expression to map a string onto a valid variable name. |
… | |
… | |
8781 | # Save the log message, to keep $0 and so on meaningful, and to |
8459 | # Save the log message, to keep $0 and so on meaningful, and to |
8782 | # report actual input values of CONFIG_FILES etc. instead of their |
8460 | # report actual input values of CONFIG_FILES etc. instead of their |
8783 | # values after options handling. |
8461 | # values after options handling. |
8784 | ac_log=" |
8462 | ac_log=" |
8785 | This file was extended by $as_me, which was |
8463 | This file was extended by $as_me, which was |
8786 | generated by GNU Autoconf 2.68. Invocation command line was |
8464 | generated by GNU Autoconf 2.69. Invocation command line was |
8787 | |
8465 | |
8788 | CONFIG_FILES = $CONFIG_FILES |
8466 | CONFIG_FILES = $CONFIG_FILES |
8789 | CONFIG_HEADERS = $CONFIG_HEADERS |
8467 | CONFIG_HEADERS = $CONFIG_HEADERS |
8790 | CONFIG_LINKS = $CONFIG_LINKS |
8468 | CONFIG_LINKS = $CONFIG_LINKS |
8791 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
8469 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
8843 | _ACEOF |
8521 | _ACEOF |
8844 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8522 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8845 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
8523 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
8846 | ac_cs_version="\\ |
8524 | ac_cs_version="\\ |
8847 | config.status |
8525 | config.status |
8848 | configured by $0, generated by GNU Autoconf 2.68, |
8526 | configured by $0, generated by GNU Autoconf 2.69, |
8849 | with options \\"\$ac_cs_config\\" |
8527 | with options \\"\$ac_cs_config\\" |
8850 | |
8528 | |
8851 | Copyright (C) 2010 Free Software Foundation, Inc. |
8529 | Copyright (C) 2012 Free Software Foundation, Inc. |
8852 | This config.status script is free software; the Free Software Foundation |
8530 | This config.status script is free software; the Free Software Foundation |
8853 | gives unlimited permission to copy, distribute and modify it." |
8531 | gives unlimited permission to copy, distribute and modify it." |
8854 | |
8532 | |
8855 | ac_pwd='$ac_pwd' |
8533 | ac_pwd='$ac_pwd' |
8856 | srcdir='$srcdir' |
8534 | srcdir='$srcdir' |
… | |
… | |
8935 | fi |
8613 | fi |
8936 | |
8614 | |
8937 | _ACEOF |
8615 | _ACEOF |
8938 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8616 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8939 | if \$ac_cs_recheck; then |
8617 | if \$ac_cs_recheck; then |
8940 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
8618 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
8941 | shift |
8619 | shift |
8942 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
8620 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
8943 | CONFIG_SHELL='$SHELL' |
8621 | CONFIG_SHELL='$SHELL' |
8944 | export CONFIG_SHELL |
8622 | export CONFIG_SHELL |
8945 | exec "\$@" |
8623 | exec "\$@" |