2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for wmnotify 1.0.0.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 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
172 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
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL
=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE
= GREP_OPTIONS
=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir
=.
/$as_dir;;
285 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
289 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs
="'$as_qdir' $as_dirs"
293 as_dir
=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
319 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # 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
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
354 as_val
=`expr "$@" || test $? -eq 1`
359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
360 # ----------------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with STATUS, using 1 if that was 0.
366 as_status
=$1; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit
$as_status
375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
394 as_me
=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits
='0123456789'
418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
421 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
422 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 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; }
444 # 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
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C
= ECHO_N
= ECHO_T
=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
465 rm -f conf$$ conf$$.exe conf$$.
file
466 if test -d conf$$.dir
; then
467 rm -f conf$$.dir
/conf$$.
file
470 mkdir conf$$.dir
2>/dev
/null
472 if (echo >conf$$.
file) 2>/dev
/null
; then
473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
475 # ... but there are two gotchas:
476 # 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.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
490 rmdir conf$$.dir
2>/dev
/null
492 if mkdir
-p .
2>/dev
/null
; then
493 as_mkdir_p
='mkdir -p "$as_dir"'
495 test -d .
/-p && rmdir .
/-p
499 if test -x / >/dev
/null
2>&1; then
502 if ls -dL / >/dev
/null
2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p
=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix
=/usr
/local
542 ac_config_libobj_dir
=.
549 # Identity of this package.
550 PACKAGE_NAME
='wmnotify'
551 PACKAGE_TARNAME
='wmnotify'
552 PACKAGE_VERSION
='1.0.0'
553 PACKAGE_STRING
='wmnotify 1.0.0'
557 ac_unique_file
="src/wmnotify.c"
558 # Factoring default headers for most tests.
559 ac_includes_default
="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
594 ac_subst_vars
='am__EXEEXT_FALSE
651 INSTALL_STRIP_PROGRAM
693 program_transform_name
706 enable_option_checking
708 enable_dependency_tracking
713 ac_precious_vars
='build_alias
732 # Initialize some variables set by options.
734 ac_init_version
=false
735 ac_unrecognized_opts
=
737 # The variables have the same names as the options, with
738 # dashes changed to underlines.
746 program_transform_name
=s
,x
,x
,
754 # Installation directory options.
755 # These are left unexpanded so users can "make install exec_prefix=/foo"
756 # and all the variables that are supposed to be based on exec_prefix
757 # by default will actually change.
758 # Use braces instead of parens because sh, perl, etc. also accept them.
759 # (The list follows the same order as the GNU Coding Standards.)
760 bindir
='${exec_prefix}/bin'
761 sbindir
='${exec_prefix}/sbin'
762 libexecdir
='${exec_prefix}/libexec'
763 datarootdir
='${prefix}/share'
764 datadir
='${datarootdir}'
765 sysconfdir
='${prefix}/etc'
766 sharedstatedir
='${prefix}/com'
767 localstatedir
='${prefix}/var'
768 includedir
='${prefix}/include'
769 oldincludedir
='/usr/include'
770 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
771 infodir
='${datarootdir}/info'
776 libdir
='${exec_prefix}/lib'
777 localedir
='${datarootdir}/locale'
778 mandir
='${datarootdir}/man'
784 # If the previous option needs an argument, assign it.
785 if test -n "$ac_prev"; then
786 eval $ac_prev=\
$ac_option
792 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
797 # Accept the important Cygnus configure options, so we can diagnose typos.
799 case $ac_dashdash$ac_option in
803 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
805 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
808 -build |
--build |
--buil |
--bui |
--bu)
809 ac_prev
=build_alias
;;
810 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
811 build_alias
=$ac_optarg ;;
813 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
814 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
815 ac_prev
=cache_file
;;
816 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
817 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
818 cache_file
=$ac_optarg ;;
821 cache_file
=config.cache
;;
823 -datadir |
--datadir |
--datadi |
--datad)
825 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
826 datadir
=$ac_optarg ;;
828 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
829 |
--dataroo |
--dataro |
--datar)
830 ac_prev
=datarootdir
;;
831 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
832 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
833 datarootdir
=$ac_optarg ;;
835 -disable-* |
--disable-*)
836 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
837 # Reject names that are not valid shell variable names.
838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
839 as_fn_error $?
"invalid feature name: $ac_useropt"
840 ac_useropt_orig
=$ac_useropt
841 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
842 case $ac_user_opts in
846 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
847 ac_unrecognized_sep
=', ';;
849 eval enable_
$ac_useropt=no
;;
851 -docdir |
--docdir |
--docdi |
--doc |
--do)
853 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
856 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
858 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
861 -enable-* |
--enable-*)
862 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
863 # Reject names that are not valid shell variable names.
864 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
865 as_fn_error $?
"invalid feature name: $ac_useropt"
866 ac_useropt_orig
=$ac_useropt
867 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
868 case $ac_user_opts in
872 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
873 ac_unrecognized_sep
=', ';;
875 eval enable_
$ac_useropt=\
$ac_optarg ;;
877 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
878 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
879 |
--exec |
--exe |
--ex)
880 ac_prev
=exec_prefix
;;
881 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
882 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
883 |
--exec=* |
--exe=* |
--ex=*)
884 exec_prefix
=$ac_optarg ;;
886 -gas |
--gas |
--ga |
--g)
887 # Obsolete; use --with-gas.
890 -help |
--help |
--hel |
--he |
-h)
892 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
893 ac_init_help
=recursive
;;
894 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
895 ac_init_help
=short
;;
897 -host |
--host |
--hos |
--ho)
898 ac_prev
=host_alias
;;
899 -host=* |
--host=* |
--hos=* |
--ho=*)
900 host_alias
=$ac_optarg ;;
902 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
904 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
906 htmldir
=$ac_optarg ;;
908 -includedir |
--includedir |
--includedi |
--included |
--include \
909 |
--includ |
--inclu |
--incl |
--inc)
910 ac_prev
=includedir
;;
911 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
912 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
913 includedir
=$ac_optarg ;;
915 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
917 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
918 infodir
=$ac_optarg ;;
920 -libdir |
--libdir |
--libdi |
--libd)
922 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
925 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
926 |
--libexe |
--libex |
--libe)
927 ac_prev
=libexecdir
;;
928 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
929 |
--libexe=* |
--libex=* |
--libe=*)
930 libexecdir
=$ac_optarg ;;
932 -localedir |
--localedir |
--localedi |
--localed |
--locale)
934 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
935 localedir
=$ac_optarg ;;
937 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
938 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
939 ac_prev
=localstatedir
;;
940 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
941 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
942 localstatedir
=$ac_optarg ;;
944 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
946 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
950 # Obsolete; use --without-fp.
953 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
954 |
--no-cr |
--no-c |
-n)
957 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
958 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
961 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
962 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
963 |
--oldin |
--oldi |
--old |
--ol |
--o)
964 ac_prev
=oldincludedir
;;
965 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
966 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
967 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
968 oldincludedir
=$ac_optarg ;;
970 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
972 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
975 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
976 |
--program-pre |
--program-pr |
--program-p)
977 ac_prev
=program_prefix
;;
978 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
979 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
980 program_prefix
=$ac_optarg ;;
982 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
983 |
--program-suf |
--program-su |
--program-s)
984 ac_prev
=program_suffix
;;
985 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
986 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
987 program_suffix
=$ac_optarg ;;
989 -program-transform-name |
--program-transform-name \
990 |
--program-transform-nam |
--program-transform-na \
991 |
--program-transform-n |
--program-transform- \
992 |
--program-transform |
--program-transfor \
993 |
--program-transfo |
--program-transf \
994 |
--program-trans |
--program-tran \
995 |
--progr-tra |
--program-tr |
--program-t)
996 ac_prev
=program_transform_name
;;
997 -program-transform-name=* |
--program-transform-name=* \
998 |
--program-transform-nam=* |
--program-transform-na=* \
999 |
--program-transform-n=* |
--program-transform-=* \
1000 |
--program-transform=* |
--program-transfor=* \
1001 |
--program-transfo=* |
--program-transf=* \
1002 |
--program-trans=* |
--program-tran=* \
1003 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1004 program_transform_name
=$ac_optarg ;;
1006 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1008 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1009 pdfdir
=$ac_optarg ;;
1011 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1013 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1016 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1017 |
-silent |
--silent |
--silen |
--sile |
--sil)
1020 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1022 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1024 sbindir
=$ac_optarg ;;
1026 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1027 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1028 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1030 ac_prev
=sharedstatedir
;;
1031 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1032 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1033 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1035 sharedstatedir
=$ac_optarg ;;
1037 -site |
--site |
--sit)
1039 -site=* |
--site=* |
--sit=*)
1042 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1044 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1045 srcdir
=$ac_optarg ;;
1047 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1048 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1049 ac_prev
=sysconfdir
;;
1050 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1051 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1052 sysconfdir
=$ac_optarg ;;
1054 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1055 ac_prev
=target_alias
;;
1056 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1057 target_alias
=$ac_optarg ;;
1059 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1062 -version |
--version |
--versio |
--versi |
--vers |
-V)
1063 ac_init_version
=: ;;
1066 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1069 as_fn_error $?
"invalid package name: $ac_useropt"
1070 ac_useropt_orig
=$ac_useropt
1071 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1072 case $ac_user_opts in
1076 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1077 ac_unrecognized_sep
=', ';;
1079 eval with_
$ac_useropt=\
$ac_optarg ;;
1081 -without-* |
--without-*)
1082 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1083 # Reject names that are not valid shell variable names.
1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1085 as_fn_error $?
"invalid package name: $ac_useropt"
1086 ac_useropt_orig
=$ac_useropt
1087 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1088 case $ac_user_opts in
1092 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1093 ac_unrecognized_sep
=', ';;
1095 eval with_
$ac_useropt=no
;;
1098 # Obsolete; use --with-x.
1101 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1102 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1103 ac_prev
=x_includes
;;
1104 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1105 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1106 x_includes
=$ac_optarg ;;
1108 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1109 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1110 ac_prev
=x_libraries
;;
1111 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1112 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1113 x_libraries
=$ac_optarg ;;
1115 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1116 Try \`$0 --help' for more information"
1120 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1121 # Reject names that are not valid shell variable names.
1122 case $ac_envvar in #(
1123 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1124 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1126 eval $ac_envvar=\
$ac_optarg
1127 export $ac_envvar ;;
1130 # FIXME: should be removed in autoconf 3.0.
1131 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1132 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1133 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1134 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1140 if test -n "$ac_prev"; then
1141 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1142 as_fn_error $?
"missing argument to $ac_option"
1145 if test -n "$ac_unrecognized_opts"; then
1146 case $enable_option_checking in
1148 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1149 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1153 # Check all directory arguments for consistency.
1154 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1155 datadir sysconfdir sharedstatedir localstatedir includedir \
1156 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1157 libdir localedir mandir
1159 eval ac_val
=\$
$ac_var
1160 # Remove trailing slashes.
1163 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1164 eval $ac_var=\
$ac_val;;
1166 # Be sure to have absolute directory names.
1168 [\\/$
]* | ?
:[\\/]* ) continue;;
1169 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1171 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1174 # There might be people who depend on the old broken behavior: `$host'
1175 # used to hold the argument of --host etc.
1176 # FIXME: To remove some day.
1179 target
=$target_alias
1181 # FIXME: To remove some day.
1182 if test "x$host_alias" != x
; then
1183 if test "x$build_alias" = x
; then
1184 cross_compiling
=maybe
1185 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1186 If a cross compiler is detected then cross compile mode will be used" >&2
1187 elif test "x$build_alias" != "x$host_alias"; then
1193 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1195 test "$silent" = yes && exec 6>/dev
/null
1198 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1199 ac_ls_di
=`ls -di .` &&
1200 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1201 as_fn_error $?
"working directory cannot be determined"
1202 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1203 as_fn_error $?
"pwd does not report name of working directory"
1206 # Find the source files, if location was not specified.
1207 if test -z "$srcdir"; then
1208 ac_srcdir_defaulted
=yes
1209 # Try the directory containing this script, then the parent directory.
1210 ac_confdir
=`$as_dirname -- "$as_myself" ||
1211 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1212 X"$as_myself" : 'X\(//\)[^/]' \| \
1213 X"$as_myself" : 'X\(//\)$' \| \
1214 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1215 $as_echo X"$as_myself" |
1216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1234 if test ! -r "$srcdir/$ac_unique_file"; then
1238 ac_srcdir_defaulted
=no
1240 if test ! -r "$srcdir/$ac_unique_file"; then
1241 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1242 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1244 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1246 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1248 # When building in place, set srcdir=.
1249 if test "$ac_abs_confdir" = "$ac_pwd"; then
1252 # Remove unnecessary trailing slashes from srcdir.
1253 # Double slashes in file names in object file debugging info
1254 # mess up M-x gdb in Emacs.
1256 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1258 for ac_var
in $ac_precious_vars; do
1259 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1260 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1261 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1262 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1266 # Report the --help message.
1268 if test "$ac_init_help" = "long"; then
1269 # Omit some internal or obsolete options to make the list less imposing.
1270 # This message is too long to be a string in the A/UX 3.1 sh.
1272 \`configure' configures wmnotify 1.0.0 to adapt to many kinds of systems.
1274 Usage: $0 [OPTION]... [VAR=VALUE]...
1276 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1277 VAR=VALUE. See below for descriptions of some of the useful variables.
1279 Defaults for the options are specified in brackets.
1282 -h, --help display this help and exit
1283 --help=short display options specific to this package
1284 --help=recursive display the short help of all the included packages
1285 -V, --version display version information and exit
1286 -q, --quiet, --silent do not print \`checking ...' messages
1287 --cache-file=FILE cache test results in FILE [disabled]
1288 -C, --config-cache alias for \`--cache-file=config.cache'
1289 -n, --no-create do not create output files
1290 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1292 Installation directories:
1293 --prefix=PREFIX install architecture-independent files in PREFIX
1294 [$ac_default_prefix]
1295 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1298 By default, \`make install' will install all the files in
1299 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1300 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1301 for instance \`--prefix=\$HOME'.
1303 For better control, use the options below.
1305 Fine tuning of the installation directories:
1306 --bindir=DIR user executables [EPREFIX/bin]
1307 --sbindir=DIR system admin executables [EPREFIX/sbin]
1308 --libexecdir=DIR program executables [EPREFIX/libexec]
1309 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1310 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1311 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1312 --libdir=DIR object code libraries [EPREFIX/lib]
1313 --includedir=DIR C header files [PREFIX/include]
1314 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1315 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1316 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1317 --infodir=DIR info documentation [DATAROOTDIR/info]
1318 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1319 --mandir=DIR man documentation [DATAROOTDIR/man]
1320 --docdir=DIR documentation root [DATAROOTDIR/doc/wmnotify]
1321 --htmldir=DIR html documentation [DOCDIR]
1322 --dvidir=DIR dvi documentation [DOCDIR]
1323 --pdfdir=DIR pdf documentation [DOCDIR]
1324 --psdir=DIR ps documentation [DOCDIR]
1330 --program-prefix=PREFIX prepend PREFIX to installed program names
1331 --program-suffix=SUFFIX append SUFFIX to installed program names
1332 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1335 --x-includes=DIR X include files are
in DIR
1336 --x-libraries=DIR X library files are
in DIR
1339 --build=BUILD configure
for building on BUILD
[guessed
]
1340 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1344 if test -n "$ac_init_help"; then
1345 case $ac_init_help in
1346 short | recursive
) echo "Configuration of wmnotify 1.0.0:";;
1351 --disable-option-checking ignore unrecognized
--enable/--with options
1352 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1353 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1354 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1355 --disable-silent-rules verbose build output (undo: `make V
=0')
1356 --disable-dependency-tracking speeds up one-time build
1357 --enable-dependency-tracking do not reject slow dependency extractors
1358 --enable-libsndfile Enable libsndfile support for audible notification (default=yes)
1359 --enable-ssl Enable SSL support using OpenSSL (default=yes)
1362 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1363 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1364 --with-x use the X Window System
1366 Some influential environment variables:
1367 CC C compiler command
1368 CFLAGS C compiler flags
1369 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1370 nonstandard directory <lib dir>
1371 LIBS libraries to pass to the linker, e.g. -l<library>
1372 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1373 you have headers in a nonstandard directory <include dir>
1375 XMKMF Path to xmkmf, Makefile generator for X Window System
1376 PKG_CONFIG path to pkg-config utility
1378 directories to add to pkg-config's search path
1380 path overriding pkg-config
's built-in search path
1382 C compiler flags for SNDFILE, overriding pkg-config
1384 linker flags for SNDFILE, overriding pkg-config
1386 C compiler flags for OPENSSL, overriding pkg-config
1388 linker flags for OPENSSL, overriding pkg-config
1390 Use these variables to override the choices made by `configure' or to
help
1391 it to
find libraries and programs with nonstandard names
/locations.
1393 Report bugs to the package provider.
1398 if test "$ac_init_help" = "recursive"; then
1399 # If there are subdirs, report their specific --help.
1400 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1401 test -d "$ac_dir" ||
1402 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1407 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1409 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1410 # A ".." for each directory in $ac_dir_suffix.
1411 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1412 case $ac_top_builddir_sub in
1413 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1414 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1417 ac_abs_top_builddir
=$ac_pwd
1418 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1419 # for backward compatibility:
1420 ac_top_builddir
=$ac_top_build_prefix
1423 .
) # We are building in place.
1425 ac_top_srcdir
=$ac_top_builddir_sub
1426 ac_abs_top_srcdir
=$ac_pwd ;;
1427 [\\/]* | ?
:[\\/]* ) # Absolute name.
1428 ac_srcdir
=$srcdir$ac_dir_suffix;
1429 ac_top_srcdir
=$srcdir
1430 ac_abs_top_srcdir
=$srcdir ;;
1432 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1433 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1434 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1436 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1438 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1439 # Check for guested configure.
1440 if test -f "$ac_srcdir/configure.gnu"; then
1442 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1443 elif test -f "$ac_srcdir/configure"; then
1445 $SHELL "$ac_srcdir/configure" --help=recursive
1447 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1449 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1453 test -n "$ac_init_help" && exit $ac_status
1454 if $ac_init_version; then
1456 wmnotify configure
1.0.0
1457 generated by GNU Autoconf
2.67
1459 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1460 This configure
script is free software
; the Free Software Foundation
1461 gives unlimited permission to copy
, distribute and modify it.
1466 ## ------------------------ ##
1467 ## Autoconf initialization. ##
1468 ## ------------------------ ##
1470 # ac_fn_c_try_compile LINENO
1471 # --------------------------
1472 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1473 ac_fn_c_try_compile
()
1475 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1476 rm -f conftest.
$ac_objext
1477 if { { ac_try
="$ac_compile"
1479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1480 *) ac_try_echo=$ac_try;;
1482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1483 $as_echo "$ac_try_echo"; } >&5
1484 (eval "$ac_compile") 2>conftest.err
1486 if test -s conftest.err; then
1487 grep -v '^ *+' conftest.err >conftest.er1
1488 cat conftest.er1 >&5
1489 mv -f conftest.er1 conftest.err
1491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1492 test $ac_status = 0; } && {
1493 test -z "$ac_c_werror_flag" ||
1494 test ! -s conftest.err
1495 } && test -s conftest.$ac_objext; then :
1498 $as_echo "$as_me: failed program was:" >&5
1499 sed 's/^/| /' conftest.$ac_ext >&5
1503 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1504 as_fn_set_status $ac_retval
1506 } # ac_fn_c_try_compile
1508 # ac_fn_c_try_cpp LINENO
1509 # ----------------------
1510 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1513 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1514 if { { ac_try="$ac_cpp conftest.$ac_ext"
1516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1517 *) ac_try_echo
=$ac_try;;
1519 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1520 $as_echo "$ac_try_echo"; } >&5
1521 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1523 if test -s conftest.err
; then
1524 grep -v '^ *+' conftest.err
>conftest.er1
1525 cat conftest.er1
>&5
1526 mv -f conftest.er1 conftest.err
1528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1529 test $ac_status = 0; } > conftest.i
&& {
1530 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1531 test ! -s conftest.err
1535 $as_echo "$as_me: failed program was:" >&5
1536 sed 's/^/| /' conftest.
$ac_ext >&5
1540 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1541 as_fn_set_status
$ac_retval
1545 # ac_fn_c_try_run LINENO
1546 # ----------------------
1547 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1548 # that executables *can* be run.
1551 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1552 if { { ac_try
="$ac_link"
1554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1555 *) ac_try_echo=$ac_try;;
1557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1558 $as_echo "$ac_try_echo"; } >&5
1559 (eval "$ac_link") 2>&5
1561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1562 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1563 { { case "(($ac_try" in
1564 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1565 *) ac_try_echo
=$ac_try;;
1567 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1568 $as_echo "$ac_try_echo"; } >&5
1569 (eval "$ac_try") 2>&5
1571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1572 test $ac_status = 0; }; }; then :
1575 $as_echo "$as_me: program exited with status $ac_status" >&5
1576 $as_echo "$as_me: failed program was:" >&5
1577 sed 's/^/| /' conftest.
$ac_ext >&5
1579 ac_retval
=$ac_status
1581 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1582 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1583 as_fn_set_status
$ac_retval
1587 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1588 # -------------------------------------------------------
1589 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1590 # the include files in INCLUDES and setting the cache variable VAR
1592 ac_fn_c_check_header_mongrel
()
1594 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1595 if eval "test \"\${$3+set}\"" = set; then :
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1597 $as_echo_n "checking for $2... " >&6; }
1598 if eval "test \"\${$3+set}\"" = set; then :
1599 $as_echo_n "(cached) " >&6
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1603 $as_echo "$ac_res" >&6; }
1605 # Is the header compilable?
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1607 $as_echo_n "checking $2 usability... " >&6; }
1608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1609 /* end confdefs.h. */
1613 if ac_fn_c_try_compile
"$LINENO"; then :
1614 ac_header_compiler
=yes
1616 ac_header_compiler
=no
1618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1620 $as_echo "$ac_header_compiler" >&6; }
1622 # Is the header present?
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1624 $as_echo_n "checking $2 presence... " >&6; }
1625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1626 /* end confdefs.h. */
1629 if ac_fn_c_try_cpp
"$LINENO"; then :
1630 ac_header_preproc
=yes
1632 ac_header_preproc
=no
1634 rm -f conftest.err conftest.i conftest.
$ac_ext
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1636 $as_echo "$ac_header_preproc" >&6; }
1638 # So? What about this header?
1639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1642 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1644 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1648 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1650 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1652 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1654 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1656 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1660 $as_echo_n "checking for $2... " >&6; }
1661 if eval "test \"\${$3+set}\"" = set; then :
1662 $as_echo_n "(cached) " >&6
1664 eval "$3=\$ac_header_compiler"
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1668 $as_echo "$ac_res" >&6; }
1670 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1672 } # ac_fn_c_check_header_mongrel
1674 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1675 # -------------------------------------------------------
1676 # Tests whether HEADER exists and can be compiled using the include files in
1677 # INCLUDES, setting the cache variable VAR accordingly.
1678 ac_fn_c_check_header_compile
()
1680 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1682 $as_echo_n "checking for $2... " >&6; }
1683 if eval "test \"\${$3+set}\"" = set; then :
1684 $as_echo_n "(cached) " >&6
1686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1687 /* end confdefs.h. */
1691 if ac_fn_c_try_compile
"$LINENO"; then :
1696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1700 $as_echo "$ac_res" >&6; }
1701 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1703 } # ac_fn_c_check_header_compile
1705 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1706 # -------------------------------------------
1707 # Tests whether TYPE exists after having included INCLUDES, setting cache
1708 # variable VAR accordingly.
1709 ac_fn_c_check_type
()
1711 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1713 $as_echo_n "checking for $2... " >&6; }
1714 if eval "test \"\${$3+set}\"" = set; then :
1715 $as_echo_n "(cached) " >&6
1718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1719 /* end confdefs.h. */
1730 if ac_fn_c_try_compile
"$LINENO"; then :
1731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1732 /* end confdefs.h. */
1743 if ac_fn_c_try_compile
"$LINENO"; then :
1748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1754 $as_echo "$ac_res" >&6; }
1755 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1757 } # ac_fn_c_check_type
1759 # ac_fn_c_try_link LINENO
1760 # -----------------------
1761 # Try to link conftest.$ac_ext, and return whether this succeeded.
1764 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1765 rm -f conftest.
$ac_objext conftest
$ac_exeext
1766 if { { ac_try
="$ac_link"
1768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1769 *) ac_try_echo=$ac_try;;
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_link") 2>conftest.err
1775 if test -s conftest.err; then
1776 grep -v '^ *+' conftest.err >conftest.er1
1777 cat conftest.er1 >&5
1778 mv -f conftest.er1 conftest.err
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; } && {
1782 test -z "$ac_c_werror_flag" ||
1783 test ! -s conftest.err
1784 } && test -s conftest$ac_exeext && {
1785 test "$cross_compiling" = yes ||
1786 $as_test_x conftest$ac_exeext
1790 $as_echo "$as_me: failed program was:" >&5
1791 sed 's/^/| /' conftest.$ac_ext >&5
1795 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1796 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1797 # interfere with the next link command; also delete a directory that is
1798 # left behind by Apple's compiler. We do this before executing the actions.
1799 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1800 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1801 as_fn_set_status $ac_retval
1803 } # ac_fn_c_try_link
1805 # ac_fn_c_check_func LINENO FUNC VAR
1806 # ----------------------------------
1807 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1808 ac_fn_c_check_func ()
1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1812 $as_echo_n "checking for $2... " >&6; }
1813 if eval "test \"\${$3+set}\"" = set; then :
1814 $as_echo_n "(cached) " >&6
1816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h. */
1818 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1820 #define $2 innocuous_$2
1822 /* System header to define __stub macros and hopefully few prototypes,
1823 which can conflict with char $2 (); below.
1824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1825 <limits.h> exists even on freestanding compilers. */
1828 # include <limits.h>
1830 # include <assert.h>
1835 /* Override any GCC internal prototype to avoid an error.
1836 Use char because int might match the return type of a GCC
1837 builtin and then its argument prototype would still apply. */
1842 /* The GNU C library defines this for functions which it implements
1843 to always fail with ENOSYS. Some functions are actually named
1844 something starting with __ and the normal name is an alias. */
1845 #if defined __stub_$2 || defined __stub___$2
1857 if ac_fn_c_try_link "$LINENO"; then :
1862 rm -f core conftest.err conftest.$ac_objext \
1863 conftest$ac_exeext conftest.$ac_ext
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1867 $as_echo "$ac_res" >&6; }
1868 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1870 } # ac_fn_c_check_func
1871 cat >config.log <<_ACEOF
1872 This file contains any messages produced by compilers while
1873 running configure, to aid debugging if configure makes a mistake.
1875 It was created by wmnotify $as_me 1.0.0, which was
1876 generated by GNU Autoconf 2.67. Invocation command line was
1888 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1889 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1890 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1891 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1892 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1894 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1895 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1897 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1898 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1899 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1900 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1901 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1902 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1903 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1911 test -z "$as_dir" && as_dir=.
1912 $as_echo "PATH: $as_dir"
1928 # Keep a trace of the command line.
1929 # Strip out --no-create and --no-recursion so they do not pile up.
1930 # Strip out --silent because we don't want to record it for future runs.
1931 # Also quote any args containing shell meta-characters.
1932 # Make two passes to allow for proper duplicate-argument suppression.
1936 ac_must_keep_next=false
1942 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1943 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1944 | -silent | --silent | --silen | --sile | --sil)
1947 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1950 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1952 as_fn_append ac_configure_args1 " '$ac_arg'"
1953 if test $ac_must_keep_next = true; then
1954 ac_must_keep_next=false # Got value, back to normal.
1957 *=* | --config-cache | -C | -disable-* | --disable-* \
1958 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1959 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1960 | -with-* | --with-* | -without-* | --without-* | --x)
1961 case "$ac_configure_args0 " in
1962 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1965 -* ) ac_must_keep_next=true ;;
1968 as_fn_append ac_configure_args " '$ac_arg'"
1973 { ac_configure_args0=; unset ac_configure_args0;}
1974 { ac_configure_args1=; unset ac_configure_args1;}
1976 # When interrupted or exit'd, cleanup temporary files, and complete
1977 # config.log. We remove comments because anyway the quotes in there
1978 # would cause problems or look ugly.
1979 # WARNING: Use '\'' to represent an apostrophe within the trap.
1980 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1981 trap 'exit_status=$?
1982 # Save into config.log some information that might help in debugging.
1986 $as_echo "## ---------------- ##
1987 ## Cache variables. ##
1988 ## ---------------- ##"
1990 # The following way of writing the cache mishandles newlines in values,
1992 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1993 eval ac_val=\$$ac_var
1997 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1998 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2001 _ | IFS | as_nl) ;; #(
2002 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2003 *) { eval $ac_var=; unset $ac_var;} ;;
2008 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2009 *${as_nl}ac_space=\ *)
2011 "s/'\''/'\''\\\\'\'''\''/g;
2012 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2015 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2022 $as_echo "## ----------------- ##
2023 ## Output variables. ##
2024 ## ----------------- ##"
2026 for ac_var in $ac_subst_vars
2028 eval ac_val=\$$ac_var
2030 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2032 $as_echo "$ac_var='\''$ac_val'\''"
2036 if test -n "$ac_subst_files"; then
2037 $as_echo "## ------------------- ##
2038 ## File substitutions. ##
2039 ## ------------------- ##"
2041 for ac_var in $ac_subst_files
2043 eval ac_val=\$$ac_var
2045 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2047 $as_echo "$ac_var='\''$ac_val'\''"
2052 if test -s confdefs.h; then
2053 $as_echo "## ----------- ##
2060 test "$ac_signal" != 0 &&
2061 $as_echo "$as_me: caught signal $ac_signal"
2062 $as_echo "$as_me: exit $exit_status"
2064 rm -f core *.core core.conftest.* &&
2065 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2068 for ac_signal in 1 2 13 15; do
2069 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2073 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2074 rm -f -r conftest* confdefs.h
2076 $as_echo "/* confdefs.h */" > confdefs.h
2078 # Predefined preprocessor variables.
2080 cat >>confdefs.h <<_ACEOF
2081 #define PACKAGE_NAME "$PACKAGE_NAME"
2084 cat >>confdefs.h <<_ACEOF
2085 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2092 cat >>confdefs.h <<_ACEOF
2093 #define PACKAGE_STRING "$PACKAGE_STRING"
2096 cat >>confdefs.h <<_ACEOF
2097 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2100 cat >>confdefs.h <<_ACEOF
2101 #define PACKAGE_URL "$PACKAGE_URL"
2105 # Let the site file select an alternate cache file if it wants to.
2106 # Prefer an explicitly selected file to automatically selected ones.
2109 if test -n "$CONFIG_SITE"; then
2110 # We do not want a PATH search for config.site.
2111 case $CONFIG_SITE in #((
2112 -*) ac_site_file1=./$CONFIG_SITE;;
2113 */*) ac_site_file1=$CONFIG_SITE;;
2114 *) ac_site_file1=./$CONFIG_SITE;;
2116 elif test "x$prefix" != xNONE; then
2117 ac_site_file1=$prefix/share/config.site
2118 ac_site_file2=$prefix/etc/config.site
2120 ac_site_file1=$ac_default_prefix/share/config.site
2121 ac_site_file2=$ac_default_prefix/etc/config.site
2123 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2125 test "x$ac_site_file" = xNONE && continue
2126 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2128 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2129 sed 's/^/| /' "$ac_site_file" >&5
2131 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2133 as_fn_error $? "failed to load site
script $ac_site_file
2134 See \
`config.log' for more details" "$LINENO" 5 ; }
2138 if test -r "$cache_file"; then
2139 # Some versions of bash will fail to source /dev/null (special files
2140 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2141 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2143 $as_echo "$as_me: loading cache $cache_file" >&6;}
2145 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2146 *) . "./$cache_file";;
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2151 $as_echo "$as_me: creating cache $cache_file" >&6;}
2155 # Check that the precious variables saved in the cache have kept the same
2157 ac_cache_corrupted=false
2158 for ac_var in $ac_precious_vars; do
2159 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2160 eval ac_new_set=\$ac_env_${ac_var}_set
2161 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2162 eval ac_new_val=\$ac_env_${ac_var}_value
2163 case $ac_old_set,$ac_new_set in
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2166 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2167 ac_cache_corrupted=: ;;
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2170 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2171 ac_cache_corrupted=: ;;
2174 if test "x$ac_old_val" != "x$ac_new_val"; then
2175 # differences in whitespace do not lead to failure.
2176 ac_old_val_w=`echo x
$ac_old_val`
2177 ac_new_val_w=`echo x
$ac_new_val`
2178 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2180 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2181 ac_cache_corrupted=:
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2184 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2185 eval $ac_var=\$ac_old_val
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2188 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2190 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2193 # Pass precious variables to config.status.
2194 if test "$ac_new_set" = set; then
2196 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2197 *) ac_arg=$ac_var=$ac_new_val ;;
2199 case " $ac_configure_args " in
2200 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2201 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2205 if $ac_cache_corrupted; then
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2209 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2210 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2212 ## -------------------- ##
2213 ## Main body of script. ##
2214 ## -------------------- ##
2217 ac_cpp='$CPP $CPPFLAGS'
2218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2224 for ac_dir in config "$srcdir"/config; do
2225 if test -f "$ac_dir/install-sh"; then
2227 ac_install_sh="$ac_aux_dir/install-sh -c"
2229 elif test -f "$ac_dir/install.sh"; then
2231 ac_install_sh="$ac_aux_dir/install.sh -c"
2233 elif test -f "$ac_dir/shtool"; then
2235 ac_install_sh="$ac_aux_dir/shtool install -c"
2239 if test -z "$ac_aux_dir"; then
2240 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2243 # These three variables are undocumented and unsupported,
2244 # and are intended to be withdrawn in a future Autoconf release.
2245 # They can cause serious problems if a builder's source tree is in a directory
2246 # whose full name contains unusual characters.
2247 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2248 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2249 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2253 ac_config_headers="$ac_config_headers config.h:config-h.in"
2255 am__api_version='1.11'
2257 # Find a good install program. We prefer a C program (faster),
2258 # so one script is as good as another. But avoid the broken or
2259 # incompatible versions:
2260 # SysV /etc/install, /usr/sbin/install
2261 # SunOS /usr/etc/install
2262 # IRIX /sbin/install
2264 # AmigaOS /C/install, which installs bootblocks on floppy discs
2265 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2266 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2267 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2268 # OS/2's system install, which has a completely different semantic
2269 # ./install, which can be erroneously created by make from ./install.sh.
2270 # Reject install programs that cannot install multiple files.
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2272 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2273 if test -z "$INSTALL"; then
2274 if test "${ac_cv_path_install+set}" = set; then :
2275 $as_echo_n "(cached) " >&6
2277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2281 test -z "$as_dir" && as_dir=.
2282 # Account for people who put trailing slashes in PATH elements.
2283 case $as_dir/ in #((
2284 ./ | .// | /[cC]/* | \
2285 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2286 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2289 # OSF1 and SCO ODT 3.0 have their own names for install.
2290 # Don't use installbsd from OSF since it installs stuff as root
2292 for ac_prog in ginstall scoinst install; do
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2295 if test $ac_prog = install &&
2296 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2297 # AIX install. It has an incompatible calling convention.
2299 elif test $ac_prog = install &&
2300 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2301 # program-specific install script used by HP pwplus--don't use.
2304 rm -rf conftest.one conftest.two conftest.dir
2305 echo one > conftest.one
2306 echo two > conftest.two
2308 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2309 test -s conftest.one && test -s conftest.two &&
2310 test -s conftest.dir/conftest.one &&
2311 test -s conftest.dir/conftest.two
2313 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2326 rm -rf conftest.one conftest.two conftest.dir
2329 if test "${ac_cv_path_install+set}" = set; then
2330 INSTALL=$ac_cv_path_install
2332 # As a last resort, use the slow shell script. Don't cache a
2333 # value for INSTALL within a source directory, because that will
2334 # break other packages using the cache if that directory is
2335 # removed, or if the value is a relative name.
2336 INSTALL=$ac_install_sh
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2340 $as_echo "$INSTALL" >&6; }
2342 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2343 # It thinks the first close brace ends the variable substitution.
2344 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2346 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2348 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2351 $as_echo_n "checking whether build environment is sane... " >&6; }
2354 echo timestamp > conftest.file
2355 # Reject unsafe characters in $srcdir or the absolute working directory
2356 # name. Accept space and tab only in the latter.
2360 *[\\\"\#\$\&\'\`$am_lf]*)
2361 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5 ;;
2364 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2365 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2368 # Do `set' in a subshell so we don't clobber the current shell's
2369 # arguments. Must try -L first in case configure is actually a
2370 # symlink; some systems play weird games with the mod time of symlinks
2371 # (eg FreeBSD returns the mod time of the symlink's containing
2374 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2375 if test "$*" = "X"; then
2377 set X
`ls -t "$srcdir/configure" conftest.file`
2380 if test "$*" != "X $srcdir/configure conftest.file" \
2381 && test "$*" != "X conftest.file $srcdir/configure"; then
2383 # If neither matched, then we have a broken ls. This can happen
2384 # if, for instance, CONFIG_SHELL is bash and it inherits a
2385 # broken ls alias from the environment. This has actually
2386 # happened. Such a system could not be considered "sane".
2387 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2388 alias in your environment" "$LINENO" 5
2391 test "$2" = conftest.
file
2397 as_fn_error $?
"newly created file is older than distributed files!
2398 Check your system clock" "$LINENO" 5
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2401 $as_echo "yes" >&6; }
2402 test "$program_prefix" != NONE
&&
2403 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2404 # Use a double $ so make ignores it.
2405 test "$program_suffix" != NONE
&&
2406 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2407 # Double any \ or $.
2408 # By default was `s,x,x', remove it if useless.
2409 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2410 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2412 # expand $ac_aux_dir to an absolute path
2413 am_aux_dir
=`cd $ac_aux_dir && pwd`
2415 if test x
"${MISSING+set}" != xset
; then
2418 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2420 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2423 # Use eval to expand $SHELL
2424 if eval "$MISSING --run true"; then
2425 am_missing_run
="$MISSING --run "
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2429 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2432 if test x
"${install_sh}" != xset
; then
2435 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2437 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2441 # Installed binaries are usually stripped using `strip' when the user
2442 # run `make install-strip'. However `strip' might not be the right
2443 # tool to use in cross-compilation environments, therefore Automake
2444 # will honor the `STRIP' environment variable to overrule this program.
2445 if test "$cross_compiling" != no
; then
2446 if test -n "$ac_tool_prefix"; then
2447 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2448 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2450 $as_echo_n "checking for $ac_word... " >&6; }
2451 if test "${ac_cv_prog_STRIP+set}" = set; then :
2452 $as_echo_n "(cached) " >&6
2454 if test -n "$STRIP"; then
2455 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2461 test -z "$as_dir" && as_dir
=.
2462 for ac_exec_ext
in '' $ac_executable_extensions; do
2463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2464 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2474 STRIP
=$ac_cv_prog_STRIP
2475 if test -n "$STRIP"; then
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2477 $as_echo "$STRIP" >&6; }
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2480 $as_echo "no" >&6; }
2485 if test -z "$ac_cv_prog_STRIP"; then
2487 # Extract the first word of "strip", so it can be a program name with args.
2488 set dummy strip
; ac_word
=$2
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2490 $as_echo_n "checking for $ac_word... " >&6; }
2491 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2492 $as_echo_n "(cached) " >&6
2494 if test -n "$ac_ct_STRIP"; then
2495 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2501 test -z "$as_dir" && as_dir
=.
2502 for ac_exec_ext
in '' $ac_executable_extensions; do
2503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2504 ac_cv_prog_ac_ct_STRIP
="strip"
2505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2514 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2515 if test -n "$ac_ct_STRIP"; then
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2517 $as_echo "$ac_ct_STRIP" >&6; }
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2520 $as_echo "no" >&6; }
2523 if test "x$ac_ct_STRIP" = x
; then
2526 case $cross_compiling:$ac_tool_warned in
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2530 ac_tool_warned
=yes ;;
2535 STRIP
="$ac_cv_prog_STRIP"
2539 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2542 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2543 if test -z "$MKDIR_P"; then
2544 if test "${ac_cv_path_mkdir+set}" = set; then :
2545 $as_echo_n "(cached) " >&6
2547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2548 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2551 test -z "$as_dir" && as_dir
=.
2552 for ac_prog
in mkdir gmkdir
; do
2553 for ac_exec_ext
in '' $ac_executable_extensions; do
2554 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2555 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2556 'mkdir (GNU coreutils) '* | \
2557 'mkdir (coreutils) '* | \
2558 'mkdir (fileutils) '4.1*)
2559 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2569 test -d .
/--version && rmdir .
/--version
2570 if test "${ac_cv_path_mkdir+set}" = set; then
2571 MKDIR_P
="$ac_cv_path_mkdir -p"
2573 # As a last resort, use the slow shell script. Don't cache a
2574 # value for MKDIR_P within a source directory, because that will
2575 # break other packages using the cache if that directory is
2576 # removed, or if the value is a relative name.
2577 MKDIR_P
="$ac_install_sh -d"
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2581 $as_echo "$MKDIR_P" >&6; }
2585 [\\/$
]* | ?
:[\\/]*) ;;
2586 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2589 for ac_prog
in gawk mawk nawk
awk
2591 # Extract the first word of "$ac_prog", so it can be a program name with args.
2592 set dummy
$ac_prog; ac_word
=$2
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2594 $as_echo_n "checking for $ac_word... " >&6; }
2595 if test "${ac_cv_prog_AWK+set}" = set; then :
2596 $as_echo_n "(cached) " >&6
2598 if test -n "$AWK"; then
2599 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2605 test -z "$as_dir" && as_dir
=.
2606 for ac_exec_ext
in '' $ac_executable_extensions; do
2607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2608 ac_cv_prog_AWK
="$ac_prog"
2609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2619 if test -n "$AWK"; then
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2621 $as_echo "$AWK" >&6; }
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2624 $as_echo "no" >&6; }
2628 test -n "$AWK" && break
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2632 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2634 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2635 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2636 $as_echo_n "(cached) " >&6
2638 cat >conftest.
make <<\_ACEOF
2641 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2643 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2644 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2646 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2648 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2652 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2654 $as_echo "yes" >&6; }
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658 $as_echo "no" >&6; }
2659 SET_MAKE
="MAKE=${MAKE-make}"
2662 rm -rf .tst
2>/dev
/null
2663 mkdir .tst
2>/dev
/null
2664 if test -d .tst
; then
2669 rmdir .tst
2>/dev
/null
2671 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2672 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2673 # is not polluted with repeated "-I."
2674 am__isrc
=' -I$(srcdir)'
2675 # test to see if srcdir already configured
2676 if test -f $srcdir/config.status
; then
2677 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2681 # test whether we have cygpath
2682 if test -z "$CYGPATH_W"; then
2683 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2684 CYGPATH_W
='cygpath -w'
2691 # Define the identity of the package.
2696 cat >>confdefs.h
<<_ACEOF
2697 #define PACKAGE "$PACKAGE"
2701 cat >>confdefs.h
<<_ACEOF
2702 #define VERSION "$VERSION"
2705 # Some tools Automake needs.
2707 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2710 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2713 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2716 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2719 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2721 # We need awk for the "check" target. The system "awk" is bad on
2723 # Always define AMTAR for backward compatibility.
2725 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2727 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2733 # Check whether --enable-silent-rules was given.
2734 if test "${enable_silent_rules+set}" = set; then :
2735 enableval
=$enable_silent_rules;
2738 case $enable_silent_rules in
2739 yes) AM_DEFAULT_VERBOSITY
=0;;
2740 no
) AM_DEFAULT_VERBOSITY
=1;;
2741 *) AM_DEFAULT_VERBOSITY
=0;;
2746 DEPDIR="${am__leading_dot}deps"
2748 ac_config_commands="$ac_config_commands depfiles"
2751 am_make=${MAKE-make}
2752 cat > confinc << 'END
'
2754 @echo this is the am__doit target
2757 # If we don't
find an include directive
, just comment out the code.
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2759 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2763 # First try GNU make style include.
2764 echo "include confinc" > confmf
2765 # Ignore all kinds of additional output from `make'.
2766 case `$am_make -s -f confmf 2> /dev/null` in #(
2767 *the\ am__doit\ target
*)
2773 # Now try BSD make style include.
2774 if test "$am__include" = "#"; then
2775 echo '.include "confinc"' > confmf
2776 case `$am_make -s -f confmf 2> /dev/null` in #(
2777 *the\ am__doit\ target
*)
2778 am__include
=.include
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2787 $as_echo "$_am_result" >&6; }
2788 rm -f confinc confmf
2790 # Check whether --enable-dependency-tracking was given.
2791 if test "${enable_dependency_tracking+set}" = set; then :
2792 enableval
=$enable_dependency_tracking;
2795 if test "x$enable_dependency_tracking" != xno
; then
2796 am_depcomp
="$ac_aux_dir/depcomp"
2799 if test "x$enable_dependency_tracking" != xno; then
2809 ac_cpp
='$CPP $CPPFLAGS'
2810 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2811 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2812 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2813 if test -n "$ac_tool_prefix"; then
2814 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2815 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2817 $as_echo_n "checking for $ac_word... " >&6; }
2818 if test "${ac_cv_prog_CC+set}" = set; then :
2819 $as_echo_n "(cached) " >&6
2821 if test -n "$CC"; then
2822 ac_cv_prog_CC
="$CC" # Let the user override the test.
2824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir
=.
2829 for ac_exec_ext
in '' $ac_executable_extensions; do
2830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2831 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2842 if test -n "$CC"; then
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2844 $as_echo "$CC" >&6; }
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2847 $as_echo "no" >&6; }
2852 if test -z "$ac_cv_prog_CC"; then
2854 # Extract the first word of "gcc", so it can be a program name with args.
2855 set dummy gcc
; ac_word
=$2
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2857 $as_echo_n "checking for $ac_word... " >&6; }
2858 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2859 $as_echo_n "(cached) " >&6
2861 if test -n "$ac_ct_CC"; then
2862 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2868 test -z "$as_dir" && as_dir
=.
2869 for ac_exec_ext
in '' $ac_executable_extensions; do
2870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2871 ac_cv_prog_ac_ct_CC
="gcc"
2872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2881 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2882 if test -n "$ac_ct_CC"; then
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2884 $as_echo "$ac_ct_CC" >&6; }
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2887 $as_echo "no" >&6; }
2890 if test "x$ac_ct_CC" = x
; then
2893 case $cross_compiling:$ac_tool_warned in
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2897 ac_tool_warned
=yes ;;
2905 if test -z "$CC"; then
2906 if test -n "$ac_tool_prefix"; then
2907 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2908 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2910 $as_echo_n "checking for $ac_word... " >&6; }
2911 if test "${ac_cv_prog_CC+set}" = set; then :
2912 $as_echo_n "(cached) " >&6
2914 if test -n "$CC"; then
2915 ac_cv_prog_CC
="$CC" # Let the user override the test.
2917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2921 test -z "$as_dir" && as_dir
=.
2922 for ac_exec_ext
in '' $ac_executable_extensions; do
2923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2924 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2935 if test -n "$CC"; then
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2937 $as_echo "$CC" >&6; }
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2940 $as_echo "no" >&6; }
2946 if test -z "$CC"; then
2947 # Extract the first word of "cc", so it can be a program name with args.
2948 set dummy cc
; ac_word
=$2
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2950 $as_echo_n "checking for $ac_word... " >&6; }
2951 if test "${ac_cv_prog_CC+set}" = set; then :
2952 $as_echo_n "(cached) " >&6
2954 if test -n "$CC"; then
2955 ac_cv_prog_CC
="$CC" # Let the user override the test.
2958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2962 test -z "$as_dir" && as_dir
=.
2963 for ac_exec_ext
in '' $ac_executable_extensions; do
2964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2965 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2966 ac_prog_rejected
=yes
2970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2977 if test $ac_prog_rejected = yes; then
2978 # We found a bogon in the path, so make sure we never use it.
2979 set dummy
$ac_cv_prog_CC
2981 if test $# != 0; then
2982 # We chose a different compiler from the bogus one.
2983 # However, it has the same basename, so the bogon will be chosen
2984 # first if we set CC to just the basename; use the full file name.
2986 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2992 if test -n "$CC"; then
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2994 $as_echo "$CC" >&6; }
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2997 $as_echo "no" >&6; }
3002 if test -z "$CC"; then
3003 if test -n "$ac_tool_prefix"; then
3004 for ac_prog
in cl.exe
3006 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3007 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3009 $as_echo_n "checking for $ac_word... " >&6; }
3010 if test "${ac_cv_prog_CC+set}" = set; then :
3011 $as_echo_n "(cached) " >&6
3013 if test -n "$CC"; then
3014 ac_cv_prog_CC
="$CC" # Let the user override the test.
3016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3020 test -z "$as_dir" && as_dir
=.
3021 for ac_exec_ext
in '' $ac_executable_extensions; do
3022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3023 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 if test -n "$CC"; then
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3036 $as_echo "$CC" >&6; }
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3039 $as_echo "no" >&6; }
3043 test -n "$CC" && break
3046 if test -z "$CC"; then
3048 for ac_prog
in cl.exe
3050 # Extract the first word of "$ac_prog", so it can be a program name with args.
3051 set dummy
$ac_prog; ac_word
=$2
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3053 $as_echo_n "checking for $ac_word... " >&6; }
3054 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3055 $as_echo_n "(cached) " >&6
3057 if test -n "$ac_ct_CC"; then
3058 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3064 test -z "$as_dir" && as_dir
=.
3065 for ac_exec_ext
in '' $ac_executable_extensions; do
3066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3067 ac_cv_prog_ac_ct_CC
="$ac_prog"
3068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3077 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3078 if test -n "$ac_ct_CC"; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3080 $as_echo "$ac_ct_CC" >&6; }
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3083 $as_echo "no" >&6; }
3087 test -n "$ac_ct_CC" && break
3090 if test "x$ac_ct_CC" = x
; then
3093 case $cross_compiling:$ac_tool_warned in
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3097 ac_tool_warned
=yes ;;
3106 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3108 as_fn_error $?
"no acceptable C compiler found in \$PATH
3109 See \`config.log' for more details" "$LINENO" 5 ; }
3111 # Provide some information about the compiler.
3112 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3115 for ac_option
in --version -v -V -qversion; do
3116 { { ac_try
="$ac_compiler $ac_option >&5"
3118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3122 $as_echo "$ac_try_echo"; } >&5
3123 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3125 if test -s conftest.err; then
3127 ... rest of stderr output deleted ...
3128 10q' conftest.err >conftest.er1
3129 cat conftest.er1 >&5
3131 rm -f conftest.er1 conftest.err
3132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3133 test $ac_status = 0; }
3136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3137 /* end confdefs.h. */
3147 ac_clean_files_save=$ac_clean_files
3148 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3149 # Try to create an executable without -o first, disregard a.out.
3150 # It will help us diagnose broken compilers, and finding out an intuition
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3153 $as_echo_n "checking whether the C compiler works... " >&6; }
3154 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3156 # The possible output files:
3157 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3160 for ac_file in $ac_files
3163 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3164 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3169 if { { ac_try="$ac_link_default"
3171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3172 *) ac_try_echo
=$ac_try;;
3174 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3175 $as_echo "$ac_try_echo"; } >&5
3176 (eval "$ac_link_default") 2>&5
3178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3179 test $ac_status = 0; }; then :
3180 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3181 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3182 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3183 # so that the user can short-circuit this test for compilers unknown to
3185 for ac_file
in $ac_files ''
3187 test -f "$ac_file" ||
continue
3189 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3192 # We found the default executable, but exeext='' is most
3196 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3198 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3200 # We set ac_cv_exeext here because the later test for it is not
3201 # safe: cross compilers may not add the suffix if given an `-o'
3202 # argument, so we may need to know it at that point already.
3203 # Even if this section looks crufty: it has the advantage of
3210 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3215 if test -z "$ac_file"; then :
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3217 $as_echo "no" >&6; }
3218 $as_echo "$as_me: failed program was:" >&5
3219 sed 's/^/| /' conftest.
$ac_ext >&5
3221 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3223 as_fn_error
77 "C compiler cannot create executables
3224 See \`config.log' for more details" "$LINENO" 5 ; }
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3227 $as_echo "yes" >&6; }
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3230 $as_echo_n "checking for C compiler default output file name... " >&6; }
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3232 $as_echo "$ac_file" >&6; }
3233 ac_exeext
=$ac_cv_exeext
3235 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3236 ac_clean_files
=$ac_clean_files_save
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3238 $as_echo_n "checking for suffix of executables... " >&6; }
3239 if { { ac_try
="$ac_link"
3241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3242 *) ac_try_echo=$ac_try;;
3244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3245 $as_echo "$ac_try_echo"; } >&5
3246 (eval "$ac_link") 2>&5
3248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3249 test $ac_status = 0; }; then :
3250 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3251 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3252 # work properly (i.e., refer to `conftest.exe'), while it won't with
3254 for ac_file
in conftest.exe conftest conftest.
*; do
3255 test -f "$ac_file" ||
continue
3257 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3258 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3266 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3267 See \`config.log' for more details" "$LINENO" 5 ; }
3269 rm -f conftest conftest
$ac_cv_exeext
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3271 $as_echo "$ac_cv_exeext" >&6; }
3273 rm -f conftest.
$ac_ext
3274 EXEEXT
=$ac_cv_exeext
3276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3282 FILE *f = fopen ("conftest.out", "w");
3283 return ferror (f) || fclose (f) != 0;
3289 ac_clean_files
="$ac_clean_files conftest.out"
3290 # Check that the compiler produces executables we can run. If not, either
3291 # the compiler is broken, or we cross compile.
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3293 $as_echo_n "checking whether we are cross compiling... " >&6; }
3294 if test "$cross_compiling" != yes; then
3295 { { ac_try
="$ac_link"
3297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3298 *) ac_try_echo=$ac_try;;
3300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3301 $as_echo "$ac_try_echo"; } >&5
3302 (eval "$ac_link") 2>&5
3304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3305 test $ac_status = 0; }
3306 if { ac_try='./conftest$ac_cv_exeext'
3307 { { case "(($ac_try" in
3308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3309 *) ac_try_echo
=$ac_try;;
3311 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3312 $as_echo "$ac_try_echo"; } >&5
3313 (eval "$ac_try") 2>&5
3315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3316 test $ac_status = 0; }; }; then
3319 if test "$cross_compiling" = maybe
; then
3322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3324 as_fn_error $?
"cannot run C compiled programs.
3325 If you meant to cross compile, use \`--host'.
3326 See \`config.log' for more details" "$LINENO" 5 ; }
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3331 $as_echo "$cross_compiling" >&6; }
3333 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3334 ac_clean_files
=$ac_clean_files_save
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3336 $as_echo_n "checking for suffix of object files... " >&6; }
3337 if test "${ac_cv_objext+set}" = set; then :
3338 $as_echo_n "(cached) " >&6
3340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3341 /* end confdefs.h. */
3351 rm -f conftest.o conftest.obj
3352 if { { ac_try
="$ac_compile"
3354 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3355 *) ac_try_echo=$ac_try;;
3357 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3358 $as_echo "$ac_try_echo"; } >&5
3359 (eval "$ac_compile") 2>&5
3361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3362 test $ac_status = 0; }; then :
3363 for ac_file in conftest.o conftest.obj conftest.*; do
3364 test -f "$ac_file" || continue;
3366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3367 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3372 $as_echo "$as_me: failed program was:" >&5
3373 sed 's/^/| /' conftest.$ac_ext >&5
3375 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3377 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3378 See \
`config.log' for more details" "$LINENO" 5 ; }
3380 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3383 $as_echo "$ac_cv_objext" >&6; }
3384 OBJEXT=$ac_cv_objext
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3387 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3388 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3389 $as_echo_n "(cached) " >&6
3391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3392 /* end confdefs.h. */
3405 if ac_fn_c_try_compile "$LINENO"; then :
3410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3411 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3415 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3416 if test $ac_compiler_gnu = yes; then
3421 ac_test_CFLAGS=${CFLAGS+set}
3422 ac_save_CFLAGS=$CFLAGS
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3424 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3425 if test "${ac_cv_prog_cc_g+set}" = set; then :
3426 $as_echo_n "(cached) " >&6
3428 ac_save_c_werror_flag=$ac_c_werror_flag
3429 ac_c_werror_flag=yes
3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3443 if ac_fn_c_try_compile "$LINENO"; then :
3447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3448 /* end confdefs.h. */
3458 if ac_fn_c_try_compile "$LINENO"; then :
3461 ac_c_werror_flag=$ac_save_c_werror_flag
3463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3464 /* end confdefs.h. */
3474 if ac_fn_c_try_compile "$LINENO"; then :
3477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3482 ac_c_werror_flag=$ac_save_c_werror_flag
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3485 $as_echo "$ac_cv_prog_cc_g" >&6; }
3486 if test "$ac_test_CFLAGS" = set; then
3487 CFLAGS=$ac_save_CFLAGS
3488 elif test $ac_cv_prog_cc_g = yes; then
3489 if test "$GCC" = yes; then
3495 if test "$GCC" = yes; then
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3502 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3503 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3504 $as_echo_n "(cached) " >&6
3506 ac_cv_prog_cc_c89=no
3508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3509 /* end confdefs.h. */
3512 #include <sys/types.h>
3513 #include <sys/stat.h>
3514 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3515 struct buf { int x; };
3516 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3517 static char *e (p, i)
3523 static char *f (char * (*g) (char **, int), char **p, ...)
3528 s = g (p, va_arg (v,int));
3533 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3534 function prototypes and stuff, but not '\xHH' hex character constants.
3535 These don't provoke an error unfortunately, instead are silently treated
3536 as 'x'. The following induces an error, until -std is added to get
3537 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3538 array size at least. It's necessary to write '\x00'==0 to get something
3539 that's true only with -std. */
3540 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3542 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3543 inside strings and character constants. */
3545 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3547 int test (int i, double x);
3548 struct s1 {int (*f) (int a);};
3549 struct s2 {int (*f) (double a);};
3550 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3556 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3561 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3562 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3564 CC="$ac_save_CC $ac_arg"
3565 if ac_fn_c_try_compile "$LINENO"; then :
3566 ac_cv_prog_cc_c89=$ac_arg
3568 rm -f core conftest.err conftest.$ac_objext
3569 test "x$ac_cv_prog_cc_c89" != "xno" && break
3571 rm -f conftest.$ac_ext
3576 case "x$ac_cv_prog_cc_c89" in
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3579 $as_echo "none needed" >&6; } ;;
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3582 $as_echo "unsupported" >&6; } ;;
3584 CC="$CC $ac_cv_prog_cc_c89"
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3586 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3588 if test "x$ac_cv_prog_cc_c89" != xno; then :
3593 ac_cpp='$CPP $CPPFLAGS'
3594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3598 depcc="$CC" am_compiler_list=
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3601 $as_echo_n "checking dependency style of $depcc... " >&6; }
3602 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3603 $as_echo_n "(cached) " >&6
3605 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3606 # We make a subdir and do the tests there. Otherwise we can end up
3607 # making bogus files that we don't know about and never remove. For
3608 # instance it was reported that on HP-UX the gcc test will end up
3609 # making a dummy file named `D
' -- because `-MD' means
`put the output
3612 # Copy depcomp to subdir because otherwise we won't find it if we're
3613 # using a relative directory.
3614 cp "$am_depcomp" conftest.dir
3616 # We will build objects and dependencies in a subdirectory because
3617 # it helps to detect inapplicable dependency modes. For instance
3618 # both Tru64's cc and ICC support -MD to output dependencies as a
3619 # side effect of compilation, but ICC will put the dependencies in
3620 # the current directory while Tru64 will put them in the object
3624 am_cv_CC_dependencies_compiler_type=none
3625 if test "$am_compiler_list" = ""; then
3626 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3629 case " $depcc " in #(
3630 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3633 for depmode in $am_compiler_list; do
3634 # Setup a source with many dependencies, because some compilers
3635 # like to wrap large dependency lists on column 80 (with \), and
3636 # we should not choose a depcomp mode which is confused by this.
3638 # We need to recreate these files for each test, as the compiler may
3639 # overwrite some of them when testing with obscure command lines.
3640 # This happens at least with the AIX C compiler.
3642 for i in 1 2 3 4 5 6; do
3643 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3644 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3645 # Solaris 8's
{/usr
,}/bin
/sh.
3646 touch sub
/conftst
$i.h
3648 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3650 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3651 # mode. It turns out that the SunPro C++ compiler does not properly
3652 # handle `-M -o', and we need to detect this. Also, some Intel
3653 # versions had trouble with output in subdirs
3654 am__obj
=sub
/conftest.
${OBJEXT-o}
3655 am__minus_obj
="-o $am__obj"
3658 # This depmode causes a compiler race in universal mode.
3659 test "$am__universal" = false ||
continue
3662 # after this tag, mechanisms are not by side-effect, so they'll
3663 # only be used when explicitly requested
3664 if test "x$enable_dependency_tracking" = xyes
; then
3670 msvisualcpp | msvcmsys
)
3671 # This compiler won't grok `-c -o', but also, the minuso test has
3672 # not run yet. These depmodes are late enough in the game, and
3673 # so weak that their functioning should not be impacted.
3674 am__obj
=conftest.
${OBJEXT-o}
3679 if depmode
=$depmode \
3680 source=sub
/conftest.c object
=$am__obj \
3681 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3682 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3683 >/dev
/null
2>conftest.err
&&
3684 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3685 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3686 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3687 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3688 # icc doesn't choke on unknown options, it will just issue warnings
3689 # or remarks (even with -Werror). So we grep stderr for any message
3690 # that says an option was ignored or not supported.
3691 # When given -MP, icc 7.0 and 7.1 complain thusly:
3692 # icc: Command line warning: ignoring option '-M'; no argument required
3693 # The diagnosis changed in icc 8.0:
3694 # icc: Command line remark: option '-MP' not supported
3695 if (grep 'ignoring option' conftest.err ||
3696 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3697 am_cv_CC_dependencies_compiler_type
=$depmode
3706 am_cv_CC_dependencies_compiler_type
=none
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3711 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3712 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3715 test "x$enable_dependency_tracking" != xno \
3716 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3718 am__fastdepCC_FALSE
='#'
3720 am__fastdepCC_TRUE
='#'
3721 am__fastdepCC_FALSE
=
3725 if test "x$CC" != xcc
; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3727 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3730 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3732 set dummy
$CC; ac_cc
=`$as_echo "$2" |
3733 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3734 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
3735 $as_echo_n "(cached) " >&6
3737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3738 /* end confdefs.h. */
3748 # Make sure it works both with $CC and with simple cc.
3749 # We do the test twice because some compilers refuse to overwrite an
3750 # existing .o file with -o, though they will create one.
3751 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3753 if { { case "(($ac_try" in
3754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3755 *) ac_try_echo=$ac_try;;
3757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3758 $as_echo "$ac_try_echo"; } >&5
3759 (eval "$ac_try") 2>&5
3761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3762 test $ac_status = 0; } &&
3763 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3764 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3765 *) ac_try_echo
=$ac_try;;
3767 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3768 $as_echo "$ac_try_echo"; } >&5
3769 (eval "$ac_try") 2>&5
3771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3772 test $ac_status = 0; };
3774 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
3775 if test "x$CC" != xcc
; then
3776 # Test first that cc exists at all.
3777 if { ac_try
='cc -c conftest.$ac_ext >&5'
3778 { { case "(($ac_try" in
3779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3780 *) ac_try_echo=$ac_try;;
3782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3783 $as_echo "$ac_try_echo"; } >&5
3784 (eval "$ac_try") 2>&5
3786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3787 test $ac_status = 0; }; }; then
3788 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3790 if { { case "(($ac_try" in
3791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3792 *) ac_try_echo
=$ac_try;;
3794 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3795 $as_echo "$ac_try_echo"; } >&5
3796 (eval "$ac_try") 2>&5
3798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3799 test $ac_status = 0; } &&
3800 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
3801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3802 *) ac_try_echo=$ac_try;;
3804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3805 $as_echo "$ac_try_echo"; } >&5
3806 (eval "$ac_try") 2>&5
3808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3809 test $ac_status = 0; };
3814 # cc exists but doesn't like -o.
3815 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3820 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3822 rm -f core conftest*
3825 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3827 $as_echo "yes" >&6; }
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3832 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3836 # FIXME: we rely on the cache variable name because
3837 # there is no other way.
3839 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3840 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3841 if test "$am_t" != yes; then
3842 # Losing compiler, so override with the script.
3843 # FIXME: It is wrong to rewrite CC.
3844 # But if we don't then we get into trouble of one sort or another.
3845 # A longer-term fix would be to have automake use am__CC in this case,
3846 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3847 CC="$am_aux_dir/compile $CC"
3852 ac_cpp='$CPP $CPPFLAGS'
3853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3860 ac_cpp='$CPP $CPPFLAGS'
3861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3865 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3866 # On Suns, sometimes $CPP names a directory.
3867 if test -n "$CPP" && test -d "$CPP"; then
3870 if test -z "$CPP"; then
3871 if test "${ac_cv_prog_CPP+set}" = set; then :
3872 $as_echo_n "(cached) " >&6
3874 # Double quotes because CPP needs to be expanded
3875 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3878 for ac_c_preproc_warn_flag in '' yes
3880 # Use a header file that comes with gcc, so configuring glibc
3881 # with a fresh cross-compiler works.
3882 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3883 # <limits.h> exists even on freestanding compilers.
3884 # On the NeXT, cc -E runs the code through the compiler's parser,
3885 # not just through cpp. "Syntax error" is here to catch this case.
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3889 # include <limits.h>
3891 # include <assert.h>
3895 if ac_fn_c_try_cpp "$LINENO"; then :
3898 # Broken: fails on valid input.
3901 rm -f conftest.err conftest.i conftest.$ac_ext
3903 # OK, works on sane cases. Now check whether nonexistent headers
3904 # can be detected and how.
3905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3907 #include <ac_nonexistent.h>
3909 if ac_fn_c_try_cpp "$LINENO"; then :
3910 # Broken: success on invalid input.
3913 # Passes both tests.
3917 rm -f conftest.err conftest.i conftest.$ac_ext
3920 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3921 rm -f conftest.i conftest.err conftest.
$ac_ext
3922 if $ac_preproc_ok; then :
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3935 $as_echo "$CPP" >&6; }
3937 for ac_c_preproc_warn_flag
in '' yes
3939 # Use a header file that comes with gcc, so configuring glibc
3940 # with a fresh cross-compiler works.
3941 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3942 # <limits.h> exists even on freestanding compilers.
3943 # On the NeXT, cc -E runs the code through the compiler's parser,
3944 # not just through cpp. "Syntax error" is here to catch this case.
3945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3946 /* end confdefs.h. */
3948 # include <limits.h>
3950 # include <assert.h>
3954 if ac_fn_c_try_cpp
"$LINENO"; then :
3957 # Broken: fails on valid input.
3960 rm -f conftest.err conftest.i conftest.
$ac_ext
3962 # OK, works on sane cases. Now check whether nonexistent headers
3963 # can be detected and how.
3964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3966 #include <ac_nonexistent.h>
3968 if ac_fn_c_try_cpp
"$LINENO"; then :
3969 # Broken: success on invalid input.
3972 # Passes both tests.
3976 rm -f conftest.err conftest.i conftest.
$ac_ext
3979 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3980 rm -f conftest.i conftest.err conftest.
$ac_ext
3981 if $ac_preproc_ok; then :
3984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3986 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3987 See \`config.log' for more details" "$LINENO" 5 ; }
3991 ac_cpp
='$CPP $CPPFLAGS'
3992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3998 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3999 if test "${ac_cv_path_GREP+set}" = set; then :
4000 $as_echo_n "(cached) " >&6
4002 if test -z "$GREP"; then
4003 ac_path_GREP_found
=false
4004 # Loop through the user's path and test for each of PROGNAME-LIST
4005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4006 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4009 test -z "$as_dir" && as_dir
=.
4010 for ac_prog
in grep ggrep
; do
4011 for ac_exec_ext
in '' $ac_executable_extensions; do
4012 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4013 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4014 # Check for GNU ac_path_GREP and select it if it is found.
4015 # Check for GNU $ac_path_GREP
4016 case `"$ac_path_GREP" --version 2>&1` in
4018 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4021 $as_echo_n 0123456789 >"conftest.in"
4024 cat "conftest.in" "conftest.in" >"conftest.tmp"
4025 mv "conftest.tmp" "conftest.in"
4026 cp "conftest.in" "conftest.nl"
4027 $as_echo 'GREP' >> "conftest.nl"
4028 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4029 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4030 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4031 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4032 # Best one so far, save it but keep looking for a better one
4033 ac_cv_path_GREP
="$ac_path_GREP"
4034 ac_path_GREP_max
=$ac_count
4036 # 10*(2^10) chars as input seems more than enough
4037 test $ac_count -gt 10 && break
4039 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4042 $ac_path_GREP_found && break 3
4047 if test -z "$ac_cv_path_GREP"; then
4048 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4051 ac_cv_path_GREP
=$GREP
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4056 $as_echo "$ac_cv_path_GREP" >&6; }
4057 GREP
="$ac_cv_path_GREP"
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4061 $as_echo_n "checking for egrep... " >&6; }
4062 if test "${ac_cv_path_EGREP+set}" = set; then :
4063 $as_echo_n "(cached) " >&6
4065 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4066 then ac_cv_path_EGREP
="$GREP -E"
4068 if test -z "$EGREP"; then
4069 ac_path_EGREP_found
=false
4070 # Loop through the user's path and test for each of PROGNAME-LIST
4071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4072 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4075 test -z "$as_dir" && as_dir
=.
4076 for ac_prog
in egrep; do
4077 for ac_exec_ext
in '' $ac_executable_extensions; do
4078 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4079 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4080 # Check for GNU ac_path_EGREP and select it if it is found.
4081 # Check for GNU $ac_path_EGREP
4082 case `"$ac_path_EGREP" --version 2>&1` in
4084 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4087 $as_echo_n 0123456789 >"conftest.in"
4090 cat "conftest.in" "conftest.in" >"conftest.tmp"
4091 mv "conftest.tmp" "conftest.in"
4092 cp "conftest.in" "conftest.nl"
4093 $as_echo 'EGREP' >> "conftest.nl"
4094 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4095 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4096 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4097 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4098 # Best one so far, save it but keep looking for a better one
4099 ac_cv_path_EGREP
="$ac_path_EGREP"
4100 ac_path_EGREP_max
=$ac_count
4102 # 10*(2^10) chars as input seems more than enough
4103 test $ac_count -gt 10 && break
4105 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4108 $ac_path_EGREP_found && break 3
4113 if test -z "$ac_cv_path_EGREP"; then
4114 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4117 ac_cv_path_EGREP
=$EGREP
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4123 $as_echo "$ac_cv_path_EGREP" >&6; }
4124 EGREP
="$ac_cv_path_EGREP"
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4128 $as_echo_n "checking for ANSI C header files... " >&6; }
4129 if test "${ac_cv_header_stdc+set}" = set; then :
4130 $as_echo_n "(cached) " >&6
4132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4133 /* end confdefs.h. */
4147 if ac_fn_c_try_compile
"$LINENO"; then :
4148 ac_cv_header_stdc
=yes
4150 ac_cv_header_stdc
=no
4152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4154 if test $ac_cv_header_stdc = yes; then
4155 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4162 $EGREP "memchr" >/dev
/null
2>&1; then :
4165 ac_cv_header_stdc
=no
4171 if test $ac_cv_header_stdc = yes; then
4172 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4179 $EGREP "free" >/dev
/null
2>&1; then :
4182 ac_cv_header_stdc
=no
4188 if test $ac_cv_header_stdc = yes; then
4189 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4190 if test "$cross_compiling" = yes; then :
4193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4197 #if ((' ' & 0x0FF) == 0x020)
4198 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4199 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4201 # define ISLOWER(c) \
4202 (('a' <= (c) && (c) <= 'i') \
4203 || ('j' <= (c) && (c) <= 'r') \
4204 || ('s' <= (c) && (c) <= 'z'))
4205 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4208 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4213 for (i = 0; i < 256; i++)
4214 if (XOR (islower (i), ISLOWER (i))
4215 || toupper (i) != TOUPPER (i))
4220 if ac_fn_c_try_run
"$LINENO"; then :
4223 ac_cv_header_stdc
=no
4225 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4226 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4232 $as_echo "$ac_cv_header_stdc" >&6; }
4233 if test $ac_cv_header_stdc = yes; then
4235 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
4240 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4241 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
4242 $as_echo_n "(cached) " >&6
4244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4246 #include <sys/types.h>
4247 #include <sys/wait.h>
4249 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4252 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4260 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4265 if ac_fn_c_try_compile
"$LINENO"; then :
4266 ac_cv_header_sys_wait_h
=yes
4268 ac_cv_header_sys_wait_h
=no
4270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
4273 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4274 if test $ac_cv_header_sys_wait_h = yes; then
4276 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
4280 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4281 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4282 inttypes.h stdint.h unistd.h
4284 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4285 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4287 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4288 cat >>confdefs.h
<<_ACEOF
4289 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4297 for ac_header
in stdlib.h unistd.h errno.h assert.h
4299 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4300 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4301 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4302 cat >>confdefs.h
<<_ACEOF
4303 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4310 for ac_header
in string.h
strings.h
4312 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4313 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4314 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4315 cat >>confdefs.h
<<_ACEOF
4316 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4325 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4326 if test "${ac_cv_c_const+set}" = set; then :
4327 $as_echo_n "(cached) " >&6
4329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4330 /* end confdefs.h. */
4335 /* FIXME: Include the comments suggested by Paul. */
4337 /* Ultrix mips cc rejects this. */
4338 typedef int charset[2];
4340 /* SunOS 4.1.1 cc rejects this. */
4341 char const *const *pcpcc;
4343 /* NEC SVR4.0.2 mips cc rejects this. */
4344 struct point {int x, y;};
4345 static struct point const zero = {0,0};
4346 /* AIX XL C 1.02.0.0 rejects this.
4347 It does not let you subtract one const X* pointer from another in
4348 an arm of an if-expression whose if-part is not a constant
4350 const char *g = "string";
4351 pcpcc = &g + (g ? g-g : 0);
4352 /* HPUX 7.0 cc rejects these. */
4354 ppc = (char**) pcpcc;
4355 pcpcc = (char const *const *) ppc;
4356 { /* SCO 3.2v4 cc rejects this. */
4358 char const *s = 0 ? (char *) 0 : (char const *) 0;
4363 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4365 const int *foo = &x[0];
4368 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4369 typedef const int *iptr;
4373 { /* AIX XL C 1.02.0.0 rejects this saying
4374 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4375 struct s { int j; const int *ap[3]; };
4376 struct s *b; b->j = 5;
4378 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4382 return !cs[0] && !zero.x;
4389 if ac_fn_c_try_compile
"$LINENO"; then :
4394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4397 $as_echo "$ac_cv_c_const" >&6; }
4398 if test $ac_cv_c_const = no
; then
4400 $as_echo "#define const /**/" >>confdefs.h
4404 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
4405 if test "x$ac_cv_type_pid_t" = x
""yes; then :
4409 cat >>confdefs.h
<<_ACEOF
4415 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4416 if test "x$ac_cv_type_size_t" = x
""yes; then :
4420 cat >>confdefs.h
<<_ACEOF
4421 #define size_t unsigned int
4427 CFLAGS
="${CFLAGS} -Wall"
4429 # Make sure we can run config.sub.
4430 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4431 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4434 $as_echo_n "checking build system type... " >&6; }
4435 if test "${ac_cv_build+set}" = set; then :
4436 $as_echo_n "(cached) " >&6
4438 ac_build_alias
=$build_alias
4439 test "x$ac_build_alias" = x
&&
4440 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4441 test "x$ac_build_alias" = x
&&
4442 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4443 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4444 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4448 $as_echo "$ac_cv_build" >&6; }
4449 case $ac_cv_build in
4451 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5 ;;
4454 ac_save_IFS
=$IFS; IFS
='-'
4460 # Remember, the first character of IFS is used to create $*,
4461 # except with old shells:
4464 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4468 $as_echo_n "checking host system type... " >&6; }
4469 if test "${ac_cv_host+set}" = set; then :
4470 $as_echo_n "(cached) " >&6
4472 if test "x$host_alias" = x
; then
4473 ac_cv_host
=$ac_cv_build
4475 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4476 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4481 $as_echo "$ac_cv_host" >&6; }
4484 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5 ;;
4487 ac_save_IFS
=$IFS; IFS
='-'
4493 # Remember, the first character of IFS is used to create $*,
4494 # except with old shells:
4497 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4504 ac_cpp
='$CPP $CPPFLAGS'
4505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4511 # We used to check for pthread.h first, but this fails if pthread.h
4512 # requires special compiler flags (e.g. on True64 or Sequent).
4513 # It gets checked for in the link test anyway.
4515 # First of all, check if the user has set any of the PTHREAD_LIBS,
4516 # etcetera environment variables, and if threads linking works using
4518 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
4519 save_CFLAGS
="$CFLAGS"
4520 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
4522 LIBS
="$PTHREAD_LIBS $LIBS"
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
4524 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
4525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4528 /* Override any GCC internal prototype to avoid an error.
4529 Use char because int might match the return type of a GCC
4530 builtin and then its argument prototype would still apply. */
4534 char pthread_join ();
4538 return pthread_join ();
4543 if ac_fn_c_try_link
"$LINENO"; then :
4546 rm -f core conftest.err conftest.
$ac_objext \
4547 conftest
$ac_exeext conftest.
$ac_ext
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
4549 $as_echo "$acx_pthread_ok" >&6; }
4550 if test x
"$acx_pthread_ok" = xno
; then
4555 CFLAGS
="$save_CFLAGS"
4558 # We must check for the threads library under a number of different
4559 # names; the ordering is very important because some systems
4560 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
4561 # libraries is broken (non-POSIX).
4563 # Create a list of thread flags to try. Items starting with a "-" are
4564 # C compiler flags, and other items are library names, except for "none"
4565 # which indicates that we try without any flags at all.
4567 acx_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt"
4569 # The ordering *is* (sometimes) important. Some notes on the
4570 # individual items follow:
4572 # pthreads: AIX (must check this before -lpthread)
4573 # none: in case threads are in libc; should be tried before -Kthread and
4574 # other compiler flags to prevent continual compiler warnings
4575 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
4576 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
4577 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
4578 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
4579 # -pthreads: Solaris/gcc
4580 # -mthreads: Mingw32/gcc, Lynx/gcc
4581 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
4582 # doesn't hurt to check since this sometimes defines pthreads too;
4583 # also defines -D_REENTRANT)
4584 # pthread: Linux, etcetera
4585 # --thread-safe: KAI C++
4587 case "${host_cpu}-${host_os}" in
4590 # On Solaris (at least, for some versions), libc contains stubbed
4591 # (non-functional) versions of the pthreads routines, so link-based
4592 # tests will erroneously succeed. (We need to link with -pthread or
4593 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
4594 # a function called by this macro, so we could check for that, but
4595 # who knows whether they'll stub that too in a future libc.) So,
4596 # we'll just look for -pthreads and -lpthread first:
4598 acx_pthread_flags
="-pthread -pthreads pthread -mt $acx_pthread_flags"
4602 if test x
"$acx_pthread_ok" = xno
; then
4603 for flag
in $acx_pthread_flags; do
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
4608 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
4613 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
4614 PTHREAD_CFLAGS
="$flag"
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
4619 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
4620 PTHREAD_LIBS
="-l$flag"
4625 save_CFLAGS
="$CFLAGS"
4626 LIBS
="$PTHREAD_LIBS $LIBS"
4627 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
4629 # Check for various functions. We must include pthread.h,
4630 # since some functions may be macros. (On the Sequent, we
4631 # need a special flag -Kthread to make this header compile.)
4632 # We check for pthread_join because it is in -lpthread on IRIX
4633 # while pthread_create is in libc. We check for pthread_attr_init
4634 # due to DEC craziness with -lpthreads. We check for
4635 # pthread_cleanup_push because it is one of the few pthread
4636 # functions on Solaris that doesn't have a non-functional libc stub.
4637 # We try pthread_create on general principles.
4638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4639 /* end confdefs.h. */
4640 #include <pthread.h>
4644 pthread_t th; pthread_join(th, 0);
4645 pthread_attr_init(0); pthread_cleanup_push(0, 0);
4646 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
4651 if ac_fn_c_try_link
"$LINENO"; then :
4654 rm -f core conftest.err conftest.
$ac_objext \
4655 conftest
$ac_exeext conftest.
$ac_ext
4658 CFLAGS
="$save_CFLAGS"
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
4661 $as_echo "$acx_pthread_ok" >&6; }
4662 if test "x$acx_pthread_ok" = xyes
; then
4671 # Various other checks:
4672 if test "x$acx_pthread_ok" = xyes
; then
4674 LIBS
="$PTHREAD_LIBS $LIBS"
4675 save_CFLAGS
="$CFLAGS"
4676 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
4678 # Detect AIX lossage: threads are created detached by default
4679 # and the JOINABLE attribute has a nonstandard name (UNDETACHED).
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
4681 $as_echo_n "checking for joinable pthread attribute... " >&6; }
4682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4683 /* end confdefs.h. */
4684 #include <pthread.h>
4688 int attr=PTHREAD_CREATE_JOINABLE;
4693 if ac_fn_c_try_link
"$LINENO"; then :
4694 ok
=PTHREAD_CREATE_JOINABLE
4698 rm -f core conftest.err conftest.
$ac_objext \
4699 conftest
$ac_exeext conftest.
$ac_ext
4700 if test x
"$ok" = xunknown
; then
4701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4702 /* end confdefs.h. */
4703 #include <pthread.h>
4707 int attr=PTHREAD_CREATE_UNDETACHED;
4712 if ac_fn_c_try_link
"$LINENO"; then :
4713 ok
=PTHREAD_CREATE_UNDETACHED
4717 rm -f core conftest.err conftest.
$ac_objext \
4718 conftest
$ac_exeext conftest.
$ac_ext
4720 if test x
"$ok" != xPTHREAD_CREATE_JOINABLE
; then
4722 $as_echo "#define PTHREAD_CREATE_JOINABLE \$ok" >>confdefs.h
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ok}" >&5
4726 $as_echo "${ok}" >&6; }
4727 if test x
"$ok" = xunknown
; then
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: we do not know how to create joinable pthreads" >&5
4729 $as_echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;}
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
4733 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
4735 case "${host_cpu}-${host_os}" in
4736 *-aix* |
*-freebsd*) flag
="-D_THREAD_SAFE";;
4737 *solaris
* |
*-osf* |
*-hpux*) flag
="-D_REENTRANT";;
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
4740 $as_echo "${flag}" >&6; }
4741 if test "x$flag" != xno
; then
4742 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
4746 CFLAGS
="$save_CFLAGS"
4748 # More AIX lossage: must compile with cc_r
4749 # Extract the first word of "cc_r", so it can be a program name with args.
4750 set dummy cc_r
; ac_word
=$2
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4752 $as_echo_n "checking for $ac_word... " >&6; }
4753 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
4754 $as_echo_n "(cached) " >&6
4756 if test -n "$PTHREAD_CC"; then
4757 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
4759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4763 test -z "$as_dir" && as_dir
=.
4764 for ac_exec_ext
in '' $ac_executable_extensions; do
4765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4766 ac_cv_prog_PTHREAD_CC
="cc_r"
4767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4774 test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC
="${CC}"
4777 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
4778 if test -n "$PTHREAD_CC"; then
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
4780 $as_echo "$PTHREAD_CC" >&6; }
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783 $as_echo "no" >&6; }
4795 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
4796 if test x
"$acx_pthread_ok" = xyes
; then
4797 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS" LDFLAGS
="$PTHREAD_LIBS $LDFLAGS" CC
="$PTHREAD_CC"
4801 as_fn_error $?
"POSIX thread support required" "$LINENO" 5
4804 ac_cpp
='$CPP $CPPFLAGS'
4805 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4806 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4807 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4812 $as_echo_n "checking for X... " >&6; }
4815 # Check whether --with-x was given.
4816 if test "${with_x+set}" = set; then :
4820 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4821 if test "x$with_x" = xno
; then
4822 # The user explicitly disabled X.
4825 case $x_includes,$x_libraries in #(
4826 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5 ;; #(
4827 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
4828 $as_echo_n "(cached) " >&6
4830 # One or both of the vars are not set, and there is no cached value.
4831 ac_x_includes
=no ac_x_libraries
=no
4832 rm -f -r conftest.dir
4833 if mkdir conftest.dir
; then
4835 cat >Imakefile
<<'_ACEOF'
4837 @echo incroot='${INCROOT}'
4839 @echo usrlibdir='${USRLIBDIR}'
4841 @echo libdir='${LIBDIR}'
4843 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
4844 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4845 for ac_var
in incroot usrlibdir libdir
; do
4846 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4848 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4849 for ac_extension
in a so sl dylib la dll
; do
4850 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4851 test -f "$ac_im_libdir/libX11.$ac_extension"; then
4852 ac_im_usrlibdir
=$ac_im_libdir; break
4855 # Screen out bogus values from the imake configuration. They are
4856 # bogus both because they are the default anyway, and because
4857 # using them would break gcc on systems where it needs fixed includes.
4858 case $ac_im_incroot in
4859 /usr
/include
) ac_x_includes
= ;;
4860 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
4862 case $ac_im_usrlibdir in
4863 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
4864 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
4868 rm -f -r conftest.dir
4871 # Standard set of common directories for X headers.
4872 # Check X11 before X11Rn because it is often a symlink to the current release.
4886 /usr/local/X11/include
4887 /usr/local/X11R7/include
4888 /usr/local/X11R6/include
4889 /usr/local/X11R5/include
4890 /usr/local/X11R4/include
4892 /usr/local/include/X11
4893 /usr/local/include/X11R7
4894 /usr/local/include/X11R6
4895 /usr/local/include/X11R5
4896 /usr/local/include/X11R4
4900 /usr/XFree86/include/X11
4904 /usr/unsupported/include
4906 /usr/local/x11r5/include
4907 /usr/lpp/Xamples/include
4909 /usr/openwin/include
4910 /usr/openwin/share/include'
4912 if test "$ac_x_includes" = no
; then
4913 # Guess where to find include files, by looking for Xlib.h.
4914 # First, try using that file with no special directory specified.
4915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4916 /* end confdefs.h. */
4917 #include <X11/Xlib.h>
4919 if ac_fn_c_try_cpp
"$LINENO"; then :
4920 # We can compile using X headers with no special include directory.
4923 for ac_dir
in $ac_x_header_dirs; do
4924 if test -r "$ac_dir/X11/Xlib.h"; then
4925 ac_x_includes
=$ac_dir
4930 rm -f conftest.err conftest.i conftest.
$ac_ext
4931 fi # $ac_x_includes = no
4933 if test "$ac_x_libraries" = no
; then
4934 # Check for the libraries.
4935 # See if we find them without any special options.
4936 # Don't add to $LIBS permanently.
4939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4940 /* end confdefs.h. */
4941 #include <X11/Xlib.h>
4950 if ac_fn_c_try_link
"$LINENO"; then :
4952 # We can link X programs with no special library path.
4956 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4958 # Don't even attempt the hair of trying to link an X program!
4959 for ac_extension
in a so sl dylib la dll
; do
4960 if test -r "$ac_dir/libX11.$ac_extension"; then
4961 ac_x_libraries
=$ac_dir
4967 rm -f core conftest.err conftest.
$ac_objext \
4968 conftest
$ac_exeext conftest.
$ac_ext
4969 fi # $ac_x_libraries = no
4971 case $ac_x_includes,$ac_x_libraries in #(
4973 # Didn't find X, or a directory has "'" in its name.
4974 ac_cv_have_x
="have_x=no";; #(
4976 # Record where we found X for the cache.
4977 ac_cv_have_x
="have_x=yes\
4978 ac_x_includes='$ac_x_includes'\
4979 ac_x_libraries='$ac_x_libraries'"
4985 eval "$ac_cv_have_x"
4988 if test "$have_x" != yes; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4990 $as_echo "$have_x" >&6; }
4993 # If each of the values was on the command line, it overrides each guess.
4994 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
4995 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
4996 # Update the cache value to reflect the command line values.
4997 ac_cv_have_x
="have_x=yes\
4998 ac_x_includes='$x_includes'\
4999 ac_x_libraries='$x_libraries'"
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
5001 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
5004 if test "$no_x" = yes; then
5005 # Not all programs may use this symbol, but it does not hurt to define it.
5007 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
5009 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
5011 if test -n "$x_includes"; then
5012 X_CFLAGS
="$X_CFLAGS -I$x_includes"
5015 # It would also be nice to do this for all -L options, not just this one.
5016 if test -n "$x_libraries"; then
5017 X_LIBS
="$X_LIBS -L$x_libraries"
5018 # For Solaris; some versions of Sun CC require a space after -R and
5019 # others require no space. Words are not sufficient . . . .
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
5021 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
5022 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
5023 ac_xsave_c_werror_flag
=$ac_c_werror_flag
5024 ac_c_werror_flag
=yes
5025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5026 /* end confdefs.h. */
5036 if ac_fn_c_try_link
"$LINENO"; then :
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 $as_echo "no" >&6; }
5039 X_LIBS
="$X_LIBS -R$x_libraries"
5041 LIBS
="$ac_xsave_LIBS -R $x_libraries"
5042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5043 /* end confdefs.h. */
5053 if ac_fn_c_try_link
"$LINENO"; then :
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5055 $as_echo "yes" >&6; }
5056 X_LIBS
="$X_LIBS -R $x_libraries"
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
5059 $as_echo "neither works" >&6; }
5061 rm -f core conftest.err conftest.
$ac_objext \
5062 conftest
$ac_exeext conftest.
$ac_ext
5064 rm -f core conftest.err conftest.
$ac_objext \
5065 conftest
$ac_exeext conftest.
$ac_ext
5066 ac_c_werror_flag
=$ac_xsave_c_werror_flag
5070 # Check for system-dependent libraries X programs must link with.
5071 # Do this before checking for the system-independent R6 libraries
5072 # (-lICE), since we may need -lsocket or whatever for X linking.
5074 if test "$ISC" = yes; then
5075 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
5077 # Martyn Johnson says this is needed for Ultrix, if the X
5078 # libraries were built with DECnet support. And Karl Berry says
5079 # the Alpha needs dnet_stub (dnet does not exist).
5080 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
5081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5082 /* end confdefs.h. */
5084 /* Override any GCC internal prototype to avoid an error.
5085 Use char because int might match the return type of a GCC
5086 builtin and then its argument prototype would still apply. */
5090 char XOpenDisplay ();
5094 return XOpenDisplay ();
5099 if ac_fn_c_try_link
"$LINENO"; then :
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
5103 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5104 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
5105 $as_echo_n "(cached) " >&6
5107 ac_check_lib_save_LIBS
=$LIBS
5109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5110 /* end confdefs.h. */
5112 /* Override any GCC internal prototype to avoid an error.
5113 Use char because int might match the return type of a GCC
5114 builtin and then its argument prototype would still apply. */
5122 return dnet_ntoa ();
5127 if ac_fn_c_try_link
"$LINENO"; then :
5128 ac_cv_lib_dnet_dnet_ntoa
=yes
5130 ac_cv_lib_dnet_dnet_ntoa
=no
5132 rm -f core conftest.err conftest.
$ac_objext \
5133 conftest
$ac_exeext conftest.
$ac_ext
5134 LIBS
=$ac_check_lib_save_LIBS
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5137 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5138 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x
""yes; then :
5139 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
5142 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
5144 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5145 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
5146 $as_echo_n "(cached) " >&6
5148 ac_check_lib_save_LIBS
=$LIBS
5149 LIBS
="-ldnet_stub $LIBS"
5150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5151 /* end confdefs.h. */
5153 /* Override any GCC internal prototype to avoid an error.
5154 Use char because int might match the return type of a GCC
5155 builtin and then its argument prototype would still apply. */
5163 return dnet_ntoa ();
5168 if ac_fn_c_try_link
"$LINENO"; then :
5169 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
5171 ac_cv_lib_dnet_stub_dnet_ntoa
=no
5173 rm -f core conftest.err conftest.
$ac_objext \
5174 conftest
$ac_exeext conftest.
$ac_ext
5175 LIBS
=$ac_check_lib_save_LIBS
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5178 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5179 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x
""yes; then :
5180 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
5185 rm -f core conftest.err conftest.
$ac_objext \
5186 conftest
$ac_exeext conftest.
$ac_ext
5187 LIBS
="$ac_xsave_LIBS"
5189 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
5190 # to get the SysV transport functions.
5191 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
5193 # The nsl library prevents programs from opening the X display
5194 # on Irix 5.2, according to T.E. Dickey.
5195 # The functions gethostbyname, getservbyname, and inet_addr are
5196 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5197 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5198 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
5202 if test $ac_cv_func_gethostbyname = no
; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5204 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5205 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
5206 $as_echo_n "(cached) " >&6
5208 ac_check_lib_save_LIBS
=$LIBS
5210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5211 /* end confdefs.h. */
5213 /* Override any GCC internal prototype to avoid an error.
5214 Use char because int might match the return type of a GCC
5215 builtin and then its argument prototype would still apply. */
5219 char gethostbyname ();
5223 return gethostbyname ();
5228 if ac_fn_c_try_link
"$LINENO"; then :
5229 ac_cv_lib_nsl_gethostbyname
=yes
5231 ac_cv_lib_nsl_gethostbyname
=no
5233 rm -f core conftest.err conftest.
$ac_objext \
5234 conftest
$ac_exeext conftest.
$ac_ext
5235 LIBS
=$ac_check_lib_save_LIBS
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
5238 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5239 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
5240 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
5243 if test $ac_cv_lib_nsl_gethostbyname = no
; then
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
5245 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
5246 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
5247 $as_echo_n "(cached) " >&6
5249 ac_check_lib_save_LIBS
=$LIBS
5251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5252 /* end confdefs.h. */
5254 /* Override any GCC internal prototype to avoid an error.
5255 Use char because int might match the return type of a GCC
5256 builtin and then its argument prototype would still apply. */
5260 char gethostbyname ();
5264 return gethostbyname ();
5269 if ac_fn_c_try_link
"$LINENO"; then :
5270 ac_cv_lib_bsd_gethostbyname
=yes
5272 ac_cv_lib_bsd_gethostbyname
=no
5274 rm -f core conftest.err conftest.
$ac_objext \
5275 conftest
$ac_exeext conftest.
$ac_ext
5276 LIBS
=$ac_check_lib_save_LIBS
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
5279 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
5280 if test "x$ac_cv_lib_bsd_gethostbyname" = x
""yes; then :
5281 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
5287 # lieder@skyler.mavd.honeywell.com says without -lsocket,
5288 # socket/setsockopt and other routines are undefined under SCO ODT
5289 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
5290 # on later versions), says Simon Leinen: it contains gethostby*
5291 # variants that don't use the name server (or something). -lsocket
5292 # must be given before -lnsl if both are needed. We assume that
5293 # if connect needs -lnsl, so does gethostbyname.
5294 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
5295 if test "x$ac_cv_func_connect" = x
""yes; then :
5299 if test $ac_cv_func_connect = no
; then
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
5301 $as_echo_n "checking for connect in -lsocket... " >&6; }
5302 if test "${ac_cv_lib_socket_connect+set}" = set; then :
5303 $as_echo_n "(cached) " >&6
5305 ac_check_lib_save_LIBS
=$LIBS
5306 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
5307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5308 /* end confdefs.h. */
5310 /* Override any GCC internal prototype to avoid an error.
5311 Use char because int might match the return type of a GCC
5312 builtin and then its argument prototype would still apply. */
5325 if ac_fn_c_try_link
"$LINENO"; then :
5326 ac_cv_lib_socket_connect
=yes
5328 ac_cv_lib_socket_connect
=no
5330 rm -f core conftest.err conftest.
$ac_objext \
5331 conftest
$ac_exeext conftest.
$ac_ext
5332 LIBS
=$ac_check_lib_save_LIBS
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
5335 $as_echo "$ac_cv_lib_socket_connect" >&6; }
5336 if test "x$ac_cv_lib_socket_connect" = x
""yes; then :
5337 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
5342 # Guillermo Gomez says -lposix is necessary on A/UX.
5343 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
5344 if test "x$ac_cv_func_remove" = x
""yes; then :
5348 if test $ac_cv_func_remove = no
; then
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
5350 $as_echo_n "checking for remove in -lposix... " >&6; }
5351 if test "${ac_cv_lib_posix_remove+set}" = set; then :
5352 $as_echo_n "(cached) " >&6
5354 ac_check_lib_save_LIBS
=$LIBS
5355 LIBS
="-lposix $LIBS"
5356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5357 /* end confdefs.h. */
5359 /* Override any GCC internal prototype to avoid an error.
5360 Use char because int might match the return type of a GCC
5361 builtin and then its argument prototype would still apply. */
5374 if ac_fn_c_try_link
"$LINENO"; then :
5375 ac_cv_lib_posix_remove
=yes
5377 ac_cv_lib_posix_remove
=no
5379 rm -f core conftest.err conftest.
$ac_objext \
5380 conftest
$ac_exeext conftest.
$ac_ext
5381 LIBS
=$ac_check_lib_save_LIBS
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
5384 $as_echo "$ac_cv_lib_posix_remove" >&6; }
5385 if test "x$ac_cv_lib_posix_remove" = x
""yes; then :
5386 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
5391 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5392 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
5393 if test "x$ac_cv_func_shmat" = x
""yes; then :
5397 if test $ac_cv_func_shmat = no
; then
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
5399 $as_echo_n "checking for shmat in -lipc... " >&6; }
5400 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
5401 $as_echo_n "(cached) " >&6
5403 ac_check_lib_save_LIBS
=$LIBS
5405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5406 /* end confdefs.h. */
5408 /* Override any GCC internal prototype to avoid an error.
5409 Use char because int might match the return type of a GCC
5410 builtin and then its argument prototype would still apply. */
5423 if ac_fn_c_try_link
"$LINENO"; then :
5424 ac_cv_lib_ipc_shmat
=yes
5426 ac_cv_lib_ipc_shmat
=no
5428 rm -f core conftest.err conftest.
$ac_objext \
5429 conftest
$ac_exeext conftest.
$ac_ext
5430 LIBS
=$ac_check_lib_save_LIBS
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
5433 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
5434 if test "x$ac_cv_lib_ipc_shmat" = x
""yes; then :
5435 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
5441 # Check for libraries that X11R6 Xt/Xaw programs need.
5442 ac_save_LDFLAGS
=$LDFLAGS
5443 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
5444 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5445 # check for ICE first), but we must link in the order -lSM -lICE or
5446 # we get undefined symbols. So assume we have SM if we have ICE.
5447 # These have to be linked with before -lX11, unlike the other
5448 # libraries we check for below, so use a different variable.
5449 # John Interrante, Karl Berry
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
5451 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
5452 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
5453 $as_echo_n "(cached) " >&6
5455 ac_check_lib_save_LIBS
=$LIBS
5456 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
5457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5458 /* end confdefs.h. */
5460 /* Override any GCC internal prototype to avoid an error.
5461 Use char because int might match the return type of a GCC
5462 builtin and then its argument prototype would still apply. */
5466 char IceConnectionNumber ();
5470 return IceConnectionNumber ();
5475 if ac_fn_c_try_link
"$LINENO"; then :
5476 ac_cv_lib_ICE_IceConnectionNumber
=yes
5478 ac_cv_lib_ICE_IceConnectionNumber
=no
5480 rm -f core conftest.err conftest.
$ac_objext \
5481 conftest
$ac_exeext conftest.
$ac_ext
5482 LIBS
=$ac_check_lib_save_LIBS
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5485 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5486 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x
""yes; then :
5487 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5490 LDFLAGS
=$ac_save_LDFLAGS
5494 CFLAGS
="${CFLAGS} ${X_CFLAGS}"
5495 LIBS
="${LIBS} ${X_PRE_LIBS} ${X_LIBS} ${X_EXTRA_LIBS}"
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDisplay in -lX11" >&5
5498 $as_echo_n "checking for XOpenDisplay in -lX11... " >&6; }
5499 if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then :
5500 $as_echo_n "(cached) " >&6
5502 ac_check_lib_save_LIBS
=$LIBS
5503 LIBS
="-lX11 "${X_LIBS}" $LIBS"
5504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5505 /* end confdefs.h. */
5507 /* Override any GCC internal prototype to avoid an error.
5508 Use char because int might match the return type of a GCC
5509 builtin and then its argument prototype would still apply. */
5513 char XOpenDisplay ();
5517 return XOpenDisplay ();
5522 if ac_fn_c_try_link
"$LINENO"; then :
5523 ac_cv_lib_X11_XOpenDisplay
=yes
5525 ac_cv_lib_X11_XOpenDisplay
=no
5527 rm -f core conftest.err conftest.
$ac_objext \
5528 conftest
$ac_exeext conftest.
$ac_ext
5529 LIBS
=$ac_check_lib_save_LIBS
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenDisplay" >&5
5532 $as_echo "$ac_cv_lib_X11_XOpenDisplay" >&6; }
5533 if test "x$ac_cv_lib_X11_XOpenDisplay" = x
""yes; then :
5534 LIBS
="${LIBS} -lX11"
5536 echo "Can't find X11 library" ; exit 1
5540 for ac_header
in X11
/xpm.h
5542 ac_fn_c_check_header_mongrel
"$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default"
5543 if test "x$ac_cv_header_X11_xpm_h" = x
""yes; then :
5544 cat >>confdefs.h
<<_ACEOF
5545 #define HAVE_X11_XPM_H 1
5549 echo "Can't find header file for library Xpm" ; exit 1
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmCreatePixmapFromXpmImage in -lXpm" >&5
5555 $as_echo_n "checking for XpmCreatePixmapFromXpmImage in -lXpm... " >&6; }
5556 if test "${ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage+set}" = set; then :
5557 $as_echo_n "(cached) " >&6
5559 ac_check_lib_save_LIBS
=$LIBS
5560 LIBS
="-lXpm "${X_LIBS}" $LIBS"
5561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5562 /* end confdefs.h. */
5564 /* Override any GCC internal prototype to avoid an error.
5565 Use char because int might match the return type of a GCC
5566 builtin and then its argument prototype would still apply. */
5570 char XpmCreatePixmapFromXpmImage ();
5574 return XpmCreatePixmapFromXpmImage ();
5579 if ac_fn_c_try_link
"$LINENO"; then :
5580 ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage
=yes
5582 ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage
=no
5584 rm -f core conftest.err conftest.
$ac_objext \
5585 conftest
$ac_exeext conftest.
$ac_ext
5586 LIBS
=$ac_check_lib_save_LIBS
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage" >&5
5589 $as_echo "$ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage" >&6; }
5590 if test "x$ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage" = x
""yes; then :
5591 LIBS
="${LIBS} -lXpm"
5593 echo "Can't find Xpm library" ; exit 1
5597 for ac_header
in X11
/extensions
/shape.h
5599 ac_fn_c_check_header_mongrel
"$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$ac_includes_default"
5600 if test "x$ac_cv_header_X11_extensions_shape_h" = x
""yes; then :
5601 cat >>confdefs.h
<<_ACEOF
5602 #define HAVE_X11_EXTENSIONS_SHAPE_H 1
5606 echo "Can't find header file for library Xext" ; exit 1
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeCombineMask in -lXext" >&5
5612 $as_echo_n "checking for XShapeCombineMask in -lXext... " >&6; }
5613 if test "${ac_cv_lib_Xext_XShapeCombineMask+set}" = set; then :
5614 $as_echo_n "(cached) " >&6
5616 ac_check_lib_save_LIBS
=$LIBS
5617 LIBS
="-lXext "${X_LIBS}" $LIBS"
5618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5619 /* end confdefs.h. */
5621 /* Override any GCC internal prototype to avoid an error.
5622 Use char because int might match the return type of a GCC
5623 builtin and then its argument prototype would still apply. */
5627 char XShapeCombineMask ();
5631 return XShapeCombineMask ();
5636 if ac_fn_c_try_link
"$LINENO"; then :
5637 ac_cv_lib_Xext_XShapeCombineMask
=yes
5639 ac_cv_lib_Xext_XShapeCombineMask
=no
5641 rm -f core conftest.err conftest.
$ac_objext \
5642 conftest
$ac_exeext conftest.
$ac_ext
5643 LIBS
=$ac_check_lib_save_LIBS
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeCombineMask" >&5
5646 $as_echo "$ac_cv_lib_Xext_XShapeCombineMask" >&6; }
5647 if test "x$ac_cv_lib_Xext_XShapeCombineMask" = x
""yes; then :
5648 LIBS
="${LIBS} -lXext"
5650 echo "Can't find Xext library" ; exit 1
5654 # Check whether --enable-libsndfile was given.
5655 if test "${enable_libsndfile+set}" = set; then :
5656 enableval
=$enable_libsndfile; ac_cv_enable_libsndfile
=$enableval
5658 ac_cv_enable_libsndfile
=yes
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use libsndfile" >&5
5662 $as_echo_n "checking whether to use libsndfile... " >&6; }
5663 if test x
$ac_cv_enable_libsndfile = xyes
; then
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5665 $as_echo "yes" >&6; }
5672 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5673 if test -n "$ac_tool_prefix"; then
5674 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5675 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5677 $as_echo_n "checking for $ac_word... " >&6; }
5678 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
5679 $as_echo_n "(cached) " >&6
5683 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5690 test -z "$as_dir" && as_dir
=.
5691 for ac_exec_ext
in '' $ac_executable_extensions; do
5692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5693 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5704 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5705 if test -n "$PKG_CONFIG"; then
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5707 $as_echo "$PKG_CONFIG" >&6; }
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5710 $as_echo "no" >&6; }
5715 if test -z "$ac_cv_path_PKG_CONFIG"; then
5716 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5717 # Extract the first word of "pkg-config", so it can be a program name with args.
5718 set dummy pkg-config
; ac_word
=$2
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5720 $as_echo_n "checking for $ac_word... " >&6; }
5721 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
5722 $as_echo_n "(cached) " >&6
5724 case $ac_pt_PKG_CONFIG in
5726 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5733 test -z "$as_dir" && as_dir
=.
5734 for ac_exec_ext
in '' $ac_executable_extensions; do
5735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5736 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5747 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5748 if test -n "$ac_pt_PKG_CONFIG"; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5750 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 $as_echo "no" >&6; }
5756 if test "x$ac_pt_PKG_CONFIG" = x
; then
5759 case $cross_compiling:$ac_tool_warned in
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5763 ac_tool_warned
=yes ;;
5765 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5768 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5772 if test -n "$PKG_CONFIG"; then
5773 _pkg_min_version
=0.9.0
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5775 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5776 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5778 $as_echo "yes" >&6; }
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5781 $as_echo "no" >&6; }
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
5788 $as_echo_n "checking for SNDFILE... " >&6; }
5790 if test -n "$SNDFILE_CFLAGS"; then
5791 pkg_cv_SNDFILE_CFLAGS
="$SNDFILE_CFLAGS"
5792 elif test -n "$PKG_CONFIG"; then
5793 if test -n "$PKG_CONFIG" && \
5794 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.2\""; } >&5
5795 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.2") 2>&5
5797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5798 test $ac_status = 0; }; then
5799 pkg_cv_SNDFILE_CFLAGS
=`$PKG_CONFIG --cflags "sndfile >= 1.0.2" 2>/dev/null`
5806 if test -n "$SNDFILE_LIBS"; then
5807 pkg_cv_SNDFILE_LIBS
="$SNDFILE_LIBS"
5808 elif test -n "$PKG_CONFIG"; then
5809 if test -n "$PKG_CONFIG" && \
5810 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.2\""; } >&5
5811 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.2") 2>&5
5813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5814 test $ac_status = 0; }; then
5815 pkg_cv_SNDFILE_LIBS
=`$PKG_CONFIG --libs "sndfile >= 1.0.2" 2>/dev/null`
5825 if test $pkg_failed = yes; then
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5829 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5830 _pkg_short_errors_supported
=yes
5832 _pkg_short_errors_supported
=no
5834 if test $_pkg_short_errors_supported = yes; then
5835 SNDFILE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "sndfile >= 1.0.2" 2>&1`
5837 SNDFILE_PKG_ERRORS
=`$PKG_CONFIG --print-errors "sndfile >= 1.0.2" 2>&1`
5839 # Put the nasty error message in config.log where it belongs
5840 echo "$SNDFILE_PKG_ERRORS" >&5
5842 ac_cv_enable_libsndfile
=no
5843 elif test $pkg_failed = untried
; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 $as_echo "no" >&6; }
5846 ac_cv_enable_libsndfile
=no
5848 SNDFILE_CFLAGS
=$pkg_cv_SNDFILE_CFLAGS
5849 SNDFILE_LIBS
=$pkg_cv_SNDFILE_LIBS
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5851 $as_echo "yes" >&6; }
5854 if test x
$ac_cv_enable_libsndfile = xyes
; then
5856 $as_echo "#define HAVE_SNDFILE 1" >>confdefs.h
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5861 $as_echo "no" >&6; }
5864 # Check whether --enable-ssl was given.
5865 if test "${enable_ssl+set}" = set; then :
5866 enableval
=$enable_ssl; ac_cv_enable_ssl
=$enableval
5868 ac_cv_enable_ssl
=yes
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use OpenSSL" >&5
5872 $as_echo_n "checking whether to use OpenSSL... " >&6; }
5873 if test x
$ac_cv_enable_ssl = xyes
; then
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5875 $as_echo "yes" >&6; }
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
5879 $as_echo_n "checking for OPENSSL... " >&6; }
5881 if test -n "$OPENSSL_CFLAGS"; then
5882 pkg_cv_OPENSSL_CFLAGS
="$OPENSSL_CFLAGS"
5883 elif test -n "$PKG_CONFIG"; then
5884 if test -n "$PKG_CONFIG" && \
5885 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.6\""; } >&5
5886 ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.6") 2>&5
5888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5889 test $ac_status = 0; }; then
5890 pkg_cv_OPENSSL_CFLAGS
=`$PKG_CONFIG --cflags "openssl >= 0.9.6" 2>/dev/null`
5897 if test -n "$OPENSSL_LIBS"; then
5898 pkg_cv_OPENSSL_LIBS
="$OPENSSL_LIBS"
5899 elif test -n "$PKG_CONFIG"; then
5900 if test -n "$PKG_CONFIG" && \
5901 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.6\""; } >&5
5902 ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.6") 2>&5
5904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5905 test $ac_status = 0; }; then
5906 pkg_cv_OPENSSL_LIBS
=`$PKG_CONFIG --libs "openssl >= 0.9.6" 2>/dev/null`
5916 if test $pkg_failed = yes; then
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5918 $as_echo "no" >&6; }
5920 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5921 _pkg_short_errors_supported
=yes
5923 _pkg_short_errors_supported
=no
5925 if test $_pkg_short_errors_supported = yes; then
5926 OPENSSL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "openssl >= 0.9.6" 2>&1`
5928 OPENSSL_PKG_ERRORS
=`$PKG_CONFIG --print-errors "openssl >= 0.9.6" 2>&1`
5930 # Put the nasty error message in config.log where it belongs
5931 echo "$OPENSSL_PKG_ERRORS" >&5
5934 elif test $pkg_failed = untried
; then
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5936 $as_echo "no" >&6; }
5939 OPENSSL_CFLAGS
=$pkg_cv_OPENSSL_CFLAGS
5940 OPENSSL_LIBS
=$pkg_cv_OPENSSL_LIBS
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5942 $as_echo "yes" >&6; }
5945 if test x
$ac_cv_enable_ssl = xyes
; then
5947 $as_echo "#define HAVE_SSL 1" >>confdefs.h
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5952 $as_echo "no" >&6; }
5955 CFLAGS
="${CFLAGS} ${SNDFILE_CFLAGS} ${OPENSSL_CFLAGS}"
5956 LIBS
="${SNDFILE_LIBS} ${OPENSSL_LIBS} ${LIBS}"
5962 ac_config_files
="$ac_config_files Makefile src/Makefile doc/Makefile"
5964 cat >confcache
<<\_ACEOF
5965 # This file is a shell script that caches the results of configure
5966 # tests run on this system so they can be shared between configure
5967 # scripts and configure runs, see configure's option --config-cache.
5968 # It is not useful on other systems. If it contains results you don't
5969 # want to keep, you may remove or edit it.
5971 # config.status only pays attention to the cache file if you give it
5972 # the --recheck option to rerun configure.
5974 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5975 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5980 # The following way of writing the cache mishandles newlines in values,
5981 # but we know of no workaround that is simple, portable, and efficient.
5982 # So, we kill variables containing newlines.
5983 # Ultrix sh set writes to stderr and can't be redirected directly,
5984 # and sets the high bit in the cache file unless we assign to the vars.
5986 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5987 eval ac_val
=\$
$ac_var
5991 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5992 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5995 _ | IFS | as_nl
) ;; #(
5996 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5997 *) { eval $ac_var=; unset $ac_var;} ;;
6003 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6004 *${as_nl}ac_space
=\
*)
6005 # `set' does not quote correctly, so add quotes: double-quote
6006 # substitution turns \\\\ into \\, and sed turns \\ into \.
6009 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6012 # `set' quotes correctly as required by POSIX, so do not add quotes.
6013 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6022 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6024 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6026 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6027 if test -w "$cache_file"; then
6028 test "x$cache_file" != "x/dev/null" &&
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6030 $as_echo "$as_me: updating cache $cache_file" >&6;}
6031 cat confcache
>$cache_file
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6034 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6039 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6040 # Let make expand exec_prefix.
6041 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6043 DEFS
=-DHAVE_CONFIG_H
6048 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6049 # 1. Remove the extension, and $U if already installed.
6050 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6051 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6052 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6053 # will be set to the directory where LIBOBJS objects are built.
6054 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6055 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6059 LTLIBOBJS
=$ac_ltlibobjs
6062 if test -n "$EXEEXT"; then
6064 am__EXEEXT_FALSE
='#'
6070 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6071 as_fn_error $?
"conditional \"AMDEP\" was never defined.
6072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6074 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6075 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6079 : ${CONFIG_STATUS=./config.status}
6081 ac_clean_files_save
=$ac_clean_files
6082 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6084 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6086 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6088 # Generated by $as_me.
6089 # Run this file to recreate the current configuration.
6090 # Compiler output produced by configure, useful for debugging
6091 # configure, is in config.log if it exists.
6097 SHELL=\${CONFIG_SHELL-$SHELL}
6100 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6101 ## -------------------- ##
6102 ## M4sh Initialization. ##
6103 ## -------------------- ##
6105 # Be more Bourne compatible
6106 DUALCASE
=1; export DUALCASE
# for MKS sh
6107 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6110 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6111 # is contrary to our usage. Disable this feature.
6112 alias -g '${1+"$@"}'='"$@"'
6113 setopt NO_GLOB_SUBST
6115 case `(set -o) 2>/dev/null` in #(
6127 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6128 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6129 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6130 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6131 # Prefer a ksh shell builtin over an external printf program on Solaris,
6132 # but without wasting forks for bash or zsh.
6133 if test -z "$BASH_VERSION$ZSH_VERSION" \
6134 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6135 as_echo='print
-r --'
6136 as_echo_n='print
-rn --'
6137 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6138 as_echo='printf %s
\n'
6139 as_echo_n='printf %s
'
6141 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6142 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6143 as_echo_n='/usr
/ucb
/echo -n'
6145 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6146 as_echo_n_body='eval
6150 expr "X$arg" : "X\\(.*\\)$as_nl";
6151 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6153 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6155 export as_echo_n_body
6156 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6159 as_echo='sh
-c $as_echo_body as_echo
'
6162 # The user is always right.
6163 if test "${PATH_SEPARATOR+set}" != set; then
6165 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6166 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6173 # We need space, tab and new line, in precisely that order. Quoting is
6174 # there to prevent editors from complaining about space-tab.
6175 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6176 # splitting by setting IFS to empty value.)
6179 # Find who we are. Look in the path if we contain no directory separator.
6181 *[\\/]* ) as_myself=$0 ;;
6182 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6186 test -z "$as_dir" && as_dir=.
6187 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6193 # We did not find ourselves, most probably we were run as `sh COMMAND'
6194 # in which case we are not to be found in the path.
6195 if test "x$as_myself" = x
; then
6198 if test ! -f "$as_myself"; then
6199 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6203 # Unset variables that we do not need and which cause bugs (e.g. in
6204 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6205 # suppresses any "Segmentation fault" message there. '((' could
6206 # trigger a bug in pdksh 5.2.14.
6207 for as_var
in BASH_ENV ENV MAIL MAILPATH
6208 do eval test x\
${$as_var+set} = xset \
6209 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6222 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6225 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6226 # ----------------------------------------
6227 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6228 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6229 # script with STATUS, using 1 if that was 0.
6232 as_status
=$1; test $as_status -eq 0 && as_status
=1
6234 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6235 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6237 $as_echo "$as_me: error: $2" >&2
6238 as_fn_exit
$as_status
6242 # as_fn_set_status STATUS
6243 # -----------------------
6244 # Set $? to STATUS, without forking.
6248 } # as_fn_set_status
6252 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6262 # Portably unset VAR.
6265 { eval $1=; unset $1;}
6267 as_unset
=as_fn_unset
6268 # as_fn_append VAR VALUE
6269 # ----------------------
6270 # Append the text in VALUE to the end of the definition contained in VAR. Take
6271 # advantage of any shell optimizations that allow amortized linear growth over
6272 # repeated appends, instead of the typical quadratic growth present in naive
6274 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6275 eval 'as_fn_append ()
6286 # as_fn_arith ARG...
6287 # ------------------
6288 # Perform arithmetic evaluation on the ARGs, and store the result in the
6289 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6290 # must be portable across $(()) and expr.
6291 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6292 eval 'as_fn_arith ()
6299 as_val
=`expr "$@" || test $? -eq 1`
6304 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6305 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6311 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6312 as_basename
=basename
6317 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6323 as_me
=`$as_basename -- "$0" ||
6324 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6325 X"$0" : 'X\(//\)$' \| \
6326 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6328 sed '/^.*\/\([^/][^/]*\)\/*$/{
6342 # Avoid depending upon Character Ranges.
6343 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6344 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6345 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6346 as_cr_digits
='0123456789'
6347 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6349 ECHO_C
= ECHO_N
= ECHO_T
=
6350 case `echo -n x` in #(((((
6352 case `echo 'xy\c'` in
6353 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6355 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6362 rm -f conf$$ conf$$.exe conf$$.
file
6363 if test -d conf$$.dir
; then
6364 rm -f conf$$.dir
/conf$$.
file
6367 mkdir conf$$.dir
2>/dev
/null
6369 if (echo >conf$$.
file) 2>/dev
/null
; then
6370 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6372 # ... but there are two gotchas:
6373 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6374 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6375 # In both cases, we have to default to `cp -p'.
6376 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6378 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6386 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6387 rmdir conf$$.dir
2>/dev
/null
6392 # Create "$as_dir" as a directory, including parents if necessary.
6397 -*) as_dir
=.
/$as_dir;;
6399 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6403 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6404 *) as_qdir
=$as_dir;;
6406 as_dirs
="'$as_qdir' $as_dirs"
6407 as_dir
=`$as_dirname -- "$as_dir" ||
6408 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6409 X"$as_dir" : 'X\(//\)[^/]' \| \
6410 X"$as_dir" : 'X\(//\)$' \| \
6411 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6412 $as_echo X"$as_dir" |
6413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6430 test -d "$as_dir" && break
6432 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6433 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6437 if mkdir
-p .
2>/dev
/null
; then
6438 as_mkdir_p
='mkdir -p "$as_dir"'
6440 test -d .
/-p && rmdir .
/-p
6444 if test -x / >/dev
/null
2>&1; then
6447 if ls -dL / >/dev
/null
2>&1; then
6454 if test -d "$1"; then
6460 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6461 ???[sx]*):;;*)false;;esac;fi
6465 as_executable_p
=$as_test_x
6467 # Sed expression to map a string onto a valid CPP name.
6468 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6470 # Sed expression to map a string onto a valid variable name.
6471 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6475 ## ----------------------------------- ##
6476 ## Main body of $CONFIG_STATUS script. ##
6477 ## ----------------------------------- ##
6479 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6482 # Save the log message, to keep $0 and so on meaningful, and to
6483 # report actual input values of CONFIG_FILES etc. instead of their
6484 # values after options handling.
6486 This file was extended by wmnotify $as_me 1.0.0, which was
6487 generated by GNU Autoconf 2.67. Invocation command line was
6489 CONFIG_FILES = $CONFIG_FILES
6490 CONFIG_HEADERS = $CONFIG_HEADERS
6491 CONFIG_LINKS = $CONFIG_LINKS
6492 CONFIG_COMMANDS = $CONFIG_COMMANDS
6495 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6500 case $ac_config_files in *"
6501 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6504 case $ac_config_headers in *"
6505 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6510 # Files that config.status was made for.
6511 config_files="$ac_config_files"
6512 config_headers="$ac_config_headers"
6513 config_commands="$ac_config_commands"
6517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6519 \`$as_me' instantiates files and other configuration actions
6520 from templates according to the current configuration. Unless the files
6521 and actions are specified as TAGs, all are instantiated by default.
6523 Usage: $0 [OPTION]... [TAG]...
6525 -h, --help print this help, then exit
6526 -V, --version print version number and configuration settings, then exit
6527 --config print configuration, then exit
6528 -q, --quiet, --silent
6529 do not print progress messages
6530 -d, --debug don't remove temporary files
6531 --recheck update $as_me by reconfiguring in the same conditions
6532 --file=FILE[:TEMPLATE]
6533 instantiate the configuration file FILE
6534 --header=FILE[:TEMPLATE]
6535 instantiate the configuration header FILE
6537 Configuration files:
6540 Configuration headers:
6543 Configuration commands:
6546 Report bugs to the package provider."
6549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6550 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6552 wmnotify config.status 1.0.0
6553 configured by $0, generated by GNU Autoconf 2.67,
6554 with options \\"\$ac_cs_config\\"
6556 Copyright (C) 2010 Free Software Foundation, Inc.
6557 This config.status script is free software; the Free Software Foundation
6558 gives unlimited permission to copy, distribute and modify it."
6565 test -n "\$AWK" || AWK=awk
6568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6569 # The default lists apply if the user does not specify any file.
6575 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6576 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6580 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6592 # Handling of the options.
6593 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6595 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6596 $as_echo "$ac_cs_version"; exit ;;
6597 --config |
--confi |
--conf |
--con |
--co |
--c )
6598 $as_echo "$ac_cs_config"; exit ;;
6599 --debug |
--debu |
--deb |
--de |
--d |
-d )
6601 --file |
--fil |
--fi |
--f )
6604 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6605 '') as_fn_error $?
"missing file argument" ;;
6607 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6608 ac_need_defaults
=false
;;
6609 --header |
--heade |
--head |
--hea )
6612 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6614 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6615 ac_need_defaults
=false
;;
6617 # Conflict between --help and --header
6618 as_fn_error $?
"ambiguous option: \`$1'
6619 Try \`$0 --help' for more information.";;
6620 --help |
--hel |
-h )
6621 $as_echo "$ac_cs_usage"; exit ;;
6622 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6623 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6627 -*) as_fn_error $?
"unrecognized option: \`$1'
6628 Try \`$0 --help' for more information." ;;
6630 *) as_fn_append ac_config_targets
" $1"
6631 ac_need_defaults
=false
;;
6637 ac_configure_extra_args
=
6639 if $ac_cs_silent; then
6641 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6646 if \$ac_cs_recheck; then
6647 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6649 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6650 CONFIG_SHELL='$SHELL'
6656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6660 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6661 ## Running $as_me. ##
6667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6671 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6677 # Handling of arguments.
6678 for ac_config_target
in $ac_config_targets
6680 case $ac_config_target in
6681 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config-h.in" ;;
6682 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6683 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6684 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
6685 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
6687 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
6692 # If the user did not use the arguments to specify the items to instantiate,
6693 # then the envvar interface is used. Set only those that are not.
6694 # We use the long form for the default assignment because of an extremely
6695 # bizarre bug on SunOS 4.1.3.
6696 if $ac_need_defaults; then
6697 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6698 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6699 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6702 # Have a temporary directory for convenience. Make it in the build tree
6703 # simply because there is no reason against having it here, and in addition,
6704 # creating and moving files from /tmp can sometimes cause problems.
6705 # Hook for its removal unless debugging.
6706 # Note that there is a small window in which the directory will not be cleaned:
6707 # after its creation but before its name has been assigned to `$tmp'.
6711 trap 'exit_status=$?
6712 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6714 trap 'as_fn_exit 1' 1 2 13 15
6716 # Create a (secure) tmp directory for tmp files.
6719 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6720 test -n "$tmp" && test -d "$tmp"
6723 tmp
=.
/conf$$
-$RANDOM
6724 (umask 077 && mkdir
"$tmp")
6725 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6727 # Set up the scripts for CONFIG_FILES section.
6728 # No need to generate them if there are no CONFIG_FILES.
6729 # This happens for instance with `./config.status config.h'.
6730 if test -n "$CONFIG_FILES"; then
6733 ac_cr
=`echo X | tr X '\015'`
6734 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6735 # But we know of no other shell where ac_cr would be empty at this
6736 # point, so we can use a bashism as a fallback.
6737 if test "x$ac_cr" = x
; then
6738 eval ac_cr
=\$
\'\\r
\'
6740 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6741 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6747 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6752 echo "cat >conf$$subs.awk <<_ACEOF" &&
6753 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6756 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6757 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6759 for ac_last_try in false false false false false :; do
6760 . ./conf$$subs.sh ||
6761 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6763 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6764 if test $ac_delim_n = $ac_delim_num; then
6766 elif $ac_last_try; then
6767 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6769 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6774 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6775 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
6779 s/^/S["/; s
/!.
*/"]=/
6789 s/\(.\{148\}\)..*/\1/
6791 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6796 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6803 s/\(.\{148\}\)..*/\1/
6805 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6809 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6814 ' <conf$$subs.awk | sed '
6819 ' >>$CONFIG_STATUS || ac_write_fail=1
6820 rm -f conf$$subs.awk
6821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6823 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
6824 for (key in S) S_is_set[key] = 1
6830 nfields = split(line, field, "@
")
6832 len = length(field[1])
6833 for (i = 2; i < nfields; i++) {
6835 keylen = length(key)
6836 if (S_is_set[key]) {
6838 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6839 len += length(value) + length(field[++i])
6850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6851 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6852 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6855 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
6856 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6859 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6860 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6861 # trailing colons and then remove the whole line if VPATH becomes empty
6862 # (actually we leave an empty line to preserve line numbers).
6863 if test "x
$srcdir" = x.; then
6864 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6883 fi # test -n "$CONFIG_FILES"
6885 # Set up the scripts for CONFIG_HEADERS section.
6886 # No need to generate them if there are no CONFIG_HEADERS.
6887 # This happens for instance with `./config.status Makefile'.
6888 if test -n "$CONFIG_HEADERS"; then
6889 cat >"$tmp/defines.
awk" <<\_ACAWK ||
6893 # Transform confdefs.h into an awk script `defines.awk', embedded as
6894 # here-document in config.status, that substitutes the proper values into
6895 # config.h.in to produce config.h.
6897 # Create a delimiter string that does not exist in confdefs.h, to ease
6898 # handling of long lines.
6900 for ac_last_try in false false :; do
6901 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
6902 if test -z "$ac_t"; then
6904 elif $ac_last_try; then
6905 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6907 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6911 # For the awk script, D is an array of macro values keyed by name,
6912 # likewise P contains macro parameters if any. Preserve backslash
6913 # newline sequences.
6915 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6917 s/.\{148\}/&'"$ac_delim"'/g
6920 s/^[ ]*#[ ]*define[ ][ ]*/ /
6927 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6929 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6933 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6934 D["\
1"]=" \
3\\\\\\n
"\\/p
6936 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6941 s/.\{148\}/&'"$ac_delim"'/g
6946 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6949 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6951 ' <confdefs.h | sed '
6952 s/'"$ac_delim"'/"\\\
6953 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6956 for (key in D) D_is_set[key] = 1
6959 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6961 split(line, arg, " ")
6962 if (arg[1] == "#") {
6966 defundef
= substr
(arg
[1], 2)
6969 split(mac1
, mac2
, "(") #)
6971 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6972 if (D_is_set
[macro
]) {
6973 # Preserve the white space surrounding the "#".
6974 print prefix
"define", macro P
[macro
] D
[macro
]
6977 # Replace #undef with comments. This is necessary, for example,
6978 # in the case of _POSIX_SOURCE, which is predefined and required
6979 # on some systems where configure will not decide to define it.
6980 if (defundef
== "undef") {
6981 print
"/*", prefix defundef
, macro
, "*/"
6989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6990 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6991 fi # test -n "$CONFIG_HEADERS"
6994 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6999 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7001 case $ac_mode$ac_tag in
7003 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
7004 :[FH
]-) ac_tag
=-:-;;
7005 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7022 -) ac_f
="$tmp/stdin";;
7023 *) # Look for the file first in the build tree, then in the source tree
7024 # (if the path is not absolute). The absolute path cannot be DOS-style,
7025 # because $ac_f cannot contain `:'.
7029 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7031 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
7033 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7034 as_fn_append ac_file_inputs
" '$ac_f'"
7037 # Let's still pretend it is `configure' which instantiates (i.e., don't
7038 # use $as_me), people would be surprised to read:
7039 # /* config.h. Generated by config.status. */
7040 configure_input
='Generated from '`
7041 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7043 if test x
"$ac_file" != x-
; then
7044 configure_input
="$ac_file. $configure_input"
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7046 $as_echo "$as_me: creating $ac_file" >&6;}
7048 # Neutralize special characters interpreted by sed in replacement strings.
7049 case $configure_input in #(
7050 *\
&* |
*\|
* |
*\\* )
7051 ac_sed_conf_input
=`$as_echo "$configure_input" |
7052 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7053 *) ac_sed_conf_input
=$configure_input;;
7057 *:-:* |
*:-) cat >"$tmp/stdin" \
7058 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7063 ac_dir
=`$as_dirname -- "$ac_file" ||
7064 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7065 X"$ac_file" : 'X\(//\)[^/]' \| \
7066 X"$ac_file" : 'X\(//\)$' \| \
7067 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7068 $as_echo X"$ac_file" |
7069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7086 as_dir
="$ac_dir"; as_fn_mkdir_p
7090 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7092 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7093 # A ".." for each directory in $ac_dir_suffix.
7094 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7095 case $ac_top_builddir_sub in
7096 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7097 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7100 ac_abs_top_builddir
=$ac_pwd
7101 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7102 # for backward compatibility:
7103 ac_top_builddir
=$ac_top_build_prefix
7106 .
) # We are building in place.
7108 ac_top_srcdir
=$ac_top_builddir_sub
7109 ac_abs_top_srcdir
=$ac_pwd ;;
7110 [\\/]* | ?
:[\\/]* ) # Absolute name.
7111 ac_srcdir
=$srcdir$ac_dir_suffix;
7112 ac_top_srcdir
=$srcdir
7113 ac_abs_top_srcdir
=$srcdir ;;
7115 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7116 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7117 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7119 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7129 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7130 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7134 [\\/$
]* | ?
:[\\/]* ) ;;
7135 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
7139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7140 # If the template does not know about datarootdir, expand it.
7141 # FIXME: This hack should be removed a few years after 2.60.
7142 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7153 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7154 *datarootdir
*) ac_datarootdir_seen
=yes;;
7155 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7157 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7160 ac_datarootdir_hack='
7161 s&@datadir@&$datadir&g
7162 s&@docdir@&$docdir&g
7163 s&@infodir@&$infodir&g
7164 s&@localedir@&$localedir&g
7165 s&@mandir@&$mandir&g
7166 s&\\\${datarootdir}&$datarootdir&g' ;;
7170 # Neutralize VPATH when `$srcdir' = `.'.
7171 # Shell code in configure.ac might set extrasub.
7172 # FIXME: do we really want to maintain this feature?
7173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7174 ac_sed_extra="$ac_vpsub
7177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7179 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7180 s|@configure_input@|
$ac_sed_conf_input|
;t t
7181 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7182 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7183 s
&@srcdir@
&$ac_srcdir&;t t
7184 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7185 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7186 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7187 s
&@builddir@
&$ac_builddir&;t t
7188 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7189 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7190 s
&@INSTALL@
&$ac_INSTALL&;t t
7191 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
7192 $ac_datarootdir_hack
7194 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
7195 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7197 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7198 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
7199 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7201 which seems to be undefined. Please make sure it is defined" >&5
7202 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7203 which seems to be undefined. Please make sure it is defined" >&2;}
7207 -) cat "$tmp/out" && rm -f "$tmp/out";;
7208 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7210 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7216 if test x"$ac_file" != x-; then
7218 $as_echo "/* $configure_input */" \
7219 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
7220 } >"$tmp/config.h" \
7221 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7222 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7224 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7227 mv "$tmp/config.h" "$ac_file" \
7228 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7231 $as_echo "/* $configure_input */" \
7232 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
7233 || as_fn_error $? "could not create -" "$LINENO" 5
7235 # Compute "$ac_file"'s index
in $config_headers.
7238 for _am_header
in $config_headers :; do
7240 $_am_arg |
$_am_arg:* )
7243 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7246 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7247 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7248 X"$_am_arg" : 'X\(//\)[^/]' \| \
7249 X"$_am_arg" : 'X\(//\)$' \| \
7250 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7251 $as_echo X"$_am_arg" |
7252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7268 s/.*/./; q'`/stamp-h
$_am_stamp_count
7271 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7272 $as_echo "$as_me: executing $ac_file commands" >&6;}
7277 case $ac_file$ac_mode in
7278 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
7279 # Autoconf 2.62 quotes --file arguments for eval, but not when files
7280 # are listed without --file. Let's play safe and only enable the eval
7281 # if we detect the quoting.
7282 case $CONFIG_FILES in
7283 *\'*) eval set x
"$CONFIG_FILES" ;;
7284 *) set x
$CONFIG_FILES ;;
7289 # Strip MF so we end up with the name of the file.
7290 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7291 # Check whether this is an Automake generated Makefile or not.
7292 # We used to match only the files named `Makefile.in', but
7293 # some people rename them; so instead we look at the file content.
7294 # Grep'ing the first line is not enough: some people post-process
7295 # each Makefile.in and add a new line on top of each file to say so.
7296 # Grep'ing the whole file is not good either: AIX grep has a line
7297 # limit of 2048, but all sed's we know have understand at least 4000.
7298 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
7299 dirpart
=`$as_dirname -- "$mf" ||
7300 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7301 X"$mf" : 'X\(//\)[^/]' \| \
7302 X"$mf" : 'X\(//\)$' \| \
7303 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7325 # Extract the definition of DEPDIR, am__include, and am__quote
7326 # from the Makefile without running `make'.
7327 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
7328 test -z "$DEPDIR" && continue
7329 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
7330 test -z "am__include" && continue
7331 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
7332 # When using ansi2knr, U may be empty or an underscore; expand it
7333 U
=`sed -n 's/^U = //p' < "$mf"`
7334 # Find all dependency output files, they are included files with
7335 # $(DEPDIR) in their names. We invoke sed twice because it is the
7336 # simplest approach to changing $(DEPDIR) to its actual value in the
7338 for file in `sed -n "
7339 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7340 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7341 # Make sure the directory exists.
7342 test -f "$dirpart/$file" && continue
7343 fdir
=`$as_dirname -- "$file" ||
7344 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7345 X"$file" : 'X\(//\)[^/]' \| \
7346 X"$file" : 'X\(//\)$' \| \
7347 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7366 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
7367 # echo "creating $dirpart/$file"
7368 echo '# dummy' > "$dirpart/$file"
7380 ac_clean_files
=$ac_clean_files_save
7382 test $ac_write_fail = 0 ||
7383 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
7386 # configure is writing to config.log, and then calls config.status.
7387 # config.status does its own redirection, appending to config.log.
7388 # Unfortunately, on DOS this fails, as config.log is still kept open
7389 # by configure, so config.status won't be able to write to it; its
7390 # output is simply discarded. So we exec the FD to /dev/null,
7391 # effectively closing config.log, so it can be properly (re)opened and
7392 # appended to by config.status. When coming back to configure, we
7393 # need to make the FD available again.
7394 if test "$no_create" != yes; then
7396 ac_config_status_args
=
7397 test "$silent" = yes &&
7398 ac_config_status_args
="$ac_config_status_args --quiet"
7400 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7402 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7403 # would make configure fail if this is the last instruction.
7404 $ac_cs_success || as_fn_exit
1
7406 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7408 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7413 echo "Configuration summary:"
7415 echo " Install path: ${prefix}"
7416 echo " Compiler: ${CC}"
7417 echo " Compiler flags: ${CFLAGS}"
7418 echo " Linker flags: ${LIBS}"
7419 echo " OpenSSL support: $ac_cv_enable_ssl"
7420 echo " libsndfile support: $ac_cv_enable_libsndfile"
7421 if test "x${ac_cv_enable_libsndfile}" = xno
; then
7423 echo " WARNING: Althought the 'libsndfile' library is not mandatory, without it"
7424 echo " you won't have audible notifications."
7428 echo "Configure finished. Type 'make' to build."