Update media-service-upnp to version 0.3.0 ( ca17a69 )
[profile/ivi/media-service-upnp.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for media-service-upnp 0.3.0.
4 #
5 # Report bugs to <https://github.com/01org/media-service-upnp/issues/new>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
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 ## -------------------- ##
16
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 :
20   emulate sh
21   NULLCMD=:
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+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
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
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
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'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
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.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
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
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
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 || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
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.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
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
158 as_fn_exit 255
159   fi
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 :
164   emulate sh
165   NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
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; }
184
185 exitcode=0
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 :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || 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 :
203   as_have_required=yes
204 else
205   as_have_required=no
206 fi
207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209 else
210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 do
214   IFS=$as_save_IFS
215   test -z "$as_dir" && as_dir=.
216   as_found=:
217   case $as_dir in #(
218          /*)
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 :
226   break 2
227 fi
228 fi
229            done;;
230        esac
231   as_found=false
232 done
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
236 fi; }
237 IFS=$as_save_IFS
238
239
240       if test "x$CONFIG_SHELL" != x; then :
241   export CONFIG_SHELL
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.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250   *v*x* | *x*v* ) as_opts=-vx ;;
251   *v* ) as_opts=-v ;;
252   *x* ) as_opts=-x ;;
253   * ) as_opts= ;;
254 esac
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
259 exit 255
260 fi
261
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."
268   else
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
274 $0: have one."
275   fi
276   exit 1
277 fi
278 fi
279 fi
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
285
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
293 {
294   { eval $1=; unset $1;}
295 }
296 as_unset=as_fn_unset
297
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
301 as_fn_set_status ()
302 {
303   return $1
304 } # as_fn_set_status
305
306 # as_fn_exit STATUS
307 # -----------------
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
309 as_fn_exit ()
310 {
311   set +e
312   as_fn_set_status $1
313   exit $1
314 } # as_fn_exit
315
316 # as_fn_mkdir_p
317 # -------------
318 # Create "$as_dir" as a directory, including parents if necessary.
319 as_fn_mkdir_p ()
320 {
321
322   case $as_dir in #(
323   -*) as_dir=./$as_dir;;
324   esac
325   test -d "$as_dir" || eval $as_mkdir_p || {
326     as_dirs=
327     while :; do
328       case $as_dir in #(
329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330       *) as_qdir=$as_dir;;
331       esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
340             s//\1/
341             q
342           }
343           /^X\(\/\/\)[^/].*/{
344             s//\1/
345             q
346           }
347           /^X\(\/\/\)$/{
348             s//\1/
349             q
350           }
351           /^X\(\/\).*/{
352             s//\1/
353             q
354           }
355           s/.*/./; q'`
356       test -d "$as_dir" && break
357     done
358     test -z "$as_dirs" || eval "mkdir $as_dirs"
359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360
361
362 } # as_fn_mkdir_p
363
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p ()
368 {
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
376 # implementations.
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
378   eval 'as_fn_append ()
379   {
380     eval $1+=\$2
381   }'
382 else
383   as_fn_append ()
384   {
385     eval $1=\$$1\$2
386   }
387 fi # as_fn_append
388
389 # as_fn_arith ARG...
390 # ------------------
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 :
395   eval 'as_fn_arith ()
396   {
397     as_val=$(( $* ))
398   }'
399 else
400   as_fn_arith ()
401   {
402     as_val=`expr "$@" || test $? -eq 1`
403   }
404 fi # as_fn_arith
405
406
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.
412 as_fn_error ()
413 {
414   as_status=$1; test $as_status -eq 0 && as_status=1
415   if test "$4"; then
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
418   fi
419   $as_echo "$as_me: error: $2" >&2
420   as_fn_exit $as_status
421 } # as_fn_error
422
423 if expr a : '\(a\)' >/dev/null 2>&1 &&
424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
425   as_expr=expr
426 else
427   as_expr=false
428 fi
429
430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431   as_basename=basename
432 else
433   as_basename=false
434 fi
435
436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
437   as_dirname=dirname
438 else
439   as_dirname=false
440 fi
441
442 as_me=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444          X"$0" : 'X\(//\)$' \| \
445          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 $as_echo X/"$0" |
447     sed '/^.*\/\([^/][^/]*\)\/*$/{
448             s//\1/
449             q
450           }
451           /^X\/\(\/\/\)$/{
452             s//\1/
453             q
454           }
455           /^X\/\(\/\).*/{
456             s//\1/
457             q
458           }
459           s/.*/./; q'`
460
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
467
468
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.  :-)
474   sed -n '
475     p
476     /[$]LINENO/=
477   ' <$as_myself |
478     sed '
479       s/[$]LINENO.*/&-/
480       t lineno
481       b
482       :lineno
483       N
484       :loop
485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
486       t loop
487       s/-\n.*//
488     ' >$as_me.lineno &&
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; }
491
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).
499   . "./$as_me.lineno"
500   # Exit status is that of the last command.
501   exit
502 }
503
504 ECHO_C= ECHO_N= ECHO_T=
505 case `echo -n x` in #(((((
506 -n*)
507   case `echo 'xy\c'` in
508   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
509   xy)  ECHO_C='\c';;
510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
511        ECHO_T=' ';;
512   esac;;
513 *)
514   ECHO_N='-n';;
515 esac
516
517 rm -f conf$$ conf$$.exe conf$$.file
518 if test -d conf$$.dir; then
519   rm -f conf$$.dir/conf$$.file
520 else
521   rm -f conf$$.dir
522   mkdir conf$$.dir 2>/dev/null
523 fi
524 if (echo >conf$$.file) 2>/dev/null; then
525   if ln -s conf$$.file conf$$ 2>/dev/null; then
526     as_ln_s='ln -s'
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 ||
532       as_ln_s='cp -pR'
533   elif ln conf$$.file conf$$ 2>/dev/null; then
534     as_ln_s=ln
535   else
536     as_ln_s='cp -pR'
537   fi
538 else
539   as_ln_s='cp -pR'
540 fi
541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
542 rmdir conf$$.dir 2>/dev/null
543
544 if mkdir -p . 2>/dev/null; then
545   as_mkdir_p='mkdir -p "$as_dir"'
546 else
547   test -d ./-p && rmdir ./-p
548   as_mkdir_p=false
549 fi
550
551 as_test_x='test -x'
552 as_executable_p=as_fn_executable_p
553
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'"
556
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'"
559
560
561 test -n "$DJDIR" || exec 7<&0 </dev/null
562 exec 6>&1
563
564 # Name of the host.
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`
568
569 #
570 # Initializations.
571 #
572 ac_default_prefix=/usr/local
573 ac_clean_files=
574 ac_config_libobj_dir=.
575 LIBOBJS=
576 cross_compiling=no
577 subdirs=
578 MFLAGS=
579 MAKEFLAGS=
580
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/'
588
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="\
593 #include <stdio.h>
594 #ifdef HAVE_SYS_TYPES_H
595 # include <sys/types.h>
596 #endif
597 #ifdef HAVE_SYS_STAT_H
598 # include <sys/stat.h>
599 #endif
600 #ifdef STDC_HEADERS
601 # include <stdlib.h>
602 # include <stddef.h>
603 #else
604 # ifdef HAVE_STDLIB_H
605 #  include <stdlib.h>
606 # endif
607 #endif
608 #ifdef HAVE_STRING_H
609 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
610 #  include <memory.h>
611 # endif
612 # include <string.h>
613 #endif
614 #ifdef HAVE_STRINGS_H
615 # include <strings.h>
616 #endif
617 #ifdef HAVE_INTTYPES_H
618 # include <inttypes.h>
619 #endif
620 #ifdef HAVE_STDINT_H
621 # include <stdint.h>
622 #endif
623 #ifdef HAVE_UNISTD_H
624 # include <unistd.h>
625 #endif"
626
627 ac_subst_vars='am__EXEEXT_FALSE
628 am__EXEEXT_TRUE
629 LTLIBOBJS
630 with_log_type
631 with_log_level
632 never_quit
633 MSU_INTERFACE_MEDIA_DEVICE
634 MSU_INTERFACE_MANAGER
635 MSU_SERVER_NAME
636 DBUS_SESSION_DIR
637 LIBOBJS
638 EGREP
639 GREP
640 CPP
641 SOUP_LIBS
642 SOUP_CFLAGS
643 GUPNPAV_LIBS
644 GUPNPAV_CFLAGS
645 GUPNP_LIBS
646 GUPNP_CFLAGS
647 GSSDP_LIBS
648 GSSDP_CFLAGS
649 GIO_LIBS
650 GIO_CFLAGS
651 GLIB_LIBS
652 GLIB_CFLAGS
653 DBUS_LIBS
654 DBUS_CFLAGS
655 PKG_CONFIG_LIBDIR
656 PKG_CONFIG_PATH
657 PKG_CONFIG
658 am__fastdepCC_FALSE
659 am__fastdepCC_TRUE
660 CCDEPMODE
661 am__nodep
662 AMDEPBACKSLASH
663 AMDEP_FALSE
664 AMDEP_TRUE
665 am__quote
666 am__include
667 DEPDIR
668 OBJEXT
669 EXEEXT
670 ac_ct_CC
671 CPPFLAGS
672 LDFLAGS
673 CFLAGS
674 CC
675 AM_BACKSLASH
676 AM_DEFAULT_VERBOSITY
677 AM_DEFAULT_V
678 AM_V
679 MAINT
680 MAINTAINER_MODE_FALSE
681 MAINTAINER_MODE_TRUE
682 am__untar
683 am__tar
684 AMTAR
685 am__leading_dot
686 SET_MAKE
687 AWK
688 mkdir_p
689 MKDIR_P
690 INSTALL_STRIP_PROGRAM
691 STRIP
692 install_sh
693 MAKEINFO
694 AUTOHEADER
695 AUTOMAKE
696 AUTOCONF
697 ACLOCAL
698 VERSION
699 PACKAGE
700 CYGPATH_W
701 am__isrc
702 INSTALL_DATA
703 INSTALL_SCRIPT
704 INSTALL_PROGRAM
705 target_alias
706 host_alias
707 build_alias
708 LIBS
709 ECHO_T
710 ECHO_N
711 ECHO_C
712 DEFS
713 mandir
714 localedir
715 libdir
716 psdir
717 pdfdir
718 dvidir
719 htmldir
720 infodir
721 docdir
722 oldincludedir
723 includedir
724 localstatedir
725 sharedstatedir
726 sysconfdir
727 datadir
728 datarootdir
729 libexecdir
730 sbindir
731 bindir
732 program_transform_name
733 prefix
734 exec_prefix
735 PACKAGE_URL
736 PACKAGE_BUGREPORT
737 PACKAGE_STRING
738 PACKAGE_VERSION
739 PACKAGE_TARNAME
740 PACKAGE_NAME
741 PATH_SEPARATOR
742 SHELL'
743 ac_subst_files=''
744 ac_user_opts='
745 enable_option_checking
746 enable_maintainer_mode
747 enable_silent_rules
748 enable_dependency_tracking
749 enable_debug
750 enable_werror
751 enable_optimization
752 enable_never_quit
753 with_log_level
754 with_log_type
755 '
756       ac_precious_vars='build_alias
757 host_alias
758 target_alias
759 CC
760 CFLAGS
761 LDFLAGS
762 LIBS
763 CPPFLAGS
764 PKG_CONFIG
765 PKG_CONFIG_PATH
766 PKG_CONFIG_LIBDIR
767 DBUS_CFLAGS
768 DBUS_LIBS
769 GLIB_CFLAGS
770 GLIB_LIBS
771 GIO_CFLAGS
772 GIO_LIBS
773 GSSDP_CFLAGS
774 GSSDP_LIBS
775 GUPNP_CFLAGS
776 GUPNP_LIBS
777 GUPNPAV_CFLAGS
778 GUPNPAV_LIBS
779 SOUP_CFLAGS
780 SOUP_LIBS
781 CPP'
782
783
784 # Initialize some variables set by options.
785 ac_init_help=
786 ac_init_version=false
787 ac_unrecognized_opts=
788 ac_unrecognized_sep=
789 # The variables have the same names as the options, with
790 # dashes changed to underlines.
791 cache_file=/dev/null
792 exec_prefix=NONE
793 no_create=
794 no_recursion=
795 prefix=NONE
796 program_prefix=NONE
797 program_suffix=NONE
798 program_transform_name=s,x,x,
799 silent=
800 site=
801 srcdir=
802 verbose=
803 x_includes=NONE
804 x_libraries=NONE
805
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'
824 htmldir='${docdir}'
825 dvidir='${docdir}'
826 pdfdir='${docdir}'
827 psdir='${docdir}'
828 libdir='${exec_prefix}/lib'
829 localedir='${datarootdir}/locale'
830 mandir='${datarootdir}/man'
831
832 ac_prev=
833 ac_dashdash=
834 for ac_option
835 do
836   # If the previous option needs an argument, assign it.
837   if test -n "$ac_prev"; then
838     eval $ac_prev=\$ac_option
839     ac_prev=
840     continue
841   fi
842
843   case $ac_option in
844   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
845   *=)   ac_optarg= ;;
846   *)    ac_optarg=yes ;;
847   esac
848
849   # Accept the important Cygnus configure options, so we can diagnose typos.
850
851   case $ac_dashdash$ac_option in
852   --)
853     ac_dashdash=yes ;;
854
855   -bindir | --bindir | --bindi | --bind | --bin | --bi)
856     ac_prev=bindir ;;
857   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
858     bindir=$ac_optarg ;;
859
860   -build | --build | --buil | --bui | --bu)
861     ac_prev=build_alias ;;
862   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
863     build_alias=$ac_optarg ;;
864
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 ;;
871
872   --config-cache | -C)
873     cache_file=config.cache ;;
874
875   -datadir | --datadir | --datadi | --datad)
876     ac_prev=datadir ;;
877   -datadir=* | --datadir=* | --datadi=* | --datad=*)
878     datadir=$ac_optarg ;;
879
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 ;;
886
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
895       *"
896 "enable_$ac_useropt"
897 "*) ;;
898       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
899          ac_unrecognized_sep=', ';;
900     esac
901     eval enable_$ac_useropt=no ;;
902
903   -docdir | --docdir | --docdi | --doc | --do)
904     ac_prev=docdir ;;
905   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
906     docdir=$ac_optarg ;;
907
908   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
909     ac_prev=dvidir ;;
910   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
911     dvidir=$ac_optarg ;;
912
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
921       *"
922 "enable_$ac_useropt"
923 "*) ;;
924       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
925          ac_unrecognized_sep=', ';;
926     esac
927     eval enable_$ac_useropt=\$ac_optarg ;;
928
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 ;;
937
938   -gas | --gas | --ga | --g)
939     # Obsolete; use --with-gas.
940     with_gas=yes ;;
941
942   -help | --help | --hel | --he | -h)
943     ac_init_help=long ;;
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 ;;
948
949   -host | --host | --hos | --ho)
950     ac_prev=host_alias ;;
951   -host=* | --host=* | --hos=* | --ho=*)
952     host_alias=$ac_optarg ;;
953
954   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
955     ac_prev=htmldir ;;
956   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
957   | --ht=*)
958     htmldir=$ac_optarg ;;
959
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 ;;
966
967   -infodir | --infodir | --infodi | --infod | --info | --inf)
968     ac_prev=infodir ;;
969   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
970     infodir=$ac_optarg ;;
971
972   -libdir | --libdir | --libdi | --libd)
973     ac_prev=libdir ;;
974   -libdir=* | --libdir=* | --libdi=* | --libd=*)
975     libdir=$ac_optarg ;;
976
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 ;;
983
984   -localedir | --localedir | --localedi | --localed | --locale)
985     ac_prev=localedir ;;
986   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
987     localedir=$ac_optarg ;;
988
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 ;;
995
996   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
997     ac_prev=mandir ;;
998   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
999     mandir=$ac_optarg ;;
1000
1001   -nfp | --nfp | --nf)
1002     # Obsolete; use --without-fp.
1003     with_fp=no ;;
1004
1005   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1006   | --no-cr | --no-c | -n)
1007     no_create=yes ;;
1008
1009   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1010   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1011     no_recursion=yes ;;
1012
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 ;;
1021
1022   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1023     ac_prev=prefix ;;
1024   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1025     prefix=$ac_optarg ;;
1026
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 ;;
1033
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 ;;
1040
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 ;;
1057
1058   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1059     ac_prev=pdfdir ;;
1060   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1061     pdfdir=$ac_optarg ;;
1062
1063   -psdir | --psdir | --psdi | --psd | --ps)
1064     ac_prev=psdir ;;
1065   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1066     psdir=$ac_optarg ;;
1067
1068   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069   | -silent | --silent | --silen | --sile | --sil)
1070     silent=yes ;;
1071
1072   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1073     ac_prev=sbindir ;;
1074   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1075   | --sbi=* | --sb=*)
1076     sbindir=$ac_optarg ;;
1077
1078   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1079   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1080   | --sharedst | --shareds | --shared | --share | --shar \
1081   | --sha | --sh)
1082     ac_prev=sharedstatedir ;;
1083   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1084   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1085   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1086   | --sha=* | --sh=*)
1087     sharedstatedir=$ac_optarg ;;
1088
1089   -site | --site | --sit)
1090     ac_prev=site ;;
1091   -site=* | --site=* | --sit=*)
1092     site=$ac_optarg ;;
1093
1094   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1095     ac_prev=srcdir ;;
1096   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1097     srcdir=$ac_optarg ;;
1098
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 ;;
1105
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 ;;
1110
1111   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1112     verbose=yes ;;
1113
1114   -version | --version | --versio | --versi | --vers | -V)
1115     ac_init_version=: ;;
1116
1117   -with-* | --with-*)
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
1125       *"
1126 "with_$ac_useropt"
1127 "*) ;;
1128       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1129          ac_unrecognized_sep=', ';;
1130     esac
1131     eval with_$ac_useropt=\$ac_optarg ;;
1132
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
1141       *"
1142 "with_$ac_useropt"
1143 "*) ;;
1144       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1145          ac_unrecognized_sep=', ';;
1146     esac
1147     eval with_$ac_useropt=no ;;
1148
1149   --x)
1150     # Obsolete; use --with-x.
1151     with_x=yes ;;
1152
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 ;;
1159
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 ;;
1166
1167   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1168 Try \`$0 --help' for more information"
1169     ;;
1170
1171   *=*)
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'" ;;
1177     esac
1178     eval $ac_envvar=\$ac_optarg
1179     export $ac_envvar ;;
1180
1181   *)
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}"
1187     ;;
1188
1189   esac
1190 done
1191
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"
1195 fi
1196
1197 if test -n "$ac_unrecognized_opts"; then
1198   case $enable_option_checking in
1199     no) ;;
1200     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1201     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1202   esac
1203 fi
1204
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
1210 do
1211   eval ac_val=\$$ac_var
1212   # Remove trailing slashes.
1213   case $ac_val in
1214     */ )
1215       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1216       eval $ac_var=\$ac_val;;
1217   esac
1218   # Be sure to have absolute directory names.
1219   case $ac_val in
1220     [\\/$]* | ?:[\\/]* )  continue;;
1221     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1222   esac
1223   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1224 done
1225
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.
1229 build=$build_alias
1230 host=$host_alias
1231 target=$target_alias
1232
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
1238     cross_compiling=yes
1239   fi
1240 fi
1241
1242 ac_tool_prefix=
1243 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1244
1245 test "$silent" = yes && exec 6>/dev/null
1246
1247
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"
1254
1255
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1267             s//\1/
1268             q
1269           }
1270           /^X\(\/\/\)[^/].*/{
1271             s//\1/
1272             q
1273           }
1274           /^X\(\/\/\)$/{
1275             s//\1/
1276             q
1277           }
1278           /^X\(\/\).*/{
1279             s//\1/
1280             q
1281           }
1282           s/.*/./; q'`
1283   srcdir=$ac_confdir
1284   if test ! -r "$srcdir/$ac_unique_file"; then
1285     srcdir=..
1286   fi
1287 else
1288   ac_srcdir_defaulted=no
1289 fi
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"
1293 fi
1294 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1295 ac_abs_confdir=`(
1296         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1297         pwd)`
1298 # When building in place, set srcdir=.
1299 if test "$ac_abs_confdir" = "$ac_pwd"; then
1300   srcdir=.
1301 fi
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.
1305 case $srcdir in
1306 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1307 esac
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}
1313 done
1314
1315 #
1316 # Report the --help message.
1317 #
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.
1321   cat <<_ACEOF
1322 \`configure' configures media-service-upnp 0.3.0 to adapt to many kinds of systems.
1323
1324 Usage: $0 [OPTION]... [VAR=VALUE]...
1325
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.
1328
1329 Defaults for the options are specified in brackets.
1330
1331 Configuration:
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 \`..']
1341
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
1346                           [PREFIX]
1347
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'.
1352
1353 For better control, use the options below.
1354
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]
1376 _ACEOF
1377
1378   cat <<\_ACEOF
1379
1380 Program names:
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
1384 _ACEOF
1385 fi
1386
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:";;
1390    esac
1391   cat <<\_ACEOF
1392
1393 Optional Features:
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
1407
1408 Optional Packages:
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
1415
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
1425   PKG_CONFIG_PATH
1426               directories to add to pkg-config's search path
1427   PKG_CONFIG_LIBDIR
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
1435   GSSDP_CFLAGS
1436               C compiler flags for GSSDP, overriding pkg-config
1437   GSSDP_LIBS  linker flags for GSSDP, overriding pkg-config
1438   GUPNP_CFLAGS
1439               C compiler flags for GUPNP, overriding pkg-config
1440   GUPNP_LIBS  linker flags for GUPNP, overriding pkg-config
1441   GUPNPAV_CFLAGS
1442               C compiler flags for GUPNPAV, overriding pkg-config
1443   GUPNPAV_LIBS
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
1447   CPP         C preprocessor
1448
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.
1451
1452 Report bugs to <https://github.com/01org/media-service-upnp/issues/new>.
1453 media-service-upnp home page: <https://01.org/dleyna/>.
1454 _ACEOF
1455 ac_status=$?
1456 fi
1457
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"; } ||
1463       continue
1464     ac_builddir=.
1465
1466 case "$ac_dir" in
1467 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1468 *)
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/ ;;
1475   esac ;;
1476 esac
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
1481
1482 case $srcdir in
1483   .)  # We are building in place.
1484     ac_srcdir=.
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 ;;
1491   *) # Relative name.
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 ;;
1495 esac
1496 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1497
1498     cd "$ac_dir" || { ac_status=$?; continue; }
1499     # Check for guested configure.
1500     if test -f "$ac_srcdir/configure.gnu"; then
1501       echo &&
1502       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1503     elif test -f "$ac_srcdir/configure"; then
1504       echo &&
1505       $SHELL "$ac_srcdir/configure" --help=recursive
1506     else
1507       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1508     fi || ac_status=$?
1509     cd "$ac_pwd" || { ac_status=$?; break; }
1510   done
1511 fi
1512
1513 test -n "$ac_init_help" && exit $ac_status
1514 if $ac_init_version; then
1515   cat <<\_ACEOF
1516 media-service-upnp configure 0.3.0
1517 generated by GNU Autoconf 2.69
1518
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.
1522 _ACEOF
1523   exit
1524 fi
1525
1526 ## ------------------------ ##
1527 ## Autoconf initialization. ##
1528 ## ------------------------ ##
1529
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 ()
1534 {
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"
1538 case "(($ac_try" in
1539   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1540   *) ac_try_echo=$ac_try;;
1541 esac
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
1545   ac_status=$?
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
1550   fi
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 :
1556   ac_retval=0
1557 else
1558   $as_echo "$as_me: failed program was:" >&5
1559 sed 's/^/| /' conftest.$ac_ext >&5
1560
1561         ac_retval=1
1562 fi
1563   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1564   as_fn_set_status $ac_retval
1565
1566 } # ac_fn_c_try_compile
1567
1568 # ac_fn_c_try_cpp LINENO
1569 # ----------------------
1570 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1571 ac_fn_c_try_cpp ()
1572 {
1573   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1574   if { { ac_try="$ac_cpp conftest.$ac_ext"
1575 case "(($ac_try" in
1576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1577   *) ac_try_echo=$ac_try;;
1578 esac
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
1582   ac_status=$?
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
1587   fi
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
1592        }; then :
1593   ac_retval=0
1594 else
1595   $as_echo "$as_me: failed program was:" >&5
1596 sed 's/^/| /' conftest.$ac_ext >&5
1597
1598     ac_retval=1
1599 fi
1600   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1601   as_fn_set_status $ac_retval
1602
1603 } # ac_fn_c_try_cpp
1604
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
1609 # accordingly.
1610 ac_fn_c_check_header_mongrel ()
1611 {
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
1618 fi
1619 eval ac_res=\$$3
1620                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1621 $as_echo "$ac_res" >&6; }
1622 else
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.  */
1628 $4
1629 #include <$2>
1630 _ACEOF
1631 if ac_fn_c_try_compile "$LINENO"; then :
1632   ac_header_compiler=yes
1633 else
1634   ac_header_compiler=no
1635 fi
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; }
1639
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.  */
1645 #include <$2>
1646 _ACEOF
1647 if ac_fn_c_try_cpp "$LINENO"; then :
1648   ac_header_preproc=yes
1649 else
1650   ac_header_preproc=no
1651 fi
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; }
1655
1656 # So?  What about this header?
1657 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1658   yes:no: )
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;}
1663     ;;
1664   no:yes:* )
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
1679     ;;
1680 esac
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
1685 else
1686   eval "$3=\$ac_header_compiler"
1687 fi
1688 eval ac_res=\$$3
1689                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1690 $as_echo "$ac_res" >&6; }
1691 fi
1692   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693
1694 } # ac_fn_c_check_header_mongrel
1695
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.
1700 ac_fn_c_try_run ()
1701 {
1702   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703   if { { ac_try="$ac_link"
1704 case "(($ac_try" in
1705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706   *) ac_try_echo=$ac_try;;
1707 esac
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
1711   ac_status=$?
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;;
1717 esac
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
1721   ac_status=$?
1722   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723   test $ac_status = 0; }; }; then :
1724   ac_retval=0
1725 else
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
1729
1730        ac_retval=$ac_status
1731 fi
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
1735
1736 } # ac_fn_c_try_run
1737
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 ()
1743 {
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
1749 else
1750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1751 /* end confdefs.h.  */
1752 $4
1753 #include <$2>
1754 _ACEOF
1755 if ac_fn_c_try_compile "$LINENO"; then :
1756   eval "$3=yes"
1757 else
1758   eval "$3=no"
1759 fi
1760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1761 fi
1762 eval ac_res=\$$3
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
1766
1767 } # ac_fn_c_check_header_compile
1768
1769 # ac_fn_c_find_uintX_t LINENO BITS VAR
1770 # ------------------------------------
1771 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1772 # accordingly.
1773 ac_fn_c_find_uintX_t ()
1774 {
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
1780 else
1781   eval "$3=no"
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
1789 int
1790 main ()
1791 {
1792 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1793 test_array [0] = 0;
1794 return test_array [0];
1795
1796   ;
1797   return 0;
1798 }
1799 _ACEOF
1800 if ac_fn_c_try_compile "$LINENO"; then :
1801   case $ac_type in #(
1802   uint$2_t) :
1803     eval "$3=yes" ;; #(
1804   *) :
1805     eval "$3=\$ac_type" ;;
1806 esac
1807 fi
1808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1809        if eval test \"x\$"$3"\" = x"no"; then :
1810
1811 else
1812   break
1813 fi
1814      done
1815 fi
1816 eval ac_res=\$$3
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
1820
1821 } # ac_fn_c_find_uintX_t
1822
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 ()
1828 {
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
1834 else
1835   eval "$3=no"
1836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1837 /* end confdefs.h.  */
1838 $4
1839 int
1840 main ()
1841 {
1842 if (sizeof ($2))
1843          return 0;
1844   ;
1845   return 0;
1846 }
1847 _ACEOF
1848 if ac_fn_c_try_compile "$LINENO"; then :
1849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1850 /* end confdefs.h.  */
1851 $4
1852 int
1853 main ()
1854 {
1855 if (sizeof (($2)))
1856             return 0;
1857   ;
1858   return 0;
1859 }
1860 _ACEOF
1861 if ac_fn_c_try_compile "$LINENO"; then :
1862
1863 else
1864   eval "$3=yes"
1865 fi
1866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1867 fi
1868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1869 fi
1870 eval ac_res=\$$3
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
1874
1875 } # ac_fn_c_check_type
1876
1877 # ac_fn_c_try_link LINENO
1878 # -----------------------
1879 # Try to link conftest.$ac_ext, and return whether this succeeded.
1880 ac_fn_c_try_link ()
1881 {
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"
1885 case "(($ac_try" in
1886   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1887   *) ac_try_echo=$ac_try;;
1888 esac
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
1892   ac_status=$?
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
1897   fi
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
1905        }; then :
1906   ac_retval=0
1907 else
1908   $as_echo "$as_me: failed program was:" >&5
1909 sed 's/^/| /' conftest.$ac_ext >&5
1910
1911         ac_retval=1
1912 fi
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
1920
1921 } # ac_fn_c_try_link
1922
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 ()
1927 {
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
1933 else
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
1939
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.  */
1944
1945 #ifdef __STDC__
1946 # include <limits.h>
1947 #else
1948 # include <assert.h>
1949 #endif
1950
1951 #undef $2
1952
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.  */
1956 #ifdef __cplusplus
1957 extern "C"
1958 #endif
1959 char $2 ();
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
1964 choke me
1965 #endif
1966
1967 int
1968 main ()
1969 {
1970 return $2 ();
1971   ;
1972   return 0;
1973 }
1974 _ACEOF
1975 if ac_fn_c_try_link "$LINENO"; then :
1976   eval "$3=yes"
1977 else
1978   eval "$3=no"
1979 fi
1980 rm -f core conftest.err conftest.$ac_objext \
1981     conftest$ac_exeext conftest.$ac_ext
1982 fi
1983 eval ac_res=\$$3
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
1987
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.
1992
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
1995
1996   $ $0 $@
1997
1998 _ACEOF
1999 exec 5>>config.log
2000 {
2001 cat <<_ASUNAME
2002 ## --------- ##
2003 ## Platform. ##
2004 ## --------- ##
2005
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`
2011
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`
2014
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`
2022
2023 _ASUNAME
2024
2025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2026 for as_dir in $PATH
2027 do
2028   IFS=$as_save_IFS
2029   test -z "$as_dir" && as_dir=.
2030     $as_echo "PATH: $as_dir"
2031   done
2032 IFS=$as_save_IFS
2033
2034 } >&5
2035
2036 cat >&5 <<_ACEOF
2037
2038
2039 ## ----------- ##
2040 ## Core tests. ##
2041 ## ----------- ##
2042
2043 _ACEOF
2044
2045
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.
2051 ac_configure_args=
2052 ac_configure_args0=
2053 ac_configure_args1=
2054 ac_must_keep_next=false
2055 for ac_pass in 1 2
2056 do
2057   for ac_arg
2058   do
2059     case $ac_arg in
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)
2063       continue ;;
2064     *\'*)
2065       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2066     esac
2067     case $ac_pass in
2068     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2069     2)
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.
2073       else
2074         case $ac_arg in
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 ;;
2081             esac
2082             ;;
2083           -* ) ac_must_keep_next=true ;;
2084         esac
2085       fi
2086       as_fn_append ac_configure_args " '$ac_arg'"
2087       ;;
2088     esac
2089   done
2090 done
2091 { ac_configure_args0=; unset ac_configure_args0;}
2092 { ac_configure_args1=; unset ac_configure_args1;}
2093
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.
2101   {
2102     echo
2103
2104     $as_echo "## ---------------- ##
2105 ## Cache variables. ##
2106 ## ---------------- ##"
2107     echo
2108     # The following way of writing the cache mishandles newlines in values,
2109 (
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
2112     case $ac_val in #(
2113     *${as_nl}*)
2114       case $ac_var in #(
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;} ;;
2117       esac
2118       case $ac_var in #(
2119       _ | IFS | as_nl) ;; #(
2120       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2121       *) { eval $ac_var=; unset $ac_var;} ;;
2122       esac ;;
2123     esac
2124   done
2125   (set) 2>&1 |
2126     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2127     *${as_nl}ac_space=\ *)
2128       sed -n \
2129         "s/'\''/'\''\\\\'\'''\''/g;
2130           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2131       ;; #(
2132     *)
2133       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2134       ;;
2135     esac |
2136     sort
2137 )
2138     echo
2139
2140     $as_echo "## ----------------- ##
2141 ## Output variables. ##
2142 ## ----------------- ##"
2143     echo
2144     for ac_var in $ac_subst_vars
2145     do
2146       eval ac_val=\$$ac_var
2147       case $ac_val in
2148       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2149       esac
2150       $as_echo "$ac_var='\''$ac_val'\''"
2151     done | sort
2152     echo
2153
2154     if test -n "$ac_subst_files"; then
2155       $as_echo "## ------------------- ##
2156 ## File substitutions. ##
2157 ## ------------------- ##"
2158       echo
2159       for ac_var in $ac_subst_files
2160       do
2161         eval ac_val=\$$ac_var
2162         case $ac_val in
2163         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2164         esac
2165         $as_echo "$ac_var='\''$ac_val'\''"
2166       done | sort
2167       echo
2168     fi
2169
2170     if test -s confdefs.h; then
2171       $as_echo "## ----------- ##
2172 ## confdefs.h. ##
2173 ## ----------- ##"
2174       echo
2175       cat confdefs.h
2176       echo
2177     fi
2178     test "$ac_signal" != 0 &&
2179       $as_echo "$as_me: caught signal $ac_signal"
2180     $as_echo "$as_me: exit $exit_status"
2181   } >&5
2182   rm -f core *.core core.conftest.* &&
2183     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2184     exit $exit_status
2185 ' 0
2186 for ac_signal in 1 2 13 15; do
2187   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2188 done
2189 ac_signal=0
2190
2191 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2192 rm -f -r conftest* confdefs.h
2193
2194 $as_echo "/* confdefs.h */" > confdefs.h
2195
2196 # Predefined preprocessor variables.
2197
2198 cat >>confdefs.h <<_ACEOF
2199 #define PACKAGE_NAME "$PACKAGE_NAME"
2200 _ACEOF
2201
2202 cat >>confdefs.h <<_ACEOF
2203 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2204 _ACEOF
2205
2206 cat >>confdefs.h <<_ACEOF
2207 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2208 _ACEOF
2209
2210 cat >>confdefs.h <<_ACEOF
2211 #define PACKAGE_STRING "$PACKAGE_STRING"
2212 _ACEOF
2213
2214 cat >>confdefs.h <<_ACEOF
2215 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2216 _ACEOF
2217
2218 cat >>confdefs.h <<_ACEOF
2219 #define PACKAGE_URL "$PACKAGE_URL"
2220 _ACEOF
2221
2222
2223 # Let the site file select an alternate cache file if it wants to.
2224 # Prefer an explicitly selected file to automatically selected ones.
2225 ac_site_file1=NONE
2226 ac_site_file2=NONE
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;;
2233   esac
2234 elif test "x$prefix" != xNONE; then
2235   ac_site_file1=$prefix/share/config.site
2236   ac_site_file2=$prefix/etc/config.site
2237 else
2238   ac_site_file1=$ac_default_prefix/share/config.site
2239   ac_site_file2=$ac_default_prefix/etc/config.site
2240 fi
2241 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2242 do
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
2248     . "$ac_site_file" \
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; }
2253   fi
2254 done
2255
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;}
2262     case $cache_file in
2263       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2264       *)                      . "./$cache_file";;
2265     esac
2266   fi
2267 else
2268   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2269 $as_echo "$as_me: creating cache $cache_file" >&6;}
2270   >$cache_file
2271 fi
2272
2273 # Check that the precious variables saved in the cache have kept the same
2274 # value.
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
2282     set,)
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=: ;;
2286     ,set)
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=: ;;
2290     ,);;
2291     *)
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=:
2300         else
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
2304         fi
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;}
2309       fi;;
2310   esac
2311   # Pass precious variables to config.status.
2312   if test "$ac_new_set" = set; then
2313     case $ac_new_val in
2314     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2315     *) ac_arg=$ac_var=$ac_new_val ;;
2316     esac
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'" ;;
2320     esac
2321   fi
2322 done
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
2329 fi
2330 ## -------------------- ##
2331 ## Main body of script. ##
2332 ## -------------------- ##
2333
2334 ac_ext=c
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
2339
2340
2341
2342 ac_config_headers="$ac_config_headers config.h"
2343
2344 ac_aux_dir=
2345 for ac_dir in build-aux "$srcdir"/build-aux; do
2346   if test -f "$ac_dir/install-sh"; then
2347     ac_aux_dir=$ac_dir
2348     ac_install_sh="$ac_aux_dir/install-sh -c"
2349     break
2350   elif test -f "$ac_dir/install.sh"; then
2351     ac_aux_dir=$ac_dir
2352     ac_install_sh="$ac_aux_dir/install.sh -c"
2353     break
2354   elif test -f "$ac_dir/shtool"; then
2355     ac_aux_dir=$ac_dir
2356     ac_install_sh="$ac_aux_dir/shtool install -c"
2357     break
2358   fi
2359 done
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
2362 fi
2363
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.
2371
2372
2373
2374
2375
2376
2377
2378 am__api_version='1.11'
2379
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
2386 # AIX /bin/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
2399 else
2400   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2401 for as_dir in $PATH
2402 do
2403   IFS=$as_save_IFS
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[\\/]* | \
2410   /usr/ucb/* ) ;;
2411   *)
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
2414     # by default.
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.
2421             :
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.
2425             :
2426           else
2427             rm -rf conftest.one conftest.two conftest.dir
2428             echo one > conftest.one
2429             echo two > conftest.two
2430             mkdir conftest.dir
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
2435             then
2436               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2437               break 3
2438             fi
2439           fi
2440         fi
2441       done
2442     done
2443     ;;
2444 esac
2445
2446   done
2447 IFS=$as_save_IFS
2448
2449 rm -rf conftest.one conftest.two conftest.dir
2450
2451 fi
2452   if test "${ac_cv_path_install+set}" = set; then
2453     INSTALL=$ac_cv_path_install
2454   else
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
2460   fi
2461 fi
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2463 $as_echo "$INSTALL" >&6; }
2464
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}'
2468
2469 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2470
2471 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2472
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; }
2475 # Just in case
2476 sleep 1
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.
2480 am_lf='
2481 '
2482 case `pwd` in
2483   *[\\\"\#\$\&\'\`$am_lf]*)
2484     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2485 esac
2486 case $srcdir in
2487   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2488     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2489 esac
2490
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
2495 # directory).
2496 if (
2497    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2498    if test "$*" = "X"; then
2499       # -L didn't work.
2500       set X `ls -t "$srcdir/configure" conftest.file`
2501    fi
2502    rm -f conftest.file
2503    if test "$*" != "X $srcdir/configure conftest.file" \
2504       && test "$*" != "X conftest.file $srcdir/configure"; then
2505
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
2512    fi
2513
2514    test "$2" = conftest.file
2515    )
2516 then
2517    # Ok.
2518    :
2519 else
2520    as_fn_error $? "newly created file is older than distributed files!
2521 Check your system clock" "$LINENO" 5
2522 fi
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"`
2534
2535 # expand $ac_aux_dir to an absolute path
2536 am_aux_dir=`cd $ac_aux_dir && pwd`
2537
2538 if test x"${MISSING+set}" != xset; then
2539   case $am_aux_dir in
2540   *\ * | *\     *)
2541     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2542   *)
2543     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2544   esac
2545 fi
2546 # Use eval to expand $SHELL
2547 if eval "$MISSING --run true"; then
2548   am_missing_run="$MISSING --run "
2549 else
2550   am_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;}
2553 fi
2554
2555 if test x"${install_sh}" != xset; then
2556   case $am_aux_dir in
2557   *\ * | *\     *)
2558     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2559   *)
2560     install_sh="\${SHELL} $am_aux_dir/install-sh"
2561   esac
2562 fi
2563
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
2576 else
2577   if test -n "$STRIP"; then
2578   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2579 else
2580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581 for as_dir in $PATH
2582 do
2583   IFS=$as_save_IFS
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
2589     break 2
2590   fi
2591 done
2592   done
2593 IFS=$as_save_IFS
2594
2595 fi
2596 fi
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; }
2601 else
2602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2603 $as_echo "no" >&6; }
2604 fi
2605
2606
2607 fi
2608 if test -z "$ac_cv_prog_STRIP"; then
2609   ac_ct_STRIP=$STRIP
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
2616 else
2617   if test -n "$ac_ct_STRIP"; then
2618   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2619 else
2620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2621 for as_dir in $PATH
2622 do
2623   IFS=$as_save_IFS
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
2629     break 2
2630   fi
2631 done
2632   done
2633 IFS=$as_save_IFS
2634
2635 fi
2636 fi
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; }
2641 else
2642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2643 $as_echo "no" >&6; }
2644 fi
2645
2646   if test "x$ac_ct_STRIP" = x; then
2647     STRIP=":"
2648   else
2649     case $cross_compiling:$ac_tool_warned in
2650 yes:)
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 ;;
2654 esac
2655     STRIP=$ac_ct_STRIP
2656   fi
2657 else
2658   STRIP="$ac_cv_prog_STRIP"
2659 fi
2660
2661 fi
2662 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2663
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
2669 else
2670   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2671 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2672 do
2673   IFS=$as_save_IFS
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
2683                break 3;;
2684            esac
2685          done
2686        done
2687   done
2688 IFS=$as_save_IFS
2689
2690 fi
2691
2692   test -d ./--version && rmdir ./--version
2693   if test "${ac_cv_path_mkdir+set}" = set; then
2694     MKDIR_P="$ac_cv_path_mkdir -p"
2695   else
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"
2701   fi
2702 fi
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2704 $as_echo "$MKDIR_P" >&6; }
2705
2706 mkdir_p="$MKDIR_P"
2707 case $mkdir_p in
2708   [\\/$]* | ?:[\\/]*) ;;
2709   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2710 esac
2711
2712 for ac_prog in gawk mawk nawk awk
2713 do
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
2720 else
2721   if test -n "$AWK"; then
2722   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2723 else
2724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2725 for as_dir in $PATH
2726 do
2727   IFS=$as_save_IFS
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
2733     break 2
2734   fi
2735 done
2736   done
2737 IFS=$as_save_IFS
2738
2739 fi
2740 fi
2741 AWK=$ac_cv_prog_AWK
2742 if test -n "$AWK"; then
2743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2744 $as_echo "$AWK" >&6; }
2745 else
2746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2747 $as_echo "no" >&6; }
2748 fi
2749
2750
2751   test -n "$AWK" && break
2752 done
2753
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; }
2756 set x ${MAKE-make}
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
2760 else
2761   cat >conftest.make <<\_ACEOF
2762 SHELL = /bin/sh
2763 all:
2764         @echo '@@@%%%=$(MAKE)=@@@%%%'
2765 _ACEOF
2766 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2767 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2768   *@@@%%%=?*=@@@%%%*)
2769     eval ac_cv_prog_make_${ac_make}_set=yes;;
2770   *)
2771     eval ac_cv_prog_make_${ac_make}_set=no;;
2772 esac
2773 rm -f conftest.make
2774 fi
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; }
2778   SET_MAKE=
2779 else
2780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2781 $as_echo "no" >&6; }
2782   SET_MAKE="MAKE=${MAKE-make}"
2783 fi
2784
2785 rm -rf .tst 2>/dev/null
2786 mkdir .tst 2>/dev/null
2787 if test -d .tst; then
2788   am__leading_dot=.
2789 else
2790   am__leading_dot=_
2791 fi
2792 rmdir .tst 2>/dev/null
2793
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
2801   fi
2802 fi
2803
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'
2808   else
2809     CYGPATH_W=echo
2810   fi
2811 fi
2812
2813
2814 # Define the identity of the package.
2815  PACKAGE='media-service-upnp'
2816  VERSION='0.3.0'
2817
2818
2819 cat >>confdefs.h <<_ACEOF
2820 #define PACKAGE "$PACKAGE"
2821 _ACEOF
2822
2823
2824 cat >>confdefs.h <<_ACEOF
2825 #define VERSION "$VERSION"
2826 _ACEOF
2827
2828 # Some tools Automake needs.
2829
2830 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2831
2832
2833 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2834
2835
2836 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2837
2838
2839 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2840
2841
2842 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2843
2844 # We need awk for the "check" target.  The system "awk" is bad on
2845 # some platforms.
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 ...
2848 AMTAR='$${TAR-tar}'
2849
2850 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2851
2852
2853
2854
2855
2856
2857
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
2863 else
2864   USE_MAINTAINER_MODE=no
2865 fi
2866
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='#'
2872 else
2873   MAINTAINER_MODE_TRUE='#'
2874   MAINTAINER_MODE_FALSE=
2875 fi
2876
2877   MAINT=$MAINTAINER_MODE_TRUE
2878
2879
2880 # Check whether --enable-silent-rules was given.
2881 if test "${enable_silent_rules+set}" = set; then :
2882   enableval=$enable_silent_rules;
2883 fi
2884
2885 case $enable_silent_rules in
2886 yes) AM_DEFAULT_VERBOSITY=0;;
2887 no)  AM_DEFAULT_VERBOSITY=1;;
2888 *)   AM_DEFAULT_VERBOSITY=0;;
2889 esac
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
2895 else
2896   if $as_echo 'TRUE=$(BAR$(V))
2897 BAR0=false
2898 BAR1=true
2899 V=1
2900 am__doit:
2901         @$(TRUE)
2902 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2903   am_cv_make_support_nested_variables=yes
2904 else
2905   am_cv_make_support_nested_variables=no
2906 fi
2907 fi
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
2911     AM_V='$(V)'
2912   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2913 else
2914   AM_V=$AM_DEFAULT_VERBOSITY
2915   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2916 fi
2917 AM_BACKSLASH='\'
2918
2919
2920
2921         if (test x"${CFLAGS}" = x""); then
2922                 CFLAGS="-Wall"
2923                 CFLAGS+=" -O2"
2924                 CFLAGS+=" -D_FORTIFY_SOURCE=2"
2925         fi
2926
2927         if (test x"$USE_MAINTAINER_MODE" = x"yes"); then
2928                 CFLAGS+=" -Wextra"
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"
2935
2936                 CFLAGS+=" -Wstrict-prototypes"
2937                 CFLAGS+=" -Wmissing-prototypes"
2938                 CFLAGS+=" -Wnested-externs"
2939                 CFLAGS+=" -Wshadow"
2940                 CFLAGS+=" -Wformat=2"
2941                 CFLAGS+=" -Winit-self"
2942
2943                 CFLAGS+=" -std=gnu99"
2944                 CFLAGS+=" -pedantic"
2945                 CFLAGS+=" -Wno-overlength-strings"
2946
2947                 CFLAGS+=" -DG_DISABLE_DEPRECATED"
2948                 CFLAGS+=" -DGLIB_DISABLE_DEPRECATION_WARNINGS"
2949         fi
2950
2951         CFLAGS+=" -Wno-format-extra-args"
2952
2953
2954 # Checks for languages.
2955 ac_ext=c
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
2960
2961
2962 # Checks for programs.
2963 ac_ext=c
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
2975 else
2976   if test -n "$CC"; then
2977   ac_cv_prog_CC="$CC" # Let the user override the test.
2978 else
2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980 for as_dir in $PATH
2981 do
2982   IFS=$as_save_IFS
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
2988     break 2
2989   fi
2990 done
2991   done
2992 IFS=$as_save_IFS
2993
2994 fi
2995 fi
2996 CC=$ac_cv_prog_CC
2997 if test -n "$CC"; then
2998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2999 $as_echo "$CC" >&6; }
3000 else
3001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3002 $as_echo "no" >&6; }
3003 fi
3004
3005
3006 fi
3007 if test -z "$ac_cv_prog_CC"; then
3008   ac_ct_CC=$CC
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
3015 else
3016   if test -n "$ac_ct_CC"; then
3017   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3018 else
3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3020 for as_dir in $PATH
3021 do
3022   IFS=$as_save_IFS
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
3028     break 2
3029   fi
3030 done
3031   done
3032 IFS=$as_save_IFS
3033
3034 fi
3035 fi
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; }
3040 else
3041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3042 $as_echo "no" >&6; }
3043 fi
3044
3045   if test "x$ac_ct_CC" = x; then
3046     CC=""
3047   else
3048     case $cross_compiling:$ac_tool_warned in
3049 yes:)
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 ;;
3053 esac
3054     CC=$ac_ct_CC
3055   fi
3056 else
3057   CC="$ac_cv_prog_CC"
3058 fi
3059
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
3068 else
3069   if test -n "$CC"; then
3070   ac_cv_prog_CC="$CC" # Let the user override the test.
3071 else
3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073 for as_dir in $PATH
3074 do
3075   IFS=$as_save_IFS
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
3081     break 2
3082   fi
3083 done
3084   done
3085 IFS=$as_save_IFS
3086
3087 fi
3088 fi
3089 CC=$ac_cv_prog_CC
3090 if test -n "$CC"; then
3091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3092 $as_echo "$CC" >&6; }
3093 else
3094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095 $as_echo "no" >&6; }
3096 fi
3097
3098
3099   fi
3100 fi
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
3108 else
3109   if test -n "$CC"; then
3110   ac_cv_prog_CC="$CC" # Let the user override the test.
3111 else
3112   ac_prog_rejected=no
3113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3114 for as_dir in $PATH
3115 do
3116   IFS=$as_save_IFS
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
3122        continue
3123      fi
3124     ac_cv_prog_CC="cc"
3125     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3126     break 2
3127   fi
3128 done
3129   done
3130 IFS=$as_save_IFS
3131
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
3135   shift
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.
3140     shift
3141     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3142   fi
3143 fi
3144 fi
3145 fi
3146 CC=$ac_cv_prog_CC
3147 if test -n "$CC"; then
3148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3149 $as_echo "$CC" >&6; }
3150 else
3151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3152 $as_echo "no" >&6; }
3153 fi
3154
3155
3156 fi
3157 if test -z "$CC"; then
3158   if test -n "$ac_tool_prefix"; then
3159   for ac_prog in cl.exe
3160   do
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
3167 else
3168   if test -n "$CC"; then
3169   ac_cv_prog_CC="$CC" # Let the user override the test.
3170 else
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3172 for as_dir in $PATH
3173 do
3174   IFS=$as_save_IFS
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
3180     break 2
3181   fi
3182 done
3183   done
3184 IFS=$as_save_IFS
3185
3186 fi
3187 fi
3188 CC=$ac_cv_prog_CC
3189 if test -n "$CC"; then
3190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3191 $as_echo "$CC" >&6; }
3192 else
3193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3194 $as_echo "no" >&6; }
3195 fi
3196
3197
3198     test -n "$CC" && break
3199   done
3200 fi
3201 if test -z "$CC"; then
3202   ac_ct_CC=$CC
3203   for ac_prog in cl.exe
3204 do
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
3211 else
3212   if test -n "$ac_ct_CC"; then
3213   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3214 else
3215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3216 for as_dir in $PATH
3217 do
3218   IFS=$as_save_IFS
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
3224     break 2
3225   fi
3226 done
3227   done
3228 IFS=$as_save_IFS
3229
3230 fi
3231 fi
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; }
3236 else
3237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3238 $as_echo "no" >&6; }
3239 fi
3240
3241
3242   test -n "$ac_ct_CC" && break
3243 done
3244
3245   if test "x$ac_ct_CC" = x; then
3246     CC=""
3247   else
3248     case $cross_compiling:$ac_tool_warned in
3249 yes:)
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 ;;
3253 esac
3254     CC=$ac_ct_CC
3255   fi
3256 fi
3257
3258 fi
3259
3260
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; }
3265
3266 # Provide some information about the compiler.
3267 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3268 set X $ac_compile
3269 ac_compiler=$2
3270 for ac_option in --version -v -V -qversion; do
3271   { { ac_try="$ac_compiler $ac_option >&5"
3272 case "(($ac_try" in
3273   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274   *) ac_try_echo=$ac_try;;
3275 esac
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
3279   ac_status=$?
3280   if test -s conftest.err; then
3281     sed '10a\
3282 ... rest of stderr output deleted ...
3283          10q' conftest.err >conftest.er1
3284     cat conftest.er1 >&5
3285   fi
3286   rm -f conftest.er1 conftest.err
3287   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3288   test $ac_status = 0; }
3289 done
3290
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h.  */
3293
3294 int
3295 main ()
3296 {
3297
3298   ;
3299   return 0;
3300 }
3301 _ACEOF
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
3306 # of exeext.
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[^ ]*//'`
3310
3311 # The possible output files:
3312 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3313
3314 ac_rmfiles=
3315 for ac_file in $ac_files
3316 do
3317   case $ac_file in
3318     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3319     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3320   esac
3321 done
3322 rm -f $ac_rmfiles
3323
3324 if { { ac_try="$ac_link_default"
3325 case "(($ac_try" in
3326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3327   *) ac_try_echo=$ac_try;;
3328 esac
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
3332   ac_status=$?
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
3339 # Autoconf.
3340 for ac_file in $ac_files ''
3341 do
3342   test -f "$ac_file" || continue
3343   case $ac_file in
3344     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3345         ;;
3346     [ab].out )
3347         # We found the default executable, but exeext='' is most
3348         # certainly right.
3349         break;;
3350     *.* )
3351         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3352         then :; else
3353            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3354         fi
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
3359         # actually working.
3360         break;;
3361     * )
3362         break;;
3363   esac
3364 done
3365 test "$ac_cv_exeext" = no && ac_cv_exeext=
3366
3367 else
3368   ac_file=''
3369 fi
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
3375
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; }
3380 else
3381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3382 $as_echo "yes" >&6; }
3383 fi
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
3389
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"
3395 case "(($ac_try" in
3396   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3397   *) ac_try_echo=$ac_try;;
3398 esac
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
3402   ac_status=$?
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
3408 # `rm'.
3409 for ac_file in conftest.exe conftest conftest.*; do
3410   test -f "$ac_file" || continue
3411   case $ac_file in
3412     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3413     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3414           break;;
3415     * ) break;;
3416   esac
3417 done
3418 else
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; }
3423 fi
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; }
3427
3428 rm -f conftest.$ac_ext
3429 EXEEXT=$ac_cv_exeext
3430 ac_exeext=$EXEEXT
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h.  */
3433 #include <stdio.h>
3434 int
3435 main ()
3436 {
3437 FILE *f = fopen ("conftest.out", "w");
3438  return ferror (f) || fclose (f) != 0;
3439
3440   ;
3441   return 0;
3442 }
3443 _ACEOF
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"
3451 case "(($ac_try" in
3452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3453   *) ac_try_echo=$ac_try;;
3454 esac
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
3458   ac_status=$?
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;;
3465 esac
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
3469   ac_status=$?
3470   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3471   test $ac_status = 0; }; }; then
3472     cross_compiling=no
3473   else
3474     if test "$cross_compiling" = maybe; then
3475         cross_compiling=yes
3476     else
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; }
3482     fi
3483   fi
3484 fi
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3486 $as_echo "$cross_compiling" >&6; }
3487
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
3494 else
3495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h.  */
3497
3498 int
3499 main ()
3500 {
3501
3502   ;
3503   return 0;
3504 }
3505 _ACEOF
3506 rm -f conftest.o conftest.obj
3507 if { { ac_try="$ac_compile"
3508 case "(($ac_try" in
3509   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3510   *) ac_try_echo=$ac_try;;
3511 esac
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
3515   ac_status=$?
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;
3520   case $ac_file in
3521     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3522     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3523        break;;
3524   esac
3525 done
3526 else
3527   $as_echo "$as_me: failed program was:" >&5
3528 sed 's/^/| /' conftest.$ac_ext >&5
3529
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; }
3534 fi
3535 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3536 fi
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
3540 ac_objext=$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
3545 else
3546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3547 /* end confdefs.h.  */
3548
3549 int
3550 main ()
3551 {
3552 #ifndef __GNUC__
3553        choke me
3554 #endif
3555
3556   ;
3557   return 0;
3558 }
3559 _ACEOF
3560 if ac_fn_c_try_compile "$LINENO"; then :
3561   ac_compiler_gnu=yes
3562 else
3563   ac_compiler_gnu=no
3564 fi
3565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3566 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3567
3568 fi
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
3572   GCC=yes
3573 else
3574   GCC=
3575 fi
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
3582 else
3583   ac_save_c_werror_flag=$ac_c_werror_flag
3584    ac_c_werror_flag=yes
3585    ac_cv_prog_cc_g=no
3586    CFLAGS="-g"
3587    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588 /* end confdefs.h.  */
3589
3590 int
3591 main ()
3592 {
3593
3594   ;
3595   return 0;
3596 }
3597 _ACEOF
3598 if ac_fn_c_try_compile "$LINENO"; then :
3599   ac_cv_prog_cc_g=yes
3600 else
3601   CFLAGS=""
3602       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3603 /* end confdefs.h.  */
3604
3605 int
3606 main ()
3607 {
3608
3609   ;
3610   return 0;
3611 }
3612 _ACEOF
3613 if ac_fn_c_try_compile "$LINENO"; then :
3614
3615 else
3616   ac_c_werror_flag=$ac_save_c_werror_flag
3617          CFLAGS="-g"
3618          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619 /* end confdefs.h.  */
3620
3621 int
3622 main ()
3623 {
3624
3625   ;
3626   return 0;
3627 }
3628 _ACEOF
3629 if ac_fn_c_try_compile "$LINENO"; then :
3630   ac_cv_prog_cc_g=yes
3631 fi
3632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3633 fi
3634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3635 fi
3636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3637    ac_c_werror_flag=$ac_save_c_werror_flag
3638 fi
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
3645     CFLAGS="-g -O2"
3646   else
3647     CFLAGS="-g"
3648   fi
3649 else
3650   if test "$GCC" = yes; then
3651     CFLAGS="-O2"
3652   else
3653     CFLAGS=
3654   fi
3655 fi
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
3660 else
3661   ac_cv_prog_cc_c89=no
3662 ac_save_CC=$CC
3663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3664 /* end confdefs.h.  */
3665 #include <stdarg.h>
3666 #include <stdio.h>
3667 struct stat;
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)
3672      char **p;
3673      int i;
3674 {
3675   return p[i];
3676 }
3677 static char *f (char * (*g) (char **, int), char **p, ...)
3678 {
3679   char *s;
3680   va_list v;
3681   va_start (v,p);
3682   s = g (p, va_arg (v,int));
3683   va_end (v);
3684   return s;
3685 }
3686
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];
3695
3696 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3697    inside strings and character constants.  */
3698 #define FOO(x) 'x'
3699 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3700
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);
3705 int argc;
3706 char **argv;
3707 int
3708 main ()
3709 {
3710 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3711   ;
3712   return 0;
3713 }
3714 _ACEOF
3715 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3716         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3717 do
3718   CC="$ac_save_CC $ac_arg"
3719   if ac_fn_c_try_compile "$LINENO"; then :
3720   ac_cv_prog_cc_c89=$ac_arg
3721 fi
3722 rm -f core conftest.err conftest.$ac_objext
3723   test "x$ac_cv_prog_cc_c89" != "xno" && break
3724 done
3725 rm -f conftest.$ac_ext
3726 CC=$ac_save_CC
3727
3728 fi
3729 # AC_CACHE_VAL
3730 case "x$ac_cv_prog_cc_c89" in
3731   x)
3732     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3733 $as_echo "none needed" >&6; } ;;
3734   xno)
3735     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3736 $as_echo "unsupported" >&6; } ;;
3737   *)
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; } ;;
3741 esac
3742 if test "x$ac_cv_prog_cc_c89" != xno; then :
3743
3744 fi
3745
3746 ac_ext=c
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"
3752
3753 ac_config_commands="$ac_config_commands depfiles"
3754
3755
3756 am_make=${MAKE-make}
3757 cat > confinc << 'END'
3758 am__doit:
3759         @echo this is the am__doit target
3760 .PHONY: am__doit
3761 END
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; }
3765 am__include="#"
3766 am__quote=
3767 _am_result=none
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*)
3773   am__include=include
3774   am__quote=
3775   _am_result=GNU
3776   ;;
3777 esac
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
3784      am__quote="\""
3785      _am_result=BSD
3786      ;;
3787    esac
3788 fi
3789
3790
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3792 $as_echo "$_am_result" >&6; }
3793 rm -f confinc confmf
3794
3795 # Check whether --enable-dependency-tracking was given.
3796 if test "${enable_dependency_tracking+set}" = set; then :
3797   enableval=$enable_dependency_tracking;
3798 fi
3799
3800 if test "x$enable_dependency_tracking" != xno; then
3801   am_depcomp="$ac_aux_dir/depcomp"
3802   AMDEPBACKSLASH='\'
3803   am__nodep='_no'
3804 fi
3805  if test "x$enable_dependency_tracking" != xno; then
3806   AMDEP_TRUE=
3807   AMDEP_FALSE='#'
3808 else
3809   AMDEP_TRUE='#'
3810   AMDEP_FALSE=
3811 fi
3812
3813
3814
3815 depcc="$CC"   am_compiler_list=
3816
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
3821 else
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
3827   # in D'.
3828   rm -rf conftest.dir
3829   mkdir conftest.dir
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
3833   cd 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
3839   # directory.
3840   mkdir sub
3841
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`
3845   fi
3846   am__universal=false
3847   case " $depcc " in #(
3848      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3849      esac
3850
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.
3855     #
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.
3859     : > sub/conftest.c
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
3865     done
3866     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3867
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"
3874     case $depmode in
3875     gcc)
3876       # This depmode causes a compiler race in universal mode.
3877       test "$am__universal" = false || continue
3878       ;;
3879     nosideeffect)
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
3883         continue
3884       else
3885         break
3886       fi
3887       ;;
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}
3893       am__minus_obj=
3894       ;;
3895     none) break ;;
3896     esac
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
3916         break
3917       fi
3918     fi
3919   done
3920
3921   cd ..
3922   rm -rf conftest.dir
3923 else
3924   am_cv_CC_dependencies_compiler_type=none
3925 fi
3926
3927 fi
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
3931
3932  if
3933   test "x$enable_dependency_tracking" != xno \
3934   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3935   am__fastdepCC_TRUE=
3936   am__fastdepCC_FALSE='#'
3937 else
3938   am__fastdepCC_TRUE='#'
3939   am__fastdepCC_FALSE=
3940 fi
3941
3942
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; }
3946 else
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; }
3949 fi
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
3954 else
3955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h.  */
3957
3958 int
3959 main ()
3960 {
3961
3962   ;
3963   return 0;
3964 }
3965 _ACEOF
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'
3970 rm -f conftest2.*
3971 if { { case "(($ac_try" in
3972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3973   *) ac_try_echo=$ac_try;;
3974 esac
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
3978   ac_status=$?
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;;
3984 esac
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
3988   ac_status=$?
3989   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3990   test $ac_status = 0; };
3991 then
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;;
3999 esac
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
4003   ac_status=$?
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'
4007       rm -f conftest2.*
4008       if { { case "(($ac_try" in
4009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4010   *) ac_try_echo=$ac_try;;
4011 esac
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
4015   ac_status=$?
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;;
4021 esac
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
4025   ac_status=$?
4026   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4027   test $ac_status = 0; };
4028       then
4029         # cc works too.
4030         :
4031       else
4032         # cc exists but doesn't like -o.
4033         eval ac_cv_prog_cc_${ac_cc}_c_o=no
4034       fi
4035     fi
4036   fi
4037 else
4038   eval ac_cv_prog_cc_${ac_cc}_c_o=no
4039 fi
4040 rm -f core conftest*
4041
4042 fi
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; }
4046 else
4047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4048 $as_echo "no" >&6; }
4049
4050 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4051
4052 fi
4053
4054 # FIXME: we rely on the cache variable name because
4055 # there is no other way.
4056 set dummy $CC
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"
4066 fi
4067
4068
4069
4070
4071 # Checks for libraries.
4072
4073
4074
4075
4076
4077
4078
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
4087 else
4088   case $PKG_CONFIG in
4089   [\\/]* | ?:[\\/]*)
4090   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4091   ;;
4092   *)
4093   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4094 for as_dir in $PATH
4095 do
4096   IFS=$as_save_IFS
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
4102     break 2
4103   fi
4104 done
4105   done
4106 IFS=$as_save_IFS
4107
4108   ;;
4109 esac
4110 fi
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; }
4115 else
4116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4117 $as_echo "no" >&6; }
4118 fi
4119
4120
4121 fi
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
4130 else
4131   case $ac_pt_PKG_CONFIG in
4132   [\\/]* | ?:[\\/]*)
4133   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4134   ;;
4135   *)
4136   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4137 for as_dir in $PATH
4138 do
4139   IFS=$as_save_IFS
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
4145     break 2
4146   fi
4147 done
4148   done
4149 IFS=$as_save_IFS
4150
4151   ;;
4152 esac
4153 fi
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; }
4158 else
4159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4160 $as_echo "no" >&6; }
4161 fi
4162
4163   if test "x$ac_pt_PKG_CONFIG" = x; then
4164     PKG_CONFIG=""
4165   else
4166     case $cross_compiling:$ac_tool_warned in
4167 yes:)
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 ;;
4171 esac
4172     PKG_CONFIG=$ac_pt_PKG_CONFIG
4173   fi
4174 else
4175   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4176 fi
4177
4178 fi
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; }
4186         else
4187                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188 $as_echo "no" >&6; }
4189                 PKG_CONFIG=""
4190         fi
4191 fi
4192
4193 pkg_failed=no
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
4195 $as_echo_n "checking for DBUS... " >&6; }
4196
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
4203   ac_status=$?
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
4208 else
4209   pkg_failed=yes
4210 fi
4211  else
4212     pkg_failed=untried
4213 fi
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
4220   ac_status=$?
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
4225 else
4226   pkg_failed=yes
4227 fi
4228  else
4229     pkg_failed=untried
4230 fi
4231
4232
4233
4234 if test $pkg_failed = yes; then
4235         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4236 $as_echo "no" >&6; }
4237
4238 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4239         _pkg_short_errors_supported=yes
4240 else
4241         _pkg_short_errors_supported=no
4242 fi
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`
4245         else
4246                 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1`
4247         fi
4248         # Put the nasty error message in config.log where it belongs
4249         echo "$DBUS_PKG_ERRORS" >&5
4250
4251         as_fn_error $? "Package requirements (dbus-1) were not met:
4252
4253 $DBUS_PKG_ERRORS
4254
4255 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4256 installed software in a non-standard prefix.
4257
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
4268 path to pkg-config.
4269
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.
4273
4274 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4275 See \`config.log' for more details" "$LINENO" 5; }
4276 else
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; }
4281
4282 fi
4283
4284 pkg_failed=no
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
4286 $as_echo_n "checking for GLIB... " >&6; }
4287
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
4294   ac_status=$?
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
4299 else
4300   pkg_failed=yes
4301 fi
4302  else
4303     pkg_failed=untried
4304 fi
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
4311   ac_status=$?
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
4316 else
4317   pkg_failed=yes
4318 fi
4319  else
4320     pkg_failed=untried
4321 fi
4322
4323
4324
4325 if test $pkg_failed = yes; then
4326         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4327 $as_echo "no" >&6; }
4328
4329 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4330         _pkg_short_errors_supported=yes
4331 else
4332         _pkg_short_errors_supported=no
4333 fi
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`
4336         else
4337                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.26.1" 2>&1`
4338         fi
4339         # Put the nasty error message in config.log where it belongs
4340         echo "$GLIB_PKG_ERRORS" >&5
4341
4342         as_fn_error $? "Package requirements (glib-2.0 >= 2.26.1) were not met:
4343
4344 $GLIB_PKG_ERRORS
4345
4346 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4347 installed software in a non-standard prefix.
4348
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
4359 path to pkg-config.
4360
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.
4364
4365 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4366 See \`config.log' for more details" "$LINENO" 5; }
4367 else
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; }
4372
4373 fi
4374
4375 pkg_failed=no
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
4377 $as_echo_n "checking for GIO... " >&6; }
4378
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
4385   ac_status=$?
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
4390 else
4391   pkg_failed=yes
4392 fi
4393  else
4394     pkg_failed=untried
4395 fi
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
4402   ac_status=$?
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
4407 else
4408   pkg_failed=yes
4409 fi
4410  else
4411     pkg_failed=untried
4412 fi
4413
4414
4415
4416 if test $pkg_failed = yes; then
4417         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4419
4420 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4421         _pkg_short_errors_supported=yes
4422 else
4423         _pkg_short_errors_supported=no
4424 fi
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`
4427         else
4428                 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26.1" 2>&1`
4429         fi
4430         # Put the nasty error message in config.log where it belongs
4431         echo "$GIO_PKG_ERRORS" >&5
4432
4433         as_fn_error $? "Package requirements (gio-2.0 >= 2.26.1) were not met:
4434
4435 $GIO_PKG_ERRORS
4436
4437 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4438 installed software in a non-standard prefix.
4439
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
4450 path to pkg-config.
4451
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.
4455
4456 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4457 See \`config.log' for more details" "$LINENO" 5; }
4458 else
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; }
4463
4464 fi
4465
4466 pkg_failed=no
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSSDP" >&5
4468 $as_echo_n "checking for GSSDP... " >&6; }
4469
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
4476   ac_status=$?
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
4481 else
4482   pkg_failed=yes
4483 fi
4484  else
4485     pkg_failed=untried
4486 fi
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
4493   ac_status=$?
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
4498 else
4499   pkg_failed=yes
4500 fi
4501  else
4502     pkg_failed=untried
4503 fi
4504
4505
4506
4507 if test $pkg_failed = yes; then
4508         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509 $as_echo "no" >&6; }
4510
4511 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4512         _pkg_short_errors_supported=yes
4513 else
4514         _pkg_short_errors_supported=no
4515 fi
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`
4518         else
4519                 GSSDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gssdp-1.0 >= 0.13.0" 2>&1`
4520         fi
4521         # Put the nasty error message in config.log where it belongs
4522         echo "$GSSDP_PKG_ERRORS" >&5
4523
4524         as_fn_error $? "Package requirements (gssdp-1.0 >= 0.13.0) were not met:
4525
4526 $GSSDP_PKG_ERRORS
4527
4528 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4529 installed software in a non-standard prefix.
4530
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
4541 path to pkg-config.
4542
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.
4546
4547 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4548 See \`config.log' for more details" "$LINENO" 5; }
4549 else
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; }
4554
4555 fi
4556
4557 pkg_failed=no
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNP" >&5
4559 $as_echo_n "checking for GUPNP... " >&6; }
4560
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
4567   ac_status=$?
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
4572 else
4573   pkg_failed=yes
4574 fi
4575  else
4576     pkg_failed=untried
4577 fi
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
4584   ac_status=$?
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
4589 else
4590   pkg_failed=yes
4591 fi
4592  else
4593     pkg_failed=untried
4594 fi
4595
4596
4597
4598 if test $pkg_failed = yes; then
4599         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4600 $as_echo "no" >&6; }
4601
4602 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4603         _pkg_short_errors_supported=yes
4604 else
4605         _pkg_short_errors_supported=no
4606 fi
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`
4609         else
4610                 GUPNP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-1.0 >= 0.19.1" 2>&1`
4611         fi
4612         # Put the nasty error message in config.log where it belongs
4613         echo "$GUPNP_PKG_ERRORS" >&5
4614
4615         as_fn_error $? "Package requirements (gupnp-1.0 >= 0.19.1) were not met:
4616
4617 $GUPNP_PKG_ERRORS
4618
4619 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4620 installed software in a non-standard prefix.
4621
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
4632 path to pkg-config.
4633
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.
4637
4638 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4639 See \`config.log' for more details" "$LINENO" 5; }
4640 else
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; }
4645
4646 fi
4647
4648 pkg_failed=no
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNPAV" >&5
4650 $as_echo_n "checking for GUPNPAV... " >&6; }
4651
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
4658   ac_status=$?
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
4663 else
4664   pkg_failed=yes
4665 fi
4666  else
4667     pkg_failed=untried
4668 fi
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
4675   ac_status=$?
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
4680 else
4681   pkg_failed=yes
4682 fi
4683  else
4684     pkg_failed=untried
4685 fi
4686
4687
4688
4689 if test $pkg_failed = yes; then
4690         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 $as_echo "no" >&6; }
4692
4693 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4694         _pkg_short_errors_supported=yes
4695 else
4696         _pkg_short_errors_supported=no
4697 fi
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`
4700         else
4701                 GUPNPAV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-av-1.0 >= 0.11.1" 2>&1`
4702         fi
4703         # Put the nasty error message in config.log where it belongs
4704         echo "$GUPNPAV_PKG_ERRORS" >&5
4705
4706         as_fn_error $? "Package requirements (gupnp-av-1.0 >= 0.11.1) were not met:
4707
4708 $GUPNPAV_PKG_ERRORS
4709
4710 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4711 installed software in a non-standard prefix.
4712
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
4723 path to pkg-config.
4724
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.
4728
4729 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4730 See \`config.log' for more details" "$LINENO" 5; }
4731 else
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; }
4736
4737 fi
4738
4739 pkg_failed=no
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
4741 $as_echo_n "checking for SOUP... " >&6; }
4742
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
4749   ac_status=$?
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
4754 else
4755   pkg_failed=yes
4756 fi
4757  else
4758     pkg_failed=untried
4759 fi
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
4766   ac_status=$?
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
4771 else
4772   pkg_failed=yes
4773 fi
4774  else
4775     pkg_failed=untried
4776 fi
4777
4778
4779
4780 if test $pkg_failed = yes; then
4781         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 $as_echo "no" >&6; }
4783
4784 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4785         _pkg_short_errors_supported=yes
4786 else
4787         _pkg_short_errors_supported=no
4788 fi
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`
4791         else
4792                 SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= 2.28.2" 2>&1`
4793         fi
4794         # Put the nasty error message in config.log where it belongs
4795         echo "$SOUP_PKG_ERRORS" >&5
4796
4797         as_fn_error $? "Package requirements (libsoup-2.4 >= 2.28.2) were not met:
4798
4799 $SOUP_PKG_ERRORS
4800
4801 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4802 installed software in a non-standard prefix.
4803
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
4814 path to pkg-config.
4815
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.
4819
4820 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4821 See \`config.log' for more details" "$LINENO" 5; }
4822 else
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; }
4827
4828 fi
4829
4830 # Checks for header files.
4831
4832 ac_ext=c
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
4841   CPP=
4842 fi
4843 if test -z "$CPP"; then
4844   if ${ac_cv_prog_CPP+:} false; then :
4845   $as_echo_n "(cached) " >&6
4846 else
4847       # Double quotes because CPP needs to be expanded
4848     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4849     do
4850       ac_preproc_ok=false
4851 for ac_c_preproc_warn_flag in '' yes
4852 do
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.  */
4861 #ifdef __STDC__
4862 # include <limits.h>
4863 #else
4864 # include <assert.h>
4865 #endif
4866                      Syntax error
4867 _ACEOF
4868 if ac_fn_c_try_cpp "$LINENO"; then :
4869
4870 else
4871   # Broken: fails on valid input.
4872 continue
4873 fi
4874 rm -f conftest.err conftest.i conftest.$ac_ext
4875
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>
4881 _ACEOF
4882 if ac_fn_c_try_cpp "$LINENO"; then :
4883   # Broken: success on invalid input.
4884 continue
4885 else
4886   # Passes both tests.
4887 ac_preproc_ok=:
4888 break
4889 fi
4890 rm -f conftest.err conftest.i conftest.$ac_ext
4891
4892 done
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 :
4896   break
4897 fi
4898
4899     done
4900     ac_cv_prog_CPP=$CPP
4901
4902 fi
4903   CPP=$ac_cv_prog_CPP
4904 else
4905   ac_cv_prog_CPP=$CPP
4906 fi
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4908 $as_echo "$CPP" >&6; }
4909 ac_preproc_ok=false
4910 for ac_c_preproc_warn_flag in '' yes
4911 do
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.  */
4920 #ifdef __STDC__
4921 # include <limits.h>
4922 #else
4923 # include <assert.h>
4924 #endif
4925                      Syntax error
4926 _ACEOF
4927 if ac_fn_c_try_cpp "$LINENO"; then :
4928
4929 else
4930   # Broken: fails on valid input.
4931 continue
4932 fi
4933 rm -f conftest.err conftest.i conftest.$ac_ext
4934
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>
4940 _ACEOF
4941 if ac_fn_c_try_cpp "$LINENO"; then :
4942   # Broken: success on invalid input.
4943 continue
4944 else
4945   # Passes both tests.
4946 ac_preproc_ok=:
4947 break
4948 fi
4949 rm -f conftest.err conftest.i conftest.$ac_ext
4950
4951 done
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 :
4955
4956 else
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; }
4961 fi
4962
4963 ac_ext=c
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
4968
4969
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
4974 else
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
4980 do
4981   IFS=$as_save_IFS
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
4990 *GNU*)
4991   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4992 *)
4993   ac_count=0
4994   $as_echo_n 0123456789 >"conftest.in"
4995   while :
4996   do
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
5008     fi
5009     # 10*(2^10) chars as input seems more than enough
5010     test $ac_count -gt 10 && break
5011   done
5012   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5013 esac
5014
5015       $ac_path_GREP_found && break 3
5016     done
5017   done
5018   done
5019 IFS=$as_save_IFS
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
5022   fi
5023 else
5024   ac_cv_path_GREP=$GREP
5025 fi
5026
5027 fi
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"
5031
5032
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
5037 else
5038   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5039    then ac_cv_path_EGREP="$GREP -E"
5040    else
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
5046 do
5047   IFS=$as_save_IFS
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
5056 *GNU*)
5057   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5058 *)
5059   ac_count=0
5060   $as_echo_n 0123456789 >"conftest.in"
5061   while :
5062   do
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
5074     fi
5075     # 10*(2^10) chars as input seems more than enough
5076     test $ac_count -gt 10 && break
5077   done
5078   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5079 esac
5080
5081       $ac_path_EGREP_found && break 3
5082     done
5083   done
5084   done
5085 IFS=$as_save_IFS
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
5088   fi
5089 else
5090   ac_cv_path_EGREP=$EGREP
5091 fi
5092
5093    fi
5094 fi
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"
5098
5099
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
5104 else
5105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5106 /* end confdefs.h.  */
5107 #include <stdlib.h>
5108 #include <stdarg.h>
5109 #include <string.h>
5110 #include <float.h>
5111
5112 int
5113 main ()
5114 {
5115
5116   ;
5117   return 0;
5118 }
5119 _ACEOF
5120 if ac_fn_c_try_compile "$LINENO"; then :
5121   ac_cv_header_stdc=yes
5122 else
5123   ac_cv_header_stdc=no
5124 fi
5125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5126
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.  */
5131 #include <string.h>
5132
5133 _ACEOF
5134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5135   $EGREP "memchr" >/dev/null 2>&1; then :
5136
5137 else
5138   ac_cv_header_stdc=no
5139 fi
5140 rm -f conftest*
5141
5142 fi
5143
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.  */
5148 #include <stdlib.h>
5149
5150 _ACEOF
5151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5152   $EGREP "free" >/dev/null 2>&1; then :
5153
5154 else
5155   ac_cv_header_stdc=no
5156 fi
5157 rm -f conftest*
5158
5159 fi
5160
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 :
5164   :
5165 else
5166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5167 /* end confdefs.h.  */
5168 #include <ctype.h>
5169 #include <stdlib.h>
5170 #if ((' ' & 0x0FF) == 0x020)
5171 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5172 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5173 #else
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))
5179 #endif
5180
5181 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5182 int
5183 main ()
5184 {
5185   int i;
5186   for (i = 0; i < 256; i++)
5187     if (XOR (islower (i), ISLOWER (i))
5188         || toupper (i) != TOUPPER (i))
5189       return 2;
5190   return 0;
5191 }
5192 _ACEOF
5193 if ac_fn_c_try_run "$LINENO"; then :
5194
5195 else
5196   ac_cv_header_stdc=no
5197 fi
5198 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5199   conftest.$ac_objext conftest.beam conftest.$ac_ext
5200 fi
5201
5202 fi
5203 fi
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
5207
5208 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5209
5210 fi
5211
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
5215 do :
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
5218 "
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
5222 _ACEOF
5223
5224 fi
5225
5226 done
5227
5228
5229 for ac_header in stdlib.h string.h syslog.h
5230 do :
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
5236 _ACEOF
5237
5238 fi
5239
5240 done
5241
5242
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 #(
5246   no|yes) ;; #(
5247   *)
5248
5249 $as_echo "#define _UINT8_T 1" >>confdefs.h
5250
5251
5252 cat >>confdefs.h <<_ACEOF
5253 #define uint8_t $ac_cv_c_uint8_t
5254 _ACEOF
5255 ;;
5256   esac
5257
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
5262 else
5263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5264 /* end confdefs.h.  */
5265
5266              #include <stdbool.h>
5267              #ifndef bool
5268               "error: bool is not defined"
5269              #endif
5270              #ifndef false
5271               "error: false is not defined"
5272              #endif
5273              #if false
5274               "error: false is not 0"
5275              #endif
5276              #ifndef true
5277               "error: true is not defined"
5278              #endif
5279              #if true != 1
5280               "error: true is not 1"
5281              #endif
5282              #ifndef __bool_true_false_are_defined
5283               "error: __bool_true_false_are_defined is not defined"
5284              #endif
5285
5286              struct s { _Bool s: 1; _Bool t; } s;
5287
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];
5294              char g[true];
5295              char h[sizeof (_Bool)];
5296              char i[sizeof s.t];
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]. */
5300              _Bool n[m];
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
5306               */
5307              _Bool q = true;
5308              _Bool *pq = &q;
5309
5310 int
5311 main ()
5312 {
5313
5314              bool e = &s;
5315              *pq |= q;
5316              *pq |= ! q;
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);
5320
5321   ;
5322   return 0;
5323 }
5324 _ACEOF
5325 if ac_fn_c_try_compile "$LINENO"; then :
5326   ac_cv_header_stdbool_h=yes
5327 else
5328   ac_cv_header_stdbool_h=no
5329 fi
5330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5331 fi
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 :
5336
5337 cat >>confdefs.h <<_ACEOF
5338 #define HAVE__BOOL 1
5339 _ACEOF
5340
5341
5342 fi
5343
5344
5345 if test $ac_cv_header_stdbool_h = yes; then
5346
5347 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
5348
5349 fi
5350
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 :
5353
5354 else
5355
5356 cat >>confdefs.h <<_ACEOF
5357 #define size_t unsigned int
5358 _ACEOF
5359
5360 fi
5361
5362
5363 # Checks for library functions.
5364 for ac_header in stdlib.h
5365 do :
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
5370 _ACEOF
5371
5372 fi
5373
5374 done
5375
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
5380 else
5381   if test "$cross_compiling" = yes; then :
5382   ac_cv_func_malloc_0_nonnull=no
5383 else
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>
5388 #else
5389 char *malloc ();
5390 #endif
5391
5392 int
5393 main ()
5394 {
5395 return ! malloc (0);
5396   ;
5397   return 0;
5398 }
5399 _ACEOF
5400 if ac_fn_c_try_run "$LINENO"; then :
5401   ac_cv_func_malloc_0_nonnull=yes
5402 else
5403   ac_cv_func_malloc_0_nonnull=no
5404 fi
5405 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5406   conftest.$ac_objext conftest.beam conftest.$ac_ext
5407 fi
5408
5409 fi
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 :
5413
5414 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5415
5416 else
5417   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5418
5419    case " $LIBOBJS " in
5420   *" malloc.$ac_objext "* ) ;;
5421   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5422  ;;
5423 esac
5424
5425
5426 $as_echo "#define malloc rpl_malloc" >>confdefs.h
5427
5428 fi
5429
5430
5431 for ac_header in stdlib.h
5432 do :
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
5437 _ACEOF
5438
5439 fi
5440
5441 done
5442
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
5447 else
5448   if test "$cross_compiling" = yes; then :
5449   ac_cv_func_realloc_0_nonnull=no
5450 else
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>
5455 #else
5456 char *realloc ();
5457 #endif
5458
5459 int
5460 main ()
5461 {
5462 return ! realloc (0, 0);
5463   ;
5464   return 0;
5465 }
5466 _ACEOF
5467 if ac_fn_c_try_run "$LINENO"; then :
5468   ac_cv_func_realloc_0_nonnull=yes
5469 else
5470   ac_cv_func_realloc_0_nonnull=no
5471 fi
5472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5473   conftest.$ac_objext conftest.beam conftest.$ac_ext
5474 fi
5475
5476 fi
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 :
5480
5481 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
5482
5483 else
5484   $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
5485
5486    case " $LIBOBJS " in
5487   *" realloc.$ac_objext "* ) ;;
5488   *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
5489  ;;
5490 esac
5491
5492
5493 $as_echo "#define realloc rpl_realloc" >>confdefs.h
5494
5495 fi
5496
5497
5498 for ac_func in memset strchr strrchr strstr
5499 do :
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
5505 _ACEOF
5506
5507 fi
5508 done
5509
5510
5511 # Define Log Level values
5512 LOG_LEVEL_0=0x00
5513 LOG_LEVEL_1=0x01
5514 LOG_LEVEL_2=0x02
5515 LOG_LEVEL_3=0x04
5516 LOG_LEVEL_4=0x08
5517 LOG_LEVEL_5=0x10
5518 LOG_LEVEL_6=0x20
5519 LOG_LEVEL_7=0x13
5520 LOG_LEVEL_8=0x3F
5521
5522
5523 cat >>confdefs.h <<_ACEOF
5524 #define MSU_LOG_LEVEL_DISABLED ${LOG_LEVEL_0}
5525 _ACEOF
5526
5527
5528 cat >>confdefs.h <<_ACEOF
5529 #define MSU_LOG_LEVEL_ERROR ${LOG_LEVEL_1}
5530 _ACEOF
5531
5532
5533 cat >>confdefs.h <<_ACEOF
5534 #define MSU_LOG_LEVEL_CRITICAL ${LOG_LEVEL_2}
5535 _ACEOF
5536
5537
5538 cat >>confdefs.h <<_ACEOF
5539 #define MSU_LOG_LEVEL_WARNING ${LOG_LEVEL_3}
5540 _ACEOF
5541
5542
5543 cat >>confdefs.h <<_ACEOF
5544 #define MSU_LOG_LEVEL_MESSAGE ${LOG_LEVEL_4}
5545 _ACEOF
5546
5547
5548 cat >>confdefs.h <<_ACEOF
5549 #define MSU_LOG_LEVEL_INFO ${LOG_LEVEL_5}
5550 _ACEOF
5551
5552
5553 cat >>confdefs.h <<_ACEOF
5554 #define MSU_LOG_LEVEL_DEBUG ${LOG_LEVEL_6}
5555 _ACEOF
5556
5557
5558 cat >>confdefs.h <<_ACEOF
5559 #define MSU_LOG_LEVEL_DEFAULT ${LOG_LEVEL_7}
5560 _ACEOF
5561
5562
5563 cat >>confdefs.h <<_ACEOF
5564 #define MSU_LOG_LEVEL_ALL ${LOG_LEVEL_8}
5565 _ACEOF
5566
5567
5568
5569 # Check whether --enable-debug was given.
5570 if test "${enable_debug+set}" = set; then :
5571   enableval=$enable_debug;
5572 else
5573   enable_debug=no
5574 fi
5575
5576
5577 case "${enable_debug}" in #(
5578   yes) :
5579     CFLAGS="$CFLAGS -g";
5580
5581 cat >>confdefs.h <<_ACEOF
5582 #define MSU_DEBUG_ENABLED 1
5583 _ACEOF
5584
5585                 ;; #(
5586   no) :
5587      ;; #(
5588   *) :
5589     as_fn_error $? "bad value ${enable_debug} for --enable-debug" "$LINENO" 5 ;;
5590 esac
5591
5592
5593 # Check whether --enable-werror was given.
5594 if test "${enable_werror+set}" = set; then :
5595   enableval=$enable_werror;
5596 else
5597   enable_werror=no
5598 fi
5599
5600
5601 case "${enable_werror}" in #(
5602   yes) :
5603     CFLAGS="$CFLAGS -Werror" ;; #(
5604   no) :
5605      ;; #(
5606   *) :
5607     as_fn_error $? "bad value ${enable_werror} for --enable-werror" "$LINENO" 5 ;;
5608 esac
5609
5610
5611 # Check whether --enable-optimization was given.
5612 if test "${enable_optimization+set}" = set; then :
5613   enableval=$enable_optimization;
5614 else
5615   enable_optimization=yes
5616 fi
5617
5618
5619 case "${enable_optimization}" in #(
5620   yes) :
5621     disable_optimization=no ;; #(
5622   no) :
5623     CFLAGS="$CFLAGS -O0"; disable_optimization=yes ;; #(
5624   *) :
5625     as_fn_error $? "bad value ${enable_optimization} for --enable-werror" "$LINENO" 5 ;;
5626 esac
5627
5628
5629 # Check whether --enable-never-quit was given.
5630 if test "${enable_never_quit+set}" = set; then :
5631   enableval=$enable_never_quit;
5632 else
5633   enable_never_quit=no
5634 fi
5635
5636
5637 case "${enable_never_quit}" in #(
5638   yes) :
5639     never_quit=true; NQ=TRUE ;; #(
5640   no) :
5641     never_quit=false; NQ=FALSE ;; #(
5642   *) :
5643     as_fn_error $? "bad value ${enable_never_quit} for --enable-never-quit" "$LINENO" 5 ;;
5644 esac
5645
5646
5647 cat >>confdefs.h <<_ACEOF
5648 #define MSU_NEVER_QUIT ${NQ}
5649 _ACEOF
5650
5651
5652
5653
5654 # Check whether --with-log-level was given.
5655 if test "${with_log_level+set}" = set; then :
5656   withval=$with_log_level;
5657 else
5658   with_log_level=7
5659 fi
5660
5661
5662
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; }
5665
5666         old_IFS=${IFS}
5667         IFS=","
5668
5669         log_ok=yes
5670         log_single=no
5671         log_level_count=0
5672         LOG_LEVEL=0
5673         log_array=(0 0 0 0 0 0 0 0 0)
5674
5675         for log_level in ${with_log_level}
5676         do
5677                 IFS=${old_IFS}
5678
5679         case $log_level in #(
5680   [1-6]) :
5681     if test ${log_array[${log_level}]} -ne 0; then :
5682
5683                                         as_fn_error 1 "\"$log_level should be set once\"" "$LINENO" 5
5684
5685 elif test "x${log_single}" = xyes; then :
5686
5687                                         as_fn_error 1 "\"Unique value element already set\"" "$LINENO" 5
5688
5689 fi
5690                          ;; #(
5691   0|7|8) :
5692     if test ${log_level_count} -ne 0; then :
5693
5694                                         as_fn_error 1 "\"$log_level should be a unique value element\"" "$LINENO" 5
5695
5696 fi
5697                           log_single=yes
5698                          ;; #(
5699   *) :
5700     as_fn_error 1 "\"$log_level is not a valid value\"" "$LINENO" 5
5701          ;;
5702 esac
5703
5704         log_name=LOG_LEVEL_${log_level}
5705         eval log_value=\$${log_name}
5706         let "LOG_LEVEL |= ${log_value}"
5707
5708
5709                 IFS=","
5710
5711                 let log_level_count++
5712                 let log_array[${log_level}]++
5713         done
5714
5715         IFS=${old_IFS}
5716
5717
5718 cat >>confdefs.h <<_ACEOF
5719 #define MSU_LOG_LEVEL ${LOG_LEVEL}
5720 _ACEOF
5721
5722
5723         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5724 $as_echo "ok" >&6; }
5725
5726
5727
5728
5729
5730 # Check whether --with-log-type was given.
5731 if test "${with_log_type+set}" = set; then :
5732   withval=$with_log_type;
5733 else
5734   with_log_type=0
5735 fi
5736
5737
5738
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; }
5741
5742         case ${with_log_type} in #(
5743   0|1) :
5744      ;; #(
5745   *) :
5746     as_fn_error 1 "\"${with_log_type} is not a valid value\"" "$LINENO" 5
5747          ;;
5748 esac
5749
5750
5751 cat >>confdefs.h <<_ACEOF
5752 #define MSU_LOG_TYPE ${with_log_type}
5753 _ACEOF
5754
5755
5756         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5757 $as_echo "ok" >&6; }
5758
5759
5760
5761
5762 DBUS_SESSION_DIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
5763
5764
5765
5766 $as_echo "#define MSU_SERVICE \"com.intel.MediaServiceUPnP\"" >>confdefs.h
5767
5768
5769 $as_echo "#define MSU_OBJECT \"/com/intel/MediaServiceUPnP\"" >>confdefs.h
5770
5771
5772 $as_echo "#define MSU_SERVER_PATH \"/com/intel/MediaServiceUPnP/server\"" >>confdefs.h
5773
5774
5775 MSU_SERVER_NAME=com.intel.media-service-upnp
5776
5777
5778 $as_echo "#define MSU_SERVER_NAME \"com.intel.media-service-upnp\"" >>confdefs.h
5779
5780
5781 MSU_INTERFACE_MANAGER=com.intel.MediaServiceUPnP.Manager
5782
5783
5784 $as_echo "#define MSU_INTERFACE_MANAGER \"com.intel.MediaServiceUPnP.Manager\"" >>confdefs.h
5785
5786
5787 MSU_INTERFACE_MEDIA_DEVICE=com.intel.UPnP.MediaDevice
5788
5789
5790 $as_echo "#define MSU_INTERFACE_MEDIA_DEVICE \"com.intel.UPnP.MediaDevice\"" >>confdefs.h
5791
5792
5793
5794
5795
5796
5797
5798 ac_config_files="$ac_config_files Makefile src/com.intel.media-service-upnp.service media-service-upnp.pc media-service-upnp.conf"
5799
5800
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.
5807 #
5808 # config.status only pays attention to the cache file if you give it
5809 # the --recheck option to rerun configure.
5810 #
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
5813 # following values.
5814
5815 _ACEOF
5816
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.
5822 (
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
5825     case $ac_val in #(
5826     *${as_nl}*)
5827       case $ac_var in #(
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;} ;;
5830       esac
5831       case $ac_var in #(
5832       _ | IFS | as_nl) ;; #(
5833       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5834       *) { eval $ac_var=; unset $ac_var;} ;;
5835       esac ;;
5836     esac
5837   done
5838
5839   (set) 2>&1 |
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 \.
5844       sed -n \
5845         "s/'/'\\\\''/g;
5846           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5847       ;; #(
5848     *)
5849       # `set' quotes correctly as required by POSIX, so do not add quotes.
5850       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5851       ;;
5852     esac |
5853     sort
5854 ) |
5855   sed '
5856      /^ac_cv_env_/b end
5857      t clear
5858      :clear
5859      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5860      t end
5861      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5862      :end' >>confcache
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"
5870       else
5871         case $cache_file in #(
5872         */* | ?:*)
5873           mv -f confcache "$cache_file"$$ &&
5874           mv -f "$cache_file"$$ "$cache_file" ;; #(
5875         *)
5876           mv -f confcache "$cache_file" ;;
5877         esac
5878       fi
5879     fi
5880   else
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;}
5883   fi
5884 fi
5885 rm -f confcache
5886
5887 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5888 # Let make expand exec_prefix.
5889 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5890
5891 DEFS=-DHAVE_CONFIG_H
5892
5893 ac_libobjs=
5894 ac_ltlibobjs=
5895 U=
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'
5904 done
5905 LIBOBJS=$ac_libobjs
5906
5907 LTLIBOBJS=$ac_ltlibobjs
5908
5909
5910  if test -n "$EXEEXT"; then
5911   am__EXEEXT_TRUE=
5912   am__EXEEXT_FALSE='#'
5913 else
5914   am__EXEEXT_TRUE='#'
5915   am__EXEEXT_FALSE=
5916 fi
5917
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
5921 fi
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
5925 fi
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
5929 fi
5930
5931 : "${CONFIG_STATUS=./config.status}"
5932 ac_write_fail=0
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;}
5937 as_write_fail=0
5938 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5939 #! $SHELL
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.
5944
5945 debug=false
5946 ac_cs_recheck=false
5947 ac_cs_silent=false
5948
5949 SHELL=\${CONFIG_SHELL-$SHELL}
5950 export SHELL
5951 _ASEOF
5952 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5953 ## -------------------- ##
5954 ## M4sh Initialization. ##
5955 ## -------------------- ##
5956
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 :
5960   emulate sh
5961   NULLCMD=:
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
5966 else
5967   case `(set -o) 2>/dev/null` in #(
5968   *posix*) :
5969     set -o posix ;; #(
5970   *) :
5971      ;;
5972 esac
5973 fi
5974
5975
5976 as_nl='
5977 '
5978 export as_nl
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'
5992 else
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'
5996   else
5997     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5998     as_echo_n_body='eval
5999       arg=$1;
6000       case $arg in #(
6001       *"$as_nl"*)
6002         expr "X$arg" : "X\\(.*\\)$as_nl";
6003         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6004       esac;
6005       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6006     '
6007     export as_echo_n_body
6008     as_echo_n='sh -c $as_echo_n_body as_echo'
6009   fi
6010   export as_echo_body
6011   as_echo='sh -c $as_echo_body as_echo'
6012 fi
6013
6014 # The user is always right.
6015 if test "${PATH_SEPARATOR+set}" != set; then
6016   PATH_SEPARATOR=:
6017   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6018     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6019       PATH_SEPARATOR=';'
6020   }
6021 fi
6022
6023
6024 # IFS
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.)
6029 IFS=" ""        $as_nl"
6030
6031 # Find who we are.  Look in the path if we contain no directory separator.
6032 as_myself=
6033 case $0 in #((
6034   *[\\/]* ) as_myself=$0 ;;
6035   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036 for as_dir in $PATH
6037 do
6038   IFS=$as_save_IFS
6039   test -z "$as_dir" && as_dir=.
6040     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6041   done
6042 IFS=$as_save_IFS
6043
6044      ;;
6045 esac
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
6049   as_myself=$0
6050 fi
6051 if test ! -f "$as_myself"; then
6052   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6053   exit 1
6054 fi
6055
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 || :
6063 done
6064 PS1='$ '
6065 PS2='> '
6066 PS4='+ '
6067
6068 # NLS nuisances.
6069 LC_ALL=C
6070 export LC_ALL
6071 LANGUAGE=C
6072 export LANGUAGE
6073
6074 # CDPATH.
6075 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6076
6077
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.
6083 as_fn_error ()
6084 {
6085   as_status=$1; test $as_status -eq 0 && as_status=1
6086   if test "$4"; then
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
6089   fi
6090   $as_echo "$as_me: error: $2" >&2
6091   as_fn_exit $as_status
6092 } # as_fn_error
6093
6094
6095 # as_fn_set_status STATUS
6096 # -----------------------
6097 # Set $? to STATUS, without forking.
6098 as_fn_set_status ()
6099 {
6100   return $1
6101 } # as_fn_set_status
6102
6103 # as_fn_exit STATUS
6104 # -----------------
6105 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6106 as_fn_exit ()
6107 {
6108   set +e
6109   as_fn_set_status $1
6110   exit $1
6111 } # as_fn_exit
6112
6113 # as_fn_unset VAR
6114 # ---------------
6115 # Portably unset VAR.
6116 as_fn_unset ()
6117 {
6118   { eval $1=; unset $1;}
6119 }
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
6126 # implementations.
6127 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6128   eval 'as_fn_append ()
6129   {
6130     eval $1+=\$2
6131   }'
6132 else
6133   as_fn_append ()
6134   {
6135     eval $1=\$$1\$2
6136   }
6137 fi # as_fn_append
6138
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 ()
6146   {
6147     as_val=$(( $* ))
6148   }'
6149 else
6150   as_fn_arith ()
6151   {
6152     as_val=`expr "$@" || test $? -eq 1`
6153   }
6154 fi # as_fn_arith
6155
6156
6157 if expr a : '\(a\)' >/dev/null 2>&1 &&
6158    test "X`expr 00001 : '.*\(...\)'`" = X001; then
6159   as_expr=expr
6160 else
6161   as_expr=false
6162 fi
6163
6164 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6165   as_basename=basename
6166 else
6167   as_basename=false
6168 fi
6169
6170 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6171   as_dirname=dirname
6172 else
6173   as_dirname=false
6174 fi
6175
6176 as_me=`$as_basename -- "$0" ||
6177 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6178          X"$0" : 'X\(//\)$' \| \
6179          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6180 $as_echo X/"$0" |
6181     sed '/^.*\/\([^/][^/]*\)\/*$/{
6182             s//\1/
6183             q
6184           }
6185           /^X\/\(\/\/\)$/{
6186             s//\1/
6187             q
6188           }
6189           /^X\/\(\/\).*/{
6190             s//\1/
6191             q
6192           }
6193           s/.*/./; q'`
6194
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
6201
6202 ECHO_C= ECHO_N= ECHO_T=
6203 case `echo -n x` in #(((((
6204 -n*)
6205   case `echo 'xy\c'` in
6206   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
6207   xy)  ECHO_C='\c';;
6208   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
6209        ECHO_T=' ';;
6210   esac;;
6211 *)
6212   ECHO_N='-n';;
6213 esac
6214
6215 rm -f conf$$ conf$$.exe conf$$.file
6216 if test -d conf$$.dir; then
6217   rm -f conf$$.dir/conf$$.file
6218 else
6219   rm -f conf$$.dir
6220   mkdir conf$$.dir 2>/dev/null
6221 fi
6222 if (echo >conf$$.file) 2>/dev/null; then
6223   if ln -s conf$$.file conf$$ 2>/dev/null; then
6224     as_ln_s='ln -s'
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 ||
6230       as_ln_s='cp -pR'
6231   elif ln conf$$.file conf$$ 2>/dev/null; then
6232     as_ln_s=ln
6233   else
6234     as_ln_s='cp -pR'
6235   fi
6236 else
6237   as_ln_s='cp -pR'
6238 fi
6239 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6240 rmdir conf$$.dir 2>/dev/null
6241
6242
6243 # as_fn_mkdir_p
6244 # -------------
6245 # Create "$as_dir" as a directory, including parents if necessary.
6246 as_fn_mkdir_p ()
6247 {
6248
6249   case $as_dir in #(
6250   -*) as_dir=./$as_dir;;
6251   esac
6252   test -d "$as_dir" || eval $as_mkdir_p || {
6253     as_dirs=
6254     while :; do
6255       case $as_dir in #(
6256       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6257       *) as_qdir=$as_dir;;
6258       esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6267             s//\1/
6268             q
6269           }
6270           /^X\(\/\/\)[^/].*/{
6271             s//\1/
6272             q
6273           }
6274           /^X\(\/\/\)$/{
6275             s//\1/
6276             q
6277           }
6278           /^X\(\/\).*/{
6279             s//\1/
6280             q
6281           }
6282           s/.*/./; q'`
6283       test -d "$as_dir" && break
6284     done
6285     test -z "$as_dirs" || eval "mkdir $as_dirs"
6286   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6287
6288
6289 } # as_fn_mkdir_p
6290 if mkdir -p . 2>/dev/null; then
6291   as_mkdir_p='mkdir -p "$as_dir"'
6292 else
6293   test -d ./-p && rmdir ./-p
6294   as_mkdir_p=false
6295 fi
6296
6297
6298 # as_fn_executable_p FILE
6299 # -----------------------
6300 # Test if FILE is an executable regular file.
6301 as_fn_executable_p ()
6302 {
6303   test -f "$1" && test -x "$1"
6304 } # as_fn_executable_p
6305 as_test_x='test -x'
6306 as_executable_p=as_fn_executable_p
6307
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'"
6310
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'"
6313
6314
6315 exec 6>&1
6316 ## ----------------------------------- ##
6317 ## Main body of $CONFIG_STATUS script. ##
6318 ## ----------------------------------- ##
6319 _ASEOF
6320 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6321
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.
6326 ac_log="
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
6329
6330   CONFIG_FILES    = $CONFIG_FILES
6331   CONFIG_HEADERS  = $CONFIG_HEADERS
6332   CONFIG_LINKS    = $CONFIG_LINKS
6333   CONFIG_COMMANDS = $CONFIG_COMMANDS
6334   $ $0 $@
6335
6336 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6337 "
6338
6339 _ACEOF
6340
6341 case $ac_config_files in *"
6342 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6343 esac
6344
6345 case $ac_config_headers in *"
6346 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6347 esac
6348
6349
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"
6355
6356 _ACEOF
6357
6358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6359 ac_cs_usage="\
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.
6363
6364 Usage: $0 [OPTION]... [TAG]...
6365
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
6377
6378 Configuration files:
6379 $config_files
6380
6381 Configuration headers:
6382 $config_headers
6383
6384 Configuration commands:
6385 $config_commands
6386
6387 Report bugs to <https://github.com/01org/media-service-upnp/issues/new>.
6388 media-service-upnp home page: <https://01.org/dleyna/>."
6389
6390 _ACEOF
6391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6392 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6393 ac_cs_version="\\
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\\"
6397
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."
6401
6402 ac_pwd='$ac_pwd'
6403 srcdir='$srcdir'
6404 INSTALL='$INSTALL'
6405 MKDIR_P='$MKDIR_P'
6406 AWK='$AWK'
6407 test -n "\$AWK" || AWK=awk
6408 _ACEOF
6409
6410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6411 # The default lists apply if the user does not specify any file.
6412 ac_need_defaults=:
6413 while test $# != 0
6414 do
6415   case $1 in
6416   --*=?*)
6417     ac_option=`expr "X$1" : 'X\([^=]*\)='`
6418     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6419     ac_shift=:
6420     ;;
6421   --*=)
6422     ac_option=`expr "X$1" : 'X\([^=]*\)='`
6423     ac_optarg=
6424     ac_shift=:
6425     ;;
6426   *)
6427     ac_option=$1
6428     ac_optarg=$2
6429     ac_shift=shift
6430     ;;
6431   esac
6432
6433   case $ac_option in
6434   # Handling of the options.
6435   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6436     ac_cs_recheck=: ;;
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 )
6442     debug=: ;;
6443   --file | --fil | --fi | --f )
6444     $ac_shift
6445     case $ac_optarg in
6446     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6447     '') as_fn_error $? "missing file argument" ;;
6448     esac
6449     as_fn_append CONFIG_FILES " '$ac_optarg'"
6450     ac_need_defaults=false;;
6451   --header | --heade | --head | --hea )
6452     $ac_shift
6453     case $ac_optarg in
6454     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6455     esac
6456     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6457     ac_need_defaults=false;;
6458   --he | --h)
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)
6466     ac_cs_silent=: ;;
6467
6468   # This is an error.
6469   -*) as_fn_error $? "unrecognized option: \`$1'
6470 Try \`$0 --help' for more information." ;;
6471
6472   *) as_fn_append ac_config_targets " $1"
6473      ac_need_defaults=false ;;
6474
6475   esac
6476   shift
6477 done
6478
6479 ac_configure_extra_args=
6480
6481 if $ac_cs_silent; then
6482   exec 6>/dev/null
6483   ac_configure_extra_args="$ac_configure_extra_args --silent"
6484 fi
6485
6486 _ACEOF
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
6490   shift
6491   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6492   CONFIG_SHELL='$SHELL'
6493   export CONFIG_SHELL
6494   exec "\$@"
6495 fi
6496
6497 _ACEOF
6498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6499 exec 5>>config.log
6500 {
6501   echo
6502   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6503 ## Running $as_me. ##
6504 _ASBOX
6505   $as_echo "$ac_log"
6506 } >&5
6507
6508 _ACEOF
6509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6510 #
6511 # INIT-COMMANDS
6512 #
6513 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6514
6515 _ACEOF
6516
6517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6518
6519 # Handling of arguments.
6520 for ac_config_target in $ac_config_targets
6521 do
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" ;;
6529
6530   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6531   esac
6532 done
6533
6534
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
6543 fi
6544
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'.
6551 $debug ||
6552 {
6553   tmp= ac_tmp=
6554   trap 'exit_status=$?
6555   : "${ac_tmp:=$tmp}"
6556   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6557 ' 0
6558   trap 'as_fn_exit 1' 1 2 13 15
6559 }
6560 # Create a (secure) tmp directory for tmp files.
6561
6562 {
6563   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6564   test -d "$tmp"
6565 }  ||
6566 {
6567   tmp=./conf$$-$RANDOM
6568   (umask 077 && mkdir "$tmp")
6569 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6570 ac_tmp=$tmp
6571
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
6576
6577
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\'
6584 fi
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
6587   ac_cs_awk_cr='\\r'
6588 else
6589   ac_cs_awk_cr=$ac_cr
6590 fi
6591
6592 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6593 _ACEOF
6594
6595
6596 {
6597   echo "cat >conf$$subs.awk <<_ACEOF" &&
6598   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6599   echo "_ACEOF"
6600 } >conf$$subs.sh ||
6601   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6602 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6603 ac_delim='%!_!# '
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
6607
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
6610     break
6611   elif $ac_last_try; then
6612     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6613   else
6614     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6615   fi
6616 done
6617 rm -f conf$$subs.sh
6618
6619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6620 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6621 _ACEOF
6622 sed -n '
6623 h
6624 s/^/S["/; s/!.*/"]=/
6625 p
6626 g
6627 s/^[^!]*!//
6628 :repl
6629 t repl
6630 s/'"$ac_delim"'$//
6631 t delim
6632 :nl
6633 h
6634 s/\(.\{148\}\)..*/\1/
6635 t more1
6636 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6637 p
6638 n
6639 b repl
6640 :more1
6641 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6642 p
6643 g
6644 s/.\{148\}//
6645 t nl
6646 :delim
6647 h
6648 s/\(.\{148\}\)..*/\1/
6649 t more2
6650 s/["\\]/\\&/g; s/^/"/; s/$/"/
6651 p
6652 b
6653 :more2
6654 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6655 p
6656 g
6657 s/.\{148\}//
6658 t delim
6659 ' <conf$$subs.awk | sed '
6660 /^[^""]/{
6661   N
6662   s/\n//
6663 }
6664 ' >>$CONFIG_STATUS || ac_write_fail=1
6665 rm -f conf$$subs.awk
6666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6667 _ACAWK
6668 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6669   for (key in S) S_is_set[key] = 1
6670   FS = "\a"
6671
6672 }
6673 {
6674   line = $ 0
6675   nfields = split(line, field, "@")
6676   substed = 0
6677   len = length(field[1])
6678   for (i = 2; i < nfields; i++) {
6679     key = field[i]
6680     keylen = length(key)
6681     if (S_is_set[key]) {
6682       value = S[key]
6683       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6684       len += length(value) + length(field[++i])
6685       substed = 1
6686     } else
6687       len += 1 + keylen
6688   }
6689
6690   print line
6691 }
6692
6693 _ACAWK
6694 _ACEOF
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"
6698 else
6699   cat
6700 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6701   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6702 _ACEOF
6703
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[        ]*=[    ]*/{
6710 h
6711 s///
6712 s/^/:/
6713 s/[      ]*$/:/
6714 s/:\$(srcdir):/:/g
6715 s/:\${srcdir}:/:/g
6716 s/:@srcdir@:/:/g
6717 s/^:*//
6718 s/:*$//
6719 x
6720 s/\(=[   ]*\).*/\1/
6721 G
6722 s/\n//
6723 s/^[^=]*=[       ]*$//
6724 }'
6725 fi
6726
6727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6728 fi # test -n "$CONFIG_FILES"
6729
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 ||
6735 BEGIN {
6736 _ACEOF
6737
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.
6741
6742 # Create a delimiter string that does not exist in confdefs.h, to ease
6743 # handling of long lines.
6744 ac_delim='%!_!# '
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
6748     break
6749   elif $ac_last_try; then
6750     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6751   else
6752     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6753   fi
6754 done
6755
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.
6759
6760 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6761 sed -n '
6762 s/.\{148\}/&'"$ac_delim"'/g
6763 t rset
6764 :rset
6765 s/^[     ]*#[    ]*define[       ][      ]*/ /
6766 t def
6767 d
6768 :def
6769 s/\\$//
6770 t bsnl
6771 s/["\\]/\\&/g
6772 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6773 D["\1"]=" \3"/p
6774 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
6775 d
6776 :bsnl
6777 s/["\\]/\\&/g
6778 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6779 D["\1"]=" \3\\\\\\n"\\/p
6780 t cont
6781 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6782 t cont
6783 d
6784 :cont
6785 n
6786 s/.\{148\}/&'"$ac_delim"'/g
6787 t clear
6788 :clear
6789 s/\\$//
6790 t bsnlc
6791 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6792 d
6793 :bsnlc
6794 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6795 b cont
6796 ' <confdefs.h | sed '
6797 s/'"$ac_delim"'/"\\\
6798 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6799
6800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6801   for (key in D) D_is_set[key] = 1
6802   FS = "\a"
6803 }
6804 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6805   line = \$ 0
6806   split(line, arg, " ")
6807   if (arg[1] == "#") {
6808     defundef = arg[2]
6809     mac1 = arg[3]
6810   } else {
6811     defundef = substr(arg[1], 2)
6812     mac1 = arg[2]
6813   }
6814   split(mac1, mac2, "(") #)
6815   macro = mac2[1]
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]
6820     next
6821   } else {
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, "*/"
6827       next
6828     }
6829   }
6830 }
6831 { print }
6832 _ACAWK
6833 _ACEOF
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"
6837
6838
6839 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6840 shift
6841 for ac_tag
6842 do
6843   case $ac_tag in
6844   :[FHLC]) ac_mode=$ac_tag; continue;;
6845   esac
6846   case $ac_mode$ac_tag in
6847   :[FHL]*:*);;
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;;
6851   esac
6852   ac_save_IFS=$IFS
6853   IFS=:
6854   set x $ac_tag
6855   IFS=$ac_save_IFS
6856   shift
6857   ac_file=$1
6858   shift
6859
6860   case $ac_mode in
6861   :L) ac_source=$1;;
6862   :[FH])
6863     ac_file_inputs=
6864     for ac_f
6865     do
6866       case $ac_f 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 `:'.
6871          test -f "$ac_f" ||
6872            case $ac_f in
6873            [\\/$]*) false;;
6874            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6875            esac ||
6876            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6877       esac
6878       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6879       as_fn_append ac_file_inputs " '$ac_f'"
6880     done
6881
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'
6887         `' by configure.'
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;}
6892     fi
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;;
6899     esac
6900
6901     case $ac_tag in
6902     *:-:* | *:-) cat >"$ac_tmp/stdin" \
6903       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6904     esac
6905     ;;
6906   esac
6907
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6915             s//\1/
6916             q
6917           }
6918           /^X\(\/\/\)[^/].*/{
6919             s//\1/
6920             q
6921           }
6922           /^X\(\/\/\)$/{
6923             s//\1/
6924             q
6925           }
6926           /^X\(\/\).*/{
6927             s//\1/
6928             q
6929           }
6930           s/.*/./; q'`
6931   as_dir="$ac_dir"; as_fn_mkdir_p
6932   ac_builddir=.
6933
6934 case "$ac_dir" in
6935 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6936 *)
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/ ;;
6943   esac ;;
6944 esac
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
6949
6950 case $srcdir in
6951   .)  # We are building in place.
6952     ac_srcdir=.
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 ;;
6959   *) # Relative name.
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 ;;
6963 esac
6964 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6965
6966
6967   case $ac_mode in
6968   :F)
6969   #
6970   # CONFIG_FILE
6971   #
6972
6973   case $INSTALL in
6974   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6975   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6976   esac
6977   ac_MKDIR_P=$MKDIR_P
6978   case $MKDIR_P in
6979   [\\/$]* | ?:[\\/]* ) ;;
6980   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6981   esac
6982 _ACEOF
6983
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=
6988 ac_sed_dataroot='
6989 /datarootdir/ {
6990   p
6991   q
6992 }
6993 /@datadir@/p
6994 /@docdir@/p
6995 /@infodir@/p
6996 /@localedir@/p
6997 /@mandir@/p'
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;}
7003 _ACEOF
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' ;;
7012 esac
7013 _ACEOF
7014
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
7020 $extrasub
7021 _ACEOF
7022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7023 :t
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
7038 "
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
7041
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;}
7050
7051   rm -f "$ac_tmp/stdin"
7052   case $ac_file in
7053   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7054   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7055   esac \
7056   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7057  ;;
7058   :H)
7059   #
7060   # CONFIG_HEADER
7061   #
7062   if test x"$ac_file" != x-; then
7063     {
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;}
7071     else
7072       rm -f "$ac_file"
7073       mv "$ac_tmp/config.h" "$ac_file" \
7074         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7075     fi
7076   else
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
7080   fi
7081 # Compute "$ac_file"'s index in $config_headers.
7082 _am_arg="$ac_file"
7083 _am_stamp_count=1
7084 for _am_header in $config_headers :; do
7085   case $_am_header in
7086     $_am_arg | $_am_arg:* )
7087       break ;;
7088     * )
7089       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7090   esac
7091 done
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7099             s//\1/
7100             q
7101           }
7102           /^X\(\/\/\)[^/].*/{
7103             s//\1/
7104             q
7105           }
7106           /^X\(\/\/\)$/{
7107             s//\1/
7108             q
7109           }
7110           /^X\(\/\).*/{
7111             s//\1/
7112             q
7113           }
7114           s/.*/./; q'`/stamp-h$_am_stamp_count
7115  ;;
7116
7117   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7118 $as_echo "$as_me: executing $ac_file commands" >&6;}
7119  ;;
7120   esac
7121
7122
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 ;;
7131   esac
7132   shift
7133   for mf
7134   do
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 ||
7150 $as_echo X"$mf" |
7151     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7152             s//\1/
7153             q
7154           }
7155           /^X\(\/\/\)[^/].*/{
7156             s//\1/
7157             q
7158           }
7159           /^X\(\/\/\)$/{
7160             s//\1/
7161             q
7162           }
7163           /^X\(\/\).*/{
7164             s//\1/
7165             q
7166           }
7167           s/.*/./; q'`
7168     else
7169       continue
7170     fi
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
7183     # expansion.
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 ||
7194 $as_echo X"$file" |
7195     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7196             s//\1/
7197             q
7198           }
7199           /^X\(\/\/\)[^/].*/{
7200             s//\1/
7201             q
7202           }
7203           /^X\(\/\/\)$/{
7204             s//\1/
7205             q
7206           }
7207           /^X\(\/\).*/{
7208             s//\1/
7209             q
7210           }
7211           s/.*/./; q'`
7212       as_dir=$dirpart/$fdir; as_fn_mkdir_p
7213       # echo "creating $dirpart/$file"
7214       echo '# dummy' > "$dirpart/$file"
7215     done
7216   done
7217 }
7218  ;;
7219
7220   esac
7221 done # for ac_tag
7222
7223
7224 as_fn_exit 0
7225 _ACEOF
7226 ac_clean_files=$ac_clean_files_save
7227
7228 test $ac_write_fail = 0 ||
7229   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7230
7231
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
7241   ac_cs_success=:
7242   ac_config_status_args=
7243   test "$silent" = yes &&
7244     ac_config_status_args="$ac_config_status_args --quiet"
7245   exec 5>/dev/null
7246   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7247   exec 5>>config.log
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
7251 fi
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;}
7255 fi
7256
7257
7258 $as_echo "-------------------------------------------------
7259
7260 ${PACKAGE_NAME} Version ${PACKAGE_VERSION}
7261
7262 Prefix    : '${prefix}'.
7263 Compiler  : '${CC}'
7264 CFLAGS    : '${CFLAGS}'
7265
7266 -Package features:
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}
7273
7274 --------------------------------------------------"