2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for media-service-upnp 0.3.0.
5 # Report bugs to <https://github.com/01org/media-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/media-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='media-service-upnp'
583 PACKAGE_TARNAME='media-service-upnp'
584 PACKAGE_VERSION='0.3.0'
585 PACKAGE_STRING='media-service-upnp 0.3.0'
586 PACKAGE_BUGREPORT='https://github.com/01org/media-service-upnp/issues/new'
587 PACKAGE_URL='https://01.org/dleyna/'
589 ac_unique_file="src/media-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 MSU_INTERFACE_MEDIA_DEVICE
634 MSU_INTERFACE_MANAGER
680 MAINTAINER_MODE_FALSE
690 INSTALL_STRIP_PROGRAM
732 program_transform_name
745 enable_option_checking
746 enable_maintainer_mode
748 enable_dependency_tracking
756 ac_precious_vars='build_alias
784 # Initialize some variables set by options.
786 ac_init_version=false
787 ac_unrecognized_opts=
789 # The variables have the same names as the options, with
790 # dashes changed to underlines.
798 program_transform_name=s,x,x,
806 # Installation directory options.
807 # These are left unexpanded so users can "make install exec_prefix=/foo"
808 # and all the variables that are supposed to be based on exec_prefix
809 # by default will actually change.
810 # Use braces instead of parens because sh, perl, etc. also accept them.
811 # (The list follows the same order as the GNU Coding Standards.)
812 bindir='${exec_prefix}/bin'
813 sbindir='${exec_prefix}/sbin'
814 libexecdir='${exec_prefix}/libexec'
815 datarootdir='${prefix}/share'
816 datadir='${datarootdir}'
817 sysconfdir='${prefix}/etc'
818 sharedstatedir='${prefix}/com'
819 localstatedir='${prefix}/var'
820 includedir='${prefix}/include'
821 oldincludedir='/usr/include'
822 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
823 infodir='${datarootdir}/info'
828 libdir='${exec_prefix}/lib'
829 localedir='${datarootdir}/locale'
830 mandir='${datarootdir}/man'
836 # If the previous option needs an argument, assign it.
837 if test -n "$ac_prev"; then
838 eval $ac_prev=\$ac_option
844 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
849 # Accept the important Cygnus configure options, so we can diagnose typos.
851 case $ac_dashdash$ac_option in
855 -bindir | --bindir | --bindi | --bind | --bin | --bi)
857 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
860 -build | --build | --buil | --bui | --bu)
861 ac_prev=build_alias ;;
862 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
863 build_alias=$ac_optarg ;;
865 -cache-file | --cache-file | --cache-fil | --cache-fi \
866 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
867 ac_prev=cache_file ;;
868 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
869 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
870 cache_file=$ac_optarg ;;
873 cache_file=config.cache ;;
875 -datadir | --datadir | --datadi | --datad)
877 -datadir=* | --datadir=* | --datadi=* | --datad=*)
878 datadir=$ac_optarg ;;
880 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
881 | --dataroo | --dataro | --datar)
882 ac_prev=datarootdir ;;
883 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
884 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
885 datarootdir=$ac_optarg ;;
887 -disable-* | --disable-*)
888 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
889 # Reject names that are not valid shell variable names.
890 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
891 as_fn_error $? "invalid feature name: $ac_useropt"
892 ac_useropt_orig=$ac_useropt
893 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
894 case $ac_user_opts in
898 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
899 ac_unrecognized_sep=', ';;
901 eval enable_$ac_useropt=no ;;
903 -docdir | --docdir | --docdi | --doc | --do)
905 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
910 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913 -enable-* | --enable-*)
914 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
917 as_fn_error $? "invalid feature name: $ac_useropt"
918 ac_useropt_orig=$ac_useropt
919 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920 case $ac_user_opts in
924 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
925 ac_unrecognized_sep=', ';;
927 eval enable_$ac_useropt=\$ac_optarg ;;
929 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
930 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
931 | --exec | --exe | --ex)
932 ac_prev=exec_prefix ;;
933 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
934 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
935 | --exec=* | --exe=* | --ex=*)
936 exec_prefix=$ac_optarg ;;
938 -gas | --gas | --ga | --g)
939 # Obsolete; use --with-gas.
942 -help | --help | --hel | --he | -h)
944 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
945 ac_init_help=recursive ;;
946 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
947 ac_init_help=short ;;
949 -host | --host | --hos | --ho)
950 ac_prev=host_alias ;;
951 -host=* | --host=* | --hos=* | --ho=*)
952 host_alias=$ac_optarg ;;
954 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
956 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
958 htmldir=$ac_optarg ;;
960 -includedir | --includedir | --includedi | --included | --include \
961 | --includ | --inclu | --incl | --inc)
962 ac_prev=includedir ;;
963 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
964 | --includ=* | --inclu=* | --incl=* | --inc=*)
965 includedir=$ac_optarg ;;
967 -infodir | --infodir | --infodi | --infod | --info | --inf)
969 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
970 infodir=$ac_optarg ;;
972 -libdir | --libdir | --libdi | --libd)
974 -libdir=* | --libdir=* | --libdi=* | --libd=*)
977 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
978 | --libexe | --libex | --libe)
979 ac_prev=libexecdir ;;
980 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
981 | --libexe=* | --libex=* | --libe=*)
982 libexecdir=$ac_optarg ;;
984 -localedir | --localedir | --localedi | --localed | --locale)
986 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
987 localedir=$ac_optarg ;;
989 -localstatedir | --localstatedir | --localstatedi | --localstated \
990 | --localstate | --localstat | --localsta | --localst | --locals)
991 ac_prev=localstatedir ;;
992 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
993 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
994 localstatedir=$ac_optarg ;;
996 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
998 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1001 -nfp | --nfp | --nf)
1002 # Obsolete; use --without-fp.
1005 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1006 | --no-cr | --no-c | -n)
1009 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1010 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1013 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1014 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1015 | --oldin | --oldi | --old | --ol | --o)
1016 ac_prev=oldincludedir ;;
1017 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1018 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1019 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1020 oldincludedir=$ac_optarg ;;
1022 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1024 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1025 prefix=$ac_optarg ;;
1027 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1028 | --program-pre | --program-pr | --program-p)
1029 ac_prev=program_prefix ;;
1030 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1031 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1032 program_prefix=$ac_optarg ;;
1034 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1035 | --program-suf | --program-su | --program-s)
1036 ac_prev=program_suffix ;;
1037 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1038 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1039 program_suffix=$ac_optarg ;;
1041 -program-transform-name | --program-transform-name \
1042 | --program-transform-nam | --program-transform-na \
1043 | --program-transform-n | --program-transform- \
1044 | --program-transform | --program-transfor \
1045 | --program-transfo | --program-transf \
1046 | --program-trans | --program-tran \
1047 | --progr-tra | --program-tr | --program-t)
1048 ac_prev=program_transform_name ;;
1049 -program-transform-name=* | --program-transform-name=* \
1050 | --program-transform-nam=* | --program-transform-na=* \
1051 | --program-transform-n=* | --program-transform-=* \
1052 | --program-transform=* | --program-transfor=* \
1053 | --program-transfo=* | --program-transf=* \
1054 | --program-trans=* | --program-tran=* \
1055 | --progr-tra=* | --program-tr=* | --program-t=*)
1056 program_transform_name=$ac_optarg ;;
1058 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1060 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1061 pdfdir=$ac_optarg ;;
1063 -psdir | --psdir | --psdi | --psd | --ps)
1065 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069 | -silent | --silent | --silen | --sile | --sil)
1072 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1074 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1076 sbindir=$ac_optarg ;;
1078 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1079 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1080 | --sharedst | --shareds | --shared | --share | --shar \
1082 ac_prev=sharedstatedir ;;
1083 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1084 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1085 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1087 sharedstatedir=$ac_optarg ;;
1089 -site | --site | --sit)
1091 -site=* | --site=* | --sit=*)
1094 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1096 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1097 srcdir=$ac_optarg ;;
1099 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1100 | --syscon | --sysco | --sysc | --sys | --sy)
1101 ac_prev=sysconfdir ;;
1102 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1103 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1104 sysconfdir=$ac_optarg ;;
1106 -target | --target | --targe | --targ | --tar | --ta | --t)
1107 ac_prev=target_alias ;;
1108 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1109 target_alias=$ac_optarg ;;
1111 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1114 -version | --version | --versio | --versi | --vers | -V)
1115 ac_init_version=: ;;
1118 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1121 as_fn_error $? "invalid package name: $ac_useropt"
1122 ac_useropt_orig=$ac_useropt
1123 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124 case $ac_user_opts in
1128 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1129 ac_unrecognized_sep=', ';;
1131 eval with_$ac_useropt=\$ac_optarg ;;
1133 -without-* | --without-*)
1134 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1137 as_fn_error $? "invalid package name: $ac_useropt"
1138 ac_useropt_orig=$ac_useropt
1139 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 case $ac_user_opts in
1144 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1145 ac_unrecognized_sep=', ';;
1147 eval with_$ac_useropt=no ;;
1150 # Obsolete; use --with-x.
1153 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1154 | --x-incl | --x-inc | --x-in | --x-i)
1155 ac_prev=x_includes ;;
1156 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1157 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1158 x_includes=$ac_optarg ;;
1160 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1161 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1162 ac_prev=x_libraries ;;
1163 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1164 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1165 x_libraries=$ac_optarg ;;
1167 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1168 Try \`$0 --help' for more information"
1172 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1173 # Reject names that are not valid shell variable names.
1174 case $ac_envvar in #(
1175 '' | [0-9]* | *[!_$as_cr_alnum]* )
1176 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1178 eval $ac_envvar=\$ac_optarg
1179 export $ac_envvar ;;
1182 # FIXME: should be removed in autoconf 3.0.
1183 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1184 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1185 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1186 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1192 if test -n "$ac_prev"; then
1193 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1194 as_fn_error $? "missing argument to $ac_option"
1197 if test -n "$ac_unrecognized_opts"; then
1198 case $enable_option_checking in
1200 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1201 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1205 # Check all directory arguments for consistency.
1206 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1207 datadir sysconfdir sharedstatedir localstatedir includedir \
1208 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1209 libdir localedir mandir
1211 eval ac_val=\$$ac_var
1212 # Remove trailing slashes.
1215 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1216 eval $ac_var=\$ac_val;;
1218 # Be sure to have absolute directory names.
1220 [\\/$]* | ?:[\\/]* ) continue;;
1221 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1223 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1226 # There might be people who depend on the old broken behavior: `$host'
1227 # used to hold the argument of --host etc.
1228 # FIXME: To remove some day.
1231 target=$target_alias
1233 # FIXME: To remove some day.
1234 if test "x$host_alias" != x; then
1235 if test "x$build_alias" = x; then
1236 cross_compiling=maybe
1237 elif test "x$build_alias" != "x$host_alias"; then
1243 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1245 test "$silent" = yes && exec 6>/dev/null
1248 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1249 ac_ls_di=`ls -di .` &&
1250 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1251 as_fn_error $? "working directory cannot be determined"
1252 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1253 as_fn_error $? "pwd does not report name of working directory"
1256 # Find the source files, if location was not specified.
1257 if test -z "$srcdir"; then
1258 ac_srcdir_defaulted=yes
1259 # Try the directory containing this script, then the parent directory.
1260 ac_confdir=`$as_dirname -- "$as_myself" ||
1261 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1262 X"$as_myself" : 'X\(//\)[^/]' \| \
1263 X"$as_myself" : 'X\(//\)$' \| \
1264 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1265 $as_echo X"$as_myself" |
1266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1284 if test ! -r "$srcdir/$ac_unique_file"; then
1288 ac_srcdir_defaulted=no
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1291 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1292 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1294 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1296 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1298 # When building in place, set srcdir=.
1299 if test "$ac_abs_confdir" = "$ac_pwd"; then
1302 # Remove unnecessary trailing slashes from srcdir.
1303 # Double slashes in file names in object file debugging info
1304 # mess up M-x gdb in Emacs.
1306 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1308 for ac_var in $ac_precious_vars; do
1309 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1310 eval ac_env_${ac_var}_value=\$${ac_var}
1311 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1312 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1316 # Report the --help message.
1318 if test "$ac_init_help" = "long"; then
1319 # Omit some internal or obsolete options to make the list less imposing.
1320 # This message is too long to be a string in the A/UX 3.1 sh.
1322 \`configure' configures media-service-upnp 0.3.0 to adapt to many kinds of systems.
1324 Usage: $0 [OPTION]... [VAR=VALUE]...
1326 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1327 VAR=VALUE. See below for descriptions of some of the useful variables.
1329 Defaults for the options are specified in brackets.
1332 -h, --help display this help and exit
1333 --help=short display options specific to this package
1334 --help=recursive display the short help of all the included packages
1335 -V, --version display version information and exit
1336 -q, --quiet, --silent do not print \`checking ...' messages
1337 --cache-file=FILE cache test results in FILE [disabled]
1338 -C, --config-cache alias for \`--cache-file=config.cache'
1339 -n, --no-create do not create output files
1340 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1342 Installation directories:
1343 --prefix=PREFIX install architecture-independent files in PREFIX
1344 [$ac_default_prefix]
1345 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1348 By default, \`make install' will install all the files in
1349 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1350 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1351 for instance \`--prefix=\$HOME'.
1353 For better control, use the options below.
1355 Fine tuning of the installation directories:
1356 --bindir=DIR user executables [EPREFIX/bin]
1357 --sbindir=DIR system admin executables [EPREFIX/sbin]
1358 --libexecdir=DIR program executables [EPREFIX/libexec]
1359 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1360 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1361 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1362 --libdir=DIR object code libraries [EPREFIX/lib]
1363 --includedir=DIR C header files [PREFIX/include]
1364 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1365 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1366 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1367 --infodir=DIR info documentation [DATAROOTDIR/info]
1368 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1369 --mandir=DIR man documentation [DATAROOTDIR/man]
1370 --docdir=DIR documentation root
1371 [DATAROOTDIR/doc/media-service-upnp]
1372 --htmldir=DIR html documentation [DOCDIR]
1373 --dvidir=DIR dvi documentation [DOCDIR]
1374 --pdfdir=DIR pdf documentation [DOCDIR]
1375 --psdir=DIR ps documentation [DOCDIR]
1381 --program-prefix=PREFIX prepend PREFIX to installed program names
1382 --program-suffix=SUFFIX append SUFFIX to installed program names
1383 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1387 if test -n "$ac_init_help"; then
1388 case $ac_init_help in
1389 short | recursive ) echo "Configuration of media-service-upnp 0.3.0:";;
1394 --disable-option-checking ignore unrecognized --enable/--with options
1395 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1396 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1397 --enable-maintainer-mode enable make rules and dependencies not useful
1398 (and sometimes confusing) to the casual installer
1399 --enable-silent-rules less verbose build output (undo: `make V=1')
1400 --disable-silent-rules verbose build output (undo: `make V=0')
1401 --disable-dependency-tracking speeds up one-time build
1402 --enable-dependency-tracking do not reject slow dependency extractors
1403 --enable-debug enable compiling with debugging information
1404 --enable-werror warnings are treated as errors
1405 --disable-optimization disable code optimization through compiler
1406 --enable-never-quit Service doesn't quit when last client disconnects
1409 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1410 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1411 --with-log-level enable logging information (0,1..6,7,8) 0=disabled
1412 7=default (=1,2,5) 8=all (=1,2,3,4,5,6) 1,..,6=a
1413 comma separated list of log level
1414 --with-log-type Select log output technology 0=syslog 1=GLib
1416 Some influential environment variables:
1417 CC C compiler command
1418 CFLAGS C compiler flags
1419 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1420 nonstandard directory <lib dir>
1421 LIBS libraries to pass to the linker, e.g. -l<library>
1422 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1423 you have headers in a nonstandard directory <include dir>
1424 PKG_CONFIG path to pkg-config utility
1426 directories to add to pkg-config's search path
1428 path overriding pkg-config's built-in search path
1429 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1430 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1431 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1432 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1433 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1434 GIO_LIBS linker flags for GIO, overriding pkg-config
1436 C compiler flags for GSSDP, overriding pkg-config
1437 GSSDP_LIBS linker flags for GSSDP, overriding pkg-config
1439 C compiler flags for GUPNP, overriding pkg-config
1440 GUPNP_LIBS linker flags for GUPNP, overriding pkg-config
1442 C compiler flags for GUPNPAV, overriding pkg-config
1444 linker flags for GUPNPAV, overriding pkg-config
1445 SOUP_CFLAGS C compiler flags for SOUP, overriding pkg-config
1446 SOUP_LIBS linker flags for SOUP, overriding pkg-config
1449 Use these variables to override the choices made by `configure' or to help
1450 it to find libraries and programs with nonstandard names/locations.
1452 Report bugs to <https://github.com/01org/media-service-upnp/issues/new>.
1453 media-service-upnp home page: <https://01.org/dleyna/>.
1458 if test "$ac_init_help" = "recursive"; then
1459 # If there are subdirs, report their specific --help.
1460 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1461 test -d "$ac_dir" ||
1462 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1467 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1469 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1470 # A ".." for each directory in $ac_dir_suffix.
1471 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1472 case $ac_top_builddir_sub in
1473 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1474 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1477 ac_abs_top_builddir=$ac_pwd
1478 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1479 # for backward compatibility:
1480 ac_top_builddir=$ac_top_build_prefix
1483 .) # We are building in place.
1485 ac_top_srcdir=$ac_top_builddir_sub
1486 ac_abs_top_srcdir=$ac_pwd ;;
1487 [\\/]* | ?:[\\/]* ) # Absolute name.
1488 ac_srcdir=$srcdir$ac_dir_suffix;
1489 ac_top_srcdir=$srcdir
1490 ac_abs_top_srcdir=$srcdir ;;
1492 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1493 ac_top_srcdir=$ac_top_build_prefix$srcdir
1494 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1496 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1498 cd "$ac_dir" || { ac_status=$?; continue; }
1499 # Check for guested configure.
1500 if test -f "$ac_srcdir/configure.gnu"; then
1502 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1503 elif test -f "$ac_srcdir/configure"; then
1505 $SHELL "$ac_srcdir/configure" --help=recursive
1507 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1509 cd "$ac_pwd" || { ac_status=$?; break; }
1513 test -n "$ac_init_help" && exit $ac_status
1514 if $ac_init_version; then
1516 media-service-upnp configure 0.3.0
1517 generated by GNU Autoconf 2.69
1519 Copyright (C) 2012 Free Software Foundation, Inc.
1520 This configure script is free software; the Free Software Foundation
1521 gives unlimited permission to copy, distribute and modify it.
1526 ## ------------------------ ##
1527 ## Autoconf initialization. ##
1528 ## ------------------------ ##
1530 # ac_fn_c_try_compile LINENO
1531 # --------------------------
1532 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1533 ac_fn_c_try_compile ()
1535 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1536 rm -f conftest.$ac_objext
1537 if { { ac_try="$ac_compile"
1539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1540 *) ac_try_echo=$ac_try;;
1542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1543 $as_echo "$ac_try_echo"; } >&5
1544 (eval "$ac_compile") 2>conftest.err
1546 if test -s conftest.err; then
1547 grep -v '^ *+' conftest.err >conftest.er1
1548 cat conftest.er1 >&5
1549 mv -f conftest.er1 conftest.err
1551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1552 test $ac_status = 0; } && {
1553 test -z "$ac_c_werror_flag" ||
1554 test ! -s conftest.err
1555 } && test -s conftest.$ac_objext; then :
1558 $as_echo "$as_me: failed program was:" >&5
1559 sed 's/^/| /' conftest.$ac_ext >&5
1563 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1564 as_fn_set_status $ac_retval
1566 } # ac_fn_c_try_compile
1568 # ac_fn_c_try_cpp LINENO
1569 # ----------------------
1570 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1574 if { { ac_try="$ac_cpp conftest.$ac_ext"
1576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1577 *) ac_try_echo=$ac_try;;
1579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1580 $as_echo "$ac_try_echo"; } >&5
1581 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1583 if test -s conftest.err; then
1584 grep -v '^ *+' conftest.err >conftest.er1
1585 cat conftest.er1 >&5
1586 mv -f conftest.er1 conftest.err
1588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1589 test $ac_status = 0; } > conftest.i && {
1590 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1591 test ! -s conftest.err
1595 $as_echo "$as_me: failed program was:" >&5
1596 sed 's/^/| /' conftest.$ac_ext >&5
1600 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1601 as_fn_set_status $ac_retval
1605 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1606 # -------------------------------------------------------
1607 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1608 # the include files in INCLUDES and setting the cache variable VAR
1610 ac_fn_c_check_header_mongrel ()
1612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1613 if eval \${$3+:} false; then :
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1615 $as_echo_n "checking for $2... " >&6; }
1616 if eval \${$3+:} false; then :
1617 $as_echo_n "(cached) " >&6
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1621 $as_echo "$ac_res" >&6; }
1623 # Is the header compilable?
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1625 $as_echo_n "checking $2 usability... " >&6; }
1626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1627 /* end confdefs.h. */
1631 if ac_fn_c_try_compile "$LINENO"; then :
1632 ac_header_compiler=yes
1634 ac_header_compiler=no
1636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1638 $as_echo "$ac_header_compiler" >&6; }
1640 # Is the header present?
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1642 $as_echo_n "checking $2 presence... " >&6; }
1643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1644 /* end confdefs.h. */
1647 if ac_fn_c_try_cpp "$LINENO"; then :
1648 ac_header_preproc=yes
1650 ac_header_preproc=no
1652 rm -f conftest.err conftest.i conftest.$ac_ext
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1654 $as_echo "$ac_header_preproc" >&6; }
1656 # So? What about this header?
1657 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1660 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1662 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1666 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1668 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1670 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1672 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1674 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1675 ( $as_echo "## --------------------------------------------------------------------- ##
1676 ## Report this to https://github.com/01org/media-service-upnp/issues/new ##
1677 ## --------------------------------------------------------------------- ##"
1678 ) | sed "s/^/$as_me: WARNING: /" >&2
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1682 $as_echo_n "checking for $2... " >&6; }
1683 if eval \${$3+:} false; then :
1684 $as_echo_n "(cached) " >&6
1686 eval "$3=\$ac_header_compiler"
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1690 $as_echo "$ac_res" >&6; }
1692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694 } # ac_fn_c_check_header_mongrel
1696 # ac_fn_c_try_run LINENO
1697 # ----------------------
1698 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1699 # that executables *can* be run.
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 if { { ac_try="$ac_link"
1705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706 *) ac_try_echo=$ac_try;;
1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709 $as_echo "$ac_try_echo"; } >&5
1710 (eval "$ac_link") 2>&5
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1714 { { case "(($ac_try" in
1715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1716 *) ac_try_echo=$ac_try;;
1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720 (eval "$ac_try") 2>&5
1722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723 test $ac_status = 0; }; }; then :
1726 $as_echo "$as_me: program exited with status $ac_status" >&5
1727 $as_echo "$as_me: failed program was:" >&5
1728 sed 's/^/| /' conftest.$ac_ext >&5
1730 ac_retval=$ac_status
1732 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1734 as_fn_set_status $ac_retval
1738 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1739 # -------------------------------------------------------
1740 # Tests whether HEADER exists and can be compiled using the include files in
1741 # INCLUDES, setting the cache variable VAR accordingly.
1742 ac_fn_c_check_header_compile ()
1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1746 $as_echo_n "checking for $2... " >&6; }
1747 if eval \${$3+:} false; then :
1748 $as_echo_n "(cached) " >&6
1750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1751 /* end confdefs.h. */
1755 if ac_fn_c_try_compile "$LINENO"; then :
1760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1764 $as_echo "$ac_res" >&6; }
1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1767 } # ac_fn_c_check_header_compile
1769 # ac_fn_c_find_uintX_t LINENO BITS VAR
1770 # ------------------------------------
1771 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1773 ac_fn_c_find_uintX_t ()
1775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1777 $as_echo_n "checking for uint$2_t... " >&6; }
1778 if eval \${$3+:} false; then :
1779 $as_echo_n "(cached) " >&6
1782 # Order is important - never check a type that is potentially smaller
1783 # than half of the expected target width.
1784 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1785 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1787 /* end confdefs.h. */
1788 $ac_includes_default
1792 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1794 return test_array [0];
1800 if ac_fn_c_try_compile "$LINENO"; then :
1805 eval "$3=\$ac_type" ;;
1808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1809 if eval test \"x\$"$3"\" = x"no"; then :
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1818 $as_echo "$ac_res" >&6; }
1819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821 } # ac_fn_c_find_uintX_t
1823 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1824 # -------------------------------------------
1825 # Tests whether TYPE exists after having included INCLUDES, setting cache
1826 # variable VAR accordingly.
1827 ac_fn_c_check_type ()
1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1831 $as_echo_n "checking for $2... " >&6; }
1832 if eval \${$3+:} false; then :
1833 $as_echo_n "(cached) " >&6
1836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1837 /* end confdefs.h. */
1848 if ac_fn_c_try_compile "$LINENO"; then :
1849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1850 /* end confdefs.h. */
1861 if ac_fn_c_try_compile "$LINENO"; then :
1866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875 } # ac_fn_c_check_type
1877 # ac_fn_c_try_link LINENO
1878 # -----------------------
1879 # Try to link conftest.$ac_ext, and return whether this succeeded.
1882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883 rm -f conftest.$ac_objext conftest$ac_exeext
1884 if { { ac_try="$ac_link"
1886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1887 *) ac_try_echo=$ac_try;;
1889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1890 $as_echo "$ac_try_echo"; } >&5
1891 (eval "$ac_link") 2>conftest.err
1893 if test -s conftest.err; then
1894 grep -v '^ *+' conftest.err >conftest.er1
1895 cat conftest.er1 >&5
1896 mv -f conftest.er1 conftest.err
1898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1899 test $ac_status = 0; } && {
1900 test -z "$ac_c_werror_flag" ||
1901 test ! -s conftest.err
1902 } && test -s conftest$ac_exeext && {
1903 test "$cross_compiling" = yes ||
1904 test -x conftest$ac_exeext
1908 $as_echo "$as_me: failed program was:" >&5
1909 sed 's/^/| /' conftest.$ac_ext >&5
1913 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1914 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1915 # interfere with the next link command; also delete a directory that is
1916 # left behind by Apple's compiler. We do this before executing the actions.
1917 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1918 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1919 as_fn_set_status $ac_retval
1921 } # ac_fn_c_try_link
1923 # ac_fn_c_check_func LINENO FUNC VAR
1924 # ----------------------------------
1925 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1926 ac_fn_c_check_func ()
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if eval \${$3+:} false; then :
1932 $as_echo_n "(cached) " >&6
1934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1935 /* end confdefs.h. */
1936 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1938 #define $2 innocuous_$2
1940 /* System header to define __stub macros and hopefully few prototypes,
1941 which can conflict with char $2 (); below.
1942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1943 <limits.h> exists even on freestanding compilers. */
1946 # include <limits.h>
1948 # include <assert.h>
1953 /* Override any GCC internal prototype to avoid an error.
1954 Use char because int might match the return type of a GCC
1955 builtin and then its argument prototype would still apply. */
1960 /* The GNU C library defines this for functions which it implements
1961 to always fail with ENOSYS. Some functions are actually named
1962 something starting with __ and the normal name is an alias. */
1963 #if defined __stub_$2 || defined __stub___$2
1975 if ac_fn_c_try_link "$LINENO"; then :
1980 rm -f core conftest.err conftest.$ac_objext \
1981 conftest$ac_exeext conftest.$ac_ext
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1985 $as_echo "$ac_res" >&6; }
1986 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1988 } # ac_fn_c_check_func
1989 cat >config.log <<_ACEOF
1990 This file contains any messages produced by compilers while
1991 running configure, to aid debugging if configure makes a mistake.
1993 It was created by media-service-upnp $as_me 0.3.0, which was
1994 generated by GNU Autoconf 2.69. Invocation command line was
2006 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2007 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2008 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2009 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2010 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2012 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2013 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2015 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2016 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2017 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2018 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2019 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2020 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2021 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2029 test -z "$as_dir" && as_dir=.
2030 $as_echo "PATH: $as_dir"
2046 # Keep a trace of the command line.
2047 # Strip out --no-create and --no-recursion so they do not pile up.
2048 # Strip out --silent because we don't want to record it for future runs.
2049 # Also quote any args containing shell meta-characters.
2050 # Make two passes to allow for proper duplicate-argument suppression.
2054 ac_must_keep_next=false
2060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2062 | -silent | --silent | --silen | --sile | --sil)
2065 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2068 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2070 as_fn_append ac_configure_args1 " '$ac_arg'"
2071 if test $ac_must_keep_next = true; then
2072 ac_must_keep_next=false # Got value, back to normal.
2075 *=* | --config-cache | -C | -disable-* | --disable-* \
2076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2078 | -with-* | --with-* | -without-* | --without-* | --x)
2079 case "$ac_configure_args0 " in
2080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2083 -* ) ac_must_keep_next=true ;;
2086 as_fn_append ac_configure_args " '$ac_arg'"
2091 { ac_configure_args0=; unset ac_configure_args0;}
2092 { ac_configure_args1=; unset ac_configure_args1;}
2094 # When interrupted or exit'd, cleanup temporary files, and complete
2095 # config.log. We remove comments because anyway the quotes in there
2096 # would cause problems or look ugly.
2097 # WARNING: Use '\'' to represent an apostrophe within the trap.
2098 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2099 trap 'exit_status=$?
2100 # Save into config.log some information that might help in debugging.
2104 $as_echo "## ---------------- ##
2105 ## Cache variables. ##
2106 ## ---------------- ##"
2108 # The following way of writing the cache mishandles newlines in values,
2110 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2111 eval ac_val=\$$ac_var
2115 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2116 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2119 _ | IFS | as_nl) ;; #(
2120 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2121 *) { eval $ac_var=; unset $ac_var;} ;;
2126 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2127 *${as_nl}ac_space=\ *)
2129 "s/'\''/'\''\\\\'\'''\''/g;
2130 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2133 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2140 $as_echo "## ----------------- ##
2141 ## Output variables. ##
2142 ## ----------------- ##"
2144 for ac_var in $ac_subst_vars
2146 eval ac_val=\$$ac_var
2148 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2150 $as_echo "$ac_var='\''$ac_val'\''"
2154 if test -n "$ac_subst_files"; then
2155 $as_echo "## ------------------- ##
2156 ## File substitutions. ##
2157 ## ------------------- ##"
2159 for ac_var in $ac_subst_files
2161 eval ac_val=\$$ac_var
2163 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2165 $as_echo "$ac_var='\''$ac_val'\''"
2170 if test -s confdefs.h; then
2171 $as_echo "## ----------- ##
2178 test "$ac_signal" != 0 &&
2179 $as_echo "$as_me: caught signal $ac_signal"
2180 $as_echo "$as_me: exit $exit_status"
2182 rm -f core *.core core.conftest.* &&
2183 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2186 for ac_signal in 1 2 13 15; do
2187 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2191 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2192 rm -f -r conftest* confdefs.h
2194 $as_echo "/* confdefs.h */" > confdefs.h
2196 # Predefined preprocessor variables.
2198 cat >>confdefs.h <<_ACEOF
2199 #define PACKAGE_NAME "$PACKAGE_NAME"
2202 cat >>confdefs.h <<_ACEOF
2203 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2206 cat >>confdefs.h <<_ACEOF
2207 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2210 cat >>confdefs.h <<_ACEOF
2211 #define PACKAGE_STRING "$PACKAGE_STRING"
2214 cat >>confdefs.h <<_ACEOF
2215 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2218 cat >>confdefs.h <<_ACEOF
2219 #define PACKAGE_URL "$PACKAGE_URL"
2223 # Let the site file select an alternate cache file if it wants to.
2224 # Prefer an explicitly selected file to automatically selected ones.
2227 if test -n "$CONFIG_SITE"; then
2228 # We do not want a PATH search for config.site.
2229 case $CONFIG_SITE in #((
2230 -*) ac_site_file1=./$CONFIG_SITE;;
2231 */*) ac_site_file1=$CONFIG_SITE;;
2232 *) ac_site_file1=./$CONFIG_SITE;;
2234 elif test "x$prefix" != xNONE; then
2235 ac_site_file1=$prefix/share/config.site
2236 ac_site_file2=$prefix/etc/config.site
2238 ac_site_file1=$ac_default_prefix/share/config.site
2239 ac_site_file2=$ac_default_prefix/etc/config.site
2241 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2243 test "x$ac_site_file" = xNONE && continue
2244 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2246 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2247 sed 's/^/| /' "$ac_site_file" >&5
2249 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2251 as_fn_error $? "failed to load site script $ac_site_file
2252 See \`config.log' for more details" "$LINENO" 5; }
2256 if test -r "$cache_file"; then
2257 # Some versions of bash will fail to source /dev/null (special files
2258 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2259 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2261 $as_echo "$as_me: loading cache $cache_file" >&6;}
2263 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2264 *) . "./$cache_file";;
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2269 $as_echo "$as_me: creating cache $cache_file" >&6;}
2273 # Check that the precious variables saved in the cache have kept the same
2275 ac_cache_corrupted=false
2276 for ac_var in $ac_precious_vars; do
2277 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2278 eval ac_new_set=\$ac_env_${ac_var}_set
2279 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2280 eval ac_new_val=\$ac_env_${ac_var}_value
2281 case $ac_old_set,$ac_new_set in
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2284 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2285 ac_cache_corrupted=: ;;
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2288 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2289 ac_cache_corrupted=: ;;
2292 if test "x$ac_old_val" != "x$ac_new_val"; then
2293 # differences in whitespace do not lead to failure.
2294 ac_old_val_w=`echo x $ac_old_val`
2295 ac_new_val_w=`echo x $ac_new_val`
2296 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2298 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2299 ac_cache_corrupted=:
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2302 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2303 eval $ac_var=\$ac_old_val
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2306 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2308 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2311 # Pass precious variables to config.status.
2312 if test "$ac_new_set" = set; then
2314 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2315 *) ac_arg=$ac_var=$ac_new_val ;;
2317 case " $ac_configure_args " in
2318 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2319 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2323 if $ac_cache_corrupted; then
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2327 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2328 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2330 ## -------------------- ##
2331 ## Main body of script. ##
2332 ## -------------------- ##
2335 ac_cpp='$CPP $CPPFLAGS'
2336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2342 ac_config_headers="$ac_config_headers config.h"
2345 for ac_dir in build-aux "$srcdir"/build-aux; do
2346 if test -f "$ac_dir/install-sh"; then
2348 ac_install_sh="$ac_aux_dir/install-sh -c"
2350 elif test -f "$ac_dir/install.sh"; then
2352 ac_install_sh="$ac_aux_dir/install.sh -c"
2354 elif test -f "$ac_dir/shtool"; then
2356 ac_install_sh="$ac_aux_dir/shtool install -c"
2360 if test -z "$ac_aux_dir"; then
2361 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2364 # These three variables are undocumented and unsupported,
2365 # and are intended to be withdrawn in a future Autoconf release.
2366 # They can cause serious problems if a builder's source tree is in a directory
2367 # whose full name contains unusual characters.
2368 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2369 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2370 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2378 am__api_version='1.11'
2380 # Find a good install program. We prefer a C program (faster),
2381 # so one script is as good as another. But avoid the broken or
2382 # incompatible versions:
2383 # SysV /etc/install, /usr/sbin/install
2384 # SunOS /usr/etc/install
2385 # IRIX /sbin/install
2387 # AmigaOS /C/install, which installs bootblocks on floppy discs
2388 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2389 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2390 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2391 # OS/2's system install, which has a completely different semantic
2392 # ./install, which can be erroneously created by make from ./install.sh.
2393 # Reject install programs that cannot install multiple files.
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2395 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2396 if test -z "$INSTALL"; then
2397 if ${ac_cv_path_install+:} false; then :
2398 $as_echo_n "(cached) " >&6
2400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404 test -z "$as_dir" && as_dir=.
2405 # Account for people who put trailing slashes in PATH elements.
2406 case $as_dir/ in #((
2407 ./ | .// | /[cC]/* | \
2408 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2409 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2412 # OSF1 and SCO ODT 3.0 have their own names for install.
2413 # Don't use installbsd from OSF since it installs stuff as root
2415 for ac_prog in ginstall scoinst install; do
2416 for ac_exec_ext in '' $ac_executable_extensions; do
2417 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2418 if test $ac_prog = install &&
2419 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2420 # AIX install. It has an incompatible calling convention.
2422 elif test $ac_prog = install &&
2423 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2424 # program-specific install script used by HP pwplus--don't use.
2427 rm -rf conftest.one conftest.two conftest.dir
2428 echo one > conftest.one
2429 echo two > conftest.two
2431 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2432 test -s conftest.one && test -s conftest.two &&
2433 test -s conftest.dir/conftest.one &&
2434 test -s conftest.dir/conftest.two
2436 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2449 rm -rf conftest.one conftest.two conftest.dir
2452 if test "${ac_cv_path_install+set}" = set; then
2453 INSTALL=$ac_cv_path_install
2455 # As a last resort, use the slow shell script. Don't cache a
2456 # value for INSTALL within a source directory, because that will
2457 # break other packages using the cache if that directory is
2458 # removed, or if the value is a relative name.
2459 INSTALL=$ac_install_sh
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2463 $as_echo "$INSTALL" >&6; }
2465 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2466 # It thinks the first close brace ends the variable substitution.
2467 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2469 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2471 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2474 $as_echo_n "checking whether build environment is sane... " >&6; }
2477 echo timestamp > conftest.file
2478 # Reject unsafe characters in $srcdir or the absolute working directory
2479 # name. Accept space and tab only in the latter.
2483 *[\\\"\#\$\&\'\`$am_lf]*)
2484 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2487 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2488 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2491 # Do `set' in a subshell so we don't clobber the current shell's
2492 # arguments. Must try -L first in case configure is actually a
2493 # symlink; some systems play weird games with the mod time of symlinks
2494 # (eg FreeBSD returns the mod time of the symlink's containing
2497 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2498 if test "$*" = "X"; then
2500 set X `ls -t "$srcdir/configure" conftest.file`
2503 if test "$*" != "X $srcdir/configure conftest.file" \
2504 && test "$*" != "X conftest.file $srcdir/configure"; then
2506 # If neither matched, then we have a broken ls. This can happen
2507 # if, for instance, CONFIG_SHELL is bash and it inherits a
2508 # broken ls alias from the environment. This has actually
2509 # happened. Such a system could not be considered "sane".
2510 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2511 alias in your environment" "$LINENO" 5
2514 test "$2" = conftest.file
2520 as_fn_error $? "newly created file is older than distributed files!
2521 Check your system clock" "$LINENO" 5
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2524 $as_echo "yes" >&6; }
2525 test "$program_prefix" != NONE &&
2526 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2527 # Use a double $ so make ignores it.
2528 test "$program_suffix" != NONE &&
2529 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2530 # Double any \ or $.
2531 # By default was `s,x,x', remove it if useless.
2532 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2533 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2535 # expand $ac_aux_dir to an absolute path
2536 am_aux_dir=`cd $ac_aux_dir && pwd`
2538 if test x"${MISSING+set}" != xset; then
2541 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2543 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2546 # Use eval to expand $SHELL
2547 if eval "$MISSING --run true"; then
2548 am_missing_run="$MISSING --run "
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2552 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2555 if test x"${install_sh}" != xset; then
2558 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2560 install_sh="\${SHELL} $am_aux_dir/install-sh"
2564 # Installed binaries are usually stripped using `strip' when the user
2565 # run `make install-strip'. However `strip' might not be the right
2566 # tool to use in cross-compilation environments, therefore Automake
2567 # will honor the `STRIP' environment variable to overrule this program.
2568 if test "$cross_compiling" != no; then
2569 if test -n "$ac_tool_prefix"; then
2570 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2571 set dummy ${ac_tool_prefix}strip; ac_word=$2
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2573 $as_echo_n "checking for $ac_word... " >&6; }
2574 if ${ac_cv_prog_STRIP+:} false; then :
2575 $as_echo_n "(cached) " >&6
2577 if test -n "$STRIP"; then
2578 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2584 test -z "$as_dir" && as_dir=.
2585 for ac_exec_ext in '' $ac_executable_extensions; do
2586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2587 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2597 STRIP=$ac_cv_prog_STRIP
2598 if test -n "$STRIP"; then
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2600 $as_echo "$STRIP" >&6; }
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2603 $as_echo "no" >&6; }
2608 if test -z "$ac_cv_prog_STRIP"; then
2610 # Extract the first word of "strip", so it can be a program name with args.
2611 set dummy strip; ac_word=$2
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2613 $as_echo_n "checking for $ac_word... " >&6; }
2614 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2615 $as_echo_n "(cached) " >&6
2617 if test -n "$ac_ct_STRIP"; then
2618 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2624 test -z "$as_dir" && as_dir=.
2625 for ac_exec_ext in '' $ac_executable_extensions; do
2626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2627 ac_cv_prog_ac_ct_STRIP="strip"
2628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2637 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2638 if test -n "$ac_ct_STRIP"; then
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2640 $as_echo "$ac_ct_STRIP" >&6; }
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2643 $as_echo "no" >&6; }
2646 if test "x$ac_ct_STRIP" = x; then
2649 case $cross_compiling:$ac_tool_warned in
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2653 ac_tool_warned=yes ;;
2658 STRIP="$ac_cv_prog_STRIP"
2662 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2665 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2666 if test -z "$MKDIR_P"; then
2667 if ${ac_cv_path_mkdir+:} false; then :
2668 $as_echo_n "(cached) " >&6
2670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2671 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2674 test -z "$as_dir" && as_dir=.
2675 for ac_prog in mkdir gmkdir; do
2676 for ac_exec_ext in '' $ac_executable_extensions; do
2677 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2678 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2679 'mkdir (GNU coreutils) '* | \
2680 'mkdir (coreutils) '* | \
2681 'mkdir (fileutils) '4.1*)
2682 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2692 test -d ./--version && rmdir ./--version
2693 if test "${ac_cv_path_mkdir+set}" = set; then
2694 MKDIR_P="$ac_cv_path_mkdir -p"
2696 # As a last resort, use the slow shell script. Don't cache a
2697 # value for MKDIR_P within a source directory, because that will
2698 # break other packages using the cache if that directory is
2699 # removed, or if the value is a relative name.
2700 MKDIR_P="$ac_install_sh -d"
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2704 $as_echo "$MKDIR_P" >&6; }
2708 [\\/$]* | ?:[\\/]*) ;;
2709 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2712 for ac_prog in gawk mawk nawk awk
2714 # Extract the first word of "$ac_prog", so it can be a program name with args.
2715 set dummy $ac_prog; ac_word=$2
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2717 $as_echo_n "checking for $ac_word... " >&6; }
2718 if ${ac_cv_prog_AWK+:} false; then :
2719 $as_echo_n "(cached) " >&6
2721 if test -n "$AWK"; then
2722 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2728 test -z "$as_dir" && as_dir=.
2729 for ac_exec_ext in '' $ac_executable_extensions; do
2730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2731 ac_cv_prog_AWK="$ac_prog"
2732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2742 if test -n "$AWK"; then
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2744 $as_echo "$AWK" >&6; }
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2747 $as_echo "no" >&6; }
2751 test -n "$AWK" && break
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2755 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2757 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2758 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2759 $as_echo_n "(cached) " >&6
2761 cat >conftest.make <<\_ACEOF
2764 @echo '@@@%%%=$(MAKE)=@@@%%%'
2766 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2767 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2769 eval ac_cv_prog_make_${ac_make}_set=yes;;
2771 eval ac_cv_prog_make_${ac_make}_set=no;;
2775 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2777 $as_echo "yes" >&6; }
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2781 $as_echo "no" >&6; }
2782 SET_MAKE="MAKE=${MAKE-make}"
2785 rm -rf .tst 2>/dev/null
2786 mkdir .tst 2>/dev/null
2787 if test -d .tst; then
2792 rmdir .tst 2>/dev/null
2794 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2795 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2796 # is not polluted with repeated "-I."
2797 am__isrc=' -I$(srcdir)'
2798 # test to see if srcdir already configured
2799 if test -f $srcdir/config.status; then
2800 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2804 # test whether we have cygpath
2805 if test -z "$CYGPATH_W"; then
2806 if (cygpath --version) >/dev/null 2>/dev/null; then
2807 CYGPATH_W='cygpath -w'
2814 # Define the identity of the package.
2815 PACKAGE='media-service-upnp'
2819 cat >>confdefs.h <<_ACEOF
2820 #define PACKAGE "$PACKAGE"
2824 cat >>confdefs.h <<_ACEOF
2825 #define VERSION "$VERSION"
2828 # Some tools Automake needs.
2830 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2833 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2836 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2839 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2842 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2844 # We need awk for the "check" target. The system "awk" is bad on
2846 # Always define AMTAR for backward compatibility. Yes, it's still used
2847 # in the wild :-( We should find a proper way to deprecate it ...
2850 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2859 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2860 # Check whether --enable-maintainer-mode was given.
2861 if test "${enable_maintainer_mode+set}" = set; then :
2862 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2864 USE_MAINTAINER_MODE=no
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2868 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2869 if test $USE_MAINTAINER_MODE = yes; then
2870 MAINTAINER_MODE_TRUE=
2871 MAINTAINER_MODE_FALSE='#'
2873 MAINTAINER_MODE_TRUE='#'
2874 MAINTAINER_MODE_FALSE=
2877 MAINT=$MAINTAINER_MODE_TRUE
2880 # Check whether --enable-silent-rules was given.
2881 if test "${enable_silent_rules+set}" = set; then :
2882 enableval=$enable_silent_rules;
2885 case $enable_silent_rules in
2886 yes) AM_DEFAULT_VERBOSITY=0;;
2887 no) AM_DEFAULT_VERBOSITY=1;;
2888 *) AM_DEFAULT_VERBOSITY=0;;
2890 am_make=${MAKE-make}
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2892 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2893 if ${am_cv_make_support_nested_variables+:} false; then :
2894 $as_echo_n "(cached) " >&6
2896 if $as_echo 'TRUE=$(BAR$(V))
2902 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2903 am_cv_make_support_nested_variables=yes
2905 am_cv_make_support_nested_variables=no
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2909 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2910 if test $am_cv_make_support_nested_variables = yes; then
2912 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2914 AM_V=$AM_DEFAULT_VERBOSITY
2915 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2921 if (test x"${CFLAGS}" = x""); then
2924 CFLAGS+=" -D_FORTIFY_SOURCE=2"
2927 if (test x"$USE_MAINTAINER_MODE" = x"yes"); then
2929 CFLAGS+=" -Wno-unused-parameter"
2930 CFLAGS+=" -Wno-missing-field-initializers"
2931 CFLAGS+=" -Wdeclaration-after-statement"
2932 CFLAGS+=" -Wmissing-declarations"
2933 CFLAGS+=" -Wredundant-decls"
2934 CFLAGS+=" -Wcast-align"
2936 CFLAGS+=" -Wstrict-prototypes"
2937 CFLAGS+=" -Wmissing-prototypes"
2938 CFLAGS+=" -Wnested-externs"
2940 CFLAGS+=" -Wformat=2"
2941 CFLAGS+=" -Winit-self"
2943 CFLAGS+=" -std=gnu99"
2944 CFLAGS+=" -pedantic"
2945 CFLAGS+=" -Wno-overlength-strings"
2947 CFLAGS+=" -DG_DISABLE_DEPRECATED"
2948 CFLAGS+=" -DGLIB_DISABLE_DEPRECATION_WARNINGS"
2951 CFLAGS+=" -Wno-format-extra-args"
2954 # Checks for languages.
2956 ac_cpp='$CPP $CPPFLAGS'
2957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2962 # Checks for programs.
2964 ac_cpp='$CPP $CPPFLAGS'
2965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2968 if test -n "$ac_tool_prefix"; then
2969 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2970 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2972 $as_echo_n "checking for $ac_word... " >&6; }
2973 if ${ac_cv_prog_CC+:} false; then :
2974 $as_echo_n "(cached) " >&6
2976 if test -n "$CC"; then
2977 ac_cv_prog_CC="$CC" # Let the user override the test.
2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2983 test -z "$as_dir" && as_dir=.
2984 for ac_exec_ext in '' $ac_executable_extensions; do
2985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2986 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2997 if test -n "$CC"; then
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2999 $as_echo "$CC" >&6; }
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3002 $as_echo "no" >&6; }
3007 if test -z "$ac_cv_prog_CC"; then
3009 # Extract the first word of "gcc", so it can be a program name with args.
3010 set dummy gcc; ac_word=$2
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3012 $as_echo_n "checking for $ac_word... " >&6; }
3013 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3014 $as_echo_n "(cached) " >&6
3016 if test -n "$ac_ct_CC"; then
3017 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3023 test -z "$as_dir" && as_dir=.
3024 for ac_exec_ext in '' $ac_executable_extensions; do
3025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3026 ac_cv_prog_ac_ct_CC="gcc"
3027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3036 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3037 if test -n "$ac_ct_CC"; then
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3039 $as_echo "$ac_ct_CC" >&6; }
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3042 $as_echo "no" >&6; }
3045 if test "x$ac_ct_CC" = x; then
3048 case $cross_compiling:$ac_tool_warned in
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3051 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3052 ac_tool_warned=yes ;;
3060 if test -z "$CC"; then
3061 if test -n "$ac_tool_prefix"; then
3062 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3063 set dummy ${ac_tool_prefix}cc; ac_word=$2
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3065 $as_echo_n "checking for $ac_word... " >&6; }
3066 if ${ac_cv_prog_CC+:} false; then :
3067 $as_echo_n "(cached) " >&6
3069 if test -n "$CC"; then
3070 ac_cv_prog_CC="$CC" # Let the user override the test.
3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3076 test -z "$as_dir" && as_dir=.
3077 for ac_exec_ext in '' $ac_executable_extensions; do
3078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3079 ac_cv_prog_CC="${ac_tool_prefix}cc"
3080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3090 if test -n "$CC"; then
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3092 $as_echo "$CC" >&6; }
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095 $as_echo "no" >&6; }
3101 if test -z "$CC"; then
3102 # Extract the first word of "cc", so it can be a program name with args.
3103 set dummy cc; ac_word=$2
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3105 $as_echo_n "checking for $ac_word... " >&6; }
3106 if ${ac_cv_prog_CC+:} false; then :
3107 $as_echo_n "(cached) " >&6
3109 if test -n "$CC"; then
3110 ac_cv_prog_CC="$CC" # Let the user override the test.
3113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3117 test -z "$as_dir" && as_dir=.
3118 for ac_exec_ext in '' $ac_executable_extensions; do
3119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3120 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3121 ac_prog_rejected=yes
3125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3132 if test $ac_prog_rejected = yes; then
3133 # We found a bogon in the path, so make sure we never use it.
3134 set dummy $ac_cv_prog_CC
3136 if test $# != 0; then
3137 # We chose a different compiler from the bogus one.
3138 # However, it has the same basename, so the bogon will be chosen
3139 # first if we set CC to just the basename; use the full file name.
3141 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3147 if test -n "$CC"; then
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3149 $as_echo "$CC" >&6; }
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3152 $as_echo "no" >&6; }
3157 if test -z "$CC"; then
3158 if test -n "$ac_tool_prefix"; then
3159 for ac_prog in cl.exe
3161 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3162 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164 $as_echo_n "checking for $ac_word... " >&6; }
3165 if ${ac_cv_prog_CC+:} false; then :
3166 $as_echo_n "(cached) " >&6
3168 if test -n "$CC"; then
3169 ac_cv_prog_CC="$CC" # Let the user override the test.
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175 test -z "$as_dir" && as_dir=.
3176 for ac_exec_ext in '' $ac_executable_extensions; do
3177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3178 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3189 if test -n "$CC"; then
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3191 $as_echo "$CC" >&6; }
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3194 $as_echo "no" >&6; }
3198 test -n "$CC" && break
3201 if test -z "$CC"; then
3203 for ac_prog in cl.exe
3205 # Extract the first word of "$ac_prog", so it can be a program name with args.
3206 set dummy $ac_prog; ac_word=$2
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3208 $as_echo_n "checking for $ac_word... " >&6; }
3209 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3210 $as_echo_n "(cached) " >&6
3212 if test -n "$ac_ct_CC"; then
3213 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3219 test -z "$as_dir" && as_dir=.
3220 for ac_exec_ext in '' $ac_executable_extensions; do
3221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3222 ac_cv_prog_ac_ct_CC="$ac_prog"
3223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3232 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3233 if test -n "$ac_ct_CC"; then
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3235 $as_echo "$ac_ct_CC" >&6; }
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3238 $as_echo "no" >&6; }
3242 test -n "$ac_ct_CC" && break
3245 if test "x$ac_ct_CC" = x; then
3248 case $cross_compiling:$ac_tool_warned in
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3252 ac_tool_warned=yes ;;
3261 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3263 as_fn_error $? "no acceptable C compiler found in \$PATH
3264 See \`config.log' for more details" "$LINENO" 5; }
3266 # Provide some information about the compiler.
3267 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3270 for ac_option in --version -v -V -qversion; do
3271 { { ac_try="$ac_compiler $ac_option >&5"
3273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274 *) ac_try_echo=$ac_try;;
3276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3277 $as_echo "$ac_try_echo"; } >&5
3278 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3280 if test -s conftest.err; then
3282 ... rest of stderr output deleted ...
3283 10q' conftest.err >conftest.er1
3284 cat conftest.er1 >&5
3286 rm -f conftest.er1 conftest.err
3287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3288 test $ac_status = 0; }
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3302 ac_clean_files_save=$ac_clean_files
3303 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3304 # Try to create an executable without -o first, disregard a.out.
3305 # It will help us diagnose broken compilers, and finding out an intuition
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3308 $as_echo_n "checking whether the C compiler works... " >&6; }
3309 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3311 # The possible output files:
3312 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3315 for ac_file in $ac_files
3318 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3319 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3324 if { { ac_try="$ac_link_default"
3326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3327 *) ac_try_echo=$ac_try;;
3329 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3330 $as_echo "$ac_try_echo"; } >&5
3331 (eval "$ac_link_default") 2>&5
3333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3334 test $ac_status = 0; }; then :
3335 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3336 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3337 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3338 # so that the user can short-circuit this test for compilers unknown to
3340 for ac_file in $ac_files ''
3342 test -f "$ac_file" || continue
3344 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3347 # We found the default executable, but exeext='' is most
3351 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3353 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3355 # We set ac_cv_exeext here because the later test for it is not
3356 # safe: cross compilers may not add the suffix if given an `-o'
3357 # argument, so we may need to know it at that point already.
3358 # Even if this section looks crufty: it has the advantage of
3365 test "$ac_cv_exeext" = no && ac_cv_exeext=
3370 if test -z "$ac_file"; then :
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3372 $as_echo "no" >&6; }
3373 $as_echo "$as_me: failed program was:" >&5
3374 sed 's/^/| /' conftest.$ac_ext >&5
3376 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3378 as_fn_error 77 "C compiler cannot create executables
3379 See \`config.log' for more details" "$LINENO" 5; }
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3382 $as_echo "yes" >&6; }
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3385 $as_echo_n "checking for C compiler default output file name... " >&6; }
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3387 $as_echo "$ac_file" >&6; }
3388 ac_exeext=$ac_cv_exeext
3390 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3391 ac_clean_files=$ac_clean_files_save
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3393 $as_echo_n "checking for suffix of executables... " >&6; }
3394 if { { ac_try="$ac_link"
3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3397 *) ac_try_echo=$ac_try;;
3399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3400 $as_echo "$ac_try_echo"; } >&5
3401 (eval "$ac_link") 2>&5
3403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3404 test $ac_status = 0; }; then :
3405 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3406 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3407 # work properly (i.e., refer to `conftest.exe'), while it won't with
3409 for ac_file in conftest.exe conftest conftest.*; do
3410 test -f "$ac_file" || continue
3412 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3413 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3421 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3422 See \`config.log' for more details" "$LINENO" 5; }
3424 rm -f conftest conftest$ac_cv_exeext
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3426 $as_echo "$ac_cv_exeext" >&6; }
3428 rm -f conftest.$ac_ext
3429 EXEEXT=$ac_cv_exeext
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3437 FILE *f = fopen ("conftest.out", "w");
3438 return ferror (f) || fclose (f) != 0;
3444 ac_clean_files="$ac_clean_files conftest.out"
3445 # Check that the compiler produces executables we can run. If not, either
3446 # the compiler is broken, or we cross compile.
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3448 $as_echo_n "checking whether we are cross compiling... " >&6; }
3449 if test "$cross_compiling" != yes; then
3450 { { ac_try="$ac_link"
3452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3453 *) ac_try_echo=$ac_try;;
3455 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3456 $as_echo "$ac_try_echo"; } >&5
3457 (eval "$ac_link") 2>&5
3459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3460 test $ac_status = 0; }
3461 if { ac_try='./conftest$ac_cv_exeext'
3462 { { case "(($ac_try" in
3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464 *) ac_try_echo=$ac_try;;
3466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3467 $as_echo "$ac_try_echo"; } >&5
3468 (eval "$ac_try") 2>&5
3470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3471 test $ac_status = 0; }; }; then
3474 if test "$cross_compiling" = maybe; then
3477 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3479 as_fn_error $? "cannot run C compiled programs.
3480 If you meant to cross compile, use \`--host'.
3481 See \`config.log' for more details" "$LINENO" 5; }
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3486 $as_echo "$cross_compiling" >&6; }
3488 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3489 ac_clean_files=$ac_clean_files_save
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3491 $as_echo_n "checking for suffix of object files... " >&6; }
3492 if ${ac_cv_objext+:} false; then :
3493 $as_echo_n "(cached) " >&6
3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h. */
3506 rm -f conftest.o conftest.obj
3507 if { { ac_try="$ac_compile"
3509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3510 *) ac_try_echo=$ac_try;;
3512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3513 $as_echo "$ac_try_echo"; } >&5
3514 (eval "$ac_compile") 2>&5
3516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3517 test $ac_status = 0; }; then :
3518 for ac_file in conftest.o conftest.obj conftest.*; do
3519 test -f "$ac_file" || continue;
3521 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3522 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3527 $as_echo "$as_me: failed program was:" >&5
3528 sed 's/^/| /' conftest.$ac_ext >&5
3530 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3532 as_fn_error $? "cannot compute suffix of object files: cannot compile
3533 See \`config.log' for more details" "$LINENO" 5; }
3535 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3538 $as_echo "$ac_cv_objext" >&6; }
3539 OBJEXT=$ac_cv_objext
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3542 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3543 if ${ac_cv_c_compiler_gnu+:} false; then :
3544 $as_echo_n "(cached) " >&6
3546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3547 /* end confdefs.h. */
3560 if ac_fn_c_try_compile "$LINENO"; then :
3565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3566 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3570 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3571 if test $ac_compiler_gnu = yes; then
3576 ac_test_CFLAGS=${CFLAGS+set}
3577 ac_save_CFLAGS=$CFLAGS
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3579 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3580 if ${ac_cv_prog_cc_g+:} false; then :
3581 $as_echo_n "(cached) " >&6
3583 ac_save_c_werror_flag=$ac_c_werror_flag
3584 ac_c_werror_flag=yes
3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588 /* end confdefs.h. */
3598 if ac_fn_c_try_compile "$LINENO"; then :
3602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3603 /* end confdefs.h. */
3613 if ac_fn_c_try_compile "$LINENO"; then :
3616 ac_c_werror_flag=$ac_save_c_werror_flag
3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619 /* end confdefs.h. */
3629 if ac_fn_c_try_compile "$LINENO"; then :
3632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3637 ac_c_werror_flag=$ac_save_c_werror_flag
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3640 $as_echo "$ac_cv_prog_cc_g" >&6; }
3641 if test "$ac_test_CFLAGS" = set; then
3642 CFLAGS=$ac_save_CFLAGS
3643 elif test $ac_cv_prog_cc_g = yes; then
3644 if test "$GCC" = yes; then
3650 if test "$GCC" = yes; then
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3657 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3658 if ${ac_cv_prog_cc_c89+:} false; then :
3659 $as_echo_n "(cached) " >&6
3661 ac_cv_prog_cc_c89=no
3663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3664 /* end confdefs.h. */
3668 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3669 struct buf { int x; };
3670 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3671 static char *e (p, i)
3677 static char *f (char * (*g) (char **, int), char **p, ...)
3682 s = g (p, va_arg (v,int));
3687 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3688 function prototypes and stuff, but not '\xHH' hex character constants.
3689 These don't provoke an error unfortunately, instead are silently treated
3690 as 'x'. The following induces an error, until -std is added to get
3691 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3692 array size at least. It's necessary to write '\x00'==0 to get something
3693 that's true only with -std. */
3694 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3696 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3697 inside strings and character constants. */
3699 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3701 int test (int i, double x);
3702 struct s1 {int (*f) (int a);};
3703 struct s2 {int (*f) (double a);};
3704 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3710 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3715 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3716 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3718 CC="$ac_save_CC $ac_arg"
3719 if ac_fn_c_try_compile "$LINENO"; then :
3720 ac_cv_prog_cc_c89=$ac_arg
3722 rm -f core conftest.err conftest.$ac_objext
3723 test "x$ac_cv_prog_cc_c89" != "xno" && break
3725 rm -f conftest.$ac_ext
3730 case "x$ac_cv_prog_cc_c89" in
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3733 $as_echo "none needed" >&6; } ;;
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3736 $as_echo "unsupported" >&6; } ;;
3738 CC="$CC $ac_cv_prog_cc_c89"
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3740 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3742 if test "x$ac_cv_prog_cc_c89" != xno; then :
3747 ac_cpp='$CPP $CPPFLAGS'
3748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3751 DEPDIR="${am__leading_dot}deps"
3753 ac_config_commands="$ac_config_commands depfiles"
3756 am_make=${MAKE-make}
3757 cat > confinc << 'END'
3759 @echo this is the am__doit target
3762 # If we don't find an include directive, just comment out the code.
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3764 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3768 # First try GNU make style include.
3769 echo "include confinc" > confmf
3770 # Ignore all kinds of additional output from `make'.
3771 case `$am_make -s -f confmf 2> /dev/null` in #(
3772 *the\ am__doit\ target*)
3778 # Now try BSD make style include.
3779 if test "$am__include" = "#"; then
3780 echo '.include "confinc"' > confmf
3781 case `$am_make -s -f confmf 2> /dev/null` in #(
3782 *the\ am__doit\ target*)
3783 am__include=.include
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3792 $as_echo "$_am_result" >&6; }
3793 rm -f confinc confmf
3795 # Check whether --enable-dependency-tracking was given.
3796 if test "${enable_dependency_tracking+set}" = set; then :
3797 enableval=$enable_dependency_tracking;
3800 if test "x$enable_dependency_tracking" != xno; then
3801 am_depcomp="$ac_aux_dir/depcomp"
3805 if test "x$enable_dependency_tracking" != xno; then
3815 depcc="$CC" am_compiler_list=
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3818 $as_echo_n "checking dependency style of $depcc... " >&6; }
3819 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3820 $as_echo_n "(cached) " >&6
3822 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3823 # We make a subdir and do the tests there. Otherwise we can end up
3824 # making bogus files that we don't know about and never remove. For
3825 # instance it was reported that on HP-UX the gcc test will end up
3826 # making a dummy file named `D' -- because `-MD' means `put the output
3830 # Copy depcomp to subdir because otherwise we won't find it if we're
3831 # using a relative directory.
3832 cp "$am_depcomp" conftest.dir
3834 # We will build objects and dependencies in a subdirectory because
3835 # it helps to detect inapplicable dependency modes. For instance
3836 # both Tru64's cc and ICC support -MD to output dependencies as a
3837 # side effect of compilation, but ICC will put the dependencies in
3838 # the current directory while Tru64 will put them in the object
3842 am_cv_CC_dependencies_compiler_type=none
3843 if test "$am_compiler_list" = ""; then
3844 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3847 case " $depcc " in #(
3848 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3851 for depmode in $am_compiler_list; do
3852 # Setup a source with many dependencies, because some compilers
3853 # like to wrap large dependency lists on column 80 (with \), and
3854 # we should not choose a depcomp mode which is confused by this.
3856 # We need to recreate these files for each test, as the compiler may
3857 # overwrite some of them when testing with obscure command lines.
3858 # This happens at least with the AIX C compiler.
3860 for i in 1 2 3 4 5 6; do
3861 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3862 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3863 # Solaris 8's {/usr,}/bin/sh.
3864 touch sub/conftst$i.h
3866 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3868 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3869 # mode. It turns out that the SunPro C++ compiler does not properly
3870 # handle `-M -o', and we need to detect this. Also, some Intel
3871 # versions had trouble with output in subdirs
3872 am__obj=sub/conftest.${OBJEXT-o}
3873 am__minus_obj="-o $am__obj"
3876 # This depmode causes a compiler race in universal mode.
3877 test "$am__universal" = false || continue
3880 # after this tag, mechanisms are not by side-effect, so they'll
3881 # only be used when explicitly requested
3882 if test "x$enable_dependency_tracking" = xyes; then
3888 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3889 # This compiler won't grok `-c -o', but also, the minuso test has
3890 # not run yet. These depmodes are late enough in the game, and
3891 # so weak that their functioning should not be impacted.
3892 am__obj=conftest.${OBJEXT-o}
3897 if depmode=$depmode \
3898 source=sub/conftest.c object=$am__obj \
3899 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3900 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3901 >/dev/null 2>conftest.err &&
3902 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3903 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3904 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3905 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3906 # icc doesn't choke on unknown options, it will just issue warnings
3907 # or remarks (even with -Werror). So we grep stderr for any message
3908 # that says an option was ignored or not supported.
3909 # When given -MP, icc 7.0 and 7.1 complain thusly:
3910 # icc: Command line warning: ignoring option '-M'; no argument required
3911 # The diagnosis changed in icc 8.0:
3912 # icc: Command line remark: option '-MP' not supported
3913 if (grep 'ignoring option' conftest.err ||
3914 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3915 am_cv_CC_dependencies_compiler_type=$depmode
3924 am_cv_CC_dependencies_compiler_type=none
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3929 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3930 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3933 test "x$enable_dependency_tracking" != xno \
3934 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3936 am__fastdepCC_FALSE='#'
3938 am__fastdepCC_TRUE='#'
3939 am__fastdepCC_FALSE=
3943 if test "x$CC" != xcc; then
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3945 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3948 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3950 set dummy $CC; ac_cc=`$as_echo "$2" |
3951 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3952 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3953 $as_echo_n "(cached) " >&6
3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h. */
3966 # Make sure it works both with $CC and with simple cc.
3967 # We do the test twice because some compilers refuse to overwrite an
3968 # existing .o file with -o, though they will create one.
3969 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3971 if { { case "(($ac_try" in
3972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3973 *) ac_try_echo=$ac_try;;
3975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3976 $as_echo "$ac_try_echo"; } >&5
3977 (eval "$ac_try") 2>&5
3979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3980 test $ac_status = 0; } &&
3981 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3983 *) ac_try_echo=$ac_try;;
3985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3986 $as_echo "$ac_try_echo"; } >&5
3987 (eval "$ac_try") 2>&5
3989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3990 test $ac_status = 0; };
3992 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3993 if test "x$CC" != xcc; then
3994 # Test first that cc exists at all.
3995 if { ac_try='cc -c conftest.$ac_ext >&5'
3996 { { case "(($ac_try" in
3997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3998 *) ac_try_echo=$ac_try;;
4000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4001 $as_echo "$ac_try_echo"; } >&5
4002 (eval "$ac_try") 2>&5
4004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4005 test $ac_status = 0; }; }; then
4006 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4008 if { { case "(($ac_try" in
4009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4010 *) ac_try_echo=$ac_try;;
4012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4013 $as_echo "$ac_try_echo"; } >&5
4014 (eval "$ac_try") 2>&5
4016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017 test $ac_status = 0; } &&
4018 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4023 $as_echo "$ac_try_echo"; } >&5
4024 (eval "$ac_try") 2>&5
4026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4027 test $ac_status = 0; };
4032 # cc exists but doesn't like -o.
4033 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4038 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4040 rm -f core conftest*
4043 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4045 $as_echo "yes" >&6; }
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4048 $as_echo "no" >&6; }
4050 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4054 # FIXME: we rely on the cache variable name because
4055 # there is no other way.
4057 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4058 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4059 if test "$am_t" != yes; then
4060 # Losing compiler, so override with the script.
4061 # FIXME: It is wrong to rewrite CC.
4062 # But if we don't then we get into trouble of one sort or another.
4063 # A longer-term fix would be to have automake use am__CC in this case,
4064 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4065 CC="$am_aux_dir/compile $CC"
4071 # Checks for libraries.
4079 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4080 if test -n "$ac_tool_prefix"; then
4081 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4082 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4084 $as_echo_n "checking for $ac_word... " >&6; }
4085 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4086 $as_echo_n "(cached) " >&6
4090 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4097 test -z "$as_dir" && as_dir=.
4098 for ac_exec_ext in '' $ac_executable_extensions; do
4099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4100 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4111 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4112 if test -n "$PKG_CONFIG"; then
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4114 $as_echo "$PKG_CONFIG" >&6; }
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4117 $as_echo "no" >&6; }
4122 if test -z "$ac_cv_path_PKG_CONFIG"; then
4123 ac_pt_PKG_CONFIG=$PKG_CONFIG
4124 # Extract the first word of "pkg-config", so it can be a program name with args.
4125 set dummy pkg-config; ac_word=$2
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4127 $as_echo_n "checking for $ac_word... " >&6; }
4128 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4129 $as_echo_n "(cached) " >&6
4131 case $ac_pt_PKG_CONFIG in
4133 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4140 test -z "$as_dir" && as_dir=.
4141 for ac_exec_ext in '' $ac_executable_extensions; do
4142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4143 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4154 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4155 if test -n "$ac_pt_PKG_CONFIG"; then
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4157 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4160 $as_echo "no" >&6; }
4163 if test "x$ac_pt_PKG_CONFIG" = x; then
4166 case $cross_compiling:$ac_tool_warned in
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4170 ac_tool_warned=yes ;;
4172 PKG_CONFIG=$ac_pt_PKG_CONFIG
4175 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4179 if test -n "$PKG_CONFIG"; then
4180 _pkg_min_version=0.16
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4182 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4183 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4185 $as_echo "yes" >&6; }
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188 $as_echo "no" >&6; }
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
4195 $as_echo_n "checking for DBUS... " >&6; }
4197 if test -n "$DBUS_CFLAGS"; then
4198 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
4199 elif test -n "$PKG_CONFIG"; then
4200 if test -n "$PKG_CONFIG" && \
4201 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
4202 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
4204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4205 test $ac_status = 0; }; then
4206 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
4207 test "x$?" != "x0" && pkg_failed=yes
4214 if test -n "$DBUS_LIBS"; then
4215 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
4216 elif test -n "$PKG_CONFIG"; then
4217 if test -n "$PKG_CONFIG" && \
4218 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
4219 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
4221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4222 test $ac_status = 0; }; then
4223 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
4224 test "x$?" != "x0" && pkg_failed=yes
4234 if test $pkg_failed = yes; then
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4236 $as_echo "no" >&6; }
4238 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4239 _pkg_short_errors_supported=yes
4241 _pkg_short_errors_supported=no
4243 if test $_pkg_short_errors_supported = yes; then
4244 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1`
4246 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1`
4248 # Put the nasty error message in config.log where it belongs
4249 echo "$DBUS_PKG_ERRORS" >&5
4251 as_fn_error $? "Package requirements (dbus-1) were not met:
4255 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4256 installed software in a non-standard prefix.
4258 Alternatively, you may set the environment variables DBUS_CFLAGS
4259 and DBUS_LIBS to avoid the need to call pkg-config.
4260 See the pkg-config man page for more details." "$LINENO" 5
4261 elif test $pkg_failed = untried; then
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4263 $as_echo "no" >&6; }
4264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4266 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4267 is in your PATH or set the PKG_CONFIG environment variable to the full
4270 Alternatively, you may set the environment variables DBUS_CFLAGS
4271 and DBUS_LIBS to avoid the need to call pkg-config.
4272 See the pkg-config man page for more details.
4274 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4275 See \`config.log' for more details" "$LINENO" 5; }
4277 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
4278 DBUS_LIBS=$pkg_cv_DBUS_LIBS
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4280 $as_echo "yes" >&6; }
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
4286 $as_echo_n "checking for GLIB... " >&6; }
4288 if test -n "$GLIB_CFLAGS"; then
4289 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
4290 elif test -n "$PKG_CONFIG"; then
4291 if test -n "$PKG_CONFIG" && \
4292 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.26.1\""; } >&5
4293 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.26.1") 2>&5
4295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4296 test $ac_status = 0; }; then
4297 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.26.1" 2>/dev/null`
4298 test "x$?" != "x0" && pkg_failed=yes
4305 if test -n "$GLIB_LIBS"; then
4306 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
4307 elif test -n "$PKG_CONFIG"; then
4308 if test -n "$PKG_CONFIG" && \
4309 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.26.1\""; } >&5
4310 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.26.1") 2>&5
4312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4313 test $ac_status = 0; }; then
4314 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.26.1" 2>/dev/null`
4315 test "x$?" != "x0" && pkg_failed=yes
4325 if test $pkg_failed = yes; then
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4327 $as_echo "no" >&6; }
4329 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4330 _pkg_short_errors_supported=yes
4332 _pkg_short_errors_supported=no
4334 if test $_pkg_short_errors_supported = yes; then
4335 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.26.1" 2>&1`
4337 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.26.1" 2>&1`
4339 # Put the nasty error message in config.log where it belongs
4340 echo "$GLIB_PKG_ERRORS" >&5
4342 as_fn_error $? "Package requirements (glib-2.0 >= 2.26.1) were not met:
4346 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4347 installed software in a non-standard prefix.
4349 Alternatively, you may set the environment variables GLIB_CFLAGS
4350 and GLIB_LIBS to avoid the need to call pkg-config.
4351 See the pkg-config man page for more details." "$LINENO" 5
4352 elif test $pkg_failed = untried; then
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4354 $as_echo "no" >&6; }
4355 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4356 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4357 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4358 is in your PATH or set the PKG_CONFIG environment variable to the full
4361 Alternatively, you may set the environment variables GLIB_CFLAGS
4362 and GLIB_LIBS to avoid the need to call pkg-config.
4363 See the pkg-config man page for more details.
4365 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4366 See \`config.log' for more details" "$LINENO" 5; }
4368 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
4369 GLIB_LIBS=$pkg_cv_GLIB_LIBS
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4371 $as_echo "yes" >&6; }
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
4377 $as_echo_n "checking for GIO... " >&6; }
4379 if test -n "$GIO_CFLAGS"; then
4380 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
4381 elif test -n "$PKG_CONFIG"; then
4382 if test -n "$PKG_CONFIG" && \
4383 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26.1\""; } >&5
4384 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26.1") 2>&5
4386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4387 test $ac_status = 0; }; then
4388 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26.1" 2>/dev/null`
4389 test "x$?" != "x0" && pkg_failed=yes
4396 if test -n "$GIO_LIBS"; then
4397 pkg_cv_GIO_LIBS="$GIO_LIBS"
4398 elif test -n "$PKG_CONFIG"; then
4399 if test -n "$PKG_CONFIG" && \
4400 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26.1\""; } >&5
4401 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26.1") 2>&5
4403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4404 test $ac_status = 0; }; then
4405 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26.1" 2>/dev/null`
4406 test "x$?" != "x0" && pkg_failed=yes
4416 if test $pkg_failed = yes; then
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4420 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4421 _pkg_short_errors_supported=yes
4423 _pkg_short_errors_supported=no
4425 if test $_pkg_short_errors_supported = yes; then
4426 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26.1" 2>&1`
4428 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26.1" 2>&1`
4430 # Put the nasty error message in config.log where it belongs
4431 echo "$GIO_PKG_ERRORS" >&5
4433 as_fn_error $? "Package requirements (gio-2.0 >= 2.26.1) were not met:
4437 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4438 installed software in a non-standard prefix.
4440 Alternatively, you may set the environment variables GIO_CFLAGS
4441 and GIO_LIBS to avoid the need to call pkg-config.
4442 See the pkg-config man page for more details." "$LINENO" 5
4443 elif test $pkg_failed = untried; then
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4445 $as_echo "no" >&6; }
4446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4448 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4449 is in your PATH or set the PKG_CONFIG environment variable to the full
4452 Alternatively, you may set the environment variables GIO_CFLAGS
4453 and GIO_LIBS to avoid the need to call pkg-config.
4454 See the pkg-config man page for more details.
4456 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4457 See \`config.log' for more details" "$LINENO" 5; }
4459 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
4460 GIO_LIBS=$pkg_cv_GIO_LIBS
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4462 $as_echo "yes" >&6; }
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSSDP" >&5
4468 $as_echo_n "checking for GSSDP... " >&6; }
4470 if test -n "$GSSDP_CFLAGS"; then
4471 pkg_cv_GSSDP_CFLAGS="$GSSDP_CFLAGS"
4472 elif test -n "$PKG_CONFIG"; then
4473 if test -n "$PKG_CONFIG" && \
4474 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= 0.13.0\""; } >&5
4475 ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= 0.13.0") 2>&5
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }; then
4479 pkg_cv_GSSDP_CFLAGS=`$PKG_CONFIG --cflags "gssdp-1.0 >= 0.13.0" 2>/dev/null`
4480 test "x$?" != "x0" && pkg_failed=yes
4487 if test -n "$GSSDP_LIBS"; then
4488 pkg_cv_GSSDP_LIBS="$GSSDP_LIBS"
4489 elif test -n "$PKG_CONFIG"; then
4490 if test -n "$PKG_CONFIG" && \
4491 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= 0.13.0\""; } >&5
4492 ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= 0.13.0") 2>&5
4494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4495 test $ac_status = 0; }; then
4496 pkg_cv_GSSDP_LIBS=`$PKG_CONFIG --libs "gssdp-1.0 >= 0.13.0" 2>/dev/null`
4497 test "x$?" != "x0" && pkg_failed=yes
4507 if test $pkg_failed = yes; then
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509 $as_echo "no" >&6; }
4511 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4512 _pkg_short_errors_supported=yes
4514 _pkg_short_errors_supported=no
4516 if test $_pkg_short_errors_supported = yes; then
4517 GSSDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gssdp-1.0 >= 0.13.0" 2>&1`
4519 GSSDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gssdp-1.0 >= 0.13.0" 2>&1`
4521 # Put the nasty error message in config.log where it belongs
4522 echo "$GSSDP_PKG_ERRORS" >&5
4524 as_fn_error $? "Package requirements (gssdp-1.0 >= 0.13.0) were not met:
4528 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4529 installed software in a non-standard prefix.
4531 Alternatively, you may set the environment variables GSSDP_CFLAGS
4532 and GSSDP_LIBS to avoid the need to call pkg-config.
4533 See the pkg-config man page for more details." "$LINENO" 5
4534 elif test $pkg_failed = untried; then
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4536 $as_echo "no" >&6; }
4537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4539 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4540 is in your PATH or set the PKG_CONFIG environment variable to the full
4543 Alternatively, you may set the environment variables GSSDP_CFLAGS
4544 and GSSDP_LIBS to avoid the need to call pkg-config.
4545 See the pkg-config man page for more details.
4547 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4548 See \`config.log' for more details" "$LINENO" 5; }
4550 GSSDP_CFLAGS=$pkg_cv_GSSDP_CFLAGS
4551 GSSDP_LIBS=$pkg_cv_GSSDP_LIBS
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4553 $as_echo "yes" >&6; }
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNP" >&5
4559 $as_echo_n "checking for GUPNP... " >&6; }
4561 if test -n "$GUPNP_CFLAGS"; then
4562 pkg_cv_GUPNP_CFLAGS="$GUPNP_CFLAGS"
4563 elif test -n "$PKG_CONFIG"; then
4564 if test -n "$PKG_CONFIG" && \
4565 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.19.1\""; } >&5
4566 ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.19.1") 2>&5
4568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4569 test $ac_status = 0; }; then
4570 pkg_cv_GUPNP_CFLAGS=`$PKG_CONFIG --cflags "gupnp-1.0 >= 0.19.1" 2>/dev/null`
4571 test "x$?" != "x0" && pkg_failed=yes
4578 if test -n "$GUPNP_LIBS"; then
4579 pkg_cv_GUPNP_LIBS="$GUPNP_LIBS"
4580 elif test -n "$PKG_CONFIG"; then
4581 if test -n "$PKG_CONFIG" && \
4582 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.19.1\""; } >&5
4583 ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.19.1") 2>&5
4585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4586 test $ac_status = 0; }; then
4587 pkg_cv_GUPNP_LIBS=`$PKG_CONFIG --libs "gupnp-1.0 >= 0.19.1" 2>/dev/null`
4588 test "x$?" != "x0" && pkg_failed=yes
4598 if test $pkg_failed = yes; then
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4600 $as_echo "no" >&6; }
4602 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4603 _pkg_short_errors_supported=yes
4605 _pkg_short_errors_supported=no
4607 if test $_pkg_short_errors_supported = yes; then
4608 GUPNP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-1.0 >= 0.19.1" 2>&1`
4610 GUPNP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-1.0 >= 0.19.1" 2>&1`
4612 # Put the nasty error message in config.log where it belongs
4613 echo "$GUPNP_PKG_ERRORS" >&5
4615 as_fn_error $? "Package requirements (gupnp-1.0 >= 0.19.1) were not met:
4619 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4620 installed software in a non-standard prefix.
4622 Alternatively, you may set the environment variables GUPNP_CFLAGS
4623 and GUPNP_LIBS to avoid the need to call pkg-config.
4624 See the pkg-config man page for more details." "$LINENO" 5
4625 elif test $pkg_failed = untried; then
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4627 $as_echo "no" >&6; }
4628 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4630 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4631 is in your PATH or set the PKG_CONFIG environment variable to the full
4634 Alternatively, you may set the environment variables GUPNP_CFLAGS
4635 and GUPNP_LIBS to avoid the need to call pkg-config.
4636 See the pkg-config man page for more details.
4638 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4639 See \`config.log' for more details" "$LINENO" 5; }
4641 GUPNP_CFLAGS=$pkg_cv_GUPNP_CFLAGS
4642 GUPNP_LIBS=$pkg_cv_GUPNP_LIBS
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4644 $as_echo "yes" >&6; }
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNPAV" >&5
4650 $as_echo_n "checking for GUPNPAV... " >&6; }
4652 if test -n "$GUPNPAV_CFLAGS"; then
4653 pkg_cv_GUPNPAV_CFLAGS="$GUPNPAV_CFLAGS"
4654 elif test -n "$PKG_CONFIG"; then
4655 if test -n "$PKG_CONFIG" && \
4656 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= 0.11.1\""; } >&5
4657 ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= 0.11.1") 2>&5
4659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4660 test $ac_status = 0; }; then
4661 pkg_cv_GUPNPAV_CFLAGS=`$PKG_CONFIG --cflags "gupnp-av-1.0 >= 0.11.1" 2>/dev/null`
4662 test "x$?" != "x0" && pkg_failed=yes
4669 if test -n "$GUPNPAV_LIBS"; then
4670 pkg_cv_GUPNPAV_LIBS="$GUPNPAV_LIBS"
4671 elif test -n "$PKG_CONFIG"; then
4672 if test -n "$PKG_CONFIG" && \
4673 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= 0.11.1\""; } >&5
4674 ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= 0.11.1") 2>&5
4676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4677 test $ac_status = 0; }; then
4678 pkg_cv_GUPNPAV_LIBS=`$PKG_CONFIG --libs "gupnp-av-1.0 >= 0.11.1" 2>/dev/null`
4679 test "x$?" != "x0" && pkg_failed=yes
4689 if test $pkg_failed = yes; then
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 $as_echo "no" >&6; }
4693 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4694 _pkg_short_errors_supported=yes
4696 _pkg_short_errors_supported=no
4698 if test $_pkg_short_errors_supported = yes; then
4699 GUPNPAV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-av-1.0 >= 0.11.1" 2>&1`
4701 GUPNPAV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-av-1.0 >= 0.11.1" 2>&1`
4703 # Put the nasty error message in config.log where it belongs
4704 echo "$GUPNPAV_PKG_ERRORS" >&5
4706 as_fn_error $? "Package requirements (gupnp-av-1.0 >= 0.11.1) were not met:
4710 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4711 installed software in a non-standard prefix.
4713 Alternatively, you may set the environment variables GUPNPAV_CFLAGS
4714 and GUPNPAV_LIBS to avoid the need to call pkg-config.
4715 See the pkg-config man page for more details." "$LINENO" 5
4716 elif test $pkg_failed = untried; then
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718 $as_echo "no" >&6; }
4719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4721 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4722 is in your PATH or set the PKG_CONFIG environment variable to the full
4725 Alternatively, you may set the environment variables GUPNPAV_CFLAGS
4726 and GUPNPAV_LIBS to avoid the need to call pkg-config.
4727 See the pkg-config man page for more details.
4729 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4730 See \`config.log' for more details" "$LINENO" 5; }
4732 GUPNPAV_CFLAGS=$pkg_cv_GUPNPAV_CFLAGS
4733 GUPNPAV_LIBS=$pkg_cv_GUPNPAV_LIBS
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4735 $as_echo "yes" >&6; }
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
4741 $as_echo_n "checking for SOUP... " >&6; }
4743 if test -n "$SOUP_CFLAGS"; then
4744 pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
4745 elif test -n "$PKG_CONFIG"; then
4746 if test -n "$PKG_CONFIG" && \
4747 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.28.2\""; } >&5
4748 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.28.2") 2>&5
4750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4751 test $ac_status = 0; }; then
4752 pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.28.2" 2>/dev/null`
4753 test "x$?" != "x0" && pkg_failed=yes
4760 if test -n "$SOUP_LIBS"; then
4761 pkg_cv_SOUP_LIBS="$SOUP_LIBS"
4762 elif test -n "$PKG_CONFIG"; then
4763 if test -n "$PKG_CONFIG" && \
4764 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.28.2\""; } >&5
4765 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.28.2") 2>&5
4767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4768 test $ac_status = 0; }; then
4769 pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.28.2" 2>/dev/null`
4770 test "x$?" != "x0" && pkg_failed=yes
4780 if test $pkg_failed = yes; then
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 $as_echo "no" >&6; }
4784 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4785 _pkg_short_errors_supported=yes
4787 _pkg_short_errors_supported=no
4789 if test $_pkg_short_errors_supported = yes; then
4790 SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= 2.28.2" 2>&1`
4792 SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= 2.28.2" 2>&1`
4794 # Put the nasty error message in config.log where it belongs
4795 echo "$SOUP_PKG_ERRORS" >&5
4797 as_fn_error $? "Package requirements (libsoup-2.4 >= 2.28.2) were not met:
4801 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4802 installed software in a non-standard prefix.
4804 Alternatively, you may set the environment variables SOUP_CFLAGS
4805 and SOUP_LIBS to avoid the need to call pkg-config.
4806 See the pkg-config man page for more details." "$LINENO" 5
4807 elif test $pkg_failed = untried; then
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 $as_echo "no" >&6; }
4810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4812 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4813 is in your PATH or set the PKG_CONFIG environment variable to the full
4816 Alternatively, you may set the environment variables SOUP_CFLAGS
4817 and SOUP_LIBS to avoid the need to call pkg-config.
4818 See the pkg-config man page for more details.
4820 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4821 See \`config.log' for more details" "$LINENO" 5; }
4823 SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
4824 SOUP_LIBS=$pkg_cv_SOUP_LIBS
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4826 $as_echo "yes" >&6; }
4830 # Checks for header files.
4833 ac_cpp='$CPP $CPPFLAGS'
4834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4838 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4839 # On Suns, sometimes $CPP names a directory.
4840 if test -n "$CPP" && test -d "$CPP"; then
4843 if test -z "$CPP"; then
4844 if ${ac_cv_prog_CPP+:} false; then :
4845 $as_echo_n "(cached) " >&6
4847 # Double quotes because CPP needs to be expanded
4848 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4851 for ac_c_preproc_warn_flag in '' yes
4853 # Use a header file that comes with gcc, so configuring glibc
4854 # with a fresh cross-compiler works.
4855 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4856 # <limits.h> exists even on freestanding compilers.
4857 # On the NeXT, cc -E runs the code through the compiler's parser,
4858 # not just through cpp. "Syntax error" is here to catch this case.
4859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4860 /* end confdefs.h. */
4862 # include <limits.h>
4864 # include <assert.h>
4868 if ac_fn_c_try_cpp "$LINENO"; then :
4871 # Broken: fails on valid input.
4874 rm -f conftest.err conftest.i conftest.$ac_ext
4876 # OK, works on sane cases. Now check whether nonexistent headers
4877 # can be detected and how.
4878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4879 /* end confdefs.h. */
4880 #include <ac_nonexistent.h>
4882 if ac_fn_c_try_cpp "$LINENO"; then :
4883 # Broken: success on invalid input.
4886 # Passes both tests.
4890 rm -f conftest.err conftest.i conftest.$ac_ext
4893 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4894 rm -f conftest.i conftest.err conftest.$ac_ext
4895 if $ac_preproc_ok; then :
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4908 $as_echo "$CPP" >&6; }
4910 for ac_c_preproc_warn_flag in '' yes
4912 # Use a header file that comes with gcc, so configuring glibc
4913 # with a fresh cross-compiler works.
4914 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4915 # <limits.h> exists even on freestanding compilers.
4916 # On the NeXT, cc -E runs the code through the compiler's parser,
4917 # not just through cpp. "Syntax error" is here to catch this case.
4918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4919 /* end confdefs.h. */
4921 # include <limits.h>
4923 # include <assert.h>
4927 if ac_fn_c_try_cpp "$LINENO"; then :
4930 # Broken: fails on valid input.
4933 rm -f conftest.err conftest.i conftest.$ac_ext
4935 # OK, works on sane cases. Now check whether nonexistent headers
4936 # can be detected and how.
4937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4938 /* end confdefs.h. */
4939 #include <ac_nonexistent.h>
4941 if ac_fn_c_try_cpp "$LINENO"; then :
4942 # Broken: success on invalid input.
4945 # Passes both tests.
4949 rm -f conftest.err conftest.i conftest.$ac_ext
4952 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4953 rm -f conftest.i conftest.err conftest.$ac_ext
4954 if $ac_preproc_ok; then :
4957 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4959 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4960 See \`config.log' for more details" "$LINENO" 5; }
4964 ac_cpp='$CPP $CPPFLAGS'
4965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4971 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4972 if ${ac_cv_path_GREP+:} false; then :
4973 $as_echo_n "(cached) " >&6
4975 if test -z "$GREP"; then
4976 ac_path_GREP_found=false
4977 # Loop through the user's path and test for each of PROGNAME-LIST
4978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4979 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4982 test -z "$as_dir" && as_dir=.
4983 for ac_prog in grep ggrep; do
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4986 as_fn_executable_p "$ac_path_GREP" || continue
4987 # Check for GNU ac_path_GREP and select it if it is found.
4988 # Check for GNU $ac_path_GREP
4989 case `"$ac_path_GREP" --version 2>&1` in
4991 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4994 $as_echo_n 0123456789 >"conftest.in"
4997 cat "conftest.in" "conftest.in" >"conftest.tmp"
4998 mv "conftest.tmp" "conftest.in"
4999 cp "conftest.in" "conftest.nl"
5000 $as_echo 'GREP' >> "conftest.nl"
5001 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5002 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5003 as_fn_arith $ac_count + 1 && ac_count=$as_val
5004 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5005 # Best one so far, save it but keep looking for a better one
5006 ac_cv_path_GREP="$ac_path_GREP"
5007 ac_path_GREP_max=$ac_count
5009 # 10*(2^10) chars as input seems more than enough
5010 test $ac_count -gt 10 && break
5012 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5015 $ac_path_GREP_found && break 3
5020 if test -z "$ac_cv_path_GREP"; then
5021 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5024 ac_cv_path_GREP=$GREP
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5029 $as_echo "$ac_cv_path_GREP" >&6; }
5030 GREP="$ac_cv_path_GREP"
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5034 $as_echo_n "checking for egrep... " >&6; }
5035 if ${ac_cv_path_EGREP+:} false; then :
5036 $as_echo_n "(cached) " >&6
5038 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5039 then ac_cv_path_EGREP="$GREP -E"
5041 if test -z "$EGREP"; then
5042 ac_path_EGREP_found=false
5043 # Loop through the user's path and test for each of PROGNAME-LIST
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5045 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5048 test -z "$as_dir" && as_dir=.
5049 for ac_prog in egrep; do
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5052 as_fn_executable_p "$ac_path_EGREP" || continue
5053 # Check for GNU ac_path_EGREP and select it if it is found.
5054 # Check for GNU $ac_path_EGREP
5055 case `"$ac_path_EGREP" --version 2>&1` in
5057 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5060 $as_echo_n 0123456789 >"conftest.in"
5063 cat "conftest.in" "conftest.in" >"conftest.tmp"
5064 mv "conftest.tmp" "conftest.in"
5065 cp "conftest.in" "conftest.nl"
5066 $as_echo 'EGREP' >> "conftest.nl"
5067 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5068 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5069 as_fn_arith $ac_count + 1 && ac_count=$as_val
5070 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5071 # Best one so far, save it but keep looking for a better one
5072 ac_cv_path_EGREP="$ac_path_EGREP"
5073 ac_path_EGREP_max=$ac_count
5075 # 10*(2^10) chars as input seems more than enough
5076 test $ac_count -gt 10 && break
5078 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5081 $ac_path_EGREP_found && break 3
5086 if test -z "$ac_cv_path_EGREP"; then
5087 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5090 ac_cv_path_EGREP=$EGREP
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5096 $as_echo "$ac_cv_path_EGREP" >&6; }
5097 EGREP="$ac_cv_path_EGREP"
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5101 $as_echo_n "checking for ANSI C header files... " >&6; }
5102 if ${ac_cv_header_stdc+:} false; then :
5103 $as_echo_n "(cached) " >&6
5105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5106 /* end confdefs.h. */
5120 if ac_fn_c_try_compile "$LINENO"; then :
5121 ac_cv_header_stdc=yes
5123 ac_cv_header_stdc=no
5125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5127 if test $ac_cv_header_stdc = yes; then
5128 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5130 /* end confdefs.h. */
5134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5135 $EGREP "memchr" >/dev/null 2>&1; then :
5138 ac_cv_header_stdc=no
5144 if test $ac_cv_header_stdc = yes; then
5145 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5147 /* end confdefs.h. */
5151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5152 $EGREP "free" >/dev/null 2>&1; then :
5155 ac_cv_header_stdc=no
5161 if test $ac_cv_header_stdc = yes; then
5162 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5163 if test "$cross_compiling" = yes; then :
5166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5167 /* end confdefs.h. */
5170 #if ((' ' & 0x0FF) == 0x020)
5171 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5172 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5174 # define ISLOWER(c) \
5175 (('a' <= (c) && (c) <= 'i') \
5176 || ('j' <= (c) && (c) <= 'r') \
5177 || ('s' <= (c) && (c) <= 'z'))
5178 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5181 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5186 for (i = 0; i < 256; i++)
5187 if (XOR (islower (i), ISLOWER (i))
5188 || toupper (i) != TOUPPER (i))
5193 if ac_fn_c_try_run "$LINENO"; then :
5196 ac_cv_header_stdc=no
5198 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5199 conftest.$ac_objext conftest.beam conftest.$ac_ext
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5205 $as_echo "$ac_cv_header_stdc" >&6; }
5206 if test $ac_cv_header_stdc = yes; then
5208 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5212 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5213 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5214 inttypes.h stdint.h unistd.h
5216 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5217 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5219 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5220 cat >>confdefs.h <<_ACEOF
5221 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5229 for ac_header in stdlib.h string.h syslog.h
5231 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5232 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5233 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5234 cat >>confdefs.h <<_ACEOF
5235 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5243 # Checks for typedefs, structures, and compiler characteristics.
5244 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
5245 case $ac_cv_c_uint8_t in #(
5249 $as_echo "#define _UINT8_T 1" >>confdefs.h
5252 cat >>confdefs.h <<_ACEOF
5253 #define uint8_t $ac_cv_c_uint8_t
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5259 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5260 if ${ac_cv_header_stdbool_h+:} false; then :
5261 $as_echo_n "(cached) " >&6
5263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5264 /* end confdefs.h. */
5266 #include <stdbool.h>
5268 "error: bool is not defined"
5271 "error: false is not defined"
5274 "error: false is not 0"
5277 "error: true is not defined"
5280 "error: true is not 1"
5282 #ifndef __bool_true_false_are_defined
5283 "error: __bool_true_false_are_defined is not defined"
5286 struct s { _Bool s: 1; _Bool t; } s;
5288 char a[true == 1 ? 1 : -1];
5289 char b[false == 0 ? 1 : -1];
5290 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5291 char d[(bool) 0.5 == true ? 1 : -1];
5292 /* See body of main program for 'e'. */
5293 char f[(_Bool) 0.0 == false ? 1 : -1];
5295 char h[sizeof (_Bool)];
5297 enum { j = false, k = true, l = false * true, m = true * 256 };
5298 /* The following fails for
5299 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5301 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5302 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5303 /* Catch a bug in an HP-UX C compiler. See
5304 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5305 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5317 /* Refer to every declared value, to avoid compiler optimizations. */
5318 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5319 + !m + !n + !o + !p + !q + !pq);
5325 if ac_fn_c_try_compile "$LINENO"; then :
5326 ac_cv_header_stdbool_h=yes
5328 ac_cv_header_stdbool_h=no
5330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5333 $as_echo "$ac_cv_header_stdbool_h" >&6; }
5334 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5335 if test "x$ac_cv_type__Bool" = xyes; then :
5337 cat >>confdefs.h <<_ACEOF
5338 #define HAVE__BOOL 1
5345 if test $ac_cv_header_stdbool_h = yes; then
5347 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
5351 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5352 if test "x$ac_cv_type_size_t" = xyes; then :
5356 cat >>confdefs.h <<_ACEOF
5357 #define size_t unsigned int
5363 # Checks for library functions.
5364 for ac_header in stdlib.h
5366 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5367 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5368 cat >>confdefs.h <<_ACEOF
5369 #define HAVE_STDLIB_H 1
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5377 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5378 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
5379 $as_echo_n "(cached) " >&6
5381 if test "$cross_compiling" = yes; then :
5382 ac_cv_func_malloc_0_nonnull=no
5384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5385 /* end confdefs.h. */
5386 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5387 # include <stdlib.h>
5395 return ! malloc (0);
5400 if ac_fn_c_try_run "$LINENO"; then :
5401 ac_cv_func_malloc_0_nonnull=yes
5403 ac_cv_func_malloc_0_nonnull=no
5405 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5406 conftest.$ac_objext conftest.beam conftest.$ac_ext
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5411 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5412 if test $ac_cv_func_malloc_0_nonnull = yes; then :
5414 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5417 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5419 case " $LIBOBJS " in
5420 *" malloc.$ac_objext "* ) ;;
5421 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5426 $as_echo "#define malloc rpl_malloc" >>confdefs.h
5431 for ac_header in stdlib.h
5433 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5434 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5435 cat >>confdefs.h <<_ACEOF
5436 #define HAVE_STDLIB_H 1
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
5444 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
5445 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
5446 $as_echo_n "(cached) " >&6
5448 if test "$cross_compiling" = yes; then :
5449 ac_cv_func_realloc_0_nonnull=no
5451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5452 /* end confdefs.h. */
5453 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5454 # include <stdlib.h>
5462 return ! realloc (0, 0);
5467 if ac_fn_c_try_run "$LINENO"; then :
5468 ac_cv_func_realloc_0_nonnull=yes
5470 ac_cv_func_realloc_0_nonnull=no
5472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5473 conftest.$ac_objext conftest.beam conftest.$ac_ext
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
5478 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
5479 if test $ac_cv_func_realloc_0_nonnull = yes; then :
5481 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
5484 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
5486 case " $LIBOBJS " in
5487 *" realloc.$ac_objext "* ) ;;
5488 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
5493 $as_echo "#define realloc rpl_realloc" >>confdefs.h
5498 for ac_func in memset strchr strrchr strstr
5500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5502 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5503 cat >>confdefs.h <<_ACEOF
5504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5511 # Define Log Level values
5523 cat >>confdefs.h <<_ACEOF
5524 #define MSU_LOG_LEVEL_DISABLED ${LOG_LEVEL_0}
5528 cat >>confdefs.h <<_ACEOF
5529 #define MSU_LOG_LEVEL_ERROR ${LOG_LEVEL_1}
5533 cat >>confdefs.h <<_ACEOF
5534 #define MSU_LOG_LEVEL_CRITICAL ${LOG_LEVEL_2}
5538 cat >>confdefs.h <<_ACEOF
5539 #define MSU_LOG_LEVEL_WARNING ${LOG_LEVEL_3}
5543 cat >>confdefs.h <<_ACEOF
5544 #define MSU_LOG_LEVEL_MESSAGE ${LOG_LEVEL_4}
5548 cat >>confdefs.h <<_ACEOF
5549 #define MSU_LOG_LEVEL_INFO ${LOG_LEVEL_5}
5553 cat >>confdefs.h <<_ACEOF
5554 #define MSU_LOG_LEVEL_DEBUG ${LOG_LEVEL_6}
5558 cat >>confdefs.h <<_ACEOF
5559 #define MSU_LOG_LEVEL_DEFAULT ${LOG_LEVEL_7}
5563 cat >>confdefs.h <<_ACEOF
5564 #define MSU_LOG_LEVEL_ALL ${LOG_LEVEL_8}
5569 # Check whether --enable-debug was given.
5570 if test "${enable_debug+set}" = set; then :
5571 enableval=$enable_debug;
5577 case "${enable_debug}" in #(
5579 CFLAGS="$CFLAGS -g";
5581 cat >>confdefs.h <<_ACEOF
5582 #define MSU_DEBUG_ENABLED 1
5589 as_fn_error $? "bad value ${enable_debug} for --enable-debug" "$LINENO" 5 ;;
5593 # Check whether --enable-werror was given.
5594 if test "${enable_werror+set}" = set; then :
5595 enableval=$enable_werror;
5601 case "${enable_werror}" in #(
5603 CFLAGS="$CFLAGS -Werror" ;; #(
5607 as_fn_error $? "bad value ${enable_werror} for --enable-werror" "$LINENO" 5 ;;
5611 # Check whether --enable-optimization was given.
5612 if test "${enable_optimization+set}" = set; then :
5613 enableval=$enable_optimization;
5615 enable_optimization=yes
5619 case "${enable_optimization}" in #(
5621 disable_optimization=no ;; #(
5623 CFLAGS="$CFLAGS -O0"; disable_optimization=yes ;; #(
5625 as_fn_error $? "bad value ${enable_optimization} for --enable-werror" "$LINENO" 5 ;;
5629 # Check whether --enable-never-quit was given.
5630 if test "${enable_never_quit+set}" = set; then :
5631 enableval=$enable_never_quit;
5633 enable_never_quit=no
5637 case "${enable_never_quit}" in #(
5639 never_quit=true; NQ=TRUE ;; #(
5641 never_quit=false; NQ=FALSE ;; #(
5643 as_fn_error $? "bad value ${enable_never_quit} for --enable-never-quit" "$LINENO" 5 ;;
5647 cat >>confdefs.h <<_ACEOF
5648 #define MSU_NEVER_QUIT ${NQ}
5654 # Check whether --with-log-level was given.
5655 if test "${with_log_level+set}" = set; then :
5656 withval=$with_log_level;
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-log-level=${with_log_level}" >&5
5664 $as_echo_n "checking for --with-log-level=${with_log_level}... " >&6; }
5673 log_array=(0 0 0 0 0 0 0 0 0)
5675 for log_level in ${with_log_level}
5679 case $log_level in #(
5681 if test ${log_array[${log_level}]} -ne 0; then :
5683 as_fn_error 1 "\"$log_level should be set once\"" "$LINENO" 5
5685 elif test "x${log_single}" = xyes; then :
5687 as_fn_error 1 "\"Unique value element already set\"" "$LINENO" 5
5692 if test ${log_level_count} -ne 0; then :
5694 as_fn_error 1 "\"$log_level should be a unique value element\"" "$LINENO" 5
5700 as_fn_error 1 "\"$log_level is not a valid value\"" "$LINENO" 5
5704 log_name=LOG_LEVEL_${log_level}
5705 eval log_value=\$${log_name}
5706 let "LOG_LEVEL |= ${log_value}"
5711 let log_level_count++
5712 let log_array[${log_level}]++
5718 cat >>confdefs.h <<_ACEOF
5719 #define MSU_LOG_LEVEL ${LOG_LEVEL}
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5724 $as_echo "ok" >&6; }
5730 # Check whether --with-log-type was given.
5731 if test "${with_log_type+set}" = set; then :
5732 withval=$with_log_type;
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-log-type=${with_log_type}" >&5
5740 $as_echo_n "checking for --with-log-type=${with_log_type}... " >&6; }
5742 case ${with_log_type} in #(
5746 as_fn_error 1 "\"${with_log_type} is not a valid value\"" "$LINENO" 5
5751 cat >>confdefs.h <<_ACEOF
5752 #define MSU_LOG_TYPE ${with_log_type}
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5757 $as_echo "ok" >&6; }
5762 DBUS_SESSION_DIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
5766 $as_echo "#define MSU_SERVICE \"com.intel.MediaServiceUPnP\"" >>confdefs.h
5769 $as_echo "#define MSU_OBJECT \"/com/intel/MediaServiceUPnP\"" >>confdefs.h
5772 $as_echo "#define MSU_SERVER_PATH \"/com/intel/MediaServiceUPnP/server\"" >>confdefs.h
5775 MSU_SERVER_NAME=com.intel.media-service-upnp
5778 $as_echo "#define MSU_SERVER_NAME \"com.intel.media-service-upnp\"" >>confdefs.h
5781 MSU_INTERFACE_MANAGER=com.intel.MediaServiceUPnP.Manager
5784 $as_echo "#define MSU_INTERFACE_MANAGER \"com.intel.MediaServiceUPnP.Manager\"" >>confdefs.h
5787 MSU_INTERFACE_MEDIA_DEVICE=com.intel.UPnP.MediaDevice
5790 $as_echo "#define MSU_INTERFACE_MEDIA_DEVICE \"com.intel.UPnP.MediaDevice\"" >>confdefs.h
5798 ac_config_files="$ac_config_files Makefile src/com.intel.media-service-upnp.service media-service-upnp.pc media-service-upnp.conf"
5801 cat >confcache <<\_ACEOF
5802 # This file is a shell script that caches the results of configure
5803 # tests run on this system so they can be shared between configure
5804 # scripts and configure runs, see configure's option --config-cache.
5805 # It is not useful on other systems. If it contains results you don't
5806 # want to keep, you may remove or edit it.
5808 # config.status only pays attention to the cache file if you give it
5809 # the --recheck option to rerun configure.
5811 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5812 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5817 # The following way of writing the cache mishandles newlines in values,
5818 # but we know of no workaround that is simple, portable, and efficient.
5819 # So, we kill variables containing newlines.
5820 # Ultrix sh set writes to stderr and can't be redirected directly,
5821 # and sets the high bit in the cache file unless we assign to the vars.
5823 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5824 eval ac_val=\$$ac_var
5828 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5829 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5832 _ | IFS | as_nl) ;; #(
5833 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5834 *) { eval $ac_var=; unset $ac_var;} ;;
5840 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5841 *${as_nl}ac_space=\ *)
5842 # `set' does not quote correctly, so add quotes: double-quote
5843 # substitution turns \\\\ into \\, and sed turns \\ into \.
5846 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5849 # `set' quotes correctly as required by POSIX, so do not add quotes.
5850 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5859 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5861 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5863 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5864 if test -w "$cache_file"; then
5865 if test "x$cache_file" != "x/dev/null"; then
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5867 $as_echo "$as_me: updating cache $cache_file" >&6;}
5868 if test ! -f "$cache_file" || test -h "$cache_file"; then
5869 cat confcache >"$cache_file"
5871 case $cache_file in #(
5873 mv -f confcache "$cache_file"$$ &&
5874 mv -f "$cache_file"$$ "$cache_file" ;; #(
5876 mv -f confcache "$cache_file" ;;
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5882 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5887 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5888 # Let make expand exec_prefix.
5889 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5891 DEFS=-DHAVE_CONFIG_H
5896 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5897 # 1. Remove the extension, and $U if already installed.
5898 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5899 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5900 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5901 # will be set to the directory where LIBOBJS objects are built.
5902 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5903 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5907 LTLIBOBJS=$ac_ltlibobjs
5910 if test -n "$EXEEXT"; then
5912 am__EXEEXT_FALSE='#'
5918 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5919 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5920 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5922 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5923 as_fn_error $? "conditional \"AMDEP\" was never defined.
5924 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5926 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5927 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5928 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5931 : "${CONFIG_STATUS=./config.status}"
5933 ac_clean_files_save=$ac_clean_files
5934 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5936 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5938 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5940 # Generated by $as_me.
5941 # Run this file to recreate the current configuration.
5942 # Compiler output produced by configure, useful for debugging
5943 # configure, is in config.log if it exists.
5949 SHELL=\${CONFIG_SHELL-$SHELL}
5952 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5953 ## -------------------- ##
5954 ## M4sh Initialization. ##
5955 ## -------------------- ##
5957 # Be more Bourne compatible
5958 DUALCASE=1; export DUALCASE # for MKS sh
5959 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5962 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5963 # is contrary to our usage. Disable this feature.
5964 alias -g '${1+"$@"}'='"$@"'
5965 setopt NO_GLOB_SUBST
5967 case `(set -o) 2>/dev/null` in #(
5979 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5980 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5981 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5982 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5983 # Prefer a ksh shell builtin over an external printf program on Solaris,
5984 # but without wasting forks for bash or zsh.
5985 if test -z "$BASH_VERSION$ZSH_VERSION" \
5986 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5987 as_echo='print -r --'
5988 as_echo_n='print -rn --'
5989 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5990 as_echo='printf %s\n'
5991 as_echo_n='printf %s'
5993 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5994 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5995 as_echo_n='/usr/ucb/echo -n'
5997 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5998 as_echo_n_body='eval
6002 expr "X$arg" : "X\\(.*\\)$as_nl";
6003 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6005 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6007 export as_echo_n_body
6008 as_echo_n='sh -c $as_echo_n_body as_echo'
6011 as_echo='sh -c $as_echo_body as_echo'
6014 # The user is always right.
6015 if test "${PATH_SEPARATOR+set}" != set; then
6017 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6018 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6025 # We need space, tab and new line, in precisely that order. Quoting is
6026 # there to prevent editors from complaining about space-tab.
6027 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6028 # splitting by setting IFS to empty value.)
6031 # Find who we are. Look in the path if we contain no directory separator.
6034 *[\\/]* ) as_myself=$0 ;;
6035 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6039 test -z "$as_dir" && as_dir=.
6040 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6046 # We did not find ourselves, most probably we were run as `sh COMMAND'
6047 # in which case we are not to be found in the path.
6048 if test "x$as_myself" = x; then
6051 if test ! -f "$as_myself"; then
6052 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6056 # Unset variables that we do not need and which cause bugs (e.g. in
6057 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6058 # suppresses any "Segmentation fault" message there. '((' could
6059 # trigger a bug in pdksh 5.2.14.
6060 for as_var in BASH_ENV ENV MAIL MAILPATH
6061 do eval test x\${$as_var+set} = xset \
6062 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6075 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6078 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6079 # ----------------------------------------
6080 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6081 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6082 # script with STATUS, using 1 if that was 0.
6085 as_status=$1; test $as_status -eq 0 && as_status=1
6087 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6088 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6090 $as_echo "$as_me: error: $2" >&2
6091 as_fn_exit $as_status
6095 # as_fn_set_status STATUS
6096 # -----------------------
6097 # Set $? to STATUS, without forking.
6101 } # as_fn_set_status
6105 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6115 # Portably unset VAR.
6118 { eval $1=; unset $1;}
6120 as_unset=as_fn_unset
6121 # as_fn_append VAR VALUE
6122 # ----------------------
6123 # Append the text in VALUE to the end of the definition contained in VAR. Take
6124 # advantage of any shell optimizations that allow amortized linear growth over
6125 # repeated appends, instead of the typical quadratic growth present in naive
6127 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6128 eval 'as_fn_append ()
6139 # as_fn_arith ARG...
6140 # ------------------
6141 # Perform arithmetic evaluation on the ARGs, and store the result in the
6142 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6143 # must be portable across $(()) and expr.
6144 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6145 eval 'as_fn_arith ()
6152 as_val=`expr "$@" || test $? -eq 1`
6157 if expr a : '\(a\)' >/dev/null 2>&1 &&
6158 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6164 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6165 as_basename=basename
6170 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6176 as_me=`$as_basename -- "$0" ||
6177 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6178 X"$0" : 'X\(//\)$' \| \
6179 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6181 sed '/^.*\/\([^/][^/]*\)\/*$/{
6195 # Avoid depending upon Character Ranges.
6196 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6197 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6198 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6199 as_cr_digits='0123456789'
6200 as_cr_alnum=$as_cr_Letters$as_cr_digits
6202 ECHO_C= ECHO_N= ECHO_T=
6203 case `echo -n x` in #(((((
6205 case `echo 'xy\c'` in
6206 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6208 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6215 rm -f conf$$ conf$$.exe conf$$.file
6216 if test -d conf$$.dir; then
6217 rm -f conf$$.dir/conf$$.file
6220 mkdir conf$$.dir 2>/dev/null
6222 if (echo >conf$$.file) 2>/dev/null; then
6223 if ln -s conf$$.file conf$$ 2>/dev/null; then
6225 # ... but there are two gotchas:
6226 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6227 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6228 # In both cases, we have to default to `cp -pR'.
6229 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6231 elif ln conf$$.file conf$$ 2>/dev/null; then
6239 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6240 rmdir conf$$.dir 2>/dev/null
6245 # Create "$as_dir" as a directory, including parents if necessary.
6250 -*) as_dir=./$as_dir;;
6252 test -d "$as_dir" || eval $as_mkdir_p || {
6256 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6257 *) as_qdir=$as_dir;;
6259 as_dirs="'$as_qdir' $as_dirs"
6260 as_dir=`$as_dirname -- "$as_dir" ||
6261 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6262 X"$as_dir" : 'X\(//\)[^/]' \| \
6263 X"$as_dir" : 'X\(//\)$' \| \
6264 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6265 $as_echo X"$as_dir" |
6266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6283 test -d "$as_dir" && break
6285 test -z "$as_dirs" || eval "mkdir $as_dirs"
6286 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6290 if mkdir -p . 2>/dev/null; then
6291 as_mkdir_p='mkdir -p "$as_dir"'
6293 test -d ./-p && rmdir ./-p
6298 # as_fn_executable_p FILE
6299 # -----------------------
6300 # Test if FILE is an executable regular file.
6301 as_fn_executable_p ()
6303 test -f "$1" && test -x "$1"
6304 } # as_fn_executable_p
6306 as_executable_p=as_fn_executable_p
6308 # Sed expression to map a string onto a valid CPP name.
6309 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6311 # Sed expression to map a string onto a valid variable name.
6312 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6316 ## ----------------------------------- ##
6317 ## Main body of $CONFIG_STATUS script. ##
6318 ## ----------------------------------- ##
6320 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6323 # Save the log message, to keep $0 and so on meaningful, and to
6324 # report actual input values of CONFIG_FILES etc. instead of their
6325 # values after options handling.
6327 This file was extended by media-service-upnp $as_me 0.3.0, which was
6328 generated by GNU Autoconf 2.69. Invocation command line was
6330 CONFIG_FILES = $CONFIG_FILES
6331 CONFIG_HEADERS = $CONFIG_HEADERS
6332 CONFIG_LINKS = $CONFIG_LINKS
6333 CONFIG_COMMANDS = $CONFIG_COMMANDS
6336 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6341 case $ac_config_files in *"
6342 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6345 case $ac_config_headers in *"
6346 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6351 # Files that config.status was made for.
6352 config_files="$ac_config_files"
6353 config_headers="$ac_config_headers"
6354 config_commands="$ac_config_commands"
6358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6360 \`$as_me' instantiates files and other configuration actions
6361 from templates according to the current configuration. Unless the files
6362 and actions are specified as TAGs, all are instantiated by default.
6364 Usage: $0 [OPTION]... [TAG]...
6366 -h, --help print this help, then exit
6367 -V, --version print version number and configuration settings, then exit
6368 --config print configuration, then exit
6369 -q, --quiet, --silent
6370 do not print progress messages
6371 -d, --debug don't remove temporary files
6372 --recheck update $as_me by reconfiguring in the same conditions
6373 --file=FILE[:TEMPLATE]
6374 instantiate the configuration file FILE
6375 --header=FILE[:TEMPLATE]
6376 instantiate the configuration header FILE
6378 Configuration files:
6381 Configuration headers:
6384 Configuration commands:
6387 Report bugs to <https://github.com/01org/media-service-upnp/issues/new>.
6388 media-service-upnp home page: <https://01.org/dleyna/>."
6391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6392 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6394 media-service-upnp config.status 0.3.0
6395 configured by $0, generated by GNU Autoconf 2.69,
6396 with options \\"\$ac_cs_config\\"
6398 Copyright (C) 2012 Free Software Foundation, Inc.
6399 This config.status script is free software; the Free Software Foundation
6400 gives unlimited permission to copy, distribute and modify it."
6407 test -n "\$AWK" || AWK=awk
6410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6411 # The default lists apply if the user does not specify any file.
6417 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6418 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6422 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6434 # Handling of the options.
6435 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6437 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6438 $as_echo "$ac_cs_version"; exit ;;
6439 --config | --confi | --conf | --con | --co | --c )
6440 $as_echo "$ac_cs_config"; exit ;;
6441 --debug | --debu | --deb | --de | --d | -d )
6443 --file | --fil | --fi | --f )
6446 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6447 '') as_fn_error $? "missing file argument" ;;
6449 as_fn_append CONFIG_FILES " '$ac_optarg'"
6450 ac_need_defaults=false;;
6451 --header | --heade | --head | --hea )
6454 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6456 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6457 ac_need_defaults=false;;
6459 # Conflict between --help and --header
6460 as_fn_error $? "ambiguous option: \`$1'
6461 Try \`$0 --help' for more information.";;
6462 --help | --hel | -h )
6463 $as_echo "$ac_cs_usage"; exit ;;
6464 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6465 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6469 -*) as_fn_error $? "unrecognized option: \`$1'
6470 Try \`$0 --help' for more information." ;;
6472 *) as_fn_append ac_config_targets " $1"
6473 ac_need_defaults=false ;;
6479 ac_configure_extra_args=
6481 if $ac_cs_silent; then
6483 ac_configure_extra_args="$ac_configure_extra_args --silent"
6487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6488 if \$ac_cs_recheck; then
6489 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6491 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6492 CONFIG_SHELL='$SHELL'
6498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6502 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6503 ## Running $as_me. ##
6509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6513 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6519 # Handling of arguments.
6520 for ac_config_target in $ac_config_targets
6522 case $ac_config_target in
6523 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6524 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6525 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6526 "src/com.intel.media-service-upnp.service") CONFIG_FILES="$CONFIG_FILES src/com.intel.media-service-upnp.service" ;;
6527 "media-service-upnp.pc") CONFIG_FILES="$CONFIG_FILES media-service-upnp.pc" ;;
6528 "media-service-upnp.conf") CONFIG_FILES="$CONFIG_FILES media-service-upnp.conf" ;;
6530 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6535 # If the user did not use the arguments to specify the items to instantiate,
6536 # then the envvar interface is used. Set only those that are not.
6537 # We use the long form for the default assignment because of an extremely
6538 # bizarre bug on SunOS 4.1.3.
6539 if $ac_need_defaults; then
6540 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6541 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6542 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6545 # Have a temporary directory for convenience. Make it in the build tree
6546 # simply because there is no reason against having it here, and in addition,
6547 # creating and moving files from /tmp can sometimes cause problems.
6548 # Hook for its removal unless debugging.
6549 # Note that there is a small window in which the directory will not be cleaned:
6550 # after its creation but before its name has been assigned to `$tmp'.
6554 trap 'exit_status=$?
6556 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6558 trap 'as_fn_exit 1' 1 2 13 15
6560 # Create a (secure) tmp directory for tmp files.
6563 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6567 tmp=./conf$$-$RANDOM
6568 (umask 077 && mkdir "$tmp")
6569 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6572 # Set up the scripts for CONFIG_FILES section.
6573 # No need to generate them if there are no CONFIG_FILES.
6574 # This happens for instance with `./config.status config.h'.
6575 if test -n "$CONFIG_FILES"; then
6578 ac_cr=`echo X | tr X '\015'`
6579 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6580 # But we know of no other shell where ac_cr would be empty at this
6581 # point, so we can use a bashism as a fallback.
6582 if test "x$ac_cr" = x; then
6583 eval ac_cr=\$\'\\r\'
6585 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6586 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6592 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6597 echo "cat >conf$$subs.awk <<_ACEOF" &&
6598 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6601 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6602 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6604 for ac_last_try in false false false false false :; do
6605 . ./conf$$subs.sh ||
6606 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6608 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6609 if test $ac_delim_n = $ac_delim_num; then
6611 elif $ac_last_try; then
6612 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6614 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6620 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6624 s/^/S["/; s/!.*/"]=/
6634 s/\(.\{148\}\)..*/\1/
6636 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6641 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6648 s/\(.\{148\}\)..*/\1/
6650 s/["\\]/\\&/g; s/^/"/; s/$/"/
6654 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6659 ' <conf$$subs.awk | sed '
6664 ' >>$CONFIG_STATUS || ac_write_fail=1
6665 rm -f conf$$subs.awk
6666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6668 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6669 for (key in S) S_is_set[key] = 1
6675 nfields = split(line, field, "@")
6677 len = length(field[1])
6678 for (i = 2; i < nfields; i++) {
6680 keylen = length(key)
6681 if (S_is_set[key]) {
6683 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6684 len += length(value) + length(field[++i])
6695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6696 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6697 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6700 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6701 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6704 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6705 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6706 # trailing colons and then remove the whole line if VPATH becomes empty
6707 # (actually we leave an empty line to preserve line numbers).
6708 if test "x$srcdir" = x.; then
6709 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6728 fi # test -n "$CONFIG_FILES"
6730 # Set up the scripts for CONFIG_HEADERS section.
6731 # No need to generate them if there are no CONFIG_HEADERS.
6732 # This happens for instance with `./config.status Makefile'.
6733 if test -n "$CONFIG_HEADERS"; then
6734 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6738 # Transform confdefs.h into an awk script `defines.awk', embedded as
6739 # here-document in config.status, that substitutes the proper values into
6740 # config.h.in to produce config.h.
6742 # Create a delimiter string that does not exist in confdefs.h, to ease
6743 # handling of long lines.
6745 for ac_last_try in false false :; do
6746 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6747 if test -z "$ac_tt"; then
6749 elif $ac_last_try; then
6750 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6752 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6756 # For the awk script, D is an array of macro values keyed by name,
6757 # likewise P contains macro parameters if any. Preserve backslash
6758 # newline sequences.
6760 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6762 s/.\{148\}/&'"$ac_delim"'/g
6765 s/^[ ]*#[ ]*define[ ][ ]*/ /
6772 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6774 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6778 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6779 D["\1"]=" \3\\\\\\n"\\/p
6781 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6786 s/.\{148\}/&'"$ac_delim"'/g
6791 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6794 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6796 ' <confdefs.h | sed '
6797 s/'"$ac_delim"'/"\\\
6798 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6801 for (key in D) D_is_set[key] = 1
6804 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6806 split(line, arg, " ")
6807 if (arg[1] == "#") {
6811 defundef = substr(arg[1], 2)
6814 split(mac1, mac2, "(") #)
6816 prefix = substr(line, 1, index(line, defundef) - 1)
6817 if (D_is_set[macro]) {
6818 # Preserve the white space surrounding the "#".
6819 print prefix "define", macro P[macro] D[macro]
6822 # Replace #undef with comments. This is necessary, for example,
6823 # in the case of _POSIX_SOURCE, which is predefined and required
6824 # on some systems where configure will not decide to define it.
6825 if (defundef == "undef") {
6826 print "/*", prefix defundef, macro, "*/"
6834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6835 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6836 fi # test -n "$CONFIG_HEADERS"
6839 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6844 :[FHLC]) ac_mode=$ac_tag; continue;;
6846 case $ac_mode$ac_tag in
6848 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6849 :[FH]-) ac_tag=-:-;;
6850 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6867 -) ac_f="$ac_tmp/stdin";;
6868 *) # Look for the file first in the build tree, then in the source tree
6869 # (if the path is not absolute). The absolute path cannot be DOS-style,
6870 # because $ac_f cannot contain `:'.
6874 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6876 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6878 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6879 as_fn_append ac_file_inputs " '$ac_f'"
6882 # Let's still pretend it is `configure' which instantiates (i.e., don't
6883 # use $as_me), people would be surprised to read:
6884 # /* config.h. Generated by config.status. */
6885 configure_input='Generated from '`
6886 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6888 if test x"$ac_file" != x-; then
6889 configure_input="$ac_file. $configure_input"
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6891 $as_echo "$as_me: creating $ac_file" >&6;}
6893 # Neutralize special characters interpreted by sed in replacement strings.
6894 case $configure_input in #(
6895 *\&* | *\|* | *\\* )
6896 ac_sed_conf_input=`$as_echo "$configure_input" |
6897 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6898 *) ac_sed_conf_input=$configure_input;;
6902 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6903 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6908 ac_dir=`$as_dirname -- "$ac_file" ||
6909 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6910 X"$ac_file" : 'X\(//\)[^/]' \| \
6911 X"$ac_file" : 'X\(//\)$' \| \
6912 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6913 $as_echo X"$ac_file" |
6914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6931 as_dir="$ac_dir"; as_fn_mkdir_p
6935 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6937 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6938 # A ".." for each directory in $ac_dir_suffix.
6939 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6940 case $ac_top_builddir_sub in
6941 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6942 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6945 ac_abs_top_builddir=$ac_pwd
6946 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6947 # for backward compatibility:
6948 ac_top_builddir=$ac_top_build_prefix
6951 .) # We are building in place.
6953 ac_top_srcdir=$ac_top_builddir_sub
6954 ac_abs_top_srcdir=$ac_pwd ;;
6955 [\\/]* | ?:[\\/]* ) # Absolute name.
6956 ac_srcdir=$srcdir$ac_dir_suffix;
6957 ac_top_srcdir=$srcdir
6958 ac_abs_top_srcdir=$srcdir ;;
6960 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6961 ac_top_srcdir=$ac_top_build_prefix$srcdir
6962 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6964 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6974 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6975 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6979 [\\/$]* | ?:[\\/]* ) ;;
6980 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6985 # If the template does not know about datarootdir, expand it.
6986 # FIXME: This hack should be removed a few years after 2.60.
6987 ac_datarootdir_hack=; ac_datarootdir_seen=
6998 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6999 *datarootdir*) ac_datarootdir_seen=yes;;
7000 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7002 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7005 ac_datarootdir_hack='
7006 s&@datadir@&$datadir&g
7007 s&@docdir@&$docdir&g
7008 s&@infodir@&$infodir&g
7009 s&@localedir@&$localedir&g
7010 s&@mandir@&$mandir&g
7011 s&\\\${datarootdir}&$datarootdir&g' ;;
7015 # Neutralize VPATH when `$srcdir' = `.'.
7016 # Shell code in configure.ac might set extrasub.
7017 # FIXME: do we really want to maintain this feature?
7018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7019 ac_sed_extra="$ac_vpsub
7022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7024 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7025 s|@configure_input@|$ac_sed_conf_input|;t t
7026 s&@top_builddir@&$ac_top_builddir_sub&;t t
7027 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7028 s&@srcdir@&$ac_srcdir&;t t
7029 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7030 s&@top_srcdir@&$ac_top_srcdir&;t t
7031 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7032 s&@builddir@&$ac_builddir&;t t
7033 s&@abs_builddir@&$ac_abs_builddir&;t t
7034 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7035 s&@INSTALL@&$ac_INSTALL&;t t
7036 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7037 $ac_datarootdir_hack
7039 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7040 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7042 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7043 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7044 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7045 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7047 which seems to be undefined. Please make sure it is defined" >&5
7048 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7049 which seems to be undefined. Please make sure it is defined" >&2;}
7051 rm -f "$ac_tmp/stdin"
7053 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7054 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7056 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7062 if test x"$ac_file" != x-; then
7064 $as_echo "/* $configure_input */" \
7065 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7066 } >"$ac_tmp/config.h" \
7067 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7068 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7070 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7073 mv "$ac_tmp/config.h" "$ac_file" \
7074 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7077 $as_echo "/* $configure_input */" \
7078 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7079 || as_fn_error $? "could not create -" "$LINENO" 5
7081 # Compute "$ac_file"'s index in $config_headers.
7084 for _am_header in $config_headers :; do
7086 $_am_arg | $_am_arg:* )
7089 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7092 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7093 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7094 X"$_am_arg" : 'X\(//\)[^/]' \| \
7095 X"$_am_arg" : 'X\(//\)$' \| \
7096 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7097 $as_echo X"$_am_arg" |
7098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7114 s/.*/./; q'`/stamp-h$_am_stamp_count
7117 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7118 $as_echo "$as_me: executing $ac_file commands" >&6;}
7123 case $ac_file$ac_mode in
7124 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7125 # Autoconf 2.62 quotes --file arguments for eval, but not when files
7126 # are listed without --file. Let's play safe and only enable the eval
7127 # if we detect the quoting.
7128 case $CONFIG_FILES in
7129 *\'*) eval set x "$CONFIG_FILES" ;;
7130 *) set x $CONFIG_FILES ;;
7135 # Strip MF so we end up with the name of the file.
7136 mf=`echo "$mf" | sed -e 's/:.*$//'`
7137 # Check whether this is an Automake generated Makefile or not.
7138 # We used to match only the files named `Makefile.in', but
7139 # some people rename them; so instead we look at the file content.
7140 # Grep'ing the first line is not enough: some people post-process
7141 # each Makefile.in and add a new line on top of each file to say so.
7142 # Grep'ing the whole file is not good either: AIX grep has a line
7143 # limit of 2048, but all sed's we know have understand at least 4000.
7144 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7145 dirpart=`$as_dirname -- "$mf" ||
7146 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7147 X"$mf" : 'X\(//\)[^/]' \| \
7148 X"$mf" : 'X\(//\)$' \| \
7149 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7171 # Extract the definition of DEPDIR, am__include, and am__quote
7172 # from the Makefile without running `make'.
7173 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7174 test -z "$DEPDIR" && continue
7175 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7176 test -z "am__include" && continue
7177 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7178 # When using ansi2knr, U may be empty or an underscore; expand it
7179 U=`sed -n 's/^U = //p' < "$mf"`
7180 # Find all dependency output files, they are included files with
7181 # $(DEPDIR) in their names. We invoke sed twice because it is the
7182 # simplest approach to changing $(DEPDIR) to its actual value in the
7184 for file in `sed -n "
7185 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7186 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7187 # Make sure the directory exists.
7188 test -f "$dirpart/$file" && continue
7189 fdir=`$as_dirname -- "$file" ||
7190 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7191 X"$file" : 'X\(//\)[^/]' \| \
7192 X"$file" : 'X\(//\)$' \| \
7193 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7212 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7213 # echo "creating $dirpart/$file"
7214 echo '# dummy' > "$dirpart/$file"
7226 ac_clean_files=$ac_clean_files_save
7228 test $ac_write_fail = 0 ||
7229 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7232 # configure is writing to config.log, and then calls config.status.
7233 # config.status does its own redirection, appending to config.log.
7234 # Unfortunately, on DOS this fails, as config.log is still kept open
7235 # by configure, so config.status won't be able to write to it; its
7236 # output is simply discarded. So we exec the FD to /dev/null,
7237 # effectively closing config.log, so it can be properly (re)opened and
7238 # appended to by config.status. When coming back to configure, we
7239 # need to make the FD available again.
7240 if test "$no_create" != yes; then
7242 ac_config_status_args=
7243 test "$silent" = yes &&
7244 ac_config_status_args="$ac_config_status_args --quiet"
7246 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7248 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7249 # would make configure fail if this is the last instruction.
7250 $ac_cs_success || as_fn_exit 1
7252 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7254 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7258 $as_echo "-------------------------------------------------
7260 ${PACKAGE_NAME} Version ${PACKAGE_VERSION}
7262 Prefix : '${prefix}'.
7264 CFLAGS : '${CFLAGS}'
7267 - enable-werror : ${enable_werror}
7268 - enable-debug : ${enable_debug}
7269 - disable-optimization: ${disable_optimization}
7270 - enable-never-quit : ${enable_never_quit}
7271 - with-log-level : ${with_log_level}
7272 - with-log-type : ${with_log_type}
7274 --------------------------------------------------"