2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for renderer-service-upnp 0.2.0.
5 # Report bugs to <https://github.com/01org/renderer-service-upnp/issues/new>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
240 if test "x$CONFIG_SHELL" != x; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 *v*x* | *x*v* ) as_opts=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: https://github.com/01org/renderer-service-upnp/issues/new
271 $0: about your system, including any error possibly output
272 $0: before this message. Then install a modern shell, or
273 $0: manually run the script under such a shell if you do
280 SHELL=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Create "$as_dir" as a directory, including parents if necessary.
323 -*) as_dir=./$as_dir;;
325 test -d "$as_dir" || eval $as_mkdir_p || {
329 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
332 as_dirs="'$as_qdir' $as_dirs"
333 as_dir=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335 X"$as_dir" : 'X\(//\)[^/]' \| \
336 X"$as_dir" : 'X\(//\)$' \| \
337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
356 test -d "$as_dir" && break
358 test -z "$as_dirs" || eval "mkdir $as_dirs"
359 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p ()
369 test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
378 eval 'as_fn_append ()
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402 as_val=`expr "$@" || test $? -eq 1`
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
414 as_status=$1; test $as_status -eq 0 && as_status=1
416 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
419 $as_echo "$as_me: error: $2" >&2
420 as_fn_exit $as_status
423 if expr a : '\(a\)' >/dev/null 2>&1 &&
424 test "X`expr 00001 : '.*\(...\)'`" = X001; then
430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
442 as_me=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444 X"$0" : 'X\(//\)$' \| \
445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
447 sed '/^.*\/\([^/][^/]*\)\/*$/{
461 # Avoid depending upon Character Ranges.
462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits='0123456789'
466 as_cr_alnum=$as_cr_Letters$as_cr_digits
469 as_lineno_1=$LINENO as_lineno_1a=$LINENO
470 as_lineno_2=$LINENO as_lineno_2a=$LINENO
471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
489 chmod +x "$as_me.lineno" ||
490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493 # already done that, so ensure we don't try to do so again and fall
494 # in an infinite loop. This has already happened in practice.
495 _as_can_reexec=no; export _as_can_reexec
496 # Don't try to exec as it changes $[0], causing all sort of problems
497 # (the dirname of $[0] is not the place where we might find the
498 # original and so on. Autoconf is especially sensitive to this).
500 # Exit status is that of the last command.
504 ECHO_C= ECHO_N= ECHO_T=
505 case `echo -n x` in #(((((
507 case `echo 'xy\c'` in
508 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
510 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
517 rm -f conf$$ conf$$.exe conf$$.file
518 if test -d conf$$.dir; then
519 rm -f conf$$.dir/conf$$.file
522 mkdir conf$$.dir 2>/dev/null
524 if (echo >conf$$.file) 2>/dev/null; then
525 if ln -s conf$$.file conf$$ 2>/dev/null; then
527 # ... but there are two gotchas:
528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530 # In both cases, we have to default to `cp -pR'.
531 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
533 elif ln conf$$.file conf$$ 2>/dev/null; then
541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
542 rmdir conf$$.dir 2>/dev/null
544 if mkdir -p . 2>/dev/null; then
545 as_mkdir_p='mkdir -p "$as_dir"'
547 test -d ./-p && rmdir ./-p
552 as_executable_p=as_fn_executable_p
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
561 test -n "$DJDIR" || exec 7<&0 </dev/null
565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566 # so uname gets run too.
567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
572 ac_default_prefix=/usr/local
574 ac_config_libobj_dir=.
581 # Identity of this package.
582 PACKAGE_NAME='renderer-service-upnp'
583 PACKAGE_TARNAME='renderer-service-upnp'
584 PACKAGE_VERSION='0.2.0'
585 PACKAGE_STRING='renderer-service-upnp 0.2.0'
586 PACKAGE_BUGREPORT='https://github.com/01org/renderer-service-upnp/issues/new'
587 PACKAGE_URL='https://01.org/dleyna/'
589 ac_unique_file="src/renderer-service-upnp.c"
590 ac_default_prefix=/usr/local
591 # Factoring default headers for most tests.
592 ac_includes_default="\
594 #ifdef HAVE_SYS_TYPES_H
595 # include <sys/types.h>
597 #ifdef HAVE_SYS_STAT_H
598 # include <sys/stat.h>
604 # ifdef HAVE_STDLIB_H
609 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614 #ifdef HAVE_STRINGS_H
615 # include <strings.h>
617 #ifdef HAVE_INTTYPES_H
618 # include <inttypes.h>
627 ac_subst_vars='am__EXEEXT_FALSE
633 RSU_INTERFACE_PUSH_HOST
634 RSU_INTERFACE_RENDERER_DEVICE
635 RSU_INTERFACE_MANAGER
681 MAINTAINER_MODE_FALSE
691 INSTALL_STRIP_PROGRAM
733 program_transform_name
746 enable_option_checking
747 enable_maintainer_mode
749 enable_dependency_tracking
757 ac_precious_vars='build_alias
785 # Initialize some variables set by options.
787 ac_init_version=false
788 ac_unrecognized_opts=
790 # The variables have the same names as the options, with
791 # dashes changed to underlines.
799 program_transform_name=s,x,x,
807 # Installation directory options.
808 # These are left unexpanded so users can "make install exec_prefix=/foo"
809 # and all the variables that are supposed to be based on exec_prefix
810 # by default will actually change.
811 # Use braces instead of parens because sh, perl, etc. also accept them.
812 # (The list follows the same order as the GNU Coding Standards.)
813 bindir='${exec_prefix}/bin'
814 sbindir='${exec_prefix}/sbin'
815 libexecdir='${exec_prefix}/libexec'
816 datarootdir='${prefix}/share'
817 datadir='${datarootdir}'
818 sysconfdir='${prefix}/etc'
819 sharedstatedir='${prefix}/com'
820 localstatedir='${prefix}/var'
821 includedir='${prefix}/include'
822 oldincludedir='/usr/include'
823 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
824 infodir='${datarootdir}/info'
829 libdir='${exec_prefix}/lib'
830 localedir='${datarootdir}/locale'
831 mandir='${datarootdir}/man'
837 # If the previous option needs an argument, assign it.
838 if test -n "$ac_prev"; then
839 eval $ac_prev=\$ac_option
845 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850 # Accept the important Cygnus configure options, so we can diagnose typos.
852 case $ac_dashdash$ac_option in
856 -bindir | --bindir | --bindi | --bind | --bin | --bi)
858 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
861 -build | --build | --buil | --bui | --bu)
862 ac_prev=build_alias ;;
863 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
864 build_alias=$ac_optarg ;;
866 -cache-file | --cache-file | --cache-fil | --cache-fi \
867 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
868 ac_prev=cache_file ;;
869 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
870 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
871 cache_file=$ac_optarg ;;
874 cache_file=config.cache ;;
876 -datadir | --datadir | --datadi | --datad)
878 -datadir=* | --datadir=* | --datadi=* | --datad=*)
879 datadir=$ac_optarg ;;
881 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
882 | --dataroo | --dataro | --datar)
883 ac_prev=datarootdir ;;
884 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
885 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
886 datarootdir=$ac_optarg ;;
888 -disable-* | --disable-*)
889 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
890 # Reject names that are not valid shell variable names.
891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
892 as_fn_error $? "invalid feature name: $ac_useropt"
893 ac_useropt_orig=$ac_useropt
894 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
895 case $ac_user_opts in
899 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
900 ac_unrecognized_sep=', ';;
902 eval enable_$ac_useropt=no ;;
904 -docdir | --docdir | --docdi | --doc | --do)
906 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
909 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
911 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
914 -enable-* | --enable-*)
915 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
916 # Reject names that are not valid shell variable names.
917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
918 as_fn_error $? "invalid feature name: $ac_useropt"
919 ac_useropt_orig=$ac_useropt
920 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
921 case $ac_user_opts in
925 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
926 ac_unrecognized_sep=', ';;
928 eval enable_$ac_useropt=\$ac_optarg ;;
930 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
931 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
932 | --exec | --exe | --ex)
933 ac_prev=exec_prefix ;;
934 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
935 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
936 | --exec=* | --exe=* | --ex=*)
937 exec_prefix=$ac_optarg ;;
939 -gas | --gas | --ga | --g)
940 # Obsolete; use --with-gas.
943 -help | --help | --hel | --he | -h)
945 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
946 ac_init_help=recursive ;;
947 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
948 ac_init_help=short ;;
950 -host | --host | --hos | --ho)
951 ac_prev=host_alias ;;
952 -host=* | --host=* | --hos=* | --ho=*)
953 host_alias=$ac_optarg ;;
955 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
957 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
959 htmldir=$ac_optarg ;;
961 -includedir | --includedir | --includedi | --included | --include \
962 | --includ | --inclu | --incl | --inc)
963 ac_prev=includedir ;;
964 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
965 | --includ=* | --inclu=* | --incl=* | --inc=*)
966 includedir=$ac_optarg ;;
968 -infodir | --infodir | --infodi | --infod | --info | --inf)
970 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
971 infodir=$ac_optarg ;;
973 -libdir | --libdir | --libdi | --libd)
975 -libdir=* | --libdir=* | --libdi=* | --libd=*)
978 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
979 | --libexe | --libex | --libe)
980 ac_prev=libexecdir ;;
981 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
982 | --libexe=* | --libex=* | --libe=*)
983 libexecdir=$ac_optarg ;;
985 -localedir | --localedir | --localedi | --localed | --locale)
987 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
988 localedir=$ac_optarg ;;
990 -localstatedir | --localstatedir | --localstatedi | --localstated \
991 | --localstate | --localstat | --localsta | --localst | --locals)
992 ac_prev=localstatedir ;;
993 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
994 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
995 localstatedir=$ac_optarg ;;
997 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
999 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1000 mandir=$ac_optarg ;;
1002 -nfp | --nfp | --nf)
1003 # Obsolete; use --without-fp.
1006 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1007 | --no-cr | --no-c | -n)
1010 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1011 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1014 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1015 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1016 | --oldin | --oldi | --old | --ol | --o)
1017 ac_prev=oldincludedir ;;
1018 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1019 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1020 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1021 oldincludedir=$ac_optarg ;;
1023 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1025 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1026 prefix=$ac_optarg ;;
1028 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1029 | --program-pre | --program-pr | --program-p)
1030 ac_prev=program_prefix ;;
1031 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1032 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1033 program_prefix=$ac_optarg ;;
1035 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1036 | --program-suf | --program-su | --program-s)
1037 ac_prev=program_suffix ;;
1038 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1039 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1040 program_suffix=$ac_optarg ;;
1042 -program-transform-name | --program-transform-name \
1043 | --program-transform-nam | --program-transform-na \
1044 | --program-transform-n | --program-transform- \
1045 | --program-transform | --program-transfor \
1046 | --program-transfo | --program-transf \
1047 | --program-trans | --program-tran \
1048 | --progr-tra | --program-tr | --program-t)
1049 ac_prev=program_transform_name ;;
1050 -program-transform-name=* | --program-transform-name=* \
1051 | --program-transform-nam=* | --program-transform-na=* \
1052 | --program-transform-n=* | --program-transform-=* \
1053 | --program-transform=* | --program-transfor=* \
1054 | --program-transfo=* | --program-transf=* \
1055 | --program-trans=* | --program-tran=* \
1056 | --progr-tra=* | --program-tr=* | --program-t=*)
1057 program_transform_name=$ac_optarg ;;
1059 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1061 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1062 pdfdir=$ac_optarg ;;
1064 -psdir | --psdir | --psdi | --psd | --ps)
1066 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1069 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1070 | -silent | --silent | --silen | --sile | --sil)
1073 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1075 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1077 sbindir=$ac_optarg ;;
1079 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1080 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1081 | --sharedst | --shareds | --shared | --share | --shar \
1083 ac_prev=sharedstatedir ;;
1084 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1085 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1086 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1088 sharedstatedir=$ac_optarg ;;
1090 -site | --site | --sit)
1092 -site=* | --site=* | --sit=*)
1095 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1097 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1098 srcdir=$ac_optarg ;;
1100 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1101 | --syscon | --sysco | --sysc | --sys | --sy)
1102 ac_prev=sysconfdir ;;
1103 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1104 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1105 sysconfdir=$ac_optarg ;;
1107 -target | --target | --targe | --targ | --tar | --ta | --t)
1108 ac_prev=target_alias ;;
1109 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1110 target_alias=$ac_optarg ;;
1112 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1115 -version | --version | --versio | --versi | --vers | -V)
1116 ac_init_version=: ;;
1119 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1122 as_fn_error $? "invalid package name: $ac_useropt"
1123 ac_useropt_orig=$ac_useropt
1124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1130 ac_unrecognized_sep=', ';;
1132 eval with_$ac_useropt=\$ac_optarg ;;
1134 -without-* | --without-*)
1135 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1136 # Reject names that are not valid shell variable names.
1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1138 as_fn_error $? "invalid package name: $ac_useropt"
1139 ac_useropt_orig=$ac_useropt
1140 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1141 case $ac_user_opts in
1145 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1146 ac_unrecognized_sep=', ';;
1148 eval with_$ac_useropt=no ;;
1151 # Obsolete; use --with-x.
1154 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1155 | --x-incl | --x-inc | --x-in | --x-i)
1156 ac_prev=x_includes ;;
1157 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1158 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1159 x_includes=$ac_optarg ;;
1161 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1162 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1163 ac_prev=x_libraries ;;
1164 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1165 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1166 x_libraries=$ac_optarg ;;
1168 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1169 Try \`$0 --help' for more information"
1173 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1174 # Reject names that are not valid shell variable names.
1175 case $ac_envvar in #(
1176 '' | [0-9]* | *[!_$as_cr_alnum]* )
1177 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1179 eval $ac_envvar=\$ac_optarg
1180 export $ac_envvar ;;
1183 # FIXME: should be removed in autoconf 3.0.
1184 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1185 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1186 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1187 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1193 if test -n "$ac_prev"; then
1194 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1195 as_fn_error $? "missing argument to $ac_option"
1198 if test -n "$ac_unrecognized_opts"; then
1199 case $enable_option_checking in
1201 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1202 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1206 # Check all directory arguments for consistency.
1207 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1208 datadir sysconfdir sharedstatedir localstatedir includedir \
1209 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1210 libdir localedir mandir
1212 eval ac_val=\$$ac_var
1213 # Remove trailing slashes.
1216 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1217 eval $ac_var=\$ac_val;;
1219 # Be sure to have absolute directory names.
1221 [\\/$]* | ?:[\\/]* ) continue;;
1222 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1224 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1227 # There might be people who depend on the old broken behavior: `$host'
1228 # used to hold the argument of --host etc.
1229 # FIXME: To remove some day.
1232 target=$target_alias
1234 # FIXME: To remove some day.
1235 if test "x$host_alias" != x; then
1236 if test "x$build_alias" = x; then
1237 cross_compiling=maybe
1238 elif test "x$build_alias" != "x$host_alias"; then
1244 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1246 test "$silent" = yes && exec 6>/dev/null
1249 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1250 ac_ls_di=`ls -di .` &&
1251 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1252 as_fn_error $? "working directory cannot be determined"
1253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1254 as_fn_error $? "pwd does not report name of working directory"
1257 # Find the source files, if location was not specified.
1258 if test -z "$srcdir"; then
1259 ac_srcdir_defaulted=yes
1260 # Try the directory containing this script, then the parent directory.
1261 ac_confdir=`$as_dirname -- "$as_myself" ||
1262 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1263 X"$as_myself" : 'X\(//\)[^/]' \| \
1264 X"$as_myself" : 'X\(//\)$' \| \
1265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1266 $as_echo X"$as_myself" |
1267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1289 ac_srcdir_defaulted=no
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1292 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1293 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1295 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1297 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1299 # When building in place, set srcdir=.
1300 if test "$ac_abs_confdir" = "$ac_pwd"; then
1303 # Remove unnecessary trailing slashes from srcdir.
1304 # Double slashes in file names in object file debugging info
1305 # mess up M-x gdb in Emacs.
1307 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1309 for ac_var in $ac_precious_vars; do
1310 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1311 eval ac_env_${ac_var}_value=\$${ac_var}
1312 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1313 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1317 # Report the --help message.
1319 if test "$ac_init_help" = "long"; then
1320 # Omit some internal or obsolete options to make the list less imposing.
1321 # This message is too long to be a string in the A/UX 3.1 sh.
1323 \`configure' configures renderer-service-upnp 0.2.0 to adapt to many kinds of systems.
1325 Usage: $0 [OPTION]... [VAR=VALUE]...
1327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1328 VAR=VALUE. See below for descriptions of some of the useful variables.
1330 Defaults for the options are specified in brackets.
1333 -h, --help display this help and exit
1334 --help=short display options specific to this package
1335 --help=recursive display the short help of all the included packages
1336 -V, --version display version information and exit
1337 -q, --quiet, --silent do not print \`checking ...' messages
1338 --cache-file=FILE cache test results in FILE [disabled]
1339 -C, --config-cache alias for \`--cache-file=config.cache'
1340 -n, --no-create do not create output files
1341 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1343 Installation directories:
1344 --prefix=PREFIX install architecture-independent files in PREFIX
1345 [$ac_default_prefix]
1346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1349 By default, \`make install' will install all the files in
1350 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1351 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1352 for instance \`--prefix=\$HOME'.
1354 For better control, use the options below.
1356 Fine tuning of the installation directories:
1357 --bindir=DIR user executables [EPREFIX/bin]
1358 --sbindir=DIR system admin executables [EPREFIX/sbin]
1359 --libexecdir=DIR program executables [EPREFIX/libexec]
1360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1362 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1363 --libdir=DIR object code libraries [EPREFIX/lib]
1364 --includedir=DIR C header files [PREFIX/include]
1365 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1366 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1367 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1368 --infodir=DIR info documentation [DATAROOTDIR/info]
1369 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1370 --mandir=DIR man documentation [DATAROOTDIR/man]
1371 --docdir=DIR documentation root
1372 [DATAROOTDIR/doc/renderer-service-upnp]
1373 --htmldir=DIR html documentation [DOCDIR]
1374 --dvidir=DIR dvi documentation [DOCDIR]
1375 --pdfdir=DIR pdf documentation [DOCDIR]
1376 --psdir=DIR ps documentation [DOCDIR]
1382 --program-prefix=PREFIX prepend PREFIX to installed program names
1383 --program-suffix=SUFFIX append SUFFIX to installed program names
1384 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1388 if test -n "$ac_init_help"; then
1389 case $ac_init_help in
1390 short | recursive ) echo "Configuration of renderer-service-upnp 0.2.0:";;
1395 --disable-option-checking ignore unrecognized --enable/--with options
1396 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1397 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1398 --enable-maintainer-mode enable make rules and dependencies not useful
1399 (and sometimes confusing) to the casual installer
1400 --enable-silent-rules less verbose build output (undo: `make V=1')
1401 --disable-silent-rules verbose build output (undo: `make V=0')
1402 --disable-dependency-tracking speeds up one-time build
1403 --enable-dependency-tracking do not reject slow dependency extractors
1404 --enable-debug enable compiling with debugging information
1405 --enable-werror warnings are treated as errors
1406 --disable-optimization disable code optimization through compiler
1407 --enable-never-quit Service doesn't quit when last client disconnects
1410 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1411 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1412 --with-log-level enable logging information (0,1..6,7,8) 0=disabled
1413 7=default (=1,2,5) 8=all (=1,2,3,4,5,6) 1,..,6=a
1414 comma separated list of log level
1415 --with-log-type Select log output technology 0=syslog 1=GLib
1417 Some influential environment variables:
1418 CC C compiler command
1419 CFLAGS C compiler flags
1420 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1421 nonstandard directory <lib dir>
1422 LIBS libraries to pass to the linker, e.g. -l<library>
1423 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1424 you have headers in a nonstandard directory <include dir>
1425 PKG_CONFIG path to pkg-config utility
1427 directories to add to pkg-config's search path
1429 path overriding pkg-config's built-in search path
1430 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1431 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1432 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1433 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1434 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1435 GIO_LIBS linker flags for GIO, overriding pkg-config
1437 C compiler flags for GSSDP, overriding pkg-config
1438 GSSDP_LIBS linker flags for GSSDP, overriding pkg-config
1440 C compiler flags for GUPNP, overriding pkg-config
1441 GUPNP_LIBS linker flags for GUPNP, overriding pkg-config
1443 C compiler flags for GUPNPAV, overriding pkg-config
1445 linker flags for GUPNPAV, overriding pkg-config
1446 SOUP_CFLAGS C compiler flags for SOUP, overriding pkg-config
1447 SOUP_LIBS linker flags for SOUP, overriding pkg-config
1450 Use these variables to override the choices made by `configure' or to help
1451 it to find libraries and programs with nonstandard names/locations.
1453 Report bugs to <https://github.com/01org/renderer-service-upnp/issues/new>.
1454 renderer-service-upnp home page: <https://01.org/dleyna/>.
1459 if test "$ac_init_help" = "recursive"; then
1460 # If there are subdirs, report their specific --help.
1461 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1462 test -d "$ac_dir" ||
1463 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1468 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1470 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1471 # A ".." for each directory in $ac_dir_suffix.
1472 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1473 case $ac_top_builddir_sub in
1474 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1475 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1478 ac_abs_top_builddir=$ac_pwd
1479 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1480 # for backward compatibility:
1481 ac_top_builddir=$ac_top_build_prefix
1484 .) # We are building in place.
1486 ac_top_srcdir=$ac_top_builddir_sub
1487 ac_abs_top_srcdir=$ac_pwd ;;
1488 [\\/]* | ?:[\\/]* ) # Absolute name.
1489 ac_srcdir=$srcdir$ac_dir_suffix;
1490 ac_top_srcdir=$srcdir
1491 ac_abs_top_srcdir=$srcdir ;;
1493 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1494 ac_top_srcdir=$ac_top_build_prefix$srcdir
1495 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1497 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1499 cd "$ac_dir" || { ac_status=$?; continue; }
1500 # Check for guested configure.
1501 if test -f "$ac_srcdir/configure.gnu"; then
1503 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1504 elif test -f "$ac_srcdir/configure"; then
1506 $SHELL "$ac_srcdir/configure" --help=recursive
1508 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1510 cd "$ac_pwd" || { ac_status=$?; break; }
1514 test -n "$ac_init_help" && exit $ac_status
1515 if $ac_init_version; then
1517 renderer-service-upnp configure 0.2.0
1518 generated by GNU Autoconf 2.69
1520 Copyright (C) 2012 Free Software Foundation, Inc.
1521 This configure script is free software; the Free Software Foundation
1522 gives unlimited permission to copy, distribute and modify it.
1527 ## ------------------------ ##
1528 ## Autoconf initialization. ##
1529 ## ------------------------ ##
1531 # ac_fn_c_try_compile LINENO
1532 # --------------------------
1533 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1534 ac_fn_c_try_compile ()
1536 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1537 rm -f conftest.$ac_objext
1538 if { { ac_try="$ac_compile"
1540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1541 *) ac_try_echo=$ac_try;;
1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1544 $as_echo "$ac_try_echo"; } >&5
1545 (eval "$ac_compile") 2>conftest.err
1547 if test -s conftest.err; then
1548 grep -v '^ *+' conftest.err >conftest.er1
1549 cat conftest.er1 >&5
1550 mv -f conftest.er1 conftest.err
1552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1553 test $ac_status = 0; } && {
1554 test -z "$ac_c_werror_flag" ||
1555 test ! -s conftest.err
1556 } && test -s conftest.$ac_objext; then :
1559 $as_echo "$as_me: failed program was:" >&5
1560 sed 's/^/| /' conftest.$ac_ext >&5
1564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1565 as_fn_set_status $ac_retval
1567 } # ac_fn_c_try_compile
1569 # ac_fn_c_try_cpp LINENO
1570 # ----------------------
1571 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1575 if { { ac_try="$ac_cpp conftest.$ac_ext"
1577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1578 *) ac_try_echo=$ac_try;;
1580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1581 $as_echo "$ac_try_echo"; } >&5
1582 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1584 if test -s conftest.err; then
1585 grep -v '^ *+' conftest.err >conftest.er1
1586 cat conftest.er1 >&5
1587 mv -f conftest.er1 conftest.err
1589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1590 test $ac_status = 0; } > conftest.i && {
1591 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1592 test ! -s conftest.err
1596 $as_echo "$as_me: failed program was:" >&5
1597 sed 's/^/| /' conftest.$ac_ext >&5
1601 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1602 as_fn_set_status $ac_retval
1606 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1607 # -------------------------------------------------------
1608 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1609 # the include files in INCLUDES and setting the cache variable VAR
1611 ac_fn_c_check_header_mongrel ()
1613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614 if eval \${$3+:} false; then :
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1616 $as_echo_n "checking for $2... " >&6; }
1617 if eval \${$3+:} false; then :
1618 $as_echo_n "(cached) " >&6
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1622 $as_echo "$ac_res" >&6; }
1624 # Is the header compilable?
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1626 $as_echo_n "checking $2 usability... " >&6; }
1627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1628 /* end confdefs.h. */
1632 if ac_fn_c_try_compile "$LINENO"; then :
1633 ac_header_compiler=yes
1635 ac_header_compiler=no
1637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1639 $as_echo "$ac_header_compiler" >&6; }
1641 # Is the header present?
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1643 $as_echo_n "checking $2 presence... " >&6; }
1644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1645 /* end confdefs.h. */
1648 if ac_fn_c_try_cpp "$LINENO"; then :
1649 ac_header_preproc=yes
1651 ac_header_preproc=no
1653 rm -f conftest.err conftest.i conftest.$ac_ext
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1655 $as_echo "$ac_header_preproc" >&6; }
1657 # So? What about this header?
1658 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1661 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1663 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1667 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1669 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1671 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1673 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1675 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1676 ( $as_echo "## ------------------------------------------------------------------------ ##
1677 ## Report this to https://github.com/01org/renderer-service-upnp/issues/new ##
1678 ## ------------------------------------------------------------------------ ##"
1679 ) | sed "s/^/$as_me: WARNING: /" >&2
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1683 $as_echo_n "checking for $2... " >&6; }
1684 if eval \${$3+:} false; then :
1685 $as_echo_n "(cached) " >&6
1687 eval "$3=\$ac_header_compiler"
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1691 $as_echo "$ac_res" >&6; }
1693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695 } # ac_fn_c_check_header_mongrel
1697 # ac_fn_c_try_run LINENO
1698 # ----------------------
1699 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1700 # that executables *can* be run.
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 if { { ac_try="$ac_link"
1706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1707 *) ac_try_echo=$ac_try;;
1709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1710 $as_echo "$ac_try_echo"; } >&5
1711 (eval "$ac_link") 2>&5
1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1715 { { case "(($ac_try" in
1716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1717 *) ac_try_echo=$ac_try;;
1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_try") 2>&5
1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724 test $ac_status = 0; }; }; then :
1727 $as_echo "$as_me: program exited with status $ac_status" >&5
1728 $as_echo "$as_me: failed program was:" >&5
1729 sed 's/^/| /' conftest.$ac_ext >&5
1731 ac_retval=$ac_status
1733 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735 as_fn_set_status $ac_retval
1739 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1740 # -------------------------------------------------------
1741 # Tests whether HEADER exists and can be compiled using the include files in
1742 # INCLUDES, setting the cache variable VAR accordingly.
1743 ac_fn_c_check_header_compile ()
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1747 $as_echo_n "checking for $2... " >&6; }
1748 if eval \${$3+:} false; then :
1749 $as_echo_n "(cached) " >&6
1751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1752 /* end confdefs.h. */
1756 if ac_fn_c_try_compile "$LINENO"; then :
1761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1765 $as_echo "$ac_res" >&6; }
1766 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1768 } # ac_fn_c_check_header_compile
1770 # ac_fn_c_find_uintX_t LINENO BITS VAR
1771 # ------------------------------------
1772 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1774 ac_fn_c_find_uintX_t ()
1776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1778 $as_echo_n "checking for uint$2_t... " >&6; }
1779 if eval \${$3+:} false; then :
1780 $as_echo_n "(cached) " >&6
1783 # Order is important - never check a type that is potentially smaller
1784 # than half of the expected target width.
1785 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1786 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1789 $ac_includes_default
1793 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1795 return test_array [0];
1801 if ac_fn_c_try_compile "$LINENO"; then :
1806 eval "$3=\$ac_type" ;;
1809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1810 if eval test \"x\$"$3"\" = x"no"; then :
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1819 $as_echo "$ac_res" >&6; }
1820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822 } # ac_fn_c_find_uintX_t
1824 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1825 # -------------------------------------------
1826 # Tests whether TYPE exists after having included INCLUDES, setting cache
1827 # variable VAR accordingly.
1828 ac_fn_c_check_type ()
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832 $as_echo_n "checking for $2... " >&6; }
1833 if eval \${$3+:} false; then :
1834 $as_echo_n "(cached) " >&6
1837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1838 /* end confdefs.h. */
1849 if ac_fn_c_try_compile "$LINENO"; then :
1850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1851 /* end confdefs.h. */
1862 if ac_fn_c_try_compile "$LINENO"; then :
1867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873 $as_echo "$ac_res" >&6; }
1874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1876 } # ac_fn_c_check_type
1878 # ac_fn_c_try_link LINENO
1879 # -----------------------
1880 # Try to link conftest.$ac_ext, and return whether this succeeded.
1883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1884 rm -f conftest.$ac_objext conftest$ac_exeext
1885 if { { ac_try="$ac_link"
1887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1888 *) ac_try_echo=$ac_try;;
1890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1891 $as_echo "$ac_try_echo"; } >&5
1892 (eval "$ac_link") 2>conftest.err
1894 if test -s conftest.err; then
1895 grep -v '^ *+' conftest.err >conftest.er1
1896 cat conftest.er1 >&5
1897 mv -f conftest.er1 conftest.err
1899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1900 test $ac_status = 0; } && {
1901 test -z "$ac_c_werror_flag" ||
1902 test ! -s conftest.err
1903 } && test -s conftest$ac_exeext && {
1904 test "$cross_compiling" = yes ||
1905 test -x conftest$ac_exeext
1909 $as_echo "$as_me: failed program was:" >&5
1910 sed 's/^/| /' conftest.$ac_ext >&5
1914 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1915 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1916 # interfere with the next link command; also delete a directory that is
1917 # left behind by Apple's compiler. We do this before executing the actions.
1918 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1919 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1920 as_fn_set_status $ac_retval
1922 } # ac_fn_c_try_link
1924 # ac_fn_c_check_func LINENO FUNC VAR
1925 # ----------------------------------
1926 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1927 ac_fn_c_check_func ()
1929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1931 $as_echo_n "checking for $2... " >&6; }
1932 if eval \${$3+:} false; then :
1933 $as_echo_n "(cached) " >&6
1935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1936 /* end confdefs.h. */
1937 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1939 #define $2 innocuous_$2
1941 /* System header to define __stub macros and hopefully few prototypes,
1942 which can conflict with char $2 (); below.
1943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1944 <limits.h> exists even on freestanding compilers. */
1947 # include <limits.h>
1949 # include <assert.h>
1954 /* Override any GCC internal prototype to avoid an error.
1955 Use char because int might match the return type of a GCC
1956 builtin and then its argument prototype would still apply. */
1961 /* The GNU C library defines this for functions which it implements
1962 to always fail with ENOSYS. Some functions are actually named
1963 something starting with __ and the normal name is an alias. */
1964 #if defined __stub_$2 || defined __stub___$2
1976 if ac_fn_c_try_link "$LINENO"; then :
1981 rm -f core conftest.err conftest.$ac_objext \
1982 conftest$ac_exeext conftest.$ac_ext
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1986 $as_echo "$ac_res" >&6; }
1987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1989 } # ac_fn_c_check_func
1990 cat >config.log <<_ACEOF
1991 This file contains any messages produced by compilers while
1992 running configure, to aid debugging if configure makes a mistake.
1994 It was created by renderer-service-upnp $as_me 0.2.0, which was
1995 generated by GNU Autoconf 2.69. Invocation command line was
2007 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2008 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2009 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2010 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2011 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2013 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2014 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2016 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2017 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2018 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2019 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2020 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2021 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2022 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 test -z "$as_dir" && as_dir=.
2031 $as_echo "PATH: $as_dir"
2047 # Keep a trace of the command line.
2048 # Strip out --no-create and --no-recursion so they do not pile up.
2049 # Strip out --silent because we don't want to record it for future runs.
2050 # Also quote any args containing shell meta-characters.
2051 # Make two passes to allow for proper duplicate-argument suppression.
2055 ac_must_keep_next=false
2061 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2063 | -silent | --silent | --silen | --sile | --sil)
2066 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2069 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2071 as_fn_append ac_configure_args1 " '$ac_arg'"
2072 if test $ac_must_keep_next = true; then
2073 ac_must_keep_next=false # Got value, back to normal.
2076 *=* | --config-cache | -C | -disable-* | --disable-* \
2077 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2078 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2079 | -with-* | --with-* | -without-* | --without-* | --x)
2080 case "$ac_configure_args0 " in
2081 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2084 -* ) ac_must_keep_next=true ;;
2087 as_fn_append ac_configure_args " '$ac_arg'"
2092 { ac_configure_args0=; unset ac_configure_args0;}
2093 { ac_configure_args1=; unset ac_configure_args1;}
2095 # When interrupted or exit'd, cleanup temporary files, and complete
2096 # config.log. We remove comments because anyway the quotes in there
2097 # would cause problems or look ugly.
2098 # WARNING: Use '\'' to represent an apostrophe within the trap.
2099 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2100 trap 'exit_status=$?
2101 # Save into config.log some information that might help in debugging.
2105 $as_echo "## ---------------- ##
2106 ## Cache variables. ##
2107 ## ---------------- ##"
2109 # The following way of writing the cache mishandles newlines in values,
2111 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2112 eval ac_val=\$$ac_var
2116 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2117 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2120 _ | IFS | as_nl) ;; #(
2121 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2122 *) { eval $ac_var=; unset $ac_var;} ;;
2127 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2128 *${as_nl}ac_space=\ *)
2130 "s/'\''/'\''\\\\'\'''\''/g;
2131 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2134 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2141 $as_echo "## ----------------- ##
2142 ## Output variables. ##
2143 ## ----------------- ##"
2145 for ac_var in $ac_subst_vars
2147 eval ac_val=\$$ac_var
2149 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2151 $as_echo "$ac_var='\''$ac_val'\''"
2155 if test -n "$ac_subst_files"; then
2156 $as_echo "## ------------------- ##
2157 ## File substitutions. ##
2158 ## ------------------- ##"
2160 for ac_var in $ac_subst_files
2162 eval ac_val=\$$ac_var
2164 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2166 $as_echo "$ac_var='\''$ac_val'\''"
2171 if test -s confdefs.h; then
2172 $as_echo "## ----------- ##
2179 test "$ac_signal" != 0 &&
2180 $as_echo "$as_me: caught signal $ac_signal"
2181 $as_echo "$as_me: exit $exit_status"
2183 rm -f core *.core core.conftest.* &&
2184 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2187 for ac_signal in 1 2 13 15; do
2188 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2192 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2193 rm -f -r conftest* confdefs.h
2195 $as_echo "/* confdefs.h */" > confdefs.h
2197 # Predefined preprocessor variables.
2199 cat >>confdefs.h <<_ACEOF
2200 #define PACKAGE_NAME "$PACKAGE_NAME"
2203 cat >>confdefs.h <<_ACEOF
2204 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2207 cat >>confdefs.h <<_ACEOF
2208 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2211 cat >>confdefs.h <<_ACEOF
2212 #define PACKAGE_STRING "$PACKAGE_STRING"
2215 cat >>confdefs.h <<_ACEOF
2216 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2219 cat >>confdefs.h <<_ACEOF
2220 #define PACKAGE_URL "$PACKAGE_URL"
2224 # Let the site file select an alternate cache file if it wants to.
2225 # Prefer an explicitly selected file to automatically selected ones.
2228 if test -n "$CONFIG_SITE"; then
2229 # We do not want a PATH search for config.site.
2230 case $CONFIG_SITE in #((
2231 -*) ac_site_file1=./$CONFIG_SITE;;
2232 */*) ac_site_file1=$CONFIG_SITE;;
2233 *) ac_site_file1=./$CONFIG_SITE;;
2235 elif test "x$prefix" != xNONE; then
2236 ac_site_file1=$prefix/share/config.site
2237 ac_site_file2=$prefix/etc/config.site
2239 ac_site_file1=$ac_default_prefix/share/config.site
2240 ac_site_file2=$ac_default_prefix/etc/config.site
2242 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2244 test "x$ac_site_file" = xNONE && continue
2245 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2247 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2248 sed 's/^/| /' "$ac_site_file" >&5
2250 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2252 as_fn_error $? "failed to load site script $ac_site_file
2253 See \`config.log' for more details" "$LINENO" 5; }
2257 if test -r "$cache_file"; then
2258 # Some versions of bash will fail to source /dev/null (special files
2259 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2260 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2262 $as_echo "$as_me: loading cache $cache_file" >&6;}
2264 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2265 *) . "./$cache_file";;
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2270 $as_echo "$as_me: creating cache $cache_file" >&6;}
2274 # Check that the precious variables saved in the cache have kept the same
2276 ac_cache_corrupted=false
2277 for ac_var in $ac_precious_vars; do
2278 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2279 eval ac_new_set=\$ac_env_${ac_var}_set
2280 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2281 eval ac_new_val=\$ac_env_${ac_var}_value
2282 case $ac_old_set,$ac_new_set in
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2285 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2286 ac_cache_corrupted=: ;;
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2289 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2290 ac_cache_corrupted=: ;;
2293 if test "x$ac_old_val" != "x$ac_new_val"; then
2294 # differences in whitespace do not lead to failure.
2295 ac_old_val_w=`echo x $ac_old_val`
2296 ac_new_val_w=`echo x $ac_new_val`
2297 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2299 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2300 ac_cache_corrupted=:
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2303 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2304 eval $ac_var=\$ac_old_val
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2307 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2309 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2312 # Pass precious variables to config.status.
2313 if test "$ac_new_set" = set; then
2315 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2316 *) ac_arg=$ac_var=$ac_new_val ;;
2318 case " $ac_configure_args " in
2319 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2320 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2324 if $ac_cache_corrupted; then
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2328 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2329 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2331 ## -------------------- ##
2332 ## Main body of script. ##
2333 ## -------------------- ##
2336 ac_cpp='$CPP $CPPFLAGS'
2337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2343 ac_config_headers="$ac_config_headers config.h"
2346 for ac_dir in build-aux "$srcdir"/build-aux; do
2347 if test -f "$ac_dir/install-sh"; then
2349 ac_install_sh="$ac_aux_dir/install-sh -c"
2351 elif test -f "$ac_dir/install.sh"; then
2353 ac_install_sh="$ac_aux_dir/install.sh -c"
2355 elif test -f "$ac_dir/shtool"; then
2357 ac_install_sh="$ac_aux_dir/shtool install -c"
2361 if test -z "$ac_aux_dir"; then
2362 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2365 # These three variables are undocumented and unsupported,
2366 # and are intended to be withdrawn in a future Autoconf release.
2367 # They can cause serious problems if a builder's source tree is in a directory
2368 # whose full name contains unusual characters.
2369 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2370 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2371 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2379 am__api_version='1.11'
2381 # Find a good install program. We prefer a C program (faster),
2382 # so one script is as good as another. But avoid the broken or
2383 # incompatible versions:
2384 # SysV /etc/install, /usr/sbin/install
2385 # SunOS /usr/etc/install
2386 # IRIX /sbin/install
2388 # AmigaOS /C/install, which installs bootblocks on floppy discs
2389 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2390 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2391 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2392 # OS/2's system install, which has a completely different semantic
2393 # ./install, which can be erroneously created by make from ./install.sh.
2394 # Reject install programs that cannot install multiple files.
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2396 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2397 if test -z "$INSTALL"; then
2398 if ${ac_cv_path_install+:} false; then :
2399 $as_echo_n "(cached) " >&6
2401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2405 test -z "$as_dir" && as_dir=.
2406 # Account for people who put trailing slashes in PATH elements.
2407 case $as_dir/ in #((
2408 ./ | .// | /[cC]/* | \
2409 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2410 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2413 # OSF1 and SCO ODT 3.0 have their own names for install.
2414 # Don't use installbsd from OSF since it installs stuff as root
2416 for ac_prog in ginstall scoinst install; do
2417 for ac_exec_ext in '' $ac_executable_extensions; do
2418 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2419 if test $ac_prog = install &&
2420 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2421 # AIX install. It has an incompatible calling convention.
2423 elif test $ac_prog = install &&
2424 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2425 # program-specific install script used by HP pwplus--don't use.
2428 rm -rf conftest.one conftest.two conftest.dir
2429 echo one > conftest.one
2430 echo two > conftest.two
2432 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2433 test -s conftest.one && test -s conftest.two &&
2434 test -s conftest.dir/conftest.one &&
2435 test -s conftest.dir/conftest.two
2437 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2450 rm -rf conftest.one conftest.two conftest.dir
2453 if test "${ac_cv_path_install+set}" = set; then
2454 INSTALL=$ac_cv_path_install
2456 # As a last resort, use the slow shell script. Don't cache a
2457 # value for INSTALL within a source directory, because that will
2458 # break other packages using the cache if that directory is
2459 # removed, or if the value is a relative name.
2460 INSTALL=$ac_install_sh
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2464 $as_echo "$INSTALL" >&6; }
2466 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2467 # It thinks the first close brace ends the variable substitution.
2468 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2470 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2472 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2475 $as_echo_n "checking whether build environment is sane... " >&6; }
2478 echo timestamp > conftest.file
2479 # Reject unsafe characters in $srcdir or the absolute working directory
2480 # name. Accept space and tab only in the latter.
2484 *[\\\"\#\$\&\'\`$am_lf]*)
2485 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2488 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2489 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2492 # Do `set' in a subshell so we don't clobber the current shell's
2493 # arguments. Must try -L first in case configure is actually a
2494 # symlink; some systems play weird games with the mod time of symlinks
2495 # (eg FreeBSD returns the mod time of the symlink's containing
2498 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2499 if test "$*" = "X"; then
2501 set X `ls -t "$srcdir/configure" conftest.file`
2504 if test "$*" != "X $srcdir/configure conftest.file" \
2505 && test "$*" != "X conftest.file $srcdir/configure"; then
2507 # If neither matched, then we have a broken ls. This can happen
2508 # if, for instance, CONFIG_SHELL is bash and it inherits a
2509 # broken ls alias from the environment. This has actually
2510 # happened. Such a system could not be considered "sane".
2511 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2512 alias in your environment" "$LINENO" 5
2515 test "$2" = conftest.file
2521 as_fn_error $? "newly created file is older than distributed files!
2522 Check your system clock" "$LINENO" 5
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2525 $as_echo "yes" >&6; }
2526 test "$program_prefix" != NONE &&
2527 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2528 # Use a double $ so make ignores it.
2529 test "$program_suffix" != NONE &&
2530 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2531 # Double any \ or $.
2532 # By default was `s,x,x', remove it if useless.
2533 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2534 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2536 # expand $ac_aux_dir to an absolute path
2537 am_aux_dir=`cd $ac_aux_dir && pwd`
2539 if test x"${MISSING+set}" != xset; then
2542 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2544 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2547 # Use eval to expand $SHELL
2548 if eval "$MISSING --run true"; then
2549 am_missing_run="$MISSING --run "
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2553 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2556 if test x"${install_sh}" != xset; then
2559 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2561 install_sh="\${SHELL} $am_aux_dir/install-sh"
2565 # Installed binaries are usually stripped using `strip' when the user
2566 # run `make install-strip'. However `strip' might not be the right
2567 # tool to use in cross-compilation environments, therefore Automake
2568 # will honor the `STRIP' environment variable to overrule this program.
2569 if test "$cross_compiling" != no; then
2570 if test -n "$ac_tool_prefix"; then
2571 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2572 set dummy ${ac_tool_prefix}strip; ac_word=$2
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2574 $as_echo_n "checking for $ac_word... " >&6; }
2575 if ${ac_cv_prog_STRIP+:} false; then :
2576 $as_echo_n "(cached) " >&6
2578 if test -n "$STRIP"; then
2579 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2585 test -z "$as_dir" && as_dir=.
2586 for ac_exec_ext in '' $ac_executable_extensions; do
2587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2588 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2598 STRIP=$ac_cv_prog_STRIP
2599 if test -n "$STRIP"; then
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2601 $as_echo "$STRIP" >&6; }
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2604 $as_echo "no" >&6; }
2609 if test -z "$ac_cv_prog_STRIP"; then
2611 # Extract the first word of "strip", so it can be a program name with args.
2612 set dummy strip; ac_word=$2
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2614 $as_echo_n "checking for $ac_word... " >&6; }
2615 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2616 $as_echo_n "(cached) " >&6
2618 if test -n "$ac_ct_STRIP"; then
2619 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2625 test -z "$as_dir" && as_dir=.
2626 for ac_exec_ext in '' $ac_executable_extensions; do
2627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2628 ac_cv_prog_ac_ct_STRIP="strip"
2629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2638 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2639 if test -n "$ac_ct_STRIP"; then
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2641 $as_echo "$ac_ct_STRIP" >&6; }
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2644 $as_echo "no" >&6; }
2647 if test "x$ac_ct_STRIP" = x; then
2650 case $cross_compiling:$ac_tool_warned in
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2654 ac_tool_warned=yes ;;
2659 STRIP="$ac_cv_prog_STRIP"
2663 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2666 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2667 if test -z "$MKDIR_P"; then
2668 if ${ac_cv_path_mkdir+:} false; then :
2669 $as_echo_n "(cached) " >&6
2671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2672 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2675 test -z "$as_dir" && as_dir=.
2676 for ac_prog in mkdir gmkdir; do
2677 for ac_exec_ext in '' $ac_executable_extensions; do
2678 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2679 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2680 'mkdir (GNU coreutils) '* | \
2681 'mkdir (coreutils) '* | \
2682 'mkdir (fileutils) '4.1*)
2683 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2693 test -d ./--version && rmdir ./--version
2694 if test "${ac_cv_path_mkdir+set}" = set; then
2695 MKDIR_P="$ac_cv_path_mkdir -p"
2697 # As a last resort, use the slow shell script. Don't cache a
2698 # value for MKDIR_P within a source directory, because that will
2699 # break other packages using the cache if that directory is
2700 # removed, or if the value is a relative name.
2701 MKDIR_P="$ac_install_sh -d"
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2705 $as_echo "$MKDIR_P" >&6; }
2709 [\\/$]* | ?:[\\/]*) ;;
2710 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2713 for ac_prog in gawk mawk nawk awk
2715 # Extract the first word of "$ac_prog", so it can be a program name with args.
2716 set dummy $ac_prog; ac_word=$2
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2718 $as_echo_n "checking for $ac_word... " >&6; }
2719 if ${ac_cv_prog_AWK+:} false; then :
2720 $as_echo_n "(cached) " >&6
2722 if test -n "$AWK"; then
2723 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729 test -z "$as_dir" && as_dir=.
2730 for ac_exec_ext in '' $ac_executable_extensions; do
2731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2732 ac_cv_prog_AWK="$ac_prog"
2733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2743 if test -n "$AWK"; then
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2745 $as_echo "$AWK" >&6; }
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2748 $as_echo "no" >&6; }
2752 test -n "$AWK" && break
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2756 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2758 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2759 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2760 $as_echo_n "(cached) " >&6
2762 cat >conftest.make <<\_ACEOF
2765 @echo '@@@%%%=$(MAKE)=@@@%%%'
2767 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2768 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2770 eval ac_cv_prog_make_${ac_make}_set=yes;;
2772 eval ac_cv_prog_make_${ac_make}_set=no;;
2776 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2778 $as_echo "yes" >&6; }
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2782 $as_echo "no" >&6; }
2783 SET_MAKE="MAKE=${MAKE-make}"
2786 rm -rf .tst 2>/dev/null
2787 mkdir .tst 2>/dev/null
2788 if test -d .tst; then
2793 rmdir .tst 2>/dev/null
2795 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2796 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2797 # is not polluted with repeated "-I."
2798 am__isrc=' -I$(srcdir)'
2799 # test to see if srcdir already configured
2800 if test -f $srcdir/config.status; then
2801 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2805 # test whether we have cygpath
2806 if test -z "$CYGPATH_W"; then
2807 if (cygpath --version) >/dev/null 2>/dev/null; then
2808 CYGPATH_W='cygpath -w'
2815 # Define the identity of the package.
2816 PACKAGE='renderer-service-upnp'
2820 cat >>confdefs.h <<_ACEOF
2821 #define PACKAGE "$PACKAGE"
2825 cat >>confdefs.h <<_ACEOF
2826 #define VERSION "$VERSION"
2829 # Some tools Automake needs.
2831 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2834 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2837 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2840 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2843 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2845 # We need awk for the "check" target. The system "awk" is bad on
2847 # Always define AMTAR for backward compatibility. Yes, it's still used
2848 # in the wild :-( We should find a proper way to deprecate it ...
2851 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2860 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2861 # Check whether --enable-maintainer-mode was given.
2862 if test "${enable_maintainer_mode+set}" = set; then :
2863 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2865 USE_MAINTAINER_MODE=no
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2869 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2870 if test $USE_MAINTAINER_MODE = yes; then
2871 MAINTAINER_MODE_TRUE=
2872 MAINTAINER_MODE_FALSE='#'
2874 MAINTAINER_MODE_TRUE='#'
2875 MAINTAINER_MODE_FALSE=
2878 MAINT=$MAINTAINER_MODE_TRUE
2881 # Check whether --enable-silent-rules was given.
2882 if test "${enable_silent_rules+set}" = set; then :
2883 enableval=$enable_silent_rules;
2886 case $enable_silent_rules in
2887 yes) AM_DEFAULT_VERBOSITY=0;;
2888 no) AM_DEFAULT_VERBOSITY=1;;
2889 *) AM_DEFAULT_VERBOSITY=0;;
2891 am_make=${MAKE-make}
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2893 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2894 if ${am_cv_make_support_nested_variables+:} false; then :
2895 $as_echo_n "(cached) " >&6
2897 if $as_echo 'TRUE=$(BAR$(V))
2903 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2904 am_cv_make_support_nested_variables=yes
2906 am_cv_make_support_nested_variables=no
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2910 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2911 if test $am_cv_make_support_nested_variables = yes; then
2913 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2915 AM_V=$AM_DEFAULT_VERBOSITY
2916 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2922 if (test x"${CFLAGS}" = x""); then
2925 CFLAGS+=" -D_FORTIFY_SOURCE=2"
2928 if (test x"$USE_MAINTAINER_MODE" = x"yes"); then
2930 CFLAGS+=" -Wno-unused-parameter"
2931 CFLAGS+=" -Wno-missing-field-initializers"
2932 CFLAGS+=" -Wdeclaration-after-statement"
2933 CFLAGS+=" -Wmissing-declarations"
2934 CFLAGS+=" -Wredundant-decls"
2935 CFLAGS+=" -Wcast-align"
2937 CFLAGS+=" -Wstrict-prototypes"
2938 CFLAGS+=" -Wmissing-prototypes"
2939 CFLAGS+=" -Wnested-externs"
2941 CFLAGS+=" -Wformat=2"
2942 CFLAGS+=" -Winit-self"
2944 CFLAGS+=" -std=gnu99"
2945 CFLAGS+=" -pedantic"
2946 CFLAGS+=" -Wno-overlength-strings"
2948 CFLAGS+=" -DG_DISABLE_DEPRECATED"
2949 CFLAGS+=" -DGLIB_DISABLE_DEPRECATION_WARNINGS"
2952 CFLAGS+=" -Wno-format-extra-args"
2955 # Checks for languages.
2957 ac_cpp='$CPP $CPPFLAGS'
2958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2963 # Checks for programs.
2965 ac_cpp='$CPP $CPPFLAGS'
2966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2969 if test -n "$ac_tool_prefix"; then
2970 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2971 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2973 $as_echo_n "checking for $ac_word... " >&6; }
2974 if ${ac_cv_prog_CC+:} false; then :
2975 $as_echo_n "(cached) " >&6
2977 if test -n "$CC"; then
2978 ac_cv_prog_CC="$CC" # Let the user override the test.
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984 test -z "$as_dir" && as_dir=.
2985 for ac_exec_ext in '' $ac_executable_extensions; do
2986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2987 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 if test -n "$CC"; then
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3000 $as_echo "$CC" >&6; }
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3003 $as_echo "no" >&6; }
3008 if test -z "$ac_cv_prog_CC"; then
3010 # Extract the first word of "gcc", so it can be a program name with args.
3011 set dummy gcc; ac_word=$2
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3013 $as_echo_n "checking for $ac_word... " >&6; }
3014 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3015 $as_echo_n "(cached) " >&6
3017 if test -n "$ac_ct_CC"; then
3018 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024 test -z "$as_dir" && as_dir=.
3025 for ac_exec_ext in '' $ac_executable_extensions; do
3026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3027 ac_cv_prog_ac_ct_CC="gcc"
3028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3037 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3038 if test -n "$ac_ct_CC"; then
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3040 $as_echo "$ac_ct_CC" >&6; }
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3043 $as_echo "no" >&6; }
3046 if test "x$ac_ct_CC" = x; then
3049 case $cross_compiling:$ac_tool_warned in
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3053 ac_tool_warned=yes ;;
3061 if test -z "$CC"; then
3062 if test -n "$ac_tool_prefix"; then
3063 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3064 set dummy ${ac_tool_prefix}cc; ac_word=$2
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3066 $as_echo_n "checking for $ac_word... " >&6; }
3067 if ${ac_cv_prog_CC+:} false; then :
3068 $as_echo_n "(cached) " >&6
3070 if test -n "$CC"; then
3071 ac_cv_prog_CC="$CC" # Let the user override the test.
3073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3077 test -z "$as_dir" && as_dir=.
3078 for ac_exec_ext in '' $ac_executable_extensions; do
3079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3080 ac_cv_prog_CC="${ac_tool_prefix}cc"
3081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3091 if test -n "$CC"; then
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3093 $as_echo "$CC" >&6; }
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3096 $as_echo "no" >&6; }
3102 if test -z "$CC"; then
3103 # Extract the first word of "cc", so it can be a program name with args.
3104 set dummy cc; ac_word=$2
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3106 $as_echo_n "checking for $ac_word... " >&6; }
3107 if ${ac_cv_prog_CC+:} false; then :
3108 $as_echo_n "(cached) " >&6
3110 if test -n "$CC"; then
3111 ac_cv_prog_CC="$CC" # Let the user override the test.
3114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3118 test -z "$as_dir" && as_dir=.
3119 for ac_exec_ext in '' $ac_executable_extensions; do
3120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3121 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3122 ac_prog_rejected=yes
3126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3133 if test $ac_prog_rejected = yes; then
3134 # We found a bogon in the path, so make sure we never use it.
3135 set dummy $ac_cv_prog_CC
3137 if test $# != 0; then
3138 # We chose a different compiler from the bogus one.
3139 # However, it has the same basename, so the bogon will be chosen
3140 # first if we set CC to just the basename; use the full file name.
3142 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3148 if test -n "$CC"; then
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3150 $as_echo "$CC" >&6; }
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153 $as_echo "no" >&6; }
3158 if test -z "$CC"; then
3159 if test -n "$ac_tool_prefix"; then
3160 for ac_prog in cl.exe
3162 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3163 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3165 $as_echo_n "checking for $ac_word... " >&6; }
3166 if ${ac_cv_prog_CC+:} false; then :
3167 $as_echo_n "(cached) " >&6
3169 if test -n "$CC"; then
3170 ac_cv_prog_CC="$CC" # Let the user override the test.
3172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176 test -z "$as_dir" && as_dir=.
3177 for ac_exec_ext in '' $ac_executable_extensions; do
3178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3179 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3190 if test -n "$CC"; then
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3192 $as_echo "$CC" >&6; }
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3195 $as_echo "no" >&6; }
3199 test -n "$CC" && break
3202 if test -z "$CC"; then
3204 for ac_prog in cl.exe
3206 # Extract the first word of "$ac_prog", so it can be a program name with args.
3207 set dummy $ac_prog; ac_word=$2
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3209 $as_echo_n "checking for $ac_word... " >&6; }
3210 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3211 $as_echo_n "(cached) " >&6
3213 if test -n "$ac_ct_CC"; then
3214 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3220 test -z "$as_dir" && as_dir=.
3221 for ac_exec_ext in '' $ac_executable_extensions; do
3222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3223 ac_cv_prog_ac_ct_CC="$ac_prog"
3224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3233 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3234 if test -n "$ac_ct_CC"; then
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3236 $as_echo "$ac_ct_CC" >&6; }
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3239 $as_echo "no" >&6; }
3243 test -n "$ac_ct_CC" && break
3246 if test "x$ac_ct_CC" = x; then
3249 case $cross_compiling:$ac_tool_warned in
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3253 ac_tool_warned=yes ;;
3262 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3264 as_fn_error $? "no acceptable C compiler found in \$PATH
3265 See \`config.log' for more details" "$LINENO" 5; }
3267 # Provide some information about the compiler.
3268 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3271 for ac_option in --version -v -V -qversion; do
3272 { { ac_try="$ac_compiler $ac_option >&5"
3274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3275 *) ac_try_echo=$ac_try;;
3277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3278 $as_echo "$ac_try_echo"; } >&5
3279 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3281 if test -s conftest.err; then
3283 ... rest of stderr output deleted ...
3284 10q' conftest.err >conftest.er1
3285 cat conftest.er1 >&5
3287 rm -f conftest.er1 conftest.err
3288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3289 test $ac_status = 0; }
3292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293 /* end confdefs.h. */
3303 ac_clean_files_save=$ac_clean_files
3304 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3305 # Try to create an executable without -o first, disregard a.out.
3306 # It will help us diagnose broken compilers, and finding out an intuition
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3309 $as_echo_n "checking whether the C compiler works... " >&6; }
3310 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3312 # The possible output files:
3313 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3316 for ac_file in $ac_files
3319 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3320 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3325 if { { ac_try="$ac_link_default"
3327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331 $as_echo "$ac_try_echo"; } >&5
3332 (eval "$ac_link_default") 2>&5
3334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335 test $ac_status = 0; }; then :
3336 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3337 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3338 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3339 # so that the user can short-circuit this test for compilers unknown to
3341 for ac_file in $ac_files ''
3343 test -f "$ac_file" || continue
3345 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3348 # We found the default executable, but exeext='' is most
3352 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3354 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3356 # We set ac_cv_exeext here because the later test for it is not
3357 # safe: cross compilers may not add the suffix if given an `-o'
3358 # argument, so we may need to know it at that point already.
3359 # Even if this section looks crufty: it has the advantage of
3366 test "$ac_cv_exeext" = no && ac_cv_exeext=
3371 if test -z "$ac_file"; then :
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3373 $as_echo "no" >&6; }
3374 $as_echo "$as_me: failed program was:" >&5
3375 sed 's/^/| /' conftest.$ac_ext >&5
3377 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3379 as_fn_error 77 "C compiler cannot create executables
3380 See \`config.log' for more details" "$LINENO" 5; }
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3383 $as_echo "yes" >&6; }
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3386 $as_echo_n "checking for C compiler default output file name... " >&6; }
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3388 $as_echo "$ac_file" >&6; }
3389 ac_exeext=$ac_cv_exeext
3391 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3392 ac_clean_files=$ac_clean_files_save
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3394 $as_echo_n "checking for suffix of executables... " >&6; }
3395 if { { ac_try="$ac_link"
3397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3398 *) ac_try_echo=$ac_try;;
3400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3401 $as_echo "$ac_try_echo"; } >&5
3402 (eval "$ac_link") 2>&5
3404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3405 test $ac_status = 0; }; then :
3406 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3407 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3408 # work properly (i.e., refer to `conftest.exe'), while it won't with
3410 for ac_file in conftest.exe conftest conftest.*; do
3411 test -f "$ac_file" || continue
3413 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3414 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3420 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3422 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3423 See \`config.log' for more details" "$LINENO" 5; }
3425 rm -f conftest conftest$ac_cv_exeext
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3427 $as_echo "$ac_cv_exeext" >&6; }
3429 rm -f conftest.$ac_ext
3430 EXEEXT=$ac_cv_exeext
3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3438 FILE *f = fopen ("conftest.out", "w");
3439 return ferror (f) || fclose (f) != 0;
3445 ac_clean_files="$ac_clean_files conftest.out"
3446 # Check that the compiler produces executables we can run. If not, either
3447 # the compiler is broken, or we cross compile.
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3449 $as_echo_n "checking whether we are cross compiling... " >&6; }
3450 if test "$cross_compiling" != yes; then
3451 { { ac_try="$ac_link"
3453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3454 *) ac_try_echo=$ac_try;;
3456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3457 $as_echo "$ac_try_echo"; } >&5
3458 (eval "$ac_link") 2>&5
3460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3461 test $ac_status = 0; }
3462 if { ac_try='./conftest$ac_cv_exeext'
3463 { { case "(($ac_try" in
3464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3465 *) ac_try_echo=$ac_try;;
3467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3468 $as_echo "$ac_try_echo"; } >&5
3469 (eval "$ac_try") 2>&5
3471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3472 test $ac_status = 0; }; }; then
3475 if test "$cross_compiling" = maybe; then
3478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3480 as_fn_error $? "cannot run C compiled programs.
3481 If you meant to cross compile, use \`--host'.
3482 See \`config.log' for more details" "$LINENO" 5; }
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3487 $as_echo "$cross_compiling" >&6; }
3489 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3490 ac_clean_files=$ac_clean_files_save
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3492 $as_echo_n "checking for suffix of object files... " >&6; }
3493 if ${ac_cv_objext+:} false; then :
3494 $as_echo_n "(cached) " >&6
3496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3497 /* end confdefs.h. */
3507 rm -f conftest.o conftest.obj
3508 if { { ac_try="$ac_compile"
3510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511 *) ac_try_echo=$ac_try;;
3513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3514 $as_echo "$ac_try_echo"; } >&5
3515 (eval "$ac_compile") 2>&5
3517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3518 test $ac_status = 0; }; then :
3519 for ac_file in conftest.o conftest.obj conftest.*; do
3520 test -f "$ac_file" || continue;
3522 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3523 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3528 $as_echo "$as_me: failed program was:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3533 as_fn_error $? "cannot compute suffix of object files: cannot compile
3534 See \`config.log' for more details" "$LINENO" 5; }
3536 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3539 $as_echo "$ac_cv_objext" >&6; }
3540 OBJEXT=$ac_cv_objext
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3543 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3544 if ${ac_cv_c_compiler_gnu+:} false; then :
3545 $as_echo_n "(cached) " >&6
3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3548 /* end confdefs.h. */
3561 if ac_fn_c_try_compile "$LINENO"; then :
3566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3567 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3571 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3572 if test $ac_compiler_gnu = yes; then
3577 ac_test_CFLAGS=${CFLAGS+set}
3578 ac_save_CFLAGS=$CFLAGS
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3580 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3581 if ${ac_cv_prog_cc_g+:} false; then :
3582 $as_echo_n "(cached) " >&6
3584 ac_save_c_werror_flag=$ac_c_werror_flag
3585 ac_c_werror_flag=yes
3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3589 /* end confdefs.h. */
3599 if ac_fn_c_try_compile "$LINENO"; then :
3603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3604 /* end confdefs.h. */
3614 if ac_fn_c_try_compile "$LINENO"; then :
3617 ac_c_werror_flag=$ac_save_c_werror_flag
3619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3620 /* end confdefs.h. */
3630 if ac_fn_c_try_compile "$LINENO"; then :
3633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3638 ac_c_werror_flag=$ac_save_c_werror_flag
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3641 $as_echo "$ac_cv_prog_cc_g" >&6; }
3642 if test "$ac_test_CFLAGS" = set; then
3643 CFLAGS=$ac_save_CFLAGS
3644 elif test $ac_cv_prog_cc_g = yes; then
3645 if test "$GCC" = yes; then
3651 if test "$GCC" = yes; then
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3658 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3659 if ${ac_cv_prog_cc_c89+:} false; then :
3660 $as_echo_n "(cached) " >&6
3662 ac_cv_prog_cc_c89=no
3664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3665 /* end confdefs.h. */
3669 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3670 struct buf { int x; };
3671 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3672 static char *e (p, i)
3678 static char *f (char * (*g) (char **, int), char **p, ...)
3683 s = g (p, va_arg (v,int));
3688 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3689 function prototypes and stuff, but not '\xHH' hex character constants.
3690 These don't provoke an error unfortunately, instead are silently treated
3691 as 'x'. The following induces an error, until -std is added to get
3692 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3693 array size at least. It's necessary to write '\x00'==0 to get something
3694 that's true only with -std. */
3695 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3697 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3698 inside strings and character constants. */
3700 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3702 int test (int i, double x);
3703 struct s1 {int (*f) (int a);};
3704 struct s2 {int (*f) (double a);};
3705 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3711 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3716 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3717 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3719 CC="$ac_save_CC $ac_arg"
3720 if ac_fn_c_try_compile "$LINENO"; then :
3721 ac_cv_prog_cc_c89=$ac_arg
3723 rm -f core conftest.err conftest.$ac_objext
3724 test "x$ac_cv_prog_cc_c89" != "xno" && break
3726 rm -f conftest.$ac_ext
3731 case "x$ac_cv_prog_cc_c89" in
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3734 $as_echo "none needed" >&6; } ;;
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3737 $as_echo "unsupported" >&6; } ;;
3739 CC="$CC $ac_cv_prog_cc_c89"
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3741 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3743 if test "x$ac_cv_prog_cc_c89" != xno; then :
3748 ac_cpp='$CPP $CPPFLAGS'
3749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3752 DEPDIR="${am__leading_dot}deps"
3754 ac_config_commands="$ac_config_commands depfiles"
3757 am_make=${MAKE-make}
3758 cat > confinc << 'END'
3760 @echo this is the am__doit target
3763 # If we don't find an include directive, just comment out the code.
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3765 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3769 # First try GNU make style include.
3770 echo "include confinc" > confmf
3771 # Ignore all kinds of additional output from `make'.
3772 case `$am_make -s -f confmf 2> /dev/null` in #(
3773 *the\ am__doit\ target*)
3779 # Now try BSD make style include.
3780 if test "$am__include" = "#"; then
3781 echo '.include "confinc"' > confmf
3782 case `$am_make -s -f confmf 2> /dev/null` in #(
3783 *the\ am__doit\ target*)
3784 am__include=.include
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3793 $as_echo "$_am_result" >&6; }
3794 rm -f confinc confmf
3796 # Check whether --enable-dependency-tracking was given.
3797 if test "${enable_dependency_tracking+set}" = set; then :
3798 enableval=$enable_dependency_tracking;
3801 if test "x$enable_dependency_tracking" != xno; then
3802 am_depcomp="$ac_aux_dir/depcomp"
3806 if test "x$enable_dependency_tracking" != xno; then
3816 depcc="$CC" am_compiler_list=
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3819 $as_echo_n "checking dependency style of $depcc... " >&6; }
3820 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3821 $as_echo_n "(cached) " >&6
3823 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3824 # We make a subdir and do the tests there. Otherwise we can end up
3825 # making bogus files that we don't know about and never remove. For
3826 # instance it was reported that on HP-UX the gcc test will end up
3827 # making a dummy file named `D' -- because `-MD' means `put the output
3831 # Copy depcomp to subdir because otherwise we won't find it if we're
3832 # using a relative directory.
3833 cp "$am_depcomp" conftest.dir
3835 # We will build objects and dependencies in a subdirectory because
3836 # it helps to detect inapplicable dependency modes. For instance
3837 # both Tru64's cc and ICC support -MD to output dependencies as a
3838 # side effect of compilation, but ICC will put the dependencies in
3839 # the current directory while Tru64 will put them in the object
3843 am_cv_CC_dependencies_compiler_type=none
3844 if test "$am_compiler_list" = ""; then
3845 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3848 case " $depcc " in #(
3849 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3852 for depmode in $am_compiler_list; do
3853 # Setup a source with many dependencies, because some compilers
3854 # like to wrap large dependency lists on column 80 (with \), and
3855 # we should not choose a depcomp mode which is confused by this.
3857 # We need to recreate these files for each test, as the compiler may
3858 # overwrite some of them when testing with obscure command lines.
3859 # This happens at least with the AIX C compiler.
3861 for i in 1 2 3 4 5 6; do
3862 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3863 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3864 # Solaris 8's {/usr,}/bin/sh.
3865 touch sub/conftst$i.h
3867 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3869 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3870 # mode. It turns out that the SunPro C++ compiler does not properly
3871 # handle `-M -o', and we need to detect this. Also, some Intel
3872 # versions had trouble with output in subdirs
3873 am__obj=sub/conftest.${OBJEXT-o}
3874 am__minus_obj="-o $am__obj"
3877 # This depmode causes a compiler race in universal mode.
3878 test "$am__universal" = false || continue
3881 # after this tag, mechanisms are not by side-effect, so they'll
3882 # only be used when explicitly requested
3883 if test "x$enable_dependency_tracking" = xyes; then
3889 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3890 # This compiler won't grok `-c -o', but also, the minuso test has
3891 # not run yet. These depmodes are late enough in the game, and
3892 # so weak that their functioning should not be impacted.
3893 am__obj=conftest.${OBJEXT-o}
3898 if depmode=$depmode \
3899 source=sub/conftest.c object=$am__obj \
3900 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3901 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3902 >/dev/null 2>conftest.err &&
3903 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3904 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3905 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3906 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3907 # icc doesn't choke on unknown options, it will just issue warnings
3908 # or remarks (even with -Werror). So we grep stderr for any message
3909 # that says an option was ignored or not supported.
3910 # When given -MP, icc 7.0 and 7.1 complain thusly:
3911 # icc: Command line warning: ignoring option '-M'; no argument required
3912 # The diagnosis changed in icc 8.0:
3913 # icc: Command line remark: option '-MP' not supported
3914 if (grep 'ignoring option' conftest.err ||
3915 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3916 am_cv_CC_dependencies_compiler_type=$depmode
3925 am_cv_CC_dependencies_compiler_type=none
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3930 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3931 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3934 test "x$enable_dependency_tracking" != xno \
3935 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3937 am__fastdepCC_FALSE='#'
3939 am__fastdepCC_TRUE='#'
3940 am__fastdepCC_FALSE=
3944 if test "x$CC" != xcc; then
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3946 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3949 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3951 set dummy $CC; ac_cc=`$as_echo "$2" |
3952 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3953 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3954 $as_echo_n "(cached) " >&6
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3967 # Make sure it works both with $CC and with simple cc.
3968 # We do the test twice because some compilers refuse to overwrite an
3969 # existing .o file with -o, though they will create one.
3970 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3972 if { { case "(($ac_try" in
3973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3974 *) ac_try_echo=$ac_try;;
3976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3977 $as_echo "$ac_try_echo"; } >&5
3978 (eval "$ac_try") 2>&5
3980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3981 test $ac_status = 0; } &&
3982 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3984 *) ac_try_echo=$ac_try;;
3986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3987 $as_echo "$ac_try_echo"; } >&5
3988 (eval "$ac_try") 2>&5
3990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3991 test $ac_status = 0; };
3993 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3994 if test "x$CC" != xcc; then
3995 # Test first that cc exists at all.
3996 if { ac_try='cc -c conftest.$ac_ext >&5'
3997 { { case "(($ac_try" in
3998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3999 *) ac_try_echo=$ac_try;;
4001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4002 $as_echo "$ac_try_echo"; } >&5
4003 (eval "$ac_try") 2>&5
4005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4006 test $ac_status = 0; }; }; then
4007 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4009 if { { case "(($ac_try" in
4010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4011 *) ac_try_echo=$ac_try;;
4013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4014 $as_echo "$ac_try_echo"; } >&5
4015 (eval "$ac_try") 2>&5
4017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4018 test $ac_status = 0; } &&
4019 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4021 *) ac_try_echo=$ac_try;;
4023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4024 $as_echo "$ac_try_echo"; } >&5
4025 (eval "$ac_try") 2>&5
4027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4028 test $ac_status = 0; };
4033 # cc exists but doesn't like -o.
4034 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4039 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4041 rm -f core conftest*
4044 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4046 $as_echo "yes" >&6; }
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4049 $as_echo "no" >&6; }
4051 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4055 # FIXME: we rely on the cache variable name because
4056 # there is no other way.
4058 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4059 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4060 if test "$am_t" != yes; then
4061 # Losing compiler, so override with the script.
4062 # FIXME: It is wrong to rewrite CC.
4063 # But if we don't then we get into trouble of one sort or another.
4064 # A longer-term fix would be to have automake use am__CC in this case,
4065 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4066 CC="$am_aux_dir/compile $CC"
4072 # Checks for libraries.
4080 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4081 if test -n "$ac_tool_prefix"; then
4082 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4083 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4085 $as_echo_n "checking for $ac_word... " >&6; }
4086 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4087 $as_echo_n "(cached) " >&6
4091 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4098 test -z "$as_dir" && as_dir=.
4099 for ac_exec_ext in '' $ac_executable_extensions; do
4100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4101 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4112 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4113 if test -n "$PKG_CONFIG"; then
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4115 $as_echo "$PKG_CONFIG" >&6; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4118 $as_echo "no" >&6; }
4123 if test -z "$ac_cv_path_PKG_CONFIG"; then
4124 ac_pt_PKG_CONFIG=$PKG_CONFIG
4125 # Extract the first word of "pkg-config", so it can be a program name with args.
4126 set dummy pkg-config; ac_word=$2
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4128 $as_echo_n "checking for $ac_word... " >&6; }
4129 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4130 $as_echo_n "(cached) " >&6
4132 case $ac_pt_PKG_CONFIG in
4134 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4141 test -z "$as_dir" && as_dir=.
4142 for ac_exec_ext in '' $ac_executable_extensions; do
4143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4144 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4155 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4156 if test -n "$ac_pt_PKG_CONFIG"; then
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4158 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4161 $as_echo "no" >&6; }
4164 if test "x$ac_pt_PKG_CONFIG" = x; then
4167 case $cross_compiling:$ac_tool_warned in
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4171 ac_tool_warned=yes ;;
4173 PKG_CONFIG=$ac_pt_PKG_CONFIG
4176 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4180 if test -n "$PKG_CONFIG"; then
4181 _pkg_min_version=0.16
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4183 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4184 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4186 $as_echo "yes" >&6; }
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4189 $as_echo "no" >&6; }
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
4196 $as_echo_n "checking for DBUS... " >&6; }
4198 if test -n "$DBUS_CFLAGS"; then
4199 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
4200 elif test -n "$PKG_CONFIG"; then
4201 if test -n "$PKG_CONFIG" && \
4202 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
4203 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
4205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4206 test $ac_status = 0; }; then
4207 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
4208 test "x$?" != "x0" && pkg_failed=yes
4215 if test -n "$DBUS_LIBS"; then
4216 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
4217 elif test -n "$PKG_CONFIG"; then
4218 if test -n "$PKG_CONFIG" && \
4219 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
4220 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
4222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4223 test $ac_status = 0; }; then
4224 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
4225 test "x$?" != "x0" && pkg_failed=yes
4235 if test $pkg_failed = yes; then
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4237 $as_echo "no" >&6; }
4239 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4240 _pkg_short_errors_supported=yes
4242 _pkg_short_errors_supported=no
4244 if test $_pkg_short_errors_supported = yes; then
4245 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1`
4247 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1`
4249 # Put the nasty error message in config.log where it belongs
4250 echo "$DBUS_PKG_ERRORS" >&5
4252 as_fn_error $? "Package requirements (dbus-1) were not met:
4256 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4257 installed software in a non-standard prefix.
4259 Alternatively, you may set the environment variables DBUS_CFLAGS
4260 and DBUS_LIBS to avoid the need to call pkg-config.
4261 See the pkg-config man page for more details." "$LINENO" 5
4262 elif test $pkg_failed = untried; then
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4264 $as_echo "no" >&6; }
4265 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4267 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4268 is in your PATH or set the PKG_CONFIG environment variable to the full
4271 Alternatively, you may set the environment variables DBUS_CFLAGS
4272 and DBUS_LIBS to avoid the need to call pkg-config.
4273 See the pkg-config man page for more details.
4275 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4276 See \`config.log' for more details" "$LINENO" 5; }
4278 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
4279 DBUS_LIBS=$pkg_cv_DBUS_LIBS
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4281 $as_echo "yes" >&6; }
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
4287 $as_echo_n "checking for GLIB... " >&6; }
4289 if test -n "$GLIB_CFLAGS"; then
4290 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
4291 elif test -n "$PKG_CONFIG"; then
4292 if test -n "$PKG_CONFIG" && \
4293 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.26.1\""; } >&5
4294 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.26.1") 2>&5
4296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4297 test $ac_status = 0; }; then
4298 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.26.1" 2>/dev/null`
4299 test "x$?" != "x0" && pkg_failed=yes
4306 if test -n "$GLIB_LIBS"; then
4307 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
4308 elif test -n "$PKG_CONFIG"; then
4309 if test -n "$PKG_CONFIG" && \
4310 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.26.1\""; } >&5
4311 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.26.1") 2>&5
4313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4314 test $ac_status = 0; }; then
4315 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.26.1" 2>/dev/null`
4316 test "x$?" != "x0" && pkg_failed=yes
4326 if test $pkg_failed = yes; then
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4328 $as_echo "no" >&6; }
4330 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4331 _pkg_short_errors_supported=yes
4333 _pkg_short_errors_supported=no
4335 if test $_pkg_short_errors_supported = yes; then
4336 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.26.1" 2>&1`
4338 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.26.1" 2>&1`
4340 # Put the nasty error message in config.log where it belongs
4341 echo "$GLIB_PKG_ERRORS" >&5
4343 as_fn_error $? "Package requirements (glib-2.0 >= 2.26.1) were not met:
4347 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4348 installed software in a non-standard prefix.
4350 Alternatively, you may set the environment variables GLIB_CFLAGS
4351 and GLIB_LIBS to avoid the need to call pkg-config.
4352 See the pkg-config man page for more details." "$LINENO" 5
4353 elif test $pkg_failed = untried; then
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4355 $as_echo "no" >&6; }
4356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4358 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4359 is in your PATH or set the PKG_CONFIG environment variable to the full
4362 Alternatively, you may set the environment variables GLIB_CFLAGS
4363 and GLIB_LIBS to avoid the need to call pkg-config.
4364 See the pkg-config man page for more details.
4366 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4367 See \`config.log' for more details" "$LINENO" 5; }
4369 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
4370 GLIB_LIBS=$pkg_cv_GLIB_LIBS
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4372 $as_echo "yes" >&6; }
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
4378 $as_echo_n "checking for GIO... " >&6; }
4380 if test -n "$GIO_CFLAGS"; then
4381 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
4382 elif test -n "$PKG_CONFIG"; then
4383 if test -n "$PKG_CONFIG" && \
4384 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26.1\""; } >&5
4385 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26.1") 2>&5
4387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4388 test $ac_status = 0; }; then
4389 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26.1" 2>/dev/null`
4390 test "x$?" != "x0" && pkg_failed=yes
4397 if test -n "$GIO_LIBS"; then
4398 pkg_cv_GIO_LIBS="$GIO_LIBS"
4399 elif test -n "$PKG_CONFIG"; then
4400 if test -n "$PKG_CONFIG" && \
4401 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26.1\""; } >&5
4402 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26.1") 2>&5
4404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4405 test $ac_status = 0; }; then
4406 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26.1" 2>/dev/null`
4407 test "x$?" != "x0" && pkg_failed=yes
4417 if test $pkg_failed = yes; then
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4419 $as_echo "no" >&6; }
4421 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4422 _pkg_short_errors_supported=yes
4424 _pkg_short_errors_supported=no
4426 if test $_pkg_short_errors_supported = yes; then
4427 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26.1" 2>&1`
4429 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26.1" 2>&1`
4431 # Put the nasty error message in config.log where it belongs
4432 echo "$GIO_PKG_ERRORS" >&5
4434 as_fn_error $? "Package requirements (gio-2.0 >= 2.26.1) were not met:
4438 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4439 installed software in a non-standard prefix.
4441 Alternatively, you may set the environment variables GIO_CFLAGS
4442 and GIO_LIBS to avoid the need to call pkg-config.
4443 See the pkg-config man page for more details." "$LINENO" 5
4444 elif test $pkg_failed = untried; then
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446 $as_echo "no" >&6; }
4447 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4449 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4450 is in your PATH or set the PKG_CONFIG environment variable to the full
4453 Alternatively, you may set the environment variables GIO_CFLAGS
4454 and GIO_LIBS to avoid the need to call pkg-config.
4455 See the pkg-config man page for more details.
4457 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4458 See \`config.log' for more details" "$LINENO" 5; }
4460 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
4461 GIO_LIBS=$pkg_cv_GIO_LIBS
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4463 $as_echo "yes" >&6; }
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSSDP" >&5
4469 $as_echo_n "checking for GSSDP... " >&6; }
4471 if test -n "$GSSDP_CFLAGS"; then
4472 pkg_cv_GSSDP_CFLAGS="$GSSDP_CFLAGS"
4473 elif test -n "$PKG_CONFIG"; then
4474 if test -n "$PKG_CONFIG" && \
4475 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= 0.13.0\""; } >&5
4476 ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= 0.13.0") 2>&5
4478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4479 test $ac_status = 0; }; then
4480 pkg_cv_GSSDP_CFLAGS=`$PKG_CONFIG --cflags "gssdp-1.0 >= 0.13.0" 2>/dev/null`
4481 test "x$?" != "x0" && pkg_failed=yes
4488 if test -n "$GSSDP_LIBS"; then
4489 pkg_cv_GSSDP_LIBS="$GSSDP_LIBS"
4490 elif test -n "$PKG_CONFIG"; then
4491 if test -n "$PKG_CONFIG" && \
4492 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= 0.13.0\""; } >&5
4493 ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= 0.13.0") 2>&5
4495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4496 test $ac_status = 0; }; then
4497 pkg_cv_GSSDP_LIBS=`$PKG_CONFIG --libs "gssdp-1.0 >= 0.13.0" 2>/dev/null`
4498 test "x$?" != "x0" && pkg_failed=yes
4508 if test $pkg_failed = yes; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4510 $as_echo "no" >&6; }
4512 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4513 _pkg_short_errors_supported=yes
4515 _pkg_short_errors_supported=no
4517 if test $_pkg_short_errors_supported = yes; then
4518 GSSDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gssdp-1.0 >= 0.13.0" 2>&1`
4520 GSSDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gssdp-1.0 >= 0.13.0" 2>&1`
4522 # Put the nasty error message in config.log where it belongs
4523 echo "$GSSDP_PKG_ERRORS" >&5
4525 as_fn_error $? "Package requirements (gssdp-1.0 >= 0.13.0) were not met:
4529 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4530 installed software in a non-standard prefix.
4532 Alternatively, you may set the environment variables GSSDP_CFLAGS
4533 and GSSDP_LIBS to avoid the need to call pkg-config.
4534 See the pkg-config man page for more details." "$LINENO" 5
4535 elif test $pkg_failed = untried; then
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4537 $as_echo "no" >&6; }
4538 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4540 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4541 is in your PATH or set the PKG_CONFIG environment variable to the full
4544 Alternatively, you may set the environment variables GSSDP_CFLAGS
4545 and GSSDP_LIBS to avoid the need to call pkg-config.
4546 See the pkg-config man page for more details.
4548 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4549 See \`config.log' for more details" "$LINENO" 5; }
4551 GSSDP_CFLAGS=$pkg_cv_GSSDP_CFLAGS
4552 GSSDP_LIBS=$pkg_cv_GSSDP_LIBS
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4554 $as_echo "yes" >&6; }
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNP" >&5
4560 $as_echo_n "checking for GUPNP... " >&6; }
4562 if test -n "$GUPNP_CFLAGS"; then
4563 pkg_cv_GUPNP_CFLAGS="$GUPNP_CFLAGS"
4564 elif test -n "$PKG_CONFIG"; then
4565 if test -n "$PKG_CONFIG" && \
4566 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.19.0\""; } >&5
4567 ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.19.0") 2>&5
4569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4570 test $ac_status = 0; }; then
4571 pkg_cv_GUPNP_CFLAGS=`$PKG_CONFIG --cflags "gupnp-1.0 >= 0.19.0" 2>/dev/null`
4572 test "x$?" != "x0" && pkg_failed=yes
4579 if test -n "$GUPNP_LIBS"; then
4580 pkg_cv_GUPNP_LIBS="$GUPNP_LIBS"
4581 elif test -n "$PKG_CONFIG"; then
4582 if test -n "$PKG_CONFIG" && \
4583 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.19.0\""; } >&5
4584 ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.19.0") 2>&5
4586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4587 test $ac_status = 0; }; then
4588 pkg_cv_GUPNP_LIBS=`$PKG_CONFIG --libs "gupnp-1.0 >= 0.19.0" 2>/dev/null`
4589 test "x$?" != "x0" && pkg_failed=yes
4599 if test $pkg_failed = yes; then
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4601 $as_echo "no" >&6; }
4603 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4604 _pkg_short_errors_supported=yes
4606 _pkg_short_errors_supported=no
4608 if test $_pkg_short_errors_supported = yes; then
4609 GUPNP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-1.0 >= 0.19.0" 2>&1`
4611 GUPNP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-1.0 >= 0.19.0" 2>&1`
4613 # Put the nasty error message in config.log where it belongs
4614 echo "$GUPNP_PKG_ERRORS" >&5
4616 as_fn_error $? "Package requirements (gupnp-1.0 >= 0.19.0) were not met:
4620 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4621 installed software in a non-standard prefix.
4623 Alternatively, you may set the environment variables GUPNP_CFLAGS
4624 and GUPNP_LIBS to avoid the need to call pkg-config.
4625 See the pkg-config man page for more details." "$LINENO" 5
4626 elif test $pkg_failed = untried; then
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4628 $as_echo "no" >&6; }
4629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4631 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4632 is in your PATH or set the PKG_CONFIG environment variable to the full
4635 Alternatively, you may set the environment variables GUPNP_CFLAGS
4636 and GUPNP_LIBS to avoid the need to call pkg-config.
4637 See the pkg-config man page for more details.
4639 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4640 See \`config.log' for more details" "$LINENO" 5; }
4642 GUPNP_CFLAGS=$pkg_cv_GUPNP_CFLAGS
4643 GUPNP_LIBS=$pkg_cv_GUPNP_LIBS
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4645 $as_echo "yes" >&6; }
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNPAV" >&5
4651 $as_echo_n "checking for GUPNPAV... " >&6; }
4653 if test -n "$GUPNPAV_CFLAGS"; then
4654 pkg_cv_GUPNPAV_CFLAGS="$GUPNPAV_CFLAGS"
4655 elif test -n "$PKG_CONFIG"; then
4656 if test -n "$PKG_CONFIG" && \
4657 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= 0.11.0\""; } >&5
4658 ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= 0.11.0") 2>&5
4660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4661 test $ac_status = 0; }; then
4662 pkg_cv_GUPNPAV_CFLAGS=`$PKG_CONFIG --cflags "gupnp-av-1.0 >= 0.11.0" 2>/dev/null`
4663 test "x$?" != "x0" && pkg_failed=yes
4670 if test -n "$GUPNPAV_LIBS"; then
4671 pkg_cv_GUPNPAV_LIBS="$GUPNPAV_LIBS"
4672 elif test -n "$PKG_CONFIG"; then
4673 if test -n "$PKG_CONFIG" && \
4674 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= 0.11.0\""; } >&5
4675 ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= 0.11.0") 2>&5
4677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4678 test $ac_status = 0; }; then
4679 pkg_cv_GUPNPAV_LIBS=`$PKG_CONFIG --libs "gupnp-av-1.0 >= 0.11.0" 2>/dev/null`
4680 test "x$?" != "x0" && pkg_failed=yes
4690 if test $pkg_failed = yes; then
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4692 $as_echo "no" >&6; }
4694 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4695 _pkg_short_errors_supported=yes
4697 _pkg_short_errors_supported=no
4699 if test $_pkg_short_errors_supported = yes; then
4700 GUPNPAV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-av-1.0 >= 0.11.0" 2>&1`
4702 GUPNPAV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-av-1.0 >= 0.11.0" 2>&1`
4704 # Put the nasty error message in config.log where it belongs
4705 echo "$GUPNPAV_PKG_ERRORS" >&5
4707 as_fn_error $? "Package requirements (gupnp-av-1.0 >= 0.11.0) were not met:
4711 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4712 installed software in a non-standard prefix.
4714 Alternatively, you may set the environment variables GUPNPAV_CFLAGS
4715 and GUPNPAV_LIBS to avoid the need to call pkg-config.
4716 See the pkg-config man page for more details." "$LINENO" 5
4717 elif test $pkg_failed = untried; then
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719 $as_echo "no" >&6; }
4720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4722 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4723 is in your PATH or set the PKG_CONFIG environment variable to the full
4726 Alternatively, you may set the environment variables GUPNPAV_CFLAGS
4727 and GUPNPAV_LIBS to avoid the need to call pkg-config.
4728 See the pkg-config man page for more details.
4730 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4731 See \`config.log' for more details" "$LINENO" 5; }
4733 GUPNPAV_CFLAGS=$pkg_cv_GUPNPAV_CFLAGS
4734 GUPNPAV_LIBS=$pkg_cv_GUPNPAV_LIBS
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4736 $as_echo "yes" >&6; }
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
4742 $as_echo_n "checking for SOUP... " >&6; }
4744 if test -n "$SOUP_CFLAGS"; then
4745 pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
4746 elif test -n "$PKG_CONFIG"; then
4747 if test -n "$PKG_CONFIG" && \
4748 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.28.2\""; } >&5
4749 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.28.2") 2>&5
4751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4752 test $ac_status = 0; }; then
4753 pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.28.2" 2>/dev/null`
4754 test "x$?" != "x0" && pkg_failed=yes
4761 if test -n "$SOUP_LIBS"; then
4762 pkg_cv_SOUP_LIBS="$SOUP_LIBS"
4763 elif test -n "$PKG_CONFIG"; then
4764 if test -n "$PKG_CONFIG" && \
4765 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.28.2\""; } >&5
4766 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.28.2") 2>&5
4768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4769 test $ac_status = 0; }; then
4770 pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.28.2" 2>/dev/null`
4771 test "x$?" != "x0" && pkg_failed=yes
4781 if test $pkg_failed = yes; then
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783 $as_echo "no" >&6; }
4785 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4786 _pkg_short_errors_supported=yes
4788 _pkg_short_errors_supported=no
4790 if test $_pkg_short_errors_supported = yes; then
4791 SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= 2.28.2" 2>&1`
4793 SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= 2.28.2" 2>&1`
4795 # Put the nasty error message in config.log where it belongs
4796 echo "$SOUP_PKG_ERRORS" >&5
4798 as_fn_error $? "Package requirements (libsoup-2.4 >= 2.28.2) were not met:
4802 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4803 installed software in a non-standard prefix.
4805 Alternatively, you may set the environment variables SOUP_CFLAGS
4806 and SOUP_LIBS to avoid the need to call pkg-config.
4807 See the pkg-config man page for more details." "$LINENO" 5
4808 elif test $pkg_failed = untried; then
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4810 $as_echo "no" >&6; }
4811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4813 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4814 is in your PATH or set the PKG_CONFIG environment variable to the full
4817 Alternatively, you may set the environment variables SOUP_CFLAGS
4818 and SOUP_LIBS to avoid the need to call pkg-config.
4819 See the pkg-config man page for more details.
4821 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4822 See \`config.log' for more details" "$LINENO" 5; }
4824 SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
4825 SOUP_LIBS=$pkg_cv_SOUP_LIBS
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4827 $as_echo "yes" >&6; }
4831 # Checks for header files.
4834 ac_cpp='$CPP $CPPFLAGS'
4835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4839 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4840 # On Suns, sometimes $CPP names a directory.
4841 if test -n "$CPP" && test -d "$CPP"; then
4844 if test -z "$CPP"; then
4845 if ${ac_cv_prog_CPP+:} false; then :
4846 $as_echo_n "(cached) " >&6
4848 # Double quotes because CPP needs to be expanded
4849 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4852 for ac_c_preproc_warn_flag in '' yes
4854 # Use a header file that comes with gcc, so configuring glibc
4855 # with a fresh cross-compiler works.
4856 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4857 # <limits.h> exists even on freestanding compilers.
4858 # On the NeXT, cc -E runs the code through the compiler's parser,
4859 # not just through cpp. "Syntax error" is here to catch this case.
4860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4861 /* end confdefs.h. */
4863 # include <limits.h>
4865 # include <assert.h>
4869 if ac_fn_c_try_cpp "$LINENO"; then :
4872 # Broken: fails on valid input.
4875 rm -f conftest.err conftest.i conftest.$ac_ext
4877 # OK, works on sane cases. Now check whether nonexistent headers
4878 # can be detected and how.
4879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4880 /* end confdefs.h. */
4881 #include <ac_nonexistent.h>
4883 if ac_fn_c_try_cpp "$LINENO"; then :
4884 # Broken: success on invalid input.
4887 # Passes both tests.
4891 rm -f conftest.err conftest.i conftest.$ac_ext
4894 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4895 rm -f conftest.i conftest.err conftest.$ac_ext
4896 if $ac_preproc_ok; then :
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4909 $as_echo "$CPP" >&6; }
4911 for ac_c_preproc_warn_flag in '' yes
4913 # Use a header file that comes with gcc, so configuring glibc
4914 # with a fresh cross-compiler works.
4915 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4916 # <limits.h> exists even on freestanding compilers.
4917 # On the NeXT, cc -E runs the code through the compiler's parser,
4918 # not just through cpp. "Syntax error" is here to catch this case.
4919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4920 /* end confdefs.h. */
4922 # include <limits.h>
4924 # include <assert.h>
4928 if ac_fn_c_try_cpp "$LINENO"; then :
4931 # Broken: fails on valid input.
4934 rm -f conftest.err conftest.i conftest.$ac_ext
4936 # OK, works on sane cases. Now check whether nonexistent headers
4937 # can be detected and how.
4938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4939 /* end confdefs.h. */
4940 #include <ac_nonexistent.h>
4942 if ac_fn_c_try_cpp "$LINENO"; then :
4943 # Broken: success on invalid input.
4946 # Passes both tests.
4950 rm -f conftest.err conftest.i conftest.$ac_ext
4953 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4954 rm -f conftest.i conftest.err conftest.$ac_ext
4955 if $ac_preproc_ok; then :
4958 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4960 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4961 See \`config.log' for more details" "$LINENO" 5; }
4965 ac_cpp='$CPP $CPPFLAGS'
4966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4972 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4973 if ${ac_cv_path_GREP+:} false; then :
4974 $as_echo_n "(cached) " >&6
4976 if test -z "$GREP"; then
4977 ac_path_GREP_found=false
4978 # Loop through the user's path and test for each of PROGNAME-LIST
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4983 test -z "$as_dir" && as_dir=.
4984 for ac_prog in grep ggrep; do
4985 for ac_exec_ext in '' $ac_executable_extensions; do
4986 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4987 as_fn_executable_p "$ac_path_GREP" || continue
4988 # Check for GNU ac_path_GREP and select it if it is found.
4989 # Check for GNU $ac_path_GREP
4990 case `"$ac_path_GREP" --version 2>&1` in
4992 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4995 $as_echo_n 0123456789 >"conftest.in"
4998 cat "conftest.in" "conftest.in" >"conftest.tmp"
4999 mv "conftest.tmp" "conftest.in"
5000 cp "conftest.in" "conftest.nl"
5001 $as_echo 'GREP' >> "conftest.nl"
5002 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5003 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5004 as_fn_arith $ac_count + 1 && ac_count=$as_val
5005 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5006 # Best one so far, save it but keep looking for a better one
5007 ac_cv_path_GREP="$ac_path_GREP"
5008 ac_path_GREP_max=$ac_count
5010 # 10*(2^10) chars as input seems more than enough
5011 test $ac_count -gt 10 && break
5013 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5016 $ac_path_GREP_found && break 3
5021 if test -z "$ac_cv_path_GREP"; then
5022 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5025 ac_cv_path_GREP=$GREP
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5030 $as_echo "$ac_cv_path_GREP" >&6; }
5031 GREP="$ac_cv_path_GREP"
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5035 $as_echo_n "checking for egrep... " >&6; }
5036 if ${ac_cv_path_EGREP+:} false; then :
5037 $as_echo_n "(cached) " >&6
5039 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5040 then ac_cv_path_EGREP="$GREP -E"
5042 if test -z "$EGREP"; then
5043 ac_path_EGREP_found=false
5044 # Loop through the user's path and test for each of PROGNAME-LIST
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5049 test -z "$as_dir" && as_dir=.
5050 for ac_prog in egrep; do
5051 for ac_exec_ext in '' $ac_executable_extensions; do
5052 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5053 as_fn_executable_p "$ac_path_EGREP" || continue
5054 # Check for GNU ac_path_EGREP and select it if it is found.
5055 # Check for GNU $ac_path_EGREP
5056 case `"$ac_path_EGREP" --version 2>&1` in
5058 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5061 $as_echo_n 0123456789 >"conftest.in"
5064 cat "conftest.in" "conftest.in" >"conftest.tmp"
5065 mv "conftest.tmp" "conftest.in"
5066 cp "conftest.in" "conftest.nl"
5067 $as_echo 'EGREP' >> "conftest.nl"
5068 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5069 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5070 as_fn_arith $ac_count + 1 && ac_count=$as_val
5071 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5072 # Best one so far, save it but keep looking for a better one
5073 ac_cv_path_EGREP="$ac_path_EGREP"
5074 ac_path_EGREP_max=$ac_count
5076 # 10*(2^10) chars as input seems more than enough
5077 test $ac_count -gt 10 && break
5079 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5082 $ac_path_EGREP_found && break 3
5087 if test -z "$ac_cv_path_EGREP"; then
5088 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5091 ac_cv_path_EGREP=$EGREP
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5097 $as_echo "$ac_cv_path_EGREP" >&6; }
5098 EGREP="$ac_cv_path_EGREP"
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5102 $as_echo_n "checking for ANSI C header files... " >&6; }
5103 if ${ac_cv_header_stdc+:} false; then :
5104 $as_echo_n "(cached) " >&6
5106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5107 /* end confdefs.h. */
5121 if ac_fn_c_try_compile "$LINENO"; then :
5122 ac_cv_header_stdc=yes
5124 ac_cv_header_stdc=no
5126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5128 if test $ac_cv_header_stdc = yes; then
5129 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5131 /* end confdefs.h. */
5135 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5136 $EGREP "memchr" >/dev/null 2>&1; then :
5139 ac_cv_header_stdc=no
5145 if test $ac_cv_header_stdc = yes; then
5146 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5148 /* end confdefs.h. */
5152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5153 $EGREP "free" >/dev/null 2>&1; then :
5156 ac_cv_header_stdc=no
5162 if test $ac_cv_header_stdc = yes; then
5163 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5164 if test "$cross_compiling" = yes; then :
5167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5168 /* end confdefs.h. */
5171 #if ((' ' & 0x0FF) == 0x020)
5172 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5173 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5175 # define ISLOWER(c) \
5176 (('a' <= (c) && (c) <= 'i') \
5177 || ('j' <= (c) && (c) <= 'r') \
5178 || ('s' <= (c) && (c) <= 'z'))
5179 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5182 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5187 for (i = 0; i < 256; i++)
5188 if (XOR (islower (i), ISLOWER (i))
5189 || toupper (i) != TOUPPER (i))
5194 if ac_fn_c_try_run "$LINENO"; then :
5197 ac_cv_header_stdc=no
5199 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5200 conftest.$ac_objext conftest.beam conftest.$ac_ext
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5206 $as_echo "$ac_cv_header_stdc" >&6; }
5207 if test $ac_cv_header_stdc = yes; then
5209 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5213 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5214 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5215 inttypes.h stdint.h unistd.h
5217 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5218 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5220 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5221 cat >>confdefs.h <<_ACEOF
5222 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5230 for ac_header in stdlib.h string.h syslog.h
5232 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5233 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5234 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5235 cat >>confdefs.h <<_ACEOF
5236 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5244 # Checks for typedefs, structures, and compiler characteristics.
5245 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
5246 case $ac_cv_c_uint8_t in #(
5250 $as_echo "#define _UINT8_T 1" >>confdefs.h
5253 cat >>confdefs.h <<_ACEOF
5254 #define uint8_t $ac_cv_c_uint8_t
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5260 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5261 if ${ac_cv_header_stdbool_h+:} false; then :
5262 $as_echo_n "(cached) " >&6
5264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5265 /* end confdefs.h. */
5267 #include <stdbool.h>
5269 "error: bool is not defined"
5272 "error: false is not defined"
5275 "error: false is not 0"
5278 "error: true is not defined"
5281 "error: true is not 1"
5283 #ifndef __bool_true_false_are_defined
5284 "error: __bool_true_false_are_defined is not defined"
5287 struct s { _Bool s: 1; _Bool t; } s;
5289 char a[true == 1 ? 1 : -1];
5290 char b[false == 0 ? 1 : -1];
5291 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5292 char d[(bool) 0.5 == true ? 1 : -1];
5293 /* See body of main program for 'e'. */
5294 char f[(_Bool) 0.0 == false ? 1 : -1];
5296 char h[sizeof (_Bool)];
5298 enum { j = false, k = true, l = false * true, m = true * 256 };
5299 /* The following fails for
5300 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5302 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5303 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5304 /* Catch a bug in an HP-UX C compiler. See
5305 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5306 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5318 /* Refer to every declared value, to avoid compiler optimizations. */
5319 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5320 + !m + !n + !o + !p + !q + !pq);
5326 if ac_fn_c_try_compile "$LINENO"; then :
5327 ac_cv_header_stdbool_h=yes
5329 ac_cv_header_stdbool_h=no
5331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5334 $as_echo "$ac_cv_header_stdbool_h" >&6; }
5335 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5336 if test "x$ac_cv_type__Bool" = xyes; then :
5338 cat >>confdefs.h <<_ACEOF
5339 #define HAVE__BOOL 1
5346 if test $ac_cv_header_stdbool_h = yes; then
5348 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
5352 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5353 if test "x$ac_cv_type_size_t" = xyes; then :
5357 cat >>confdefs.h <<_ACEOF
5358 #define size_t unsigned int
5364 # Checks for library functions.
5365 for ac_header in stdlib.h
5367 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5368 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5369 cat >>confdefs.h <<_ACEOF
5370 #define HAVE_STDLIB_H 1
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5378 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5379 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
5380 $as_echo_n "(cached) " >&6
5382 if test "$cross_compiling" = yes; then :
5383 ac_cv_func_malloc_0_nonnull=no
5385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5386 /* end confdefs.h. */
5387 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5388 # include <stdlib.h>
5396 return ! malloc (0);
5401 if ac_fn_c_try_run "$LINENO"; then :
5402 ac_cv_func_malloc_0_nonnull=yes
5404 ac_cv_func_malloc_0_nonnull=no
5406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5407 conftest.$ac_objext conftest.beam conftest.$ac_ext
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5412 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5413 if test $ac_cv_func_malloc_0_nonnull = yes; then :
5415 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5418 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5420 case " $LIBOBJS " in
5421 *" malloc.$ac_objext "* ) ;;
5422 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5427 $as_echo "#define malloc rpl_malloc" >>confdefs.h
5432 for ac_header in stdlib.h
5434 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5435 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5436 cat >>confdefs.h <<_ACEOF
5437 #define HAVE_STDLIB_H 1
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
5445 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
5446 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
5447 $as_echo_n "(cached) " >&6
5449 if test "$cross_compiling" = yes; then :
5450 ac_cv_func_realloc_0_nonnull=no
5452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h. */
5454 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5455 # include <stdlib.h>
5463 return ! realloc (0, 0);
5468 if ac_fn_c_try_run "$LINENO"; then :
5469 ac_cv_func_realloc_0_nonnull=yes
5471 ac_cv_func_realloc_0_nonnull=no
5473 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5474 conftest.$ac_objext conftest.beam conftest.$ac_ext
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
5479 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
5480 if test $ac_cv_func_realloc_0_nonnull = yes; then :
5482 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
5485 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
5487 case " $LIBOBJS " in
5488 *" realloc.$ac_objext "* ) ;;
5489 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
5494 $as_echo "#define realloc rpl_realloc" >>confdefs.h
5499 for ac_func in memset strchr strrchr strstr
5501 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5502 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5503 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5504 cat >>confdefs.h <<_ACEOF
5505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5512 # Define Log Level values
5524 cat >>confdefs.h <<_ACEOF
5525 #define RSU_LOG_LEVEL_DISABLED ${LOG_LEVEL_0}
5529 cat >>confdefs.h <<_ACEOF
5530 #define RSU_LOG_LEVEL_ERROR ${LOG_LEVEL_1}
5534 cat >>confdefs.h <<_ACEOF
5535 #define RSU_LOG_LEVEL_CRITICAL ${LOG_LEVEL_2}
5539 cat >>confdefs.h <<_ACEOF
5540 #define RSU_LOG_LEVEL_WARNING ${LOG_LEVEL_3}
5544 cat >>confdefs.h <<_ACEOF
5545 #define RSU_LOG_LEVEL_MESSAGE ${LOG_LEVEL_4}
5549 cat >>confdefs.h <<_ACEOF
5550 #define RSU_LOG_LEVEL_INFO ${LOG_LEVEL_5}
5554 cat >>confdefs.h <<_ACEOF
5555 #define RSU_LOG_LEVEL_DEBUG ${LOG_LEVEL_6}
5559 cat >>confdefs.h <<_ACEOF
5560 #define RSU_LOG_LEVEL_DEFAULT ${LOG_LEVEL_7}
5564 cat >>confdefs.h <<_ACEOF
5565 #define RSU_LOG_LEVEL_ALL ${LOG_LEVEL_8}
5570 # Check whether --enable-debug was given.
5571 if test "${enable_debug+set}" = set; then :
5572 enableval=$enable_debug;
5578 case "${enable_debug}" in #(
5580 CFLAGS="$CFLAGS -g";
5582 cat >>confdefs.h <<_ACEOF
5583 #define RSU_DEBUG_ENABLED 1
5590 as_fn_error $? "bad value ${enable_debug} for --enable-debug" "$LINENO" 5 ;;
5594 # Check whether --enable-werror was given.
5595 if test "${enable_werror+set}" = set; then :
5596 enableval=$enable_werror;
5602 case "${enable_werror}" in #(
5604 CFLAGS="$CFLAGS -Werror" ;; #(
5608 as_fn_error $? "bad value ${enable_werror} for --enable-werror" "$LINENO" 5 ;;
5612 # Check whether --enable-optimization was given.
5613 if test "${enable_optimization+set}" = set; then :
5614 enableval=$enable_optimization;
5616 enable_optimization=yes
5620 case "${enable_optimization}" in #(
5622 disable_optimization=no ;; #(
5624 CFLAGS="$CFLAGS -O0"; disable_optimization=yes ;; #(
5626 as_fn_error $? "bad value ${enable_optimization} for --enable-werror" "$LINENO" 5 ;;
5630 # Check whether --enable-never-quit was given.
5631 if test "${enable_never_quit+set}" = set; then :
5632 enableval=$enable_never_quit;
5634 enable_never_quit=no
5638 case "${enable_never_quit}" in #(
5640 never_quit=true; NQ=TRUE ;; #(
5642 never_quit=false; NQ=FALSE ;; #(
5644 as_fn_error $? "bad value ${enable_never_quit} for --enable-never-quit" "$LINENO" 5 ;;
5648 cat >>confdefs.h <<_ACEOF
5649 #define RSU_NEVER_QUIT ${NQ}
5655 # Check whether --with-log-level was given.
5656 if test "${with_log_level+set}" = set; then :
5657 withval=$with_log_level;
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-log-level=${with_log_level}" >&5
5665 $as_echo_n "checking for --with-log-level=${with_log_level}... " >&6; }
5674 log_array=(0 0 0 0 0 0 0 0 0)
5676 for log_level in ${with_log_level}
5680 case $log_level in #(
5682 if test ${log_array[${log_level}]} -ne 0; then :
5684 as_fn_error 1 "\"$log_level should be set once\"" "$LINENO" 5
5686 elif test "x${log_single}" = xyes; then :
5688 as_fn_error 1 "\"Unique value element already set\"" "$LINENO" 5
5693 if test ${log_level_count} -ne 0; then :
5695 as_fn_error 1 "\"$log_level should be a unique value element\"" "$LINENO" 5
5701 as_fn_error 1 "\"$log_level is not a valid value\"" "$LINENO" 5
5705 log_name=LOG_LEVEL_${log_level}
5706 eval log_value=\$${log_name}
5707 let "LOG_LEVEL |= ${log_value}"
5712 let log_level_count++
5713 let log_array[${log_level}]++
5719 cat >>confdefs.h <<_ACEOF
5720 #define RSU_LOG_LEVEL ${LOG_LEVEL}
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5725 $as_echo "ok" >&6; }
5731 # Check whether --with-log-type was given.
5732 if test "${with_log_type+set}" = set; then :
5733 withval=$with_log_type;
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-log-type=${with_log_type}" >&5
5741 $as_echo_n "checking for --with-log-type=${with_log_type}... " >&6; }
5743 case ${with_log_type} in #(
5747 as_fn_error 1 "\"${with_log_type} is not a valid value\"" "$LINENO" 5
5752 cat >>confdefs.h <<_ACEOF
5753 #define RSU_LOG_TYPE ${with_log_type}
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5758 $as_echo "ok" >&6; }
5763 DBUS_SESSION_DIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
5767 $as_echo "#define RSU_SERVICE \"com.intel.RendererServiceUPnP\"" >>confdefs.h
5770 $as_echo "#define RSU_OBJECT \"/com/intel/RendererServiceUPnP\"" >>confdefs.h
5773 $as_echo "#define RSU_SERVER_PATH \"/com/intel/RendererServiceUPnP/server\"" >>confdefs.h
5776 RSU_SERVER_NAME=com.intel.renderer-service-upnp
5779 $as_echo "#define RSU_SERVER_NAME \"com.intel.renderer-service-upnp\"" >>confdefs.h
5782 RSU_INTERFACE_MANAGER=com.intel.RendererServiceUPnP.Manager
5785 $as_echo "#define RSU_INTERFACE_MANAGER \"com.intel.RendererServiceUPnP.Manager\"" >>confdefs.h
5788 RSU_INTERFACE_RENDERER_DEVICE=com.intel.UPnP.RendererDevice
5791 $as_echo "#define RSU_INTERFACE_RENDERER_DEVICE \"com.intel.UPnP.RendererDevice\"" >>confdefs.h
5794 RSU_INTERFACE_PUSH_HOST=com.intel.RendererServiceUPnP.PushHost
5797 $as_echo "#define RSU_INTERFACE_PUSH_HOST \"com.intel.RendererServiceUPnP.PushHost\"" >>confdefs.h
5804 ac_config_files="$ac_config_files Makefile src/com.intel.renderer-service-upnp.service renderer-service-upnp.pc renderer-service-upnp.conf"
5807 cat >confcache <<\_ACEOF
5808 # This file is a shell script that caches the results of configure
5809 # tests run on this system so they can be shared between configure
5810 # scripts and configure runs, see configure's option --config-cache.
5811 # It is not useful on other systems. If it contains results you don't
5812 # want to keep, you may remove or edit it.
5814 # config.status only pays attention to the cache file if you give it
5815 # the --recheck option to rerun configure.
5817 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5818 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5823 # The following way of writing the cache mishandles newlines in values,
5824 # but we know of no workaround that is simple, portable, and efficient.
5825 # So, we kill variables containing newlines.
5826 # Ultrix sh set writes to stderr and can't be redirected directly,
5827 # and sets the high bit in the cache file unless we assign to the vars.
5829 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5830 eval ac_val=\$$ac_var
5834 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5835 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5838 _ | IFS | as_nl) ;; #(
5839 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5840 *) { eval $ac_var=; unset $ac_var;} ;;
5846 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5847 *${as_nl}ac_space=\ *)
5848 # `set' does not quote correctly, so add quotes: double-quote
5849 # substitution turns \\\\ into \\, and sed turns \\ into \.
5852 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5855 # `set' quotes correctly as required by POSIX, so do not add quotes.
5856 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5865 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5867 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5869 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5870 if test -w "$cache_file"; then
5871 if test "x$cache_file" != "x/dev/null"; then
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5873 $as_echo "$as_me: updating cache $cache_file" >&6;}
5874 if test ! -f "$cache_file" || test -h "$cache_file"; then
5875 cat confcache >"$cache_file"
5877 case $cache_file in #(
5879 mv -f confcache "$cache_file"$$ &&
5880 mv -f "$cache_file"$$ "$cache_file" ;; #(
5882 mv -f confcache "$cache_file" ;;
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5888 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5893 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5894 # Let make expand exec_prefix.
5895 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5897 DEFS=-DHAVE_CONFIG_H
5902 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5903 # 1. Remove the extension, and $U if already installed.
5904 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5905 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5906 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5907 # will be set to the directory where LIBOBJS objects are built.
5908 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5909 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5913 LTLIBOBJS=$ac_ltlibobjs
5916 if test -n "$EXEEXT"; then
5918 am__EXEEXT_FALSE='#'
5924 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5925 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5928 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5929 as_fn_error $? "conditional \"AMDEP\" was never defined.
5930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5932 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5933 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5937 : "${CONFIG_STATUS=./config.status}"
5939 ac_clean_files_save=$ac_clean_files
5940 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5942 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5944 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5946 # Generated by $as_me.
5947 # Run this file to recreate the current configuration.
5948 # Compiler output produced by configure, useful for debugging
5949 # configure, is in config.log if it exists.
5955 SHELL=\${CONFIG_SHELL-$SHELL}
5958 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5959 ## -------------------- ##
5960 ## M4sh Initialization. ##
5961 ## -------------------- ##
5963 # Be more Bourne compatible
5964 DUALCASE=1; export DUALCASE # for MKS sh
5965 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5968 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5969 # is contrary to our usage. Disable this feature.
5970 alias -g '${1+"$@"}'='"$@"'
5971 setopt NO_GLOB_SUBST
5973 case `(set -o) 2>/dev/null` in #(
5985 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5986 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5987 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5988 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5989 # Prefer a ksh shell builtin over an external printf program on Solaris,
5990 # but without wasting forks for bash or zsh.
5991 if test -z "$BASH_VERSION$ZSH_VERSION" \
5992 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5993 as_echo='print -r --'
5994 as_echo_n='print -rn --'
5995 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5996 as_echo='printf %s\n'
5997 as_echo_n='printf %s'
5999 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6000 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6001 as_echo_n='/usr/ucb/echo -n'
6003 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6004 as_echo_n_body='eval
6008 expr "X$arg" : "X\\(.*\\)$as_nl";
6009 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6011 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6013 export as_echo_n_body
6014 as_echo_n='sh -c $as_echo_n_body as_echo'
6017 as_echo='sh -c $as_echo_body as_echo'
6020 # The user is always right.
6021 if test "${PATH_SEPARATOR+set}" != set; then
6023 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6024 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6031 # We need space, tab and new line, in precisely that order. Quoting is
6032 # there to prevent editors from complaining about space-tab.
6033 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6034 # splitting by setting IFS to empty value.)
6037 # Find who we are. Look in the path if we contain no directory separator.
6040 *[\\/]* ) as_myself=$0 ;;
6041 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 test -z "$as_dir" && as_dir=.
6046 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6052 # We did not find ourselves, most probably we were run as `sh COMMAND'
6053 # in which case we are not to be found in the path.
6054 if test "x$as_myself" = x; then
6057 if test ! -f "$as_myself"; then
6058 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6062 # Unset variables that we do not need and which cause bugs (e.g. in
6063 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6064 # suppresses any "Segmentation fault" message there. '((' could
6065 # trigger a bug in pdksh 5.2.14.
6066 for as_var in BASH_ENV ENV MAIL MAILPATH
6067 do eval test x\${$as_var+set} = xset \
6068 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6081 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6084 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6085 # ----------------------------------------
6086 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6087 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6088 # script with STATUS, using 1 if that was 0.
6091 as_status=$1; test $as_status -eq 0 && as_status=1
6093 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6094 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6096 $as_echo "$as_me: error: $2" >&2
6097 as_fn_exit $as_status
6101 # as_fn_set_status STATUS
6102 # -----------------------
6103 # Set $? to STATUS, without forking.
6107 } # as_fn_set_status
6111 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6121 # Portably unset VAR.
6124 { eval $1=; unset $1;}
6126 as_unset=as_fn_unset
6127 # as_fn_append VAR VALUE
6128 # ----------------------
6129 # Append the text in VALUE to the end of the definition contained in VAR. Take
6130 # advantage of any shell optimizations that allow amortized linear growth over
6131 # repeated appends, instead of the typical quadratic growth present in naive
6133 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6134 eval 'as_fn_append ()
6145 # as_fn_arith ARG...
6146 # ------------------
6147 # Perform arithmetic evaluation on the ARGs, and store the result in the
6148 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6149 # must be portable across $(()) and expr.
6150 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6151 eval 'as_fn_arith ()
6158 as_val=`expr "$@" || test $? -eq 1`
6163 if expr a : '\(a\)' >/dev/null 2>&1 &&
6164 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6170 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6171 as_basename=basename
6176 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6182 as_me=`$as_basename -- "$0" ||
6183 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6184 X"$0" : 'X\(//\)$' \| \
6185 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6187 sed '/^.*\/\([^/][^/]*\)\/*$/{
6201 # Avoid depending upon Character Ranges.
6202 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6203 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6204 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6205 as_cr_digits='0123456789'
6206 as_cr_alnum=$as_cr_Letters$as_cr_digits
6208 ECHO_C= ECHO_N= ECHO_T=
6209 case `echo -n x` in #(((((
6211 case `echo 'xy\c'` in
6212 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6214 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6221 rm -f conf$$ conf$$.exe conf$$.file
6222 if test -d conf$$.dir; then
6223 rm -f conf$$.dir/conf$$.file
6226 mkdir conf$$.dir 2>/dev/null
6228 if (echo >conf$$.file) 2>/dev/null; then
6229 if ln -s conf$$.file conf$$ 2>/dev/null; then
6231 # ... but there are two gotchas:
6232 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6233 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6234 # In both cases, we have to default to `cp -pR'.
6235 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6237 elif ln conf$$.file conf$$ 2>/dev/null; then
6245 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6246 rmdir conf$$.dir 2>/dev/null
6251 # Create "$as_dir" as a directory, including parents if necessary.
6256 -*) as_dir=./$as_dir;;
6258 test -d "$as_dir" || eval $as_mkdir_p || {
6262 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6263 *) as_qdir=$as_dir;;
6265 as_dirs="'$as_qdir' $as_dirs"
6266 as_dir=`$as_dirname -- "$as_dir" ||
6267 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6268 X"$as_dir" : 'X\(//\)[^/]' \| \
6269 X"$as_dir" : 'X\(//\)$' \| \
6270 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6271 $as_echo X"$as_dir" |
6272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6289 test -d "$as_dir" && break
6291 test -z "$as_dirs" || eval "mkdir $as_dirs"
6292 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6296 if mkdir -p . 2>/dev/null; then
6297 as_mkdir_p='mkdir -p "$as_dir"'
6299 test -d ./-p && rmdir ./-p
6304 # as_fn_executable_p FILE
6305 # -----------------------
6306 # Test if FILE is an executable regular file.
6307 as_fn_executable_p ()
6309 test -f "$1" && test -x "$1"
6310 } # as_fn_executable_p
6312 as_executable_p=as_fn_executable_p
6314 # Sed expression to map a string onto a valid CPP name.
6315 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6317 # Sed expression to map a string onto a valid variable name.
6318 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6322 ## ----------------------------------- ##
6323 ## Main body of $CONFIG_STATUS script. ##
6324 ## ----------------------------------- ##
6326 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6329 # Save the log message, to keep $0 and so on meaningful, and to
6330 # report actual input values of CONFIG_FILES etc. instead of their
6331 # values after options handling.
6333 This file was extended by renderer-service-upnp $as_me 0.2.0, which was
6334 generated by GNU Autoconf 2.69. Invocation command line was
6336 CONFIG_FILES = $CONFIG_FILES
6337 CONFIG_HEADERS = $CONFIG_HEADERS
6338 CONFIG_LINKS = $CONFIG_LINKS
6339 CONFIG_COMMANDS = $CONFIG_COMMANDS
6342 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6347 case $ac_config_files in *"
6348 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6351 case $ac_config_headers in *"
6352 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6357 # Files that config.status was made for.
6358 config_files="$ac_config_files"
6359 config_headers="$ac_config_headers"
6360 config_commands="$ac_config_commands"
6364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6366 \`$as_me' instantiates files and other configuration actions
6367 from templates according to the current configuration. Unless the files
6368 and actions are specified as TAGs, all are instantiated by default.
6370 Usage: $0 [OPTION]... [TAG]...
6372 -h, --help print this help, then exit
6373 -V, --version print version number and configuration settings, then exit
6374 --config print configuration, then exit
6375 -q, --quiet, --silent
6376 do not print progress messages
6377 -d, --debug don't remove temporary files
6378 --recheck update $as_me by reconfiguring in the same conditions
6379 --file=FILE[:TEMPLATE]
6380 instantiate the configuration file FILE
6381 --header=FILE[:TEMPLATE]
6382 instantiate the configuration header FILE
6384 Configuration files:
6387 Configuration headers:
6390 Configuration commands:
6393 Report bugs to <https://github.com/01org/renderer-service-upnp/issues/new>.
6394 renderer-service-upnp home page: <https://01.org/dleyna/>."
6397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6398 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6400 renderer-service-upnp config.status 0.2.0
6401 configured by $0, generated by GNU Autoconf 2.69,
6402 with options \\"\$ac_cs_config\\"
6404 Copyright (C) 2012 Free Software Foundation, Inc.
6405 This config.status script is free software; the Free Software Foundation
6406 gives unlimited permission to copy, distribute and modify it."
6413 test -n "\$AWK" || AWK=awk
6416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6417 # The default lists apply if the user does not specify any file.
6423 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6424 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6428 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6440 # Handling of the options.
6441 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6443 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6444 $as_echo "$ac_cs_version"; exit ;;
6445 --config | --confi | --conf | --con | --co | --c )
6446 $as_echo "$ac_cs_config"; exit ;;
6447 --debug | --debu | --deb | --de | --d | -d )
6449 --file | --fil | --fi | --f )
6452 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6453 '') as_fn_error $? "missing file argument" ;;
6455 as_fn_append CONFIG_FILES " '$ac_optarg'"
6456 ac_need_defaults=false;;
6457 --header | --heade | --head | --hea )
6460 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6462 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6463 ac_need_defaults=false;;
6465 # Conflict between --help and --header
6466 as_fn_error $? "ambiguous option: \`$1'
6467 Try \`$0 --help' for more information.";;
6468 --help | --hel | -h )
6469 $as_echo "$ac_cs_usage"; exit ;;
6470 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6471 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6475 -*) as_fn_error $? "unrecognized option: \`$1'
6476 Try \`$0 --help' for more information." ;;
6478 *) as_fn_append ac_config_targets " $1"
6479 ac_need_defaults=false ;;
6485 ac_configure_extra_args=
6487 if $ac_cs_silent; then
6489 ac_configure_extra_args="$ac_configure_extra_args --silent"
6493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6494 if \$ac_cs_recheck; then
6495 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6497 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6498 CONFIG_SHELL='$SHELL'
6504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6508 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6509 ## Running $as_me. ##
6515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6519 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6525 # Handling of arguments.
6526 for ac_config_target in $ac_config_targets
6528 case $ac_config_target in
6529 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6530 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6531 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6532 "src/com.intel.renderer-service-upnp.service") CONFIG_FILES="$CONFIG_FILES src/com.intel.renderer-service-upnp.service" ;;
6533 "renderer-service-upnp.pc") CONFIG_FILES="$CONFIG_FILES renderer-service-upnp.pc" ;;
6534 "renderer-service-upnp.conf") CONFIG_FILES="$CONFIG_FILES renderer-service-upnp.conf" ;;
6536 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6541 # If the user did not use the arguments to specify the items to instantiate,
6542 # then the envvar interface is used. Set only those that are not.
6543 # We use the long form for the default assignment because of an extremely
6544 # bizarre bug on SunOS 4.1.3.
6545 if $ac_need_defaults; then
6546 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6547 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6548 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6551 # Have a temporary directory for convenience. Make it in the build tree
6552 # simply because there is no reason against having it here, and in addition,
6553 # creating and moving files from /tmp can sometimes cause problems.
6554 # Hook for its removal unless debugging.
6555 # Note that there is a small window in which the directory will not be cleaned:
6556 # after its creation but before its name has been assigned to `$tmp'.
6560 trap 'exit_status=$?
6562 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6564 trap 'as_fn_exit 1' 1 2 13 15
6566 # Create a (secure) tmp directory for tmp files.
6569 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6573 tmp=./conf$$-$RANDOM
6574 (umask 077 && mkdir "$tmp")
6575 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6578 # Set up the scripts for CONFIG_FILES section.
6579 # No need to generate them if there are no CONFIG_FILES.
6580 # This happens for instance with `./config.status config.h'.
6581 if test -n "$CONFIG_FILES"; then
6584 ac_cr=`echo X | tr X '\015'`
6585 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6586 # But we know of no other shell where ac_cr would be empty at this
6587 # point, so we can use a bashism as a fallback.
6588 if test "x$ac_cr" = x; then
6589 eval ac_cr=\$\'\\r\'
6591 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6592 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6598 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6603 echo "cat >conf$$subs.awk <<_ACEOF" &&
6604 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6607 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6608 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6610 for ac_last_try in false false false false false :; do
6611 . ./conf$$subs.sh ||
6612 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6614 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6615 if test $ac_delim_n = $ac_delim_num; then
6617 elif $ac_last_try; then
6618 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6620 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6626 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6630 s/^/S["/; s/!.*/"]=/
6640 s/\(.\{148\}\)..*/\1/
6642 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6647 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6654 s/\(.\{148\}\)..*/\1/
6656 s/["\\]/\\&/g; s/^/"/; s/$/"/
6660 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6665 ' <conf$$subs.awk | sed '
6670 ' >>$CONFIG_STATUS || ac_write_fail=1
6671 rm -f conf$$subs.awk
6672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6674 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6675 for (key in S) S_is_set[key] = 1
6681 nfields = split(line, field, "@")
6683 len = length(field[1])
6684 for (i = 2; i < nfields; i++) {
6686 keylen = length(key)
6687 if (S_is_set[key]) {
6689 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6690 len += length(value) + length(field[++i])
6701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6702 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6703 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6706 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6707 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6710 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6711 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6712 # trailing colons and then remove the whole line if VPATH becomes empty
6713 # (actually we leave an empty line to preserve line numbers).
6714 if test "x$srcdir" = x.; then
6715 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6734 fi # test -n "$CONFIG_FILES"
6736 # Set up the scripts for CONFIG_HEADERS section.
6737 # No need to generate them if there are no CONFIG_HEADERS.
6738 # This happens for instance with `./config.status Makefile'.
6739 if test -n "$CONFIG_HEADERS"; then
6740 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6744 # Transform confdefs.h into an awk script `defines.awk', embedded as
6745 # here-document in config.status, that substitutes the proper values into
6746 # config.h.in to produce config.h.
6748 # Create a delimiter string that does not exist in confdefs.h, to ease
6749 # handling of long lines.
6751 for ac_last_try in false false :; do
6752 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6753 if test -z "$ac_tt"; then
6755 elif $ac_last_try; then
6756 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6758 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6762 # For the awk script, D is an array of macro values keyed by name,
6763 # likewise P contains macro parameters if any. Preserve backslash
6764 # newline sequences.
6766 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6768 s/.\{148\}/&'"$ac_delim"'/g
6771 s/^[ ]*#[ ]*define[ ][ ]*/ /
6778 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6780 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6784 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6785 D["\1"]=" \3\\\\\\n"\\/p
6787 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6792 s/.\{148\}/&'"$ac_delim"'/g
6797 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6800 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6802 ' <confdefs.h | sed '
6803 s/'"$ac_delim"'/"\\\
6804 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6807 for (key in D) D_is_set[key] = 1
6810 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6812 split(line, arg, " ")
6813 if (arg[1] == "#") {
6817 defundef = substr(arg[1], 2)
6820 split(mac1, mac2, "(") #)
6822 prefix = substr(line, 1, index(line, defundef) - 1)
6823 if (D_is_set[macro]) {
6824 # Preserve the white space surrounding the "#".
6825 print prefix "define", macro P[macro] D[macro]
6828 # Replace #undef with comments. This is necessary, for example,
6829 # in the case of _POSIX_SOURCE, which is predefined and required
6830 # on some systems where configure will not decide to define it.
6831 if (defundef == "undef") {
6832 print "/*", prefix defundef, macro, "*/"
6840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6841 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6842 fi # test -n "$CONFIG_HEADERS"
6845 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6850 :[FHLC]) ac_mode=$ac_tag; continue;;
6852 case $ac_mode$ac_tag in
6854 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6855 :[FH]-) ac_tag=-:-;;
6856 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6873 -) ac_f="$ac_tmp/stdin";;
6874 *) # Look for the file first in the build tree, then in the source tree
6875 # (if the path is not absolute). The absolute path cannot be DOS-style,
6876 # because $ac_f cannot contain `:'.
6880 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6882 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6884 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6885 as_fn_append ac_file_inputs " '$ac_f'"
6888 # Let's still pretend it is `configure' which instantiates (i.e., don't
6889 # use $as_me), people would be surprised to read:
6890 # /* config.h. Generated by config.status. */
6891 configure_input='Generated from '`
6892 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6894 if test x"$ac_file" != x-; then
6895 configure_input="$ac_file. $configure_input"
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6897 $as_echo "$as_me: creating $ac_file" >&6;}
6899 # Neutralize special characters interpreted by sed in replacement strings.
6900 case $configure_input in #(
6901 *\&* | *\|* | *\\* )
6902 ac_sed_conf_input=`$as_echo "$configure_input" |
6903 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6904 *) ac_sed_conf_input=$configure_input;;
6908 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6909 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6914 ac_dir=`$as_dirname -- "$ac_file" ||
6915 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6916 X"$ac_file" : 'X\(//\)[^/]' \| \
6917 X"$ac_file" : 'X\(//\)$' \| \
6918 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6919 $as_echo X"$ac_file" |
6920 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6937 as_dir="$ac_dir"; as_fn_mkdir_p
6941 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6943 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6944 # A ".." for each directory in $ac_dir_suffix.
6945 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6946 case $ac_top_builddir_sub in
6947 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6948 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6951 ac_abs_top_builddir=$ac_pwd
6952 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6953 # for backward compatibility:
6954 ac_top_builddir=$ac_top_build_prefix
6957 .) # We are building in place.
6959 ac_top_srcdir=$ac_top_builddir_sub
6960 ac_abs_top_srcdir=$ac_pwd ;;
6961 [\\/]* | ?:[\\/]* ) # Absolute name.
6962 ac_srcdir=$srcdir$ac_dir_suffix;
6963 ac_top_srcdir=$srcdir
6964 ac_abs_top_srcdir=$srcdir ;;
6966 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6967 ac_top_srcdir=$ac_top_build_prefix$srcdir
6968 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6970 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6980 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6981 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6985 [\\/$]* | ?:[\\/]* ) ;;
6986 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6991 # If the template does not know about datarootdir, expand it.
6992 # FIXME: This hack should be removed a few years after 2.60.
6993 ac_datarootdir_hack=; ac_datarootdir_seen=
7004 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7005 *datarootdir*) ac_datarootdir_seen=yes;;
7006 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7008 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7011 ac_datarootdir_hack='
7012 s&@datadir@&$datadir&g
7013 s&@docdir@&$docdir&g
7014 s&@infodir@&$infodir&g
7015 s&@localedir@&$localedir&g
7016 s&@mandir@&$mandir&g
7017 s&\\\${datarootdir}&$datarootdir&g' ;;
7021 # Neutralize VPATH when `$srcdir' = `.'.
7022 # Shell code in configure.ac might set extrasub.
7023 # FIXME: do we really want to maintain this feature?
7024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7025 ac_sed_extra="$ac_vpsub
7028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7030 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7031 s|@configure_input@|$ac_sed_conf_input|;t t
7032 s&@top_builddir@&$ac_top_builddir_sub&;t t
7033 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7034 s&@srcdir@&$ac_srcdir&;t t
7035 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7036 s&@top_srcdir@&$ac_top_srcdir&;t t
7037 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7038 s&@builddir@&$ac_builddir&;t t
7039 s&@abs_builddir@&$ac_abs_builddir&;t t
7040 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7041 s&@INSTALL@&$ac_INSTALL&;t t
7042 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7043 $ac_datarootdir_hack
7045 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7046 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7048 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7049 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7050 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7051 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7053 which seems to be undefined. Please make sure it is defined" >&5
7054 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7055 which seems to be undefined. Please make sure it is defined" >&2;}
7057 rm -f "$ac_tmp/stdin"
7059 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7060 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7062 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7068 if test x"$ac_file" != x-; then
7070 $as_echo "/* $configure_input */" \
7071 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7072 } >"$ac_tmp/config.h" \
7073 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7074 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7076 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7079 mv "$ac_tmp/config.h" "$ac_file" \
7080 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7083 $as_echo "/* $configure_input */" \
7084 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7085 || as_fn_error $? "could not create -" "$LINENO" 5
7087 # Compute "$ac_file"'s index in $config_headers.
7090 for _am_header in $config_headers :; do
7092 $_am_arg | $_am_arg:* )
7095 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7098 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7099 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7100 X"$_am_arg" : 'X\(//\)[^/]' \| \
7101 X"$_am_arg" : 'X\(//\)$' \| \
7102 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7103 $as_echo X"$_am_arg" |
7104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7120 s/.*/./; q'`/stamp-h$_am_stamp_count
7123 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7124 $as_echo "$as_me: executing $ac_file commands" >&6;}
7129 case $ac_file$ac_mode in
7130 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7131 # Autoconf 2.62 quotes --file arguments for eval, but not when files
7132 # are listed without --file. Let's play safe and only enable the eval
7133 # if we detect the quoting.
7134 case $CONFIG_FILES in
7135 *\'*) eval set x "$CONFIG_FILES" ;;
7136 *) set x $CONFIG_FILES ;;
7141 # Strip MF so we end up with the name of the file.
7142 mf=`echo "$mf" | sed -e 's/:.*$//'`
7143 # Check whether this is an Automake generated Makefile or not.
7144 # We used to match only the files named `Makefile.in', but
7145 # some people rename them; so instead we look at the file content.
7146 # Grep'ing the first line is not enough: some people post-process
7147 # each Makefile.in and add a new line on top of each file to say so.
7148 # Grep'ing the whole file is not good either: AIX grep has a line
7149 # limit of 2048, but all sed's we know have understand at least 4000.
7150 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7151 dirpart=`$as_dirname -- "$mf" ||
7152 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7153 X"$mf" : 'X\(//\)[^/]' \| \
7154 X"$mf" : 'X\(//\)$' \| \
7155 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7177 # Extract the definition of DEPDIR, am__include, and am__quote
7178 # from the Makefile without running `make'.
7179 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7180 test -z "$DEPDIR" && continue
7181 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7182 test -z "am__include" && continue
7183 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7184 # When using ansi2knr, U may be empty or an underscore; expand it
7185 U=`sed -n 's/^U = //p' < "$mf"`
7186 # Find all dependency output files, they are included files with
7187 # $(DEPDIR) in their names. We invoke sed twice because it is the
7188 # simplest approach to changing $(DEPDIR) to its actual value in the
7190 for file in `sed -n "
7191 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7192 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7193 # Make sure the directory exists.
7194 test -f "$dirpart/$file" && continue
7195 fdir=`$as_dirname -- "$file" ||
7196 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7197 X"$file" : 'X\(//\)[^/]' \| \
7198 X"$file" : 'X\(//\)$' \| \
7199 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7218 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7219 # echo "creating $dirpart/$file"
7220 echo '# dummy' > "$dirpart/$file"
7232 ac_clean_files=$ac_clean_files_save
7234 test $ac_write_fail = 0 ||
7235 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7238 # configure is writing to config.log, and then calls config.status.
7239 # config.status does its own redirection, appending to config.log.
7240 # Unfortunately, on DOS this fails, as config.log is still kept open
7241 # by configure, so config.status won't be able to write to it; its
7242 # output is simply discarded. So we exec the FD to /dev/null,
7243 # effectively closing config.log, so it can be properly (re)opened and
7244 # appended to by config.status. When coming back to configure, we
7245 # need to make the FD available again.
7246 if test "$no_create" != yes; then
7248 ac_config_status_args=
7249 test "$silent" = yes &&
7250 ac_config_status_args="$ac_config_status_args --quiet"
7252 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7254 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7255 # would make configure fail if this is the last instruction.
7256 $ac_cs_success || as_fn_exit 1
7258 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7260 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7264 $as_echo "-------------------------------------------------
7266 ${PACKAGE_NAME} Version ${PACKAGE_VERSION}
7268 Prefix : '${prefix}'.
7270 CFLAGS : '${CFLAGS}'
7273 - enable-werror : ${enable_werror}
7274 - enable-debug : ${enable_debug}
7275 - disable-optimization: ${disable_optimization}
7276 - enable-never-quit : ${enable_never_quit}
7277 - with-log-level : ${with_log_level}
7278 - with-log-type : ${with_log_type}
7280 --------------------------------------------------"