1 | #! /bin/sh |
1 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Guess values for system-dependent variables and create Makefiles. |
3 | # Generated by GNU Autoconf 2.68. |
3 | # Generated by GNU Autoconf 2.69. |
4 | # |
4 | # |
5 | # |
5 | # |
6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
|
|
8 | # Foundation, Inc. |
|
|
9 | # |
7 | # |
10 | # |
8 | # |
11 | # This configure script is free software; the Free Software Foundation |
9 | # This configure script is free software; the Free Software Foundation |
12 | # gives unlimited permission to copy, distribute and modify it. |
10 | # gives unlimited permission to copy, distribute and modify it. |
13 | ## -------------------- ## |
11 | ## -------------------- ## |
… | |
… | |
132 | export LANGUAGE |
130 | export LANGUAGE |
133 | |
131 | |
134 | # CDPATH. |
132 | # CDPATH. |
135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
133 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
136 | |
134 | |
|
|
135 | # Use a proper internal environment variable to ensure we don't fall |
|
|
136 | # into an infinite loop, continuously re-executing ourselves. |
|
|
137 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
|
|
138 | _as_can_reexec=no; export _as_can_reexec; |
|
|
139 | # We cannot yet assume a decent shell, so we have to provide a |
|
|
140 | # neutralization value for shells without unset; and this also |
|
|
141 | # works around shells that cannot unset nonexistent variables. |
|
|
142 | # Preserve -v and -x to the replacement shell. |
|
|
143 | BASH_ENV=/dev/null |
|
|
144 | ENV=/dev/null |
|
|
145 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
|
146 | case $- in # (((( |
|
|
147 | *v*x* | *x*v* ) as_opts=-vx ;; |
|
|
148 | *v* ) as_opts=-v ;; |
|
|
149 | *x* ) as_opts=-x ;; |
|
|
150 | * ) as_opts= ;; |
|
|
151 | esac |
|
|
152 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
|
153 | # Admittedly, this is quite paranoid, since all the known shells bail |
|
|
154 | # out after a failed `exec'. |
|
|
155 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
|
156 | as_fn_exit 255 |
|
|
157 | fi |
|
|
158 | # We don't want this to propagate to other subprocesses. |
|
|
159 | { _as_can_reexec=; unset _as_can_reexec;} |
137 | if test "x$CONFIG_SHELL" = x; then |
160 | if test "x$CONFIG_SHELL" = x; then |
138 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
161 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
139 | emulate sh |
162 | emulate sh |
140 | NULLCMD=: |
163 | NULLCMD=: |
141 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
164 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
… | |
… | |
165 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
188 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
166 | |
189 | |
167 | else |
190 | else |
168 | exitcode=1; echo positional parameters were not saved. |
191 | exitcode=1; echo positional parameters were not saved. |
169 | fi |
192 | fi |
170 | test x\$exitcode = x0 || exit 1" |
193 | test x\$exitcode = x0 || exit 1 |
|
|
194 | test -x / || exit 1" |
171 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
195 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
172 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
196 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
173 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
197 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
174 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
198 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
175 | test \$(( 1 + 1 )) = 2 || exit 1" |
199 | test \$(( 1 + 1 )) = 2 || exit 1" |
… | |
… | |
210 | fi; } |
234 | fi; } |
211 | IFS=$as_save_IFS |
235 | IFS=$as_save_IFS |
212 | |
236 | |
213 | |
237 | |
214 | if test "x$CONFIG_SHELL" != x; then : |
238 | if test "x$CONFIG_SHELL" != x; then : |
|
|
239 | export CONFIG_SHELL |
215 | # We cannot yet assume a decent shell, so we have to provide a |
240 | # We cannot yet assume a decent shell, so we have to provide a |
216 | # neutralization value for shells without unset; and this also |
241 | # neutralization value for shells without unset; and this also |
217 | # works around shells that cannot unset nonexistent variables. |
242 | # works around shells that cannot unset nonexistent variables. |
218 | # Preserve -v and -x to the replacement shell. |
243 | # Preserve -v and -x to the replacement shell. |
219 | BASH_ENV=/dev/null |
244 | BASH_ENV=/dev/null |
220 | ENV=/dev/null |
245 | ENV=/dev/null |
221 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
246 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
222 | export CONFIG_SHELL |
|
|
223 | case $- in # (((( |
247 | case $- in # (((( |
224 | *v*x* | *x*v* ) as_opts=-vx ;; |
248 | *v*x* | *x*v* ) as_opts=-vx ;; |
225 | *v* ) as_opts=-v ;; |
249 | *v* ) as_opts=-v ;; |
226 | *x* ) as_opts=-x ;; |
250 | *x* ) as_opts=-x ;; |
227 | * ) as_opts= ;; |
251 | * ) as_opts= ;; |
228 | esac |
252 | esac |
229 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
253 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
|
254 | # Admittedly, this is quite paranoid, since all the known shells bail |
|
|
255 | # out after a failed `exec'. |
|
|
256 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
|
257 | exit 255 |
230 | fi |
258 | fi |
231 | |
259 | |
232 | if test x$as_have_required = xno; then : |
260 | if test x$as_have_required = xno; then : |
233 | $as_echo "$0: This script requires a shell more modern than all" |
261 | $as_echo "$0: This script requires a shell more modern than all" |
234 | $as_echo "$0: the shells that I found on your system." |
262 | $as_echo "$0: the shells that I found on your system." |
… | |
… | |
326 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
354 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
327 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
355 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
328 | |
356 | |
329 | |
357 | |
330 | } # as_fn_mkdir_p |
358 | } # as_fn_mkdir_p |
|
|
359 | |
|
|
360 | # as_fn_executable_p FILE |
|
|
361 | # ----------------------- |
|
|
362 | # Test if FILE is an executable regular file. |
|
|
363 | as_fn_executable_p () |
|
|
364 | { |
|
|
365 | test -f "$1" && test -x "$1" |
|
|
366 | } # as_fn_executable_p |
331 | # as_fn_append VAR VALUE |
367 | # as_fn_append VAR VALUE |
332 | # ---------------------- |
368 | # ---------------------- |
333 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
369 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
334 | # advantage of any shell optimizations that allow amortized linear growth over |
370 | # advantage of any shell optimizations that allow amortized linear growth over |
335 | # repeated appends, instead of the typical quadratic growth present in naive |
371 | # repeated appends, instead of the typical quadratic growth present in naive |
… | |
… | |
447 | s/-\n.*// |
483 | s/-\n.*// |
448 | ' >$as_me.lineno && |
484 | ' >$as_me.lineno && |
449 | chmod +x "$as_me.lineno" || |
485 | chmod +x "$as_me.lineno" || |
450 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
486 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
451 | |
487 | |
|
|
488 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
|
|
489 | # already done that, so ensure we don't try to do so again and fall |
|
|
490 | # in an infinite loop. This has already happened in practice. |
|
|
491 | _as_can_reexec=no; export _as_can_reexec |
452 | # Don't try to exec as it changes $[0], causing all sort of problems |
492 | # Don't try to exec as it changes $[0], causing all sort of problems |
453 | # (the dirname of $[0] is not the place where we might find the |
493 | # (the dirname of $[0] is not the place where we might find the |
454 | # original and so on. Autoconf is especially sensitive to this). |
494 | # original and so on. Autoconf is especially sensitive to this). |
455 | . "./$as_me.lineno" |
495 | . "./$as_me.lineno" |
456 | # Exit status is that of the last command. |
496 | # Exit status is that of the last command. |
… | |
… | |
481 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
521 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
482 | as_ln_s='ln -s' |
522 | as_ln_s='ln -s' |
483 | # ... but there are two gotchas: |
523 | # ... but there are two gotchas: |
484 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
524 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
485 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
525 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
486 | # In both cases, we have to default to `cp -p'. |
526 | # In both cases, we have to default to `cp -pR'. |
487 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
527 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
488 | as_ln_s='cp -p' |
528 | as_ln_s='cp -pR' |
489 | elif ln conf$$.file conf$$ 2>/dev/null; then |
529 | elif ln conf$$.file conf$$ 2>/dev/null; then |
490 | as_ln_s=ln |
530 | as_ln_s=ln |
491 | else |
531 | else |
492 | as_ln_s='cp -p' |
532 | as_ln_s='cp -pR' |
493 | fi |
533 | fi |
494 | else |
534 | else |
495 | as_ln_s='cp -p' |
535 | as_ln_s='cp -pR' |
496 | fi |
536 | fi |
497 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
537 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
498 | rmdir conf$$.dir 2>/dev/null |
538 | rmdir conf$$.dir 2>/dev/null |
499 | |
539 | |
500 | if mkdir -p . 2>/dev/null; then |
540 | if mkdir -p . 2>/dev/null; then |
… | |
… | |
502 | else |
542 | else |
503 | test -d ./-p && rmdir ./-p |
543 | test -d ./-p && rmdir ./-p |
504 | as_mkdir_p=false |
544 | as_mkdir_p=false |
505 | fi |
545 | fi |
506 | |
546 | |
507 | if test -x / >/dev/null 2>&1; then |
|
|
508 | as_test_x='test -x' |
547 | as_test_x='test -x' |
509 | else |
548 | as_executable_p=as_fn_executable_p |
510 | if ls -dL / >/dev/null 2>&1; then |
|
|
511 | as_ls_L_option=L |
|
|
512 | else |
|
|
513 | as_ls_L_option= |
|
|
514 | fi |
|
|
515 | as_test_x=' |
|
|
516 | eval sh -c '\'' |
|
|
517 | if test -d "$1"; then |
|
|
518 | test -d "$1/."; |
|
|
519 | else |
|
|
520 | case $1 in #( |
|
|
521 | -*)set "./$1";; |
|
|
522 | esac; |
|
|
523 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
|
524 | ???[sx]*):;;*)false;;esac;fi |
|
|
525 | '\'' sh |
|
|
526 | ' |
|
|
527 | fi |
|
|
528 | as_executable_p=$as_test_x |
|
|
529 | |
549 | |
530 | # Sed expression to map a string onto a valid CPP name. |
550 | # Sed expression to map a string onto a valid CPP name. |
531 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
551 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
532 | |
552 | |
533 | # Sed expression to map a string onto a valid variable name. |
553 | # Sed expression to map a string onto a valid variable name. |
… | |
… | |
606 | PERLPRIVLIBEXP |
626 | PERLPRIVLIBEXP |
607 | PERLFLAGS |
627 | PERLFLAGS |
608 | PERLLIB |
628 | PERLLIB |
609 | PERL |
629 | PERL |
610 | XFT_CONFIG |
630 | XFT_CONFIG |
611 | AFTERIMAGE_LIBS |
|
|
612 | AFTERIMAGE_CFLAGS |
|
|
613 | afterimage_config |
|
|
614 | STARTUP_NOTIFICATION_LIBS |
631 | STARTUP_NOTIFICATION_LIBS |
615 | STARTUP_NOTIFICATION_CFLAGS |
632 | STARTUP_NOTIFICATION_CFLAGS |
616 | PIXBUF_LIBS |
633 | PIXBUF_LIBS |
617 | PIXBUF_CFLAGS |
634 | PIXBUF_CFLAGS |
618 | PKG_CONFIG |
635 | PKG_CONFIG |
… | |
… | |
625 | CXXCPP |
642 | CXXCPP |
626 | RXVTNAME |
643 | RXVTNAME |
627 | LINKER |
644 | LINKER |
628 | EGREP |
645 | EGREP |
629 | GREP |
646 | GREP |
|
|
647 | CPP |
630 | INSTALL_DATA |
648 | INSTALL_DATA |
631 | INSTALL_SCRIPT |
649 | INSTALL_SCRIPT |
632 | INSTALL_PROGRAM |
650 | INSTALL_PROGRAM |
633 | CPP |
|
|
634 | ac_ct_CXX |
651 | ac_ct_CXX |
635 | CXXFLAGS |
652 | CXXFLAGS |
636 | CXX |
653 | CXX |
637 | OBJEXT |
654 | OBJEXT |
638 | EXEEXT |
655 | EXEEXT |
… | |
… | |
698 | enable_256_color |
715 | enable_256_color |
699 | enable_unicode3 |
716 | enable_unicode3 |
700 | enable_combining |
717 | enable_combining |
701 | enable_xft |
718 | enable_xft |
702 | enable_font_styles |
719 | enable_font_styles |
703 | enable_afterimage |
|
|
704 | with_afterimage_config |
|
|
705 | enable_pixbuf |
720 | enable_pixbuf |
706 | enable_startup_notification |
721 | enable_startup_notification |
707 | enable_transparency |
722 | enable_transparency |
708 | enable_fading |
723 | enable_fading |
709 | enable_rxvt_scroll |
724 | enable_rxvt_scroll |
… | |
… | |
1204 | |
1219 | |
1205 | # FIXME: To remove some day. |
1220 | # FIXME: To remove some day. |
1206 | if test "x$host_alias" != x; then |
1221 | if test "x$host_alias" != x; then |
1207 | if test "x$build_alias" = x; then |
1222 | if test "x$build_alias" = x; then |
1208 | cross_compiling=maybe |
1223 | cross_compiling=maybe |
1209 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
|
|
1210 | If a cross compiler is detected then cross compile mode will be used" >&2 |
|
|
1211 | elif test "x$build_alias" != "x$host_alias"; then |
1224 | elif test "x$build_alias" != "x$host_alias"; then |
1212 | cross_compiling=yes |
1225 | cross_compiling=yes |
1213 | fi |
1226 | fi |
1214 | fi |
1227 | fi |
1215 | |
1228 | |
… | |
… | |
1375 | --enable-256-color enable 256-color support |
1388 | --enable-256-color enable 256-color support |
1376 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1389 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1377 | --enable-combining enable composition of base and combining characters |
1390 | --enable-combining enable composition of base and combining characters |
1378 | --enable-xft enable xft support on systems that have it |
1391 | --enable-xft enable xft support on systems that have it |
1379 | --enable-font-styles enable bold and italic support |
1392 | --enable-font-styles enable bold and italic support |
1380 | --enable-afterimage enable integration with libAfterImage for background images |
|
|
1381 | --enable-pixbuf enable integration with gdk-pixbuf for background images |
1393 | --enable-pixbuf enable integration with gdk-pixbuf for background images |
1382 | --enable-startup-notification enable freedesktop startup notification support |
1394 | --enable-startup-notification enable freedesktop startup notification support |
1383 | --enable-transparency enable transparent backgrounds |
1395 | --enable-transparency enable transparent backgrounds |
1384 | --enable-fading enable colors fading when off focus |
1396 | --enable-fading enable colors fading when off focus |
1385 | --enable-rxvt-scroll enable rxvt style scrollbar |
1397 | --enable-rxvt-scroll enable rxvt style scrollbar |
… | |
… | |
1407 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1419 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1408 | |
1420 | |
1409 | Optional Packages: |
1421 | Optional Packages: |
1410 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1422 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1411 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1423 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1412 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
|
|
1413 | --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1424 | --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1414 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1425 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1415 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1426 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1416 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1427 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1417 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1428 | --with-term=NAME set the terminal to NAME (default: rxvt) |
… | |
… | |
1497 | |
1508 | |
1498 | test -n "$ac_init_help" && exit $ac_status |
1509 | test -n "$ac_init_help" && exit $ac_status |
1499 | if $ac_init_version; then |
1510 | if $ac_init_version; then |
1500 | cat <<\_ACEOF |
1511 | cat <<\_ACEOF |
1501 | configure |
1512 | configure |
1502 | generated by GNU Autoconf 2.68 |
1513 | generated by GNU Autoconf 2.69 |
1503 | |
1514 | |
1504 | Copyright (C) 2010 Free Software Foundation, Inc. |
1515 | Copyright (C) 2012 Free Software Foundation, Inc. |
1505 | This configure script is free software; the Free Software Foundation |
1516 | This configure script is free software; the Free Software Foundation |
1506 | gives unlimited permission to copy, distribute and modify it. |
1517 | gives unlimited permission to copy, distribute and modify it. |
1507 | _ACEOF |
1518 | _ACEOF |
1508 | exit |
1519 | exit |
1509 | fi |
1520 | fi |
… | |
… | |
1810 | test $ac_status = 0; } && { |
1821 | test $ac_status = 0; } && { |
1811 | test -z "$ac_c_werror_flag" || |
1822 | test -z "$ac_c_werror_flag" || |
1812 | test ! -s conftest.err |
1823 | test ! -s conftest.err |
1813 | } && test -s conftest$ac_exeext && { |
1824 | } && test -s conftest$ac_exeext && { |
1814 | test "$cross_compiling" = yes || |
1825 | test "$cross_compiling" = yes || |
1815 | $as_test_x conftest$ac_exeext |
1826 | test -x conftest$ac_exeext |
1816 | }; then : |
1827 | }; then : |
1817 | ac_retval=0 |
1828 | ac_retval=0 |
1818 | else |
1829 | else |
1819 | $as_echo "$as_me: failed program was:" >&5 |
1830 | $as_echo "$as_me: failed program was:" >&5 |
1820 | sed 's/^/| /' conftest.$ac_ext >&5 |
1831 | sed 's/^/| /' conftest.$ac_ext >&5 |
… | |
… | |
1856 | test $ac_status = 0; } && { |
1867 | test $ac_status = 0; } && { |
1857 | test -z "$ac_cxx_werror_flag" || |
1868 | test -z "$ac_cxx_werror_flag" || |
1858 | test ! -s conftest.err |
1869 | test ! -s conftest.err |
1859 | } && test -s conftest$ac_exeext && { |
1870 | } && test -s conftest$ac_exeext && { |
1860 | test "$cross_compiling" = yes || |
1871 | test "$cross_compiling" = yes || |
1861 | $as_test_x conftest$ac_exeext |
1872 | test -x conftest$ac_exeext |
1862 | }; then : |
1873 | }; then : |
1863 | ac_retval=0 |
1874 | ac_retval=0 |
1864 | else |
1875 | else |
1865 | $as_echo "$as_me: failed program was:" >&5 |
1876 | $as_echo "$as_me: failed program was:" >&5 |
1866 | sed 's/^/| /' conftest.$ac_ext >&5 |
1877 | sed 's/^/| /' conftest.$ac_ext >&5 |
… | |
… | |
2145 | enum { N = $2 / 2 - 1 }; |
2156 | enum { N = $2 / 2 - 1 }; |
2146 | int |
2157 | int |
2147 | main () |
2158 | main () |
2148 | { |
2159 | { |
2149 | static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; |
2160 | static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; |
2150 | test_array [0] = 0 |
2161 | test_array [0] = 0; |
|
|
2162 | return test_array [0]; |
2151 | |
2163 | |
2152 | ; |
2164 | ; |
2153 | return 0; |
2165 | return 0; |
2154 | } |
2166 | } |
2155 | _ACEOF |
2167 | _ACEOF |
… | |
… | |
2161 | int |
2173 | int |
2162 | main () |
2174 | main () |
2163 | { |
2175 | { |
2164 | static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) |
2176 | static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) |
2165 | < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; |
2177 | < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; |
2166 | test_array [0] = 0 |
2178 | test_array [0] = 0; |
|
|
2179 | return test_array [0]; |
2167 | |
2180 | |
2168 | ; |
2181 | ; |
2169 | return 0; |
2182 | return 0; |
2170 | } |
2183 | } |
2171 | _ACEOF |
2184 | _ACEOF |
… | |
… | |
2218 | $ac_includes_default |
2231 | $ac_includes_default |
2219 | int |
2232 | int |
2220 | main () |
2233 | main () |
2221 | { |
2234 | { |
2222 | static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; |
2235 | static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; |
2223 | test_array [0] = 0 |
2236 | test_array [0] = 0; |
|
|
2237 | return test_array [0]; |
2224 | |
2238 | |
2225 | ; |
2239 | ; |
2226 | return 0; |
2240 | return 0; |
2227 | } |
2241 | } |
2228 | _ACEOF |
2242 | _ACEOF |
… | |
… | |
2293 | cat >config.log <<_ACEOF |
2307 | cat >config.log <<_ACEOF |
2294 | This file contains any messages produced by compilers while |
2308 | This file contains any messages produced by compilers while |
2295 | running configure, to aid debugging if configure makes a mistake. |
2309 | running configure, to aid debugging if configure makes a mistake. |
2296 | |
2310 | |
2297 | It was created by $as_me, which was |
2311 | It was created by $as_me, which was |
2298 | generated by GNU Autoconf 2.68. Invocation command line was |
2312 | generated by GNU Autoconf 2.69. Invocation command line was |
2299 | |
2313 | |
2300 | $ $0 $@ |
2314 | $ $0 $@ |
2301 | |
2315 | |
2302 | _ACEOF |
2316 | _ACEOF |
2303 | exec 5>>config.log |
2317 | exec 5>>config.log |
… | |
… | |
2746 | IFS=$ac_save_IFS |
2760 | IFS=$ac_save_IFS |
2747 | 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 |
2748 | |
2762 | |
2749 | |
2763 | |
2750 | |
2764 | |
2751 | 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` |
2752 | 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` |
2753 | |
2767 | |
2754 | echo "" |
2768 | echo "" |
2755 | echo "configuring for rxvt $VERSION" |
2769 | echo "configuring for rxvt $VERSION" |
2756 | echo "" |
2770 | echo "" |
2757 | |
2771 | |
… | |
… | |
2777 | for as_dir in $PATH |
2791 | for as_dir in $PATH |
2778 | do |
2792 | do |
2779 | IFS=$as_save_IFS |
2793 | IFS=$as_save_IFS |
2780 | test -z "$as_dir" && as_dir=. |
2794 | test -z "$as_dir" && as_dir=. |
2781 | for ac_exec_ext in '' $ac_executable_extensions; do |
2795 | for ac_exec_ext in '' $ac_executable_extensions; do |
2782 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2796 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2783 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2797 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2784 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2798 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2785 | break 2 |
2799 | break 2 |
2786 | fi |
2800 | fi |
2787 | done |
2801 | done |
… | |
… | |
2817 | for as_dir in $PATH |
2831 | for as_dir in $PATH |
2818 | do |
2832 | do |
2819 | IFS=$as_save_IFS |
2833 | IFS=$as_save_IFS |
2820 | test -z "$as_dir" && as_dir=. |
2834 | test -z "$as_dir" && as_dir=. |
2821 | for ac_exec_ext in '' $ac_executable_extensions; do |
2835 | for ac_exec_ext in '' $ac_executable_extensions; do |
2822 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2836 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2823 | ac_cv_prog_ac_ct_CC="gcc" |
2837 | ac_cv_prog_ac_ct_CC="gcc" |
2824 | $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 |
2825 | break 2 |
2839 | break 2 |
2826 | fi |
2840 | fi |
2827 | done |
2841 | done |
… | |
… | |
2870 | for as_dir in $PATH |
2884 | for as_dir in $PATH |
2871 | do |
2885 | do |
2872 | IFS=$as_save_IFS |
2886 | IFS=$as_save_IFS |
2873 | test -z "$as_dir" && as_dir=. |
2887 | test -z "$as_dir" && as_dir=. |
2874 | for ac_exec_ext in '' $ac_executable_extensions; do |
2888 | for ac_exec_ext in '' $ac_executable_extensions; do |
2875 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2889 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2876 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2890 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2877 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2891 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2878 | break 2 |
2892 | break 2 |
2879 | fi |
2893 | fi |
2880 | done |
2894 | done |
… | |
… | |
2911 | for as_dir in $PATH |
2925 | for as_dir in $PATH |
2912 | do |
2926 | do |
2913 | IFS=$as_save_IFS |
2927 | IFS=$as_save_IFS |
2914 | test -z "$as_dir" && as_dir=. |
2928 | test -z "$as_dir" && as_dir=. |
2915 | for ac_exec_ext in '' $ac_executable_extensions; do |
2929 | for ac_exec_ext in '' $ac_executable_extensions; do |
2916 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2930 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2917 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2931 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2918 | ac_prog_rejected=yes |
2932 | ac_prog_rejected=yes |
2919 | continue |
2933 | continue |
2920 | fi |
2934 | fi |
2921 | ac_cv_prog_CC="cc" |
2935 | ac_cv_prog_CC="cc" |
… | |
… | |
2969 | for as_dir in $PATH |
2983 | for as_dir in $PATH |
2970 | do |
2984 | do |
2971 | IFS=$as_save_IFS |
2985 | IFS=$as_save_IFS |
2972 | test -z "$as_dir" && as_dir=. |
2986 | test -z "$as_dir" && as_dir=. |
2973 | for ac_exec_ext in '' $ac_executable_extensions; do |
2987 | for ac_exec_ext in '' $ac_executable_extensions; do |
2974 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2988 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2975 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2989 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2976 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2990 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2977 | break 2 |
2991 | break 2 |
2978 | fi |
2992 | fi |
2979 | done |
2993 | done |
… | |
… | |
3013 | for as_dir in $PATH |
3027 | for as_dir in $PATH |
3014 | do |
3028 | do |
3015 | IFS=$as_save_IFS |
3029 | IFS=$as_save_IFS |
3016 | test -z "$as_dir" && as_dir=. |
3030 | test -z "$as_dir" && as_dir=. |
3017 | for ac_exec_ext in '' $ac_executable_extensions; do |
3031 | for ac_exec_ext in '' $ac_executable_extensions; do |
3018 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3032 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3019 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3033 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3020 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3034 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3021 | break 2 |
3035 | break 2 |
3022 | fi |
3036 | fi |
3023 | done |
3037 | done |
… | |
… | |
3459 | ac_save_CC=$CC |
3473 | ac_save_CC=$CC |
3460 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3474 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3461 | /* end confdefs.h. */ |
3475 | /* end confdefs.h. */ |
3462 | #include <stdarg.h> |
3476 | #include <stdarg.h> |
3463 | #include <stdio.h> |
3477 | #include <stdio.h> |
3464 | #include <sys/types.h> |
3478 | struct stat; |
3465 | #include <sys/stat.h> |
|
|
3466 | /* 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. */ |
3467 | struct buf { int x; }; |
3480 | struct buf { int x; }; |
3468 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3481 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3469 | static char *e (p, i) |
3482 | static char *e (p, i) |
3470 | char **p; |
3483 | char **p; |
… | |
… | |
3573 | for as_dir in $PATH |
3586 | for as_dir in $PATH |
3574 | do |
3587 | do |
3575 | IFS=$as_save_IFS |
3588 | IFS=$as_save_IFS |
3576 | test -z "$as_dir" && as_dir=. |
3589 | test -z "$as_dir" && as_dir=. |
3577 | for ac_exec_ext in '' $ac_executable_extensions; do |
3590 | for ac_exec_ext in '' $ac_executable_extensions; do |
3578 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3591 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3579 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
3592 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
3580 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3593 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3581 | break 2 |
3594 | break 2 |
3582 | fi |
3595 | fi |
3583 | done |
3596 | done |
… | |
… | |
3617 | for as_dir in $PATH |
3630 | for as_dir in $PATH |
3618 | do |
3631 | do |
3619 | IFS=$as_save_IFS |
3632 | IFS=$as_save_IFS |
3620 | test -z "$as_dir" && as_dir=. |
3633 | test -z "$as_dir" && as_dir=. |
3621 | for ac_exec_ext in '' $ac_executable_extensions; do |
3634 | for ac_exec_ext in '' $ac_executable_extensions; do |
3622 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3635 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3623 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
3636 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
3624 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3637 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3625 | break 2 |
3638 | break 2 |
3626 | fi |
3639 | fi |
3627 | done |
3640 | done |
… | |
… | |
3802 | ac_cpp='$CPP $CPPFLAGS' |
3815 | ac_cpp='$CPP $CPPFLAGS' |
3803 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3816 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3804 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3817 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3805 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3818 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3806 | |
3819 | |
3807 | ac_ext=c |
|
|
3808 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3809 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3810 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3811 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3812 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
|
3813 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
|
3814 | # On Suns, sometimes $CPP names a directory. |
|
|
3815 | if test -n "$CPP" && test -d "$CPP"; then |
|
|
3816 | CPP= |
|
|
3817 | fi |
|
|
3818 | if test -z "$CPP"; then |
|
|
3819 | if ${ac_cv_prog_CPP+:} false; then : |
|
|
3820 | $as_echo_n "(cached) " >&6 |
|
|
3821 | else |
|
|
3822 | # Double quotes because CPP needs to be expanded |
|
|
3823 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
3824 | do |
|
|
3825 | ac_preproc_ok=false |
|
|
3826 | for ac_c_preproc_warn_flag in '' yes |
|
|
3827 | do |
|
|
3828 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3829 | # with a fresh cross-compiler works. |
|
|
3830 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3831 | # <limits.h> exists even on freestanding compilers. |
|
|
3832 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3833 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3834 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3835 | /* end confdefs.h. */ |
|
|
3836 | #ifdef __STDC__ |
|
|
3837 | # include <limits.h> |
|
|
3838 | #else |
|
|
3839 | # include <assert.h> |
|
|
3840 | #endif |
|
|
3841 | Syntax error |
|
|
3842 | _ACEOF |
|
|
3843 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3844 | |
|
|
3845 | else |
|
|
3846 | # Broken: fails on valid input. |
|
|
3847 | continue |
|
|
3848 | fi |
|
|
3849 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3850 | |
|
|
3851 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3852 | # can be detected and how. |
|
|
3853 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3854 | /* end confdefs.h. */ |
|
|
3855 | #include <ac_nonexistent.h> |
|
|
3856 | _ACEOF |
|
|
3857 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3858 | # Broken: success on invalid input. |
|
|
3859 | continue |
|
|
3860 | else |
|
|
3861 | # Passes both tests. |
|
|
3862 | ac_preproc_ok=: |
|
|
3863 | break |
|
|
3864 | fi |
|
|
3865 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3866 | |
|
|
3867 | done |
|
|
3868 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3869 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3870 | if $ac_preproc_ok; then : |
|
|
3871 | break |
|
|
3872 | fi |
|
|
3873 | |
|
|
3874 | done |
|
|
3875 | ac_cv_prog_CPP=$CPP |
|
|
3876 | |
|
|
3877 | fi |
|
|
3878 | CPP=$ac_cv_prog_CPP |
|
|
3879 | else |
|
|
3880 | ac_cv_prog_CPP=$CPP |
|
|
3881 | fi |
|
|
3882 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
|
3883 | $as_echo "$CPP" >&6; } |
|
|
3884 | ac_preproc_ok=false |
|
|
3885 | for ac_c_preproc_warn_flag in '' yes |
|
|
3886 | do |
|
|
3887 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3888 | # with a fresh cross-compiler works. |
|
|
3889 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3890 | # <limits.h> exists even on freestanding compilers. |
|
|
3891 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3892 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3893 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3894 | /* end confdefs.h. */ |
|
|
3895 | #ifdef __STDC__ |
|
|
3896 | # include <limits.h> |
|
|
3897 | #else |
|
|
3898 | # include <assert.h> |
|
|
3899 | #endif |
|
|
3900 | Syntax error |
|
|
3901 | _ACEOF |
|
|
3902 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3903 | |
|
|
3904 | else |
|
|
3905 | # Broken: fails on valid input. |
|
|
3906 | continue |
|
|
3907 | fi |
|
|
3908 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3909 | |
|
|
3910 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3911 | # can be detected and how. |
|
|
3912 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3913 | /* end confdefs.h. */ |
|
|
3914 | #include <ac_nonexistent.h> |
|
|
3915 | _ACEOF |
|
|
3916 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3917 | # Broken: success on invalid input. |
|
|
3918 | continue |
|
|
3919 | else |
|
|
3920 | # Passes both tests. |
|
|
3921 | ac_preproc_ok=: |
|
|
3922 | break |
|
|
3923 | fi |
|
|
3924 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3925 | |
|
|
3926 | done |
|
|
3927 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3928 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3929 | if $ac_preproc_ok; then : |
|
|
3930 | |
|
|
3931 | else |
|
|
3932 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
3933 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
3934 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
|
3935 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
3936 | fi |
|
|
3937 | |
|
|
3938 | ac_ext=c |
|
|
3939 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3940 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3941 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3942 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3943 | |
|
|
3944 | # Find a good install program. We prefer a C program (faster), |
3820 | # Find a good install program. We prefer a C program (faster), |
3945 | # so one script is as good as another. But avoid the broken or |
3821 | # so one script is as good as another. But avoid the broken or |
3946 | # incompatible versions: |
3822 | # incompatible versions: |
3947 | # SysV /etc/install, /usr/sbin/install |
3823 | # SysV /etc/install, /usr/sbin/install |
3948 | # SunOS /usr/etc/install |
3824 | # SunOS /usr/etc/install |
… | |
… | |
3976 | # 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. |
3977 | # 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 |
3978 | # by default. |
3854 | # by default. |
3979 | for ac_prog in ginstall scoinst install; do |
3855 | for ac_prog in ginstall scoinst install; do |
3980 | for ac_exec_ext in '' $ac_executable_extensions; do |
3856 | for ac_exec_ext in '' $ac_executable_extensions; do |
3981 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
3857 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
3982 | if test $ac_prog = install && |
3858 | if test $ac_prog = install && |
3983 | 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 |
3984 | # AIX install. It has an incompatible calling convention. |
3860 | # AIX install. It has an incompatible calling convention. |
3985 | : |
3861 | : |
3986 | elif test $ac_prog = install && |
3862 | elif test $ac_prog = install && |
… | |
… | |
4034 | |
3910 | |
4035 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3911 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
4036 | |
3912 | |
4037 | |
3913 | |
4038 | |
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 | |
4039 | |
4052 | |
4040 | { $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 |
4041 | $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; } |
4042 | if ${ac_cv_path_GREP+:} false; then : |
4055 | if ${ac_cv_path_GREP+:} false; then : |
4043 | $as_echo_n "(cached) " >&6 |
4056 | $as_echo_n "(cached) " >&6 |
… | |
… | |
4051 | IFS=$as_save_IFS |
4064 | IFS=$as_save_IFS |
4052 | test -z "$as_dir" && as_dir=. |
4065 | test -z "$as_dir" && as_dir=. |
4053 | for ac_prog in grep ggrep; do |
4066 | for ac_prog in grep ggrep; do |
4054 | for ac_exec_ext in '' $ac_executable_extensions; do |
4067 | for ac_exec_ext in '' $ac_executable_extensions; do |
4055 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4068 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4056 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4069 | as_fn_executable_p "$ac_path_GREP" || continue |
4057 | # 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. |
4058 | # Check for GNU $ac_path_GREP |
4071 | # Check for GNU $ac_path_GREP |
4059 | case `"$ac_path_GREP" --version 2>&1` in |
4072 | case `"$ac_path_GREP" --version 2>&1` in |
4060 | *GNU*) |
4073 | *GNU*) |
4061 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
4074 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
… | |
… | |
4117 | IFS=$as_save_IFS |
4130 | IFS=$as_save_IFS |
4118 | test -z "$as_dir" && as_dir=. |
4131 | test -z "$as_dir" && as_dir=. |
4119 | for ac_prog in egrep; do |
4132 | for ac_prog in egrep; do |
4120 | for ac_exec_ext in '' $ac_executable_extensions; do |
4133 | for ac_exec_ext in '' $ac_executable_extensions; do |
4121 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4134 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4122 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
4135 | as_fn_executable_p "$ac_path_EGREP" || continue |
4123 | # 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. |
4124 | # Check for GNU $ac_path_EGREP |
4137 | # Check for GNU $ac_path_EGREP |
4125 | case `"$ac_path_EGREP" --version 2>&1` in |
4138 | case `"$ac_path_EGREP" --version 2>&1` in |
4126 | *GNU*) |
4139 | *GNU*) |
4127 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
4140 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
… | |
… | |
4324 | $as_echo_n "(cached) " >&6 |
4337 | $as_echo_n "(cached) " >&6 |
4325 | else |
4338 | else |
4326 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4339 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4327 | /* end confdefs.h. */ |
4340 | /* end confdefs.h. */ |
4328 | |
4341 | |
4329 | # define __EXTENSIONS__ 1 |
4342 | # define __EXTENSIONS__ 1 |
4330 | $ac_includes_default |
4343 | $ac_includes_default |
4331 | int |
4344 | int |
4332 | main () |
4345 | main () |
4333 | { |
4346 | { |
4334 | |
4347 | |
4335 | ; |
4348 | ; |
… | |
… | |
4420 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4433 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4421 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4434 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4422 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4435 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4423 | |
4436 | |
4424 | |
4437 | |
|
|
4438 | LINKER="$CXX" |
4425 | if test x$GCC = xyes && test x$GXX = xyes; then |
4439 | if test x$GCC = xyes && test x$GXX = xyes; then |
4426 | { $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 |
4427 | $as_echo_n "checking for working libsupc++... " >&6; } |
4441 | $as_echo_n "checking for working libsupc++... " >&6; } |
4428 | save_CXX="$CXX" |
4442 | save_CXX="$CXX" |
4429 | save_LIBS="$LIBS" |
4443 | save_LIBS="$LIBS" |
4430 | CXX="$CC" |
4444 | CXX="$CC" |
4431 | LIBS="$LIBS -lsupc++" |
4445 | LIBS="$LIBS -lsupc++" |
4432 | LINKER="$CC" |
|
|
4433 | |
4446 | |
4434 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4447 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4435 | /* end confdefs.h. */ |
4448 | /* end confdefs.h. */ |
4436 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
4449 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
4437 | int |
4450 | int |
… | |
… | |
4443 | } |
4456 | } |
4444 | _ACEOF |
4457 | _ACEOF |
4445 | if ac_fn_cxx_try_link "$LINENO"; then : |
4458 | if ac_fn_cxx_try_link "$LINENO"; then : |
4446 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
4459 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
4447 | $as_echo "ok" >&6; } |
4460 | $as_echo "ok" >&6; } |
|
|
4461 | LINKER="$CC" |
4448 | else |
4462 | else |
4449 | |
4463 | |
4450 | { $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 |
4451 | $as_echo "no, making everything bigger and slower" >&6; } |
4465 | $as_echo "no, making everything bigger and slower" >&6; } |
4452 | LIBS="$save_LIBS" |
4466 | LIBS="$save_LIBS" |
4453 | LINKER="$save_CXX" |
|
|
4454 | |
4467 | |
4455 | |
4468 | |
4456 | fi |
4469 | fi |
4457 | rm -f core conftest.err conftest.$ac_objext \ |
4470 | rm -f core conftest.err conftest.$ac_objext \ |
4458 | conftest$ac_exeext conftest.$ac_ext |
4471 | conftest$ac_exeext conftest.$ac_ext |
… | |
… | |
4484 | else |
4497 | else |
4485 | CXXFLAGS="-O" |
4498 | CXXFLAGS="-O" |
4486 | fi |
4499 | fi |
4487 | CFLAGS="$CXXFLAGS" |
4500 | CFLAGS="$CXXFLAGS" |
4488 | fi |
4501 | fi |
4489 | |
|
|
4490 | case $host in |
|
|
4491 | *-*-solaris* ) |
|
|
4492 | |
|
|
4493 | $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h |
|
|
4494 | |
|
|
4495 | ;; |
|
|
4496 | esac |
|
|
4497 | |
4502 | |
4498 | { $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 |
4499 | $as_echo_n "checking for library containing setlocale... " >&6; } |
4504 | $as_echo_n "checking for library containing setlocale... " >&6; } |
4500 | if ${ac_cv_search_setlocale+:} false; then : |
4505 | if ${ac_cv_search_setlocale+:} false; then : |
4501 | $as_echo_n "(cached) " >&6 |
4506 | $as_echo_n "(cached) " >&6 |
… | |
… | |
4678 | support_scroll_next=yes |
4683 | support_scroll_next=yes |
4679 | support_scroll_xterm=yes |
4684 | support_scroll_xterm=yes |
4680 | support_xim=yes |
4685 | support_xim=yes |
4681 | support_pixbuf=yes |
4686 | support_pixbuf=yes |
4682 | support_startup_notification=yes |
4687 | support_startup_notification=yes |
4683 | support_afterimage=yes |
|
|
4684 | support_xft=yes |
4688 | support_xft=yes |
4685 | support_unicode3=no |
4689 | support_unicode3=no |
4686 | support_combining=yes |
4690 | support_combining=yes |
4687 | support_8bitctrls=no |
4691 | support_8bitctrls=no |
4688 | support_iso14755=yes |
4692 | support_iso14755=yes |
… | |
… | |
4711 | support_utmp=no |
4715 | support_utmp=no |
4712 | support_wtmp=no |
4716 | support_wtmp=no |
4713 | support_xim=no |
4717 | support_xim=no |
4714 | support_pixbuf=no |
4718 | support_pixbuf=no |
4715 | support_startup_notification=no |
4719 | support_startup_notification=no |
4716 | support_afterimage=no |
|
|
4717 | support_xft=no |
4720 | support_xft=no |
4718 | support_unicode3=no |
4721 | support_unicode3=no |
4719 | support_combining=no |
4722 | support_combining=no |
4720 | support_8bitctrls=no |
4723 | support_8bitctrls=no |
4721 | support_iso14755=no |
4724 | support_iso14755=no |
… | |
… | |
4740 | support_utmp=yes |
4743 | support_utmp=yes |
4741 | support_wtmp=yes |
4744 | support_wtmp=yes |
4742 | support_xim=yes |
4745 | support_xim=yes |
4743 | support_pixbuf=yes |
4746 | support_pixbuf=yes |
4744 | support_startup_notification=yes |
4747 | support_startup_notification=yes |
4745 | support_afterimage=yes |
|
|
4746 | support_xft=yes |
4748 | support_xft=yes |
4747 | support_unicode3=yes |
4749 | support_unicode3=yes |
4748 | support_combining=yes |
4750 | support_combining=yes |
4749 | #support_8bitctrls=yes |
4751 | #support_8bitctrls=yes |
4750 | support_iso14755=yes |
4752 | support_iso14755=yes |
… | |
… | |
4754 | fi |
4756 | fi |
4755 | |
4757 | |
4756 | fi |
4758 | fi |
4757 | |
4759 | |
4758 | |
4760 | |
4759 | ASSERTIONS=no |
4761 | support_assertions=no |
4760 | # Check whether --enable-assert was given. |
4762 | # Check whether --enable-assert was given. |
4761 | if test "${enable_assert+set}" = set; then : |
4763 | if test "${enable_assert+set}" = set; then : |
4762 | enableval=$enable_assert; if test x$enableval = xyes; then |
4764 | enableval=$enable_assert; if test x$enableval = xyes; then |
4763 | ASSERTIONS=yes |
4765 | support_assertions=yes |
4764 | fi |
4766 | fi |
4765 | fi |
4767 | fi |
4766 | |
4768 | |
4767 | if test x$ASSERTIONS = xno; then |
4769 | if test x$support_assertions = xno; then |
4768 | |
4770 | |
4769 | $as_echo "#define NDEBUG 1" >>confdefs.h |
4771 | $as_echo "#define NDEBUG 1" >>confdefs.h |
4770 | |
4772 | |
4771 | fi |
4773 | fi |
4772 | |
4774 | |
4773 | WARNINGS=no |
4775 | support_warnings=no |
4774 | # Check whether --enable-warnings was given. |
4776 | # Check whether --enable-warnings was given. |
4775 | if test "${enable_warnings+set}" = set; then : |
4777 | if test "${enable_warnings+set}" = set; then : |
4776 | enableval=$enable_warnings; if test x$enableval = xyes; then |
4778 | enableval=$enable_warnings; if test x$enableval = xyes; then |
4777 | WARNINGS=yes |
4779 | support_warnings=yes |
4778 | fi |
4780 | fi |
4779 | fi |
4781 | fi |
4780 | |
4782 | |
4781 | if test x$GXX = xyes; then |
4783 | if test x$GXX = xyes; then |
4782 | if test $WARNINGS = yes; then |
4784 | if test $support_warnings = yes; then |
4783 | save_CXXFLAGS="$CXXFLAGS" |
4785 | save_CXXFLAGS="$CXXFLAGS" |
4784 | CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-non-virtual-dtor" |
4786 | CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-unused-value" |
4785 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4787 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4786 | /* end confdefs.h. */ |
4788 | /* end confdefs.h. */ |
4787 | |
4789 | |
4788 | int |
4790 | int |
4789 | main () |
4791 | main () |
… | |
… | |
4844 | |
4846 | |
4845 | # Check whether --enable-font-styles was given. |
4847 | # Check whether --enable-font-styles was given. |
4846 | if test "${enable_font_styles+set}" = set; then : |
4848 | if test "${enable_font_styles+set}" = set; then : |
4847 | enableval=$enable_font_styles; if test x$enableval = xyes -o x$enableval = xno; then |
4849 | enableval=$enable_font_styles; if test x$enableval = xyes -o x$enableval = xno; then |
4848 | support_styles=$enableval |
4850 | support_styles=$enableval |
4849 | fi |
|
|
4850 | fi |
|
|
4851 | |
|
|
4852 | |
|
|
4853 | # Check whether --enable-afterimage was given. |
|
|
4854 | if test "${enable_afterimage+set}" = set; then : |
|
|
4855 | enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4856 | support_afterimage=$enableval |
|
|
4857 | fi |
|
|
4858 | fi |
|
|
4859 | |
|
|
4860 | |
|
|
4861 | |
|
|
4862 | # Check whether --with-afterimage_config was given. |
|
|
4863 | if test "${with_afterimage_config+set}" = set; then : |
|
|
4864 | withval=$with_afterimage_config; if test "x$withval" != x; then |
|
|
4865 | afterimage_config=$withval/afterimage-config |
|
|
4866 | fi |
4851 | fi |
4867 | fi |
4852 | fi |
4868 | |
4853 | |
4869 | |
4854 | |
4870 | # Check whether --enable-pixbuf was given. |
4855 | # Check whether --enable-pixbuf was given. |
… | |
… | |
5577 | for as_dir in $PATH |
5562 | for as_dir in $PATH |
5578 | do |
5563 | do |
5579 | IFS=$as_save_IFS |
5564 | IFS=$as_save_IFS |
5580 | test -z "$as_dir" && as_dir=. |
5565 | test -z "$as_dir" && as_dir=. |
5581 | for ac_exec_ext in '' $ac_executable_extensions; do |
5566 | for ac_exec_ext in '' $ac_executable_extensions; do |
5582 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5567 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5583 | ac_cv_path_TIC="$as_dir/$ac_word$ac_exec_ext" |
5568 | ac_cv_path_TIC="$as_dir/$ac_word$ac_exec_ext" |
5584 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5569 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5585 | break 2 |
5570 | break 2 |
5586 | fi |
5571 | fi |
5587 | done |
5572 | done |
… | |
… | |
6310 | for as_dir in $PATH |
6295 | for as_dir in $PATH |
6311 | do |
6296 | do |
6312 | IFS=$as_save_IFS |
6297 | IFS=$as_save_IFS |
6313 | test -z "$as_dir" && as_dir=. |
6298 | test -z "$as_dir" && as_dir=. |
6314 | for ac_exec_ext in '' $ac_executable_extensions; do |
6299 | for ac_exec_ext in '' $ac_executable_extensions; do |
6315 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6300 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6316 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
6301 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
6317 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6302 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6318 | break 2 |
6303 | break 2 |
6319 | fi |
6304 | fi |
6320 | done |
6305 | done |
… | |
… | |
6345 | |
6330 | |
6346 | if test x$support_pixbuf = xyes; then |
6331 | if test x$support_pixbuf = xyes; then |
6347 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6332 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6348 | $as_echo "ok" >&6; } |
6333 | $as_echo "ok" >&6; } |
6349 | image_lib=gdk-pixbuf |
6334 | image_lib=gdk-pixbuf |
6350 | support_afterimage=no |
|
|
6351 | |
6335 | |
6352 | $as_echo "#define HAVE_PIXBUF 1" >>confdefs.h |
6336 | $as_echo "#define HAVE_PIXBUF 1" >>confdefs.h |
6353 | |
|
|
6354 | |
|
|
6355 | $as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h |
|
|
6356 | |
6337 | |
6357 | else |
6338 | else |
6358 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6339 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6359 | $as_echo "no" >&6; } |
6340 | $as_echo "no" >&6; } |
6360 | fi |
6341 | fi |
… | |
… | |
6384 | for as_dir in $PATH |
6365 | for as_dir in $PATH |
6385 | do |
6366 | do |
6386 | IFS=$as_save_IFS |
6367 | IFS=$as_save_IFS |
6387 | test -z "$as_dir" && as_dir=. |
6368 | test -z "$as_dir" && as_dir=. |
6388 | for ac_exec_ext in '' $ac_executable_extensions; do |
6369 | for ac_exec_ext in '' $ac_executable_extensions; do |
6389 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6370 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6390 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
6371 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
6391 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6372 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6392 | break 2 |
6373 | break 2 |
6393 | fi |
6374 | fi |
6394 | done |
6375 | done |
… | |
… | |
6424 | $as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h |
6405 | $as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h |
6425 | |
6406 | |
6426 | else |
6407 | else |
6427 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6408 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6428 | $as_echo "no" >&6; } |
6409 | $as_echo "no" >&6; } |
6429 | fi |
|
|
6430 | fi |
|
|
6431 | |
|
|
6432 | |
|
|
6433 | |
|
|
6434 | |
|
|
6435 | AFTERIMAGE_CFLAGS= |
|
|
6436 | AFTERIMAGE_LIBS= |
|
|
6437 | AFTERIMAGE_VERSION= |
|
|
6438 | |
|
|
6439 | if test x$support_afterimage = xyes; then |
|
|
6440 | support_afterimage=no |
|
|
6441 | |
|
|
6442 | if test "x$afterimage_config" = "x" ; then |
|
|
6443 | # Extract the first word of "afterimage-config", so it can be a program name with args. |
|
|
6444 | set dummy afterimage-config; ac_word=$2 |
|
|
6445 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
6446 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
6447 | if ${ac_cv_path_afterimage_config+:} false; then : |
|
|
6448 | $as_echo_n "(cached) " >&6 |
|
|
6449 | else |
|
|
6450 | case $afterimage_config in |
|
|
6451 | [\\/]* | ?:[\\/]*) |
|
|
6452 | ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path. |
|
|
6453 | ;; |
|
|
6454 | *) |
|
|
6455 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
6456 | for as_dir in $PATH |
|
|
6457 | do |
|
|
6458 | IFS=$as_save_IFS |
|
|
6459 | test -z "$as_dir" && as_dir=. |
|
|
6460 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
6461 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
6462 | ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext" |
|
|
6463 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
6464 | break 2 |
|
|
6465 | fi |
|
|
6466 | done |
|
|
6467 | done |
|
|
6468 | IFS=$as_save_IFS |
|
|
6469 | |
|
|
6470 | test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no" |
|
|
6471 | ;; |
|
|
6472 | esac |
|
|
6473 | fi |
|
|
6474 | afterimage_config=$ac_cv_path_afterimage_config |
|
|
6475 | if test -n "$afterimage_config"; then |
|
|
6476 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $afterimage_config" >&5 |
|
|
6477 | $as_echo "$afterimage_config" >&6; } |
|
|
6478 | else |
|
|
6479 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6480 | $as_echo "no" >&6; } |
|
|
6481 | fi |
|
|
6482 | |
|
|
6483 | |
|
|
6484 | fi |
|
|
6485 | if test "x$afterimage_config" != "xno" ; then |
|
|
6486 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libAfterImage version >= 1.15" >&5 |
|
|
6487 | $as_echo_n "checking for libAfterImage version >= 1.15... " >&6; } |
|
|
6488 | xAFTERIMAGE_VERSION=`$afterimage_config --version` |
|
|
6489 | if test -n "$xAFTERIMAGE_VERSION" ; then |
|
|
6490 | xAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
|
|
6491 | xAFTERIMAGE_LIBS=`$afterimage_config --libs` |
|
|
6492 | if test "x$xAFTERIMAGE_LIBS" != "x"; then |
|
|
6493 | libai_ver_major=`echo $xAFTERIMAGE_VERSION | cut -f 1 -d .` |
|
|
6494 | libai_ver_minor=`echo $xAFTERIMAGE_VERSION | cut -f 2 -d .` |
|
|
6495 | if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then |
|
|
6496 | support_afterimage=yes |
|
|
6497 | AFTERIMAGE_CFLAGS="$xAFTERIMAGE_CFLAGS" |
|
|
6498 | AFTERIMAGE_LIBS="$xAFTERIMAGE_LIBS" |
|
|
6499 | AFTERIMAGE_VERSION="$xAFTERIMAGE_VERSION" |
|
|
6500 | fi |
|
|
6501 | fi |
|
|
6502 | fi |
|
|
6503 | if test "x$support_afterimage" = "xyes"; then |
|
|
6504 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AFTERIMAGE_LIBS" >&5 |
|
|
6505 | $as_echo "$AFTERIMAGE_LIBS" >&6; } |
|
|
6506 | image_lib=libafterimage |
|
|
6507 | |
|
|
6508 | $as_echo "#define HAVE_AFTERIMAGE 1" >>confdefs.h |
|
|
6509 | |
|
|
6510 | |
|
|
6511 | $as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h |
|
|
6512 | |
|
|
6513 | else |
|
|
6514 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6515 | $as_echo "no" >&6; } |
|
|
6516 | fi |
|
|
6517 | fi |
6410 | fi |
6518 | fi |
6411 | fi |
6519 | |
6412 | |
6520 | |
6413 | |
6521 | |
6414 | |
… | |
… | |
6525 | sys/ioctl.h \ |
6418 | sys/ioctl.h \ |
6526 | sys/sockio.h \ |
6419 | sys/sockio.h \ |
6527 | sys/strredir.h \ |
6420 | sys/strredir.h \ |
6528 | stdint.h \ |
6421 | stdint.h \ |
6529 | wchar.h \ |
6422 | wchar.h \ |
6530 | cwchar \ |
|
|
6531 | |
6423 | |
6532 | do : |
6424 | do : |
6533 | 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` |
6534 | 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" |
6535 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
6427 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
… | |
… | |
6766 | fi |
6658 | fi |
6767 | |
6659 | |
6768 | done |
6660 | done |
6769 | |
6661 | |
6770 | |
6662 | |
|
|
6663 | case $host in |
|
|
6664 | *-*-solaris*) |
|
|
6665 | |
|
|
6666 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
|
|
6667 | |
|
|
6668 | ;; |
|
|
6669 | esac |
|
|
6670 | |
6771 | |
6671 | |
6772 | for ac_header in utmp.h |
6672 | for ac_header in utmp.h |
6773 | do : |
6673 | do : |
6774 | 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" |
6775 | if test "x$ac_cv_header_utmp_h" = xyes; then : |
6675 | if test "x$ac_cv_header_utmp_h" = xyes; then : |
… | |
… | |
6905 | |
6805 | |
6906 | " |
6806 | " |
6907 | if test "x$ac_cv_member_struct_utmpx_ut_host" = xyes; then : |
6807 | if test "x$ac_cv_member_struct_utmpx_ut_host" = xyes; then : |
6908 | |
6808 | |
6909 | $as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h |
6809 | $as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h |
6910 | |
|
|
6911 | fi |
|
|
6912 | |
|
|
6913 | |
|
|
6914 | ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_session" "ac_cv_member_struct_utmpx_ut_session" " |
|
|
6915 | #include <sys/types.h> |
|
|
6916 | #include <utmpx.h> |
|
|
6917 | |
|
|
6918 | " |
|
|
6919 | if test "x$ac_cv_member_struct_utmpx_ut_session" = xyes; then : |
|
|
6920 | |
|
|
6921 | $as_echo "#define HAVE_UTMPX_SESSION 1" >>confdefs.h |
|
|
6922 | |
6810 | |
6923 | fi |
6811 | fi |
6924 | |
6812 | |
6925 | |
6813 | |
6926 | fi |
6814 | fi |
… | |
… | |
7054 | if ${pt_cv_path_lastlog+:} false; then : |
6942 | if ${pt_cv_path_lastlog+:} false; then : |
7055 | $as_echo_n "(cached) " >&6 |
6943 | $as_echo_n "(cached) " >&6 |
7056 | else |
6944 | else |
7057 | |
6945 | |
7058 | if test "$cross_compiling" != yes; then |
6946 | if test "$cross_compiling" != yes; then |
7059 | for file in "/var/log/lastlog"; do |
6947 | for file in "/var/log/lastlog" "/var/adm/lastlog"; do |
7060 | if test -f "$file"; then |
6948 | if test -f "$file"; then |
7061 | pt_cv_path_lastlog=$file |
6949 | pt_cv_path_lastlog=$file |
7062 | break |
6950 | break |
7063 | fi |
6951 | fi |
7064 | done |
6952 | done |
… | |
… | |
7107 | |
6995 | |
7108 | |
6996 | |
7109 | |
6997 | |
7110 | |
6998 | |
7111 | save_LIBS=$LIBS |
6999 | save_LIBS=$LIBS |
7112 | save_CFLAGS=$CFLAGS |
7000 | save_CXXFLAGS=$CXXFLAGS |
7113 | CFLAGS="$CFLAGS $X_CFLAGS" |
7001 | CXXFLAGS="$CXXFLAGS $X_CFLAGS" |
7114 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
7002 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
7115 | if test x$support_xim = xyes; then |
7003 | if test x$support_xim = xyes; then |
7116 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 |
7004 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 |
7117 | $as_echo_n "checking for working Xlocale... " >&6; } |
7005 | $as_echo_n "checking for working Xlocale... " >&6; } |
7118 | if ${rxvt_cv_func_xlocale+:} false; then : |
7006 | if ${rxvt_cv_func_xlocale+:} false; then : |
… | |
… | |
7218 | |
7106 | |
7219 | $as_echo "#define HAVE_XSETLOCALE 1" >>confdefs.h |
7107 | $as_echo "#define HAVE_XSETLOCALE 1" >>confdefs.h |
7220 | |
7108 | |
7221 | fi |
7109 | fi |
7222 | LIBS=$save_LIBS |
7110 | LIBS=$save_LIBS |
7223 | CFLAGS=$save_CFLAGS |
7111 | CXXFLAGS=$save_CXXFLAGS |
7224 | |
|
|
7225 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working plain setlocale" >&5 |
|
|
7226 | $as_echo_n "checking for working plain setlocale... " >&6; } |
|
|
7227 | if ${rxvt_cv_func_setlocale+:} false; then : |
|
|
7228 | $as_echo_n "(cached) " >&6 |
|
|
7229 | else |
|
|
7230 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7231 | /* end confdefs.h. */ |
|
|
7232 | #include <clocale> |
|
|
7233 | int |
|
|
7234 | main () |
|
|
7235 | { |
|
|
7236 | setlocale(LC_CTYPE, ""); |
|
|
7237 | ; |
|
|
7238 | return 0; |
|
|
7239 | } |
|
|
7240 | _ACEOF |
|
|
7241 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7242 | rxvt_cv_func_setlocale=yes |
|
|
7243 | else |
|
|
7244 | rxvt_cv_func_setlocale=no |
|
|
7245 | fi |
|
|
7246 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7247 | conftest$ac_exeext conftest.$ac_ext |
|
|
7248 | fi |
|
|
7249 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_setlocale" >&5 |
|
|
7250 | $as_echo "$rxvt_cv_func_setlocale" >&6; } |
|
|
7251 | if test x$rxvt_cv_func_setlocale = xyes; then |
|
|
7252 | |
|
|
7253 | $as_echo "#define HAVE_SETLOCALE 1" >>confdefs.h |
|
|
7254 | |
|
|
7255 | fi |
|
|
7256 | |
7112 | |
7257 | { $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 |
7258 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
7114 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
7259 | if ${rxvt_cv_func_nl_langinfo+:} false; then : |
7115 | if ${rxvt_cv_func_nl_langinfo+:} false; then : |
7260 | $as_echo_n "(cached) " >&6 |
7116 | $as_echo_n "(cached) " >&6 |
… | |
… | |
7285 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
7141 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
7286 | |
7142 | |
7287 | fi |
7143 | fi |
7288 | |
7144 | |
7289 | |
7145 | |
|
|
7146 | |
|
|
7147 | case $host in |
|
|
7148 | *-*-solaris*) |
|
|
7149 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7150 | /* end confdefs.h. */ |
|
|
7151 | |
|
|
7152 | #if __STDC_VERSION__ >= 199901L |
|
|
7153 | error |
|
|
7154 | #endif |
|
|
7155 | |
|
|
7156 | int |
|
|
7157 | main () |
|
|
7158 | { |
|
|
7159 | |
|
|
7160 | ; |
|
|
7161 | return 0; |
|
|
7162 | } |
|
|
7163 | _ACEOF |
|
|
7164 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
7165 | $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h |
|
|
7166 | |
|
|
7167 | else |
|
|
7168 | $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h |
|
|
7169 | |
|
|
7170 | fi |
|
|
7171 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7172 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5 |
|
|
7173 | $as_echo_n "checking for library containing sendmsg... " >&6; } |
|
|
7174 | if ${ac_cv_search_sendmsg+:} false; then : |
|
|
7175 | $as_echo_n "(cached) " >&6 |
|
|
7176 | else |
|
|
7177 | ac_func_search_save_LIBS=$LIBS |
|
|
7178 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7179 | /* end confdefs.h. */ |
|
|
7180 | |
|
|
7181 | /* Override any GCC internal prototype to avoid an error. |
|
|
7182 | Use char because int might match the return type of a GCC |
|
|
7183 | builtin and then its argument prototype would still apply. */ |
|
|
7184 | #ifdef __cplusplus |
|
|
7185 | extern "C" |
|
|
7186 | #endif |
|
|
7187 | char sendmsg (); |
|
|
7188 | int |
|
|
7189 | main () |
|
|
7190 | { |
|
|
7191 | return sendmsg (); |
|
|
7192 | ; |
|
|
7193 | return 0; |
|
|
7194 | } |
|
|
7195 | _ACEOF |
|
|
7196 | for ac_lib in '' socket; do |
|
|
7197 | if test -z "$ac_lib"; then |
|
|
7198 | ac_res="none required" |
|
|
7199 | else |
|
|
7200 | ac_res=-l$ac_lib |
|
|
7201 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
|
7202 | fi |
|
|
7203 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7204 | ac_cv_search_sendmsg=$ac_res |
|
|
7205 | fi |
|
|
7206 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7207 | conftest$ac_exeext |
|
|
7208 | if ${ac_cv_search_sendmsg+:} false; then : |
|
|
7209 | break |
|
|
7210 | fi |
|
|
7211 | done |
|
|
7212 | if ${ac_cv_search_sendmsg+:} false; then : |
|
|
7213 | |
|
|
7214 | else |
|
|
7215 | ac_cv_search_sendmsg=no |
|
|
7216 | fi |
|
|
7217 | rm conftest.$ac_ext |
|
|
7218 | LIBS=$ac_func_search_save_LIBS |
|
|
7219 | fi |
|
|
7220 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendmsg" >&5 |
|
|
7221 | $as_echo "$ac_cv_search_sendmsg" >&6; } |
|
|
7222 | ac_res=$ac_cv_search_sendmsg |
|
|
7223 | if test "$ac_res" != no; then : |
|
|
7224 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
7225 | |
|
|
7226 | fi |
|
|
7227 | |
|
|
7228 | ;; |
|
|
7229 | esac |
|
|
7230 | |
7290 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5 |
7231 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5 |
7291 | $as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; } |
7232 | $as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; } |
7292 | if ${pt_cv_can_pass_fds+:} false; then : |
7233 | if ${pt_cv_can_pass_fds+:} false; then : |
7293 | $as_echo_n "(cached) " >&6 |
7234 | $as_echo_n "(cached) " >&6 |
7294 | else |
7235 | else |
7295 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7236 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7296 | /* end confdefs.h. */ |
7237 | /* end confdefs.h. */ |
7297 | |
7238 | |
7298 | #include <cstddef> // broken bsds (is that redundant?) need this |
7239 | #include <stddef.h> // broken bsds (is that redundant?) need this |
7299 | #include <sys/types.h> |
7240 | #include <sys/types.h> |
7300 | #include <sys/socket.h> |
7241 | #include <sys/socket.h> |
7301 | #include <sys/uio.h> |
7242 | #include <sys/uio.h> |
7302 | |
7243 | |
7303 | int |
7244 | int |
… | |
… | |
7355 | for ac_header in \ |
7296 | for ac_header in \ |
7356 | pty.h \ |
7297 | pty.h \ |
7357 | util.h \ |
7298 | util.h \ |
7358 | libutil.h \ |
7299 | libutil.h \ |
7359 | sys/ioctl.h \ |
7300 | sys/ioctl.h \ |
7360 | sys/stropts.h \ |
|
|
7361 | stropts.h \ |
7301 | stropts.h \ |
7362 | |
7302 | |
7363 | do : |
7303 | do : |
7364 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7304 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7365 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
7305 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
… | |
… | |
7534 | |
7474 | |
7535 | $as_echo "#define TTY_GID_SUPPORT 1" >>confdefs.h |
7475 | $as_echo "#define TTY_GID_SUPPORT 1" >>confdefs.h |
7536 | |
7476 | |
7537 | fi |
7477 | fi |
7538 | |
7478 | |
|
|
7479 | support_image=no |
|
|
7480 | if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then |
|
|
7481 | support_image=yes |
|
|
7482 | fi |
7539 | if test x$support_xft = xyes || test x$support_inheritpixmap = xyes; then |
7483 | if test x$support_xft = xyes || test x$support_image = xyes; then |
7540 | rxvt_have_xrender=no |
7484 | rxvt_have_xrender=no |
7541 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7485 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7542 | set dummy pkg-config; ac_word=$2 |
7486 | set dummy pkg-config; ac_word=$2 |
7543 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7487 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7544 | $as_echo_n "checking for $ac_word... " >&6; } |
7488 | $as_echo_n "checking for $ac_word... " >&6; } |
… | |
… | |
7554 | for as_dir in $PATH |
7498 | for as_dir in $PATH |
7555 | do |
7499 | do |
7556 | IFS=$as_save_IFS |
7500 | IFS=$as_save_IFS |
7557 | test -z "$as_dir" && as_dir=. |
7501 | test -z "$as_dir" && as_dir=. |
7558 | for ac_exec_ext in '' $ac_executable_extensions; do |
7502 | for ac_exec_ext in '' $ac_executable_extensions; do |
7559 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7503 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7560 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
7504 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
7561 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7505 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7562 | break 2 |
7506 | break 2 |
7563 | fi |
7507 | fi |
7564 | done |
7508 | done |
… | |
… | |
7622 | for as_dir in $PATH |
7566 | for as_dir in $PATH |
7623 | do |
7567 | do |
7624 | IFS=$as_save_IFS |
7568 | IFS=$as_save_IFS |
7625 | test -z "$as_dir" && as_dir=. |
7569 | test -z "$as_dir" && as_dir=. |
7626 | for ac_exec_ext in '' $ac_executable_extensions; do |
7570 | for ac_exec_ext in '' $ac_executable_extensions; do |
7627 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7571 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7628 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
7572 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
7629 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7573 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7630 | break 2 |
7574 | break 2 |
7631 | fi |
7575 | fi |
7632 | done |
7576 | done |
… | |
… | |
7667 | for as_dir in $PATH |
7611 | for as_dir in $PATH |
7668 | do |
7612 | do |
7669 | IFS=$as_save_IFS |
7613 | IFS=$as_save_IFS |
7670 | test -z "$as_dir" && as_dir=. |
7614 | test -z "$as_dir" && as_dir=. |
7671 | for ac_exec_ext in '' $ac_executable_extensions; do |
7615 | for ac_exec_ext in '' $ac_executable_extensions; do |
7672 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7616 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7673 | ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
7617 | ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
7674 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7618 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7675 | break 2 |
7619 | break 2 |
7676 | fi |
7620 | fi |
7677 | done |
7621 | done |
… | |
… | |
7703 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG fontconfig --cflags`" |
7647 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG fontconfig --cflags`" |
7704 | fi |
7648 | fi |
7705 | |
7649 | |
7706 | save_LIBS="$LIBS" |
7650 | save_LIBS="$LIBS" |
7707 | LIBS="$LIBS $X_LIBS" |
7651 | LIBS="$LIBS $X_LIBS" |
7708 | for ac_header in X11/Xft/Xft.h |
7652 | for ac_header in X11/Xft/Xft.h fontconfig/fontconfig.h |
7709 | do : |
7653 | do : |
|
|
7654 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7710 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" |
7655 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
7711 | if test "x$ac_cv_header_X11_Xft_Xft_h" = xyes; then : |
7656 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
7712 | cat >>confdefs.h <<_ACEOF |
7657 | cat >>confdefs.h <<_ACEOF |
7713 | #define HAVE_X11_XFT_XFT_H 1 |
7658 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7714 | _ACEOF |
7659 | _ACEOF |
7715 | |
7660 | |
7716 | else |
7661 | else |
7717 | support_xft=no |
7662 | support_xft=no |
7718 | fi |
7663 | fi |
7719 | |
7664 | |
7720 | done |
7665 | done |
7721 | |
7666 | |
|
|
7667 | for ac_func in XftDrawString32 FcPatternGet |
|
|
7668 | do : |
|
|
7669 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
7670 | ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
|
7671 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
|
7672 | cat >>confdefs.h <<_ACEOF |
|
|
7673 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
7674 | _ACEOF |
|
|
7675 | |
|
|
7676 | else |
|
|
7677 | support_xft=no |
|
|
7678 | fi |
|
|
7679 | done |
|
|
7680 | |
|
|
7681 | LIBS="$save_LIBS" |
|
|
7682 | |
|
|
7683 | if test x$support_xft = xyes; then |
|
|
7684 | |
|
|
7685 | $as_echo "#define XFT 1" >>confdefs.h |
|
|
7686 | |
|
|
7687 | fi |
|
|
7688 | fi |
|
|
7689 | |
|
|
7690 | if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then |
7722 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawString32 in -lXft" >&5 |
7691 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Render >= 0.11" >&5 |
7723 | $as_echo_n "checking for XftDrawString32 in -lXft... " >&6; } |
7692 | $as_echo_n "checking for Render >= 0.11... " >&6; } |
7724 | if ${ac_cv_lib_Xft_XftDrawString32+:} false; then : |
|
|
7725 | $as_echo_n "(cached) " >&6 |
|
|
7726 | else |
|
|
7727 | ac_check_lib_save_LIBS=$LIBS |
|
|
7728 | LIBS="-lXft $LIBS" |
|
|
7729 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7693 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7730 | /* end confdefs.h. */ |
7694 | /* end confdefs.h. */ |
7731 | |
7695 | |
7732 | /* Override any GCC internal prototype to avoid an error. |
7696 | #include <X11/extensions/Xrender.h> |
7733 | Use char because int might match the return type of a GCC |
7697 | #if RENDER_MAJOR == 0 && RENDER_MINOR <= 10 |
7734 | builtin and then its argument prototype would still apply. */ |
7698 | error |
7735 | #ifdef __cplusplus |
|
|
7736 | extern "C" |
|
|
7737 | #endif |
7699 | #endif |
7738 | char XftDrawString32 (); |
7700 | |
7739 | int |
7701 | int |
7740 | main () |
7702 | main () |
7741 | { |
7703 | { |
7742 | return XftDrawString32 (); |
7704 | |
7743 | ; |
7705 | ; |
7744 | return 0; |
7706 | return 0; |
7745 | } |
7707 | } |
7746 | _ACEOF |
7708 | _ACEOF |
7747 | if ac_fn_cxx_try_link "$LINENO"; then : |
7709 | if ac_fn_cxx_try_compile "$LINENO"; then : |
7748 | ac_cv_lib_Xft_XftDrawString32=yes |
7710 | |
7749 | else |
7711 | else |
7750 | ac_cv_lib_Xft_XftDrawString32=no |
7712 | support_image=no |
7751 | fi |
7713 | fi |
7752 | rm -f core conftest.err conftest.$ac_objext \ |
7714 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7753 | conftest$ac_exeext conftest.$ac_ext |
|
|
7754 | LIBS=$ac_check_lib_save_LIBS |
|
|
7755 | fi |
|
|
7756 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
|
|
7757 | $as_echo "$ac_cv_lib_Xft_XftDrawString32" >&6; } |
|
|
7758 | if test "x$ac_cv_lib_Xft_XftDrawString32" = xyes; then : |
|
|
7759 | : |
|
|
7760 | else |
|
|
7761 | support_xft=no |
|
|
7762 | fi |
|
|
7763 | |
|
|
7764 | for ac_header in fontconfig/fontconfig.h |
|
|
7765 | do : |
|
|
7766 | ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default" |
|
|
7767 | if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then : |
|
|
7768 | cat >>confdefs.h <<_ACEOF |
|
|
7769 | #define HAVE_FONTCONFIG_FONTCONFIG_H 1 |
|
|
7770 | _ACEOF |
|
|
7771 | |
|
|
7772 | else |
|
|
7773 | support_xft=no |
|
|
7774 | fi |
|
|
7775 | |
|
|
7776 | done |
|
|
7777 | |
|
|
7778 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5 |
|
|
7779 | $as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; } |
|
|
7780 | if ${ac_cv_lib_fontconfig_FcPatternGet+:} false; then : |
|
|
7781 | $as_echo_n "(cached) " >&6 |
|
|
7782 | else |
|
|
7783 | ac_check_lib_save_LIBS=$LIBS |
|
|
7784 | LIBS="-lfontconfig $LIBS" |
|
|
7785 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7786 | /* end confdefs.h. */ |
|
|
7787 | |
|
|
7788 | /* Override any GCC internal prototype to avoid an error. |
|
|
7789 | Use char because int might match the return type of a GCC |
|
|
7790 | builtin and then its argument prototype would still apply. */ |
|
|
7791 | #ifdef __cplusplus |
|
|
7792 | extern "C" |
|
|
7793 | #endif |
|
|
7794 | char FcPatternGet (); |
|
|
7795 | int |
|
|
7796 | main () |
|
|
7797 | { |
|
|
7798 | return FcPatternGet (); |
|
|
7799 | ; |
|
|
7800 | return 0; |
|
|
7801 | } |
|
|
7802 | _ACEOF |
|
|
7803 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7804 | ac_cv_lib_fontconfig_FcPatternGet=yes |
|
|
7805 | else |
|
|
7806 | ac_cv_lib_fontconfig_FcPatternGet=no |
|
|
7807 | fi |
|
|
7808 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7809 | conftest$ac_exeext conftest.$ac_ext |
|
|
7810 | LIBS=$ac_check_lib_save_LIBS |
|
|
7811 | fi |
|
|
7812 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5 |
|
|
7813 | $as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; } |
|
|
7814 | if test "x$ac_cv_lib_fontconfig_FcPatternGet" = xyes; then : |
|
|
7815 | : |
|
|
7816 | else |
|
|
7817 | support_xft=no |
|
|
7818 | fi |
|
|
7819 | |
|
|
7820 | LIBS="$save_LIBS" |
|
|
7821 | |
|
|
7822 | if test x$support_xft = xyes; then |
7715 | if test x$support_image = xyes; then |
|
|
7716 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
|
7717 | $as_echo "ok" >&6; } |
|
|
7718 | LIBS="$LIBS -lm" |
7823 | |
7719 | |
7824 | $as_echo "#define XFT 1" >>confdefs.h |
7720 | $as_echo "#define XRENDER 1" >>confdefs.h |
7825 | |
7721 | |
|
|
7722 | |
|
|
7723 | if test x$support_inheritpixmap = xyes; then |
|
|
7724 | |
|
|
7725 | $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h |
|
|
7726 | |
7826 | fi |
7727 | fi |
|
|
7728 | else |
|
|
7729 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7730 | $as_echo "no" >&6; } |
|
|
7731 | fi |
7827 | fi |
7732 | fi |
|
|
7733 | |
7828 | if test x$support_styles = xyes; then |
7734 | if test x$support_styles = xyes; then |
7829 | |
7735 | |
7830 | $as_echo "#define ENABLE_STYLES 1" >>confdefs.h |
7736 | $as_echo "#define ENABLE_STYLES 1" >>confdefs.h |
7831 | |
7737 | |
7832 | fi |
7738 | fi |
… | |
… | |
7841 | |
7747 | |
7842 | fi |
7748 | fi |
7843 | if test x$support_fading = xyes; then |
7749 | if test x$support_fading = xyes; then |
7844 | |
7750 | |
7845 | $as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h |
7751 | $as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h |
7846 | |
|
|
7847 | fi |
|
|
7848 | if test x$support_inheritpixmap = xyes; then |
|
|
7849 | if test x$rxvt_have_xrender = xyes; then |
|
|
7850 | LIBS="$LIBS -lm" |
|
|
7851 | |
|
|
7852 | $as_echo "#define XRENDER 1" >>confdefs.h |
|
|
7853 | |
|
|
7854 | fi |
|
|
7855 | |
|
|
7856 | $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h |
|
|
7857 | |
7752 | |
7858 | fi |
7753 | fi |
7859 | if test x$support_keepscrolling = xno; then |
7754 | if test x$support_keepscrolling = xno; then |
7860 | |
7755 | |
7861 | $as_echo "#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1" >>confdefs.h |
7756 | $as_echo "#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1" >>confdefs.h |
… | |
… | |
7972 | for as_dir in $PATH |
7867 | for as_dir in $PATH |
7973 | do |
7868 | do |
7974 | IFS=$as_save_IFS |
7869 | IFS=$as_save_IFS |
7975 | test -z "$as_dir" && as_dir=. |
7870 | test -z "$as_dir" && as_dir=. |
7976 | for ac_exec_ext in '' $ac_executable_extensions; do |
7871 | for ac_exec_ext in '' $ac_executable_extensions; do |
7977 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7872 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7978 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
7873 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
7979 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7874 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7980 | break 2 |
7875 | break 2 |
7981 | fi |
7876 | fi |
7982 | done |
7877 | done |
7983 | done |
7878 | done |
7984 | IFS=$as_save_IFS |
7879 | IFS=$as_save_IFS |
7985 | |
7880 | |
7986 | ;; |
7881 | test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl" |
7987 | esac |
|
|
7988 | fi |
|
|
7989 | PERL=$ac_cv_path_PERL |
|
|
7990 | if test -n "$PERL"; then |
|
|
7991 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 |
|
|
7992 | $as_echo "$PERL" >&6; } |
|
|
7993 | else |
|
|
7994 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7995 | $as_echo "no" >&6; } |
|
|
7996 | fi |
|
|
7997 | |
|
|
7998 | |
|
|
7999 | # Extract the first word of "perl", so it can be a program name with args. |
|
|
8000 | set dummy perl; ac_word=$2 |
|
|
8001 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
8002 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
8003 | if ${ac_cv_path_PERL+:} false; then : |
|
|
8004 | $as_echo_n "(cached) " >&6 |
|
|
8005 | else |
|
|
8006 | case $PERL in |
|
|
8007 | [\\/]* | ?:[\\/]*) |
|
|
8008 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
8009 | ;; |
|
|
8010 | *) |
|
|
8011 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
8012 | for as_dir in $PATH |
|
|
8013 | do |
|
|
8014 | IFS=$as_save_IFS |
|
|
8015 | test -z "$as_dir" && as_dir=. |
|
|
8016 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8017 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
8018 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
8019 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
8020 | break 2 |
|
|
8021 | fi |
|
|
8022 | done |
|
|
8023 | done |
|
|
8024 | IFS=$as_save_IFS |
|
|
8025 | |
|
|
8026 | ;; |
7882 | ;; |
8027 | esac |
7883 | esac |
8028 | fi |
7884 | fi |
8029 | PERL=$ac_cv_path_PERL |
7885 | PERL=$ac_cv_path_PERL |
8030 | if test -n "$PERL"; then |
7886 | if test -n "$PERL"; then |
… | |
… | |
8505 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
8361 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
8506 | as_ln_s='ln -s' |
8362 | as_ln_s='ln -s' |
8507 | # ... but there are two gotchas: |
8363 | # ... but there are two gotchas: |
8508 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
8364 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
8509 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
8365 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
8510 | # In both cases, we have to default to `cp -p'. |
8366 | # In both cases, we have to default to `cp -pR'. |
8511 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
8367 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
8512 | as_ln_s='cp -p' |
8368 | as_ln_s='cp -pR' |
8513 | elif ln conf$$.file conf$$ 2>/dev/null; then |
8369 | elif ln conf$$.file conf$$ 2>/dev/null; then |
8514 | as_ln_s=ln |
8370 | as_ln_s=ln |
8515 | else |
8371 | else |
8516 | as_ln_s='cp -p' |
8372 | as_ln_s='cp -pR' |
8517 | fi |
8373 | fi |
8518 | else |
8374 | else |
8519 | as_ln_s='cp -p' |
8375 | as_ln_s='cp -pR' |
8520 | fi |
8376 | fi |
8521 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
8377 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
8522 | rmdir conf$$.dir 2>/dev/null |
8378 | rmdir conf$$.dir 2>/dev/null |
8523 | |
8379 | |
8524 | |
8380 | |
… | |
… | |
8574 | else |
8430 | else |
8575 | test -d ./-p && rmdir ./-p |
8431 | test -d ./-p && rmdir ./-p |
8576 | as_mkdir_p=false |
8432 | as_mkdir_p=false |
8577 | fi |
8433 | fi |
8578 | |
8434 | |
8579 | if test -x / >/dev/null 2>&1; then |
8435 | |
|
|
8436 | # as_fn_executable_p FILE |
|
|
8437 | # ----------------------- |
|
|
8438 | # Test if FILE is an executable regular file. |
|
|
8439 | as_fn_executable_p () |
|
|
8440 | { |
|
|
8441 | test -f "$1" && test -x "$1" |
|
|
8442 | } # as_fn_executable_p |
8580 | as_test_x='test -x' |
8443 | as_test_x='test -x' |
8581 | else |
8444 | as_executable_p=as_fn_executable_p |
8582 | if ls -dL / >/dev/null 2>&1; then |
|
|
8583 | as_ls_L_option=L |
|
|
8584 | else |
|
|
8585 | as_ls_L_option= |
|
|
8586 | fi |
|
|
8587 | as_test_x=' |
|
|
8588 | eval sh -c '\'' |
|
|
8589 | if test -d "$1"; then |
|
|
8590 | test -d "$1/."; |
|
|
8591 | else |
|
|
8592 | case $1 in #( |
|
|
8593 | -*)set "./$1";; |
|
|
8594 | esac; |
|
|
8595 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
|
8596 | ???[sx]*):;;*)false;;esac;fi |
|
|
8597 | '\'' sh |
|
|
8598 | ' |
|
|
8599 | fi |
|
|
8600 | as_executable_p=$as_test_x |
|
|
8601 | |
8445 | |
8602 | # Sed expression to map a string onto a valid CPP name. |
8446 | # Sed expression to map a string onto a valid CPP name. |
8603 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
8447 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
8604 | |
8448 | |
8605 | # Sed expression to map a string onto a valid variable name. |
8449 | # Sed expression to map a string onto a valid variable name. |
… | |
… | |
8617 | # Save the log message, to keep $0 and so on meaningful, and to |
8461 | # Save the log message, to keep $0 and so on meaningful, and to |
8618 | # report actual input values of CONFIG_FILES etc. instead of their |
8462 | # report actual input values of CONFIG_FILES etc. instead of their |
8619 | # values after options handling. |
8463 | # values after options handling. |
8620 | ac_log=" |
8464 | ac_log=" |
8621 | This file was extended by $as_me, which was |
8465 | This file was extended by $as_me, which was |
8622 | generated by GNU Autoconf 2.68. Invocation command line was |
8466 | generated by GNU Autoconf 2.69. Invocation command line was |
8623 | |
8467 | |
8624 | CONFIG_FILES = $CONFIG_FILES |
8468 | CONFIG_FILES = $CONFIG_FILES |
8625 | CONFIG_HEADERS = $CONFIG_HEADERS |
8469 | CONFIG_HEADERS = $CONFIG_HEADERS |
8626 | CONFIG_LINKS = $CONFIG_LINKS |
8470 | CONFIG_LINKS = $CONFIG_LINKS |
8627 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
8471 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
8679 | _ACEOF |
8523 | _ACEOF |
8680 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8524 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8681 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
8525 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
8682 | ac_cs_version="\\ |
8526 | ac_cs_version="\\ |
8683 | config.status |
8527 | config.status |
8684 | configured by $0, generated by GNU Autoconf 2.68, |
8528 | configured by $0, generated by GNU Autoconf 2.69, |
8685 | with options \\"\$ac_cs_config\\" |
8529 | with options \\"\$ac_cs_config\\" |
8686 | |
8530 | |
8687 | Copyright (C) 2010 Free Software Foundation, Inc. |
8531 | Copyright (C) 2012 Free Software Foundation, Inc. |
8688 | This config.status script is free software; the Free Software Foundation |
8532 | This config.status script is free software; the Free Software Foundation |
8689 | gives unlimited permission to copy, distribute and modify it." |
8533 | gives unlimited permission to copy, distribute and modify it." |
8690 | |
8534 | |
8691 | ac_pwd='$ac_pwd' |
8535 | ac_pwd='$ac_pwd' |
8692 | srcdir='$srcdir' |
8536 | srcdir='$srcdir' |
… | |
… | |
8771 | fi |
8615 | fi |
8772 | |
8616 | |
8773 | _ACEOF |
8617 | _ACEOF |
8774 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8618 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8775 | if \$ac_cs_recheck; then |
8619 | if \$ac_cs_recheck; then |
8776 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
8620 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
8777 | shift |
8621 | shift |
8778 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
8622 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
8779 | CONFIG_SHELL='$SHELL' |
8623 | CONFIG_SHELL='$SHELL' |
8780 | export CONFIG_SHELL |
8624 | export CONFIG_SHELL |
8781 | exec "\$@" |
8625 | exec "\$@" |