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 |
631 | STARTUP_NOTIFICATION_LIBS |
612 | AFTERIMAGE_CFLAGS |
632 | STARTUP_NOTIFICATION_CFLAGS |
613 | afterimage_config |
|
|
614 | PIXBUF_LIBS |
633 | PIXBUF_LIBS |
615 | PIXBUF_CFLAGS |
634 | PIXBUF_CFLAGS |
616 | PKG_CONFIG |
635 | PKG_CONFIG |
617 | X_EXTRA_LIBS |
636 | X_EXTRA_LIBS |
618 | X_LIBS |
637 | X_LIBS |
… | |
… | |
623 | CXXCPP |
642 | CXXCPP |
624 | RXVTNAME |
643 | RXVTNAME |
625 | LINKER |
644 | LINKER |
626 | EGREP |
645 | EGREP |
627 | GREP |
646 | GREP |
|
|
647 | CPP |
628 | INSTALL_DATA |
648 | INSTALL_DATA |
629 | INSTALL_SCRIPT |
649 | INSTALL_SCRIPT |
630 | INSTALL_PROGRAM |
650 | INSTALL_PROGRAM |
631 | CPP |
|
|
632 | ac_ct_CXX |
651 | ac_ct_CXX |
633 | CXXFLAGS |
652 | CXXFLAGS |
634 | CXX |
653 | CXX |
635 | OBJEXT |
654 | OBJEXT |
636 | EXEEXT |
655 | EXEEXT |
… | |
… | |
696 | enable_256_color |
715 | enable_256_color |
697 | enable_unicode3 |
716 | enable_unicode3 |
698 | enable_combining |
717 | enable_combining |
699 | enable_xft |
718 | enable_xft |
700 | enable_font_styles |
719 | enable_font_styles |
701 | enable_afterimage |
|
|
702 | with_afterimage_config |
|
|
703 | enable_pixbuf |
720 | enable_pixbuf |
|
|
721 | enable_startup_notification |
704 | enable_transparency |
722 | enable_transparency |
705 | enable_fading |
723 | enable_fading |
706 | enable_rxvt_scroll |
724 | enable_rxvt_scroll |
707 | enable_next_scroll |
725 | enable_next_scroll |
708 | enable_xterm_scroll |
726 | enable_xterm_scroll |
… | |
… | |
1201 | |
1219 | |
1202 | # FIXME: To remove some day. |
1220 | # FIXME: To remove some day. |
1203 | if test "x$host_alias" != x; then |
1221 | if test "x$host_alias" != x; then |
1204 | if test "x$build_alias" = x; then |
1222 | if test "x$build_alias" = x; then |
1205 | cross_compiling=maybe |
1223 | cross_compiling=maybe |
1206 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
|
|
1207 | If a cross compiler is detected then cross compile mode will be used" >&2 |
|
|
1208 | elif test "x$build_alias" != "x$host_alias"; then |
1224 | elif test "x$build_alias" != "x$host_alias"; then |
1209 | cross_compiling=yes |
1225 | cross_compiling=yes |
1210 | fi |
1226 | fi |
1211 | fi |
1227 | fi |
1212 | |
1228 | |
… | |
… | |
1372 | --enable-256-color enable 256-color support |
1388 | --enable-256-color enable 256-color support |
1373 | --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 |
1374 | --enable-combining enable composition of base and combining characters |
1390 | --enable-combining enable composition of base and combining characters |
1375 | --enable-xft enable xft support on systems that have it |
1391 | --enable-xft enable xft support on systems that have it |
1376 | --enable-font-styles enable bold and italic support |
1392 | --enable-font-styles enable bold and italic support |
1377 | --enable-afterimage enable integration with libAfterImage for background images |
|
|
1378 | --enable-pixbuf enable integration with gdk-pixbuf for background images |
1393 | --enable-pixbuf enable integration with gdk-pixbuf for background images |
|
|
1394 | --enable-startup-notification enable freedesktop startup notification support |
1379 | --enable-transparency enable transparent backgrounds |
1395 | --enable-transparency enable transparent backgrounds |
1380 | --enable-fading enable colors fading when off focus |
1396 | --enable-fading enable colors fading when off focus |
1381 | --enable-rxvt-scroll enable rxvt style scrollbar |
1397 | --enable-rxvt-scroll enable rxvt style scrollbar |
1382 | --enable-next-scroll enable NeXT style scrollbar |
1398 | --enable-next-scroll enable NeXT style scrollbar |
1383 | --enable-xterm-scroll enable Xterm style scrollbar |
1399 | --enable-xterm-scroll enable Xterm style scrollbar |
… | |
… | |
1403 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1419 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1404 | |
1420 | |
1405 | Optional Packages: |
1421 | Optional Packages: |
1406 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1422 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1407 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1423 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1408 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
|
|
1409 | --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) |
1410 | --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) |
1411 | --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) |
1412 | --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) |
1413 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1428 | --with-term=NAME set the terminal to NAME (default: rxvt) |
… | |
… | |
1493 | |
1508 | |
1494 | test -n "$ac_init_help" && exit $ac_status |
1509 | test -n "$ac_init_help" && exit $ac_status |
1495 | if $ac_init_version; then |
1510 | if $ac_init_version; then |
1496 | cat <<\_ACEOF |
1511 | cat <<\_ACEOF |
1497 | configure |
1512 | configure |
1498 | generated by GNU Autoconf 2.68 |
1513 | generated by GNU Autoconf 2.69 |
1499 | |
1514 | |
1500 | Copyright (C) 2010 Free Software Foundation, Inc. |
1515 | Copyright (C) 2012 Free Software Foundation, Inc. |
1501 | This configure script is free software; the Free Software Foundation |
1516 | This configure script is free software; the Free Software Foundation |
1502 | gives unlimited permission to copy, distribute and modify it. |
1517 | gives unlimited permission to copy, distribute and modify it. |
1503 | _ACEOF |
1518 | _ACEOF |
1504 | exit |
1519 | exit |
1505 | fi |
1520 | fi |
… | |
… | |
1806 | test $ac_status = 0; } && { |
1821 | test $ac_status = 0; } && { |
1807 | test -z "$ac_c_werror_flag" || |
1822 | test -z "$ac_c_werror_flag" || |
1808 | test ! -s conftest.err |
1823 | test ! -s conftest.err |
1809 | } && test -s conftest$ac_exeext && { |
1824 | } && test -s conftest$ac_exeext && { |
1810 | test "$cross_compiling" = yes || |
1825 | test "$cross_compiling" = yes || |
1811 | $as_test_x conftest$ac_exeext |
1826 | test -x conftest$ac_exeext |
1812 | }; then : |
1827 | }; then : |
1813 | ac_retval=0 |
1828 | ac_retval=0 |
1814 | else |
1829 | else |
1815 | $as_echo "$as_me: failed program was:" >&5 |
1830 | $as_echo "$as_me: failed program was:" >&5 |
1816 | sed 's/^/| /' conftest.$ac_ext >&5 |
1831 | sed 's/^/| /' conftest.$ac_ext >&5 |
… | |
… | |
1852 | test $ac_status = 0; } && { |
1867 | test $ac_status = 0; } && { |
1853 | test -z "$ac_cxx_werror_flag" || |
1868 | test -z "$ac_cxx_werror_flag" || |
1854 | test ! -s conftest.err |
1869 | test ! -s conftest.err |
1855 | } && test -s conftest$ac_exeext && { |
1870 | } && test -s conftest$ac_exeext && { |
1856 | test "$cross_compiling" = yes || |
1871 | test "$cross_compiling" = yes || |
1857 | $as_test_x conftest$ac_exeext |
1872 | test -x conftest$ac_exeext |
1858 | }; then : |
1873 | }; then : |
1859 | ac_retval=0 |
1874 | ac_retval=0 |
1860 | else |
1875 | else |
1861 | $as_echo "$as_me: failed program was:" >&5 |
1876 | $as_echo "$as_me: failed program was:" >&5 |
1862 | sed 's/^/| /' conftest.$ac_ext >&5 |
1877 | sed 's/^/| /' conftest.$ac_ext >&5 |
… | |
… | |
2141 | enum { N = $2 / 2 - 1 }; |
2156 | enum { N = $2 / 2 - 1 }; |
2142 | int |
2157 | int |
2143 | main () |
2158 | main () |
2144 | { |
2159 | { |
2145 | 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))]; |
2146 | test_array [0] = 0 |
2161 | test_array [0] = 0; |
|
|
2162 | return test_array [0]; |
2147 | |
2163 | |
2148 | ; |
2164 | ; |
2149 | return 0; |
2165 | return 0; |
2150 | } |
2166 | } |
2151 | _ACEOF |
2167 | _ACEOF |
… | |
… | |
2157 | int |
2173 | int |
2158 | main () |
2174 | main () |
2159 | { |
2175 | { |
2160 | 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) |
2161 | < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; |
2177 | < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; |
2162 | test_array [0] = 0 |
2178 | test_array [0] = 0; |
|
|
2179 | return test_array [0]; |
2163 | |
2180 | |
2164 | ; |
2181 | ; |
2165 | return 0; |
2182 | return 0; |
2166 | } |
2183 | } |
2167 | _ACEOF |
2184 | _ACEOF |
… | |
… | |
2214 | $ac_includes_default |
2231 | $ac_includes_default |
2215 | int |
2232 | int |
2216 | main () |
2233 | main () |
2217 | { |
2234 | { |
2218 | 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)]; |
2219 | test_array [0] = 0 |
2236 | test_array [0] = 0; |
|
|
2237 | return test_array [0]; |
2220 | |
2238 | |
2221 | ; |
2239 | ; |
2222 | return 0; |
2240 | return 0; |
2223 | } |
2241 | } |
2224 | _ACEOF |
2242 | _ACEOF |
… | |
… | |
2289 | cat >config.log <<_ACEOF |
2307 | cat >config.log <<_ACEOF |
2290 | This file contains any messages produced by compilers while |
2308 | This file contains any messages produced by compilers while |
2291 | running configure, to aid debugging if configure makes a mistake. |
2309 | running configure, to aid debugging if configure makes a mistake. |
2292 | |
2310 | |
2293 | It was created by $as_me, which was |
2311 | It was created by $as_me, which was |
2294 | generated by GNU Autoconf 2.68. Invocation command line was |
2312 | generated by GNU Autoconf 2.69. Invocation command line was |
2295 | |
2313 | |
2296 | $ $0 $@ |
2314 | $ $0 $@ |
2297 | |
2315 | |
2298 | _ACEOF |
2316 | _ACEOF |
2299 | exec 5>>config.log |
2317 | exec 5>>config.log |
… | |
… | |
2742 | IFS=$ac_save_IFS |
2760 | IFS=$ac_save_IFS |
2743 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2761 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2744 | |
2762 | |
2745 | |
2763 | |
2746 | |
2764 | |
2747 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2765 | VERSION=`sed -n -e 's/^.* VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2748 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2766 | DATE=`sed -n -e 's/^.* DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2749 | |
2767 | |
2750 | echo "" |
2768 | echo "" |
2751 | echo "configuring for rxvt $VERSION" |
2769 | echo "configuring for rxvt $VERSION" |
2752 | echo "" |
2770 | echo "" |
2753 | |
2771 | |
… | |
… | |
2773 | for as_dir in $PATH |
2791 | for as_dir in $PATH |
2774 | do |
2792 | do |
2775 | IFS=$as_save_IFS |
2793 | IFS=$as_save_IFS |
2776 | test -z "$as_dir" && as_dir=. |
2794 | test -z "$as_dir" && as_dir=. |
2777 | for ac_exec_ext in '' $ac_executable_extensions; do |
2795 | for ac_exec_ext in '' $ac_executable_extensions; do |
2778 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2796 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2779 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2797 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2780 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2798 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2781 | break 2 |
2799 | break 2 |
2782 | fi |
2800 | fi |
2783 | done |
2801 | done |
… | |
… | |
2813 | for as_dir in $PATH |
2831 | for as_dir in $PATH |
2814 | do |
2832 | do |
2815 | IFS=$as_save_IFS |
2833 | IFS=$as_save_IFS |
2816 | test -z "$as_dir" && as_dir=. |
2834 | test -z "$as_dir" && as_dir=. |
2817 | for ac_exec_ext in '' $ac_executable_extensions; do |
2835 | for ac_exec_ext in '' $ac_executable_extensions; do |
2818 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2836 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2819 | ac_cv_prog_ac_ct_CC="gcc" |
2837 | ac_cv_prog_ac_ct_CC="gcc" |
2820 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2838 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2821 | break 2 |
2839 | break 2 |
2822 | fi |
2840 | fi |
2823 | done |
2841 | done |
… | |
… | |
2866 | for as_dir in $PATH |
2884 | for as_dir in $PATH |
2867 | do |
2885 | do |
2868 | IFS=$as_save_IFS |
2886 | IFS=$as_save_IFS |
2869 | test -z "$as_dir" && as_dir=. |
2887 | test -z "$as_dir" && as_dir=. |
2870 | for ac_exec_ext in '' $ac_executable_extensions; do |
2888 | for ac_exec_ext in '' $ac_executable_extensions; do |
2871 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2889 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2872 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2890 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2873 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2891 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2874 | break 2 |
2892 | break 2 |
2875 | fi |
2893 | fi |
2876 | done |
2894 | done |
… | |
… | |
2907 | for as_dir in $PATH |
2925 | for as_dir in $PATH |
2908 | do |
2926 | do |
2909 | IFS=$as_save_IFS |
2927 | IFS=$as_save_IFS |
2910 | test -z "$as_dir" && as_dir=. |
2928 | test -z "$as_dir" && as_dir=. |
2911 | for ac_exec_ext in '' $ac_executable_extensions; do |
2929 | for ac_exec_ext in '' $ac_executable_extensions; do |
2912 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2930 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2913 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2931 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2914 | ac_prog_rejected=yes |
2932 | ac_prog_rejected=yes |
2915 | continue |
2933 | continue |
2916 | fi |
2934 | fi |
2917 | ac_cv_prog_CC="cc" |
2935 | ac_cv_prog_CC="cc" |
… | |
… | |
2965 | for as_dir in $PATH |
2983 | for as_dir in $PATH |
2966 | do |
2984 | do |
2967 | IFS=$as_save_IFS |
2985 | IFS=$as_save_IFS |
2968 | test -z "$as_dir" && as_dir=. |
2986 | test -z "$as_dir" && as_dir=. |
2969 | for ac_exec_ext in '' $ac_executable_extensions; do |
2987 | for ac_exec_ext in '' $ac_executable_extensions; do |
2970 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2988 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2971 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2989 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2972 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2990 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2973 | break 2 |
2991 | break 2 |
2974 | fi |
2992 | fi |
2975 | done |
2993 | done |
… | |
… | |
3009 | for as_dir in $PATH |
3027 | for as_dir in $PATH |
3010 | do |
3028 | do |
3011 | IFS=$as_save_IFS |
3029 | IFS=$as_save_IFS |
3012 | test -z "$as_dir" && as_dir=. |
3030 | test -z "$as_dir" && as_dir=. |
3013 | for ac_exec_ext in '' $ac_executable_extensions; do |
3031 | for ac_exec_ext in '' $ac_executable_extensions; do |
3014 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3032 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3015 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3033 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3016 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3034 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3017 | break 2 |
3035 | break 2 |
3018 | fi |
3036 | fi |
3019 | done |
3037 | done |
… | |
… | |
3455 | ac_save_CC=$CC |
3473 | ac_save_CC=$CC |
3456 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3474 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3457 | /* end confdefs.h. */ |
3475 | /* end confdefs.h. */ |
3458 | #include <stdarg.h> |
3476 | #include <stdarg.h> |
3459 | #include <stdio.h> |
3477 | #include <stdio.h> |
3460 | #include <sys/types.h> |
3478 | struct stat; |
3461 | #include <sys/stat.h> |
|
|
3462 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3479 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3463 | struct buf { int x; }; |
3480 | struct buf { int x; }; |
3464 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3481 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3465 | static char *e (p, i) |
3482 | static char *e (p, i) |
3466 | char **p; |
3483 | char **p; |
… | |
… | |
3569 | for as_dir in $PATH |
3586 | for as_dir in $PATH |
3570 | do |
3587 | do |
3571 | IFS=$as_save_IFS |
3588 | IFS=$as_save_IFS |
3572 | test -z "$as_dir" && as_dir=. |
3589 | test -z "$as_dir" && as_dir=. |
3573 | for ac_exec_ext in '' $ac_executable_extensions; do |
3590 | for ac_exec_ext in '' $ac_executable_extensions; do |
3574 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3591 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3575 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
3592 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
3576 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3593 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3577 | break 2 |
3594 | break 2 |
3578 | fi |
3595 | fi |
3579 | done |
3596 | done |
… | |
… | |
3613 | for as_dir in $PATH |
3630 | for as_dir in $PATH |
3614 | do |
3631 | do |
3615 | IFS=$as_save_IFS |
3632 | IFS=$as_save_IFS |
3616 | test -z "$as_dir" && as_dir=. |
3633 | test -z "$as_dir" && as_dir=. |
3617 | for ac_exec_ext in '' $ac_executable_extensions; do |
3634 | for ac_exec_ext in '' $ac_executable_extensions; do |
3618 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3635 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3619 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
3636 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
3620 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3637 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3621 | break 2 |
3638 | break 2 |
3622 | fi |
3639 | fi |
3623 | done |
3640 | done |
… | |
… | |
3798 | ac_cpp='$CPP $CPPFLAGS' |
3815 | ac_cpp='$CPP $CPPFLAGS' |
3799 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3816 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3800 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3817 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3801 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3818 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3802 | |
3819 | |
3803 | ac_ext=c |
|
|
3804 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3805 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3806 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3807 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3808 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
|
3809 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
|
3810 | # On Suns, sometimes $CPP names a directory. |
|
|
3811 | if test -n "$CPP" && test -d "$CPP"; then |
|
|
3812 | CPP= |
|
|
3813 | fi |
|
|
3814 | if test -z "$CPP"; then |
|
|
3815 | if ${ac_cv_prog_CPP+:} false; then : |
|
|
3816 | $as_echo_n "(cached) " >&6 |
|
|
3817 | else |
|
|
3818 | # Double quotes because CPP needs to be expanded |
|
|
3819 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
3820 | do |
|
|
3821 | ac_preproc_ok=false |
|
|
3822 | for ac_c_preproc_warn_flag in '' yes |
|
|
3823 | do |
|
|
3824 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3825 | # with a fresh cross-compiler works. |
|
|
3826 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3827 | # <limits.h> exists even on freestanding compilers. |
|
|
3828 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3829 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3830 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3831 | /* end confdefs.h. */ |
|
|
3832 | #ifdef __STDC__ |
|
|
3833 | # include <limits.h> |
|
|
3834 | #else |
|
|
3835 | # include <assert.h> |
|
|
3836 | #endif |
|
|
3837 | Syntax error |
|
|
3838 | _ACEOF |
|
|
3839 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3840 | |
|
|
3841 | else |
|
|
3842 | # Broken: fails on valid input. |
|
|
3843 | continue |
|
|
3844 | fi |
|
|
3845 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3846 | |
|
|
3847 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3848 | # can be detected and how. |
|
|
3849 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3850 | /* end confdefs.h. */ |
|
|
3851 | #include <ac_nonexistent.h> |
|
|
3852 | _ACEOF |
|
|
3853 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3854 | # Broken: success on invalid input. |
|
|
3855 | continue |
|
|
3856 | else |
|
|
3857 | # Passes both tests. |
|
|
3858 | ac_preproc_ok=: |
|
|
3859 | break |
|
|
3860 | fi |
|
|
3861 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3862 | |
|
|
3863 | done |
|
|
3864 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3865 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3866 | if $ac_preproc_ok; then : |
|
|
3867 | break |
|
|
3868 | fi |
|
|
3869 | |
|
|
3870 | done |
|
|
3871 | ac_cv_prog_CPP=$CPP |
|
|
3872 | |
|
|
3873 | fi |
|
|
3874 | CPP=$ac_cv_prog_CPP |
|
|
3875 | else |
|
|
3876 | ac_cv_prog_CPP=$CPP |
|
|
3877 | fi |
|
|
3878 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
|
3879 | $as_echo "$CPP" >&6; } |
|
|
3880 | ac_preproc_ok=false |
|
|
3881 | for ac_c_preproc_warn_flag in '' yes |
|
|
3882 | do |
|
|
3883 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3884 | # with a fresh cross-compiler works. |
|
|
3885 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3886 | # <limits.h> exists even on freestanding compilers. |
|
|
3887 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3888 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3889 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3890 | /* end confdefs.h. */ |
|
|
3891 | #ifdef __STDC__ |
|
|
3892 | # include <limits.h> |
|
|
3893 | #else |
|
|
3894 | # include <assert.h> |
|
|
3895 | #endif |
|
|
3896 | Syntax error |
|
|
3897 | _ACEOF |
|
|
3898 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3899 | |
|
|
3900 | else |
|
|
3901 | # Broken: fails on valid input. |
|
|
3902 | continue |
|
|
3903 | fi |
|
|
3904 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3905 | |
|
|
3906 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3907 | # can be detected and how. |
|
|
3908 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3909 | /* end confdefs.h. */ |
|
|
3910 | #include <ac_nonexistent.h> |
|
|
3911 | _ACEOF |
|
|
3912 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3913 | # Broken: success on invalid input. |
|
|
3914 | continue |
|
|
3915 | else |
|
|
3916 | # Passes both tests. |
|
|
3917 | ac_preproc_ok=: |
|
|
3918 | break |
|
|
3919 | fi |
|
|
3920 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3921 | |
|
|
3922 | done |
|
|
3923 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3924 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3925 | if $ac_preproc_ok; then : |
|
|
3926 | |
|
|
3927 | else |
|
|
3928 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
3929 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
3930 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
|
3931 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
3932 | fi |
|
|
3933 | |
|
|
3934 | ac_ext=c |
|
|
3935 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3936 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3937 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3938 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3939 | |
|
|
3940 | # Find a good install program. We prefer a C program (faster), |
3820 | # Find a good install program. We prefer a C program (faster), |
3941 | # so one script is as good as another. But avoid the broken or |
3821 | # so one script is as good as another. But avoid the broken or |
3942 | # incompatible versions: |
3822 | # incompatible versions: |
3943 | # SysV /etc/install, /usr/sbin/install |
3823 | # SysV /etc/install, /usr/sbin/install |
3944 | # SunOS /usr/etc/install |
3824 | # SunOS /usr/etc/install |
… | |
… | |
3972 | # OSF1 and SCO ODT 3.0 have their own names for install. |
3852 | # OSF1 and SCO ODT 3.0 have their own names for install. |
3973 | # Don't use installbsd from OSF since it installs stuff as root |
3853 | # Don't use installbsd from OSF since it installs stuff as root |
3974 | # by default. |
3854 | # by default. |
3975 | for ac_prog in ginstall scoinst install; do |
3855 | for ac_prog in ginstall scoinst install; do |
3976 | for ac_exec_ext in '' $ac_executable_extensions; do |
3856 | for ac_exec_ext in '' $ac_executable_extensions; do |
3977 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
3857 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
3978 | if test $ac_prog = install && |
3858 | if test $ac_prog = install && |
3979 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3859 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3980 | # AIX install. It has an incompatible calling convention. |
3860 | # AIX install. It has an incompatible calling convention. |
3981 | : |
3861 | : |
3982 | elif test $ac_prog = install && |
3862 | elif test $ac_prog = install && |
… | |
… | |
4030 | |
3910 | |
4031 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3911 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
4032 | |
3912 | |
4033 | |
3913 | |
4034 | |
3914 | |
|
|
3915 | ac_ext=c |
|
|
3916 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3917 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3918 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3919 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3920 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
|
3921 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
|
3922 | # On Suns, sometimes $CPP names a directory. |
|
|
3923 | if test -n "$CPP" && test -d "$CPP"; then |
|
|
3924 | CPP= |
|
|
3925 | fi |
|
|
3926 | if test -z "$CPP"; then |
|
|
3927 | if ${ac_cv_prog_CPP+:} false; then : |
|
|
3928 | $as_echo_n "(cached) " >&6 |
|
|
3929 | else |
|
|
3930 | # Double quotes because CPP needs to be expanded |
|
|
3931 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
3932 | do |
|
|
3933 | ac_preproc_ok=false |
|
|
3934 | for ac_c_preproc_warn_flag in '' yes |
|
|
3935 | do |
|
|
3936 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3937 | # with a fresh cross-compiler works. |
|
|
3938 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3939 | # <limits.h> exists even on freestanding compilers. |
|
|
3940 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3941 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3942 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3943 | /* end confdefs.h. */ |
|
|
3944 | #ifdef __STDC__ |
|
|
3945 | # include <limits.h> |
|
|
3946 | #else |
|
|
3947 | # include <assert.h> |
|
|
3948 | #endif |
|
|
3949 | Syntax error |
|
|
3950 | _ACEOF |
|
|
3951 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3952 | |
|
|
3953 | else |
|
|
3954 | # Broken: fails on valid input. |
|
|
3955 | continue |
|
|
3956 | fi |
|
|
3957 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3958 | |
|
|
3959 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3960 | # can be detected and how. |
|
|
3961 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3962 | /* end confdefs.h. */ |
|
|
3963 | #include <ac_nonexistent.h> |
|
|
3964 | _ACEOF |
|
|
3965 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3966 | # Broken: success on invalid input. |
|
|
3967 | continue |
|
|
3968 | else |
|
|
3969 | # Passes both tests. |
|
|
3970 | ac_preproc_ok=: |
|
|
3971 | break |
|
|
3972 | fi |
|
|
3973 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3974 | |
|
|
3975 | done |
|
|
3976 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3977 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3978 | if $ac_preproc_ok; then : |
|
|
3979 | break |
|
|
3980 | fi |
|
|
3981 | |
|
|
3982 | done |
|
|
3983 | ac_cv_prog_CPP=$CPP |
|
|
3984 | |
|
|
3985 | fi |
|
|
3986 | CPP=$ac_cv_prog_CPP |
|
|
3987 | else |
|
|
3988 | ac_cv_prog_CPP=$CPP |
|
|
3989 | fi |
|
|
3990 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
|
3991 | $as_echo "$CPP" >&6; } |
|
|
3992 | ac_preproc_ok=false |
|
|
3993 | for ac_c_preproc_warn_flag in '' yes |
|
|
3994 | do |
|
|
3995 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3996 | # with a fresh cross-compiler works. |
|
|
3997 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3998 | # <limits.h> exists even on freestanding compilers. |
|
|
3999 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4000 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4001 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4002 | /* end confdefs.h. */ |
|
|
4003 | #ifdef __STDC__ |
|
|
4004 | # include <limits.h> |
|
|
4005 | #else |
|
|
4006 | # include <assert.h> |
|
|
4007 | #endif |
|
|
4008 | Syntax error |
|
|
4009 | _ACEOF |
|
|
4010 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
4011 | |
|
|
4012 | else |
|
|
4013 | # Broken: fails on valid input. |
|
|
4014 | continue |
|
|
4015 | fi |
|
|
4016 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
4017 | |
|
|
4018 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
4019 | # can be detected and how. |
|
|
4020 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4021 | /* end confdefs.h. */ |
|
|
4022 | #include <ac_nonexistent.h> |
|
|
4023 | _ACEOF |
|
|
4024 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
4025 | # Broken: success on invalid input. |
|
|
4026 | continue |
|
|
4027 | else |
|
|
4028 | # Passes both tests. |
|
|
4029 | ac_preproc_ok=: |
|
|
4030 | break |
|
|
4031 | fi |
|
|
4032 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
4033 | |
|
|
4034 | done |
|
|
4035 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4036 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
4037 | if $ac_preproc_ok; then : |
|
|
4038 | |
|
|
4039 | else |
|
|
4040 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
4041 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
4042 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
|
4043 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
4044 | fi |
|
|
4045 | |
|
|
4046 | ac_ext=c |
|
|
4047 | ac_cpp='$CPP $CPPFLAGS' |
|
|
4048 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4049 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4050 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
4051 | |
4035 | |
4052 | |
4036 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4053 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4037 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4054 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4038 | if ${ac_cv_path_GREP+:} false; then : |
4055 | if ${ac_cv_path_GREP+:} false; then : |
4039 | $as_echo_n "(cached) " >&6 |
4056 | $as_echo_n "(cached) " >&6 |
… | |
… | |
4047 | IFS=$as_save_IFS |
4064 | IFS=$as_save_IFS |
4048 | test -z "$as_dir" && as_dir=. |
4065 | test -z "$as_dir" && as_dir=. |
4049 | for ac_prog in grep ggrep; do |
4066 | for ac_prog in grep ggrep; do |
4050 | for ac_exec_ext in '' $ac_executable_extensions; do |
4067 | for ac_exec_ext in '' $ac_executable_extensions; do |
4051 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4068 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4052 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4069 | as_fn_executable_p "$ac_path_GREP" || continue |
4053 | # Check for GNU ac_path_GREP and select it if it is found. |
4070 | # Check for GNU ac_path_GREP and select it if it is found. |
4054 | # Check for GNU $ac_path_GREP |
4071 | # Check for GNU $ac_path_GREP |
4055 | case `"$ac_path_GREP" --version 2>&1` in |
4072 | case `"$ac_path_GREP" --version 2>&1` in |
4056 | *GNU*) |
4073 | *GNU*) |
4057 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
4074 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
… | |
… | |
4113 | IFS=$as_save_IFS |
4130 | IFS=$as_save_IFS |
4114 | test -z "$as_dir" && as_dir=. |
4131 | test -z "$as_dir" && as_dir=. |
4115 | for ac_prog in egrep; do |
4132 | for ac_prog in egrep; do |
4116 | for ac_exec_ext in '' $ac_executable_extensions; do |
4133 | for ac_exec_ext in '' $ac_executable_extensions; do |
4117 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4134 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4118 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
4135 | as_fn_executable_p "$ac_path_EGREP" || continue |
4119 | # Check for GNU ac_path_EGREP and select it if it is found. |
4136 | # Check for GNU ac_path_EGREP and select it if it is found. |
4120 | # Check for GNU $ac_path_EGREP |
4137 | # Check for GNU $ac_path_EGREP |
4121 | case `"$ac_path_EGREP" --version 2>&1` in |
4138 | case `"$ac_path_EGREP" --version 2>&1` in |
4122 | *GNU*) |
4139 | *GNU*) |
4123 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
4140 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
… | |
… | |
4320 | $as_echo_n "(cached) " >&6 |
4337 | $as_echo_n "(cached) " >&6 |
4321 | else |
4338 | else |
4322 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4339 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4323 | /* end confdefs.h. */ |
4340 | /* end confdefs.h. */ |
4324 | |
4341 | |
4325 | # define __EXTENSIONS__ 1 |
4342 | # define __EXTENSIONS__ 1 |
4326 | $ac_includes_default |
4343 | $ac_includes_default |
4327 | int |
4344 | int |
4328 | main () |
4345 | main () |
4329 | { |
4346 | { |
4330 | |
4347 | |
4331 | ; |
4348 | ; |
… | |
… | |
4416 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4433 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4417 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4434 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4418 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4435 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4419 | |
4436 | |
4420 | |
4437 | |
|
|
4438 | LINKER="$CXX" |
4421 | if test x$GCC = xyes && test x$GXX = xyes; then |
4439 | if test x$GCC = xyes && test x$GXX = xyes; then |
4422 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working libsupc++" >&5 |
4440 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working libsupc++" >&5 |
4423 | $as_echo_n "checking for working libsupc++... " >&6; } |
4441 | $as_echo_n "checking for working libsupc++... " >&6; } |
4424 | save_CXX="$CXX" |
4442 | save_CXX="$CXX" |
4425 | save_LIBS="$LIBS" |
4443 | save_LIBS="$LIBS" |
4426 | CXX="$CC" |
4444 | CXX="$CC" |
4427 | LIBS="$LIBS -lsupc++" |
4445 | LIBS="$LIBS -lsupc++" |
4428 | LINKER="$CC" |
|
|
4429 | |
4446 | |
4430 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4447 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4431 | /* end confdefs.h. */ |
4448 | /* end confdefs.h. */ |
4432 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
4449 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
4433 | int |
4450 | int |
… | |
… | |
4439 | } |
4456 | } |
4440 | _ACEOF |
4457 | _ACEOF |
4441 | if ac_fn_cxx_try_link "$LINENO"; then : |
4458 | if ac_fn_cxx_try_link "$LINENO"; then : |
4442 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
4459 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
4443 | $as_echo "ok" >&6; } |
4460 | $as_echo "ok" >&6; } |
|
|
4461 | LINKER="$CC" |
4444 | else |
4462 | else |
4445 | |
4463 | |
4446 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, making everything bigger and slower" >&5 |
4464 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, making everything bigger and slower" >&5 |
4447 | $as_echo "no, making everything bigger and slower" >&6; } |
4465 | $as_echo "no, making everything bigger and slower" >&6; } |
4448 | LIBS="$save_LIBS" |
4466 | LIBS="$save_LIBS" |
4449 | LINKER="$save_CXX" |
|
|
4450 | |
4467 | |
4451 | |
4468 | |
4452 | fi |
4469 | fi |
4453 | rm -f core conftest.err conftest.$ac_objext \ |
4470 | rm -f core conftest.err conftest.$ac_objext \ |
4454 | conftest$ac_exeext conftest.$ac_ext |
4471 | conftest$ac_exeext conftest.$ac_ext |
… | |
… | |
4480 | else |
4497 | else |
4481 | CXXFLAGS="-O" |
4498 | CXXFLAGS="-O" |
4482 | fi |
4499 | fi |
4483 | CFLAGS="$CXXFLAGS" |
4500 | CFLAGS="$CXXFLAGS" |
4484 | fi |
4501 | fi |
4485 | |
|
|
4486 | case $host in |
|
|
4487 | *-*-solaris* ) |
|
|
4488 | |
|
|
4489 | $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h |
|
|
4490 | |
|
|
4491 | ;; |
|
|
4492 | esac |
|
|
4493 | |
4502 | |
4494 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setlocale" >&5 |
4503 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setlocale" >&5 |
4495 | $as_echo_n "checking for library containing setlocale... " >&6; } |
4504 | $as_echo_n "checking for library containing setlocale... " >&6; } |
4496 | if ${ac_cv_search_setlocale+:} false; then : |
4505 | if ${ac_cv_search_setlocale+:} false; then : |
4497 | $as_echo_n "(cached) " >&6 |
4506 | $as_echo_n "(cached) " >&6 |
… | |
… | |
4673 | support_scroll_rxvt=yes |
4682 | support_scroll_rxvt=yes |
4674 | support_scroll_next=yes |
4683 | support_scroll_next=yes |
4675 | support_scroll_xterm=yes |
4684 | support_scroll_xterm=yes |
4676 | support_xim=yes |
4685 | support_xim=yes |
4677 | support_pixbuf=yes |
4686 | support_pixbuf=yes |
4678 | support_afterimage=yes |
4687 | support_startup_notification=yes |
4679 | support_xft=yes |
4688 | support_xft=yes |
4680 | support_unicode3=no |
4689 | support_unicode3=no |
4681 | support_combining=yes |
4690 | support_combining=yes |
4682 | support_8bitctrls=no |
4691 | support_8bitctrls=no |
4683 | support_iso14755=yes |
4692 | support_iso14755=yes |
… | |
… | |
4705 | support_scroll_xterm=no |
4714 | support_scroll_xterm=no |
4706 | support_utmp=no |
4715 | support_utmp=no |
4707 | support_wtmp=no |
4716 | support_wtmp=no |
4708 | support_xim=no |
4717 | support_xim=no |
4709 | support_pixbuf=no |
4718 | support_pixbuf=no |
4710 | support_afterimage=no |
4719 | support_startup_notification=no |
4711 | support_xft=no |
4720 | support_xft=no |
4712 | support_unicode3=no |
4721 | support_unicode3=no |
4713 | support_combining=no |
4722 | support_combining=no |
4714 | support_8bitctrls=no |
4723 | support_8bitctrls=no |
4715 | support_iso14755=no |
4724 | support_iso14755=no |
… | |
… | |
4733 | support_scroll_xterm=yes |
4742 | support_scroll_xterm=yes |
4734 | support_utmp=yes |
4743 | support_utmp=yes |
4735 | support_wtmp=yes |
4744 | support_wtmp=yes |
4736 | support_xim=yes |
4745 | support_xim=yes |
4737 | support_pixbuf=yes |
4746 | support_pixbuf=yes |
4738 | support_afterimage=yes |
4747 | support_startup_notification=yes |
4739 | support_xft=yes |
4748 | support_xft=yes |
4740 | support_unicode3=yes |
4749 | support_unicode3=yes |
4741 | support_combining=yes |
4750 | support_combining=yes |
4742 | #support_8bitctrls=yes |
4751 | #support_8bitctrls=yes |
4743 | support_iso14755=yes |
4752 | support_iso14755=yes |
… | |
… | |
4747 | fi |
4756 | fi |
4748 | |
4757 | |
4749 | fi |
4758 | fi |
4750 | |
4759 | |
4751 | |
4760 | |
4752 | ASSERTIONS=no |
4761 | support_assertions=no |
4753 | # Check whether --enable-assert was given. |
4762 | # Check whether --enable-assert was given. |
4754 | if test "${enable_assert+set}" = set; then : |
4763 | if test "${enable_assert+set}" = set; then : |
4755 | enableval=$enable_assert; if test x$enableval = xyes; then |
4764 | enableval=$enable_assert; if test x$enableval = xyes; then |
4756 | ASSERTIONS=yes |
4765 | support_assertions=yes |
4757 | fi |
4766 | fi |
4758 | fi |
4767 | fi |
4759 | |
4768 | |
4760 | if test x$ASSERTIONS = xno; then |
4769 | if test x$support_assertions = xno; then |
4761 | |
4770 | |
4762 | $as_echo "#define NDEBUG 1" >>confdefs.h |
4771 | $as_echo "#define NDEBUG 1" >>confdefs.h |
4763 | |
4772 | |
4764 | fi |
4773 | fi |
4765 | |
4774 | |
4766 | WARNINGS=no |
4775 | support_warnings=no |
4767 | # Check whether --enable-warnings was given. |
4776 | # Check whether --enable-warnings was given. |
4768 | if test "${enable_warnings+set}" = set; then : |
4777 | if test "${enable_warnings+set}" = set; then : |
4769 | enableval=$enable_warnings; if test x$enableval = xyes; then |
4778 | enableval=$enable_warnings; if test x$enableval = xyes; then |
4770 | WARNINGS=yes |
4779 | support_warnings=yes |
4771 | fi |
4780 | fi |
4772 | fi |
4781 | fi |
4773 | |
4782 | |
4774 | if test x$GXX = xyes; then |
4783 | if test x$GXX = xyes; then |
4775 | if test $WARNINGS = yes; then |
4784 | if test $support_warnings = yes; then |
4776 | save_CXXFLAGS="$CXXFLAGS" |
4785 | save_CXXFLAGS="$CXXFLAGS" |
4777 | CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-non-virtual-dtor" |
4786 | CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-unused-value" |
4778 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4787 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4779 | /* end confdefs.h. */ |
4788 | /* end confdefs.h. */ |
4780 | |
4789 | |
4781 | int |
4790 | int |
4782 | main () |
4791 | main () |
… | |
… | |
4841 | support_styles=$enableval |
4850 | support_styles=$enableval |
4842 | fi |
4851 | fi |
4843 | fi |
4852 | fi |
4844 | |
4853 | |
4845 | |
4854 | |
4846 | # Check whether --enable-afterimage was given. |
|
|
4847 | if test "${enable_afterimage+set}" = set; then : |
|
|
4848 | enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4849 | support_afterimage=$enableval |
|
|
4850 | fi |
|
|
4851 | fi |
|
|
4852 | |
|
|
4853 | |
|
|
4854 | |
|
|
4855 | # Check whether --with-afterimage_config was given. |
|
|
4856 | if test "${with_afterimage_config+set}" = set; then : |
|
|
4857 | withval=$with_afterimage_config; if test "x$withval" != x; then |
|
|
4858 | afterimage_config=$withval/afterimage-config |
|
|
4859 | fi |
|
|
4860 | fi |
|
|
4861 | |
|
|
4862 | |
|
|
4863 | # Check whether --enable-pixbuf was given. |
4855 | # Check whether --enable-pixbuf was given. |
4864 | if test "${enable_pixbuf+set}" = set; then : |
4856 | if test "${enable_pixbuf+set}" = set; then : |
4865 | enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then |
4857 | enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then |
4866 | support_pixbuf=$enableval |
4858 | support_pixbuf=$enableval |
|
|
4859 | fi |
|
|
4860 | fi |
|
|
4861 | |
|
|
4862 | |
|
|
4863 | # Check whether --enable-startup-notification was given. |
|
|
4864 | if test "${enable_startup_notification+set}" = set; then : |
|
|
4865 | enableval=$enable_startup_notification; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4866 | support_startup_notification=$enableval |
4867 | fi |
4867 | fi |
4868 | fi |
4868 | fi |
4869 | |
4869 | |
4870 | |
4870 | |
4871 | # Check whether --enable-transparency was given. |
4871 | # Check whether --enable-transparency was given. |
… | |
… | |
5562 | for as_dir in $PATH |
5562 | for as_dir in $PATH |
5563 | do |
5563 | do |
5564 | IFS=$as_save_IFS |
5564 | IFS=$as_save_IFS |
5565 | test -z "$as_dir" && as_dir=. |
5565 | test -z "$as_dir" && as_dir=. |
5566 | for ac_exec_ext in '' $ac_executable_extensions; do |
5566 | for ac_exec_ext in '' $ac_executable_extensions; do |
5567 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5567 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5568 | ac_cv_path_TIC="$as_dir/$ac_word$ac_exec_ext" |
5568 | ac_cv_path_TIC="$as_dir/$ac_word$ac_exec_ext" |
5569 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5569 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5570 | break 2 |
5570 | break 2 |
5571 | fi |
5571 | fi |
5572 | done |
5572 | done |
… | |
… | |
6295 | for as_dir in $PATH |
6295 | for as_dir in $PATH |
6296 | do |
6296 | do |
6297 | IFS=$as_save_IFS |
6297 | IFS=$as_save_IFS |
6298 | test -z "$as_dir" && as_dir=. |
6298 | test -z "$as_dir" && as_dir=. |
6299 | for ac_exec_ext in '' $ac_executable_extensions; do |
6299 | for ac_exec_ext in '' $ac_executable_extensions; do |
6300 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6300 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6301 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
6301 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
6302 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6302 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6303 | break 2 |
6303 | break 2 |
6304 | fi |
6304 | fi |
6305 | done |
6305 | done |
… | |
… | |
6330 | |
6330 | |
6331 | if test x$support_pixbuf = xyes; then |
6331 | if test x$support_pixbuf = xyes; then |
6332 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6332 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6333 | $as_echo "ok" >&6; } |
6333 | $as_echo "ok" >&6; } |
6334 | image_lib=gdk-pixbuf |
6334 | image_lib=gdk-pixbuf |
6335 | support_afterimage=no |
|
|
6336 | |
6335 | |
6337 | $as_echo "#define HAVE_PIXBUF 1" >>confdefs.h |
6336 | $as_echo "#define HAVE_PIXBUF 1" >>confdefs.h |
6338 | |
|
|
6339 | |
|
|
6340 | $as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h |
|
|
6341 | |
6337 | |
6342 | else |
6338 | else |
6343 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6339 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6344 | $as_echo "no" >&6; } |
6340 | $as_echo "no" >&6; } |
6345 | fi |
6341 | fi |
6346 | fi |
6342 | fi |
6347 | |
6343 | |
6348 | |
6344 | |
6349 | |
6345 | |
6350 | |
6346 | |
6351 | AFTERIMAGE_CFLAGS= |
6347 | STARTUP_NOTIFICATION_CFLAGS= |
6352 | AFTERIMAGE_LIBS= |
6348 | STARTUP_NOTIFICATION_LIBS= |
6353 | AFTERIMAGE_VERSION= |
|
|
6354 | |
6349 | |
6355 | if test x$support_afterimage = xyes; then |
6350 | if test x$support_startup_notification = xyes; then |
6356 | support_afterimage=no |
6351 | support_startup_notification=no |
6357 | |
|
|
6358 | if test "x$afterimage_config" = "x" ; then |
|
|
6359 | # Extract the first word of "afterimage-config", so it can be a program name with args. |
6352 | # Extract the first word of "pkg-config", so it can be a program name with args. |
6360 | set dummy afterimage-config; ac_word=$2 |
6353 | set dummy pkg-config; ac_word=$2 |
6361 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6354 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6362 | $as_echo_n "checking for $ac_word... " >&6; } |
6355 | $as_echo_n "checking for $ac_word... " >&6; } |
6363 | if ${ac_cv_path_afterimage_config+:} false; then : |
6356 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6364 | $as_echo_n "(cached) " >&6 |
6357 | $as_echo_n "(cached) " >&6 |
6365 | else |
6358 | else |
6366 | case $afterimage_config in |
6359 | case $PKG_CONFIG in |
6367 | [\\/]* | ?:[\\/]*) |
6360 | [\\/]* | ?:[\\/]*) |
6368 | ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path. |
6361 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
6369 | ;; |
6362 | ;; |
6370 | *) |
6363 | *) |
6371 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6364 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6372 | for as_dir in $PATH |
6365 | for as_dir in $PATH |
6373 | do |
6366 | do |
6374 | IFS=$as_save_IFS |
6367 | IFS=$as_save_IFS |
6375 | test -z "$as_dir" && as_dir=. |
6368 | test -z "$as_dir" && as_dir=. |
6376 | for ac_exec_ext in '' $ac_executable_extensions; do |
6369 | for ac_exec_ext in '' $ac_executable_extensions; do |
6377 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6370 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6378 | ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext" |
6371 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
6379 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6372 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6380 | break 2 |
6373 | break 2 |
6381 | fi |
6374 | fi |
6382 | done |
6375 | done |
6383 | done |
6376 | done |
6384 | IFS=$as_save_IFS |
6377 | IFS=$as_save_IFS |
6385 | |
6378 | |
6386 | test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no" |
6379 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
6387 | ;; |
6380 | ;; |
6388 | esac |
6381 | esac |
6389 | fi |
6382 | fi |
6390 | afterimage_config=$ac_cv_path_afterimage_config |
6383 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
6391 | if test -n "$afterimage_config"; then |
6384 | if test -n "$PKG_CONFIG"; then |
6392 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $afterimage_config" >&5 |
6385 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
6393 | $as_echo "$afterimage_config" >&6; } |
6386 | $as_echo "$PKG_CONFIG" >&6; } |
6394 | else |
6387 | else |
6395 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6388 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6396 | $as_echo "no" >&6; } |
6389 | $as_echo "no" >&6; } |
6397 | fi |
6390 | fi |
6398 | |
6391 | |
6399 | |
6392 | |
6400 | fi |
|
|
6401 | if test "x$afterimage_config" != "xno" ; then |
|
|
6402 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libAfterImage version >= 1.15" >&5 |
6393 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification" >&5 |
6403 | $as_echo_n "checking for libAfterImage version >= 1.15... " >&6; } |
6394 | $as_echo_n "checking for libstartup-notification... " >&6; } |
6404 | xAFTERIMAGE_VERSION=`$afterimage_config --version` |
6395 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then |
6405 | if test -n "$xAFTERIMAGE_VERSION" ; then |
6396 | STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG libstartup-notification-1.0 --cflags`" |
6406 | xAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
6397 | STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG libstartup-notification-1.0 --libs`" |
6407 | xAFTERIMAGE_LIBS=`$afterimage_config --libs` |
6398 | support_startup_notification=yes |
6408 | if test "x$xAFTERIMAGE_LIBS" != "x"; then |
|
|
6409 | libai_ver_major=`echo $xAFTERIMAGE_VERSION | cut -f 1 -d .` |
|
|
6410 | libai_ver_minor=`echo $xAFTERIMAGE_VERSION | cut -f 2 -d .` |
|
|
6411 | if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then |
|
|
6412 | support_afterimage=yes |
|
|
6413 | AFTERIMAGE_CFLAGS="$xAFTERIMAGE_CFLAGS" |
|
|
6414 | AFTERIMAGE_LIBS="$xAFTERIMAGE_LIBS" |
|
|
6415 | AFTERIMAGE_VERSION="$xAFTERIMAGE_VERSION" |
|
|
6416 | fi |
|
|
6417 | fi |
|
|
6418 | fi |
6399 | fi |
6419 | if test "x$support_afterimage" = "xyes"; then |
6400 | |
|
|
6401 | if test x$support_startup_notification = xyes; then |
6420 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AFTERIMAGE_LIBS" >&5 |
6402 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6421 | $as_echo "$AFTERIMAGE_LIBS" >&6; } |
6403 | $as_echo "ok" >&6; } |
6422 | image_lib=libafterimage |
|
|
6423 | |
6404 | |
6424 | $as_echo "#define HAVE_AFTERIMAGE 1" >>confdefs.h |
6405 | $as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h |
6425 | |
6406 | |
6426 | |
|
|
6427 | $as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h |
|
|
6428 | |
|
|
6429 | else |
6407 | else |
6430 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6408 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6431 | $as_echo "no" >&6; } |
6409 | $as_echo "no" >&6; } |
6432 | fi |
|
|
6433 | fi |
6410 | fi |
6434 | fi |
6411 | fi |
6435 | |
6412 | |
6436 | |
6413 | |
6437 | |
6414 | |
… | |
… | |
6441 | sys/ioctl.h \ |
6418 | sys/ioctl.h \ |
6442 | sys/sockio.h \ |
6419 | sys/sockio.h \ |
6443 | sys/strredir.h \ |
6420 | sys/strredir.h \ |
6444 | stdint.h \ |
6421 | stdint.h \ |
6445 | wchar.h \ |
6422 | wchar.h \ |
6446 | cwchar \ |
|
|
6447 | |
6423 | |
6448 | do : |
6424 | do : |
6449 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6425 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6450 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6426 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6451 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
6427 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
… | |
… | |
6682 | fi |
6658 | fi |
6683 | |
6659 | |
6684 | done |
6660 | done |
6685 | |
6661 | |
6686 | |
6662 | |
|
|
6663 | case $host in |
|
|
6664 | *-*-solaris*) |
|
|
6665 | |
|
|
6666 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
|
|
6667 | |
|
|
6668 | ;; |
|
|
6669 | esac |
|
|
6670 | |
6687 | |
6671 | |
6688 | for ac_header in utmp.h |
6672 | for ac_header in utmp.h |
6689 | do : |
6673 | do : |
6690 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" |
6674 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" |
6691 | if test "x$ac_cv_header_utmp_h" = xyes; then : |
6675 | if test "x$ac_cv_header_utmp_h" = xyes; then : |
… | |
… | |
6825 | $as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h |
6809 | $as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h |
6826 | |
6810 | |
6827 | fi |
6811 | fi |
6828 | |
6812 | |
6829 | |
6813 | |
6830 | ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_session" "ac_cv_member_struct_utmpx_ut_session" " |
|
|
6831 | #include <sys/types.h> |
|
|
6832 | #include <utmpx.h> |
|
|
6833 | |
|
|
6834 | " |
|
|
6835 | if test "x$ac_cv_member_struct_utmpx_ut_session" = xyes; then : |
|
|
6836 | |
|
|
6837 | $as_echo "#define HAVE_UTMPX_SESSION 1" >>confdefs.h |
|
|
6838 | |
|
|
6839 | fi |
|
|
6840 | |
|
|
6841 | |
|
|
6842 | fi |
6814 | fi |
6843 | |
6815 | |
6844 | done |
6816 | done |
6845 | |
6817 | |
6846 | ac_fn_cxx_check_type "$LINENO" "struct lastlog" "ac_cv_type_struct_lastlog" " |
6818 | ac_fn_cxx_check_type "$LINENO" "struct lastlog" "ac_cv_type_struct_lastlog" " |
… | |
… | |
6878 | |
6850 | |
6879 | fi |
6851 | fi |
6880 | |
6852 | |
6881 | |
6853 | |
6882 | |
6854 | |
6883 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where utmp is located" >&5 |
6855 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of utmp" >&5 |
6884 | $as_echo_n "checking where utmp is located... " >&6; } |
6856 | $as_echo_n "checking for a fallback location of utmp... " >&6; } |
6885 | if ${pt_cv_path_utmp+:} false; then : |
6857 | if ${pt_cv_path_utmp+:} false; then : |
6886 | $as_echo_n "(cached) " >&6 |
6858 | $as_echo_n "(cached) " >&6 |
6887 | else |
6859 | else |
|
|
6860 | |
6888 | if test "$cross_compiling" = yes; then : |
6861 | if test "$cross_compiling" != yes; then |
6889 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define UTMP_FILE in config.h manually" >&5 |
|
|
6890 | $as_echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;} |
|
|
6891 | else |
|
|
6892 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6893 | /* end confdefs.h. */ |
|
|
6894 | #include <stdio.h> |
|
|
6895 | #include <stdlib.h> |
|
|
6896 | #include <sys/stat.h> |
|
|
6897 | |
|
|
6898 | #include <sys/types.h> |
|
|
6899 | #include <utmp.h> |
|
|
6900 | |
|
|
6901 | int main() |
|
|
6902 | { |
|
|
6903 | char **path, *list[] = { "/var/run/utmp", "/var/adm/utmp", "/etc/utmp", "/usr/etc/utmp", "/usr/adm/utmp", NULL }; |
6862 | for file in "/var/run/utmp" "/var/adm/utmp" "/etc/utmp" "/usr/etc/utmp" "/usr/adm/utmp"; do |
6904 | FILE *f = fopen("conftestval", "w"); |
6863 | if test -f "$file"; then |
6905 | if (!f) return 1; |
|
|
6906 | #ifdef UTMP_FILE |
|
|
6907 | fprintf(f, "%s\n", UTMP_FILE); |
|
|
6908 | #elif defined(_PATH_UTMP) |
|
|
6909 | fprintf(f, "%s\n", _PATH_UTMP); |
|
|
6910 | #else |
|
|
6911 | for (path = list; *path; path++) { |
|
|
6912 | struct stat st; |
|
|
6913 | if (stat(*path, &st) == 0) { |
|
|
6914 | fprintf(f, "%s\n", *path); |
|
|
6915 | break; |
|
|
6916 | } |
|
|
6917 | } |
|
|
6918 | #endif |
|
|
6919 | return fclose(f) != 0; |
|
|
6920 | } |
|
|
6921 | _ACEOF |
|
|
6922 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
6923 | pt_cv_path_utmp=`cat conftestval` |
|
|
6924 | else |
|
|
6925 | pt_cv_path_utmp= |
6864 | pt_cv_path_utmp=$file |
|
|
6865 | break |
|
|
6866 | fi |
|
|
6867 | done |
6926 | fi |
6868 | fi |
6927 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
6928 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
6929 | fi |
|
|
6930 | |
|
|
6931 | fi |
6869 | fi |
6932 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5 |
6870 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5 |
6933 | $as_echo "$pt_cv_path_utmp" >&6; } |
6871 | $as_echo "$pt_cv_path_utmp" >&6; } |
6934 | if test x$pt_cv_path_utmp != x; then |
6872 | if test x$pt_cv_path_utmp != x; then |
6935 | |
6873 | |
6936 | cat >>confdefs.h <<_ACEOF |
6874 | cat >>confdefs.h <<_ACEOF |
6937 | #define UTMP_FILE "$pt_cv_path_utmp" |
6875 | #define PT_UTMP_FILE "$pt_cv_path_utmp" |
6938 | _ACEOF |
6876 | _ACEOF |
6939 | |
6877 | |
|
|
6878 | elif test "$cross_compiling" = yes; then |
|
|
6879 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_UTMP_FILE in config.h manually" >&5 |
|
|
6880 | $as_echo "$as_me: WARNING: Define PT_UTMP_FILE in config.h manually" >&2;} |
6940 | fi |
6881 | fi |
6941 | |
6882 | |
6942 | |
6883 | |
6943 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where wtmp is located" >&5 |
6884 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmp" >&5 |
6944 | $as_echo_n "checking where wtmp is located... " >&6; } |
6885 | $as_echo_n "checking for a fallback location of wtmp... " >&6; } |
6945 | if ${pt_cv_path_wtmp+:} false; then : |
6886 | if ${pt_cv_path_wtmp+:} false; then : |
6946 | $as_echo_n "(cached) " >&6 |
6887 | $as_echo_n "(cached) " >&6 |
6947 | else |
6888 | else |
|
|
6889 | |
6948 | if test "$cross_compiling" = yes; then : |
6890 | if test "$cross_compiling" != yes; then |
6949 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define WTMP_FILE in config.h manually" >&5 |
|
|
6950 | $as_echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;} |
|
|
6951 | else |
|
|
6952 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6953 | /* end confdefs.h. */ |
|
|
6954 | #include <stdio.h> |
|
|
6955 | #include <stdlib.h> |
|
|
6956 | #include <sys/stat.h> |
|
|
6957 | |
|
|
6958 | #include <sys/types.h> |
|
|
6959 | #ifdef HAVE_UTMP_H |
|
|
6960 | #include <utmp.h> |
|
|
6961 | #endif |
|
|
6962 | |
|
|
6963 | int main() |
|
|
6964 | { |
|
|
6965 | char **path, *list[] = { "/var/log/wtmp", "/var/adm/wtmp", "/etc/wtmp", "/usr/etc/wtmp", "/usr/adm/wtmp", NULL }; |
6891 | for file in "/var/log/wtmp" "/var/adm/wtmp" "/etc/wtmp" "/usr/etc/wtmp" "/usr/adm/wtmp"; do |
6966 | FILE *f = fopen("conftestval", "w"); |
6892 | if test -f "$file"; then |
6967 | if (!f) return 1; |
|
|
6968 | #ifdef WTMP_FILE |
|
|
6969 | fprintf(f, "%s\n", WTMP_FILE); |
|
|
6970 | #elif defined(_PATH_WTMP) |
|
|
6971 | fprintf(f, "%s\n", _PATH_WTMP); |
|
|
6972 | #else |
|
|
6973 | for (path = list; *path; path++) { |
|
|
6974 | struct stat st; |
|
|
6975 | if (stat(*path, &st) == 0) { |
|
|
6976 | fprintf(f, "%s\n", *path); |
|
|
6977 | break; |
|
|
6978 | } |
|
|
6979 | } |
|
|
6980 | #endif |
|
|
6981 | return fclose(f) != 0; |
|
|
6982 | } |
|
|
6983 | _ACEOF |
|
|
6984 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
6985 | pt_cv_path_wtmp=`cat conftestval` |
|
|
6986 | else |
|
|
6987 | pt_cv_path_wtmp= |
6893 | pt_cv_path_wtmp=$file |
|
|
6894 | break |
|
|
6895 | fi |
|
|
6896 | done |
6988 | fi |
6897 | fi |
6989 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
6990 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
6991 | fi |
|
|
6992 | |
|
|
6993 | fi |
6898 | fi |
6994 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5 |
6899 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5 |
6995 | $as_echo "$pt_cv_path_wtmp" >&6; } |
6900 | $as_echo "$pt_cv_path_wtmp" >&6; } |
6996 | if test x$pt_cv_path_wtmp != x; then |
6901 | if test x$pt_cv_path_wtmp != x; then |
6997 | |
6902 | |
6998 | cat >>confdefs.h <<_ACEOF |
6903 | cat >>confdefs.h <<_ACEOF |
6999 | #define WTMP_FILE "$pt_cv_path_wtmp" |
6904 | #define PT_WTMP_FILE "$pt_cv_path_wtmp" |
7000 | _ACEOF |
6905 | _ACEOF |
7001 | |
6906 | |
|
|
6907 | elif test "$cross_compiling" = yes; then |
|
|
6908 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMP_FILE in config.h manually" >&5 |
|
|
6909 | $as_echo "$as_me: WARNING: Define PT_WTMP_FILE in config.h manually" >&2;} |
7002 | fi |
6910 | fi |
7003 | |
6911 | |
7004 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where wtmpx is located" >&5 |
6912 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmpx" >&5 |
7005 | $as_echo_n "checking where wtmpx is located... " >&6; } |
6913 | $as_echo_n "checking for a fallback location of wtmpx... " >&6; } |
7006 | if ${pt_cv_path_wtmpx+:} false; then : |
6914 | if ${pt_cv_path_wtmpx+:} false; then : |
7007 | $as_echo_n "(cached) " >&6 |
6915 | $as_echo_n "(cached) " >&6 |
7008 | else |
6916 | else |
|
|
6917 | |
7009 | if test "$cross_compiling" = yes; then : |
6918 | if test "$cross_compiling" != yes; then |
7010 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define WTMPX_FILE in config.h manually" >&5 |
6919 | for file in "/var/log/wtmpx" "/var/adm/wtmpx"; do |
7011 | $as_echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;} |
6920 | if test -f "$file"; then |
7012 | else |
|
|
7013 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7014 | /* end confdefs.h. */ |
|
|
7015 | #include <stdio.h> |
|
|
7016 | #include <stdlib.h> |
|
|
7017 | #include <sys/stat.h> |
|
|
7018 | |
|
|
7019 | #ifdef HAVE_UTMPX_H |
|
|
7020 | #include <utmpx.h> |
|
|
7021 | #endif |
|
|
7022 | |
|
|
7023 | int main() |
|
|
7024 | { |
|
|
7025 | char **path, *list[] = { "/var/log/wtmpx", "/var/adm/wtmpx", NULL }; |
|
|
7026 | FILE *f = fopen("conftestval", "w"); |
|
|
7027 | if (!f) return 1; |
|
|
7028 | #ifdef WTMPX_FILE |
|
|
7029 | fprintf(f, "%s\n", WTMPX_FILE); |
|
|
7030 | #elif defined(_PATH_WTMPX) |
|
|
7031 | fprintf(f, "%s\n", _PATH_WTMPX); |
|
|
7032 | #else |
|
|
7033 | for (path = list; *path; path++) { |
|
|
7034 | struct stat st; |
|
|
7035 | if (stat(*path, &st) == 0) { |
|
|
7036 | fprintf(f, "%s\n", *path); |
|
|
7037 | break; |
|
|
7038 | } |
|
|
7039 | } |
|
|
7040 | #endif |
|
|
7041 | return fclose(f) != 0; |
|
|
7042 | } |
|
|
7043 | _ACEOF |
|
|
7044 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7045 | pt_cv_path_wtmpx=`cat conftestval` |
|
|
7046 | else |
|
|
7047 | pt_cv_path_wtmpx= |
6921 | pt_cv_path_wtmpx=$file |
|
|
6922 | break |
|
|
6923 | fi |
|
|
6924 | done |
7048 | fi |
6925 | fi |
7049 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7050 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7051 | fi |
|
|
7052 | |
|
|
7053 | fi |
6926 | fi |
7054 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5 |
6927 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5 |
7055 | $as_echo "$pt_cv_path_wtmpx" >&6; } |
6928 | $as_echo "$pt_cv_path_wtmpx" >&6; } |
7056 | if test x$pt_cv_path_wtmpx != x; then |
6929 | if test x$pt_cv_path_wtmpx != x; then |
7057 | |
6930 | |
7058 | cat >>confdefs.h <<_ACEOF |
6931 | cat >>confdefs.h <<_ACEOF |
7059 | #define WTMPX_FILE "$pt_cv_path_wtmpx" |
6932 | #define PT_WTMPX_FILE "$pt_cv_path_wtmpx" |
7060 | _ACEOF |
6933 | _ACEOF |
7061 | |
6934 | |
|
|
6935 | elif test "$cross_compiling" = yes; then |
|
|
6936 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMPX_FILE in config.h manually" >&5 |
|
|
6937 | $as_echo "$as_me: WARNING: Define PT_WTMPX_FILE in config.h manually" >&2;} |
7062 | fi |
6938 | fi |
7063 | |
6939 | |
7064 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where lastlog is located" >&5 |
6940 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlog" >&5 |
7065 | $as_echo_n "checking where lastlog is located... " >&6; } |
6941 | $as_echo_n "checking for a fallback location of lastlog... " >&6; } |
7066 | if ${pt_cv_path_lastlog+:} false; then : |
6942 | if ${pt_cv_path_lastlog+:} false; then : |
7067 | $as_echo_n "(cached) " >&6 |
6943 | $as_echo_n "(cached) " >&6 |
7068 | else |
6944 | else |
|
|
6945 | |
7069 | if test "$cross_compiling" = yes; then : |
6946 | if test "$cross_compiling" != yes; then |
7070 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define LASTLOG_FILE in config.h manually" >&5 |
6947 | for file in "/var/log/lastlog" "/var/adm/lastlog"; do |
7071 | $as_echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;} |
6948 | if test -f "$file"; then |
7072 | else |
|
|
7073 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7074 | /* end confdefs.h. */ |
|
|
7075 | #include <stdio.h> |
|
|
7076 | #include <stdlib.h> |
|
|
7077 | #include <sys/stat.h> |
|
|
7078 | |
|
|
7079 | #include <sys/types.h> |
|
|
7080 | #ifdef HAVE_UTMP_H |
|
|
7081 | #include <utmp.h> |
|
|
7082 | #endif |
|
|
7083 | #ifdef HAVE_LASTLOG_H |
|
|
7084 | #include <lastlog.h> |
|
|
7085 | #endif |
|
|
7086 | |
|
|
7087 | int main() |
|
|
7088 | { |
|
|
7089 | char **path, *list[] = { "/var/log/lastlog", NULL }; |
|
|
7090 | FILE *f = fopen("conftestval", "w"); |
|
|
7091 | if (!f) return 1; |
|
|
7092 | #ifdef LASTLOG_FILE |
|
|
7093 | fprintf(f, "%s\n", LASTLOG_FILE); |
|
|
7094 | #elif defined(_PATH_LASTLOG) |
|
|
7095 | fprintf(f, "%s\n", _PATH_LASTLOG); |
|
|
7096 | #else |
|
|
7097 | for (path = list; *path; path++) { |
|
|
7098 | struct stat st; |
|
|
7099 | if (stat(*path, &st) == 0) { |
|
|
7100 | fprintf(f, "%s\n", *path); |
|
|
7101 | break; |
|
|
7102 | } |
|
|
7103 | } |
|
|
7104 | #endif |
|
|
7105 | return fclose(f) != 0; |
|
|
7106 | } |
|
|
7107 | _ACEOF |
|
|
7108 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7109 | pt_cv_path_lastlog=`cat conftestval` |
|
|
7110 | else |
|
|
7111 | pt_cv_path_lastlog= |
6949 | pt_cv_path_lastlog=$file |
|
|
6950 | break |
|
|
6951 | fi |
|
|
6952 | done |
7112 | fi |
6953 | fi |
7113 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7114 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7115 | fi |
|
|
7116 | |
|
|
7117 | fi |
6954 | fi |
7118 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5 |
6955 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5 |
7119 | $as_echo "$pt_cv_path_lastlog" >&6; } |
6956 | $as_echo "$pt_cv_path_lastlog" >&6; } |
7120 | if test x$pt_cv_path_lastlog != x; then |
6957 | if test x$pt_cv_path_lastlog != x; then |
7121 | |
6958 | |
7122 | cat >>confdefs.h <<_ACEOF |
6959 | cat >>confdefs.h <<_ACEOF |
7123 | #define LASTLOG_FILE "$pt_cv_path_lastlog" |
6960 | #define PT_LASTLOG_FILE "$pt_cv_path_lastlog" |
7124 | _ACEOF |
6961 | _ACEOF |
7125 | |
6962 | |
|
|
6963 | elif test "$cross_compiling" = yes; then |
|
|
6964 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&5 |
|
|
6965 | $as_echo "$as_me: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&2;} |
7126 | fi |
6966 | fi |
7127 | |
6967 | |
7128 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where lastlogx is located" >&5 |
6968 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlogx" >&5 |
7129 | $as_echo_n "checking where lastlogx is located... " >&6; } |
6969 | $as_echo_n "checking for a fallback location of lastlogx... " >&6; } |
7130 | if ${pt_cv_path_lastlogx+:} false; then : |
6970 | if ${pt_cv_path_lastlogx+:} false; then : |
7131 | $as_echo_n "(cached) " >&6 |
6971 | $as_echo_n "(cached) " >&6 |
7132 | else |
6972 | else |
|
|
6973 | |
7133 | if test "$cross_compiling" = yes; then : |
6974 | if test "$cross_compiling" != yes; then |
7134 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define LASTLOGX_FILE in config.h manually" >&5 |
6975 | for file in "/var/log/lastlogx" "/var/adm/lastlogx"; do |
7135 | $as_echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;} |
6976 | if test -f "$file"; then |
7136 | else |
|
|
7137 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7138 | /* end confdefs.h. */ |
|
|
7139 | #include <stdio.h> |
|
|
7140 | #include <stdlib.h> |
|
|
7141 | #include <sys/stat.h> |
|
|
7142 | |
|
|
7143 | #ifdef HAVE_UTMPX_H |
|
|
7144 | #include <utmpx.h> |
|
|
7145 | #endif |
|
|
7146 | |
|
|
7147 | int main() |
|
|
7148 | { |
|
|
7149 | char **path, *list[] = { "/var/log/lastlogx", "/var/adm/lastlogx", NULL }; |
|
|
7150 | FILE *f = fopen("conftestval", "w"); |
|
|
7151 | if (!f) return 1; |
|
|
7152 | #ifdef LASTLOGX_FILE |
|
|
7153 | fprintf(f, "%s\n", LASTLOGX_FILE); |
|
|
7154 | #elif defined(_PATH_LASTLOGX) |
|
|
7155 | fprintf(f, "%s\n", _PATH_LASTLOGX); |
|
|
7156 | #else |
|
|
7157 | for (path = list; *path; path++) { |
|
|
7158 | struct stat st; |
|
|
7159 | if (stat(*path, &st) == 0) { |
|
|
7160 | fprintf(f, "%s\n", *path); |
|
|
7161 | break; |
|
|
7162 | } |
|
|
7163 | } |
|
|
7164 | #endif |
|
|
7165 | return fclose(f) != 0; |
|
|
7166 | } |
|
|
7167 | _ACEOF |
|
|
7168 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7169 | pt_cv_path_lastlogx=`cat conftestval` |
|
|
7170 | else |
|
|
7171 | pt_cv_path_lastlogx= |
6977 | pt_cv_path_lastlogx=$file |
|
|
6978 | break |
|
|
6979 | fi |
|
|
6980 | done |
7172 | fi |
6981 | fi |
7173 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7174 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7175 | fi |
|
|
7176 | |
|
|
7177 | fi |
6982 | fi |
7178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5 |
6983 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5 |
7179 | $as_echo "$pt_cv_path_lastlogx" >&6; } |
6984 | $as_echo "$pt_cv_path_lastlogx" >&6; } |
7180 | if test x$pt_cv_path_lastlogx != x; then |
6985 | if test x$pt_cv_path_lastlogx != x; then |
7181 | |
6986 | |
7182 | cat >>confdefs.h <<_ACEOF |
6987 | cat >>confdefs.h <<_ACEOF |
7183 | #define LASTLOGX_FILE "$pt_cv_path_lastlogx" |
6988 | #define PT_LASTLOGX_FILE "$pt_cv_path_lastlogx" |
7184 | _ACEOF |
6989 | _ACEOF |
7185 | |
6990 | |
|
|
6991 | elif test "$cross_compiling" = yes; then |
|
|
6992 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&5 |
|
|
6993 | $as_echo "$as_me: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&2;} |
7186 | fi |
6994 | fi |
7187 | |
6995 | |
7188 | |
6996 | |
7189 | |
6997 | |
7190 | |
6998 | |
… | |
… | |
7300 | |
7108 | |
7301 | fi |
7109 | fi |
7302 | LIBS=$save_LIBS |
7110 | LIBS=$save_LIBS |
7303 | CFLAGS=$save_CFLAGS |
7111 | CFLAGS=$save_CFLAGS |
7304 | |
7112 | |
7305 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working plain setlocale" >&5 |
|
|
7306 | $as_echo_n "checking for working plain setlocale... " >&6; } |
|
|
7307 | if ${rxvt_cv_func_setlocale+:} false; then : |
|
|
7308 | $as_echo_n "(cached) " >&6 |
|
|
7309 | else |
|
|
7310 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7311 | /* end confdefs.h. */ |
|
|
7312 | #include <clocale> |
|
|
7313 | int |
|
|
7314 | main () |
|
|
7315 | { |
|
|
7316 | setlocale(LC_CTYPE, ""); |
|
|
7317 | ; |
|
|
7318 | return 0; |
|
|
7319 | } |
|
|
7320 | _ACEOF |
|
|
7321 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7322 | rxvt_cv_func_setlocale=yes |
|
|
7323 | else |
|
|
7324 | rxvt_cv_func_setlocale=no |
|
|
7325 | fi |
|
|
7326 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7327 | conftest$ac_exeext conftest.$ac_ext |
|
|
7328 | fi |
|
|
7329 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_setlocale" >&5 |
|
|
7330 | $as_echo "$rxvt_cv_func_setlocale" >&6; } |
|
|
7331 | if test x$rxvt_cv_func_setlocale = xyes; then |
|
|
7332 | |
|
|
7333 | $as_echo "#define HAVE_SETLOCALE 1" >>confdefs.h |
|
|
7334 | |
|
|
7335 | fi |
|
|
7336 | |
|
|
7337 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 |
7113 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 |
7338 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
7114 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
7339 | if ${rxvt_cv_func_nl_langinfo+:} false; then : |
7115 | if ${rxvt_cv_func_nl_langinfo+:} false; then : |
7340 | $as_echo_n "(cached) " >&6 |
7116 | $as_echo_n "(cached) " >&6 |
7341 | else |
7117 | else |
… | |
… | |
7365 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
7141 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
7366 | |
7142 | |
7367 | fi |
7143 | fi |
7368 | |
7144 | |
7369 | |
7145 | |
|
|
7146 | case $host in |
|
|
7147 | *-*-solaris*) |
|
|
7148 | |
|
|
7149 | $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h |
|
|
7150 | |
|
|
7151 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5 |
|
|
7152 | $as_echo_n "checking for library containing sendmsg... " >&6; } |
|
|
7153 | if ${ac_cv_search_sendmsg+:} false; then : |
|
|
7154 | $as_echo_n "(cached) " >&6 |
|
|
7155 | else |
|
|
7156 | ac_func_search_save_LIBS=$LIBS |
|
|
7157 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7158 | /* end confdefs.h. */ |
|
|
7159 | |
|
|
7160 | /* Override any GCC internal prototype to avoid an error. |
|
|
7161 | Use char because int might match the return type of a GCC |
|
|
7162 | builtin and then its argument prototype would still apply. */ |
|
|
7163 | #ifdef __cplusplus |
|
|
7164 | extern "C" |
|
|
7165 | #endif |
|
|
7166 | char sendmsg (); |
|
|
7167 | int |
|
|
7168 | main () |
|
|
7169 | { |
|
|
7170 | return sendmsg (); |
|
|
7171 | ; |
|
|
7172 | return 0; |
|
|
7173 | } |
|
|
7174 | _ACEOF |
|
|
7175 | for ac_lib in '' socket; do |
|
|
7176 | if test -z "$ac_lib"; then |
|
|
7177 | ac_res="none required" |
|
|
7178 | else |
|
|
7179 | ac_res=-l$ac_lib |
|
|
7180 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
|
7181 | fi |
|
|
7182 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7183 | ac_cv_search_sendmsg=$ac_res |
|
|
7184 | fi |
|
|
7185 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7186 | conftest$ac_exeext |
|
|
7187 | if ${ac_cv_search_sendmsg+:} false; then : |
|
|
7188 | break |
|
|
7189 | fi |
|
|
7190 | done |
|
|
7191 | if ${ac_cv_search_sendmsg+:} false; then : |
|
|
7192 | |
|
|
7193 | else |
|
|
7194 | ac_cv_search_sendmsg=no |
|
|
7195 | fi |
|
|
7196 | rm conftest.$ac_ext |
|
|
7197 | LIBS=$ac_func_search_save_LIBS |
|
|
7198 | fi |
|
|
7199 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendmsg" >&5 |
|
|
7200 | $as_echo "$ac_cv_search_sendmsg" >&6; } |
|
|
7201 | ac_res=$ac_cv_search_sendmsg |
|
|
7202 | if test "$ac_res" != no; then : |
|
|
7203 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
7204 | |
|
|
7205 | fi |
|
|
7206 | |
|
|
7207 | ;; |
|
|
7208 | esac |
|
|
7209 | |
7370 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5 |
7210 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5 |
7371 | $as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; } |
7211 | $as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; } |
7372 | if ${pt_cv_can_pass_fds+:} false; then : |
7212 | if ${pt_cv_can_pass_fds+:} false; then : |
7373 | $as_echo_n "(cached) " >&6 |
7213 | $as_echo_n "(cached) " >&6 |
7374 | else |
7214 | else |
7375 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7215 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7376 | /* end confdefs.h. */ |
7216 | /* end confdefs.h. */ |
7377 | |
7217 | |
7378 | #include <cstddef> // broken bsds (is that redundant?) need this |
7218 | #include <stddef.h> // broken bsds (is that redundant?) need this |
7379 | #include <sys/types.h> |
7219 | #include <sys/types.h> |
7380 | #include <sys/socket.h> |
7220 | #include <sys/socket.h> |
7381 | #include <sys/uio.h> |
7221 | #include <sys/uio.h> |
7382 | |
7222 | |
7383 | int |
7223 | int |
… | |
… | |
7435 | for ac_header in \ |
7275 | for ac_header in \ |
7436 | pty.h \ |
7276 | pty.h \ |
7437 | util.h \ |
7277 | util.h \ |
7438 | libutil.h \ |
7278 | libutil.h \ |
7439 | sys/ioctl.h \ |
7279 | sys/ioctl.h \ |
7440 | sys/stropts.h \ |
|
|
7441 | stropts.h \ |
7280 | stropts.h \ |
7442 | |
7281 | |
7443 | do : |
7282 | do : |
7444 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7283 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7445 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
7284 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
… | |
… | |
7474 | |
7313 | |
7475 | fi |
7314 | fi |
7476 | done |
7315 | done |
7477 | |
7316 | |
7478 | |
7317 | |
7479 | have_clone=no |
|
|
7480 | |
|
|
7481 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5 |
|
|
7482 | $as_echo_n "checking for /dev/ptc... " >&6; } |
|
|
7483 | if test -e /dev/ptc; then |
|
|
7484 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
7485 | $as_echo "yes" >&6; } |
|
|
7486 | |
|
|
7487 | $as_echo "#define CLONE_DEVICE \"/dev/ptc\"" >>confdefs.h |
|
|
7488 | |
|
|
7489 | have_clone=yes |
|
|
7490 | else |
|
|
7491 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7492 | $as_echo "no" >&6; } |
|
|
7493 | fi |
|
|
7494 | |
|
|
7495 | case $host in |
|
|
7496 | *-*-cygwin*) |
|
|
7497 | have_clone=yes |
|
|
7498 | |
|
|
7499 | $as_echo "#define CLONE_DEVICE \"/dev/ptmx\"" >>confdefs.h |
|
|
7500 | |
|
|
7501 | ;; |
|
|
7502 | *) |
|
|
7503 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5 |
|
|
7504 | $as_echo_n "checking for /dev/ptmx... " >&6; } |
|
|
7505 | if test -e /dev/ptmx; then |
|
|
7506 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
7507 | $as_echo "yes" >&6; } |
|
|
7508 | |
|
|
7509 | $as_echo "#define HAVE_DEV_PTMX 1" >>confdefs.h |
|
|
7510 | |
|
|
7511 | |
|
|
7512 | $as_echo "#define CLONE_DEVICE \"/dev/ptmx\"" >>confdefs.h |
|
|
7513 | |
|
|
7514 | have_clone=yes |
|
|
7515 | else |
|
|
7516 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7517 | $as_echo "no" >&6; } |
|
|
7518 | fi |
|
|
7519 | ;; |
|
|
7520 | esac |
|
|
7521 | |
|
|
7522 | if test x$ac_cv_func_getpt = xyes -o x$ac_cv_func_posix_openpt = xyes -o x$have_clone = xyes; then |
|
|
7523 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5 |
7318 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5 |
7524 | $as_echo_n "checking for UNIX98 ptys... " >&6; } |
7319 | $as_echo_n "checking for UNIX98 ptys... " >&6; } |
7525 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7320 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7526 | /* end confdefs.h. */ |
7321 | /* end confdefs.h. */ |
7527 | #include <stdlib.h> |
7322 | #include <stdlib.h> |
7528 | int |
7323 | int |
7529 | main () |
7324 | main () |
7530 | { |
7325 | { |
… | |
… | |
7536 | if ac_fn_cxx_try_link "$LINENO"; then : |
7331 | if ac_fn_cxx_try_link "$LINENO"; then : |
7537 | unix98_pty=yes |
7332 | unix98_pty=yes |
7538 | |
7333 | |
7539 | $as_echo "#define UNIX98_PTY 1" >>confdefs.h |
7334 | $as_echo "#define UNIX98_PTY 1" >>confdefs.h |
7540 | |
7335 | |
7541 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
7336 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
7542 | $as_echo "yes" >&6; } |
7337 | $as_echo "yes" >&6; } |
7543 | else |
7338 | else |
7544 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7339 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7545 | $as_echo "no" >&6; } |
7340 | $as_echo "no" >&6; } |
7546 | fi |
7341 | fi |
7547 | rm -f core conftest.err conftest.$ac_objext \ |
7342 | rm -f core conftest.err conftest.$ac_objext \ |
7548 | conftest$ac_exeext conftest.$ac_ext |
7343 | conftest$ac_exeext conftest.$ac_ext |
7549 | fi |
|
|
7550 | |
7344 | |
7551 | if test -z "$unix98_pty"; then |
7345 | if test -z "$unix98_pty"; then |
7552 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 |
7346 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 |
7553 | $as_echo_n "checking for library containing openpty... " >&6; } |
7347 | $as_echo_n "checking for library containing openpty... " >&6; } |
7554 | if ${ac_cv_search_openpty+:} false; then : |
7348 | if ${ac_cv_search_openpty+:} false; then : |
… | |
… | |
7659 | |
7453 | |
7660 | $as_echo "#define TTY_GID_SUPPORT 1" >>confdefs.h |
7454 | $as_echo "#define TTY_GID_SUPPORT 1" >>confdefs.h |
7661 | |
7455 | |
7662 | fi |
7456 | fi |
7663 | |
7457 | |
|
|
7458 | support_image=no |
|
|
7459 | if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then |
|
|
7460 | support_image=yes |
|
|
7461 | fi |
7664 | if test x$support_xft = xyes || test x$support_inheritpixmap = xyes; then |
7462 | if test x$support_xft = xyes || test x$support_image = xyes; then |
7665 | rxvt_have_xrender=no |
7463 | rxvt_have_xrender=no |
7666 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7464 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7667 | set dummy pkg-config; ac_word=$2 |
7465 | set dummy pkg-config; ac_word=$2 |
7668 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7466 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7669 | $as_echo_n "checking for $ac_word... " >&6; } |
7467 | $as_echo_n "checking for $ac_word... " >&6; } |
… | |
… | |
7679 | for as_dir in $PATH |
7477 | for as_dir in $PATH |
7680 | do |
7478 | do |
7681 | IFS=$as_save_IFS |
7479 | IFS=$as_save_IFS |
7682 | test -z "$as_dir" && as_dir=. |
7480 | test -z "$as_dir" && as_dir=. |
7683 | for ac_exec_ext in '' $ac_executable_extensions; do |
7481 | for ac_exec_ext in '' $ac_executable_extensions; do |
7684 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7482 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7685 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
7483 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
7686 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7484 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7687 | break 2 |
7485 | break 2 |
7688 | fi |
7486 | fi |
7689 | done |
7487 | done |
… | |
… | |
7747 | for as_dir in $PATH |
7545 | for as_dir in $PATH |
7748 | do |
7546 | do |
7749 | IFS=$as_save_IFS |
7547 | IFS=$as_save_IFS |
7750 | test -z "$as_dir" && as_dir=. |
7548 | test -z "$as_dir" && as_dir=. |
7751 | for ac_exec_ext in '' $ac_executable_extensions; do |
7549 | for ac_exec_ext in '' $ac_executable_extensions; do |
7752 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7550 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7753 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
7551 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
7754 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7552 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7755 | break 2 |
7553 | break 2 |
7756 | fi |
7554 | fi |
7757 | done |
7555 | done |
… | |
… | |
7792 | for as_dir in $PATH |
7590 | for as_dir in $PATH |
7793 | do |
7591 | do |
7794 | IFS=$as_save_IFS |
7592 | IFS=$as_save_IFS |
7795 | test -z "$as_dir" && as_dir=. |
7593 | test -z "$as_dir" && as_dir=. |
7796 | for ac_exec_ext in '' $ac_executable_extensions; do |
7594 | for ac_exec_ext in '' $ac_executable_extensions; do |
7797 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7595 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7798 | ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
7596 | ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
7799 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7597 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7800 | break 2 |
7598 | break 2 |
7801 | fi |
7599 | fi |
7802 | done |
7600 | done |
… | |
… | |
7948 | |
7746 | |
7949 | $as_echo "#define XFT 1" >>confdefs.h |
7747 | $as_echo "#define XFT 1" >>confdefs.h |
7950 | |
7748 | |
7951 | fi |
7749 | fi |
7952 | fi |
7750 | fi |
|
|
7751 | |
|
|
7752 | if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then |
|
|
7753 | LIBS="$LIBS -lm" |
|
|
7754 | |
|
|
7755 | $as_echo "#define XRENDER 1" >>confdefs.h |
|
|
7756 | |
|
|
7757 | |
|
|
7758 | if test x$support_inheritpixmap = xyes; then |
|
|
7759 | |
|
|
7760 | $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h |
|
|
7761 | |
|
|
7762 | fi |
|
|
7763 | fi |
|
|
7764 | |
7953 | if test x$support_styles = xyes; then |
7765 | if test x$support_styles = xyes; then |
7954 | |
7766 | |
7955 | $as_echo "#define ENABLE_STYLES 1" >>confdefs.h |
7767 | $as_echo "#define ENABLE_STYLES 1" >>confdefs.h |
7956 | |
7768 | |
7957 | fi |
7769 | fi |
… | |
… | |
7966 | |
7778 | |
7967 | fi |
7779 | fi |
7968 | if test x$support_fading = xyes; then |
7780 | if test x$support_fading = xyes; then |
7969 | |
7781 | |
7970 | $as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h |
7782 | $as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h |
7971 | |
|
|
7972 | fi |
|
|
7973 | if test x$support_inheritpixmap = xyes; then |
|
|
7974 | if test x$rxvt_have_xrender = xyes; then |
|
|
7975 | LIBS="$LIBS -lm" |
|
|
7976 | |
|
|
7977 | $as_echo "#define XRENDER 1" >>confdefs.h |
|
|
7978 | |
|
|
7979 | fi |
|
|
7980 | |
|
|
7981 | $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h |
|
|
7982 | |
7783 | |
7983 | fi |
7784 | fi |
7984 | if test x$support_keepscrolling = xno; then |
7785 | if test x$support_keepscrolling = xno; then |
7985 | |
7786 | |
7986 | $as_echo "#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1" >>confdefs.h |
7787 | $as_echo "#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1" >>confdefs.h |
… | |
… | |
8097 | for as_dir in $PATH |
7898 | for as_dir in $PATH |
8098 | do |
7899 | do |
8099 | IFS=$as_save_IFS |
7900 | IFS=$as_save_IFS |
8100 | test -z "$as_dir" && as_dir=. |
7901 | test -z "$as_dir" && as_dir=. |
8101 | for ac_exec_ext in '' $ac_executable_extensions; do |
7902 | for ac_exec_ext in '' $ac_executable_extensions; do |
8102 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7903 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
8103 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
7904 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
8104 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7905 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8105 | break 2 |
7906 | break 2 |
8106 | fi |
7907 | fi |
8107 | done |
7908 | done |
8108 | done |
7909 | done |
8109 | IFS=$as_save_IFS |
7910 | IFS=$as_save_IFS |
8110 | |
7911 | |
8111 | ;; |
7912 | test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl" |
8112 | esac |
|
|
8113 | fi |
|
|
8114 | PERL=$ac_cv_path_PERL |
|
|
8115 | if test -n "$PERL"; then |
|
|
8116 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 |
|
|
8117 | $as_echo "$PERL" >&6; } |
|
|
8118 | else |
|
|
8119 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8120 | $as_echo "no" >&6; } |
|
|
8121 | fi |
|
|
8122 | |
|
|
8123 | |
|
|
8124 | # Extract the first word of "perl", so it can be a program name with args. |
|
|
8125 | set dummy perl; ac_word=$2 |
|
|
8126 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
8127 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
8128 | if ${ac_cv_path_PERL+:} false; then : |
|
|
8129 | $as_echo_n "(cached) " >&6 |
|
|
8130 | else |
|
|
8131 | case $PERL in |
|
|
8132 | [\\/]* | ?:[\\/]*) |
|
|
8133 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
8134 | ;; |
|
|
8135 | *) |
|
|
8136 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
8137 | for as_dir in $PATH |
|
|
8138 | do |
|
|
8139 | IFS=$as_save_IFS |
|
|
8140 | test -z "$as_dir" && as_dir=. |
|
|
8141 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8142 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
8143 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
8144 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
8145 | break 2 |
|
|
8146 | fi |
|
|
8147 | done |
|
|
8148 | done |
|
|
8149 | IFS=$as_save_IFS |
|
|
8150 | |
|
|
8151 | ;; |
7913 | ;; |
8152 | esac |
7914 | esac |
8153 | fi |
7915 | fi |
8154 | PERL=$ac_cv_path_PERL |
7916 | PERL=$ac_cv_path_PERL |
8155 | if test -n "$PERL"; then |
7917 | if test -n "$PERL"; then |
… | |
… | |
8630 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
8392 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
8631 | as_ln_s='ln -s' |
8393 | as_ln_s='ln -s' |
8632 | # ... but there are two gotchas: |
8394 | # ... but there are two gotchas: |
8633 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
8395 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
8634 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
8396 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
8635 | # In both cases, we have to default to `cp -p'. |
8397 | # In both cases, we have to default to `cp -pR'. |
8636 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
8398 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
8637 | as_ln_s='cp -p' |
8399 | as_ln_s='cp -pR' |
8638 | elif ln conf$$.file conf$$ 2>/dev/null; then |
8400 | elif ln conf$$.file conf$$ 2>/dev/null; then |
8639 | as_ln_s=ln |
8401 | as_ln_s=ln |
8640 | else |
8402 | else |
8641 | as_ln_s='cp -p' |
8403 | as_ln_s='cp -pR' |
8642 | fi |
8404 | fi |
8643 | else |
8405 | else |
8644 | as_ln_s='cp -p' |
8406 | as_ln_s='cp -pR' |
8645 | fi |
8407 | fi |
8646 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
8408 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
8647 | rmdir conf$$.dir 2>/dev/null |
8409 | rmdir conf$$.dir 2>/dev/null |
8648 | |
8410 | |
8649 | |
8411 | |
… | |
… | |
8699 | else |
8461 | else |
8700 | test -d ./-p && rmdir ./-p |
8462 | test -d ./-p && rmdir ./-p |
8701 | as_mkdir_p=false |
8463 | as_mkdir_p=false |
8702 | fi |
8464 | fi |
8703 | |
8465 | |
8704 | if test -x / >/dev/null 2>&1; then |
8466 | |
|
|
8467 | # as_fn_executable_p FILE |
|
|
8468 | # ----------------------- |
|
|
8469 | # Test if FILE is an executable regular file. |
|
|
8470 | as_fn_executable_p () |
|
|
8471 | { |
|
|
8472 | test -f "$1" && test -x "$1" |
|
|
8473 | } # as_fn_executable_p |
8705 | as_test_x='test -x' |
8474 | as_test_x='test -x' |
8706 | else |
8475 | as_executable_p=as_fn_executable_p |
8707 | if ls -dL / >/dev/null 2>&1; then |
|
|
8708 | as_ls_L_option=L |
|
|
8709 | else |
|
|
8710 | as_ls_L_option= |
|
|
8711 | fi |
|
|
8712 | as_test_x=' |
|
|
8713 | eval sh -c '\'' |
|
|
8714 | if test -d "$1"; then |
|
|
8715 | test -d "$1/."; |
|
|
8716 | else |
|
|
8717 | case $1 in #( |
|
|
8718 | -*)set "./$1";; |
|
|
8719 | esac; |
|
|
8720 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
|
8721 | ???[sx]*):;;*)false;;esac;fi |
|
|
8722 | '\'' sh |
|
|
8723 | ' |
|
|
8724 | fi |
|
|
8725 | as_executable_p=$as_test_x |
|
|
8726 | |
8476 | |
8727 | # Sed expression to map a string onto a valid CPP name. |
8477 | # Sed expression to map a string onto a valid CPP name. |
8728 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
8478 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
8729 | |
8479 | |
8730 | # Sed expression to map a string onto a valid variable name. |
8480 | # Sed expression to map a string onto a valid variable name. |
… | |
… | |
8742 | # Save the log message, to keep $0 and so on meaningful, and to |
8492 | # Save the log message, to keep $0 and so on meaningful, and to |
8743 | # report actual input values of CONFIG_FILES etc. instead of their |
8493 | # report actual input values of CONFIG_FILES etc. instead of their |
8744 | # values after options handling. |
8494 | # values after options handling. |
8745 | ac_log=" |
8495 | ac_log=" |
8746 | This file was extended by $as_me, which was |
8496 | This file was extended by $as_me, which was |
8747 | generated by GNU Autoconf 2.68. Invocation command line was |
8497 | generated by GNU Autoconf 2.69. Invocation command line was |
8748 | |
8498 | |
8749 | CONFIG_FILES = $CONFIG_FILES |
8499 | CONFIG_FILES = $CONFIG_FILES |
8750 | CONFIG_HEADERS = $CONFIG_HEADERS |
8500 | CONFIG_HEADERS = $CONFIG_HEADERS |
8751 | CONFIG_LINKS = $CONFIG_LINKS |
8501 | CONFIG_LINKS = $CONFIG_LINKS |
8752 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
8502 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
8804 | _ACEOF |
8554 | _ACEOF |
8805 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8555 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8806 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
8556 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
8807 | ac_cs_version="\\ |
8557 | ac_cs_version="\\ |
8808 | config.status |
8558 | config.status |
8809 | configured by $0, generated by GNU Autoconf 2.68, |
8559 | configured by $0, generated by GNU Autoconf 2.69, |
8810 | with options \\"\$ac_cs_config\\" |
8560 | with options \\"\$ac_cs_config\\" |
8811 | |
8561 | |
8812 | Copyright (C) 2010 Free Software Foundation, Inc. |
8562 | Copyright (C) 2012 Free Software Foundation, Inc. |
8813 | This config.status script is free software; the Free Software Foundation |
8563 | This config.status script is free software; the Free Software Foundation |
8814 | gives unlimited permission to copy, distribute and modify it." |
8564 | gives unlimited permission to copy, distribute and modify it." |
8815 | |
8565 | |
8816 | ac_pwd='$ac_pwd' |
8566 | ac_pwd='$ac_pwd' |
8817 | srcdir='$srcdir' |
8567 | srcdir='$srcdir' |
… | |
… | |
8896 | fi |
8646 | fi |
8897 | |
8647 | |
8898 | _ACEOF |
8648 | _ACEOF |
8899 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8649 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8900 | if \$ac_cs_recheck; then |
8650 | if \$ac_cs_recheck; then |
8901 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
8651 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
8902 | shift |
8652 | shift |
8903 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
8653 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
8904 | CONFIG_SHELL='$SHELL' |
8654 | CONFIG_SHELL='$SHELL' |
8905 | export CONFIG_SHELL |
8655 | export CONFIG_SHELL |
8906 | exec "\$@" |
8656 | exec "\$@" |