ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/configure
(Generate patch)

Comparing rxvt-unicode/configure (file contents):
Revision 1.157 by root, Tue Jun 19 20:50:05 2012 UTC vs.
Revision 1.164 by root, Thu Jun 20 23:07:42 2019 UTC

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.67. 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## -------------------- ##
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.) 86# splitting by setting IFS to empty value.)
89IFS=" "" $as_nl" 87IFS=" "" $as_nl"
90 88
91# Find who we are. Look in the path if we contain no directory separator. 89# Find who we are. Look in the path if we contain no directory separator.
90as_myself=
92case $0 in #(( 91case $0 in #((
93 *[\\/]* ) as_myself=$0 ;; 92 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95for as_dir in $PATH 94for as_dir in $PATH
96do 95do
131export LANGUAGE 130export LANGUAGE
132 131
133# CDPATH. 132# CDPATH.
134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 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.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151esac
152exec $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
156as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
136if test "x$CONFIG_SHELL" = x; then 160if test "x$CONFIG_SHELL" = x; then
137 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 :
138 emulate sh 162 emulate sh
139 NULLCMD=: 163 NULLCMD=:
140 # 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
164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 189
166else 190else
167 exitcode=1; echo positional parameters were not saved. 191 exitcode=1; echo positional parameters were not saved.
168fi 192fi
169test x\$exitcode = x0 || exit 1" 193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
170 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
171 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
172 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'\" &&
173 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
174test \$(( 1 + 1 )) = 2 || exit 1" 199test \$(( 1 + 1 )) = 2 || exit 1"
209fi; } 234fi; }
210IFS=$as_save_IFS 235IFS=$as_save_IFS
211 236
212 237
213 if test "x$CONFIG_SHELL" != x; then : 238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
214 # 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
215 # neutralization value for shells without unset; and this also 241# neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables. 242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell.
217 BASH_ENV=/dev/null 244BASH_ENV=/dev/null
218 ENV=/dev/null 245ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL 247case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252esac
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 253exec $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
257exit 255
222fi 258fi
223 259
224 if test x$as_have_required = xno; then : 260 if test x$as_have_required = xno; then :
225 $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"
226 $as_echo "$0: the shells that I found on your system." 262 $as_echo "$0: the shells that I found on your system."
318 test -z "$as_dirs" || eval "mkdir $as_dirs" 354 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || 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"
320 356
321 357
322} # 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.
363as_fn_executable_p ()
364{
365 test -f "$1" && test -x "$1"
366} # as_fn_executable_p
323# as_fn_append VAR VALUE 367# as_fn_append VAR VALUE
324# ---------------------- 368# ----------------------
325# 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
326# advantage of any shell optimizations that allow amortized linear growth over 370# advantage of any shell optimizations that allow amortized linear growth over
327# repeated appends, instead of the typical quadratic growth present in naive 371# repeated appends, instead of the typical quadratic growth present in naive
439 s/-\n.*// 483 s/-\n.*//
440 ' >$as_me.lineno && 484 ' >$as_me.lineno &&
441 chmod +x "$as_me.lineno" || 485 chmod +x "$as_me.lineno" ||
442 { $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; }
443 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
444 # 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
445 # (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
446 # original and so on. Autoconf is especially sensitive to this). 494 # original and so on. Autoconf is especially sensitive to this).
447 . "./$as_me.lineno" 495 . "./$as_me.lineno"
448 # Exit status is that of the last command. 496 # Exit status is that of the last command.
473 if ln -s conf$$.file conf$$ 2>/dev/null; then 521 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 as_ln_s='ln -s' 522 as_ln_s='ln -s'
475 # ... but there are two gotchas: 523 # ... but there are two gotchas:
476 # 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.
477 # 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.
478 # In both cases, we have to default to `cp -p'. 526 # In both cases, we have to default to `cp -pR'.
479 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 ||
480 as_ln_s='cp -p' 528 as_ln_s='cp -pR'
481 elif ln conf$$.file conf$$ 2>/dev/null; then 529 elif ln conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s=ln 530 as_ln_s=ln
483 else 531 else
484 as_ln_s='cp -p' 532 as_ln_s='cp -pR'
485 fi 533 fi
486else 534else
487 as_ln_s='cp -p' 535 as_ln_s='cp -pR'
488fi 536fi
489rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490rmdir conf$$.dir 2>/dev/null 538rmdir conf$$.dir 2>/dev/null
491 539
492if mkdir -p . 2>/dev/null; then 540if mkdir -p . 2>/dev/null; then
494else 542else
495 test -d ./-p && rmdir ./-p 543 test -d ./-p && rmdir ./-p
496 as_mkdir_p=false 544 as_mkdir_p=false
497fi 545fi
498 546
499if test -x / >/dev/null 2>&1; then
500 as_test_x='test -x' 547as_test_x='test -x'
501else 548as_executable_p=as_fn_executable_p
502 if ls -dL / >/dev/null 2>&1; then
503 as_ls_L_option=L
504 else
505 as_ls_L_option=
506 fi
507 as_test_x='
508 eval sh -c '\''
509 if test -d "$1"; then
510 test -d "$1/.";
511 else
512 case $1 in #(
513 -*)set "./$1";;
514 esac;
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
517 '\'' sh
518 '
519fi
520as_executable_p=$as_test_x
521 549
522# Sed expression to map a string onto a valid CPP name. 550# Sed expression to map a string onto a valid CPP name.
523as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524 552
525# Sed expression to map a string onto a valid variable name. 553# Sed expression to map a string onto a valid variable name.
597IF_PERL 625IF_PERL
598PERLPRIVLIBEXP 626PERLPRIVLIBEXP
599PERLFLAGS 627PERLFLAGS
600PERLLIB 628PERLLIB
601PERL 629PERL
602PIXBUF_LIBS
603PIXBUF_CFLAGS
604XFT_CONFIG 630XFT_CONFIG
605STARTUP_NOTIFICATION_LIBS 631STARTUP_NOTIFICATION_LIBS
606STARTUP_NOTIFICATION_CFLAGS 632STARTUP_NOTIFICATION_CFLAGS
633PIXBUF_LIBS
634PIXBUF_CFLAGS
607PKG_CONFIG 635PKG_CONFIG
608X_EXTRA_LIBS 636X_EXTRA_LIBS
609X_LIBS 637X_LIBS
610X_PRE_LIBS 638X_PRE_LIBS
611X_CFLAGS 639X_CFLAGS
657htmldir 685htmldir
658infodir 686infodir
659docdir 687docdir
660oldincludedir 688oldincludedir
661includedir 689includedir
690runstatedir
662localstatedir 691localstatedir
663sharedstatedir 692sharedstatedir
664sysconfdir 693sysconfdir
665datadir 694datadir
666datarootdir 695datarootdir
774datarootdir='${prefix}/share' 803datarootdir='${prefix}/share'
775datadir='${datarootdir}' 804datadir='${datarootdir}'
776sysconfdir='${prefix}/etc' 805sysconfdir='${prefix}/etc'
777sharedstatedir='${prefix}/com' 806sharedstatedir='${prefix}/com'
778localstatedir='${prefix}/var' 807localstatedir='${prefix}/var'
808runstatedir='${localstatedir}/run'
779includedir='${prefix}/include' 809includedir='${prefix}/include'
780oldincludedir='/usr/include' 810oldincludedir='/usr/include'
781docdir='${datarootdir}/doc/${PACKAGE}' 811docdir='${datarootdir}/doc/${PACKAGE}'
782infodir='${datarootdir}/info' 812infodir='${datarootdir}/info'
783htmldir='${docdir}' 813htmldir='${docdir}'
1026 1056
1027 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1028 | -silent | --silent | --silen | --sile | --sil) 1058 | -silent | --silent | --silen | --sile | --sil)
1029 silent=yes ;; 1059 silent=yes ;;
1030 1060
1061 -runstatedir | --runstatedir | --runstatedi | --runstated \
1062 | --runstate | --runstat | --runsta | --runst | --runs \
1063 | --run | --ru | --r)
1064 ac_prev=runstatedir ;;
1065 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1066 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1067 | --run=* | --ru=* | --r=*)
1068 runstatedir=$ac_optarg ;;
1069
1031 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1070 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1032 ac_prev=sbindir ;; 1071 ac_prev=sbindir ;;
1033 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1072 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1034 | --sbi=* | --sb=*) 1073 | --sbi=* | --sb=*)
1035 sbindir=$ac_optarg ;; 1074 sbindir=$ac_optarg ;;
1140 *) 1179 *)
1141 # FIXME: should be removed in autoconf 3.0. 1180 # FIXME: should be removed in autoconf 3.0.
1142 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1181 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1143 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1144 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1183 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1145 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1184 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1146 ;; 1185 ;;
1147 1186
1148 esac 1187 esac
1149done 1188done
1150 1189
1163 1202
1164# Check all directory arguments for consistency. 1203# Check all directory arguments for consistency.
1165for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1204for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1166 datadir sysconfdir sharedstatedir localstatedir includedir \ 1205 datadir sysconfdir sharedstatedir localstatedir includedir \
1167 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1206 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1168 libdir localedir mandir 1207 libdir localedir mandir runstatedir
1169do 1208do
1170 eval ac_val=\$$ac_var 1209 eval ac_val=\$$ac_var
1171 # Remove trailing slashes. 1210 # Remove trailing slashes.
1172 case $ac_val in 1211 case $ac_val in
1173 */ ) 1212 */ )
1191 1230
1192# FIXME: To remove some day. 1231# FIXME: To remove some day.
1193if test "x$host_alias" != x; then 1232if test "x$host_alias" != x; then
1194 if test "x$build_alias" = x; then 1233 if test "x$build_alias" = x; then
1195 cross_compiling=maybe 1234 cross_compiling=maybe
1196 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1197 If a cross compiler is detected then cross compile mode will be used" >&2
1198 elif test "x$build_alias" != "x$host_alias"; then 1235 elif test "x$build_alias" != "x$host_alias"; then
1199 cross_compiling=yes 1236 cross_compiling=yes
1200 fi 1237 fi
1201fi 1238fi
1202 1239
1318 --sbindir=DIR system admin executables [EPREFIX/sbin] 1355 --sbindir=DIR system admin executables [EPREFIX/sbin]
1319 --libexecdir=DIR program executables [EPREFIX/libexec] 1356 --libexecdir=DIR program executables [EPREFIX/libexec]
1320 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1357 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1321 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1358 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1322 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1359 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1360 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1323 --libdir=DIR object code libraries [EPREFIX/lib] 1361 --libdir=DIR object code libraries [EPREFIX/lib]
1324 --includedir=DIR C header files [PREFIX/include] 1362 --includedir=DIR C header files [PREFIX/include]
1325 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1363 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1326 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1364 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1327 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1365 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1482 1520
1483test -n "$ac_init_help" && exit $ac_status 1521test -n "$ac_init_help" && exit $ac_status
1484if $ac_init_version; then 1522if $ac_init_version; then
1485 cat <<\_ACEOF 1523 cat <<\_ACEOF
1486configure 1524configure
1487generated by GNU Autoconf 2.67 1525generated by GNU Autoconf 2.69
1488 1526
1489Copyright (C) 2010 Free Software Foundation, Inc. 1527Copyright (C) 2012 Free Software Foundation, Inc.
1490This configure script is free software; the Free Software Foundation 1528This configure script is free software; the Free Software Foundation
1491gives unlimited permission to copy, distribute and modify it. 1529gives unlimited permission to copy, distribute and modify it.
1492_ACEOF 1530_ACEOF
1493 exit 1531 exit
1494fi 1532fi
1528 $as_echo "$as_me: failed program was:" >&5 1566 $as_echo "$as_me: failed program was:" >&5
1529sed 's/^/| /' conftest.$ac_ext >&5 1567sed 's/^/| /' conftest.$ac_ext >&5
1530 1568
1531 ac_retval=1 1569 ac_retval=1
1532fi 1570fi
1533 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1534 as_fn_set_status $ac_retval 1572 as_fn_set_status $ac_retval
1535 1573
1536} # ac_fn_c_try_compile 1574} # ac_fn_c_try_compile
1537 1575
1538# ac_fn_cxx_try_compile LINENO 1576# ac_fn_cxx_try_compile LINENO
1566 $as_echo "$as_me: failed program was:" >&5 1604 $as_echo "$as_me: failed program was:" >&5
1567sed 's/^/| /' conftest.$ac_ext >&5 1605sed 's/^/| /' conftest.$ac_ext >&5
1568 1606
1569 ac_retval=1 1607 ac_retval=1
1570fi 1608fi
1571 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572 as_fn_set_status $ac_retval 1610 as_fn_set_status $ac_retval
1573 1611
1574} # ac_fn_cxx_try_compile 1612} # ac_fn_cxx_try_compile
1575 1613
1576# ac_fn_c_try_cpp LINENO 1614# ac_fn_c_try_cpp LINENO
1603 $as_echo "$as_me: failed program was:" >&5 1641 $as_echo "$as_me: failed program was:" >&5
1604sed 's/^/| /' conftest.$ac_ext >&5 1642sed 's/^/| /' conftest.$ac_ext >&5
1605 1643
1606 ac_retval=1 1644 ac_retval=1
1607fi 1645fi
1608 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1609 as_fn_set_status $ac_retval 1647 as_fn_set_status $ac_retval
1610 1648
1611} # ac_fn_c_try_cpp 1649} # ac_fn_c_try_cpp
1612 1650
1613# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1651# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1616# the include files in INCLUDES and setting the cache variable VAR 1654# the include files in INCLUDES and setting the cache variable VAR
1617# accordingly. 1655# accordingly.
1618ac_fn_c_check_header_mongrel () 1656ac_fn_c_check_header_mongrel ()
1619{ 1657{
1620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621 if eval "test \"\${$3+set}\"" = set; then : 1659 if eval \${$3+:} false; then :
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1623$as_echo_n "checking for $2... " >&6; } 1661$as_echo_n "checking for $2... " >&6; }
1624if eval "test \"\${$3+set}\"" = set; then : 1662if eval \${$3+:} false; then :
1625 $as_echo_n "(cached) " >&6 1663 $as_echo_n "(cached) " >&6
1626fi 1664fi
1627eval ac_res=\$$3 1665eval ac_res=\$$3
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1629$as_echo "$ac_res" >&6; } 1667$as_echo "$ac_res" >&6; }
1682$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1720$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1683 ;; 1721 ;;
1684esac 1722esac
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1686$as_echo_n "checking for $2... " >&6; } 1724$as_echo_n "checking for $2... " >&6; }
1687if eval "test \"\${$3+set}\"" = set; then : 1725if eval \${$3+:} false; then :
1688 $as_echo_n "(cached) " >&6 1726 $as_echo_n "(cached) " >&6
1689else 1727else
1690 eval "$3=\$ac_header_compiler" 1728 eval "$3=\$ac_header_compiler"
1691fi 1729fi
1692eval ac_res=\$$3 1730eval ac_res=\$$3
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1694$as_echo "$ac_res" >&6; } 1732$as_echo "$ac_res" >&6; }
1695fi 1733fi
1696 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697 1735
1698} # ac_fn_c_check_header_mongrel 1736} # ac_fn_c_check_header_mongrel
1699 1737
1700# ac_fn_c_try_run LINENO 1738# ac_fn_c_try_run LINENO
1701# ---------------------- 1739# ----------------------
1732sed 's/^/| /' conftest.$ac_ext >&5 1770sed 's/^/| /' conftest.$ac_ext >&5
1733 1771
1734 ac_retval=$ac_status 1772 ac_retval=$ac_status
1735fi 1773fi
1736 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1774 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1737 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738 as_fn_set_status $ac_retval 1776 as_fn_set_status $ac_retval
1739 1777
1740} # ac_fn_c_try_run 1778} # ac_fn_c_try_run
1741 1779
1742# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1780# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1746ac_fn_c_check_header_compile () 1784ac_fn_c_check_header_compile ()
1747{ 1785{
1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750$as_echo_n "checking for $2... " >&6; } 1788$as_echo_n "checking for $2... " >&6; }
1751if eval "test \"\${$3+set}\"" = set; then : 1789if eval \${$3+:} false; then :
1752 $as_echo_n "(cached) " >&6 1790 $as_echo_n "(cached) " >&6
1753else 1791else
1754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1755/* end confdefs.h. */ 1793/* end confdefs.h. */
1756$4 1794$4
1764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1765fi 1803fi
1766eval ac_res=\$$3 1804eval ac_res=\$$3
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768$as_echo "$ac_res" >&6; } 1806$as_echo "$ac_res" >&6; }
1769 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1770 1808
1771} # ac_fn_c_check_header_compile 1809} # ac_fn_c_check_header_compile
1772 1810
1773# ac_fn_c_try_link LINENO 1811# ac_fn_c_try_link LINENO
1774# ----------------------- 1812# -----------------------
1795 test $ac_status = 0; } && { 1833 test $ac_status = 0; } && {
1796 test -z "$ac_c_werror_flag" || 1834 test -z "$ac_c_werror_flag" ||
1797 test ! -s conftest.err 1835 test ! -s conftest.err
1798 } && test -s conftest$ac_exeext && { 1836 } && test -s conftest$ac_exeext && {
1799 test "$cross_compiling" = yes || 1837 test "$cross_compiling" = yes ||
1800 $as_test_x conftest$ac_exeext 1838 test -x conftest$ac_exeext
1801 }; then : 1839 }; then :
1802 ac_retval=0 1840 ac_retval=0
1803else 1841else
1804 $as_echo "$as_me: failed program was:" >&5 1842 $as_echo "$as_me: failed program was:" >&5
1805sed 's/^/| /' conftest.$ac_ext >&5 1843sed 's/^/| /' conftest.$ac_ext >&5
1809 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1847 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1810 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1848 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1811 # interfere with the next link command; also delete a directory that is 1849 # interfere with the next link command; also delete a directory that is
1812 # left behind by Apple's compiler. We do this before executing the actions. 1850 # left behind by Apple's compiler. We do this before executing the actions.
1813 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1851 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1814 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815 as_fn_set_status $ac_retval 1853 as_fn_set_status $ac_retval
1816 1854
1817} # ac_fn_c_try_link 1855} # ac_fn_c_try_link
1818 1856
1819# ac_fn_cxx_try_link LINENO 1857# ac_fn_cxx_try_link LINENO
1841 test $ac_status = 0; } && { 1879 test $ac_status = 0; } && {
1842 test -z "$ac_cxx_werror_flag" || 1880 test -z "$ac_cxx_werror_flag" ||
1843 test ! -s conftest.err 1881 test ! -s conftest.err
1844 } && test -s conftest$ac_exeext && { 1882 } && test -s conftest$ac_exeext && {
1845 test "$cross_compiling" = yes || 1883 test "$cross_compiling" = yes ||
1846 $as_test_x conftest$ac_exeext 1884 test -x conftest$ac_exeext
1847 }; then : 1885 }; then :
1848 ac_retval=0 1886 ac_retval=0
1849else 1887else
1850 $as_echo "$as_me: failed program was:" >&5 1888 $as_echo "$as_me: failed program was:" >&5
1851sed 's/^/| /' conftest.$ac_ext >&5 1889sed 's/^/| /' conftest.$ac_ext >&5
1855 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1893 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1856 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1894 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1857 # interfere with the next link command; also delete a directory that is 1895 # interfere with the next link command; also delete a directory that is
1858 # left behind by Apple's compiler. We do this before executing the actions. 1896 # left behind by Apple's compiler. We do this before executing the actions.
1859 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1897 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1860 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1861 as_fn_set_status $ac_retval 1899 as_fn_set_status $ac_retval
1862 1900
1863} # ac_fn_cxx_try_link 1901} # ac_fn_cxx_try_link
1864 1902
1865# ac_fn_cxx_try_cpp LINENO 1903# ac_fn_cxx_try_cpp LINENO
1892 $as_echo "$as_me: failed program was:" >&5 1930 $as_echo "$as_me: failed program was:" >&5
1893sed 's/^/| /' conftest.$ac_ext >&5 1931sed 's/^/| /' conftest.$ac_ext >&5
1894 1932
1895 ac_retval=1 1933 ac_retval=1
1896fi 1934fi
1897 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1935 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1898 as_fn_set_status $ac_retval 1936 as_fn_set_status $ac_retval
1899 1937
1900} # ac_fn_cxx_try_cpp 1938} # ac_fn_cxx_try_cpp
1901 1939
1902# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1940# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1905# the include files in INCLUDES and setting the cache variable VAR 1943# the include files in INCLUDES and setting the cache variable VAR
1906# accordingly. 1944# accordingly.
1907ac_fn_cxx_check_header_mongrel () 1945ac_fn_cxx_check_header_mongrel ()
1908{ 1946{
1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1947 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910 if eval "test \"\${$3+set}\"" = set; then : 1948 if eval \${$3+:} false; then :
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1912$as_echo_n "checking for $2... " >&6; } 1950$as_echo_n "checking for $2... " >&6; }
1913if eval "test \"\${$3+set}\"" = set; then : 1951if eval \${$3+:} false; then :
1914 $as_echo_n "(cached) " >&6 1952 $as_echo_n "(cached) " >&6
1915fi 1953fi
1916eval ac_res=\$$3 1954eval ac_res=\$$3
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1918$as_echo "$ac_res" >&6; } 1956$as_echo "$ac_res" >&6; }
1971$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2009$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1972 ;; 2010 ;;
1973esac 2011esac
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1975$as_echo_n "checking for $2... " >&6; } 2013$as_echo_n "checking for $2... " >&6; }
1976if eval "test \"\${$3+set}\"" = set; then : 2014if eval \${$3+:} false; then :
1977 $as_echo_n "(cached) " >&6 2015 $as_echo_n "(cached) " >&6
1978else 2016else
1979 eval "$3=\$ac_header_compiler" 2017 eval "$3=\$ac_header_compiler"
1980fi 2018fi
1981eval ac_res=\$$3 2019eval ac_res=\$$3
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1983$as_echo "$ac_res" >&6; } 2021$as_echo "$ac_res" >&6; }
1984fi 2022fi
1985 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2023 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986 2024
1987} # ac_fn_cxx_check_header_mongrel 2025} # ac_fn_cxx_check_header_mongrel
1988 2026
1989# ac_fn_cxx_check_func LINENO FUNC VAR 2027# ac_fn_cxx_check_func LINENO FUNC VAR
1990# ------------------------------------ 2028# ------------------------------------
1992ac_fn_cxx_check_func () 2030ac_fn_cxx_check_func ()
1993{ 2031{
1994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1996$as_echo_n "checking for $2... " >&6; } 2034$as_echo_n "checking for $2... " >&6; }
1997if eval "test \"\${$3+set}\"" = set; then : 2035if eval \${$3+:} false; then :
1998 $as_echo_n "(cached) " >&6 2036 $as_echo_n "(cached) " >&6
1999else 2037else
2000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2001/* end confdefs.h. */ 2039/* end confdefs.h. */
2002/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2040/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2047 conftest$ac_exeext conftest.$ac_ext 2085 conftest$ac_exeext conftest.$ac_ext
2048fi 2086fi
2049eval ac_res=\$$3 2087eval ac_res=\$$3
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2051$as_echo "$ac_res" >&6; } 2089$as_echo "$ac_res" >&6; }
2052 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2090 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2053 2091
2054} # ac_fn_cxx_check_func 2092} # ac_fn_cxx_check_func
2055 2093
2056# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES 2094# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2057# --------------------------------------------- 2095# ---------------------------------------------
2060ac_fn_cxx_check_type () 2098ac_fn_cxx_check_type ()
2061{ 2099{
2062 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2100 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2064$as_echo_n "checking for $2... " >&6; } 2102$as_echo_n "checking for $2... " >&6; }
2065if eval "test \"\${$3+set}\"" = set; then : 2103if eval \${$3+:} false; then :
2066 $as_echo_n "(cached) " >&6 2104 $as_echo_n "(cached) " >&6
2067else 2105else
2068 eval "$3=no" 2106 eval "$3=no"
2069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2070/* end confdefs.h. */ 2108/* end confdefs.h. */
2101rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2102fi 2140fi
2103eval ac_res=\$$3 2141eval ac_res=\$$3
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2105$as_echo "$ac_res" >&6; } 2143$as_echo "$ac_res" >&6; }
2106 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2144 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2107 2145
2108} # ac_fn_cxx_check_type 2146} # ac_fn_cxx_check_type
2109 2147
2110# ac_fn_c_find_intX_t LINENO BITS VAR 2148# ac_fn_c_find_intX_t LINENO BITS VAR
2111# ----------------------------------- 2149# -----------------------------------
2114ac_fn_c_find_intX_t () 2152ac_fn_c_find_intX_t ()
2115{ 2153{
2116 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2154 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2118$as_echo_n "checking for int$2_t... " >&6; } 2156$as_echo_n "checking for int$2_t... " >&6; }
2119if eval "test \"\${$3+set}\"" = set; then : 2157if eval \${$3+:} false; then :
2120 $as_echo_n "(cached) " >&6 2158 $as_echo_n "(cached) " >&6
2121else 2159else
2122 eval "$3=no" 2160 eval "$3=no"
2123 # Order is important - never check a type that is potentially smaller 2161 # Order is important - never check a type that is potentially smaller
2124 # than half of the expected target width. 2162 # than half of the expected target width.
2130 enum { N = $2 / 2 - 1 }; 2168 enum { N = $2 / 2 - 1 };
2131int 2169int
2132main () 2170main ()
2133{ 2171{
2134static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; 2172static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
2135test_array [0] = 0 2173test_array [0] = 0;
2174return test_array [0];
2136 2175
2137 ; 2176 ;
2138 return 0; 2177 return 0;
2139} 2178}
2140_ACEOF 2179_ACEOF
2146int 2185int
2147main () 2186main ()
2148{ 2187{
2149static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) 2188static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
2150 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; 2189 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
2151test_array [0] = 0 2190test_array [0] = 0;
2191return test_array [0];
2152 2192
2153 ; 2193 ;
2154 return 0; 2194 return 0;
2155} 2195}
2156_ACEOF 2196_ACEOF
2175 done 2215 done
2176fi 2216fi
2177eval ac_res=\$$3 2217eval ac_res=\$$3
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179$as_echo "$ac_res" >&6; } 2219$as_echo "$ac_res" >&6; }
2180 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2220 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2181 2221
2182} # ac_fn_c_find_intX_t 2222} # ac_fn_c_find_intX_t
2183 2223
2184# ac_fn_c_find_uintX_t LINENO BITS VAR 2224# ac_fn_c_find_uintX_t LINENO BITS VAR
2185# ------------------------------------ 2225# ------------------------------------
2188ac_fn_c_find_uintX_t () 2228ac_fn_c_find_uintX_t ()
2189{ 2229{
2190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2230 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 2231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2192$as_echo_n "checking for uint$2_t... " >&6; } 2232$as_echo_n "checking for uint$2_t... " >&6; }
2193if eval "test \"\${$3+set}\"" = set; then : 2233if eval \${$3+:} false; then :
2194 $as_echo_n "(cached) " >&6 2234 $as_echo_n "(cached) " >&6
2195else 2235else
2196 eval "$3=no" 2236 eval "$3=no"
2197 # Order is important - never check a type that is potentially smaller 2237 # Order is important - never check a type that is potentially smaller
2198 # than half of the expected target width. 2238 # than half of the expected target width.
2203$ac_includes_default 2243$ac_includes_default
2204int 2244int
2205main () 2245main ()
2206{ 2246{
2207static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; 2247static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2208test_array [0] = 0 2248test_array [0] = 0;
2249return test_array [0];
2209 2250
2210 ; 2251 ;
2211 return 0; 2252 return 0;
2212} 2253}
2213_ACEOF 2254_ACEOF
2228 done 2269 done
2229fi 2270fi
2230eval ac_res=\$$3 2271eval ac_res=\$$3
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2232$as_echo "$ac_res" >&6; } 2273$as_echo "$ac_res" >&6; }
2233 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2274 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2234 2275
2235} # ac_fn_c_find_uintX_t 2276} # ac_fn_c_find_uintX_t
2277
2278# ac_fn_cxx_check_member LINENO AGGR MEMBER VAR INCLUDES
2279# ------------------------------------------------------
2280# Tries to find if the field MEMBER exists in type AGGR, after including
2281# INCLUDES, setting cache variable VAR accordingly.
2282ac_fn_cxx_check_member ()
2283{
2284 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2286$as_echo_n "checking for $2.$3... " >&6; }
2287if eval \${$4+:} false; then :
2288 $as_echo_n "(cached) " >&6
2289else
2290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2291/* end confdefs.h. */
2292$5
2293int
2294main ()
2295{
2296static $2 ac_aggr;
2297if (ac_aggr.$3)
2298return 0;
2299 ;
2300 return 0;
2301}
2302_ACEOF
2303if ac_fn_cxx_try_compile "$LINENO"; then :
2304 eval "$4=yes"
2305else
2306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2307/* end confdefs.h. */
2308$5
2309int
2310main ()
2311{
2312static $2 ac_aggr;
2313if (sizeof ac_aggr.$3)
2314return 0;
2315 ;
2316 return 0;
2317}
2318_ACEOF
2319if ac_fn_cxx_try_compile "$LINENO"; then :
2320 eval "$4=yes"
2321else
2322 eval "$4=no"
2323fi
2324rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2325fi
2326rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2327fi
2328eval ac_res=\$$4
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2330$as_echo "$ac_res" >&6; }
2331 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2332
2333} # ac_fn_cxx_check_member
2236 2334
2237# ac_fn_cxx_try_run LINENO 2335# ac_fn_cxx_try_run LINENO
2238# ------------------------ 2336# ------------------------
2239# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2337# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2240# that executables *can* be run. 2338# that executables *can* be run.
2269sed 's/^/| /' conftest.$ac_ext >&5 2367sed 's/^/| /' conftest.$ac_ext >&5
2270 2368
2271 ac_retval=$ac_status 2369 ac_retval=$ac_status
2272fi 2370fi
2273 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2371 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2274 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2372 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2275 as_fn_set_status $ac_retval 2373 as_fn_set_status $ac_retval
2276 2374
2277} # ac_fn_cxx_try_run 2375} # ac_fn_cxx_try_run
2278cat >config.log <<_ACEOF 2376cat >config.log <<_ACEOF
2279This file contains any messages produced by compilers while 2377This file contains any messages produced by compilers while
2280running configure, to aid debugging if configure makes a mistake. 2378running configure, to aid debugging if configure makes a mistake.
2281 2379
2282It was created by $as_me, which was 2380It was created by $as_me, which was
2283generated by GNU Autoconf 2.67. Invocation command line was 2381generated by GNU Autoconf 2.69. Invocation command line was
2284 2382
2285 $ $0 $@ 2383 $ $0 $@
2286 2384
2287_ACEOF 2385_ACEOF
2288exec 5>>config.log 2386exec 5>>config.log
2536 sed 's/^/| /' "$ac_site_file" >&5 2634 sed 's/^/| /' "$ac_site_file" >&5
2537 . "$ac_site_file" \ 2635 . "$ac_site_file" \
2538 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2636 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2539$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2637$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2540as_fn_error $? "failed to load site script $ac_site_file 2638as_fn_error $? "failed to load site script $ac_site_file
2541See \`config.log' for more details" "$LINENO" 5 ; } 2639See \`config.log' for more details" "$LINENO" 5; }
2542 fi 2640 fi
2543done 2641done
2544 2642
2545if test -r "$cache_file"; then 2643if test -r "$cache_file"; then
2546 # Some versions of bash will fail to source /dev/null (special files 2644 # Some versions of bash will fail to source /dev/null (special files
2665$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2763$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2666 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2764 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2667 2765
2668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2669$as_echo_n "checking build system type... " >&6; } 2767$as_echo_n "checking build system type... " >&6; }
2670if test "${ac_cv_build+set}" = set; then : 2768if ${ac_cv_build+:} false; then :
2671 $as_echo_n "(cached) " >&6 2769 $as_echo_n "(cached) " >&6
2672else 2770else
2673 ac_build_alias=$build_alias 2771 ac_build_alias=$build_alias
2674test "x$ac_build_alias" = x && 2772test "x$ac_build_alias" = x &&
2675 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2773 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2681fi 2779fi
2682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2683$as_echo "$ac_cv_build" >&6; } 2781$as_echo "$ac_cv_build" >&6; }
2684case $ac_cv_build in 2782case $ac_cv_build in
2685*-*-*) ;; 2783*-*-*) ;;
2686*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 2784*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2687esac 2785esac
2688build=$ac_cv_build 2786build=$ac_cv_build
2689ac_save_IFS=$IFS; IFS='-' 2787ac_save_IFS=$IFS; IFS='-'
2690set x $ac_cv_build 2788set x $ac_cv_build
2691shift 2789shift
2699case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2797case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2700 2798
2701 2799
2702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2703$as_echo_n "checking host system type... " >&6; } 2801$as_echo_n "checking host system type... " >&6; }
2704if test "${ac_cv_host+set}" = set; then : 2802if ${ac_cv_host+:} false; then :
2705 $as_echo_n "(cached) " >&6 2803 $as_echo_n "(cached) " >&6
2706else 2804else
2707 if test "x$host_alias" = x; then 2805 if test "x$host_alias" = x; then
2708 ac_cv_host=$ac_cv_build 2806 ac_cv_host=$ac_cv_build
2709else 2807else
2714fi 2812fi
2715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2716$as_echo "$ac_cv_host" >&6; } 2814$as_echo "$ac_cv_host" >&6; }
2717case $ac_cv_host in 2815case $ac_cv_host in
2718*-*-*) ;; 2816*-*-*) ;;
2719*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 2817*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2720esac 2818esac
2721host=$ac_cv_host 2819host=$ac_cv_host
2722ac_save_IFS=$IFS; IFS='-' 2820ac_save_IFS=$IFS; IFS='-'
2723set x $ac_cv_host 2821set x $ac_cv_host
2724shift 2822shift
2750if test -n "$ac_tool_prefix"; then 2848if test -n "$ac_tool_prefix"; then
2751 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2849 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2752set dummy ${ac_tool_prefix}gcc; ac_word=$2 2850set dummy ${ac_tool_prefix}gcc; ac_word=$2
2753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2754$as_echo_n "checking for $ac_word... " >&6; } 2852$as_echo_n "checking for $ac_word... " >&6; }
2755if test "${ac_cv_prog_CC+set}" = set; then : 2853if ${ac_cv_prog_CC+:} false; then :
2756 $as_echo_n "(cached) " >&6 2854 $as_echo_n "(cached) " >&6
2757else 2855else
2758 if test -n "$CC"; then 2856 if test -n "$CC"; then
2759 ac_cv_prog_CC="$CC" # Let the user override the test. 2857 ac_cv_prog_CC="$CC" # Let the user override the test.
2760else 2858else
2762for as_dir in $PATH 2860for as_dir in $PATH
2763do 2861do
2764 IFS=$as_save_IFS 2862 IFS=$as_save_IFS
2765 test -z "$as_dir" && as_dir=. 2863 test -z "$as_dir" && as_dir=.
2766 for ac_exec_ext in '' $ac_executable_extensions; do 2864 for ac_exec_ext in '' $ac_executable_extensions; do
2767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2768 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2866 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2770 break 2 2868 break 2
2771 fi 2869 fi
2772done 2870done
2790 ac_ct_CC=$CC 2888 ac_ct_CC=$CC
2791 # Extract the first word of "gcc", so it can be a program name with args. 2889 # Extract the first word of "gcc", so it can be a program name with args.
2792set dummy gcc; ac_word=$2 2890set dummy gcc; ac_word=$2
2793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2794$as_echo_n "checking for $ac_word... " >&6; } 2892$as_echo_n "checking for $ac_word... " >&6; }
2795if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2893if ${ac_cv_prog_ac_ct_CC+:} false; then :
2796 $as_echo_n "(cached) " >&6 2894 $as_echo_n "(cached) " >&6
2797else 2895else
2798 if test -n "$ac_ct_CC"; then 2896 if test -n "$ac_ct_CC"; then
2799 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2897 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2800else 2898else
2802for as_dir in $PATH 2900for as_dir in $PATH
2803do 2901do
2804 IFS=$as_save_IFS 2902 IFS=$as_save_IFS
2805 test -z "$as_dir" && as_dir=. 2903 test -z "$as_dir" && as_dir=.
2806 for ac_exec_ext in '' $ac_executable_extensions; do 2904 for ac_exec_ext in '' $ac_executable_extensions; do
2807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2808 ac_cv_prog_ac_ct_CC="gcc" 2906 ac_cv_prog_ac_ct_CC="gcc"
2809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2810 break 2 2908 break 2
2811 fi 2909 fi
2812done 2910done
2843 if test -n "$ac_tool_prefix"; then 2941 if test -n "$ac_tool_prefix"; then
2844 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2942 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2845set dummy ${ac_tool_prefix}cc; ac_word=$2 2943set dummy ${ac_tool_prefix}cc; ac_word=$2
2846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2847$as_echo_n "checking for $ac_word... " >&6; } 2945$as_echo_n "checking for $ac_word... " >&6; }
2848if test "${ac_cv_prog_CC+set}" = set; then : 2946if ${ac_cv_prog_CC+:} false; then :
2849 $as_echo_n "(cached) " >&6 2947 $as_echo_n "(cached) " >&6
2850else 2948else
2851 if test -n "$CC"; then 2949 if test -n "$CC"; then
2852 ac_cv_prog_CC="$CC" # Let the user override the test. 2950 ac_cv_prog_CC="$CC" # Let the user override the test.
2853else 2951else
2855for as_dir in $PATH 2953for as_dir in $PATH
2856do 2954do
2857 IFS=$as_save_IFS 2955 IFS=$as_save_IFS
2858 test -z "$as_dir" && as_dir=. 2956 test -z "$as_dir" && as_dir=.
2859 for ac_exec_ext in '' $ac_executable_extensions; do 2957 for ac_exec_ext in '' $ac_executable_extensions; do
2860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2861 ac_cv_prog_CC="${ac_tool_prefix}cc" 2959 ac_cv_prog_CC="${ac_tool_prefix}cc"
2862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 break 2 2961 break 2
2864 fi 2962 fi
2865done 2963done
2883if test -z "$CC"; then 2981if test -z "$CC"; then
2884 # Extract the first word of "cc", so it can be a program name with args. 2982 # Extract the first word of "cc", so it can be a program name with args.
2885set dummy cc; ac_word=$2 2983set dummy cc; ac_word=$2
2886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2887$as_echo_n "checking for $ac_word... " >&6; } 2985$as_echo_n "checking for $ac_word... " >&6; }
2888if test "${ac_cv_prog_CC+set}" = set; then : 2986if ${ac_cv_prog_CC+:} false; then :
2889 $as_echo_n "(cached) " >&6 2987 $as_echo_n "(cached) " >&6
2890else 2988else
2891 if test -n "$CC"; then 2989 if test -n "$CC"; then
2892 ac_cv_prog_CC="$CC" # Let the user override the test. 2990 ac_cv_prog_CC="$CC" # Let the user override the test.
2893else 2991else
2896for as_dir in $PATH 2994for as_dir in $PATH
2897do 2995do
2898 IFS=$as_save_IFS 2996 IFS=$as_save_IFS
2899 test -z "$as_dir" && as_dir=. 2997 test -z "$as_dir" && as_dir=.
2900 for ac_exec_ext in '' $ac_executable_extensions; do 2998 for ac_exec_ext in '' $ac_executable_extensions; do
2901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2902 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3000 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2903 ac_prog_rejected=yes 3001 ac_prog_rejected=yes
2904 continue 3002 continue
2905 fi 3003 fi
2906 ac_cv_prog_CC="cc" 3004 ac_cv_prog_CC="cc"
2942 do 3040 do
2943 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2944set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3042set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2946$as_echo_n "checking for $ac_word... " >&6; } 3044$as_echo_n "checking for $ac_word... " >&6; }
2947if test "${ac_cv_prog_CC+set}" = set; then : 3045if ${ac_cv_prog_CC+:} false; then :
2948 $as_echo_n "(cached) " >&6 3046 $as_echo_n "(cached) " >&6
2949else 3047else
2950 if test -n "$CC"; then 3048 if test -n "$CC"; then
2951 ac_cv_prog_CC="$CC" # Let the user override the test. 3049 ac_cv_prog_CC="$CC" # Let the user override the test.
2952else 3050else
2954for as_dir in $PATH 3052for as_dir in $PATH
2955do 3053do
2956 IFS=$as_save_IFS 3054 IFS=$as_save_IFS
2957 test -z "$as_dir" && as_dir=. 3055 test -z "$as_dir" && as_dir=.
2958 for ac_exec_ext in '' $ac_executable_extensions; do 3056 for ac_exec_ext in '' $ac_executable_extensions; do
2959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2960 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3058 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 break 2 3060 break 2
2963 fi 3061 fi
2964done 3062done
2986do 3084do
2987 # Extract the first word of "$ac_prog", so it can be a program name with args. 3085 # Extract the first word of "$ac_prog", so it can be a program name with args.
2988set dummy $ac_prog; ac_word=$2 3086set dummy $ac_prog; ac_word=$2
2989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2990$as_echo_n "checking for $ac_word... " >&6; } 3088$as_echo_n "checking for $ac_word... " >&6; }
2991if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3089if ${ac_cv_prog_ac_ct_CC+:} false; then :
2992 $as_echo_n "(cached) " >&6 3090 $as_echo_n "(cached) " >&6
2993else 3091else
2994 if test -n "$ac_ct_CC"; then 3092 if test -n "$ac_ct_CC"; then
2995 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3093 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2996else 3094else
2998for as_dir in $PATH 3096for as_dir in $PATH
2999do 3097do
3000 IFS=$as_save_IFS 3098 IFS=$as_save_IFS
3001 test -z "$as_dir" && as_dir=. 3099 test -z "$as_dir" && as_dir=.
3002 for ac_exec_ext in '' $ac_executable_extensions; do 3100 for ac_exec_ext in '' $ac_executable_extensions; do
3003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3004 ac_cv_prog_ac_ct_CC="$ac_prog" 3102 ac_cv_prog_ac_ct_CC="$ac_prog"
3005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3006 break 2 3104 break 2
3007 fi 3105 fi
3008done 3106done
3041 3139
3042 3140
3043test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3141test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3044$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3142$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3045as_fn_error $? "no acceptable C compiler found in \$PATH 3143as_fn_error $? "no acceptable C compiler found in \$PATH
3046See \`config.log' for more details" "$LINENO" 5 ; } 3144See \`config.log' for more details" "$LINENO" 5; }
3047 3145
3048# Provide some information about the compiler. 3146# Provide some information about the compiler.
3049$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3147$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3050set X $ac_compile 3148set X $ac_compile
3051ac_compiler=$2 3149ac_compiler=$2
3156sed 's/^/| /' conftest.$ac_ext >&5 3254sed 's/^/| /' conftest.$ac_ext >&5
3157 3255
3158{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3256{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3159$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3257$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3160as_fn_error 77 "C compiler cannot create executables 3258as_fn_error 77 "C compiler cannot create executables
3161See \`config.log' for more details" "$LINENO" 5 ; } 3259See \`config.log' for more details" "$LINENO" 5; }
3162else 3260else
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3164$as_echo "yes" >&6; } 3262$as_echo "yes" >&6; }
3165fi 3263fi
3166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3199done 3297done
3200else 3298else
3201 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3202$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3300$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3203as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3301as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3204See \`config.log' for more details" "$LINENO" 5 ; } 3302See \`config.log' for more details" "$LINENO" 5; }
3205fi 3303fi
3206rm -f conftest conftest$ac_cv_exeext 3304rm -f conftest conftest$ac_cv_exeext
3207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3208$as_echo "$ac_cv_exeext" >&6; } 3306$as_echo "$ac_cv_exeext" >&6; }
3209 3307
3258 else 3356 else
3259 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3260$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3358$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3261as_fn_error $? "cannot run C compiled programs. 3359as_fn_error $? "cannot run C compiled programs.
3262If you meant to cross compile, use \`--host'. 3360If you meant to cross compile, use \`--host'.
3263See \`config.log' for more details" "$LINENO" 5 ; } 3361See \`config.log' for more details" "$LINENO" 5; }
3264 fi 3362 fi
3265 fi 3363 fi
3266fi 3364fi
3267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3268$as_echo "$cross_compiling" >&6; } 3366$as_echo "$cross_compiling" >&6; }
3269 3367
3270rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3368rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3271ac_clean_files=$ac_clean_files_save 3369ac_clean_files=$ac_clean_files_save
3272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3273$as_echo_n "checking for suffix of object files... " >&6; } 3371$as_echo_n "checking for suffix of object files... " >&6; }
3274if test "${ac_cv_objext+set}" = set; then : 3372if ${ac_cv_objext+:} false; then :
3275 $as_echo_n "(cached) " >&6 3373 $as_echo_n "(cached) " >&6
3276else 3374else
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278/* end confdefs.h. */ 3376/* end confdefs.h. */
3279 3377
3310sed 's/^/| /' conftest.$ac_ext >&5 3408sed 's/^/| /' conftest.$ac_ext >&5
3311 3409
3312{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3410{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3313$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3411$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3314as_fn_error $? "cannot compute suffix of object files: cannot compile 3412as_fn_error $? "cannot compute suffix of object files: cannot compile
3315See \`config.log' for more details" "$LINENO" 5 ; } 3413See \`config.log' for more details" "$LINENO" 5; }
3316fi 3414fi
3317rm -f conftest.$ac_cv_objext conftest.$ac_ext 3415rm -f conftest.$ac_cv_objext conftest.$ac_ext
3318fi 3416fi
3319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3320$as_echo "$ac_cv_objext" >&6; } 3418$as_echo "$ac_cv_objext" >&6; }
3321OBJEXT=$ac_cv_objext 3419OBJEXT=$ac_cv_objext
3322ac_objext=$OBJEXT 3420ac_objext=$OBJEXT
3323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3324$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3422$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3325if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3423if ${ac_cv_c_compiler_gnu+:} false; then :
3326 $as_echo_n "(cached) " >&6 3424 $as_echo_n "(cached) " >&6
3327else 3425else
3328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3329/* end confdefs.h. */ 3427/* end confdefs.h. */
3330 3428
3357fi 3455fi
3358ac_test_CFLAGS=${CFLAGS+set} 3456ac_test_CFLAGS=${CFLAGS+set}
3359ac_save_CFLAGS=$CFLAGS 3457ac_save_CFLAGS=$CFLAGS
3360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3361$as_echo_n "checking whether $CC accepts -g... " >&6; } 3459$as_echo_n "checking whether $CC accepts -g... " >&6; }
3362if test "${ac_cv_prog_cc_g+set}" = set; then : 3460if ${ac_cv_prog_cc_g+:} false; then :
3363 $as_echo_n "(cached) " >&6 3461 $as_echo_n "(cached) " >&6
3364else 3462else
3365 ac_save_c_werror_flag=$ac_c_werror_flag 3463 ac_save_c_werror_flag=$ac_c_werror_flag
3366 ac_c_werror_flag=yes 3464 ac_c_werror_flag=yes
3367 ac_cv_prog_cc_g=no 3465 ac_cv_prog_cc_g=no
3435 CFLAGS= 3533 CFLAGS=
3436 fi 3534 fi
3437fi 3535fi
3438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3439$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3537$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3440if test "${ac_cv_prog_cc_c89+set}" = set; then : 3538if ${ac_cv_prog_cc_c89+:} false; then :
3441 $as_echo_n "(cached) " >&6 3539 $as_echo_n "(cached) " >&6
3442else 3540else
3443 ac_cv_prog_cc_c89=no 3541 ac_cv_prog_cc_c89=no
3444ac_save_CC=$CC 3542ac_save_CC=$CC
3445cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3543cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3446/* end confdefs.h. */ 3544/* end confdefs.h. */
3447#include <stdarg.h> 3545#include <stdarg.h>
3448#include <stdio.h> 3546#include <stdio.h>
3449#include <sys/types.h> 3547struct stat;
3450#include <sys/stat.h>
3451/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3548/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3452struct buf { int x; }; 3549struct buf { int x; };
3453FILE * (*rcsopen) (struct buf *, struct stat *, int); 3550FILE * (*rcsopen) (struct buf *, struct stat *, int);
3454static char *e (p, i) 3551static char *e (p, i)
3455 char **p; 3552 char **p;
3546 do 3643 do
3547 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3644 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3548set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3645set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3550$as_echo_n "checking for $ac_word... " >&6; } 3647$as_echo_n "checking for $ac_word... " >&6; }
3551if test "${ac_cv_prog_CXX+set}" = set; then : 3648if ${ac_cv_prog_CXX+:} false; then :
3552 $as_echo_n "(cached) " >&6 3649 $as_echo_n "(cached) " >&6
3553else 3650else
3554 if test -n "$CXX"; then 3651 if test -n "$CXX"; then
3555 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3652 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3556else 3653else
3558for as_dir in $PATH 3655for as_dir in $PATH
3559do 3656do
3560 IFS=$as_save_IFS 3657 IFS=$as_save_IFS
3561 test -z "$as_dir" && as_dir=. 3658 test -z "$as_dir" && as_dir=.
3562 for ac_exec_ext in '' $ac_executable_extensions; do 3659 for ac_exec_ext in '' $ac_executable_extensions; do
3563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3564 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3661 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3566 break 2 3663 break 2
3567 fi 3664 fi
3568done 3665done
3590do 3687do
3591 # Extract the first word of "$ac_prog", so it can be a program name with args. 3688 # Extract the first word of "$ac_prog", so it can be a program name with args.
3592set dummy $ac_prog; ac_word=$2 3689set dummy $ac_prog; ac_word=$2
3593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3594$as_echo_n "checking for $ac_word... " >&6; } 3691$as_echo_n "checking for $ac_word... " >&6; }
3595if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3692if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3596 $as_echo_n "(cached) " >&6 3693 $as_echo_n "(cached) " >&6
3597else 3694else
3598 if test -n "$ac_ct_CXX"; then 3695 if test -n "$ac_ct_CXX"; then
3599 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3696 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3600else 3697else
3602for as_dir in $PATH 3699for as_dir in $PATH
3603do 3700do
3604 IFS=$as_save_IFS 3701 IFS=$as_save_IFS
3605 test -z "$as_dir" && as_dir=. 3702 test -z "$as_dir" && as_dir=.
3606 for ac_exec_ext in '' $ac_executable_extensions; do 3703 for ac_exec_ext in '' $ac_executable_extensions; do
3607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3608 ac_cv_prog_ac_ct_CXX="$ac_prog" 3705 ac_cv_prog_ac_ct_CXX="$ac_prog"
3609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3610 break 2 3707 break 2
3611 fi 3708 fi
3612done 3709done
3668 test $ac_status = 0; } 3765 test $ac_status = 0; }
3669done 3766done
3670 3767
3671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3672$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3769$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3673if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3770if ${ac_cv_cxx_compiler_gnu+:} false; then :
3674 $as_echo_n "(cached) " >&6 3771 $as_echo_n "(cached) " >&6
3675else 3772else
3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677/* end confdefs.h. */ 3774/* end confdefs.h. */
3678 3775
3705fi 3802fi
3706ac_test_CXXFLAGS=${CXXFLAGS+set} 3803ac_test_CXXFLAGS=${CXXFLAGS+set}
3707ac_save_CXXFLAGS=$CXXFLAGS 3804ac_save_CXXFLAGS=$CXXFLAGS
3708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3709$as_echo_n "checking whether $CXX accepts -g... " >&6; } 3806$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3710if test "${ac_cv_prog_cxx_g+set}" = set; then : 3807if ${ac_cv_prog_cxx_g+:} false; then :
3711 $as_echo_n "(cached) " >&6 3808 $as_echo_n "(cached) " >&6
3712else 3809else
3713 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3810 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3714 ac_cxx_werror_flag=yes 3811 ac_cxx_werror_flag=yes
3715 ac_cv_prog_cxx_g=no 3812 ac_cv_prog_cxx_g=no
3804# ./install, which can be erroneously created by make from ./install.sh. 3901# ./install, which can be erroneously created by make from ./install.sh.
3805# Reject install programs that cannot install multiple files. 3902# Reject install programs that cannot install multiple files.
3806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3807$as_echo_n "checking for a BSD-compatible install... " >&6; } 3904$as_echo_n "checking for a BSD-compatible install... " >&6; }
3808if test -z "$INSTALL"; then 3905if test -z "$INSTALL"; then
3809if test "${ac_cv_path_install+set}" = set; then : 3906if ${ac_cv_path_install+:} false; then :
3810 $as_echo_n "(cached) " >&6 3907 $as_echo_n "(cached) " >&6
3811else 3908else
3812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3813for as_dir in $PATH 3910for as_dir in $PATH
3814do 3911do
3824 # OSF1 and SCO ODT 3.0 have their own names for install. 3921 # OSF1 and SCO ODT 3.0 have their own names for install.
3825 # Don't use installbsd from OSF since it installs stuff as root 3922 # Don't use installbsd from OSF since it installs stuff as root
3826 # by default. 3923 # by default.
3827 for ac_prog in ginstall scoinst install; do 3924 for ac_prog in ginstall scoinst install; do
3828 for ac_exec_ext in '' $ac_executable_extensions; do 3925 for ac_exec_ext in '' $ac_executable_extensions; do
3829 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3926 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3830 if test $ac_prog = install && 3927 if test $ac_prog = install &&
3831 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3928 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3832 # AIX install. It has an incompatible calling convention. 3929 # AIX install. It has an incompatible calling convention.
3833 : 3930 :
3834 elif test $ac_prog = install && 3931 elif test $ac_prog = install &&
3894# On Suns, sometimes $CPP names a directory. 3991# On Suns, sometimes $CPP names a directory.
3895if test -n "$CPP" && test -d "$CPP"; then 3992if test -n "$CPP" && test -d "$CPP"; then
3896 CPP= 3993 CPP=
3897fi 3994fi
3898if test -z "$CPP"; then 3995if test -z "$CPP"; then
3899 if test "${ac_cv_prog_CPP+set}" = set; then : 3996 if ${ac_cv_prog_CPP+:} false; then :
3900 $as_echo_n "(cached) " >&6 3997 $as_echo_n "(cached) " >&6
3901else 3998else
3902 # Double quotes because CPP needs to be expanded 3999 # Double quotes because CPP needs to be expanded
3903 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4000 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3904 do 4001 do
4010 4107
4011else 4108else
4012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4013$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4110$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4014as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4111as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4015See \`config.log' for more details" "$LINENO" 5 ; } 4112See \`config.log' for more details" "$LINENO" 5; }
4016fi 4113fi
4017 4114
4018ac_ext=c 4115ac_ext=c
4019ac_cpp='$CPP $CPPFLAGS' 4116ac_cpp='$CPP $CPPFLAGS'
4020ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4117ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4022ac_compiler_gnu=$ac_cv_c_compiler_gnu 4119ac_compiler_gnu=$ac_cv_c_compiler_gnu
4023 4120
4024 4121
4025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4026$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4123$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4027if test "${ac_cv_path_GREP+set}" = set; then : 4124if ${ac_cv_path_GREP+:} false; then :
4028 $as_echo_n "(cached) " >&6 4125 $as_echo_n "(cached) " >&6
4029else 4126else
4030 if test -z "$GREP"; then 4127 if test -z "$GREP"; then
4031 ac_path_GREP_found=false 4128 ac_path_GREP_found=false
4032 # Loop through the user's path and test for each of PROGNAME-LIST 4129 # Loop through the user's path and test for each of PROGNAME-LIST
4036 IFS=$as_save_IFS 4133 IFS=$as_save_IFS
4037 test -z "$as_dir" && as_dir=. 4134 test -z "$as_dir" && as_dir=.
4038 for ac_prog in grep ggrep; do 4135 for ac_prog in grep ggrep; do
4039 for ac_exec_ext in '' $ac_executable_extensions; do 4136 for ac_exec_ext in '' $ac_executable_extensions; do
4040 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4137 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4041 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4138 as_fn_executable_p "$ac_path_GREP" || continue
4042# Check for GNU ac_path_GREP and select it if it is found. 4139# Check for GNU ac_path_GREP and select it if it is found.
4043 # Check for GNU $ac_path_GREP 4140 # Check for GNU $ac_path_GREP
4044case `"$ac_path_GREP" --version 2>&1` in 4141case `"$ac_path_GREP" --version 2>&1` in
4045*GNU*) 4142*GNU*)
4046 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4143 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4085 GREP="$ac_cv_path_GREP" 4182 GREP="$ac_cv_path_GREP"
4086 4183
4087 4184
4088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4089$as_echo_n "checking for egrep... " >&6; } 4186$as_echo_n "checking for egrep... " >&6; }
4090if test "${ac_cv_path_EGREP+set}" = set; then : 4187if ${ac_cv_path_EGREP+:} false; then :
4091 $as_echo_n "(cached) " >&6 4188 $as_echo_n "(cached) " >&6
4092else 4189else
4093 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4190 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4094 then ac_cv_path_EGREP="$GREP -E" 4191 then ac_cv_path_EGREP="$GREP -E"
4095 else 4192 else
4102 IFS=$as_save_IFS 4199 IFS=$as_save_IFS
4103 test -z "$as_dir" && as_dir=. 4200 test -z "$as_dir" && as_dir=.
4104 for ac_prog in egrep; do 4201 for ac_prog in egrep; do
4105 for ac_exec_ext in '' $ac_executable_extensions; do 4202 for ac_exec_ext in '' $ac_executable_extensions; do
4106 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4203 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4107 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4204 as_fn_executable_p "$ac_path_EGREP" || continue
4108# Check for GNU ac_path_EGREP and select it if it is found. 4205# Check for GNU ac_path_EGREP and select it if it is found.
4109 # Check for GNU $ac_path_EGREP 4206 # Check for GNU $ac_path_EGREP
4110case `"$ac_path_EGREP" --version 2>&1` in 4207case `"$ac_path_EGREP" --version 2>&1` in
4111*GNU*) 4208*GNU*)
4112 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4209 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4152 EGREP="$ac_cv_path_EGREP" 4249 EGREP="$ac_cv_path_EGREP"
4153 4250
4154 4251
4155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4156$as_echo_n "checking for ANSI C header files... " >&6; } 4253$as_echo_n "checking for ANSI C header files... " >&6; }
4157if test "${ac_cv_header_stdc+set}" = set; then : 4254if ${ac_cv_header_stdc+:} false; then :
4158 $as_echo_n "(cached) " >&6 4255 $as_echo_n "(cached) " >&6
4159else 4256else
4160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161/* end confdefs.h. */ 4258/* end confdefs.h. */
4162#include <stdlib.h> 4259#include <stdlib.h>
4281done 4378done
4282 4379
4283 4380
4284 4381
4285 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4382 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4286if test "x$ac_cv_header_minix_config_h" = x""yes; then : 4383if test "x$ac_cv_header_minix_config_h" = xyes; then :
4287 MINIX=yes 4384 MINIX=yes
4288else 4385else
4289 MINIX= 4386 MINIX=
4290fi 4387fi
4291 4388
4303 fi 4400 fi
4304 4401
4305 4402
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4307$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4404$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4308if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 4405if ${ac_cv_safe_to_define___extensions__+:} false; then :
4309 $as_echo_n "(cached) " >&6 4406 $as_echo_n "(cached) " >&6
4310else 4407else
4311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4312/* end confdefs.h. */ 4409/* end confdefs.h. */
4313 4410
4314# define __EXTENSIONS__ 1 4411# define __EXTENSIONS__ 1
4315 $ac_includes_default 4412 $ac_includes_default
4316int 4413int
4317main () 4414main ()
4318{ 4415{
4319 4416
4320 ; 4417 ;
4344 4441
4345 4442
4346 4443
4347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 4444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4348$as_echo_n "checking for library containing strerror... " >&6; } 4445$as_echo_n "checking for library containing strerror... " >&6; }
4349if test "${ac_cv_search_strerror+set}" = set; then : 4446if ${ac_cv_search_strerror+:} false; then :
4350 $as_echo_n "(cached) " >&6 4447 $as_echo_n "(cached) " >&6
4351else 4448else
4352 ac_func_search_save_LIBS=$LIBS 4449 ac_func_search_save_LIBS=$LIBS
4353cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4450cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4354/* end confdefs.h. */ 4451/* end confdefs.h. */
4378 if ac_fn_c_try_link "$LINENO"; then : 4475 if ac_fn_c_try_link "$LINENO"; then :
4379 ac_cv_search_strerror=$ac_res 4476 ac_cv_search_strerror=$ac_res
4380fi 4477fi
4381rm -f core conftest.err conftest.$ac_objext \ 4478rm -f core conftest.err conftest.$ac_objext \
4382 conftest$ac_exeext 4479 conftest$ac_exeext
4383 if test "${ac_cv_search_strerror+set}" = set; then : 4480 if ${ac_cv_search_strerror+:} false; then :
4384 break 4481 break
4385fi 4482fi
4386done 4483done
4387if test "${ac_cv_search_strerror+set}" = set; then : 4484if ${ac_cv_search_strerror+:} false; then :
4388 4485
4389else 4486else
4390 ac_cv_search_strerror=no 4487 ac_cv_search_strerror=no
4391fi 4488fi
4392rm conftest.$ac_ext 4489rm conftest.$ac_ext
4472 CFLAGS="$CXXFLAGS" 4569 CFLAGS="$CXXFLAGS"
4473fi 4570fi
4474 4571
4475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setlocale" >&5 4572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setlocale" >&5
4476$as_echo_n "checking for library containing setlocale... " >&6; } 4573$as_echo_n "checking for library containing setlocale... " >&6; }
4477if test "${ac_cv_search_setlocale+set}" = set; then : 4574if ${ac_cv_search_setlocale+:} false; then :
4478 $as_echo_n "(cached) " >&6 4575 $as_echo_n "(cached) " >&6
4479else 4576else
4480 ac_func_search_save_LIBS=$LIBS 4577 ac_func_search_save_LIBS=$LIBS
4481cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4578cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482/* end confdefs.h. */ 4579/* end confdefs.h. */
4506 if ac_fn_cxx_try_link "$LINENO"; then : 4603 if ac_fn_cxx_try_link "$LINENO"; then :
4507 ac_cv_search_setlocale=$ac_res 4604 ac_cv_search_setlocale=$ac_res
4508fi 4605fi
4509rm -f core conftest.err conftest.$ac_objext \ 4606rm -f core conftest.err conftest.$ac_objext \
4510 conftest$ac_exeext 4607 conftest$ac_exeext
4511 if test "${ac_cv_search_setlocale+set}" = set; then : 4608 if ${ac_cv_search_setlocale+:} false; then :
4512 break 4609 break
4513fi 4610fi
4514done 4611done
4515if test "${ac_cv_search_setlocale+set}" = set; then : 4612if ${ac_cv_search_setlocale+:} false; then :
4516 4613
4517else 4614else
4518 ac_cv_search_setlocale=no 4615 ac_cv_search_setlocale=no
4519fi 4616fi
4520rm conftest.$ac_ext 4617rm conftest.$ac_ext
4529fi 4626fi
4530 4627
4531 4628
4532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 4629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
4533$as_echo_n "checking for library containing gethostbyname... " >&6; } 4630$as_echo_n "checking for library containing gethostbyname... " >&6; }
4534if test "${ac_cv_search_gethostbyname+set}" = set; then : 4631if ${ac_cv_search_gethostbyname+:} false; then :
4535 $as_echo_n "(cached) " >&6 4632 $as_echo_n "(cached) " >&6
4536else 4633else
4537 ac_func_search_save_LIBS=$LIBS 4634 ac_func_search_save_LIBS=$LIBS
4538cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4635cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539/* end confdefs.h. */ 4636/* end confdefs.h. */
4563 if ac_fn_cxx_try_link "$LINENO"; then : 4660 if ac_fn_cxx_try_link "$LINENO"; then :
4564 ac_cv_search_gethostbyname=$ac_res 4661 ac_cv_search_gethostbyname=$ac_res
4565fi 4662fi
4566rm -f core conftest.err conftest.$ac_objext \ 4663rm -f core conftest.err conftest.$ac_objext \
4567 conftest$ac_exeext 4664 conftest$ac_exeext
4568 if test "${ac_cv_search_gethostbyname+set}" = set; then : 4665 if ${ac_cv_search_gethostbyname+:} false; then :
4569 break 4666 break
4570fi 4667fi
4571done 4668done
4572if test "${ac_cv_search_gethostbyname+set}" = set; then : 4669if ${ac_cv_search_gethostbyname+:} false; then :
4573 4670
4574else 4671else
4575 ac_cv_search_gethostbyname=no 4672 ac_cv_search_gethostbyname=no
4576fi 4673fi
4577rm conftest.$ac_ext 4674rm conftest.$ac_ext
4585 4682
4586fi 4683fi
4587 4684
4588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 4685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
4589$as_echo_n "checking for library containing socket... " >&6; } 4686$as_echo_n "checking for library containing socket... " >&6; }
4590if test "${ac_cv_search_socket+set}" = set; then : 4687if ${ac_cv_search_socket+:} false; then :
4591 $as_echo_n "(cached) " >&6 4688 $as_echo_n "(cached) " >&6
4592else 4689else
4593 ac_func_search_save_LIBS=$LIBS 4690 ac_func_search_save_LIBS=$LIBS
4594cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4691cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4595/* end confdefs.h. */ 4692/* end confdefs.h. */
4619 if ac_fn_cxx_try_link "$LINENO"; then : 4716 if ac_fn_cxx_try_link "$LINENO"; then :
4620 ac_cv_search_socket=$ac_res 4717 ac_cv_search_socket=$ac_res
4621fi 4718fi
4622rm -f core conftest.err conftest.$ac_objext \ 4719rm -f core conftest.err conftest.$ac_objext \
4623 conftest$ac_exeext 4720 conftest$ac_exeext
4624 if test "${ac_cv_search_socket+set}" = set; then : 4721 if ${ac_cv_search_socket+:} false; then :
4625 break 4722 break
4626fi 4723fi
4627done 4724done
4628if test "${ac_cv_search_socket+set}" = set; then : 4725if ${ac_cv_search_socket+:} false; then :
4629 4726
4630else 4727else
4631 ac_cv_search_socket=no 4728 ac_cv_search_socket=no
4632fi 4729fi
4633rm conftest.$ac_ext 4730rm conftest.$ac_ext
4921 5018
4922 fi 5019 fi
4923fi 5020fi
4924 5021
4925 5022
5023support_resources=yes
4926# Check whether --enable-resources was given. 5024# Check whether --enable-resources was given.
4927if test "${enable_resources+set}" = set; then : 5025if test "${enable_resources+set}" = set; then :
4928 enableval=$enable_resources; if test x$enableval = xno; then 5026 enableval=$enable_resources; if test x$enableval = xno; then
4929 5027 support_resources=no
4930$as_echo "#define NO_RESOURCES 1" >>confdefs.h
4931
4932 fi 5028 fi
4933fi 5029fi
4934 5030
4935 5031
4936# Check whether --enable-8bitctrls was given. 5032# Check whether --enable-8bitctrls was given.
5108_ACEOF 5204_ACEOF
5109 terminfo="$withval" 5205 terminfo="$withval"
5110 fi 5206 fi
5111fi 5207fi
5112 5208
5209
5210if test x$support_resources = xno; then
5211 if test x$support_frills = xyes || test x$support_perl = xyes; then
5212 as_fn_error $? "--disable-resources requires --disable-frills --disable-perl" "$LINENO" 5
5213 fi
5214
5215
5216$as_echo "#define NO_RESOURCES 1" >>confdefs.h
5217
5218fi
5113 5219
5114 5220
5115LIBEV_M4_AVOID_LIBRT=1 5221LIBEV_M4_AVOID_LIBRT=1
5116 5222
5117ac_ext=cpp 5223ac_ext=cpp
5120ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5226ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5121ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5227ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 5228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
5123$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 5229$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
5124if test -z "$CXXCPP"; then 5230if test -z "$CXXCPP"; then
5125 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 5231 if ${ac_cv_prog_CXXCPP+:} false; then :
5126 $as_echo_n "(cached) " >&6 5232 $as_echo_n "(cached) " >&6
5127else 5233else
5128 # Double quotes because CXXCPP needs to be expanded 5234 # Double quotes because CXXCPP needs to be expanded
5129 for CXXCPP in "$CXX -E" "/lib/cpp" 5235 for CXXCPP in "$CXX -E" "/lib/cpp"
5130 do 5236 do
5236 5342
5237else 5343else
5238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5239$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5345$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5240as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 5346as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
5241See \`config.log' for more details" "$LINENO" 5 ; } 5347See \`config.log' for more details" "$LINENO" 5; }
5242fi 5348fi
5243 5349
5244ac_ext=cpp 5350ac_ext=cpp
5245ac_cpp='$CXXCPP $CPPFLAGS' 5351ac_cpp='$CXXCPP $CPPFLAGS'
5246ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5352ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5247ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5353ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5248ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5354ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5249 5355
5250 5356
5251for ac_header in sys/inotify.h sys/epoll.h sys/event.h port.h poll.h sys/select.h sys/eventfd.h sys/signalfd.h 5357for ac_header in sys/inotify.h sys/epoll.h sys/event.h port.h poll.h
5358do :
5359 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5360ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5361if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5362 cat >>confdefs.h <<_ACEOF
5363#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5364_ACEOF
5365
5366fi
5367
5368done
5369
5370for ac_header in sys/select.h sys/eventfd.h sys/signalfd.h linux/aio_abi.h
5252do : 5371do :
5253 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5372 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5254ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5373ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5255if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5374if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5256 cat >>confdefs.h <<_ACEOF 5375 cat >>confdefs.h <<_ACEOF
5276 5395
5277 5396
5278for ac_func in clock_gettime 5397for ac_func in clock_gettime
5279do : 5398do :
5280 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 5399 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
5281if test "x$ac_cv_func_clock_gettime" = x""yes; then : 5400if test "x$ac_cv_func_clock_gettime" = xyes; then :
5282 cat >>confdefs.h <<_ACEOF 5401 cat >>confdefs.h <<_ACEOF
5283#define HAVE_CLOCK_GETTIME 1 5402#define HAVE_CLOCK_GETTIME 1
5284_ACEOF 5403_ACEOF
5285 5404
5286else 5405else
5316 conftest$ac_exeext conftest.$ac_ext 5435 conftest$ac_exeext conftest.$ac_ext
5317 fi 5436 fi
5318 if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then 5437 if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
5320$as_echo_n "checking for clock_gettime in -lrt... " >&6; } 5439$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
5321if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then : 5440if ${ac_cv_lib_rt_clock_gettime+:} false; then :
5322 $as_echo_n "(cached) " >&6 5441 $as_echo_n "(cached) " >&6
5323else 5442else
5324 ac_check_lib_save_LIBS=$LIBS 5443 ac_check_lib_save_LIBS=$LIBS
5325LIBS="-lrt $LIBS" 5444LIBS="-lrt $LIBS"
5326cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5445cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5350 conftest$ac_exeext conftest.$ac_ext 5469 conftest$ac_exeext conftest.$ac_ext
5351LIBS=$ac_check_lib_save_LIBS 5470LIBS=$ac_check_lib_save_LIBS
5352fi 5471fi
5353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 5472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
5354$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } 5473$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
5355if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then : 5474if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
5356 cat >>confdefs.h <<_ACEOF 5475 cat >>confdefs.h <<_ACEOF
5357#define HAVE_LIBRT 1 5476#define HAVE_LIBRT 1
5358_ACEOF 5477_ACEOF
5359 5478
5360 LIBS="-lrt $LIBS" 5479 LIBS="-lrt $LIBS"
5363 5482
5364 unset ac_cv_func_clock_gettime 5483 unset ac_cv_func_clock_gettime
5365 for ac_func in clock_gettime 5484 for ac_func in clock_gettime
5366do : 5485do :
5367 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 5486 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
5368if test "x$ac_cv_func_clock_gettime" = x""yes; then : 5487if test "x$ac_cv_func_clock_gettime" = xyes; then :
5369 cat >>confdefs.h <<_ACEOF 5488 cat >>confdefs.h <<_ACEOF
5370#define HAVE_CLOCK_GETTIME 1 5489#define HAVE_CLOCK_GETTIME 1
5371_ACEOF 5490_ACEOF
5372 5491
5373fi 5492fi
5380 5499
5381 5500
5382for ac_func in nanosleep 5501for ac_func in nanosleep
5383do : 5502do :
5384 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 5503 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
5385if test "x$ac_cv_func_nanosleep" = x""yes; then : 5504if test "x$ac_cv_func_nanosleep" = xyes; then :
5386 cat >>confdefs.h <<_ACEOF 5505 cat >>confdefs.h <<_ACEOF
5387#define HAVE_NANOSLEEP 1 5506#define HAVE_NANOSLEEP 1
5388_ACEOF 5507_ACEOF
5389 5508
5390else 5509else
5391 5510
5392 if test -z "$LIBEV_M4_AVOID_LIBRT"; then 5511 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
5394$as_echo_n "checking for nanosleep in -lrt... " >&6; } 5513$as_echo_n "checking for nanosleep in -lrt... " >&6; }
5395if test "${ac_cv_lib_rt_nanosleep+set}" = set; then : 5514if ${ac_cv_lib_rt_nanosleep+:} false; then :
5396 $as_echo_n "(cached) " >&6 5515 $as_echo_n "(cached) " >&6
5397else 5516else
5398 ac_check_lib_save_LIBS=$LIBS 5517 ac_check_lib_save_LIBS=$LIBS
5399LIBS="-lrt $LIBS" 5518LIBS="-lrt $LIBS"
5400cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5519cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5424 conftest$ac_exeext conftest.$ac_ext 5543 conftest$ac_exeext conftest.$ac_ext
5425LIBS=$ac_check_lib_save_LIBS 5544LIBS=$ac_check_lib_save_LIBS
5426fi 5545fi
5427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 5546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
5428$as_echo "$ac_cv_lib_rt_nanosleep" >&6; } 5547$as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
5429if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then : 5548if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
5430 cat >>confdefs.h <<_ACEOF 5549 cat >>confdefs.h <<_ACEOF
5431#define HAVE_LIBRT 1 5550#define HAVE_LIBRT 1
5432_ACEOF 5551_ACEOF
5433 5552
5434 LIBS="-lrt $LIBS" 5553 LIBS="-lrt $LIBS"
5437 5556
5438 unset ac_cv_func_nanosleep 5557 unset ac_cv_func_nanosleep
5439 for ac_func in nanosleep 5558 for ac_func in nanosleep
5440do : 5559do :
5441 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 5560 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
5442if test "x$ac_cv_func_nanosleep" = x""yes; then : 5561if test "x$ac_cv_func_nanosleep" = xyes; then :
5443 cat >>confdefs.h <<_ACEOF 5562 cat >>confdefs.h <<_ACEOF
5444#define HAVE_NANOSLEEP 1 5563#define HAVE_NANOSLEEP 1
5445_ACEOF 5564_ACEOF
5446 5565
5447fi 5566fi
5456if test -z "$LIBEV_M4_AVOID_LIBM"; then 5575if test -z "$LIBEV_M4_AVOID_LIBM"; then
5457 LIBM=m 5576 LIBM=m
5458fi 5577fi
5459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 5578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
5460$as_echo_n "checking for library containing floor... " >&6; } 5579$as_echo_n "checking for library containing floor... " >&6; }
5461if test "${ac_cv_search_floor+set}" = set; then : 5580if ${ac_cv_search_floor+:} false; then :
5462 $as_echo_n "(cached) " >&6 5581 $as_echo_n "(cached) " >&6
5463else 5582else
5464 ac_func_search_save_LIBS=$LIBS 5583 ac_func_search_save_LIBS=$LIBS
5465cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5584cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5466/* end confdefs.h. */ 5585/* end confdefs.h. */
5490 if ac_fn_cxx_try_link "$LINENO"; then : 5609 if ac_fn_cxx_try_link "$LINENO"; then :
5491 ac_cv_search_floor=$ac_res 5610 ac_cv_search_floor=$ac_res
5492fi 5611fi
5493rm -f core conftest.err conftest.$ac_objext \ 5612rm -f core conftest.err conftest.$ac_objext \
5494 conftest$ac_exeext 5613 conftest$ac_exeext
5495 if test "${ac_cv_search_floor+set}" = set; then : 5614 if ${ac_cv_search_floor+:} false; then :
5496 break 5615 break
5497fi 5616fi
5498done 5617done
5499if test "${ac_cv_search_floor+set}" = set; then : 5618if ${ac_cv_search_floor+:} false; then :
5500 5619
5501else 5620else
5502 ac_cv_search_floor=no 5621 ac_cv_search_floor=no
5503fi 5622fi
5504rm conftest.$ac_ext 5623rm conftest.$ac_ext
5520 5639
5521# Extract the first word of "tic", so it can be a program name with args. 5640# Extract the first word of "tic", so it can be a program name with args.
5522set dummy tic; ac_word=$2 5641set dummy tic; ac_word=$2
5523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524$as_echo_n "checking for $ac_word... " >&6; } 5643$as_echo_n "checking for $ac_word... " >&6; }
5525if test "${ac_cv_path_TIC+set}" = set; then : 5644if ${ac_cv_path_TIC+:} false; then :
5526 $as_echo_n "(cached) " >&6 5645 $as_echo_n "(cached) " >&6
5527else 5646else
5528 case $TIC in 5647 case $TIC in
5529 [\\/]* | ?:[\\/]*) 5648 [\\/]* | ?:[\\/]*)
5530 ac_cv_path_TIC="$TIC" # Let the user override the test with a path. 5649 ac_cv_path_TIC="$TIC" # Let the user override the test with a path.
5534for as_dir in $PATH 5653for as_dir in $PATH
5535do 5654do
5536 IFS=$as_save_IFS 5655 IFS=$as_save_IFS
5537 test -z "$as_dir" && as_dir=. 5656 test -z "$as_dir" && as_dir=.
5538 for ac_exec_ext in '' $ac_executable_extensions; do 5657 for ac_exec_ext in '' $ac_executable_extensions; do
5539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5540 ac_cv_path_TIC="$as_dir/$ac_word$ac_exec_ext" 5659 ac_cv_path_TIC="$as_dir/$ac_word$ac_exec_ext"
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5542 break 2 5661 break 2
5543 fi 5662 fi
5544done 5663done
5573if test "x$with_x" = xno; then 5692if test "x$with_x" = xno; then
5574 # The user explicitly disabled X. 5693 # The user explicitly disabled X.
5575 have_x=disabled 5694 have_x=disabled
5576else 5695else
5577 case $x_includes,$x_libraries in #( 5696 case $x_includes,$x_libraries in #(
5578 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #( 5697 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
5579 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 5698 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
5580 $as_echo_n "(cached) " >&6 5699 $as_echo_n "(cached) " >&6
5581else 5700else
5582 # One or both of the vars are not set, and there is no cached value. 5701 # One or both of the vars are not set, and there is no cached value.
5583ac_x_includes=no ac_x_libraries=no 5702ac_x_includes=no ac_x_libraries=no
5584rm -f -r conftest.dir 5703rm -f -r conftest.dir
5851if ac_fn_cxx_try_link "$LINENO"; then : 5970if ac_fn_cxx_try_link "$LINENO"; then :
5852 5971
5853else 5972else
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
5855$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 5974$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5856if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : 5975if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
5857 $as_echo_n "(cached) " >&6 5976 $as_echo_n "(cached) " >&6
5858else 5977else
5859 ac_check_lib_save_LIBS=$LIBS 5978 ac_check_lib_save_LIBS=$LIBS
5860LIBS="-ldnet $LIBS" 5979LIBS="-ldnet $LIBS"
5861cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5980cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5885 conftest$ac_exeext conftest.$ac_ext 6004 conftest$ac_exeext conftest.$ac_ext
5886LIBS=$ac_check_lib_save_LIBS 6005LIBS=$ac_check_lib_save_LIBS
5887fi 6006fi
5888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 6007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5889$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 6008$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5890if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : 6009if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
5891 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" 6010 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5892fi 6011fi
5893 6012
5894 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 6013 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
5896$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } 6015$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5897if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then : 6016if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
5898 $as_echo_n "(cached) " >&6 6017 $as_echo_n "(cached) " >&6
5899else 6018else
5900 ac_check_lib_save_LIBS=$LIBS 6019 ac_check_lib_save_LIBS=$LIBS
5901LIBS="-ldnet_stub $LIBS" 6020LIBS="-ldnet_stub $LIBS"
5902cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6021cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5926 conftest$ac_exeext conftest.$ac_ext 6045 conftest$ac_exeext conftest.$ac_ext
5927LIBS=$ac_check_lib_save_LIBS 6046LIBS=$ac_check_lib_save_LIBS
5928fi 6047fi
5929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 6048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5930$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } 6049$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5931if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then : 6050if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
5932 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" 6051 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5933fi 6052fi
5934 6053
5935 fi 6054 fi
5936fi 6055fi
5945 # The nsl library prevents programs from opening the X display 6064 # The nsl library prevents programs from opening the X display
5946 # on Irix 5.2, according to T.E. Dickey. 6065 # on Irix 5.2, according to T.E. Dickey.
5947 # The functions gethostbyname, getservbyname, and inet_addr are 6066 # The functions gethostbyname, getservbyname, and inet_addr are
5948 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. 6067 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5949 ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 6068 ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5950if test "x$ac_cv_func_gethostbyname" = x""yes; then : 6069if test "x$ac_cv_func_gethostbyname" = xyes; then :
5951 6070
5952fi 6071fi
5953 6072
5954 if test $ac_cv_func_gethostbyname = no; then 6073 if test $ac_cv_func_gethostbyname = no; then
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5956$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 6075$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5957if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : 6076if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
5958 $as_echo_n "(cached) " >&6 6077 $as_echo_n "(cached) " >&6
5959else 6078else
5960 ac_check_lib_save_LIBS=$LIBS 6079 ac_check_lib_save_LIBS=$LIBS
5961LIBS="-lnsl $LIBS" 6080LIBS="-lnsl $LIBS"
5962cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6081cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5986 conftest$ac_exeext conftest.$ac_ext 6105 conftest$ac_exeext conftest.$ac_ext
5987LIBS=$ac_check_lib_save_LIBS 6106LIBS=$ac_check_lib_save_LIBS
5988fi 6107fi
5989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 6108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
5990$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 6109$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5991if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : 6110if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
5992 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" 6111 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
5993fi 6112fi
5994 6113
5995 if test $ac_cv_lib_nsl_gethostbyname = no; then 6114 if test $ac_cv_lib_nsl_gethostbyname = no; then
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
5997$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } 6116$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
5998if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then : 6117if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
5999 $as_echo_n "(cached) " >&6 6118 $as_echo_n "(cached) " >&6
6000else 6119else
6001 ac_check_lib_save_LIBS=$LIBS 6120 ac_check_lib_save_LIBS=$LIBS
6002LIBS="-lbsd $LIBS" 6121LIBS="-lbsd $LIBS"
6003cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6122cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6027 conftest$ac_exeext conftest.$ac_ext 6146 conftest$ac_exeext conftest.$ac_ext
6028LIBS=$ac_check_lib_save_LIBS 6147LIBS=$ac_check_lib_save_LIBS
6029fi 6148fi
6030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 6149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
6031$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } 6150$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
6032if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then : 6151if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
6033 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" 6152 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
6034fi 6153fi
6035 6154
6036 fi 6155 fi
6037 fi 6156 fi
6042 # on later versions), says Simon Leinen: it contains gethostby* 6161 # on later versions), says Simon Leinen: it contains gethostby*
6043 # variants that don't use the name server (or something). -lsocket 6162 # variants that don't use the name server (or something). -lsocket
6044 # must be given before -lnsl if both are needed. We assume that 6163 # must be given before -lnsl if both are needed. We assume that
6045 # if connect needs -lnsl, so does gethostbyname. 6164 # if connect needs -lnsl, so does gethostbyname.
6046 ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect" 6165 ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect"
6047if test "x$ac_cv_func_connect" = x""yes; then : 6166if test "x$ac_cv_func_connect" = xyes; then :
6048 6167
6049fi 6168fi
6050 6169
6051 if test $ac_cv_func_connect = no; then 6170 if test $ac_cv_func_connect = no; then
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
6053$as_echo_n "checking for connect in -lsocket... " >&6; } 6172$as_echo_n "checking for connect in -lsocket... " >&6; }
6054if test "${ac_cv_lib_socket_connect+set}" = set; then : 6173if ${ac_cv_lib_socket_connect+:} false; then :
6055 $as_echo_n "(cached) " >&6 6174 $as_echo_n "(cached) " >&6
6056else 6175else
6057 ac_check_lib_save_LIBS=$LIBS 6176 ac_check_lib_save_LIBS=$LIBS
6058LIBS="-lsocket $X_EXTRA_LIBS $LIBS" 6177LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
6059cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6178cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6083 conftest$ac_exeext conftest.$ac_ext 6202 conftest$ac_exeext conftest.$ac_ext
6084LIBS=$ac_check_lib_save_LIBS 6203LIBS=$ac_check_lib_save_LIBS
6085fi 6204fi
6086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 6205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
6087$as_echo "$ac_cv_lib_socket_connect" >&6; } 6206$as_echo "$ac_cv_lib_socket_connect" >&6; }
6088if test "x$ac_cv_lib_socket_connect" = x""yes; then : 6207if test "x$ac_cv_lib_socket_connect" = xyes; then :
6089 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" 6208 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
6090fi 6209fi
6091 6210
6092 fi 6211 fi
6093 6212
6094 # Guillermo Gomez says -lposix is necessary on A/UX. 6213 # Guillermo Gomez says -lposix is necessary on A/UX.
6095 ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove" 6214 ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove"
6096if test "x$ac_cv_func_remove" = x""yes; then : 6215if test "x$ac_cv_func_remove" = xyes; then :
6097 6216
6098fi 6217fi
6099 6218
6100 if test $ac_cv_func_remove = no; then 6219 if test $ac_cv_func_remove = no; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
6102$as_echo_n "checking for remove in -lposix... " >&6; } 6221$as_echo_n "checking for remove in -lposix... " >&6; }
6103if test "${ac_cv_lib_posix_remove+set}" = set; then : 6222if ${ac_cv_lib_posix_remove+:} false; then :
6104 $as_echo_n "(cached) " >&6 6223 $as_echo_n "(cached) " >&6
6105else 6224else
6106 ac_check_lib_save_LIBS=$LIBS 6225 ac_check_lib_save_LIBS=$LIBS
6107LIBS="-lposix $LIBS" 6226LIBS="-lposix $LIBS"
6108cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6227cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6132 conftest$ac_exeext conftest.$ac_ext 6251 conftest$ac_exeext conftest.$ac_ext
6133LIBS=$ac_check_lib_save_LIBS 6252LIBS=$ac_check_lib_save_LIBS
6134fi 6253fi
6135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 6254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
6136$as_echo "$ac_cv_lib_posix_remove" >&6; } 6255$as_echo "$ac_cv_lib_posix_remove" >&6; }
6137if test "x$ac_cv_lib_posix_remove" = x""yes; then : 6256if test "x$ac_cv_lib_posix_remove" = xyes; then :
6138 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" 6257 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
6139fi 6258fi
6140 6259
6141 fi 6260 fi
6142 6261
6143 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 6262 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6144 ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat" 6263 ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
6145if test "x$ac_cv_func_shmat" = x""yes; then : 6264if test "x$ac_cv_func_shmat" = xyes; then :
6146 6265
6147fi 6266fi
6148 6267
6149 if test $ac_cv_func_shmat = no; then 6268 if test $ac_cv_func_shmat = no; then
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 6269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
6151$as_echo_n "checking for shmat in -lipc... " >&6; } 6270$as_echo_n "checking for shmat in -lipc... " >&6; }
6152if test "${ac_cv_lib_ipc_shmat+set}" = set; then : 6271if ${ac_cv_lib_ipc_shmat+:} false; then :
6153 $as_echo_n "(cached) " >&6 6272 $as_echo_n "(cached) " >&6
6154else 6273else
6155 ac_check_lib_save_LIBS=$LIBS 6274 ac_check_lib_save_LIBS=$LIBS
6156LIBS="-lipc $LIBS" 6275LIBS="-lipc $LIBS"
6157cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6276cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6181 conftest$ac_exeext conftest.$ac_ext 6300 conftest$ac_exeext conftest.$ac_ext
6182LIBS=$ac_check_lib_save_LIBS 6301LIBS=$ac_check_lib_save_LIBS
6183fi 6302fi
6184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 6303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
6185$as_echo "$ac_cv_lib_ipc_shmat" >&6; } 6304$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
6186if test "x$ac_cv_lib_ipc_shmat" = x""yes; then : 6305if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
6187 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" 6306 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
6188fi 6307fi
6189 6308
6190 fi 6309 fi
6191 fi 6310 fi
6199 # These have to be linked with before -lX11, unlike the other 6318 # These have to be linked with before -lX11, unlike the other
6200 # libraries we check for below, so use a different variable. 6319 # libraries we check for below, so use a different variable.
6201 # John Interrante, Karl Berry 6320 # John Interrante, Karl Berry
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
6203$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } 6322$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
6204if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then : 6323if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
6205 $as_echo_n "(cached) " >&6 6324 $as_echo_n "(cached) " >&6
6206else 6325else
6207 ac_check_lib_save_LIBS=$LIBS 6326 ac_check_lib_save_LIBS=$LIBS
6208LIBS="-lICE $X_EXTRA_LIBS $LIBS" 6327LIBS="-lICE $X_EXTRA_LIBS $LIBS"
6209cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6328cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6233 conftest$ac_exeext conftest.$ac_ext 6352 conftest$ac_exeext conftest.$ac_ext
6234LIBS=$ac_check_lib_save_LIBS 6353LIBS=$ac_check_lib_save_LIBS
6235fi 6354fi
6236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 6355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
6237$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } 6356$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
6238if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then : 6357if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
6239 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" 6358 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
6240fi 6359fi
6241 6360
6242 LDFLAGS=$ac_save_LDFLAGS 6361 LDFLAGS=$ac_save_LDFLAGS
6243 6362
6244fi 6363fi
6245 6364
6246 6365
6247STARTUP_NOTIFICATION_CFLAGS= 6366if test -n "$ac_tool_prefix"; then
6248STARTUP_NOTIFICATION_LIBS=
6249
6250if test x$support_startup_notification = xyes; then
6251 support_startup_notification=no
6252 # Extract the first word of "pkg-config", so it can be a program name with args. 6367 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6253set dummy pkg-config; ac_word=$2 6368set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6255$as_echo_n "checking for $ac_word... " >&6; } 6370$as_echo_n "checking for $ac_word... " >&6; }
6256if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 6371if ${ac_cv_path_PKG_CONFIG+:} false; then :
6257 $as_echo_n "(cached) " >&6 6372 $as_echo_n "(cached) " >&6
6258else 6373else
6259 case $PKG_CONFIG in 6374 case $PKG_CONFIG in
6260 [\\/]* | ?:[\\/]*) 6375 [\\/]* | ?:[\\/]*)
6261 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6376 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6265for as_dir in $PATH 6380for as_dir in $PATH
6266do 6381do
6267 IFS=$as_save_IFS 6382 IFS=$as_save_IFS
6268 test -z "$as_dir" && as_dir=. 6383 test -z "$as_dir" && as_dir=.
6269 for ac_exec_ext in '' $ac_executable_extensions; do 6384 for ac_exec_ext in '' $ac_executable_extensions; do
6270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6271 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6386 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6273 break 2 6388 break 2
6274 fi 6389 fi
6275done 6390done
6276 done 6391 done
6277IFS=$as_save_IFS 6392IFS=$as_save_IFS
6278 6393
6279 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6280 ;; 6394 ;;
6281esac 6395esac
6282fi 6396fi
6283PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6397PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6284if test -n "$PKG_CONFIG"; then 6398if test -n "$PKG_CONFIG"; then
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289$as_echo "no" >&6; } 6403$as_echo "no" >&6; }
6290fi 6404fi
6291 6405
6292 6406
6407fi
6408if test -z "$ac_cv_path_PKG_CONFIG"; then
6409 ac_pt_PKG_CONFIG=$PKG_CONFIG
6410 # Extract the first word of "pkg-config", so it can be a program name with args.
6411set dummy pkg-config; ac_word=$2
6412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6413$as_echo_n "checking for $ac_word... " >&6; }
6414if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6415 $as_echo_n "(cached) " >&6
6416else
6417 case $ac_pt_PKG_CONFIG in
6418 [\\/]* | ?:[\\/]*)
6419 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6420 ;;
6421 *)
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6423for as_dir in $PATH
6424do
6425 IFS=$as_save_IFS
6426 test -z "$as_dir" && as_dir=.
6427 for ac_exec_ext in '' $ac_executable_extensions; do
6428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6429 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6431 break 2
6432 fi
6433done
6434 done
6435IFS=$as_save_IFS
6436
6437 ;;
6438esac
6439fi
6440ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6441if test -n "$ac_pt_PKG_CONFIG"; then
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6443$as_echo "$ac_pt_PKG_CONFIG" >&6; }
6444else
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6446$as_echo "no" >&6; }
6447fi
6448
6449 if test "x$ac_pt_PKG_CONFIG" = x; then
6450 PKG_CONFIG="no"
6451 else
6452 case $cross_compiling:$ac_tool_warned in
6453yes:)
6454{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6455$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6456ac_tool_warned=yes ;;
6457esac
6458 PKG_CONFIG=$ac_pt_PKG_CONFIG
6459 fi
6460else
6461 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6462fi
6463
6464
6465image_lib=none
6466
6467PIXBUF_CFLAGS=
6468PIXBUF_LIBS=
6469
6470if test x$support_pixbuf = xyes; then
6471
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification" >&5 6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf-2.0" >&5
6294$as_echo_n "checking for libstartup-notification... " >&6; } 6473$as_echo_n "checking for gdk-pixbuf-2.0... " >&6; }
6295 if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then 6474 if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then
6296 STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG libstartup-notification-1.0 --cflags`" 6475 PIXBUF_CFLAGS="`$PKG_CONFIG --cflags gdk-pixbuf-2.0`"
6297 STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG libstartup-notification-1.0 --libs`" 6476 PIXBUF_LIBS="`$PKG_CONFIG --libs gdk-pixbuf-2.0`"
6298 support_startup_notification=yes
6299 fi
6300 6477
6301 if test x$support_startup_notification = xyes; then
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6303$as_echo "ok" >&6; } 6479$as_echo "ok" >&6; }
6304 6480
6481 image_lib=gdk-pixbuf
6482
6305$as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h 6483$as_echo "#define HAVE_PIXBUF 1" >>confdefs.h
6484
6306 6485
6307 else 6486 else
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6309$as_echo "no" >&6; } 6488$as_echo "no" >&6; }
6489 :
6310 fi 6490 fi
6311fi
6312 6491
6492fi
6313 6493
6314 6494
6495
6496
6497STARTUP_NOTIFICATION_CFLAGS=
6498STARTUP_NOTIFICATION_LIBS=
6499
6500if test x$support_startup_notification = xyes; then
6501
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification-1.0" >&5
6503$as_echo_n "checking for libstartup-notification-1.0... " >&6; }
6504 if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then
6505 STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG --cflags libstartup-notification-1.0`"
6506 STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG --libs libstartup-notification-1.0`"
6507
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6509$as_echo "ok" >&6; }
6510
6511
6512$as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h
6513
6514
6515 else
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6517$as_echo "no" >&6; }
6518 :
6519 fi
6520
6521fi
6522
6523
6524
6525
6526if test x$support_frills = xyes; then
6527
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmu" >&5
6529$as_echo_n "checking for xmu... " >&6; }
6530 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xmu; then
6531 XMU_CFLAGS="`$PKG_CONFIG --cflags xmu`"
6532 XMU_LIBS="`$PKG_CONFIG --libs xmu`"
6533
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6535$as_echo "ok" >&6; }
6536
6537 X_LIBS="$XMU_LIBS $X_LIBS"
6538 CPPFLAGS="$CPPFLAGS $XMU_CFLAGS"
6539
6540$as_echo "#define HAVE_XMU 1" >>confdefs.h
6541
6542
6543 else
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545$as_echo "no" >&6; }
6546 :
6547 fi
6548
6549fi
6315 6550
6316for ac_header in \ 6551for ac_header in \
6317 sys/byteorder.h \ 6552 sys/byteorder.h \
6318 sys/ioctl.h \ 6553 sys/ioctl.h \
6319 sys/sockio.h \ 6554 sys/sockio.h \
6334done 6569done
6335 6570
6336 6571
6337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5 6572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5
6338$as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; } 6573$as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; }
6339if test "${rxvt_cv_xlib_illegal_access+set}" = set; then : 6574if ${rxvt_cv_xlib_illegal_access+:} false; then :
6340 $as_echo_n "(cached) " >&6 6575 $as_echo_n "(cached) " >&6
6341else 6576else
6342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6343/* end confdefs.h. */ 6578/* end confdefs.h. */
6344 6579
6371$as_echo "#define XLIB_ILLEGAL_ACCESS 1" >>confdefs.h 6606$as_echo "#define XLIB_ILLEGAL_ACCESS 1" >>confdefs.h
6372 6607
6373fi 6608fi
6374 6609
6375ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 6610ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
6376if test "x$ac_cv_type_mode_t" = x""yes; then : 6611if test "x$ac_cv_type_mode_t" = xyes; then :
6377 6612
6378else 6613else
6379 6614
6380cat >>confdefs.h <<_ACEOF 6615cat >>confdefs.h <<_ACEOF
6381#define mode_t int 6616#define mode_t int
6382_ACEOF 6617_ACEOF
6383 6618
6384fi 6619fi
6385 6620
6386ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 6621ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6387if test "x$ac_cv_type_pid_t" = x""yes; then : 6622if test "x$ac_cv_type_pid_t" = xyes; then :
6388 6623
6389else 6624else
6390 6625
6391cat >>confdefs.h <<_ACEOF 6626cat >>confdefs.h <<_ACEOF
6392#define pid_t int 6627#define pid_t int
6394 6629
6395fi 6630fi
6396 6631
6397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 6632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6398$as_echo_n "checking for uid_t in sys/types.h... " >&6; } 6633$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6399if test "${ac_cv_type_uid_t+set}" = set; then : 6634if ${ac_cv_type_uid_t+:} false; then :
6400 $as_echo_n "(cached) " >&6 6635 $as_echo_n "(cached) " >&6
6401else 6636else
6402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6403/* end confdefs.h. */ 6638/* end confdefs.h. */
6404#include <sys/types.h> 6639#include <sys/types.h>
6474 6709
6475 6710
6476for ac_func in unsetenv 6711for ac_func in unsetenv
6477do : 6712do :
6478 ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" 6713 ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
6479if test "x$ac_cv_func_unsetenv" = x""yes; then : 6714if test "x$ac_cv_func_unsetenv" = xyes; then :
6480 cat >>confdefs.h <<_ACEOF 6715 cat >>confdefs.h <<_ACEOF
6481#define HAVE_UNSETENV 1 6716#define HAVE_UNSETENV 1
6482_ACEOF 6717_ACEOF
6483 6718
6484fi 6719fi
6548 6783
6549 6784
6550for ac_header in lastlog.h 6785for ac_header in lastlog.h
6551do : 6786do :
6552 ac_fn_cxx_check_header_mongrel "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "$ac_includes_default" 6787 ac_fn_cxx_check_header_mongrel "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "$ac_includes_default"
6553if test "x$ac_cv_header_lastlog_h" = x""yes; then : 6788if test "x$ac_cv_header_lastlog_h" = xyes; then :
6554 cat >>confdefs.h <<_ACEOF 6789 cat >>confdefs.h <<_ACEOF
6555#define HAVE_LASTLOG_H 1 6790#define HAVE_LASTLOG_H 1
6556_ACEOF 6791_ACEOF
6557 6792
6558fi 6793fi
6570 6805
6571 6806
6572for ac_header in utmp.h 6807for ac_header in utmp.h
6573do : 6808do :
6574 ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" 6809 ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default"
6575if test "x$ac_cv_header_utmp_h" = x""yes; then : 6810if test "x$ac_cv_header_utmp_h" = xyes; then :
6576 cat >>confdefs.h <<_ACEOF 6811 cat >>confdefs.h <<_ACEOF
6577#define HAVE_UTMP_H 1 6812#define HAVE_UTMP_H 1
6578_ACEOF 6813_ACEOF
6814
6579 ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " 6815ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" "
6580#include <sys/types.h> 6816#include <sys/types.h>
6581#include <utmp.h> 6817#include <utmp.h>
6582 6818
6583" 6819"
6584if test "x$ac_cv_type_struct_utmp" = x""yes; then : 6820if test "x$ac_cv_type_struct_utmp" = xyes; then :
6585 6821
6586cat >>confdefs.h <<_ACEOF 6822cat >>confdefs.h <<_ACEOF
6587#define HAVE_STRUCT_UTMP 1 6823#define HAVE_STRUCT_UTMP 1
6588_ACEOF 6824_ACEOF
6589 6825
6590 6826
6591fi 6827fi
6592 6828
6593 6829
6594
6595# ac_fn_cxx_check_member LINENO AGGR MEMBER VAR INCLUDES
6596# ------------------------------------------------------
6597# Tries to find if the field MEMBER exists in type AGGR, after including
6598# INCLUDES, setting cache variable VAR accordingly.
6599ac_fn_cxx_check_member ()
6600{
6601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
6603$as_echo_n "checking for $2.$3... " >&6; }
6604if eval "test \"\${$4+set}\"" = set; then :
6605 $as_echo_n "(cached) " >&6
6606else
6607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6608/* end confdefs.h. */
6609$5
6610int
6611main ()
6612{
6613static $2 ac_aggr;
6614if (ac_aggr.$3)
6615return 0;
6616 ;
6617 return 0;
6618}
6619_ACEOF
6620if ac_fn_cxx_try_compile "$LINENO"; then :
6621 eval "$4=yes"
6622else
6623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6624/* end confdefs.h. */
6625$5
6626int
6627main ()
6628{
6629static $2 ac_aggr;
6630if (sizeof ac_aggr.$3)
6631return 0;
6632 ;
6633 return 0;
6634}
6635_ACEOF
6636if ac_fn_cxx_try_compile "$LINENO"; then :
6637 eval "$4=yes"
6638else
6639 eval "$4=no"
6640fi
6641rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6642fi
6643rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6644fi
6645eval ac_res=\$$4
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6647$as_echo "$ac_res" >&6; }
6648 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
6649
6650} # ac_fn_cxx_check_member
6651ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" " 6830ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" "
6652#include <sys/types.h> 6831#include <sys/types.h>
6653#include <utmp.h> 6832#include <utmp.h>
6654 6833
6655" 6834"
6656if test "x$ac_cv_member_struct_utmp_ut_host" = x""yes; then : 6835if test "x$ac_cv_member_struct_utmp_ut_host" = xyes; then :
6657 6836
6658$as_echo "#define HAVE_UTMP_HOST 1" >>confdefs.h 6837$as_echo "#define HAVE_UTMP_HOST 1" >>confdefs.h
6659 6838
6660fi 6839fi
6661 6840
6663ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" " 6842ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" "
6664#include <sys/types.h> 6843#include <sys/types.h>
6665#include <utmp.h> 6844#include <utmp.h>
6666 6845
6667" 6846"
6668if test "x$ac_cv_member_struct_utmp_ut_pid" = x""yes; then : 6847if test "x$ac_cv_member_struct_utmp_ut_pid" = xyes; then :
6669 6848
6670$as_echo "#define HAVE_UTMP_PID 1" >>confdefs.h 6849$as_echo "#define HAVE_UTMP_PID 1" >>confdefs.h
6671 6850
6672fi 6851fi
6673 6852
6678 6857
6679 6858
6680for ac_header in utmpx.h 6859for ac_header in utmpx.h
6681do : 6860do :
6682 ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" 6861 ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default"
6683if test "x$ac_cv_header_utmpx_h" = x""yes; then : 6862if test "x$ac_cv_header_utmpx_h" = xyes; then :
6684 cat >>confdefs.h <<_ACEOF 6863 cat >>confdefs.h <<_ACEOF
6685#define HAVE_UTMPX_H 1 6864#define HAVE_UTMPX_H 1
6686_ACEOF 6865_ACEOF
6866
6687 ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " 6867ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" "
6688#include <sys/types.h> 6868#include <sys/types.h>
6689#include <utmpx.h> 6869#include <utmpx.h>
6690 6870
6691" 6871"
6692if test "x$ac_cv_type_struct_utmpx" = x""yes; then : 6872if test "x$ac_cv_type_struct_utmpx" = xyes; then :
6693 6873
6694cat >>confdefs.h <<_ACEOF 6874cat >>confdefs.h <<_ACEOF
6695#define HAVE_STRUCT_UTMPX 1 6875#define HAVE_STRUCT_UTMPX 1
6696_ACEOF 6876_ACEOF
6697 6877
6702ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" " 6882ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" "
6703#include <sys/types.h> 6883#include <sys/types.h>
6704#include <utmpx.h> 6884#include <utmpx.h>
6705 6885
6706" 6886"
6707if test "x$ac_cv_member_struct_utmpx_ut_host" = x""yes; then : 6887if test "x$ac_cv_member_struct_utmpx_ut_host" = xyes; then :
6708 6888
6709$as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h 6889$as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h
6710 6890
6711fi 6891fi
6712 6892
6721#ifdef HAVE_LASTLOG_H 6901#ifdef HAVE_LASTLOG_H
6722#include <lastlog.h> 6902#include <lastlog.h>
6723#endif 6903#endif
6724 6904
6725" 6905"
6726if test "x$ac_cv_type_struct_lastlog" = x""yes; then : 6906if test "x$ac_cv_type_struct_lastlog" = xyes; then :
6727 6907
6728cat >>confdefs.h <<_ACEOF 6908cat >>confdefs.h <<_ACEOF
6729#define HAVE_STRUCT_LASTLOG 1 6909#define HAVE_STRUCT_LASTLOG 1
6730_ACEOF 6910_ACEOF
6731 6911
6739#ifdef HAVE_LASTLOG_H 6919#ifdef HAVE_LASTLOG_H
6740#include <lastlog.h> 6920#include <lastlog.h>
6741#endif 6921#endif
6742 6922
6743" 6923"
6744if test "x$ac_cv_type_struct_lastlogx" = x""yes; then : 6924if test "x$ac_cv_type_struct_lastlogx" = xyes; then :
6745 6925
6746cat >>confdefs.h <<_ACEOF 6926cat >>confdefs.h <<_ACEOF
6747#define HAVE_STRUCT_LASTLOGX 1 6927#define HAVE_STRUCT_LASTLOGX 1
6748_ACEOF 6928_ACEOF
6749 6929
6752 6932
6753 6933
6754 6934
6755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of utmp" >&5 6935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of utmp" >&5
6756$as_echo_n "checking for a fallback location of utmp... " >&6; } 6936$as_echo_n "checking for a fallback location of utmp... " >&6; }
6757if test "${pt_cv_path_utmp+set}" = set; then : 6937if ${pt_cv_path_utmp+:} false; then :
6758 $as_echo_n "(cached) " >&6 6938 $as_echo_n "(cached) " >&6
6759else 6939else
6760 6940
6761if test "$cross_compiling" != yes; then 6941if test "$cross_compiling" != yes; then
6762 for file in "/var/run/utmp" "/var/adm/utmp" "/etc/utmp" "/usr/etc/utmp" "/usr/adm/utmp"; do 6942 for file in "/var/run/utmp" "/var/adm/utmp" "/etc/utmp" "/usr/etc/utmp" "/usr/adm/utmp"; do
6781fi 6961fi
6782 6962
6783 6963
6784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmp" >&5 6964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmp" >&5
6785$as_echo_n "checking for a fallback location of wtmp... " >&6; } 6965$as_echo_n "checking for a fallback location of wtmp... " >&6; }
6786if test "${pt_cv_path_wtmp+set}" = set; then : 6966if ${pt_cv_path_wtmp+:} false; then :
6787 $as_echo_n "(cached) " >&6 6967 $as_echo_n "(cached) " >&6
6788else 6968else
6789 6969
6790if test "$cross_compiling" != yes; then 6970if test "$cross_compiling" != yes; then
6791 for file in "/var/log/wtmp" "/var/adm/wtmp" "/etc/wtmp" "/usr/etc/wtmp" "/usr/adm/wtmp"; do 6971 for file in "/var/log/wtmp" "/var/adm/wtmp" "/etc/wtmp" "/usr/etc/wtmp" "/usr/adm/wtmp"; do
6809$as_echo "$as_me: WARNING: Define PT_WTMP_FILE in config.h manually" >&2;} 6989$as_echo "$as_me: WARNING: Define PT_WTMP_FILE in config.h manually" >&2;}
6810fi 6990fi
6811 6991
6812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmpx" >&5 6992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmpx" >&5
6813$as_echo_n "checking for a fallback location of wtmpx... " >&6; } 6993$as_echo_n "checking for a fallback location of wtmpx... " >&6; }
6814if test "${pt_cv_path_wtmpx+set}" = set; then : 6994if ${pt_cv_path_wtmpx+:} false; then :
6815 $as_echo_n "(cached) " >&6 6995 $as_echo_n "(cached) " >&6
6816else 6996else
6817 6997
6818if test "$cross_compiling" != yes; then 6998if test "$cross_compiling" != yes; then
6819 for file in "/var/log/wtmpx" "/var/adm/wtmpx"; do 6999 for file in "/var/log/wtmpx" "/var/adm/wtmpx"; do
6837$as_echo "$as_me: WARNING: Define PT_WTMPX_FILE in config.h manually" >&2;} 7017$as_echo "$as_me: WARNING: Define PT_WTMPX_FILE in config.h manually" >&2;}
6838fi 7018fi
6839 7019
6840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlog" >&5 7020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlog" >&5
6841$as_echo_n "checking for a fallback location of lastlog... " >&6; } 7021$as_echo_n "checking for a fallback location of lastlog... " >&6; }
6842if test "${pt_cv_path_lastlog+set}" = set; then : 7022if ${pt_cv_path_lastlog+:} false; then :
6843 $as_echo_n "(cached) " >&6 7023 $as_echo_n "(cached) " >&6
6844else 7024else
6845 7025
6846if test "$cross_compiling" != yes; then 7026if test "$cross_compiling" != yes; then
6847 for file in "/var/log/lastlog" "/var/adm/lastlog"; do 7027 for file in "/var/log/lastlog" "/var/adm/lastlog"; do
6865$as_echo "$as_me: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&2;} 7045$as_echo "$as_me: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&2;}
6866fi 7046fi
6867 7047
6868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlogx" >&5 7048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlogx" >&5
6869$as_echo_n "checking for a fallback location of lastlogx... " >&6; } 7049$as_echo_n "checking for a fallback location of lastlogx... " >&6; }
6870if test "${pt_cv_path_lastlogx+set}" = set; then : 7050if ${pt_cv_path_lastlogx+:} false; then :
6871 $as_echo_n "(cached) " >&6 7051 $as_echo_n "(cached) " >&6
6872else 7052else
6873 7053
6874if test "$cross_compiling" != yes; then 7054if test "$cross_compiling" != yes; then
6875 for file in "/var/log/lastlogx" "/var/adm/lastlogx"; do 7055 for file in "/var/log/lastlogx" "/var/adm/lastlogx"; do
6895 7075
6896 7076
6897 7077
6898 7078
6899save_LIBS=$LIBS 7079save_LIBS=$LIBS
6900save_CFLAGS=$CFLAGS 7080save_CXXFLAGS=$CXXFLAGS
6901CFLAGS="$CFLAGS $X_CFLAGS" 7081CXXFLAGS="$CXXFLAGS $X_CFLAGS"
6902LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 7082LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
6903if test x$support_xim = xyes; then 7083if test x$support_xim = xyes; then
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 7084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5
6905$as_echo_n "checking for working Xlocale... " >&6; } 7085$as_echo_n "checking for working Xlocale... " >&6; }
6906if test "${rxvt_cv_func_xlocale+set}" = set; then : 7086if ${rxvt_cv_func_xlocale+:} false; then :
6907 $as_echo_n "(cached) " >&6 7087 $as_echo_n "(cached) " >&6
6908else 7088else
6909 if test "$cross_compiling" = yes; then : 7089 if test "$cross_compiling" = yes; then :
6910 : 7090 :
6911else 7091else
6939 7119
6940$as_echo "#define USE_XIM 1" >>confdefs.h 7120$as_echo "#define USE_XIM 1" >>confdefs.h
6941 7121
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken XIM callback" >&5 7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken XIM callback" >&5
6943$as_echo_n "checking for broken XIM callback... " >&6; } 7123$as_echo_n "checking for broken XIM callback... " >&6; }
6944if test "${rxvt_cv_broken_ximcb+set}" = set; then : 7124if ${rxvt_cv_broken_ximcb+:} false; then :
6945 $as_echo_n "(cached) " >&6 7125 $as_echo_n "(cached) " >&6
6946else 7126else
6947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6948/* end confdefs.h. */ 7128/* end confdefs.h. */
6949 7129
6975 fi 7155 fi
6976fi 7156fi
6977 7157
6978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working X setlocale" >&5 7158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working X setlocale" >&5
6979$as_echo_n "checking for working X setlocale... " >&6; } 7159$as_echo_n "checking for working X setlocale... " >&6; }
6980if test "${rxvt_cv_func_xsetlocale+set}" = set; then : 7160if ${rxvt_cv_func_xsetlocale+:} false; then :
6981 $as_echo_n "(cached) " >&6 7161 $as_echo_n "(cached) " >&6
6982else 7162else
6983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6984/* end confdefs.h. */ 7164/* end confdefs.h. */
6985#define X_LOCALE 1 7165#define X_LOCALE 1
7006 7186
7007$as_echo "#define HAVE_XSETLOCALE 1" >>confdefs.h 7187$as_echo "#define HAVE_XSETLOCALE 1" >>confdefs.h
7008 7188
7009fi 7189fi
7010LIBS=$save_LIBS 7190LIBS=$save_LIBS
7011CFLAGS=$save_CFLAGS 7191CXXFLAGS=$save_CXXFLAGS
7012 7192
7013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 7193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5
7014$as_echo_n "checking for working nl_langinfo... " >&6; } 7194$as_echo_n "checking for working nl_langinfo... " >&6; }
7015if test "${rxvt_cv_func_nl_langinfo+set}" = set; then : 7195if ${rxvt_cv_func_nl_langinfo+:} false; then :
7016 $as_echo_n "(cached) " >&6 7196 $as_echo_n "(cached) " >&6
7017else 7197else
7018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7019/* end confdefs.h. */ 7199/* end confdefs.h. */
7020#include <langinfo.h> 7200#include <langinfo.h>
7041$as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h 7221$as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h
7042 7222
7043fi 7223fi
7044 7224
7045 7225
7226
7046case $host in 7227case $host in
7047 *-*-solaris*) 7228 *-*-solaris*)
7229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7230/* end confdefs.h. */
7048 7231
7232#if __STDC_VERSION__ >= 199901L
7233error
7234#endif
7235
7236int
7237main ()
7238{
7239
7240 ;
7241 return 0;
7242}
7243_ACEOF
7244if ac_fn_cxx_try_compile "$LINENO"; then :
7049$as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h 7245 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
7050 7246
7247else
7248 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
7249
7250fi
7251rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5 7252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5
7052$as_echo_n "checking for library containing sendmsg... " >&6; } 7253$as_echo_n "checking for library containing sendmsg... " >&6; }
7053if test "${ac_cv_search_sendmsg+set}" = set; then : 7254if ${ac_cv_search_sendmsg+:} false; then :
7054 $as_echo_n "(cached) " >&6 7255 $as_echo_n "(cached) " >&6
7055else 7256else
7056 ac_func_search_save_LIBS=$LIBS 7257 ac_func_search_save_LIBS=$LIBS
7057cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7258cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7058/* end confdefs.h. */ 7259/* end confdefs.h. */
7082 if ac_fn_cxx_try_link "$LINENO"; then : 7283 if ac_fn_cxx_try_link "$LINENO"; then :
7083 ac_cv_search_sendmsg=$ac_res 7284 ac_cv_search_sendmsg=$ac_res
7084fi 7285fi
7085rm -f core conftest.err conftest.$ac_objext \ 7286rm -f core conftest.err conftest.$ac_objext \
7086 conftest$ac_exeext 7287 conftest$ac_exeext
7087 if test "${ac_cv_search_sendmsg+set}" = set; then : 7288 if ${ac_cv_search_sendmsg+:} false; then :
7088 break 7289 break
7089fi 7290fi
7090done 7291done
7091if test "${ac_cv_search_sendmsg+set}" = set; then : 7292if ${ac_cv_search_sendmsg+:} false; then :
7092 7293
7093else 7294else
7094 ac_cv_search_sendmsg=no 7295 ac_cv_search_sendmsg=no
7095fi 7296fi
7096rm conftest.$ac_ext 7297rm conftest.$ac_ext
7107 ;; 7308 ;;
7108esac 7309esac
7109 7310
7110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5 7311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5
7111$as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; } 7312$as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; }
7112if test "${pt_cv_can_pass_fds+set}" = set; then : 7313if ${pt_cv_can_pass_fds+:} false; then :
7113 $as_echo_n "(cached) " >&6 7314 $as_echo_n "(cached) " >&6
7114else 7315else
7115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7116/* end confdefs.h. */ 7317/* end confdefs.h. */
7117 7318
7243 conftest$ac_exeext conftest.$ac_ext 7444 conftest$ac_exeext conftest.$ac_ext
7244 7445
7245if test -z "$unix98_pty"; then 7446if test -z "$unix98_pty"; then
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 7447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5
7247$as_echo_n "checking for library containing openpty... " >&6; } 7448$as_echo_n "checking for library containing openpty... " >&6; }
7248if test "${ac_cv_search_openpty+set}" = set; then : 7449if ${ac_cv_search_openpty+:} false; then :
7249 $as_echo_n "(cached) " >&6 7450 $as_echo_n "(cached) " >&6
7250else 7451else
7251 ac_func_search_save_LIBS=$LIBS 7452 ac_func_search_save_LIBS=$LIBS
7252cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7453cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7253/* end confdefs.h. */ 7454/* end confdefs.h. */
7277 if ac_fn_cxx_try_link "$LINENO"; then : 7478 if ac_fn_cxx_try_link "$LINENO"; then :
7278 ac_cv_search_openpty=$ac_res 7479 ac_cv_search_openpty=$ac_res
7279fi 7480fi
7280rm -f core conftest.err conftest.$ac_objext \ 7481rm -f core conftest.err conftest.$ac_objext \
7281 conftest$ac_exeext 7482 conftest$ac_exeext
7282 if test "${ac_cv_search_openpty+set}" = set; then : 7483 if ${ac_cv_search_openpty+:} false; then :
7283 break 7484 break
7284fi 7485fi
7285done 7486done
7286if test "${ac_cv_search_openpty+set}" = set; then : 7487if ${ac_cv_search_openpty+:} false; then :
7287 7488
7288else 7489else
7289 ac_cv_search_openpty=no 7490 ac_cv_search_openpty=no
7290fi 7491fi
7291rm conftest.$ac_ext 7492rm conftest.$ac_ext
7305 7506
7306 7507
7307 7508
7308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tty group" >&5 7509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tty group" >&5
7309$as_echo_n "checking for tty group... " >&6; } 7510$as_echo_n "checking for tty group... " >&6; }
7310if test "${pt_cv_tty_group+set}" = set; then : 7511if ${pt_cv_tty_group+:} false; then :
7311 $as_echo_n "(cached) " >&6 7512 $as_echo_n "(cached) " >&6
7312else 7513else
7313 if test "$cross_compiling" = yes; then : 7514 if test "$cross_compiling" = yes; then :
7314 pt_cv_tty_group=no 7515 pt_cv_tty_group=no
7315else 7516else
7359if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then 7560if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then
7360 support_image=yes 7561 support_image=yes
7361fi 7562fi
7362if test x$support_xft = xyes || test x$support_image = xyes; then 7563if test x$support_xft = xyes || test x$support_image = xyes; then
7363 rxvt_have_xrender=no 7564 rxvt_have_xrender=no
7364 # Extract the first word of "pkg-config", so it can be a program name with args. 7565
7365set dummy pkg-config; ac_word=$2
7366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xrender" >&5
7367$as_echo_n "checking for $ac_word... " >&6; } 7567$as_echo_n "checking for xrender... " >&6; }
7368if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
7369 $as_echo_n "(cached) " >&6
7370else
7371 case $PKG_CONFIG in
7372 [\\/]* | ?:[\\/]*)
7373 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7374 ;;
7375 *)
7376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7377for as_dir in $PATH
7378do
7379 IFS=$as_save_IFS
7380 test -z "$as_dir" && as_dir=.
7381 for ac_exec_ext in '' $ac_executable_extensions; do
7382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7383 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7385 break 2
7386 fi
7387done
7388 done
7389IFS=$as_save_IFS
7390
7391 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
7392 ;;
7393esac
7394fi
7395PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7396if test -n "$PKG_CONFIG"; then
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7398$as_echo "$PKG_CONFIG" >&6; }
7399else
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7401$as_echo "no" >&6; }
7402fi
7403
7404
7405 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then 7568 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then
7406 X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS" 7569 XRENDER_CFLAGS="`$PKG_CONFIG --cflags xrender`"
7407 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`" 7570 XRENDER_LIBS="`$PKG_CONFIG --libs xrender`"
7571
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7573$as_echo "ok" >&6; }
7574
7575 X_LIBS="$XRENDER_LIBS $X_LIBS"
7576 CPPFLAGS="$CPPFLAGS $XRENDER_CFLAGS"
7408 rxvt_have_xrender=yes 7577 rxvt_have_xrender=yes
7409 7578
7410 save_LIBS="$LIBS" 7579 save_LIBS="$LIBS"
7411 LIBS="$LIBS $X_LIBS" 7580 LIBS="$LIBS $X_LIBS"
7412 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" 7581 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default"
7413if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then : 7582if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes; then :
7414 7583
7415else 7584else
7416 rxvt_have_xrender=no 7585 rxvt_have_xrender=no
7417fi 7586fi
7418 7587
7419 7588
7420 ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat" 7589 ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat"
7421if test "x$ac_cv_func_XRenderFindStandardFormat" = x""yes; then : 7590if test "x$ac_cv_func_XRenderFindStandardFormat" = xyes; then :
7422 7591
7423else 7592else
7424 rxvt_have_xrender=no 7593 rxvt_have_xrender=no
7425fi 7594fi
7426 7595
7427 LIBS="$save_LIBS" 7596 LIBS="$save_LIBS"
7597
7598 else
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7600$as_echo "no" >&6; }
7601 :
7428 fi 7602 fi
7603
7429fi 7604fi
7430 7605
7431if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then 7606if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then
7432 # Extract the first word of "pkg-config", so it can be a program name with args. 7607
7433set dummy pkg-config; ac_word=$2
7434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig xft" >&5
7435$as_echo_n "checking for $ac_word... " >&6; } 7609$as_echo_n "checking for fontconfig xft... " >&6; }
7436if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 7610 if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig xft; then
7437 $as_echo_n "(cached) " >&6 7611 XFT_CFLAGS="`$PKG_CONFIG --cflags fontconfig xft`"
7438else 7612 XFT_LIBS="`$PKG_CONFIG --libs fontconfig xft`"
7439 case $PKG_CONFIG in
7440 [\\/]* | ?:[\\/]*)
7441 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7442 ;;
7443 *)
7444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7445for as_dir in $PATH
7446do
7447 IFS=$as_save_IFS
7448 test -z "$as_dir" && as_dir=.
7449 for ac_exec_ext in '' $ac_executable_extensions; do
7450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7451 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7453 break 2
7454 fi
7455done
7456 done
7457IFS=$as_save_IFS
7458 7613
7459 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
7460 ;;
7461esac
7462fi
7463PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7464if test -n "$PKG_CONFIG"; then
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7466$as_echo "$PKG_CONFIG" >&6; } 7615$as_echo "ok" >&6; }
7616
7617 X_LIBS="$XFT_LIBS $X_LIBS"
7618 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS"
7619
7467else 7620 else
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7469$as_echo "no" >&6; } 7622$as_echo "no" >&6; }
7470fi
7471 7623
7472
7473 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
7474 X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS"
7475 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
7476 else
7477 # Extract the first word of "xft-config", so it can be a program name with args. 7624 # Extract the first word of "xft-config", so it can be a program name with args.
7478set dummy xft-config; ac_word=$2 7625set dummy xft-config; ac_word=$2
7479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7480$as_echo_n "checking for $ac_word... " >&6; } 7627$as_echo_n "checking for $ac_word... " >&6; }
7481if test "${ac_cv_path_XFT_CONFIG+set}" = set; then : 7628if ${ac_cv_path_XFT_CONFIG+:} false; then :
7482 $as_echo_n "(cached) " >&6 7629 $as_echo_n "(cached) " >&6
7483else 7630else
7484 case $XFT_CONFIG in 7631 case $XFT_CONFIG in
7485 [\\/]* | ?:[\\/]*) 7632 [\\/]* | ?:[\\/]*)
7486 ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. 7633 ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path.
7490for as_dir in $PATH 7637for as_dir in $PATH
7491do 7638do
7492 IFS=$as_save_IFS 7639 IFS=$as_save_IFS
7493 test -z "$as_dir" && as_dir=. 7640 test -z "$as_dir" && as_dir=.
7494 for ac_exec_ext in '' $ac_executable_extensions; do 7641 for ac_exec_ext in '' $ac_executable_extensions; do
7495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7496 ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" 7643 ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 break 2 7645 break 2
7499 fi 7646 fi
7500done 7647done
7517 7664
7518 if test $XFT_CONFIG != no; then 7665 if test $XFT_CONFIG != no; then
7519 X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" 7666 X_LIBS="`$XFT_CONFIG --libs` $X_LIBS"
7520 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" 7667 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
7521 fi 7668 fi
7522 fi
7523 7669
7524 if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig; then
7525 X_LIBS="`$PKG_CONFIG fontconfig --libs` $X_LIBS"
7526 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG fontconfig --cflags`"
7527 fi 7670 fi
7671
7528 7672
7529 save_LIBS="$LIBS" 7673 save_LIBS="$LIBS"
7530 LIBS="$LIBS $X_LIBS" 7674 LIBS="$LIBS $X_LIBS"
7531 for ac_header in X11/Xft/Xft.h 7675 for ac_header in X11/Xft/Xft.h fontconfig/fontconfig.h
7532do : 7676do :
7677 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7533 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" 7678ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7534if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : 7679if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7535 cat >>confdefs.h <<_ACEOF 7680 cat >>confdefs.h <<_ACEOF
7536#define HAVE_X11_XFT_XFT_H 1 7681#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7537_ACEOF 7682_ACEOF
7538 7683
7539else 7684else
7540 support_xft=no 7685 support_xft=no
7541fi 7686fi
7542 7687
7543done 7688done
7544 7689
7690 for ac_func in XftDrawString32 FcPatternGet
7691do :
7692 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7693ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
7694if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7695 cat >>confdefs.h <<_ACEOF
7696#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7697_ACEOF
7698
7699else
7700 support_xft=no
7701fi
7702done
7703
7704 LIBS="$save_LIBS"
7705
7706 if test x$support_xft = xyes; then
7707
7708$as_echo "#define XFT 1" >>confdefs.h
7709
7710 fi
7711fi
7712
7713if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawString32 in -lXft" >&5 7714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Render >= 0.11" >&5
7546$as_echo_n "checking for XftDrawString32 in -lXft... " >&6; } 7715$as_echo_n "checking for Render >= 0.11... " >&6; }
7547if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then :
7548 $as_echo_n "(cached) " >&6
7549else
7550 ac_check_lib_save_LIBS=$LIBS
7551LIBS="-lXft $LIBS"
7552cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7553/* end confdefs.h. */ 7717/* end confdefs.h. */
7554 7718
7555/* Override any GCC internal prototype to avoid an error. 7719#include <X11/extensions/Xrender.h>
7556 Use char because int might match the return type of a GCC 7720#if RENDER_MAJOR == 0 && RENDER_MINOR <= 10
7557 builtin and then its argument prototype would still apply. */ 7721error
7558#ifdef __cplusplus
7559extern "C"
7560#endif 7722#endif
7561char XftDrawString32 (); 7723
7562int 7724int
7563main () 7725main ()
7564{ 7726{
7565return XftDrawString32 (); 7727
7566 ; 7728 ;
7567 return 0; 7729 return 0;
7568} 7730}
7569_ACEOF 7731_ACEOF
7570if ac_fn_cxx_try_link "$LINENO"; then : 7732if ac_fn_cxx_try_compile "$LINENO"; then :
7571 ac_cv_lib_Xft_XftDrawString32=yes 7733
7572else 7734else
7573 ac_cv_lib_Xft_XftDrawString32=no 7735 support_image=no
7574fi 7736fi
7575rm -f core conftest.err conftest.$ac_objext \ 7737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7576 conftest$ac_exeext conftest.$ac_ext
7577LIBS=$ac_check_lib_save_LIBS
7578fi
7579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawString32" >&5
7580$as_echo "$ac_cv_lib_Xft_XftDrawString32" >&6; }
7581if test "x$ac_cv_lib_Xft_XftDrawString32" = x""yes; then :
7582 :
7583else
7584 support_xft=no
7585fi
7586
7587 for ac_header in fontconfig/fontconfig.h
7588do :
7589 ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
7590if test "x$ac_cv_header_fontconfig_fontconfig_h" = x""yes; then :
7591 cat >>confdefs.h <<_ACEOF
7592#define HAVE_FONTCONFIG_FONTCONFIG_H 1
7593_ACEOF
7594
7595else
7596 support_xft=no
7597fi
7598
7599done
7600
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5
7602$as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; }
7603if test "${ac_cv_lib_fontconfig_FcPatternGet+set}" = set; then :
7604 $as_echo_n "(cached) " >&6
7605else
7606 ac_check_lib_save_LIBS=$LIBS
7607LIBS="-lfontconfig $LIBS"
7608cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7609/* end confdefs.h. */
7610
7611/* Override any GCC internal prototype to avoid an error.
7612 Use char because int might match the return type of a GCC
7613 builtin and then its argument prototype would still apply. */
7614#ifdef __cplusplus
7615extern "C"
7616#endif
7617char FcPatternGet ();
7618int
7619main ()
7620{
7621return FcPatternGet ();
7622 ;
7623 return 0;
7624}
7625_ACEOF
7626if ac_fn_cxx_try_link "$LINENO"; then :
7627 ac_cv_lib_fontconfig_FcPatternGet=yes
7628else
7629 ac_cv_lib_fontconfig_FcPatternGet=no
7630fi
7631rm -f core conftest.err conftest.$ac_objext \
7632 conftest$ac_exeext conftest.$ac_ext
7633LIBS=$ac_check_lib_save_LIBS
7634fi
7635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5
7636$as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; }
7637if test "x$ac_cv_lib_fontconfig_FcPatternGet" = x""yes; then :
7638 :
7639else
7640 support_xft=no
7641fi
7642
7643 LIBS="$save_LIBS"
7644
7645 if test x$support_xft = xyes; then 7738 if test x$support_image = xyes; then
7646 7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7647$as_echo "#define XFT 1" >>confdefs.h 7740$as_echo "ok" >&6; }
7648
7649 fi
7650fi
7651
7652image_lib=none
7653
7654PIXBUF_CFLAGS=
7655PIXBUF_LIBS=
7656
7657if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then
7658 LIBS="$LIBS -lm" 7741 LIBS="$LIBS -lm"
7659 7742
7660$as_echo "#define XRENDER 1" >>confdefs.h 7743$as_echo "#define XRENDER 1" >>confdefs.h
7661 7744
7662 7745
7663 if test x$support_inheritpixmap = xyes; then 7746 if test x$support_inheritpixmap = xyes; then
7664 7747
7665$as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h 7748$as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h
7666 7749
7667 fi 7750 fi
7668
7669 if test x$support_pixbuf = xyes; then
7670 support_pixbuf=no
7671 # Extract the first word of "pkg-config", so it can be a program name with args.
7672set dummy pkg-config; ac_word=$2
7673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7674$as_echo_n "checking for $ac_word... " >&6; }
7675if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
7676 $as_echo_n "(cached) " >&6
7677else 7751 else
7678 case $PKG_CONFIG in
7679 [\\/]* | ?:[\\/]*)
7680 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7681 ;;
7682 *)
7683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7684for as_dir in $PATH
7685do
7686 IFS=$as_save_IFS
7687 test -z "$as_dir" && as_dir=.
7688 for ac_exec_ext in '' $ac_executable_extensions; do
7689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7690 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7692 break 2
7693 fi
7694done
7695 done
7696IFS=$as_save_IFS
7697
7698 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
7699 ;;
7700esac
7701fi
7702PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7703if test -n "$PKG_CONFIG"; then
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7705$as_echo "$PKG_CONFIG" >&6; }
7706else
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7708$as_echo "no" >&6; } 7753$as_echo "no" >&6; }
7709fi
7710
7711
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf" >&5
7713$as_echo_n "checking for gdk-pixbuf... " >&6; }
7714 if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then
7715 PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-2.0 --cflags`"
7716 PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-2.0 --libs`"
7717 support_pixbuf=yes
7718 fi 7754 fi
7719
7720 if test x$support_pixbuf = xyes; then
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7722$as_echo "ok" >&6; }
7723 image_lib=gdk-pixbuf
7724
7725$as_echo "#define HAVE_PIXBUF 1" >>confdefs.h
7726
7727
7728$as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h
7729
7730 else
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7732$as_echo "no" >&6; }
7733 fi
7734 fi
7735fi 7755fi
7736
7737
7738
7739 7756
7740if test x$support_styles = xyes; then 7757if test x$support_styles = xyes; then
7741 7758
7742$as_echo "#define ENABLE_STYLES 1" >>confdefs.h 7759$as_echo "#define ENABLE_STYLES 1" >>confdefs.h
7743 7760
7859if test x$support_perl = xyes; then 7876if test x$support_perl = xyes; then
7860 # Extract the first word of "perl5", so it can be a program name with args. 7877 # Extract the first word of "perl5", so it can be a program name with args.
7861set dummy perl5; ac_word=$2 7878set dummy perl5; ac_word=$2
7862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7863$as_echo_n "checking for $ac_word... " >&6; } 7880$as_echo_n "checking for $ac_word... " >&6; }
7864if test "${ac_cv_path_PERL+set}" = set; then : 7881if ${ac_cv_path_PERL+:} false; then :
7865 $as_echo_n "(cached) " >&6 7882 $as_echo_n "(cached) " >&6
7866else 7883else
7867 case $PERL in 7884 case $PERL in
7868 [\\/]* | ?:[\\/]*) 7885 [\\/]* | ?:[\\/]*)
7869 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 7886 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
7873for as_dir in $PATH 7890for as_dir in $PATH
7874do 7891do
7875 IFS=$as_save_IFS 7892 IFS=$as_save_IFS
7876 test -z "$as_dir" && as_dir=. 7893 test -z "$as_dir" && as_dir=.
7877 for ac_exec_ext in '' $ac_executable_extensions; do 7894 for ac_exec_ext in '' $ac_executable_extensions; do
7878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7879 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 7896 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
7880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7881 break 2 7898 break 2
7882 fi 7899 fi
7883done 7900done
8024 t end 8041 t end
8025 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8042 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8026 :end' >>confcache 8043 :end' >>confcache
8027if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8044if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8028 if test -w "$cache_file"; then 8045 if test -w "$cache_file"; then
8029 test "x$cache_file" != "x/dev/null" && 8046 if test "x$cache_file" != "x/dev/null"; then
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 8047 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8031$as_echo "$as_me: updating cache $cache_file" >&6;} 8048$as_echo "$as_me: updating cache $cache_file" >&6;}
8049 if test ! -f "$cache_file" || test -h "$cache_file"; then
8032 cat confcache >$cache_file 8050 cat confcache >"$cache_file"
8051 else
8052 case $cache_file in #(
8053 */* | ?:*)
8054 mv -f confcache "$cache_file"$$ &&
8055 mv -f "$cache_file"$$ "$cache_file" ;; #(
8056 *)
8057 mv -f confcache "$cache_file" ;;
8058 esac
8059 fi
8060 fi
8033 else 8061 else
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 8062 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8035$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8063$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8036 fi 8064 fi
8037fi 8065fi
8059 8087
8060LTLIBOBJS=$ac_ltlibobjs 8088LTLIBOBJS=$ac_ltlibobjs
8061 8089
8062 8090
8063 8091
8064: ${CONFIG_STATUS=./config.status} 8092: "${CONFIG_STATUS=./config.status}"
8065ac_write_fail=0 8093ac_write_fail=0
8066ac_clean_files_save=$ac_clean_files 8094ac_clean_files_save=$ac_clean_files
8067ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8095ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8068{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8096{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8069$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8097$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8160# (If _AS_PATH_WALK were called with IFS unset, it would disable word 8188# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8161# splitting by setting IFS to empty value.) 8189# splitting by setting IFS to empty value.)
8162IFS=" "" $as_nl" 8190IFS=" "" $as_nl"
8163 8191
8164# Find who we are. Look in the path if we contain no directory separator. 8192# Find who we are. Look in the path if we contain no directory separator.
8193as_myself=
8165case $0 in #(( 8194case $0 in #((
8166 *[\\/]* ) as_myself=$0 ;; 8195 *[\\/]* ) as_myself=$0 ;;
8167 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8196 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8168for as_dir in $PATH 8197for as_dir in $PATH
8169do 8198do
8355 if ln -s conf$$.file conf$$ 2>/dev/null; then 8384 if ln -s conf$$.file conf$$ 2>/dev/null; then
8356 as_ln_s='ln -s' 8385 as_ln_s='ln -s'
8357 # ... but there are two gotchas: 8386 # ... but there are two gotchas:
8358 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8387 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8359 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8388 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8360 # In both cases, we have to default to `cp -p'. 8389 # In both cases, we have to default to `cp -pR'.
8361 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8390 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8362 as_ln_s='cp -p' 8391 as_ln_s='cp -pR'
8363 elif ln conf$$.file conf$$ 2>/dev/null; then 8392 elif ln conf$$.file conf$$ 2>/dev/null; then
8364 as_ln_s=ln 8393 as_ln_s=ln
8365 else 8394 else
8366 as_ln_s='cp -p' 8395 as_ln_s='cp -pR'
8367 fi 8396 fi
8368else 8397else
8369 as_ln_s='cp -p' 8398 as_ln_s='cp -pR'
8370fi 8399fi
8371rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8400rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8372rmdir conf$$.dir 2>/dev/null 8401rmdir conf$$.dir 2>/dev/null
8373 8402
8374 8403
8424else 8453else
8425 test -d ./-p && rmdir ./-p 8454 test -d ./-p && rmdir ./-p
8426 as_mkdir_p=false 8455 as_mkdir_p=false
8427fi 8456fi
8428 8457
8429if test -x / >/dev/null 2>&1; then 8458
8459# as_fn_executable_p FILE
8460# -----------------------
8461# Test if FILE is an executable regular file.
8462as_fn_executable_p ()
8463{
8464 test -f "$1" && test -x "$1"
8465} # as_fn_executable_p
8430 as_test_x='test -x' 8466as_test_x='test -x'
8431else 8467as_executable_p=as_fn_executable_p
8432 if ls -dL / >/dev/null 2>&1; then
8433 as_ls_L_option=L
8434 else
8435 as_ls_L_option=
8436 fi
8437 as_test_x='
8438 eval sh -c '\''
8439 if test -d "$1"; then
8440 test -d "$1/.";
8441 else
8442 case $1 in #(
8443 -*)set "./$1";;
8444 esac;
8445 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8446 ???[sx]*):;;*)false;;esac;fi
8447 '\'' sh
8448 '
8449fi
8450as_executable_p=$as_test_x
8451 8468
8452# Sed expression to map a string onto a valid CPP name. 8469# Sed expression to map a string onto a valid CPP name.
8453as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 8470as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8454 8471
8455# Sed expression to map a string onto a valid variable name. 8472# Sed expression to map a string onto a valid variable name.
8467# Save the log message, to keep $0 and so on meaningful, and to 8484# Save the log message, to keep $0 and so on meaningful, and to
8468# report actual input values of CONFIG_FILES etc. instead of their 8485# report actual input values of CONFIG_FILES etc. instead of their
8469# values after options handling. 8486# values after options handling.
8470ac_log=" 8487ac_log="
8471This file was extended by $as_me, which was 8488This file was extended by $as_me, which was
8472generated by GNU Autoconf 2.67. Invocation command line was 8489generated by GNU Autoconf 2.69. Invocation command line was
8473 8490
8474 CONFIG_FILES = $CONFIG_FILES 8491 CONFIG_FILES = $CONFIG_FILES
8475 CONFIG_HEADERS = $CONFIG_HEADERS 8492 CONFIG_HEADERS = $CONFIG_HEADERS
8476 CONFIG_LINKS = $CONFIG_LINKS 8493 CONFIG_LINKS = $CONFIG_LINKS
8477 CONFIG_COMMANDS = $CONFIG_COMMANDS 8494 CONFIG_COMMANDS = $CONFIG_COMMANDS
8529_ACEOF 8546_ACEOF
8530cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8547cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8531ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 8548ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8532ac_cs_version="\\ 8549ac_cs_version="\\
8533config.status 8550config.status
8534configured by $0, generated by GNU Autoconf 2.67, 8551configured by $0, generated by GNU Autoconf 2.69,
8535 with options \\"\$ac_cs_config\\" 8552 with options \\"\$ac_cs_config\\"
8536 8553
8537Copyright (C) 2010 Free Software Foundation, Inc. 8554Copyright (C) 2012 Free Software Foundation, Inc.
8538This config.status script is free software; the Free Software Foundation 8555This config.status script is free software; the Free Software Foundation
8539gives unlimited permission to copy, distribute and modify it." 8556gives unlimited permission to copy, distribute and modify it."
8540 8557
8541ac_pwd='$ac_pwd' 8558ac_pwd='$ac_pwd'
8542srcdir='$srcdir' 8559srcdir='$srcdir'
8621fi 8638fi
8622 8639
8623_ACEOF 8640_ACEOF
8624cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8641cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8625if \$ac_cs_recheck; then 8642if \$ac_cs_recheck; then
8626 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8643 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8627 shift 8644 shift
8628 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 8645 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8629 CONFIG_SHELL='$SHELL' 8646 CONFIG_SHELL='$SHELL'
8630 export CONFIG_SHELL 8647 export CONFIG_SHELL
8631 exec "\$@" 8648 exec "\$@"
8655 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; 8672 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
8656 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8673 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8657 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 8674 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
8658 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 8675 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8659 8676
8660 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 8677 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8661 esac 8678 esac
8662done 8679done
8663 8680
8664 8681
8665# If the user did not use the arguments to specify the items to instantiate, 8682# If the user did not use the arguments to specify the items to instantiate,
8677# Hook for its removal unless debugging. 8694# Hook for its removal unless debugging.
8678# Note that there is a small window in which the directory will not be cleaned: 8695# Note that there is a small window in which the directory will not be cleaned:
8679# after its creation but before its name has been assigned to `$tmp'. 8696# after its creation but before its name has been assigned to `$tmp'.
8680$debug || 8697$debug ||
8681{ 8698{
8682 tmp= 8699 tmp= ac_tmp=
8683 trap 'exit_status=$? 8700 trap 'exit_status=$?
8701 : "${ac_tmp:=$tmp}"
8684 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 8702 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8685' 0 8703' 0
8686 trap 'as_fn_exit 1' 1 2 13 15 8704 trap 'as_fn_exit 1' 1 2 13 15
8687} 8705}
8688# Create a (secure) tmp directory for tmp files. 8706# Create a (secure) tmp directory for tmp files.
8689 8707
8690{ 8708{
8691 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8709 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8692 test -n "$tmp" && test -d "$tmp" 8710 test -d "$tmp"
8693} || 8711} ||
8694{ 8712{
8695 tmp=./conf$$-$RANDOM 8713 tmp=./conf$$-$RANDOM
8696 (umask 077 && mkdir "$tmp") 8714 (umask 077 && mkdir "$tmp")
8697} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 8715} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8716ac_tmp=$tmp
8698 8717
8699# Set up the scripts for CONFIG_FILES section. 8718# Set up the scripts for CONFIG_FILES section.
8700# No need to generate them if there are no CONFIG_FILES. 8719# No need to generate them if there are no CONFIG_FILES.
8701# This happens for instance with `./config.status config.h'. 8720# This happens for instance with `./config.status config.h'.
8702if test -n "$CONFIG_FILES"; then 8721if test -n "$CONFIG_FILES"; then
8714 ac_cs_awk_cr='\\r' 8733 ac_cs_awk_cr='\\r'
8715else 8734else
8716 ac_cs_awk_cr=$ac_cr 8735 ac_cs_awk_cr=$ac_cr
8717fi 8736fi
8718 8737
8719echo 'BEGIN {' >"$tmp/subs1.awk" && 8738echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8720_ACEOF 8739_ACEOF
8721 8740
8722 8741
8723{ 8742{
8724 echo "cat >conf$$subs.awk <<_ACEOF" && 8743 echo "cat >conf$$subs.awk <<_ACEOF" &&
8742 fi 8761 fi
8743done 8762done
8744rm -f conf$$subs.sh 8763rm -f conf$$subs.sh
8745 8764
8746cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8765cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8747cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 8766cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8748_ACEOF 8767_ACEOF
8749sed -n ' 8768sed -n '
8750h 8769h
8751s/^/S["/; s/!.*/"]=/ 8770s/^/S["/; s/!.*/"]=/
8752p 8771p
8790} 8809}
8791' >>$CONFIG_STATUS || ac_write_fail=1 8810' >>$CONFIG_STATUS || ac_write_fail=1
8792rm -f conf$$subs.awk 8811rm -f conf$$subs.awk
8793cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8812cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8794_ACAWK 8813_ACAWK
8795cat >>"\$tmp/subs1.awk" <<_ACAWK && 8814cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8796 for (key in S) S_is_set[key] = 1 8815 for (key in S) S_is_set[key] = 1
8797 FS = "" 8816 FS = ""
8798 8817
8799} 8818}
8800{ 8819{
8822cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8841cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8823if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 8842if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8824 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 8843 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8825else 8844else
8826 cat 8845 cat
8827fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 8846fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8828 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 8847 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8829_ACEOF 8848_ACEOF
8830 8849
8831# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 8850# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8832# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 8851# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8856 8875
8857# Set up the scripts for CONFIG_HEADERS section. 8876# Set up the scripts for CONFIG_HEADERS section.
8858# No need to generate them if there are no CONFIG_HEADERS. 8877# No need to generate them if there are no CONFIG_HEADERS.
8859# This happens for instance with `./config.status Makefile'. 8878# This happens for instance with `./config.status Makefile'.
8860if test -n "$CONFIG_HEADERS"; then 8879if test -n "$CONFIG_HEADERS"; then
8861cat >"$tmp/defines.awk" <<\_ACAWK || 8880cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8862BEGIN { 8881BEGIN {
8863_ACEOF 8882_ACEOF
8864 8883
8865# Transform confdefs.h into an awk script `defines.awk', embedded as 8884# Transform confdefs.h into an awk script `defines.awk', embedded as
8866# here-document in config.status, that substitutes the proper values into 8885# here-document in config.status, that substitutes the proper values into
8868 8887
8869# Create a delimiter string that does not exist in confdefs.h, to ease 8888# Create a delimiter string that does not exist in confdefs.h, to ease
8870# handling of long lines. 8889# handling of long lines.
8871ac_delim='%!_!# ' 8890ac_delim='%!_!# '
8872for ac_last_try in false false :; do 8891for ac_last_try in false false :; do
8873 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 8892 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8874 if test -z "$ac_t"; then 8893 if test -z "$ac_tt"; then
8875 break 8894 break
8876 elif $ac_last_try; then 8895 elif $ac_last_try; then
8877 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 8896 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8878 else 8897 else
8879 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8898 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8970 case $ac_tag in 8989 case $ac_tag in
8971 :[FHLC]) ac_mode=$ac_tag; continue;; 8990 :[FHLC]) ac_mode=$ac_tag; continue;;
8972 esac 8991 esac
8973 case $ac_mode$ac_tag in 8992 case $ac_mode$ac_tag in
8974 :[FHL]*:*);; 8993 :[FHL]*:*);;
8975 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 8994 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8976 :[FH]-) ac_tag=-:-;; 8995 :[FH]-) ac_tag=-:-;;
8977 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 8996 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8978 esac 8997 esac
8979 ac_save_IFS=$IFS 8998 ac_save_IFS=$IFS
8980 IFS=: 8999 IFS=:
8989 :[FH]) 9008 :[FH])
8990 ac_file_inputs= 9009 ac_file_inputs=
8991 for ac_f 9010 for ac_f
8992 do 9011 do
8993 case $ac_f in 9012 case $ac_f in
8994 -) ac_f="$tmp/stdin";; 9013 -) ac_f="$ac_tmp/stdin";;
8995 *) # Look for the file first in the build tree, then in the source tree 9014 *) # Look for the file first in the build tree, then in the source tree
8996 # (if the path is not absolute). The absolute path cannot be DOS-style, 9015 # (if the path is not absolute). The absolute path cannot be DOS-style,
8997 # because $ac_f cannot contain `:'. 9016 # because $ac_f cannot contain `:'.
8998 test -f "$ac_f" || 9017 test -f "$ac_f" ||
8999 case $ac_f in 9018 case $ac_f in
9000 [\\/$]*) false;; 9019 [\\/$]*) false;;
9001 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9020 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9002 esac || 9021 esac ||
9003 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 9022 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9004 esac 9023 esac
9005 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9024 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9006 as_fn_append ac_file_inputs " '$ac_f'" 9025 as_fn_append ac_file_inputs " '$ac_f'"
9007 done 9026 done
9008 9027
9024 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9043 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9025 *) ac_sed_conf_input=$configure_input;; 9044 *) ac_sed_conf_input=$configure_input;;
9026 esac 9045 esac
9027 9046
9028 case $ac_tag in 9047 case $ac_tag in
9029 *:-:* | *:-) cat >"$tmp/stdin" \ 9048 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9030 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 9049 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9031 esac 9050 esac
9032 ;; 9051 ;;
9033 esac 9052 esac
9034 9053
9035 ac_dir=`$as_dirname -- "$ac_file" || 9054 ac_dir=`$as_dirname -- "$ac_file" ||
9155s&@abs_builddir@&$ac_abs_builddir&;t t 9174s&@abs_builddir@&$ac_abs_builddir&;t t
9156s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9175s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9157s&@INSTALL@&$ac_INSTALL&;t t 9176s&@INSTALL@&$ac_INSTALL&;t t
9158$ac_datarootdir_hack 9177$ac_datarootdir_hack
9159" 9178"
9160eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 9179eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9161 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9180 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9162 9181
9163test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9182test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9164 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9183 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9165 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9184 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9185 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9167which seems to be undefined. Please make sure it is defined" >&5 9187which seems to be undefined. Please make sure it is defined" >&5
9168$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9188$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9169which seems to be undefined. Please make sure it is defined" >&2;} 9189which seems to be undefined. Please make sure it is defined" >&2;}
9170 9190
9171 rm -f "$tmp/stdin" 9191 rm -f "$ac_tmp/stdin"
9172 case $ac_file in 9192 case $ac_file in
9173 -) cat "$tmp/out" && rm -f "$tmp/out";; 9193 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9174 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 9194 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9175 esac \ 9195 esac \
9176 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9196 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9177 ;; 9197 ;;
9178 :H) 9198 :H)
9179 # 9199 #
9180 # CONFIG_HEADER 9200 # CONFIG_HEADER
9181 # 9201 #
9182 if test x"$ac_file" != x-; then 9202 if test x"$ac_file" != x-; then
9183 { 9203 {
9184 $as_echo "/* $configure_input */" \ 9204 $as_echo "/* $configure_input */" \
9185 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 9205 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9186 } >"$tmp/config.h" \ 9206 } >"$ac_tmp/config.h" \
9187 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9207 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9188 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 9208 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 9209 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9190$as_echo "$as_me: $ac_file is unchanged" >&6;} 9210$as_echo "$as_me: $ac_file is unchanged" >&6;}
9191 else 9211 else
9192 rm -f "$ac_file" 9212 rm -f "$ac_file"
9193 mv "$tmp/config.h" "$ac_file" \ 9213 mv "$ac_tmp/config.h" "$ac_file" \
9194 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9214 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9195 fi 9215 fi
9196 else 9216 else
9197 $as_echo "/* $configure_input */" \ 9217 $as_echo "/* $configure_input */" \
9198 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 9218 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9199 || as_fn_error $? "could not create -" "$LINENO" 5 9219 || as_fn_error $? "could not create -" "$LINENO" 5
9200 fi 9220 fi
9201 ;; 9221 ;;
9202 9222
9203 9223

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines