Updated the date in the renderer-service-upnp.changes file
[profile/ivi/renderer-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 renderer-service-upnp 0.2.0.
4 #
5 # Report bugs to <https://github.com/01org/renderer-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/renderer-service-upnp/issues/new
271 $0: about your system, including any error possibly output
272 $0: before this message. Then install a modern shell, or
273 $0: manually run the script under such a shell if you do
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='renderer-service-upnp'
583 PACKAGE_TARNAME='renderer-service-upnp'
584 PACKAGE_VERSION='0.2.0'
585 PACKAGE_STRING='renderer-service-upnp 0.2.0'
586 PACKAGE_BUGREPORT='https://github.com/01org/renderer-service-upnp/issues/new'
587 PACKAGE_URL='https://01.org/dleyna/'
588
589 ac_unique_file="src/renderer-service-upnp.c"
590 ac_default_prefix=/usr/local
591 # Factoring default headers for most tests.
592 ac_includes_default="\
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 RSU_INTERFACE_PUSH_HOST
634 RSU_INTERFACE_RENDERER_DEVICE
635 RSU_INTERFACE_MANAGER
636 RSU_SERVER_NAME
637 DBUS_SESSION_DIR
638 LIBOBJS
639 EGREP
640 GREP
641 CPP
642 SOUP_LIBS
643 SOUP_CFLAGS
644 GUPNPAV_LIBS
645 GUPNPAV_CFLAGS
646 GUPNP_LIBS
647 GUPNP_CFLAGS
648 GSSDP_LIBS
649 GSSDP_CFLAGS
650 GIO_LIBS
651 GIO_CFLAGS
652 GLIB_LIBS
653 GLIB_CFLAGS
654 DBUS_LIBS
655 DBUS_CFLAGS
656 PKG_CONFIG_LIBDIR
657 PKG_CONFIG_PATH
658 PKG_CONFIG
659 am__fastdepCC_FALSE
660 am__fastdepCC_TRUE
661 CCDEPMODE
662 am__nodep
663 AMDEPBACKSLASH
664 AMDEP_FALSE
665 AMDEP_TRUE
666 am__quote
667 am__include
668 DEPDIR
669 OBJEXT
670 EXEEXT
671 ac_ct_CC
672 CPPFLAGS
673 LDFLAGS
674 CFLAGS
675 CC
676 AM_BACKSLASH
677 AM_DEFAULT_VERBOSITY
678 AM_DEFAULT_V
679 AM_V
680 MAINT
681 MAINTAINER_MODE_FALSE
682 MAINTAINER_MODE_TRUE
683 am__untar
684 am__tar
685 AMTAR
686 am__leading_dot
687 SET_MAKE
688 AWK
689 mkdir_p
690 MKDIR_P
691 INSTALL_STRIP_PROGRAM
692 STRIP
693 install_sh
694 MAKEINFO
695 AUTOHEADER
696 AUTOMAKE
697 AUTOCONF
698 ACLOCAL
699 VERSION
700 PACKAGE
701 CYGPATH_W
702 am__isrc
703 INSTALL_DATA
704 INSTALL_SCRIPT
705 INSTALL_PROGRAM
706 target_alias
707 host_alias
708 build_alias
709 LIBS
710 ECHO_T
711 ECHO_N
712 ECHO_C
713 DEFS
714 mandir
715 localedir
716 libdir
717 psdir
718 pdfdir
719 dvidir
720 htmldir
721 infodir
722 docdir
723 oldincludedir
724 includedir
725 localstatedir
726 sharedstatedir
727 sysconfdir
728 datadir
729 datarootdir
730 libexecdir
731 sbindir
732 bindir
733 program_transform_name
734 prefix
735 exec_prefix
736 PACKAGE_URL
737 PACKAGE_BUGREPORT
738 PACKAGE_STRING
739 PACKAGE_VERSION
740 PACKAGE_TARNAME
741 PACKAGE_NAME
742 PATH_SEPARATOR
743 SHELL'
744 ac_subst_files=''
745 ac_user_opts='
746 enable_option_checking
747 enable_maintainer_mode
748 enable_silent_rules
749 enable_dependency_tracking
750 enable_debug
751 enable_werror
752 enable_optimization
753 enable_never_quit
754 with_log_level
755 with_log_type
756 '
757       ac_precious_vars='build_alias
758 host_alias
759 target_alias
760 CC
761 CFLAGS
762 LDFLAGS
763 LIBS
764 CPPFLAGS
765 PKG_CONFIG
766 PKG_CONFIG_PATH
767 PKG_CONFIG_LIBDIR
768 DBUS_CFLAGS
769 DBUS_LIBS
770 GLIB_CFLAGS
771 GLIB_LIBS
772 GIO_CFLAGS
773 GIO_LIBS
774 GSSDP_CFLAGS
775 GSSDP_LIBS
776 GUPNP_CFLAGS
777 GUPNP_LIBS
778 GUPNPAV_CFLAGS
779 GUPNPAV_LIBS
780 SOUP_CFLAGS
781 SOUP_LIBS
782 CPP'
783
784
785 # Initialize some variables set by options.
786 ac_init_help=
787 ac_init_version=false
788 ac_unrecognized_opts=
789 ac_unrecognized_sep=
790 # The variables have the same names as the options, with
791 # dashes changed to underlines.
792 cache_file=/dev/null
793 exec_prefix=NONE
794 no_create=
795 no_recursion=
796 prefix=NONE
797 program_prefix=NONE
798 program_suffix=NONE
799 program_transform_name=s,x,x,
800 silent=
801 site=
802 srcdir=
803 verbose=
804 x_includes=NONE
805 x_libraries=NONE
806
807 # Installation directory options.
808 # These are left unexpanded so users can "make install exec_prefix=/foo"
809 # and all the variables that are supposed to be based on exec_prefix
810 # by default will actually change.
811 # Use braces instead of parens because sh, perl, etc. also accept them.
812 # (The list follows the same order as the GNU Coding Standards.)
813 bindir='${exec_prefix}/bin'
814 sbindir='${exec_prefix}/sbin'
815 libexecdir='${exec_prefix}/libexec'
816 datarootdir='${prefix}/share'
817 datadir='${datarootdir}'
818 sysconfdir='${prefix}/etc'
819 sharedstatedir='${prefix}/com'
820 localstatedir='${prefix}/var'
821 includedir='${prefix}/include'
822 oldincludedir='/usr/include'
823 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
824 infodir='${datarootdir}/info'
825 htmldir='${docdir}'
826 dvidir='${docdir}'
827 pdfdir='${docdir}'
828 psdir='${docdir}'
829 libdir='${exec_prefix}/lib'
830 localedir='${datarootdir}/locale'
831 mandir='${datarootdir}/man'
832
833 ac_prev=
834 ac_dashdash=
835 for ac_option
836 do
837   # If the previous option needs an argument, assign it.
838   if test -n "$ac_prev"; then
839     eval $ac_prev=\$ac_option
840     ac_prev=
841     continue
842   fi
843
844   case $ac_option in
845   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
846   *=)   ac_optarg= ;;
847   *)    ac_optarg=yes ;;
848   esac
849
850   # Accept the important Cygnus configure options, so we can diagnose typos.
851
852   case $ac_dashdash$ac_option in
853   --)
854     ac_dashdash=yes ;;
855
856   -bindir | --bindir | --bindi | --bind | --bin | --bi)
857     ac_prev=bindir ;;
858   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
859     bindir=$ac_optarg ;;
860
861   -build | --build | --buil | --bui | --bu)
862     ac_prev=build_alias ;;
863   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
864     build_alias=$ac_optarg ;;
865
866   -cache-file | --cache-file | --cache-fil | --cache-fi \
867   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
868     ac_prev=cache_file ;;
869   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
870   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
871     cache_file=$ac_optarg ;;
872
873   --config-cache | -C)
874     cache_file=config.cache ;;
875
876   -datadir | --datadir | --datadi | --datad)
877     ac_prev=datadir ;;
878   -datadir=* | --datadir=* | --datadi=* | --datad=*)
879     datadir=$ac_optarg ;;
880
881   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
882   | --dataroo | --dataro | --datar)
883     ac_prev=datarootdir ;;
884   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
885   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
886     datarootdir=$ac_optarg ;;
887
888   -disable-* | --disable-*)
889     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
890     # Reject names that are not valid shell variable names.
891     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
892       as_fn_error $? "invalid feature name: $ac_useropt"
893     ac_useropt_orig=$ac_useropt
894     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
895     case $ac_user_opts in
896       *"
897 "enable_$ac_useropt"
898 "*) ;;
899       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
900          ac_unrecognized_sep=', ';;
901     esac
902     eval enable_$ac_useropt=no ;;
903
904   -docdir | --docdir | --docdi | --doc | --do)
905     ac_prev=docdir ;;
906   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
907     docdir=$ac_optarg ;;
908
909   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
910     ac_prev=dvidir ;;
911   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
912     dvidir=$ac_optarg ;;
913
914   -enable-* | --enable-*)
915     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
916     # Reject names that are not valid shell variable names.
917     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
918       as_fn_error $? "invalid feature name: $ac_useropt"
919     ac_useropt_orig=$ac_useropt
920     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
921     case $ac_user_opts in
922       *"
923 "enable_$ac_useropt"
924 "*) ;;
925       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
926          ac_unrecognized_sep=', ';;
927     esac
928     eval enable_$ac_useropt=\$ac_optarg ;;
929
930   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
931   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
932   | --exec | --exe | --ex)
933     ac_prev=exec_prefix ;;
934   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
935   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
936   | --exec=* | --exe=* | --ex=*)
937     exec_prefix=$ac_optarg ;;
938
939   -gas | --gas | --ga | --g)
940     # Obsolete; use --with-gas.
941     with_gas=yes ;;
942
943   -help | --help | --hel | --he | -h)
944     ac_init_help=long ;;
945   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
946     ac_init_help=recursive ;;
947   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
948     ac_init_help=short ;;
949
950   -host | --host | --hos | --ho)
951     ac_prev=host_alias ;;
952   -host=* | --host=* | --hos=* | --ho=*)
953     host_alias=$ac_optarg ;;
954
955   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
956     ac_prev=htmldir ;;
957   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
958   | --ht=*)
959     htmldir=$ac_optarg ;;
960
961   -includedir | --includedir | --includedi | --included | --include \
962   | --includ | --inclu | --incl | --inc)
963     ac_prev=includedir ;;
964   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
965   | --includ=* | --inclu=* | --incl=* | --inc=*)
966     includedir=$ac_optarg ;;
967
968   -infodir | --infodir | --infodi | --infod | --info | --inf)
969     ac_prev=infodir ;;
970   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
971     infodir=$ac_optarg ;;
972
973   -libdir | --libdir | --libdi | --libd)
974     ac_prev=libdir ;;
975   -libdir=* | --libdir=* | --libdi=* | --libd=*)
976     libdir=$ac_optarg ;;
977
978   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
979   | --libexe | --libex | --libe)
980     ac_prev=libexecdir ;;
981   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
982   | --libexe=* | --libex=* | --libe=*)
983     libexecdir=$ac_optarg ;;
984
985   -localedir | --localedir | --localedi | --localed | --locale)
986     ac_prev=localedir ;;
987   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
988     localedir=$ac_optarg ;;
989
990   -localstatedir | --localstatedir | --localstatedi | --localstated \
991   | --localstate | --localstat | --localsta | --localst | --locals)
992     ac_prev=localstatedir ;;
993   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
994   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
995     localstatedir=$ac_optarg ;;
996
997   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
998     ac_prev=mandir ;;
999   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1000     mandir=$ac_optarg ;;
1001
1002   -nfp | --nfp | --nf)
1003     # Obsolete; use --without-fp.
1004     with_fp=no ;;
1005
1006   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1007   | --no-cr | --no-c | -n)
1008     no_create=yes ;;
1009
1010   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1011   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1012     no_recursion=yes ;;
1013
1014   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1015   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1016   | --oldin | --oldi | --old | --ol | --o)
1017     ac_prev=oldincludedir ;;
1018   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1019   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1020   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1021     oldincludedir=$ac_optarg ;;
1022
1023   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1024     ac_prev=prefix ;;
1025   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1026     prefix=$ac_optarg ;;
1027
1028   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1029   | --program-pre | --program-pr | --program-p)
1030     ac_prev=program_prefix ;;
1031   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1032   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1033     program_prefix=$ac_optarg ;;
1034
1035   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1036   | --program-suf | --program-su | --program-s)
1037     ac_prev=program_suffix ;;
1038   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1039   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1040     program_suffix=$ac_optarg ;;
1041
1042   -program-transform-name | --program-transform-name \
1043   | --program-transform-nam | --program-transform-na \
1044   | --program-transform-n | --program-transform- \
1045   | --program-transform | --program-transfor \
1046   | --program-transfo | --program-transf \
1047   | --program-trans | --program-tran \
1048   | --progr-tra | --program-tr | --program-t)
1049     ac_prev=program_transform_name ;;
1050   -program-transform-name=* | --program-transform-name=* \
1051   | --program-transform-nam=* | --program-transform-na=* \
1052   | --program-transform-n=* | --program-transform-=* \
1053   | --program-transform=* | --program-transfor=* \
1054   | --program-transfo=* | --program-transf=* \
1055   | --program-trans=* | --program-tran=* \
1056   | --progr-tra=* | --program-tr=* | --program-t=*)
1057     program_transform_name=$ac_optarg ;;
1058
1059   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1060     ac_prev=pdfdir ;;
1061   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1062     pdfdir=$ac_optarg ;;
1063
1064   -psdir | --psdir | --psdi | --psd | --ps)
1065     ac_prev=psdir ;;
1066   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1067     psdir=$ac_optarg ;;
1068
1069   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1070   | -silent | --silent | --silen | --sile | --sil)
1071     silent=yes ;;
1072
1073   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1074     ac_prev=sbindir ;;
1075   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1076   | --sbi=* | --sb=*)
1077     sbindir=$ac_optarg ;;
1078
1079   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1080   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1081   | --sharedst | --shareds | --shared | --share | --shar \
1082   | --sha | --sh)
1083     ac_prev=sharedstatedir ;;
1084   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1085   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1086   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1087   | --sha=* | --sh=*)
1088     sharedstatedir=$ac_optarg ;;
1089
1090   -site | --site | --sit)
1091     ac_prev=site ;;
1092   -site=* | --site=* | --sit=*)
1093     site=$ac_optarg ;;
1094
1095   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1096     ac_prev=srcdir ;;
1097   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1098     srcdir=$ac_optarg ;;
1099
1100   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1101   | --syscon | --sysco | --sysc | --sys | --sy)
1102     ac_prev=sysconfdir ;;
1103   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1104   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1105     sysconfdir=$ac_optarg ;;
1106
1107   -target | --target | --targe | --targ | --tar | --ta | --t)
1108     ac_prev=target_alias ;;
1109   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1110     target_alias=$ac_optarg ;;
1111
1112   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1113     verbose=yes ;;
1114
1115   -version | --version | --versio | --versi | --vers | -V)
1116     ac_init_version=: ;;
1117
1118   -with-* | --with-*)
1119     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1120     # Reject names that are not valid shell variable names.
1121     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1122       as_fn_error $? "invalid package name: $ac_useropt"
1123     ac_useropt_orig=$ac_useropt
1124     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125     case $ac_user_opts in
1126       *"
1127 "with_$ac_useropt"
1128 "*) ;;
1129       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1130          ac_unrecognized_sep=', ';;
1131     esac
1132     eval with_$ac_useropt=\$ac_optarg ;;
1133
1134   -without-* | --without-*)
1135     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1136     # Reject names that are not valid shell variable names.
1137     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1138       as_fn_error $? "invalid package name: $ac_useropt"
1139     ac_useropt_orig=$ac_useropt
1140     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1141     case $ac_user_opts in
1142       *"
1143 "with_$ac_useropt"
1144 "*) ;;
1145       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1146          ac_unrecognized_sep=', ';;
1147     esac
1148     eval with_$ac_useropt=no ;;
1149
1150   --x)
1151     # Obsolete; use --with-x.
1152     with_x=yes ;;
1153
1154   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1155   | --x-incl | --x-inc | --x-in | --x-i)
1156     ac_prev=x_includes ;;
1157   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1158   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1159     x_includes=$ac_optarg ;;
1160
1161   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1162   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1163     ac_prev=x_libraries ;;
1164   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1165   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1166     x_libraries=$ac_optarg ;;
1167
1168   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1169 Try \`$0 --help' for more information"
1170     ;;
1171
1172   *=*)
1173     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1174     # Reject names that are not valid shell variable names.
1175     case $ac_envvar in #(
1176       '' | [0-9]* | *[!_$as_cr_alnum]* )
1177       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1178     esac
1179     eval $ac_envvar=\$ac_optarg
1180     export $ac_envvar ;;
1181
1182   *)
1183     # FIXME: should be removed in autoconf 3.0.
1184     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1185     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1186       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1187     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1188     ;;
1189
1190   esac
1191 done
1192
1193 if test -n "$ac_prev"; then
1194   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1195   as_fn_error $? "missing argument to $ac_option"
1196 fi
1197
1198 if test -n "$ac_unrecognized_opts"; then
1199   case $enable_option_checking in
1200     no) ;;
1201     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1202     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1203   esac
1204 fi
1205
1206 # Check all directory arguments for consistency.
1207 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1208                 datadir sysconfdir sharedstatedir localstatedir includedir \
1209                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1210                 libdir localedir mandir
1211 do
1212   eval ac_val=\$$ac_var
1213   # Remove trailing slashes.
1214   case $ac_val in
1215     */ )
1216       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1217       eval $ac_var=\$ac_val;;
1218   esac
1219   # Be sure to have absolute directory names.
1220   case $ac_val in
1221     [\\/$]* | ?:[\\/]* )  continue;;
1222     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1223   esac
1224   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1225 done
1226
1227 # There might be people who depend on the old broken behavior: `$host'
1228 # used to hold the argument of --host etc.
1229 # FIXME: To remove some day.
1230 build=$build_alias
1231 host=$host_alias
1232 target=$target_alias
1233
1234 # FIXME: To remove some day.
1235 if test "x$host_alias" != x; then
1236   if test "x$build_alias" = x; then
1237     cross_compiling=maybe
1238   elif test "x$build_alias" != "x$host_alias"; then
1239     cross_compiling=yes
1240   fi
1241 fi
1242
1243 ac_tool_prefix=
1244 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1245
1246 test "$silent" = yes && exec 6>/dev/null
1247
1248
1249 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1250 ac_ls_di=`ls -di .` &&
1251 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1252   as_fn_error $? "working directory cannot be determined"
1253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1254   as_fn_error $? "pwd does not report name of working directory"
1255
1256
1257 # Find the source files, if location was not specified.
1258 if test -z "$srcdir"; then
1259   ac_srcdir_defaulted=yes
1260   # Try the directory containing this script, then the parent directory.
1261   ac_confdir=`$as_dirname -- "$as_myself" ||
1262 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1263          X"$as_myself" : 'X\(//\)[^/]' \| \
1264          X"$as_myself" : 'X\(//\)$' \| \
1265          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1266 $as_echo X"$as_myself" |
1267     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1268             s//\1/
1269             q
1270           }
1271           /^X\(\/\/\)[^/].*/{
1272             s//\1/
1273             q
1274           }
1275           /^X\(\/\/\)$/{
1276             s//\1/
1277             q
1278           }
1279           /^X\(\/\).*/{
1280             s//\1/
1281             q
1282           }
1283           s/.*/./; q'`
1284   srcdir=$ac_confdir
1285   if test ! -r "$srcdir/$ac_unique_file"; then
1286     srcdir=..
1287   fi
1288 else
1289   ac_srcdir_defaulted=no
1290 fi
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1292   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1293   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1294 fi
1295 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1296 ac_abs_confdir=`(
1297         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1298         pwd)`
1299 # When building in place, set srcdir=.
1300 if test "$ac_abs_confdir" = "$ac_pwd"; then
1301   srcdir=.
1302 fi
1303 # Remove unnecessary trailing slashes from srcdir.
1304 # Double slashes in file names in object file debugging info
1305 # mess up M-x gdb in Emacs.
1306 case $srcdir in
1307 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1308 esac
1309 for ac_var in $ac_precious_vars; do
1310   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1311   eval ac_env_${ac_var}_value=\$${ac_var}
1312   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1313   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1314 done
1315
1316 #
1317 # Report the --help message.
1318 #
1319 if test "$ac_init_help" = "long"; then
1320   # Omit some internal or obsolete options to make the list less imposing.
1321   # This message is too long to be a string in the A/UX 3.1 sh.
1322   cat <<_ACEOF
1323 \`configure' configures renderer-service-upnp 0.2.0 to adapt to many kinds of systems.
1324
1325 Usage: $0 [OPTION]... [VAR=VALUE]...
1326
1327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1328 VAR=VALUE.  See below for descriptions of some of the useful variables.
1329
1330 Defaults for the options are specified in brackets.
1331
1332 Configuration:
1333   -h, --help              display this help and exit
1334       --help=short        display options specific to this package
1335       --help=recursive    display the short help of all the included packages
1336   -V, --version           display version information and exit
1337   -q, --quiet, --silent   do not print \`checking ...' messages
1338       --cache-file=FILE   cache test results in FILE [disabled]
1339   -C, --config-cache      alias for \`--cache-file=config.cache'
1340   -n, --no-create         do not create output files
1341       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1342
1343 Installation directories:
1344   --prefix=PREFIX         install architecture-independent files in PREFIX
1345                           [$ac_default_prefix]
1346   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1347                           [PREFIX]
1348
1349 By default, \`make install' will install all the files in
1350 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1351 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1352 for instance \`--prefix=\$HOME'.
1353
1354 For better control, use the options below.
1355
1356 Fine tuning of the installation directories:
1357   --bindir=DIR            user executables [EPREFIX/bin]
1358   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1359   --libexecdir=DIR        program executables [EPREFIX/libexec]
1360   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1361   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1362   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1363   --libdir=DIR            object code libraries [EPREFIX/lib]
1364   --includedir=DIR        C header files [PREFIX/include]
1365   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1366   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1367   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1368   --infodir=DIR           info documentation [DATAROOTDIR/info]
1369   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1370   --mandir=DIR            man documentation [DATAROOTDIR/man]
1371   --docdir=DIR            documentation root
1372                           [DATAROOTDIR/doc/renderer-service-upnp]
1373   --htmldir=DIR           html documentation [DOCDIR]
1374   --dvidir=DIR            dvi documentation [DOCDIR]
1375   --pdfdir=DIR            pdf documentation [DOCDIR]
1376   --psdir=DIR             ps documentation [DOCDIR]
1377 _ACEOF
1378
1379   cat <<\_ACEOF
1380
1381 Program names:
1382   --program-prefix=PREFIX            prepend PREFIX to installed program names
1383   --program-suffix=SUFFIX            append SUFFIX to installed program names
1384   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1385 _ACEOF
1386 fi
1387
1388 if test -n "$ac_init_help"; then
1389   case $ac_init_help in
1390      short | recursive ) echo "Configuration of renderer-service-upnp 0.2.0:";;
1391    esac
1392   cat <<\_ACEOF
1393
1394 Optional Features:
1395   --disable-option-checking  ignore unrecognized --enable/--with options
1396   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1397   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1398   --enable-maintainer-mode  enable make rules and dependencies not useful
1399                           (and sometimes confusing) to the casual installer
1400   --enable-silent-rules          less verbose build output (undo: `make V=1')
1401   --disable-silent-rules         verbose build output (undo: `make V=0')
1402   --disable-dependency-tracking  speeds up one-time build
1403   --enable-dependency-tracking   do not reject slow dependency extractors
1404   --enable-debug          enable compiling with debugging information
1405   --enable-werror         warnings are treated as errors
1406   --disable-optimization  disable code optimization through compiler
1407   --enable-never-quit     Service doesn't quit when last client disconnects
1408
1409 Optional Packages:
1410   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1411   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1412   --with-log-level        enable logging information (0,1..6,7,8) 0=disabled
1413                           7=default (=1,2,5) 8=all (=1,2,3,4,5,6) 1,..,6=a
1414                           comma separated list of log level
1415   --with-log-type         Select log output technology 0=syslog 1=GLib
1416
1417 Some influential environment variables:
1418   CC          C compiler command
1419   CFLAGS      C compiler flags
1420   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1421               nonstandard directory <lib dir>
1422   LIBS        libraries to pass to the linker, e.g. -l<library>
1423   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1424               you have headers in a nonstandard directory <include dir>
1425   PKG_CONFIG  path to pkg-config utility
1426   PKG_CONFIG_PATH
1427               directories to add to pkg-config's search path
1428   PKG_CONFIG_LIBDIR
1429               path overriding pkg-config's built-in search path
1430   DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1431   DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1432   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1433   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1434   GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1435   GIO_LIBS    linker flags for GIO, overriding pkg-config
1436   GSSDP_CFLAGS
1437               C compiler flags for GSSDP, overriding pkg-config
1438   GSSDP_LIBS  linker flags for GSSDP, overriding pkg-config
1439   GUPNP_CFLAGS
1440               C compiler flags for GUPNP, overriding pkg-config
1441   GUPNP_LIBS  linker flags for GUPNP, overriding pkg-config
1442   GUPNPAV_CFLAGS
1443               C compiler flags for GUPNPAV, overriding pkg-config
1444   GUPNPAV_LIBS
1445               linker flags for GUPNPAV, overriding pkg-config
1446   SOUP_CFLAGS C compiler flags for SOUP, overriding pkg-config
1447   SOUP_LIBS   linker flags for SOUP, overriding pkg-config
1448   CPP         C preprocessor
1449
1450 Use these variables to override the choices made by `configure' or to help
1451 it to find libraries and programs with nonstandard names/locations.
1452
1453 Report bugs to <https://github.com/01org/renderer-service-upnp/issues/new>.
1454 renderer-service-upnp home page: <https://01.org/dleyna/>.
1455 _ACEOF
1456 ac_status=$?
1457 fi
1458
1459 if test "$ac_init_help" = "recursive"; then
1460   # If there are subdirs, report their specific --help.
1461   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1462     test -d "$ac_dir" ||
1463       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1464       continue
1465     ac_builddir=.
1466
1467 case "$ac_dir" in
1468 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1469 *)
1470   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1471   # A ".." for each directory in $ac_dir_suffix.
1472   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1473   case $ac_top_builddir_sub in
1474   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1475   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1476   esac ;;
1477 esac
1478 ac_abs_top_builddir=$ac_pwd
1479 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1480 # for backward compatibility:
1481 ac_top_builddir=$ac_top_build_prefix
1482
1483 case $srcdir in
1484   .)  # We are building in place.
1485     ac_srcdir=.
1486     ac_top_srcdir=$ac_top_builddir_sub
1487     ac_abs_top_srcdir=$ac_pwd ;;
1488   [\\/]* | ?:[\\/]* )  # Absolute name.
1489     ac_srcdir=$srcdir$ac_dir_suffix;
1490     ac_top_srcdir=$srcdir
1491     ac_abs_top_srcdir=$srcdir ;;
1492   *) # Relative name.
1493     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1494     ac_top_srcdir=$ac_top_build_prefix$srcdir
1495     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1496 esac
1497 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1498
1499     cd "$ac_dir" || { ac_status=$?; continue; }
1500     # Check for guested configure.
1501     if test -f "$ac_srcdir/configure.gnu"; then
1502       echo &&
1503       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1504     elif test -f "$ac_srcdir/configure"; then
1505       echo &&
1506       $SHELL "$ac_srcdir/configure" --help=recursive
1507     else
1508       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1509     fi || ac_status=$?
1510     cd "$ac_pwd" || { ac_status=$?; break; }
1511   done
1512 fi
1513
1514 test -n "$ac_init_help" && exit $ac_status
1515 if $ac_init_version; then
1516   cat <<\_ACEOF
1517 renderer-service-upnp configure 0.2.0
1518 generated by GNU Autoconf 2.69
1519
1520 Copyright (C) 2012 Free Software Foundation, Inc.
1521 This configure script is free software; the Free Software Foundation
1522 gives unlimited permission to copy, distribute and modify it.
1523 _ACEOF
1524   exit
1525 fi
1526
1527 ## ------------------------ ##
1528 ## Autoconf initialization. ##
1529 ## ------------------------ ##
1530
1531 # ac_fn_c_try_compile LINENO
1532 # --------------------------
1533 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1534 ac_fn_c_try_compile ()
1535 {
1536   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1537   rm -f conftest.$ac_objext
1538   if { { ac_try="$ac_compile"
1539 case "(($ac_try" in
1540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1541   *) ac_try_echo=$ac_try;;
1542 esac
1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1544 $as_echo "$ac_try_echo"; } >&5
1545   (eval "$ac_compile") 2>conftest.err
1546   ac_status=$?
1547   if test -s conftest.err; then
1548     grep -v '^ *+' conftest.err >conftest.er1
1549     cat conftest.er1 >&5
1550     mv -f conftest.er1 conftest.err
1551   fi
1552   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1553   test $ac_status = 0; } && {
1554          test -z "$ac_c_werror_flag" ||
1555          test ! -s conftest.err
1556        } && test -s conftest.$ac_objext; then :
1557   ac_retval=0
1558 else
1559   $as_echo "$as_me: failed program was:" >&5
1560 sed 's/^/| /' conftest.$ac_ext >&5
1561
1562         ac_retval=1
1563 fi
1564   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1565   as_fn_set_status $ac_retval
1566
1567 } # ac_fn_c_try_compile
1568
1569 # ac_fn_c_try_cpp LINENO
1570 # ----------------------
1571 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1572 ac_fn_c_try_cpp ()
1573 {
1574   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1575   if { { ac_try="$ac_cpp conftest.$ac_ext"
1576 case "(($ac_try" in
1577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1578   *) ac_try_echo=$ac_try;;
1579 esac
1580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1581 $as_echo "$ac_try_echo"; } >&5
1582   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1583   ac_status=$?
1584   if test -s conftest.err; then
1585     grep -v '^ *+' conftest.err >conftest.er1
1586     cat conftest.er1 >&5
1587     mv -f conftest.er1 conftest.err
1588   fi
1589   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1590   test $ac_status = 0; } > conftest.i && {
1591          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1592          test ! -s conftest.err
1593        }; then :
1594   ac_retval=0
1595 else
1596   $as_echo "$as_me: failed program was:" >&5
1597 sed 's/^/| /' conftest.$ac_ext >&5
1598
1599     ac_retval=1
1600 fi
1601   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1602   as_fn_set_status $ac_retval
1603
1604 } # ac_fn_c_try_cpp
1605
1606 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1607 # -------------------------------------------------------
1608 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1609 # the include files in INCLUDES and setting the cache variable VAR
1610 # accordingly.
1611 ac_fn_c_check_header_mongrel ()
1612 {
1613   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614   if eval \${$3+:} false; then :
1615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1616 $as_echo_n "checking for $2... " >&6; }
1617 if eval \${$3+:} false; then :
1618   $as_echo_n "(cached) " >&6
1619 fi
1620 eval ac_res=\$$3
1621                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1622 $as_echo "$ac_res" >&6; }
1623 else
1624   # Is the header compilable?
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1626 $as_echo_n "checking $2 usability... " >&6; }
1627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1628 /* end confdefs.h.  */
1629 $4
1630 #include <$2>
1631 _ACEOF
1632 if ac_fn_c_try_compile "$LINENO"; then :
1633   ac_header_compiler=yes
1634 else
1635   ac_header_compiler=no
1636 fi
1637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1639 $as_echo "$ac_header_compiler" >&6; }
1640
1641 # Is the header present?
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1643 $as_echo_n "checking $2 presence... " >&6; }
1644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1645 /* end confdefs.h.  */
1646 #include <$2>
1647 _ACEOF
1648 if ac_fn_c_try_cpp "$LINENO"; then :
1649   ac_header_preproc=yes
1650 else
1651   ac_header_preproc=no
1652 fi
1653 rm -f conftest.err conftest.i conftest.$ac_ext
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1655 $as_echo "$ac_header_preproc" >&6; }
1656
1657 # So?  What about this header?
1658 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1659   yes:no: )
1660     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1661 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1662     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1663 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1664     ;;
1665   no:yes:* )
1666     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1667 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1668     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1669 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1670     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1671 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1672     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1673 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1674     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1675 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1676 ( $as_echo "## ------------------------------------------------------------------------ ##
1677 ## Report this to https://github.com/01org/renderer-service-upnp/issues/new ##
1678 ## ------------------------------------------------------------------------ ##"
1679      ) | sed "s/^/$as_me: WARNING:     /" >&2
1680     ;;
1681 esac
1682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1683 $as_echo_n "checking for $2... " >&6; }
1684 if eval \${$3+:} false; then :
1685   $as_echo_n "(cached) " >&6
1686 else
1687   eval "$3=\$ac_header_compiler"
1688 fi
1689 eval ac_res=\$$3
1690                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1691 $as_echo "$ac_res" >&6; }
1692 fi
1693   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694
1695 } # ac_fn_c_check_header_mongrel
1696
1697 # ac_fn_c_try_run LINENO
1698 # ----------------------
1699 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1700 # that executables *can* be run.
1701 ac_fn_c_try_run ()
1702 {
1703   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704   if { { ac_try="$ac_link"
1705 case "(($ac_try" in
1706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1707   *) ac_try_echo=$ac_try;;
1708 esac
1709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1710 $as_echo "$ac_try_echo"; } >&5
1711   (eval "$ac_link") 2>&5
1712   ac_status=$?
1713   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1715   { { case "(($ac_try" in
1716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1717   *) ac_try_echo=$ac_try;;
1718 esac
1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721   (eval "$ac_try") 2>&5
1722   ac_status=$?
1723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724   test $ac_status = 0; }; }; then :
1725   ac_retval=0
1726 else
1727   $as_echo "$as_me: program exited with status $ac_status" >&5
1728        $as_echo "$as_me: failed program was:" >&5
1729 sed 's/^/| /' conftest.$ac_ext >&5
1730
1731        ac_retval=$ac_status
1732 fi
1733   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1734   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735   as_fn_set_status $ac_retval
1736
1737 } # ac_fn_c_try_run
1738
1739 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1740 # -------------------------------------------------------
1741 # Tests whether HEADER exists and can be compiled using the include files in
1742 # INCLUDES, setting the cache variable VAR accordingly.
1743 ac_fn_c_check_header_compile ()
1744 {
1745   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1747 $as_echo_n "checking for $2... " >&6; }
1748 if eval \${$3+:} false; then :
1749   $as_echo_n "(cached) " >&6
1750 else
1751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1752 /* end confdefs.h.  */
1753 $4
1754 #include <$2>
1755 _ACEOF
1756 if ac_fn_c_try_compile "$LINENO"; then :
1757   eval "$3=yes"
1758 else
1759   eval "$3=no"
1760 fi
1761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1762 fi
1763 eval ac_res=\$$3
1764                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1765 $as_echo "$ac_res" >&6; }
1766   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1767
1768 } # ac_fn_c_check_header_compile
1769
1770 # ac_fn_c_find_uintX_t LINENO BITS VAR
1771 # ------------------------------------
1772 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1773 # accordingly.
1774 ac_fn_c_find_uintX_t ()
1775 {
1776   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1778 $as_echo_n "checking for uint$2_t... " >&6; }
1779 if eval \${$3+:} false; then :
1780   $as_echo_n "(cached) " >&6
1781 else
1782   eval "$3=no"
1783      # Order is important - never check a type that is potentially smaller
1784      # than half of the expected target width.
1785      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1786          'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1787        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h.  */
1789 $ac_includes_default
1790 int
1791 main ()
1792 {
1793 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1794 test_array [0] = 0;
1795 return test_array [0];
1796
1797   ;
1798   return 0;
1799 }
1800 _ACEOF
1801 if ac_fn_c_try_compile "$LINENO"; then :
1802   case $ac_type in #(
1803   uint$2_t) :
1804     eval "$3=yes" ;; #(
1805   *) :
1806     eval "$3=\$ac_type" ;;
1807 esac
1808 fi
1809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1810        if eval test \"x\$"$3"\" = x"no"; then :
1811
1812 else
1813   break
1814 fi
1815      done
1816 fi
1817 eval ac_res=\$$3
1818                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1819 $as_echo "$ac_res" >&6; }
1820   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821
1822 } # ac_fn_c_find_uintX_t
1823
1824 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1825 # -------------------------------------------
1826 # Tests whether TYPE exists after having included INCLUDES, setting cache
1827 # variable VAR accordingly.
1828 ac_fn_c_check_type ()
1829 {
1830   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832 $as_echo_n "checking for $2... " >&6; }
1833 if eval \${$3+:} false; then :
1834   $as_echo_n "(cached) " >&6
1835 else
1836   eval "$3=no"
1837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1838 /* end confdefs.h.  */
1839 $4
1840 int
1841 main ()
1842 {
1843 if (sizeof ($2))
1844          return 0;
1845   ;
1846   return 0;
1847 }
1848 _ACEOF
1849 if ac_fn_c_try_compile "$LINENO"; then :
1850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1851 /* end confdefs.h.  */
1852 $4
1853 int
1854 main ()
1855 {
1856 if (sizeof (($2)))
1857             return 0;
1858   ;
1859   return 0;
1860 }
1861 _ACEOF
1862 if ac_fn_c_try_compile "$LINENO"; then :
1863
1864 else
1865   eval "$3=yes"
1866 fi
1867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1868 fi
1869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1870 fi
1871 eval ac_res=\$$3
1872                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873 $as_echo "$ac_res" >&6; }
1874   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875
1876 } # ac_fn_c_check_type
1877
1878 # ac_fn_c_try_link LINENO
1879 # -----------------------
1880 # Try to link conftest.$ac_ext, and return whether this succeeded.
1881 ac_fn_c_try_link ()
1882 {
1883   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1884   rm -f conftest.$ac_objext conftest$ac_exeext
1885   if { { ac_try="$ac_link"
1886 case "(($ac_try" in
1887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1888   *) ac_try_echo=$ac_try;;
1889 esac
1890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1891 $as_echo "$ac_try_echo"; } >&5
1892   (eval "$ac_link") 2>conftest.err
1893   ac_status=$?
1894   if test -s conftest.err; then
1895     grep -v '^ *+' conftest.err >conftest.er1
1896     cat conftest.er1 >&5
1897     mv -f conftest.er1 conftest.err
1898   fi
1899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1900   test $ac_status = 0; } && {
1901          test -z "$ac_c_werror_flag" ||
1902          test ! -s conftest.err
1903        } && test -s conftest$ac_exeext && {
1904          test "$cross_compiling" = yes ||
1905          test -x conftest$ac_exeext
1906        }; then :
1907   ac_retval=0
1908 else
1909   $as_echo "$as_me: failed program was:" >&5
1910 sed 's/^/| /' conftest.$ac_ext >&5
1911
1912         ac_retval=1
1913 fi
1914   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1915   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1916   # interfere with the next link command; also delete a directory that is
1917   # left behind by Apple's compiler.  We do this before executing the actions.
1918   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1919   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1920   as_fn_set_status $ac_retval
1921
1922 } # ac_fn_c_try_link
1923
1924 # ac_fn_c_check_func LINENO FUNC VAR
1925 # ----------------------------------
1926 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1927 ac_fn_c_check_func ()
1928 {
1929   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1931 $as_echo_n "checking for $2... " >&6; }
1932 if eval \${$3+:} false; then :
1933   $as_echo_n "(cached) " >&6
1934 else
1935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1936 /* end confdefs.h.  */
1937 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1938    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1939 #define $2 innocuous_$2
1940
1941 /* System header to define __stub macros and hopefully few prototypes,
1942     which can conflict with char $2 (); below.
1943     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1944     <limits.h> exists even on freestanding compilers.  */
1945
1946 #ifdef __STDC__
1947 # include <limits.h>
1948 #else
1949 # include <assert.h>
1950 #endif
1951
1952 #undef $2
1953
1954 /* Override any GCC internal prototype to avoid an error.
1955    Use char because int might match the return type of a GCC
1956    builtin and then its argument prototype would still apply.  */
1957 #ifdef __cplusplus
1958 extern "C"
1959 #endif
1960 char $2 ();
1961 /* The GNU C library defines this for functions which it implements
1962     to always fail with ENOSYS.  Some functions are actually named
1963     something starting with __ and the normal name is an alias.  */
1964 #if defined __stub_$2 || defined __stub___$2
1965 choke me
1966 #endif
1967
1968 int
1969 main ()
1970 {
1971 return $2 ();
1972   ;
1973   return 0;
1974 }
1975 _ACEOF
1976 if ac_fn_c_try_link "$LINENO"; then :
1977   eval "$3=yes"
1978 else
1979   eval "$3=no"
1980 fi
1981 rm -f core conftest.err conftest.$ac_objext \
1982     conftest$ac_exeext conftest.$ac_ext
1983 fi
1984 eval ac_res=\$$3
1985                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1986 $as_echo "$ac_res" >&6; }
1987   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1988
1989 } # ac_fn_c_check_func
1990 cat >config.log <<_ACEOF
1991 This file contains any messages produced by compilers while
1992 running configure, to aid debugging if configure makes a mistake.
1993
1994 It was created by renderer-service-upnp $as_me 0.2.0, which was
1995 generated by GNU Autoconf 2.69.  Invocation command line was
1996
1997   $ $0 $@
1998
1999 _ACEOF
2000 exec 5>>config.log
2001 {
2002 cat <<_ASUNAME
2003 ## --------- ##
2004 ## Platform. ##
2005 ## --------- ##
2006
2007 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2008 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2009 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2010 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2011 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2012
2013 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2014 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2015
2016 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2017 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2018 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2019 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2020 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2021 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2022 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2023
2024 _ASUNAME
2025
2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2027 for as_dir in $PATH
2028 do
2029   IFS=$as_save_IFS
2030   test -z "$as_dir" && as_dir=.
2031     $as_echo "PATH: $as_dir"
2032   done
2033 IFS=$as_save_IFS
2034
2035 } >&5
2036
2037 cat >&5 <<_ACEOF
2038
2039
2040 ## ----------- ##
2041 ## Core tests. ##
2042 ## ----------- ##
2043
2044 _ACEOF
2045
2046
2047 # Keep a trace of the command line.
2048 # Strip out --no-create and --no-recursion so they do not pile up.
2049 # Strip out --silent because we don't want to record it for future runs.
2050 # Also quote any args containing shell meta-characters.
2051 # Make two passes to allow for proper duplicate-argument suppression.
2052 ac_configure_args=
2053 ac_configure_args0=
2054 ac_configure_args1=
2055 ac_must_keep_next=false
2056 for ac_pass in 1 2
2057 do
2058   for ac_arg
2059   do
2060     case $ac_arg in
2061     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2062     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2063     | -silent | --silent | --silen | --sile | --sil)
2064       continue ;;
2065     *\'*)
2066       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2067     esac
2068     case $ac_pass in
2069     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2070     2)
2071       as_fn_append ac_configure_args1 " '$ac_arg'"
2072       if test $ac_must_keep_next = true; then
2073         ac_must_keep_next=false # Got value, back to normal.
2074       else
2075         case $ac_arg in
2076           *=* | --config-cache | -C | -disable-* | --disable-* \
2077           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2078           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2079           | -with-* | --with-* | -without-* | --without-* | --x)
2080             case "$ac_configure_args0 " in
2081               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2082             esac
2083             ;;
2084           -* ) ac_must_keep_next=true ;;
2085         esac
2086       fi
2087       as_fn_append ac_configure_args " '$ac_arg'"
2088       ;;
2089     esac
2090   done
2091 done
2092 { ac_configure_args0=; unset ac_configure_args0;}
2093 { ac_configure_args1=; unset ac_configure_args1;}
2094
2095 # When interrupted or exit'd, cleanup temporary files, and complete
2096 # config.log.  We remove comments because anyway the quotes in there
2097 # would cause problems or look ugly.
2098 # WARNING: Use '\'' to represent an apostrophe within the trap.
2099 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2100 trap 'exit_status=$?
2101   # Save into config.log some information that might help in debugging.
2102   {
2103     echo
2104
2105     $as_echo "## ---------------- ##
2106 ## Cache variables. ##
2107 ## ---------------- ##"
2108     echo
2109     # The following way of writing the cache mishandles newlines in values,
2110 (
2111   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2112     eval ac_val=\$$ac_var
2113     case $ac_val in #(
2114     *${as_nl}*)
2115       case $ac_var in #(
2116       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2117 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2118       esac
2119       case $ac_var in #(
2120       _ | IFS | as_nl) ;; #(
2121       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2122       *) { eval $ac_var=; unset $ac_var;} ;;
2123       esac ;;
2124     esac
2125   done
2126   (set) 2>&1 |
2127     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2128     *${as_nl}ac_space=\ *)
2129       sed -n \
2130         "s/'\''/'\''\\\\'\'''\''/g;
2131           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2132       ;; #(
2133     *)
2134       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2135       ;;
2136     esac |
2137     sort
2138 )
2139     echo
2140
2141     $as_echo "## ----------------- ##
2142 ## Output variables. ##
2143 ## ----------------- ##"
2144     echo
2145     for ac_var in $ac_subst_vars
2146     do
2147       eval ac_val=\$$ac_var
2148       case $ac_val in
2149       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2150       esac
2151       $as_echo "$ac_var='\''$ac_val'\''"
2152     done | sort
2153     echo
2154
2155     if test -n "$ac_subst_files"; then
2156       $as_echo "## ------------------- ##
2157 ## File substitutions. ##
2158 ## ------------------- ##"
2159       echo
2160       for ac_var in $ac_subst_files
2161       do
2162         eval ac_val=\$$ac_var
2163         case $ac_val in
2164         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2165         esac
2166         $as_echo "$ac_var='\''$ac_val'\''"
2167       done | sort
2168       echo
2169     fi
2170
2171     if test -s confdefs.h; then
2172       $as_echo "## ----------- ##
2173 ## confdefs.h. ##
2174 ## ----------- ##"
2175       echo
2176       cat confdefs.h
2177       echo
2178     fi
2179     test "$ac_signal" != 0 &&
2180       $as_echo "$as_me: caught signal $ac_signal"
2181     $as_echo "$as_me: exit $exit_status"
2182   } >&5
2183   rm -f core *.core core.conftest.* &&
2184     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2185     exit $exit_status
2186 ' 0
2187 for ac_signal in 1 2 13 15; do
2188   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2189 done
2190 ac_signal=0
2191
2192 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2193 rm -f -r conftest* confdefs.h
2194
2195 $as_echo "/* confdefs.h */" > confdefs.h
2196
2197 # Predefined preprocessor variables.
2198
2199 cat >>confdefs.h <<_ACEOF
2200 #define PACKAGE_NAME "$PACKAGE_NAME"
2201 _ACEOF
2202
2203 cat >>confdefs.h <<_ACEOF
2204 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2205 _ACEOF
2206
2207 cat >>confdefs.h <<_ACEOF
2208 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2209 _ACEOF
2210
2211 cat >>confdefs.h <<_ACEOF
2212 #define PACKAGE_STRING "$PACKAGE_STRING"
2213 _ACEOF
2214
2215 cat >>confdefs.h <<_ACEOF
2216 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2217 _ACEOF
2218
2219 cat >>confdefs.h <<_ACEOF
2220 #define PACKAGE_URL "$PACKAGE_URL"
2221 _ACEOF
2222
2223
2224 # Let the site file select an alternate cache file if it wants to.
2225 # Prefer an explicitly selected file to automatically selected ones.
2226 ac_site_file1=NONE
2227 ac_site_file2=NONE
2228 if test -n "$CONFIG_SITE"; then
2229   # We do not want a PATH search for config.site.
2230   case $CONFIG_SITE in #((
2231     -*)  ac_site_file1=./$CONFIG_SITE;;
2232     */*) ac_site_file1=$CONFIG_SITE;;
2233     *)   ac_site_file1=./$CONFIG_SITE;;
2234   esac
2235 elif test "x$prefix" != xNONE; then
2236   ac_site_file1=$prefix/share/config.site
2237   ac_site_file2=$prefix/etc/config.site
2238 else
2239   ac_site_file1=$ac_default_prefix/share/config.site
2240   ac_site_file2=$ac_default_prefix/etc/config.site
2241 fi
2242 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2243 do
2244   test "x$ac_site_file" = xNONE && continue
2245   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2246     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2247 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2248     sed 's/^/| /' "$ac_site_file" >&5
2249     . "$ac_site_file" \
2250       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2252 as_fn_error $? "failed to load site script $ac_site_file
2253 See \`config.log' for more details" "$LINENO" 5; }
2254   fi
2255 done
2256
2257 if test -r "$cache_file"; then
2258   # Some versions of bash will fail to source /dev/null (special files
2259   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2260   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2261     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2262 $as_echo "$as_me: loading cache $cache_file" >&6;}
2263     case $cache_file in
2264       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2265       *)                      . "./$cache_file";;
2266     esac
2267   fi
2268 else
2269   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2270 $as_echo "$as_me: creating cache $cache_file" >&6;}
2271   >$cache_file
2272 fi
2273
2274 # Check that the precious variables saved in the cache have kept the same
2275 # value.
2276 ac_cache_corrupted=false
2277 for ac_var in $ac_precious_vars; do
2278   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2279   eval ac_new_set=\$ac_env_${ac_var}_set
2280   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2281   eval ac_new_val=\$ac_env_${ac_var}_value
2282   case $ac_old_set,$ac_new_set in
2283     set,)
2284       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2285 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2286       ac_cache_corrupted=: ;;
2287     ,set)
2288       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2289 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2290       ac_cache_corrupted=: ;;
2291     ,);;
2292     *)
2293       if test "x$ac_old_val" != "x$ac_new_val"; then
2294         # differences in whitespace do not lead to failure.
2295         ac_old_val_w=`echo x $ac_old_val`
2296         ac_new_val_w=`echo x $ac_new_val`
2297         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2298           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2299 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2300           ac_cache_corrupted=:
2301         else
2302           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2303 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2304           eval $ac_var=\$ac_old_val
2305         fi
2306         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2307 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2308         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2309 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2310       fi;;
2311   esac
2312   # Pass precious variables to config.status.
2313   if test "$ac_new_set" = set; then
2314     case $ac_new_val in
2315     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2316     *) ac_arg=$ac_var=$ac_new_val ;;
2317     esac
2318     case " $ac_configure_args " in
2319       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2320       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2321     esac
2322   fi
2323 done
2324 if $ac_cache_corrupted; then
2325   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2327   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2328 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2329   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2330 fi
2331 ## -------------------- ##
2332 ## Main body of script. ##
2333 ## -------------------- ##
2334
2335 ac_ext=c
2336 ac_cpp='$CPP $CPPFLAGS'
2337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2340
2341
2342
2343 ac_config_headers="$ac_config_headers config.h"
2344
2345 ac_aux_dir=
2346 for ac_dir in build-aux "$srcdir"/build-aux; do
2347   if test -f "$ac_dir/install-sh"; then
2348     ac_aux_dir=$ac_dir
2349     ac_install_sh="$ac_aux_dir/install-sh -c"
2350     break
2351   elif test -f "$ac_dir/install.sh"; then
2352     ac_aux_dir=$ac_dir
2353     ac_install_sh="$ac_aux_dir/install.sh -c"
2354     break
2355   elif test -f "$ac_dir/shtool"; then
2356     ac_aux_dir=$ac_dir
2357     ac_install_sh="$ac_aux_dir/shtool install -c"
2358     break
2359   fi
2360 done
2361 if test -z "$ac_aux_dir"; then
2362   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2363 fi
2364
2365 # These three variables are undocumented and unsupported,
2366 # and are intended to be withdrawn in a future Autoconf release.
2367 # They can cause serious problems if a builder's source tree is in a directory
2368 # whose full name contains unusual characters.
2369 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2370 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2371 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2372
2373
2374
2375
2376
2377
2378
2379 am__api_version='1.11'
2380
2381 # Find a good install program.  We prefer a C program (faster),
2382 # so one script is as good as another.  But avoid the broken or
2383 # incompatible versions:
2384 # SysV /etc/install, /usr/sbin/install
2385 # SunOS /usr/etc/install
2386 # IRIX /sbin/install
2387 # AIX /bin/install
2388 # AmigaOS /C/install, which installs bootblocks on floppy discs
2389 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2390 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2391 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2392 # OS/2's system install, which has a completely different semantic
2393 # ./install, which can be erroneously created by make from ./install.sh.
2394 # Reject install programs that cannot install multiple files.
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2396 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2397 if test -z "$INSTALL"; then
2398 if ${ac_cv_path_install+:} false; then :
2399   $as_echo_n "(cached) " >&6
2400 else
2401   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2402 for as_dir in $PATH
2403 do
2404   IFS=$as_save_IFS
2405   test -z "$as_dir" && as_dir=.
2406     # Account for people who put trailing slashes in PATH elements.
2407 case $as_dir/ in #((
2408   ./ | .// | /[cC]/* | \
2409   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2410   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2411   /usr/ucb/* ) ;;
2412   *)
2413     # OSF1 and SCO ODT 3.0 have their own names for install.
2414     # Don't use installbsd from OSF since it installs stuff as root
2415     # by default.
2416     for ac_prog in ginstall scoinst install; do
2417       for ac_exec_ext in '' $ac_executable_extensions; do
2418         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2419           if test $ac_prog = install &&
2420             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2421             # AIX install.  It has an incompatible calling convention.
2422             :
2423           elif test $ac_prog = install &&
2424             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2425             # program-specific install script used by HP pwplus--don't use.
2426             :
2427           else
2428             rm -rf conftest.one conftest.two conftest.dir
2429             echo one > conftest.one
2430             echo two > conftest.two
2431             mkdir conftest.dir
2432             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2433               test -s conftest.one && test -s conftest.two &&
2434               test -s conftest.dir/conftest.one &&
2435               test -s conftest.dir/conftest.two
2436             then
2437               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2438               break 3
2439             fi
2440           fi
2441         fi
2442       done
2443     done
2444     ;;
2445 esac
2446
2447   done
2448 IFS=$as_save_IFS
2449
2450 rm -rf conftest.one conftest.two conftest.dir
2451
2452 fi
2453   if test "${ac_cv_path_install+set}" = set; then
2454     INSTALL=$ac_cv_path_install
2455   else
2456     # As a last resort, use the slow shell script.  Don't cache a
2457     # value for INSTALL within a source directory, because that will
2458     # break other packages using the cache if that directory is
2459     # removed, or if the value is a relative name.
2460     INSTALL=$ac_install_sh
2461   fi
2462 fi
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2464 $as_echo "$INSTALL" >&6; }
2465
2466 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2467 # It thinks the first close brace ends the variable substitution.
2468 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2469
2470 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2471
2472 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2473
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2475 $as_echo_n "checking whether build environment is sane... " >&6; }
2476 # Just in case
2477 sleep 1
2478 echo timestamp > conftest.file
2479 # Reject unsafe characters in $srcdir or the absolute working directory
2480 # name.  Accept space and tab only in the latter.
2481 am_lf='
2482 '
2483 case `pwd` in
2484   *[\\\"\#\$\&\'\`$am_lf]*)
2485     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2486 esac
2487 case $srcdir in
2488   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2489     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2490 esac
2491
2492 # Do `set' in a subshell so we don't clobber the current shell's
2493 # arguments.  Must try -L first in case configure is actually a
2494 # symlink; some systems play weird games with the mod time of symlinks
2495 # (eg FreeBSD returns the mod time of the symlink's containing
2496 # directory).
2497 if (
2498    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2499    if test "$*" = "X"; then
2500       # -L didn't work.
2501       set X `ls -t "$srcdir/configure" conftest.file`
2502    fi
2503    rm -f conftest.file
2504    if test "$*" != "X $srcdir/configure conftest.file" \
2505       && test "$*" != "X conftest.file $srcdir/configure"; then
2506
2507       # If neither matched, then we have a broken ls.  This can happen
2508       # if, for instance, CONFIG_SHELL is bash and it inherits a
2509       # broken ls alias from the environment.  This has actually
2510       # happened.  Such a system could not be considered "sane".
2511       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2512 alias in your environment" "$LINENO" 5
2513    fi
2514
2515    test "$2" = conftest.file
2516    )
2517 then
2518    # Ok.
2519    :
2520 else
2521    as_fn_error $? "newly created file is older than distributed files!
2522 Check your system clock" "$LINENO" 5
2523 fi
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2525 $as_echo "yes" >&6; }
2526 test "$program_prefix" != NONE &&
2527   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2528 # Use a double $ so make ignores it.
2529 test "$program_suffix" != NONE &&
2530   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2531 # Double any \ or $.
2532 # By default was `s,x,x', remove it if useless.
2533 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2534 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2535
2536 # expand $ac_aux_dir to an absolute path
2537 am_aux_dir=`cd $ac_aux_dir && pwd`
2538
2539 if test x"${MISSING+set}" != xset; then
2540   case $am_aux_dir in
2541   *\ * | *\     *)
2542     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2543   *)
2544     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2545   esac
2546 fi
2547 # Use eval to expand $SHELL
2548 if eval "$MISSING --run true"; then
2549   am_missing_run="$MISSING --run "
2550 else
2551   am_missing_run=
2552   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2553 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2554 fi
2555
2556 if test x"${install_sh}" != xset; then
2557   case $am_aux_dir in
2558   *\ * | *\     *)
2559     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2560   *)
2561     install_sh="\${SHELL} $am_aux_dir/install-sh"
2562   esac
2563 fi
2564
2565 # Installed binaries are usually stripped using `strip' when the user
2566 # run `make install-strip'.  However `strip' might not be the right
2567 # tool to use in cross-compilation environments, therefore Automake
2568 # will honor the `STRIP' environment variable to overrule this program.
2569 if test "$cross_compiling" != no; then
2570   if test -n "$ac_tool_prefix"; then
2571   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2572 set dummy ${ac_tool_prefix}strip; ac_word=$2
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2574 $as_echo_n "checking for $ac_word... " >&6; }
2575 if ${ac_cv_prog_STRIP+:} false; then :
2576   $as_echo_n "(cached) " >&6
2577 else
2578   if test -n "$STRIP"; then
2579   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2580 else
2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2582 for as_dir in $PATH
2583 do
2584   IFS=$as_save_IFS
2585   test -z "$as_dir" && as_dir=.
2586     for ac_exec_ext in '' $ac_executable_extensions; do
2587   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2588     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2589     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2590     break 2
2591   fi
2592 done
2593   done
2594 IFS=$as_save_IFS
2595
2596 fi
2597 fi
2598 STRIP=$ac_cv_prog_STRIP
2599 if test -n "$STRIP"; then
2600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2601 $as_echo "$STRIP" >&6; }
2602 else
2603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2604 $as_echo "no" >&6; }
2605 fi
2606
2607
2608 fi
2609 if test -z "$ac_cv_prog_STRIP"; then
2610   ac_ct_STRIP=$STRIP
2611   # Extract the first word of "strip", so it can be a program name with args.
2612 set dummy strip; ac_word=$2
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2614 $as_echo_n "checking for $ac_word... " >&6; }
2615 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2616   $as_echo_n "(cached) " >&6
2617 else
2618   if test -n "$ac_ct_STRIP"; then
2619   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2620 else
2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622 for as_dir in $PATH
2623 do
2624   IFS=$as_save_IFS
2625   test -z "$as_dir" && as_dir=.
2626     for ac_exec_ext in '' $ac_executable_extensions; do
2627   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2628     ac_cv_prog_ac_ct_STRIP="strip"
2629     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2630     break 2
2631   fi
2632 done
2633   done
2634 IFS=$as_save_IFS
2635
2636 fi
2637 fi
2638 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2639 if test -n "$ac_ct_STRIP"; then
2640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2641 $as_echo "$ac_ct_STRIP" >&6; }
2642 else
2643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2644 $as_echo "no" >&6; }
2645 fi
2646
2647   if test "x$ac_ct_STRIP" = x; then
2648     STRIP=":"
2649   else
2650     case $cross_compiling:$ac_tool_warned in
2651 yes:)
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2654 ac_tool_warned=yes ;;
2655 esac
2656     STRIP=$ac_ct_STRIP
2657   fi
2658 else
2659   STRIP="$ac_cv_prog_STRIP"
2660 fi
2661
2662 fi
2663 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2664
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2666 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2667 if test -z "$MKDIR_P"; then
2668   if ${ac_cv_path_mkdir+:} false; then :
2669   $as_echo_n "(cached) " >&6
2670 else
2671   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2672 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2673 do
2674   IFS=$as_save_IFS
2675   test -z "$as_dir" && as_dir=.
2676     for ac_prog in mkdir gmkdir; do
2677          for ac_exec_ext in '' $ac_executable_extensions; do
2678            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2679            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2680              'mkdir (GNU coreutils) '* | \
2681              'mkdir (coreutils) '* | \
2682              'mkdir (fileutils) '4.1*)
2683                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2684                break 3;;
2685            esac
2686          done
2687        done
2688   done
2689 IFS=$as_save_IFS
2690
2691 fi
2692
2693   test -d ./--version && rmdir ./--version
2694   if test "${ac_cv_path_mkdir+set}" = set; then
2695     MKDIR_P="$ac_cv_path_mkdir -p"
2696   else
2697     # As a last resort, use the slow shell script.  Don't cache a
2698     # value for MKDIR_P within a source directory, because that will
2699     # break other packages using the cache if that directory is
2700     # removed, or if the value is a relative name.
2701     MKDIR_P="$ac_install_sh -d"
2702   fi
2703 fi
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2705 $as_echo "$MKDIR_P" >&6; }
2706
2707 mkdir_p="$MKDIR_P"
2708 case $mkdir_p in
2709   [\\/$]* | ?:[\\/]*) ;;
2710   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2711 esac
2712
2713 for ac_prog in gawk mawk nawk awk
2714 do
2715   # Extract the first word of "$ac_prog", so it can be a program name with args.
2716 set dummy $ac_prog; ac_word=$2
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2718 $as_echo_n "checking for $ac_word... " >&6; }
2719 if ${ac_cv_prog_AWK+:} false; then :
2720   $as_echo_n "(cached) " >&6
2721 else
2722   if test -n "$AWK"; then
2723   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2724 else
2725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2726 for as_dir in $PATH
2727 do
2728   IFS=$as_save_IFS
2729   test -z "$as_dir" && as_dir=.
2730     for ac_exec_ext in '' $ac_executable_extensions; do
2731   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2732     ac_cv_prog_AWK="$ac_prog"
2733     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2734     break 2
2735   fi
2736 done
2737   done
2738 IFS=$as_save_IFS
2739
2740 fi
2741 fi
2742 AWK=$ac_cv_prog_AWK
2743 if test -n "$AWK"; then
2744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2745 $as_echo "$AWK" >&6; }
2746 else
2747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2748 $as_echo "no" >&6; }
2749 fi
2750
2751
2752   test -n "$AWK" && break
2753 done
2754
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2756 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2757 set x ${MAKE-make}
2758 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2759 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2760   $as_echo_n "(cached) " >&6
2761 else
2762   cat >conftest.make <<\_ACEOF
2763 SHELL = /bin/sh
2764 all:
2765         @echo '@@@%%%=$(MAKE)=@@@%%%'
2766 _ACEOF
2767 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2768 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2769   *@@@%%%=?*=@@@%%%*)
2770     eval ac_cv_prog_make_${ac_make}_set=yes;;
2771   *)
2772     eval ac_cv_prog_make_${ac_make}_set=no;;
2773 esac
2774 rm -f conftest.make
2775 fi
2776 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2778 $as_echo "yes" >&6; }
2779   SET_MAKE=
2780 else
2781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2782 $as_echo "no" >&6; }
2783   SET_MAKE="MAKE=${MAKE-make}"
2784 fi
2785
2786 rm -rf .tst 2>/dev/null
2787 mkdir .tst 2>/dev/null
2788 if test -d .tst; then
2789   am__leading_dot=.
2790 else
2791   am__leading_dot=_
2792 fi
2793 rmdir .tst 2>/dev/null
2794
2795 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2796   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2797   # is not polluted with repeated "-I."
2798   am__isrc=' -I$(srcdir)'
2799   # test to see if srcdir already configured
2800   if test -f $srcdir/config.status; then
2801     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2802   fi
2803 fi
2804
2805 # test whether we have cygpath
2806 if test -z "$CYGPATH_W"; then
2807   if (cygpath --version) >/dev/null 2>/dev/null; then
2808     CYGPATH_W='cygpath -w'
2809   else
2810     CYGPATH_W=echo
2811   fi
2812 fi
2813
2814
2815 # Define the identity of the package.
2816  PACKAGE='renderer-service-upnp'
2817  VERSION='0.2.0'
2818
2819
2820 cat >>confdefs.h <<_ACEOF
2821 #define PACKAGE "$PACKAGE"
2822 _ACEOF
2823
2824
2825 cat >>confdefs.h <<_ACEOF
2826 #define VERSION "$VERSION"
2827 _ACEOF
2828
2829 # Some tools Automake needs.
2830
2831 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2832
2833
2834 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2835
2836
2837 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2838
2839
2840 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2841
2842
2843 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2844
2845 # We need awk for the "check" target.  The system "awk" is bad on
2846 # some platforms.
2847 # Always define AMTAR for backward compatibility.  Yes, it's still used
2848 # in the wild :-(  We should find a proper way to deprecate it ...
2849 AMTAR='$${TAR-tar}'
2850
2851 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2852
2853
2854
2855
2856
2857
2858
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2860 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2861     # Check whether --enable-maintainer-mode was given.
2862 if test "${enable_maintainer_mode+set}" = set; then :
2863   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2864 else
2865   USE_MAINTAINER_MODE=no
2866 fi
2867
2868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2869 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2870    if test $USE_MAINTAINER_MODE = yes; then
2871   MAINTAINER_MODE_TRUE=
2872   MAINTAINER_MODE_FALSE='#'
2873 else
2874   MAINTAINER_MODE_TRUE='#'
2875   MAINTAINER_MODE_FALSE=
2876 fi
2877
2878   MAINT=$MAINTAINER_MODE_TRUE
2879
2880
2881 # Check whether --enable-silent-rules was given.
2882 if test "${enable_silent_rules+set}" = set; then :
2883   enableval=$enable_silent_rules;
2884 fi
2885
2886 case $enable_silent_rules in
2887 yes) AM_DEFAULT_VERBOSITY=0;;
2888 no)  AM_DEFAULT_VERBOSITY=1;;
2889 *)   AM_DEFAULT_VERBOSITY=0;;
2890 esac
2891 am_make=${MAKE-make}
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2893 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2894 if ${am_cv_make_support_nested_variables+:} false; then :
2895   $as_echo_n "(cached) " >&6
2896 else
2897   if $as_echo 'TRUE=$(BAR$(V))
2898 BAR0=false
2899 BAR1=true
2900 V=1
2901 am__doit:
2902         @$(TRUE)
2903 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2904   am_cv_make_support_nested_variables=yes
2905 else
2906   am_cv_make_support_nested_variables=no
2907 fi
2908 fi
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2910 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2911 if test $am_cv_make_support_nested_variables = yes; then
2912     AM_V='$(V)'
2913   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2914 else
2915   AM_V=$AM_DEFAULT_VERBOSITY
2916   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2917 fi
2918 AM_BACKSLASH='\'
2919
2920
2921
2922         if (test x"${CFLAGS}" = x""); then
2923                 CFLAGS="-Wall"
2924                 CFLAGS+=" -O2"
2925                 CFLAGS+=" -D_FORTIFY_SOURCE=2"
2926         fi
2927
2928         if (test x"$USE_MAINTAINER_MODE" = x"yes"); then
2929                 CFLAGS+=" -Wextra"
2930                 CFLAGS+=" -Wno-unused-parameter"
2931                 CFLAGS+=" -Wno-missing-field-initializers"
2932                 CFLAGS+=" -Wdeclaration-after-statement"
2933                 CFLAGS+=" -Wmissing-declarations"
2934                 CFLAGS+=" -Wredundant-decls"
2935                 CFLAGS+=" -Wcast-align"
2936
2937                 CFLAGS+=" -Wstrict-prototypes"
2938                 CFLAGS+=" -Wmissing-prototypes"
2939                 CFLAGS+=" -Wnested-externs"
2940                 CFLAGS+=" -Wshadow"
2941                 CFLAGS+=" -Wformat=2"
2942                 CFLAGS+=" -Winit-self"
2943
2944                 CFLAGS+=" -std=gnu99"
2945                 CFLAGS+=" -pedantic"
2946                 CFLAGS+=" -Wno-overlength-strings"
2947
2948                 CFLAGS+=" -DG_DISABLE_DEPRECATED"
2949                 CFLAGS+=" -DGLIB_DISABLE_DEPRECATION_WARNINGS"
2950         fi
2951
2952         CFLAGS+=" -Wno-format-extra-args"
2953
2954
2955 # Checks for languages.
2956 ac_ext=c
2957 ac_cpp='$CPP $CPPFLAGS'
2958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2961
2962
2963 # Checks for programs.
2964 ac_ext=c
2965 ac_cpp='$CPP $CPPFLAGS'
2966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2969 if test -n "$ac_tool_prefix"; then
2970   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2971 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2973 $as_echo_n "checking for $ac_word... " >&6; }
2974 if ${ac_cv_prog_CC+:} false; then :
2975   $as_echo_n "(cached) " >&6
2976 else
2977   if test -n "$CC"; then
2978   ac_cv_prog_CC="$CC" # Let the user override the test.
2979 else
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 for as_dir in $PATH
2982 do
2983   IFS=$as_save_IFS
2984   test -z "$as_dir" && as_dir=.
2985     for ac_exec_ext in '' $ac_executable_extensions; do
2986   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2987     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2988     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2989     break 2
2990   fi
2991 done
2992   done
2993 IFS=$as_save_IFS
2994
2995 fi
2996 fi
2997 CC=$ac_cv_prog_CC
2998 if test -n "$CC"; then
2999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3000 $as_echo "$CC" >&6; }
3001 else
3002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3003 $as_echo "no" >&6; }
3004 fi
3005
3006
3007 fi
3008 if test -z "$ac_cv_prog_CC"; then
3009   ac_ct_CC=$CC
3010   # Extract the first word of "gcc", so it can be a program name with args.
3011 set dummy gcc; ac_word=$2
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3013 $as_echo_n "checking for $ac_word... " >&6; }
3014 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3015   $as_echo_n "(cached) " >&6
3016 else
3017   if test -n "$ac_ct_CC"; then
3018   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3019 else
3020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3021 for as_dir in $PATH
3022 do
3023   IFS=$as_save_IFS
3024   test -z "$as_dir" && as_dir=.
3025     for ac_exec_ext in '' $ac_executable_extensions; do
3026   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3027     ac_cv_prog_ac_ct_CC="gcc"
3028     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3029     break 2
3030   fi
3031 done
3032   done
3033 IFS=$as_save_IFS
3034
3035 fi
3036 fi
3037 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3038 if test -n "$ac_ct_CC"; then
3039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3040 $as_echo "$ac_ct_CC" >&6; }
3041 else
3042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3043 $as_echo "no" >&6; }
3044 fi
3045
3046   if test "x$ac_ct_CC" = x; then
3047     CC=""
3048   else
3049     case $cross_compiling:$ac_tool_warned in
3050 yes:)
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3053 ac_tool_warned=yes ;;
3054 esac
3055     CC=$ac_ct_CC
3056   fi
3057 else
3058   CC="$ac_cv_prog_CC"
3059 fi
3060
3061 if test -z "$CC"; then
3062           if test -n "$ac_tool_prefix"; then
3063     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3064 set dummy ${ac_tool_prefix}cc; ac_word=$2
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3066 $as_echo_n "checking for $ac_word... " >&6; }
3067 if ${ac_cv_prog_CC+:} false; then :
3068   $as_echo_n "(cached) " >&6
3069 else
3070   if test -n "$CC"; then
3071   ac_cv_prog_CC="$CC" # Let the user override the test.
3072 else
3073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074 for as_dir in $PATH
3075 do
3076   IFS=$as_save_IFS
3077   test -z "$as_dir" && as_dir=.
3078     for ac_exec_ext in '' $ac_executable_extensions; do
3079   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3080     ac_cv_prog_CC="${ac_tool_prefix}cc"
3081     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3082     break 2
3083   fi
3084 done
3085   done
3086 IFS=$as_save_IFS
3087
3088 fi
3089 fi
3090 CC=$ac_cv_prog_CC
3091 if test -n "$CC"; then
3092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3093 $as_echo "$CC" >&6; }
3094 else
3095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3096 $as_echo "no" >&6; }
3097 fi
3098
3099
3100   fi
3101 fi
3102 if test -z "$CC"; then
3103   # Extract the first word of "cc", so it can be a program name with args.
3104 set dummy cc; ac_word=$2
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3106 $as_echo_n "checking for $ac_word... " >&6; }
3107 if ${ac_cv_prog_CC+:} false; then :
3108   $as_echo_n "(cached) " >&6
3109 else
3110   if test -n "$CC"; then
3111   ac_cv_prog_CC="$CC" # Let the user override the test.
3112 else
3113   ac_prog_rejected=no
3114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3115 for as_dir in $PATH
3116 do
3117   IFS=$as_save_IFS
3118   test -z "$as_dir" && as_dir=.
3119     for ac_exec_ext in '' $ac_executable_extensions; do
3120   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3121     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3122        ac_prog_rejected=yes
3123        continue
3124      fi
3125     ac_cv_prog_CC="cc"
3126     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3127     break 2
3128   fi
3129 done
3130   done
3131 IFS=$as_save_IFS
3132
3133 if test $ac_prog_rejected = yes; then
3134   # We found a bogon in the path, so make sure we never use it.
3135   set dummy $ac_cv_prog_CC
3136   shift
3137   if test $# != 0; then
3138     # We chose a different compiler from the bogus one.
3139     # However, it has the same basename, so the bogon will be chosen
3140     # first if we set CC to just the basename; use the full file name.
3141     shift
3142     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3143   fi
3144 fi
3145 fi
3146 fi
3147 CC=$ac_cv_prog_CC
3148 if test -n "$CC"; then
3149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3150 $as_echo "$CC" >&6; }
3151 else
3152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153 $as_echo "no" >&6; }
3154 fi
3155
3156
3157 fi
3158 if test -z "$CC"; then
3159   if test -n "$ac_tool_prefix"; then
3160   for ac_prog in cl.exe
3161   do
3162     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3163 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3165 $as_echo_n "checking for $ac_word... " >&6; }
3166 if ${ac_cv_prog_CC+:} false; then :
3167   $as_echo_n "(cached) " >&6
3168 else
3169   if test -n "$CC"; then
3170   ac_cv_prog_CC="$CC" # Let the user override the test.
3171 else
3172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173 for as_dir in $PATH
3174 do
3175   IFS=$as_save_IFS
3176   test -z "$as_dir" && as_dir=.
3177     for ac_exec_ext in '' $ac_executable_extensions; do
3178   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3179     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3180     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3181     break 2
3182   fi
3183 done
3184   done
3185 IFS=$as_save_IFS
3186
3187 fi
3188 fi
3189 CC=$ac_cv_prog_CC
3190 if test -n "$CC"; then
3191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3192 $as_echo "$CC" >&6; }
3193 else
3194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3195 $as_echo "no" >&6; }
3196 fi
3197
3198
3199     test -n "$CC" && break
3200   done
3201 fi
3202 if test -z "$CC"; then
3203   ac_ct_CC=$CC
3204   for ac_prog in cl.exe
3205 do
3206   # Extract the first word of "$ac_prog", so it can be a program name with args.
3207 set dummy $ac_prog; ac_word=$2
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3209 $as_echo_n "checking for $ac_word... " >&6; }
3210 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3211   $as_echo_n "(cached) " >&6
3212 else
3213   if test -n "$ac_ct_CC"; then
3214   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3215 else
3216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3217 for as_dir in $PATH
3218 do
3219   IFS=$as_save_IFS
3220   test -z "$as_dir" && as_dir=.
3221     for ac_exec_ext in '' $ac_executable_extensions; do
3222   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3223     ac_cv_prog_ac_ct_CC="$ac_prog"
3224     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3225     break 2
3226   fi
3227 done
3228   done
3229 IFS=$as_save_IFS
3230
3231 fi
3232 fi
3233 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3234 if test -n "$ac_ct_CC"; then
3235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3236 $as_echo "$ac_ct_CC" >&6; }
3237 else
3238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3239 $as_echo "no" >&6; }
3240 fi
3241
3242
3243   test -n "$ac_ct_CC" && break
3244 done
3245
3246   if test "x$ac_ct_CC" = x; then
3247     CC=""
3248   else
3249     case $cross_compiling:$ac_tool_warned in
3250 yes:)
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3253 ac_tool_warned=yes ;;
3254 esac
3255     CC=$ac_ct_CC
3256   fi
3257 fi
3258
3259 fi
3260
3261
3262 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3264 as_fn_error $? "no acceptable C compiler found in \$PATH
3265 See \`config.log' for more details" "$LINENO" 5; }
3266
3267 # Provide some information about the compiler.
3268 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3269 set X $ac_compile
3270 ac_compiler=$2
3271 for ac_option in --version -v -V -qversion; do
3272   { { ac_try="$ac_compiler $ac_option >&5"
3273 case "(($ac_try" in
3274   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3275   *) ac_try_echo=$ac_try;;
3276 esac
3277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3278 $as_echo "$ac_try_echo"; } >&5
3279   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3280   ac_status=$?
3281   if test -s conftest.err; then
3282     sed '10a\
3283 ... rest of stderr output deleted ...
3284          10q' conftest.err >conftest.er1
3285     cat conftest.er1 >&5
3286   fi
3287   rm -f conftest.er1 conftest.err
3288   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3289   test $ac_status = 0; }
3290 done
3291
3292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293 /* end confdefs.h.  */
3294
3295 int
3296 main ()
3297 {
3298
3299   ;
3300   return 0;
3301 }
3302 _ACEOF
3303 ac_clean_files_save=$ac_clean_files
3304 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3305 # Try to create an executable without -o first, disregard a.out.
3306 # It will help us diagnose broken compilers, and finding out an intuition
3307 # of exeext.
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3309 $as_echo_n "checking whether the C compiler works... " >&6; }
3310 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3311
3312 # The possible output files:
3313 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3314
3315 ac_rmfiles=
3316 for ac_file in $ac_files
3317 do
3318   case $ac_file in
3319     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3320     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3321   esac
3322 done
3323 rm -f $ac_rmfiles
3324
3325 if { { ac_try="$ac_link_default"
3326 case "(($ac_try" in
3327   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328   *) ac_try_echo=$ac_try;;
3329 esac
3330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331 $as_echo "$ac_try_echo"; } >&5
3332   (eval "$ac_link_default") 2>&5
3333   ac_status=$?
3334   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335   test $ac_status = 0; }; then :
3336   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3337 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3338 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3339 # so that the user can short-circuit this test for compilers unknown to
3340 # Autoconf.
3341 for ac_file in $ac_files ''
3342 do
3343   test -f "$ac_file" || continue
3344   case $ac_file in
3345     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3346         ;;
3347     [ab].out )
3348         # We found the default executable, but exeext='' is most
3349         # certainly right.
3350         break;;
3351     *.* )
3352         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3353         then :; else
3354            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3355         fi
3356         # We set ac_cv_exeext here because the later test for it is not
3357         # safe: cross compilers may not add the suffix if given an `-o'
3358         # argument, so we may need to know it at that point already.
3359         # Even if this section looks crufty: it has the advantage of
3360         # actually working.
3361         break;;
3362     * )
3363         break;;
3364   esac
3365 done
3366 test "$ac_cv_exeext" = no && ac_cv_exeext=
3367
3368 else
3369   ac_file=''
3370 fi
3371 if test -z "$ac_file"; then :
3372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3373 $as_echo "no" >&6; }
3374 $as_echo "$as_me: failed program was:" >&5
3375 sed 's/^/| /' conftest.$ac_ext >&5
3376
3377 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3379 as_fn_error 77 "C compiler cannot create executables
3380 See \`config.log' for more details" "$LINENO" 5; }
3381 else
3382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3383 $as_echo "yes" >&6; }
3384 fi
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3386 $as_echo_n "checking for C compiler default output file name... " >&6; }
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3388 $as_echo "$ac_file" >&6; }
3389 ac_exeext=$ac_cv_exeext
3390
3391 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3392 ac_clean_files=$ac_clean_files_save
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3394 $as_echo_n "checking for suffix of executables... " >&6; }
3395 if { { ac_try="$ac_link"
3396 case "(($ac_try" in
3397   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3398   *) ac_try_echo=$ac_try;;
3399 esac
3400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3401 $as_echo "$ac_try_echo"; } >&5
3402   (eval "$ac_link") 2>&5
3403   ac_status=$?
3404   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3405   test $ac_status = 0; }; then :
3406   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3407 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3408 # work properly (i.e., refer to `conftest.exe'), while it won't with
3409 # `rm'.
3410 for ac_file in conftest.exe conftest conftest.*; do
3411   test -f "$ac_file" || continue
3412   case $ac_file in
3413     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3414     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3415           break;;
3416     * ) break;;
3417   esac
3418 done
3419 else
3420   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3422 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3423 See \`config.log' for more details" "$LINENO" 5; }
3424 fi
3425 rm -f conftest conftest$ac_cv_exeext
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3427 $as_echo "$ac_cv_exeext" >&6; }
3428
3429 rm -f conftest.$ac_ext
3430 EXEEXT=$ac_cv_exeext
3431 ac_exeext=$EXEEXT
3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h.  */
3434 #include <stdio.h>
3435 int
3436 main ()
3437 {
3438 FILE *f = fopen ("conftest.out", "w");
3439  return ferror (f) || fclose (f) != 0;
3440
3441   ;
3442   return 0;
3443 }
3444 _ACEOF
3445 ac_clean_files="$ac_clean_files conftest.out"
3446 # Check that the compiler produces executables we can run.  If not, either
3447 # the compiler is broken, or we cross compile.
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3449 $as_echo_n "checking whether we are cross compiling... " >&6; }
3450 if test "$cross_compiling" != yes; then
3451   { { ac_try="$ac_link"
3452 case "(($ac_try" in
3453   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3454   *) ac_try_echo=$ac_try;;
3455 esac
3456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3457 $as_echo "$ac_try_echo"; } >&5
3458   (eval "$ac_link") 2>&5
3459   ac_status=$?
3460   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3461   test $ac_status = 0; }
3462   if { ac_try='./conftest$ac_cv_exeext'
3463   { { case "(($ac_try" in
3464   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3465   *) ac_try_echo=$ac_try;;
3466 esac
3467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3468 $as_echo "$ac_try_echo"; } >&5
3469   (eval "$ac_try") 2>&5
3470   ac_status=$?
3471   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3472   test $ac_status = 0; }; }; then
3473     cross_compiling=no
3474   else
3475     if test "$cross_compiling" = maybe; then
3476         cross_compiling=yes
3477     else
3478         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3480 as_fn_error $? "cannot run C compiled programs.
3481 If you meant to cross compile, use \`--host'.
3482 See \`config.log' for more details" "$LINENO" 5; }
3483     fi
3484   fi
3485 fi
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3487 $as_echo "$cross_compiling" >&6; }
3488
3489 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3490 ac_clean_files=$ac_clean_files_save
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3492 $as_echo_n "checking for suffix of object files... " >&6; }
3493 if ${ac_cv_objext+:} false; then :
3494   $as_echo_n "(cached) " >&6
3495 else
3496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3497 /* end confdefs.h.  */
3498
3499 int
3500 main ()
3501 {
3502
3503   ;
3504   return 0;
3505 }
3506 _ACEOF
3507 rm -f conftest.o conftest.obj
3508 if { { ac_try="$ac_compile"
3509 case "(($ac_try" in
3510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511   *) ac_try_echo=$ac_try;;
3512 esac
3513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3514 $as_echo "$ac_try_echo"; } >&5
3515   (eval "$ac_compile") 2>&5
3516   ac_status=$?
3517   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3518   test $ac_status = 0; }; then :
3519   for ac_file in conftest.o conftest.obj conftest.*; do
3520   test -f "$ac_file" || continue;
3521   case $ac_file in
3522     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3523     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3524        break;;
3525   esac
3526 done
3527 else
3528   $as_echo "$as_me: failed program was:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3530
3531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3533 as_fn_error $? "cannot compute suffix of object files: cannot compile
3534 See \`config.log' for more details" "$LINENO" 5; }
3535 fi
3536 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3537 fi
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3539 $as_echo "$ac_cv_objext" >&6; }
3540 OBJEXT=$ac_cv_objext
3541 ac_objext=$OBJEXT
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3543 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3544 if ${ac_cv_c_compiler_gnu+:} false; then :
3545   $as_echo_n "(cached) " >&6
3546 else
3547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3548 /* end confdefs.h.  */
3549
3550 int
3551 main ()
3552 {
3553 #ifndef __GNUC__
3554        choke me
3555 #endif
3556
3557   ;
3558   return 0;
3559 }
3560 _ACEOF
3561 if ac_fn_c_try_compile "$LINENO"; then :
3562   ac_compiler_gnu=yes
3563 else
3564   ac_compiler_gnu=no
3565 fi
3566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3567 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3568
3569 fi
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3571 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3572 if test $ac_compiler_gnu = yes; then
3573   GCC=yes
3574 else
3575   GCC=
3576 fi
3577 ac_test_CFLAGS=${CFLAGS+set}
3578 ac_save_CFLAGS=$CFLAGS
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3580 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3581 if ${ac_cv_prog_cc_g+:} false; then :
3582   $as_echo_n "(cached) " >&6
3583 else
3584   ac_save_c_werror_flag=$ac_c_werror_flag
3585    ac_c_werror_flag=yes
3586    ac_cv_prog_cc_g=no
3587    CFLAGS="-g"
3588    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3589 /* end confdefs.h.  */
3590
3591 int
3592 main ()
3593 {
3594
3595   ;
3596   return 0;
3597 }
3598 _ACEOF
3599 if ac_fn_c_try_compile "$LINENO"; then :
3600   ac_cv_prog_cc_g=yes
3601 else
3602   CFLAGS=""
3603       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3604 /* end confdefs.h.  */
3605
3606 int
3607 main ()
3608 {
3609
3610   ;
3611   return 0;
3612 }
3613 _ACEOF
3614 if ac_fn_c_try_compile "$LINENO"; then :
3615
3616 else
3617   ac_c_werror_flag=$ac_save_c_werror_flag
3618          CFLAGS="-g"
3619          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3620 /* end confdefs.h.  */
3621
3622 int
3623 main ()
3624 {
3625
3626   ;
3627   return 0;
3628 }
3629 _ACEOF
3630 if ac_fn_c_try_compile "$LINENO"; then :
3631   ac_cv_prog_cc_g=yes
3632 fi
3633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3634 fi
3635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3636 fi
3637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3638    ac_c_werror_flag=$ac_save_c_werror_flag
3639 fi
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3641 $as_echo "$ac_cv_prog_cc_g" >&6; }
3642 if test "$ac_test_CFLAGS" = set; then
3643   CFLAGS=$ac_save_CFLAGS
3644 elif test $ac_cv_prog_cc_g = yes; then
3645   if test "$GCC" = yes; then
3646     CFLAGS="-g -O2"
3647   else
3648     CFLAGS="-g"
3649   fi
3650 else
3651   if test "$GCC" = yes; then
3652     CFLAGS="-O2"
3653   else
3654     CFLAGS=
3655   fi
3656 fi
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3658 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3659 if ${ac_cv_prog_cc_c89+:} false; then :
3660   $as_echo_n "(cached) " >&6
3661 else
3662   ac_cv_prog_cc_c89=no
3663 ac_save_CC=$CC
3664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3665 /* end confdefs.h.  */
3666 #include <stdarg.h>
3667 #include <stdio.h>
3668 struct stat;
3669 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3670 struct buf { int x; };
3671 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3672 static char *e (p, i)
3673      char **p;
3674      int i;
3675 {
3676   return p[i];
3677 }
3678 static char *f (char * (*g) (char **, int), char **p, ...)
3679 {
3680   char *s;
3681   va_list v;
3682   va_start (v,p);
3683   s = g (p, va_arg (v,int));
3684   va_end (v);
3685   return s;
3686 }
3687
3688 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3689    function prototypes and stuff, but not '\xHH' hex character constants.
3690    These don't provoke an error unfortunately, instead are silently treated
3691    as 'x'.  The following induces an error, until -std is added to get
3692    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3693    array size at least.  It's necessary to write '\x00'==0 to get something
3694    that's true only with -std.  */
3695 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3696
3697 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3698    inside strings and character constants.  */
3699 #define FOO(x) 'x'
3700 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3701
3702 int test (int i, double x);
3703 struct s1 {int (*f) (int a);};
3704 struct s2 {int (*f) (double a);};
3705 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3706 int argc;
3707 char **argv;
3708 int
3709 main ()
3710 {
3711 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3712   ;
3713   return 0;
3714 }
3715 _ACEOF
3716 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3717         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3718 do
3719   CC="$ac_save_CC $ac_arg"
3720   if ac_fn_c_try_compile "$LINENO"; then :
3721   ac_cv_prog_cc_c89=$ac_arg
3722 fi
3723 rm -f core conftest.err conftest.$ac_objext
3724   test "x$ac_cv_prog_cc_c89" != "xno" && break
3725 done
3726 rm -f conftest.$ac_ext
3727 CC=$ac_save_CC
3728
3729 fi
3730 # AC_CACHE_VAL
3731 case "x$ac_cv_prog_cc_c89" in
3732   x)
3733     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3734 $as_echo "none needed" >&6; } ;;
3735   xno)
3736     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3737 $as_echo "unsupported" >&6; } ;;
3738   *)
3739     CC="$CC $ac_cv_prog_cc_c89"
3740     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3741 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3742 esac
3743 if test "x$ac_cv_prog_cc_c89" != xno; then :
3744
3745 fi
3746
3747 ac_ext=c
3748 ac_cpp='$CPP $CPPFLAGS'
3749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3752 DEPDIR="${am__leading_dot}deps"
3753
3754 ac_config_commands="$ac_config_commands depfiles"
3755
3756
3757 am_make=${MAKE-make}
3758 cat > confinc << 'END'
3759 am__doit:
3760         @echo this is the am__doit target
3761 .PHONY: am__doit
3762 END
3763 # If we don't find an include directive, just comment out the code.
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3765 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3766 am__include="#"
3767 am__quote=
3768 _am_result=none
3769 # First try GNU make style include.
3770 echo "include confinc" > confmf
3771 # Ignore all kinds of additional output from `make'.
3772 case `$am_make -s -f confmf 2> /dev/null` in #(
3773 *the\ am__doit\ target*)
3774   am__include=include
3775   am__quote=
3776   _am_result=GNU
3777   ;;
3778 esac
3779 # Now try BSD make style include.
3780 if test "$am__include" = "#"; then
3781    echo '.include "confinc"' > confmf
3782    case `$am_make -s -f confmf 2> /dev/null` in #(
3783    *the\ am__doit\ target*)
3784      am__include=.include
3785      am__quote="\""
3786      _am_result=BSD
3787      ;;
3788    esac
3789 fi
3790
3791
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3793 $as_echo "$_am_result" >&6; }
3794 rm -f confinc confmf
3795
3796 # Check whether --enable-dependency-tracking was given.
3797 if test "${enable_dependency_tracking+set}" = set; then :
3798   enableval=$enable_dependency_tracking;
3799 fi
3800
3801 if test "x$enable_dependency_tracking" != xno; then
3802   am_depcomp="$ac_aux_dir/depcomp"
3803   AMDEPBACKSLASH='\'
3804   am__nodep='_no'
3805 fi
3806  if test "x$enable_dependency_tracking" != xno; then
3807   AMDEP_TRUE=
3808   AMDEP_FALSE='#'
3809 else
3810   AMDEP_TRUE='#'
3811   AMDEP_FALSE=
3812 fi
3813
3814
3815
3816 depcc="$CC"   am_compiler_list=
3817
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3819 $as_echo_n "checking dependency style of $depcc... " >&6; }
3820 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3821   $as_echo_n "(cached) " >&6
3822 else
3823   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3824   # We make a subdir and do the tests there.  Otherwise we can end up
3825   # making bogus files that we don't know about and never remove.  For
3826   # instance it was reported that on HP-UX the gcc test will end up
3827   # making a dummy file named `D' -- because `-MD' means `put the output
3828   # in D'.
3829   rm -rf conftest.dir
3830   mkdir conftest.dir
3831   # Copy depcomp to subdir because otherwise we won't find it if we're
3832   # using a relative directory.
3833   cp "$am_depcomp" conftest.dir
3834   cd conftest.dir
3835   # We will build objects and dependencies in a subdirectory because
3836   # it helps to detect inapplicable dependency modes.  For instance
3837   # both Tru64's cc and ICC support -MD to output dependencies as a
3838   # side effect of compilation, but ICC will put the dependencies in
3839   # the current directory while Tru64 will put them in the object
3840   # directory.
3841   mkdir sub
3842
3843   am_cv_CC_dependencies_compiler_type=none
3844   if test "$am_compiler_list" = ""; then
3845      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3846   fi
3847   am__universal=false
3848   case " $depcc " in #(
3849      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3850      esac
3851
3852   for depmode in $am_compiler_list; do
3853     # Setup a source with many dependencies, because some compilers
3854     # like to wrap large dependency lists on column 80 (with \), and
3855     # we should not choose a depcomp mode which is confused by this.
3856     #
3857     # We need to recreate these files for each test, as the compiler may
3858     # overwrite some of them when testing with obscure command lines.
3859     # This happens at least with the AIX C compiler.
3860     : > sub/conftest.c
3861     for i in 1 2 3 4 5 6; do
3862       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3863       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3864       # Solaris 8's {/usr,}/bin/sh.
3865       touch sub/conftst$i.h
3866     done
3867     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3868
3869     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3870     # mode.  It turns out that the SunPro C++ compiler does not properly
3871     # handle `-M -o', and we need to detect this.  Also, some Intel
3872     # versions had trouble with output in subdirs
3873     am__obj=sub/conftest.${OBJEXT-o}
3874     am__minus_obj="-o $am__obj"
3875     case $depmode in
3876     gcc)
3877       # This depmode causes a compiler race in universal mode.
3878       test "$am__universal" = false || continue
3879       ;;
3880     nosideeffect)
3881       # after this tag, mechanisms are not by side-effect, so they'll
3882       # only be used when explicitly requested
3883       if test "x$enable_dependency_tracking" = xyes; then
3884         continue
3885       else
3886         break
3887       fi
3888       ;;
3889     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3890       # This compiler won't grok `-c -o', but also, the minuso test has
3891       # not run yet.  These depmodes are late enough in the game, and
3892       # so weak that their functioning should not be impacted.
3893       am__obj=conftest.${OBJEXT-o}
3894       am__minus_obj=
3895       ;;
3896     none) break ;;
3897     esac
3898     if depmode=$depmode \
3899        source=sub/conftest.c object=$am__obj \
3900        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3901        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3902          >/dev/null 2>conftest.err &&
3903        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3904        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3905        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3906        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3907       # icc doesn't choke on unknown options, it will just issue warnings
3908       # or remarks (even with -Werror).  So we grep stderr for any message
3909       # that says an option was ignored or not supported.
3910       # When given -MP, icc 7.0 and 7.1 complain thusly:
3911       #   icc: Command line warning: ignoring option '-M'; no argument required
3912       # The diagnosis changed in icc 8.0:
3913       #   icc: Command line remark: option '-MP' not supported
3914       if (grep 'ignoring option' conftest.err ||
3915           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3916         am_cv_CC_dependencies_compiler_type=$depmode
3917         break
3918       fi
3919     fi
3920   done
3921
3922   cd ..
3923   rm -rf conftest.dir
3924 else
3925   am_cv_CC_dependencies_compiler_type=none
3926 fi
3927
3928 fi
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3930 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3931 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3932
3933  if
3934   test "x$enable_dependency_tracking" != xno \
3935   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3936   am__fastdepCC_TRUE=
3937   am__fastdepCC_FALSE='#'
3938 else
3939   am__fastdepCC_TRUE='#'
3940   am__fastdepCC_FALSE=
3941 fi
3942
3943
3944 if test "x$CC" != xcc; then
3945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3946 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3947 else
3948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3949 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3950 fi
3951 set dummy $CC; ac_cc=`$as_echo "$2" |
3952                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3953 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3954   $as_echo_n "(cached) " >&6
3955 else
3956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h.  */
3958
3959 int
3960 main ()
3961 {
3962
3963   ;
3964   return 0;
3965 }
3966 _ACEOF
3967 # Make sure it works both with $CC and with simple cc.
3968 # We do the test twice because some compilers refuse to overwrite an
3969 # existing .o file with -o, though they will create one.
3970 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3971 rm -f conftest2.*
3972 if { { case "(($ac_try" in
3973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3974   *) ac_try_echo=$ac_try;;
3975 esac
3976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3977 $as_echo "$ac_try_echo"; } >&5
3978   (eval "$ac_try") 2>&5
3979   ac_status=$?
3980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3981   test $ac_status = 0; } &&
3982    test -f conftest2.$ac_objext && { { case "(($ac_try" in
3983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3984   *) ac_try_echo=$ac_try;;
3985 esac
3986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3987 $as_echo "$ac_try_echo"; } >&5
3988   (eval "$ac_try") 2>&5
3989   ac_status=$?
3990   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3991   test $ac_status = 0; };
3992 then
3993   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3994   if test "x$CC" != xcc; then
3995     # Test first that cc exists at all.
3996     if { ac_try='cc -c conftest.$ac_ext >&5'
3997   { { case "(($ac_try" in
3998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3999   *) ac_try_echo=$ac_try;;
4000 esac
4001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4002 $as_echo "$ac_try_echo"; } >&5
4003   (eval "$ac_try") 2>&5
4004   ac_status=$?
4005   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4006   test $ac_status = 0; }; }; then
4007       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4008       rm -f conftest2.*
4009       if { { case "(($ac_try" in
4010   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4011   *) ac_try_echo=$ac_try;;
4012 esac
4013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4014 $as_echo "$ac_try_echo"; } >&5
4015   (eval "$ac_try") 2>&5
4016   ac_status=$?
4017   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4018   test $ac_status = 0; } &&
4019          test -f conftest2.$ac_objext && { { case "(($ac_try" in
4020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4021   *) ac_try_echo=$ac_try;;
4022 esac
4023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4024 $as_echo "$ac_try_echo"; } >&5
4025   (eval "$ac_try") 2>&5
4026   ac_status=$?
4027   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4028   test $ac_status = 0; };
4029       then
4030         # cc works too.
4031         :
4032       else
4033         # cc exists but doesn't like -o.
4034         eval ac_cv_prog_cc_${ac_cc}_c_o=no
4035       fi
4036     fi
4037   fi
4038 else
4039   eval ac_cv_prog_cc_${ac_cc}_c_o=no
4040 fi
4041 rm -f core conftest*
4042
4043 fi
4044 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4046 $as_echo "yes" >&6; }
4047 else
4048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4049 $as_echo "no" >&6; }
4050
4051 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4052
4053 fi
4054
4055 # FIXME: we rely on the cache variable name because
4056 # there is no other way.
4057 set dummy $CC
4058 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4059 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4060 if test "$am_t" != yes; then
4061    # Losing compiler, so override with the script.
4062    # FIXME: It is wrong to rewrite CC.
4063    # But if we don't then we get into trouble of one sort or another.
4064    # A longer-term fix would be to have automake use am__CC in this case,
4065    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4066    CC="$am_aux_dir/compile $CC"
4067 fi
4068
4069
4070
4071
4072 # Checks for libraries.
4073
4074
4075
4076
4077
4078
4079
4080 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4081         if test -n "$ac_tool_prefix"; then
4082   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4083 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4085 $as_echo_n "checking for $ac_word... " >&6; }
4086 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4087   $as_echo_n "(cached) " >&6
4088 else
4089   case $PKG_CONFIG in
4090   [\\/]* | ?:[\\/]*)
4091   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4092   ;;
4093   *)
4094   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4095 for as_dir in $PATH
4096 do
4097   IFS=$as_save_IFS
4098   test -z "$as_dir" && as_dir=.
4099     for ac_exec_ext in '' $ac_executable_extensions; do
4100   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4101     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4102     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4103     break 2
4104   fi
4105 done
4106   done
4107 IFS=$as_save_IFS
4108
4109   ;;
4110 esac
4111 fi
4112 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4113 if test -n "$PKG_CONFIG"; then
4114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4115 $as_echo "$PKG_CONFIG" >&6; }
4116 else
4117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4118 $as_echo "no" >&6; }
4119 fi
4120
4121
4122 fi
4123 if test -z "$ac_cv_path_PKG_CONFIG"; then
4124   ac_pt_PKG_CONFIG=$PKG_CONFIG
4125   # Extract the first word of "pkg-config", so it can be a program name with args.
4126 set dummy pkg-config; ac_word=$2
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4128 $as_echo_n "checking for $ac_word... " >&6; }
4129 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4130   $as_echo_n "(cached) " >&6
4131 else
4132   case $ac_pt_PKG_CONFIG in
4133   [\\/]* | ?:[\\/]*)
4134   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4135   ;;
4136   *)
4137   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4138 for as_dir in $PATH
4139 do
4140   IFS=$as_save_IFS
4141   test -z "$as_dir" && as_dir=.
4142     for ac_exec_ext in '' $ac_executable_extensions; do
4143   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4144     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4146     break 2
4147   fi
4148 done
4149   done
4150 IFS=$as_save_IFS
4151
4152   ;;
4153 esac
4154 fi
4155 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4156 if test -n "$ac_pt_PKG_CONFIG"; then
4157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4158 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4159 else
4160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4161 $as_echo "no" >&6; }
4162 fi
4163
4164   if test "x$ac_pt_PKG_CONFIG" = x; then
4165     PKG_CONFIG=""
4166   else
4167     case $cross_compiling:$ac_tool_warned in
4168 yes:)
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4171 ac_tool_warned=yes ;;
4172 esac
4173     PKG_CONFIG=$ac_pt_PKG_CONFIG
4174   fi
4175 else
4176   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4177 fi
4178
4179 fi
4180 if test -n "$PKG_CONFIG"; then
4181         _pkg_min_version=0.16
4182         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4183 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4184         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4185                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4186 $as_echo "yes" >&6; }
4187         else
4188                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4189 $as_echo "no" >&6; }
4190                 PKG_CONFIG=""
4191         fi
4192 fi
4193
4194 pkg_failed=no
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
4196 $as_echo_n "checking for DBUS... " >&6; }
4197
4198 if test -n "$DBUS_CFLAGS"; then
4199     pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
4200  elif test -n "$PKG_CONFIG"; then
4201     if test -n "$PKG_CONFIG" && \
4202     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
4203   ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
4204   ac_status=$?
4205   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4206   test $ac_status = 0; }; then
4207   pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
4208                       test "x$?" != "x0" && pkg_failed=yes
4209 else
4210   pkg_failed=yes
4211 fi
4212  else
4213     pkg_failed=untried
4214 fi
4215 if test -n "$DBUS_LIBS"; then
4216     pkg_cv_DBUS_LIBS="$DBUS_LIBS"
4217  elif test -n "$PKG_CONFIG"; then
4218     if test -n "$PKG_CONFIG" && \
4219     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
4220   ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
4221   ac_status=$?
4222   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4223   test $ac_status = 0; }; then
4224   pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
4225                       test "x$?" != "x0" && pkg_failed=yes
4226 else
4227   pkg_failed=yes
4228 fi
4229  else
4230     pkg_failed=untried
4231 fi
4232
4233
4234
4235 if test $pkg_failed = yes; then
4236         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4237 $as_echo "no" >&6; }
4238
4239 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4240         _pkg_short_errors_supported=yes
4241 else
4242         _pkg_short_errors_supported=no
4243 fi
4244         if test $_pkg_short_errors_supported = yes; then
4245                 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1`
4246         else
4247                 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1`
4248         fi
4249         # Put the nasty error message in config.log where it belongs
4250         echo "$DBUS_PKG_ERRORS" >&5
4251
4252         as_fn_error $? "Package requirements (dbus-1) were not met:
4253
4254 $DBUS_PKG_ERRORS
4255
4256 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4257 installed software in a non-standard prefix.
4258
4259 Alternatively, you may set the environment variables DBUS_CFLAGS
4260 and DBUS_LIBS to avoid the need to call pkg-config.
4261 See the pkg-config man page for more details." "$LINENO" 5
4262 elif test $pkg_failed = untried; then
4263         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4264 $as_echo "no" >&6; }
4265         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4267 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
4268 is in your PATH or set the PKG_CONFIG environment variable to the full
4269 path to pkg-config.
4270
4271 Alternatively, you may set the environment variables DBUS_CFLAGS
4272 and DBUS_LIBS to avoid the need to call pkg-config.
4273 See the pkg-config man page for more details.
4274
4275 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4276 See \`config.log' for more details" "$LINENO" 5; }
4277 else
4278         DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
4279         DBUS_LIBS=$pkg_cv_DBUS_LIBS
4280         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4281 $as_echo "yes" >&6; }
4282
4283 fi
4284
4285 pkg_failed=no
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
4287 $as_echo_n "checking for GLIB... " >&6; }
4288
4289 if test -n "$GLIB_CFLAGS"; then
4290     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
4291  elif test -n "$PKG_CONFIG"; then
4292     if test -n "$PKG_CONFIG" && \
4293     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.26.1\""; } >&5
4294   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.26.1") 2>&5
4295   ac_status=$?
4296   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4297   test $ac_status = 0; }; then
4298   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.26.1" 2>/dev/null`
4299                       test "x$?" != "x0" && pkg_failed=yes
4300 else
4301   pkg_failed=yes
4302 fi
4303  else
4304     pkg_failed=untried
4305 fi
4306 if test -n "$GLIB_LIBS"; then
4307     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
4308  elif test -n "$PKG_CONFIG"; then
4309     if test -n "$PKG_CONFIG" && \
4310     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.26.1\""; } >&5
4311   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.26.1") 2>&5
4312   ac_status=$?
4313   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4314   test $ac_status = 0; }; then
4315   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.26.1" 2>/dev/null`
4316                       test "x$?" != "x0" && pkg_failed=yes
4317 else
4318   pkg_failed=yes
4319 fi
4320  else
4321     pkg_failed=untried
4322 fi
4323
4324
4325
4326 if test $pkg_failed = yes; then
4327         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4328 $as_echo "no" >&6; }
4329
4330 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4331         _pkg_short_errors_supported=yes
4332 else
4333         _pkg_short_errors_supported=no
4334 fi
4335         if test $_pkg_short_errors_supported = yes; then
4336                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.26.1" 2>&1`
4337         else
4338                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.26.1" 2>&1`
4339         fi
4340         # Put the nasty error message in config.log where it belongs
4341         echo "$GLIB_PKG_ERRORS" >&5
4342
4343         as_fn_error $? "Package requirements (glib-2.0 >= 2.26.1) were not met:
4344
4345 $GLIB_PKG_ERRORS
4346
4347 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4348 installed software in a non-standard prefix.
4349
4350 Alternatively, you may set the environment variables GLIB_CFLAGS
4351 and GLIB_LIBS to avoid the need to call pkg-config.
4352 See the pkg-config man page for more details." "$LINENO" 5
4353 elif test $pkg_failed = untried; then
4354         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4355 $as_echo "no" >&6; }
4356         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4358 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
4359 is in your PATH or set the PKG_CONFIG environment variable to the full
4360 path to pkg-config.
4361
4362 Alternatively, you may set the environment variables GLIB_CFLAGS
4363 and GLIB_LIBS to avoid the need to call pkg-config.
4364 See the pkg-config man page for more details.
4365
4366 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4367 See \`config.log' for more details" "$LINENO" 5; }
4368 else
4369         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
4370         GLIB_LIBS=$pkg_cv_GLIB_LIBS
4371         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4372 $as_echo "yes" >&6; }
4373
4374 fi
4375
4376 pkg_failed=no
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
4378 $as_echo_n "checking for GIO... " >&6; }
4379
4380 if test -n "$GIO_CFLAGS"; then
4381     pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
4382  elif test -n "$PKG_CONFIG"; then
4383     if test -n "$PKG_CONFIG" && \
4384     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26.1\""; } >&5
4385   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26.1") 2>&5
4386   ac_status=$?
4387   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4388   test $ac_status = 0; }; then
4389   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26.1" 2>/dev/null`
4390                       test "x$?" != "x0" && pkg_failed=yes
4391 else
4392   pkg_failed=yes
4393 fi
4394  else
4395     pkg_failed=untried
4396 fi
4397 if test -n "$GIO_LIBS"; then
4398     pkg_cv_GIO_LIBS="$GIO_LIBS"
4399  elif test -n "$PKG_CONFIG"; then
4400     if test -n "$PKG_CONFIG" && \
4401     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26.1\""; } >&5
4402   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26.1") 2>&5
4403   ac_status=$?
4404   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4405   test $ac_status = 0; }; then
4406   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26.1" 2>/dev/null`
4407                       test "x$?" != "x0" && pkg_failed=yes
4408 else
4409   pkg_failed=yes
4410 fi
4411  else
4412     pkg_failed=untried
4413 fi
4414
4415
4416
4417 if test $pkg_failed = yes; then
4418         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4419 $as_echo "no" >&6; }
4420
4421 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4422         _pkg_short_errors_supported=yes
4423 else
4424         _pkg_short_errors_supported=no
4425 fi
4426         if test $_pkg_short_errors_supported = yes; then
4427                 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26.1" 2>&1`
4428         else
4429                 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26.1" 2>&1`
4430         fi
4431         # Put the nasty error message in config.log where it belongs
4432         echo "$GIO_PKG_ERRORS" >&5
4433
4434         as_fn_error $? "Package requirements (gio-2.0 >= 2.26.1) were not met:
4435
4436 $GIO_PKG_ERRORS
4437
4438 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4439 installed software in a non-standard prefix.
4440
4441 Alternatively, you may set the environment variables GIO_CFLAGS
4442 and GIO_LIBS to avoid the need to call pkg-config.
4443 See the pkg-config man page for more details." "$LINENO" 5
4444 elif test $pkg_failed = untried; then
4445         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446 $as_echo "no" >&6; }
4447         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4449 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
4450 is in your PATH or set the PKG_CONFIG environment variable to the full
4451 path to pkg-config.
4452
4453 Alternatively, you may set the environment variables GIO_CFLAGS
4454 and GIO_LIBS to avoid the need to call pkg-config.
4455 See the pkg-config man page for more details.
4456
4457 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4458 See \`config.log' for more details" "$LINENO" 5; }
4459 else
4460         GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
4461         GIO_LIBS=$pkg_cv_GIO_LIBS
4462         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4463 $as_echo "yes" >&6; }
4464
4465 fi
4466
4467 pkg_failed=no
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSSDP" >&5
4469 $as_echo_n "checking for GSSDP... " >&6; }
4470
4471 if test -n "$GSSDP_CFLAGS"; then
4472     pkg_cv_GSSDP_CFLAGS="$GSSDP_CFLAGS"
4473  elif test -n "$PKG_CONFIG"; then
4474     if test -n "$PKG_CONFIG" && \
4475     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= 0.13.0\""; } >&5
4476   ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= 0.13.0") 2>&5
4477   ac_status=$?
4478   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4479   test $ac_status = 0; }; then
4480   pkg_cv_GSSDP_CFLAGS=`$PKG_CONFIG --cflags "gssdp-1.0 >= 0.13.0" 2>/dev/null`
4481                       test "x$?" != "x0" && pkg_failed=yes
4482 else
4483   pkg_failed=yes
4484 fi
4485  else
4486     pkg_failed=untried
4487 fi
4488 if test -n "$GSSDP_LIBS"; then
4489     pkg_cv_GSSDP_LIBS="$GSSDP_LIBS"
4490  elif test -n "$PKG_CONFIG"; then
4491     if test -n "$PKG_CONFIG" && \
4492     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= 0.13.0\""; } >&5
4493   ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= 0.13.0") 2>&5
4494   ac_status=$?
4495   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4496   test $ac_status = 0; }; then
4497   pkg_cv_GSSDP_LIBS=`$PKG_CONFIG --libs "gssdp-1.0 >= 0.13.0" 2>/dev/null`
4498                       test "x$?" != "x0" && pkg_failed=yes
4499 else
4500   pkg_failed=yes
4501 fi
4502  else
4503     pkg_failed=untried
4504 fi
4505
4506
4507
4508 if test $pkg_failed = yes; then
4509         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4510 $as_echo "no" >&6; }
4511
4512 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4513         _pkg_short_errors_supported=yes
4514 else
4515         _pkg_short_errors_supported=no
4516 fi
4517         if test $_pkg_short_errors_supported = yes; then
4518                 GSSDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gssdp-1.0 >= 0.13.0" 2>&1`
4519         else
4520                 GSSDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gssdp-1.0 >= 0.13.0" 2>&1`
4521         fi
4522         # Put the nasty error message in config.log where it belongs
4523         echo "$GSSDP_PKG_ERRORS" >&5
4524
4525         as_fn_error $? "Package requirements (gssdp-1.0 >= 0.13.0) were not met:
4526
4527 $GSSDP_PKG_ERRORS
4528
4529 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4530 installed software in a non-standard prefix.
4531
4532 Alternatively, you may set the environment variables GSSDP_CFLAGS
4533 and GSSDP_LIBS to avoid the need to call pkg-config.
4534 See the pkg-config man page for more details." "$LINENO" 5
4535 elif test $pkg_failed = untried; then
4536         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4537 $as_echo "no" >&6; }
4538         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4540 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
4541 is in your PATH or set the PKG_CONFIG environment variable to the full
4542 path to pkg-config.
4543
4544 Alternatively, you may set the environment variables GSSDP_CFLAGS
4545 and GSSDP_LIBS to avoid the need to call pkg-config.
4546 See the pkg-config man page for more details.
4547
4548 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4549 See \`config.log' for more details" "$LINENO" 5; }
4550 else
4551         GSSDP_CFLAGS=$pkg_cv_GSSDP_CFLAGS
4552         GSSDP_LIBS=$pkg_cv_GSSDP_LIBS
4553         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4554 $as_echo "yes" >&6; }
4555
4556 fi
4557
4558 pkg_failed=no
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNP" >&5
4560 $as_echo_n "checking for GUPNP... " >&6; }
4561
4562 if test -n "$GUPNP_CFLAGS"; then
4563     pkg_cv_GUPNP_CFLAGS="$GUPNP_CFLAGS"
4564  elif test -n "$PKG_CONFIG"; then
4565     if test -n "$PKG_CONFIG" && \
4566     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.19.0\""; } >&5
4567   ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.19.0") 2>&5
4568   ac_status=$?
4569   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4570   test $ac_status = 0; }; then
4571   pkg_cv_GUPNP_CFLAGS=`$PKG_CONFIG --cflags "gupnp-1.0 >= 0.19.0" 2>/dev/null`
4572                       test "x$?" != "x0" && pkg_failed=yes
4573 else
4574   pkg_failed=yes
4575 fi
4576  else
4577     pkg_failed=untried
4578 fi
4579 if test -n "$GUPNP_LIBS"; then
4580     pkg_cv_GUPNP_LIBS="$GUPNP_LIBS"
4581  elif test -n "$PKG_CONFIG"; then
4582     if test -n "$PKG_CONFIG" && \
4583     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.19.0\""; } >&5
4584   ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.19.0") 2>&5
4585   ac_status=$?
4586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4587   test $ac_status = 0; }; then
4588   pkg_cv_GUPNP_LIBS=`$PKG_CONFIG --libs "gupnp-1.0 >= 0.19.0" 2>/dev/null`
4589                       test "x$?" != "x0" && pkg_failed=yes
4590 else
4591   pkg_failed=yes
4592 fi
4593  else
4594     pkg_failed=untried
4595 fi
4596
4597
4598
4599 if test $pkg_failed = yes; then
4600         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4601 $as_echo "no" >&6; }
4602
4603 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4604         _pkg_short_errors_supported=yes
4605 else
4606         _pkg_short_errors_supported=no
4607 fi
4608         if test $_pkg_short_errors_supported = yes; then
4609                 GUPNP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-1.0 >= 0.19.0" 2>&1`
4610         else
4611                 GUPNP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-1.0 >= 0.19.0" 2>&1`
4612         fi
4613         # Put the nasty error message in config.log where it belongs
4614         echo "$GUPNP_PKG_ERRORS" >&5
4615
4616         as_fn_error $? "Package requirements (gupnp-1.0 >= 0.19.0) were not met:
4617
4618 $GUPNP_PKG_ERRORS
4619
4620 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4621 installed software in a non-standard prefix.
4622
4623 Alternatively, you may set the environment variables GUPNP_CFLAGS
4624 and GUPNP_LIBS to avoid the need to call pkg-config.
4625 See the pkg-config man page for more details." "$LINENO" 5
4626 elif test $pkg_failed = untried; then
4627         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4628 $as_echo "no" >&6; }
4629         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4631 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
4632 is in your PATH or set the PKG_CONFIG environment variable to the full
4633 path to pkg-config.
4634
4635 Alternatively, you may set the environment variables GUPNP_CFLAGS
4636 and GUPNP_LIBS to avoid the need to call pkg-config.
4637 See the pkg-config man page for more details.
4638
4639 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4640 See \`config.log' for more details" "$LINENO" 5; }
4641 else
4642         GUPNP_CFLAGS=$pkg_cv_GUPNP_CFLAGS
4643         GUPNP_LIBS=$pkg_cv_GUPNP_LIBS
4644         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4645 $as_echo "yes" >&6; }
4646
4647 fi
4648
4649 pkg_failed=no
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNPAV" >&5
4651 $as_echo_n "checking for GUPNPAV... " >&6; }
4652
4653 if test -n "$GUPNPAV_CFLAGS"; then
4654     pkg_cv_GUPNPAV_CFLAGS="$GUPNPAV_CFLAGS"
4655  elif test -n "$PKG_CONFIG"; then
4656     if test -n "$PKG_CONFIG" && \
4657     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= 0.11.0\""; } >&5
4658   ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= 0.11.0") 2>&5
4659   ac_status=$?
4660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4661   test $ac_status = 0; }; then
4662   pkg_cv_GUPNPAV_CFLAGS=`$PKG_CONFIG --cflags "gupnp-av-1.0 >= 0.11.0" 2>/dev/null`
4663                       test "x$?" != "x0" && pkg_failed=yes
4664 else
4665   pkg_failed=yes
4666 fi
4667  else
4668     pkg_failed=untried
4669 fi
4670 if test -n "$GUPNPAV_LIBS"; then
4671     pkg_cv_GUPNPAV_LIBS="$GUPNPAV_LIBS"
4672  elif test -n "$PKG_CONFIG"; then
4673     if test -n "$PKG_CONFIG" && \
4674     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= 0.11.0\""; } >&5
4675   ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= 0.11.0") 2>&5
4676   ac_status=$?
4677   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4678   test $ac_status = 0; }; then
4679   pkg_cv_GUPNPAV_LIBS=`$PKG_CONFIG --libs "gupnp-av-1.0 >= 0.11.0" 2>/dev/null`
4680                       test "x$?" != "x0" && pkg_failed=yes
4681 else
4682   pkg_failed=yes
4683 fi
4684  else
4685     pkg_failed=untried
4686 fi
4687
4688
4689
4690 if test $pkg_failed = yes; then
4691         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4692 $as_echo "no" >&6; }
4693
4694 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4695         _pkg_short_errors_supported=yes
4696 else
4697         _pkg_short_errors_supported=no
4698 fi
4699         if test $_pkg_short_errors_supported = yes; then
4700                 GUPNPAV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-av-1.0 >= 0.11.0" 2>&1`
4701         else
4702                 GUPNPAV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-av-1.0 >= 0.11.0" 2>&1`
4703         fi
4704         # Put the nasty error message in config.log where it belongs
4705         echo "$GUPNPAV_PKG_ERRORS" >&5
4706
4707         as_fn_error $? "Package requirements (gupnp-av-1.0 >= 0.11.0) were not met:
4708
4709 $GUPNPAV_PKG_ERRORS
4710
4711 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4712 installed software in a non-standard prefix.
4713
4714 Alternatively, you may set the environment variables GUPNPAV_CFLAGS
4715 and GUPNPAV_LIBS to avoid the need to call pkg-config.
4716 See the pkg-config man page for more details." "$LINENO" 5
4717 elif test $pkg_failed = untried; then
4718         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719 $as_echo "no" >&6; }
4720         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4722 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
4723 is in your PATH or set the PKG_CONFIG environment variable to the full
4724 path to pkg-config.
4725
4726 Alternatively, you may set the environment variables GUPNPAV_CFLAGS
4727 and GUPNPAV_LIBS to avoid the need to call pkg-config.
4728 See the pkg-config man page for more details.
4729
4730 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4731 See \`config.log' for more details" "$LINENO" 5; }
4732 else
4733         GUPNPAV_CFLAGS=$pkg_cv_GUPNPAV_CFLAGS
4734         GUPNPAV_LIBS=$pkg_cv_GUPNPAV_LIBS
4735         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4736 $as_echo "yes" >&6; }
4737
4738 fi
4739
4740 pkg_failed=no
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
4742 $as_echo_n "checking for SOUP... " >&6; }
4743
4744 if test -n "$SOUP_CFLAGS"; then
4745     pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
4746  elif test -n "$PKG_CONFIG"; then
4747     if test -n "$PKG_CONFIG" && \
4748     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.28.2\""; } >&5
4749   ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.28.2") 2>&5
4750   ac_status=$?
4751   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4752   test $ac_status = 0; }; then
4753   pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.28.2" 2>/dev/null`
4754                       test "x$?" != "x0" && pkg_failed=yes
4755 else
4756   pkg_failed=yes
4757 fi
4758  else
4759     pkg_failed=untried
4760 fi
4761 if test -n "$SOUP_LIBS"; then
4762     pkg_cv_SOUP_LIBS="$SOUP_LIBS"
4763  elif test -n "$PKG_CONFIG"; then
4764     if test -n "$PKG_CONFIG" && \
4765     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.28.2\""; } >&5
4766   ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.28.2") 2>&5
4767   ac_status=$?
4768   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4769   test $ac_status = 0; }; then
4770   pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.28.2" 2>/dev/null`
4771                       test "x$?" != "x0" && pkg_failed=yes
4772 else
4773   pkg_failed=yes
4774 fi
4775  else
4776     pkg_failed=untried
4777 fi
4778
4779
4780
4781 if test $pkg_failed = yes; then
4782         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783 $as_echo "no" >&6; }
4784
4785 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4786         _pkg_short_errors_supported=yes
4787 else
4788         _pkg_short_errors_supported=no
4789 fi
4790         if test $_pkg_short_errors_supported = yes; then
4791                 SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= 2.28.2" 2>&1`
4792         else
4793                 SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= 2.28.2" 2>&1`
4794         fi
4795         # Put the nasty error message in config.log where it belongs
4796         echo "$SOUP_PKG_ERRORS" >&5
4797
4798         as_fn_error $? "Package requirements (libsoup-2.4 >= 2.28.2) were not met:
4799
4800 $SOUP_PKG_ERRORS
4801
4802 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4803 installed software in a non-standard prefix.
4804
4805 Alternatively, you may set the environment variables SOUP_CFLAGS
4806 and SOUP_LIBS to avoid the need to call pkg-config.
4807 See the pkg-config man page for more details." "$LINENO" 5
4808 elif test $pkg_failed = untried; then
4809         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4810 $as_echo "no" >&6; }
4811         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4813 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
4814 is in your PATH or set the PKG_CONFIG environment variable to the full
4815 path to pkg-config.
4816
4817 Alternatively, you may set the environment variables SOUP_CFLAGS
4818 and SOUP_LIBS to avoid the need to call pkg-config.
4819 See the pkg-config man page for more details.
4820
4821 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4822 See \`config.log' for more details" "$LINENO" 5; }
4823 else
4824         SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
4825         SOUP_LIBS=$pkg_cv_SOUP_LIBS
4826         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4827 $as_echo "yes" >&6; }
4828
4829 fi
4830
4831 # Checks for header files.
4832
4833 ac_ext=c
4834 ac_cpp='$CPP $CPPFLAGS'
4835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4839 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4840 # On Suns, sometimes $CPP names a directory.
4841 if test -n "$CPP" && test -d "$CPP"; then
4842   CPP=
4843 fi
4844 if test -z "$CPP"; then
4845   if ${ac_cv_prog_CPP+:} false; then :
4846   $as_echo_n "(cached) " >&6
4847 else
4848       # Double quotes because CPP needs to be expanded
4849     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4850     do
4851       ac_preproc_ok=false
4852 for ac_c_preproc_warn_flag in '' yes
4853 do
4854   # Use a header file that comes with gcc, so configuring glibc
4855   # with a fresh cross-compiler works.
4856   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4857   # <limits.h> exists even on freestanding compilers.
4858   # On the NeXT, cc -E runs the code through the compiler's parser,
4859   # not just through cpp. "Syntax error" is here to catch this case.
4860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4861 /* end confdefs.h.  */
4862 #ifdef __STDC__
4863 # include <limits.h>
4864 #else
4865 # include <assert.h>
4866 #endif
4867                      Syntax error
4868 _ACEOF
4869 if ac_fn_c_try_cpp "$LINENO"; then :
4870
4871 else
4872   # Broken: fails on valid input.
4873 continue
4874 fi
4875 rm -f conftest.err conftest.i conftest.$ac_ext
4876
4877   # OK, works on sane cases.  Now check whether nonexistent headers
4878   # can be detected and how.
4879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4880 /* end confdefs.h.  */
4881 #include <ac_nonexistent.h>
4882 _ACEOF
4883 if ac_fn_c_try_cpp "$LINENO"; then :
4884   # Broken: success on invalid input.
4885 continue
4886 else
4887   # Passes both tests.
4888 ac_preproc_ok=:
4889 break
4890 fi
4891 rm -f conftest.err conftest.i conftest.$ac_ext
4892
4893 done
4894 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4895 rm -f conftest.i conftest.err conftest.$ac_ext
4896 if $ac_preproc_ok; then :
4897   break
4898 fi
4899
4900     done
4901     ac_cv_prog_CPP=$CPP
4902
4903 fi
4904   CPP=$ac_cv_prog_CPP
4905 else
4906   ac_cv_prog_CPP=$CPP
4907 fi
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4909 $as_echo "$CPP" >&6; }
4910 ac_preproc_ok=false
4911 for ac_c_preproc_warn_flag in '' yes
4912 do
4913   # Use a header file that comes with gcc, so configuring glibc
4914   # with a fresh cross-compiler works.
4915   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4916   # <limits.h> exists even on freestanding compilers.
4917   # On the NeXT, cc -E runs the code through the compiler's parser,
4918   # not just through cpp. "Syntax error" is here to catch this case.
4919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4920 /* end confdefs.h.  */
4921 #ifdef __STDC__
4922 # include <limits.h>
4923 #else
4924 # include <assert.h>
4925 #endif
4926                      Syntax error
4927 _ACEOF
4928 if ac_fn_c_try_cpp "$LINENO"; then :
4929
4930 else
4931   # Broken: fails on valid input.
4932 continue
4933 fi
4934 rm -f conftest.err conftest.i conftest.$ac_ext
4935
4936   # OK, works on sane cases.  Now check whether nonexistent headers
4937   # can be detected and how.
4938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4939 /* end confdefs.h.  */
4940 #include <ac_nonexistent.h>
4941 _ACEOF
4942 if ac_fn_c_try_cpp "$LINENO"; then :
4943   # Broken: success on invalid input.
4944 continue
4945 else
4946   # Passes both tests.
4947 ac_preproc_ok=:
4948 break
4949 fi
4950 rm -f conftest.err conftest.i conftest.$ac_ext
4951
4952 done
4953 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4954 rm -f conftest.i conftest.err conftest.$ac_ext
4955 if $ac_preproc_ok; then :
4956
4957 else
4958   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4960 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4961 See \`config.log' for more details" "$LINENO" 5; }
4962 fi
4963
4964 ac_ext=c
4965 ac_cpp='$CPP $CPPFLAGS'
4966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4969
4970
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4972 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4973 if ${ac_cv_path_GREP+:} false; then :
4974   $as_echo_n "(cached) " >&6
4975 else
4976   if test -z "$GREP"; then
4977   ac_path_GREP_found=false
4978   # Loop through the user's path and test for each of PROGNAME-LIST
4979   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4981 do
4982   IFS=$as_save_IFS
4983   test -z "$as_dir" && as_dir=.
4984     for ac_prog in grep ggrep; do
4985     for ac_exec_ext in '' $ac_executable_extensions; do
4986       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4987       as_fn_executable_p "$ac_path_GREP" || continue
4988 # Check for GNU ac_path_GREP and select it if it is found.
4989   # Check for GNU $ac_path_GREP
4990 case `"$ac_path_GREP" --version 2>&1` in
4991 *GNU*)
4992   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4993 *)
4994   ac_count=0
4995   $as_echo_n 0123456789 >"conftest.in"
4996   while :
4997   do
4998     cat "conftest.in" "conftest.in" >"conftest.tmp"
4999     mv "conftest.tmp" "conftest.in"
5000     cp "conftest.in" "conftest.nl"
5001     $as_echo 'GREP' >> "conftest.nl"
5002     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5003     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5004     as_fn_arith $ac_count + 1 && ac_count=$as_val
5005     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5006       # Best one so far, save it but keep looking for a better one
5007       ac_cv_path_GREP="$ac_path_GREP"
5008       ac_path_GREP_max=$ac_count
5009     fi
5010     # 10*(2^10) chars as input seems more than enough
5011     test $ac_count -gt 10 && break
5012   done
5013   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5014 esac
5015
5016       $ac_path_GREP_found && break 3
5017     done
5018   done
5019   done
5020 IFS=$as_save_IFS
5021   if test -z "$ac_cv_path_GREP"; then
5022     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5023   fi
5024 else
5025   ac_cv_path_GREP=$GREP
5026 fi
5027
5028 fi
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5030 $as_echo "$ac_cv_path_GREP" >&6; }
5031  GREP="$ac_cv_path_GREP"
5032
5033
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5035 $as_echo_n "checking for egrep... " >&6; }
5036 if ${ac_cv_path_EGREP+:} false; then :
5037   $as_echo_n "(cached) " >&6
5038 else
5039   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5040    then ac_cv_path_EGREP="$GREP -E"
5041    else
5042      if test -z "$EGREP"; then
5043   ac_path_EGREP_found=false
5044   # Loop through the user's path and test for each of PROGNAME-LIST
5045   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5047 do
5048   IFS=$as_save_IFS
5049   test -z "$as_dir" && as_dir=.
5050     for ac_prog in egrep; do
5051     for ac_exec_ext in '' $ac_executable_extensions; do
5052       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5053       as_fn_executable_p "$ac_path_EGREP" || continue
5054 # Check for GNU ac_path_EGREP and select it if it is found.
5055   # Check for GNU $ac_path_EGREP
5056 case `"$ac_path_EGREP" --version 2>&1` in
5057 *GNU*)
5058   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5059 *)
5060   ac_count=0
5061   $as_echo_n 0123456789 >"conftest.in"
5062   while :
5063   do
5064     cat "conftest.in" "conftest.in" >"conftest.tmp"
5065     mv "conftest.tmp" "conftest.in"
5066     cp "conftest.in" "conftest.nl"
5067     $as_echo 'EGREP' >> "conftest.nl"
5068     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5069     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5070     as_fn_arith $ac_count + 1 && ac_count=$as_val
5071     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5072       # Best one so far, save it but keep looking for a better one
5073       ac_cv_path_EGREP="$ac_path_EGREP"
5074       ac_path_EGREP_max=$ac_count
5075     fi
5076     # 10*(2^10) chars as input seems more than enough
5077     test $ac_count -gt 10 && break
5078   done
5079   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5080 esac
5081
5082       $ac_path_EGREP_found && break 3
5083     done
5084   done
5085   done
5086 IFS=$as_save_IFS
5087   if test -z "$ac_cv_path_EGREP"; then
5088     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5089   fi
5090 else
5091   ac_cv_path_EGREP=$EGREP
5092 fi
5093
5094    fi
5095 fi
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5097 $as_echo "$ac_cv_path_EGREP" >&6; }
5098  EGREP="$ac_cv_path_EGREP"
5099
5100
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5102 $as_echo_n "checking for ANSI C header files... " >&6; }
5103 if ${ac_cv_header_stdc+:} false; then :
5104   $as_echo_n "(cached) " >&6
5105 else
5106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5107 /* end confdefs.h.  */
5108 #include <stdlib.h>
5109 #include <stdarg.h>
5110 #include <string.h>
5111 #include <float.h>
5112
5113 int
5114 main ()
5115 {
5116
5117   ;
5118   return 0;
5119 }
5120 _ACEOF
5121 if ac_fn_c_try_compile "$LINENO"; then :
5122   ac_cv_header_stdc=yes
5123 else
5124   ac_cv_header_stdc=no
5125 fi
5126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5127
5128 if test $ac_cv_header_stdc = yes; then
5129   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5131 /* end confdefs.h.  */
5132 #include <string.h>
5133
5134 _ACEOF
5135 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5136   $EGREP "memchr" >/dev/null 2>&1; then :
5137
5138 else
5139   ac_cv_header_stdc=no
5140 fi
5141 rm -f conftest*
5142
5143 fi
5144
5145 if test $ac_cv_header_stdc = yes; then
5146   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5148 /* end confdefs.h.  */
5149 #include <stdlib.h>
5150
5151 _ACEOF
5152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5153   $EGREP "free" >/dev/null 2>&1; then :
5154
5155 else
5156   ac_cv_header_stdc=no
5157 fi
5158 rm -f conftest*
5159
5160 fi
5161
5162 if test $ac_cv_header_stdc = yes; then
5163   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5164   if test "$cross_compiling" = yes; then :
5165   :
5166 else
5167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5168 /* end confdefs.h.  */
5169 #include <ctype.h>
5170 #include <stdlib.h>
5171 #if ((' ' & 0x0FF) == 0x020)
5172 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5173 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5174 #else
5175 # define ISLOWER(c) \
5176                    (('a' <= (c) && (c) <= 'i') \
5177                      || ('j' <= (c) && (c) <= 'r') \
5178                      || ('s' <= (c) && (c) <= 'z'))
5179 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5180 #endif
5181
5182 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5183 int
5184 main ()
5185 {
5186   int i;
5187   for (i = 0; i < 256; i++)
5188     if (XOR (islower (i), ISLOWER (i))
5189         || toupper (i) != TOUPPER (i))
5190       return 2;
5191   return 0;
5192 }
5193 _ACEOF
5194 if ac_fn_c_try_run "$LINENO"; then :
5195
5196 else
5197   ac_cv_header_stdc=no
5198 fi
5199 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5200   conftest.$ac_objext conftest.beam conftest.$ac_ext
5201 fi
5202
5203 fi
5204 fi
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5206 $as_echo "$ac_cv_header_stdc" >&6; }
5207 if test $ac_cv_header_stdc = yes; then
5208
5209 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5210
5211 fi
5212
5213 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5214 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5215                   inttypes.h stdint.h unistd.h
5216 do :
5217   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5218 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5219 "
5220 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5221   cat >>confdefs.h <<_ACEOF
5222 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5223 _ACEOF
5224
5225 fi
5226
5227 done
5228
5229
5230 for ac_header in stdlib.h string.h syslog.h
5231 do :
5232   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5233 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5234 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5235   cat >>confdefs.h <<_ACEOF
5236 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5237 _ACEOF
5238
5239 fi
5240
5241 done
5242
5243
5244 # Checks for typedefs, structures, and compiler characteristics.
5245 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
5246 case $ac_cv_c_uint8_t in #(
5247   no|yes) ;; #(
5248   *)
5249
5250 $as_echo "#define _UINT8_T 1" >>confdefs.h
5251
5252
5253 cat >>confdefs.h <<_ACEOF
5254 #define uint8_t $ac_cv_c_uint8_t
5255 _ACEOF
5256 ;;
5257   esac
5258
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5260 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5261 if ${ac_cv_header_stdbool_h+:} false; then :
5262   $as_echo_n "(cached) " >&6
5263 else
5264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5265 /* end confdefs.h.  */
5266
5267              #include <stdbool.h>
5268              #ifndef bool
5269               "error: bool is not defined"
5270              #endif
5271              #ifndef false
5272               "error: false is not defined"
5273              #endif
5274              #if false
5275               "error: false is not 0"
5276              #endif
5277              #ifndef true
5278               "error: true is not defined"
5279              #endif
5280              #if true != 1
5281               "error: true is not 1"
5282              #endif
5283              #ifndef __bool_true_false_are_defined
5284               "error: __bool_true_false_are_defined is not defined"
5285              #endif
5286
5287              struct s { _Bool s: 1; _Bool t; } s;
5288
5289              char a[true == 1 ? 1 : -1];
5290              char b[false == 0 ? 1 : -1];
5291              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5292              char d[(bool) 0.5 == true ? 1 : -1];
5293              /* See body of main program for 'e'.  */
5294              char f[(_Bool) 0.0 == false ? 1 : -1];
5295              char g[true];
5296              char h[sizeof (_Bool)];
5297              char i[sizeof s.t];
5298              enum { j = false, k = true, l = false * true, m = true * 256 };
5299              /* The following fails for
5300                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5301              _Bool n[m];
5302              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5303              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5304              /* Catch a bug in an HP-UX C compiler.  See
5305                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5306                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5307               */
5308              _Bool q = true;
5309              _Bool *pq = &q;
5310
5311 int
5312 main ()
5313 {
5314
5315              bool e = &s;
5316              *pq |= q;
5317              *pq |= ! q;
5318              /* Refer to every declared value, to avoid compiler optimizations.  */
5319              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5320                      + !m + !n + !o + !p + !q + !pq);
5321
5322   ;
5323   return 0;
5324 }
5325 _ACEOF
5326 if ac_fn_c_try_compile "$LINENO"; then :
5327   ac_cv_header_stdbool_h=yes
5328 else
5329   ac_cv_header_stdbool_h=no
5330 fi
5331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5332 fi
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5334 $as_echo "$ac_cv_header_stdbool_h" >&6; }
5335    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5336 if test "x$ac_cv_type__Bool" = xyes; then :
5337
5338 cat >>confdefs.h <<_ACEOF
5339 #define HAVE__BOOL 1
5340 _ACEOF
5341
5342
5343 fi
5344
5345
5346 if test $ac_cv_header_stdbool_h = yes; then
5347
5348 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
5349
5350 fi
5351
5352 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5353 if test "x$ac_cv_type_size_t" = xyes; then :
5354
5355 else
5356
5357 cat >>confdefs.h <<_ACEOF
5358 #define size_t unsigned int
5359 _ACEOF
5360
5361 fi
5362
5363
5364 # Checks for library functions.
5365 for ac_header in stdlib.h
5366 do :
5367   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5368 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5369   cat >>confdefs.h <<_ACEOF
5370 #define HAVE_STDLIB_H 1
5371 _ACEOF
5372
5373 fi
5374
5375 done
5376
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5378 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5379 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
5380   $as_echo_n "(cached) " >&6
5381 else
5382   if test "$cross_compiling" = yes; then :
5383   ac_cv_func_malloc_0_nonnull=no
5384 else
5385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5386 /* end confdefs.h.  */
5387 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5388 # include <stdlib.h>
5389 #else
5390 char *malloc ();
5391 #endif
5392
5393 int
5394 main ()
5395 {
5396 return ! malloc (0);
5397   ;
5398   return 0;
5399 }
5400 _ACEOF
5401 if ac_fn_c_try_run "$LINENO"; then :
5402   ac_cv_func_malloc_0_nonnull=yes
5403 else
5404   ac_cv_func_malloc_0_nonnull=no
5405 fi
5406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5407   conftest.$ac_objext conftest.beam conftest.$ac_ext
5408 fi
5409
5410 fi
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5412 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5413 if test $ac_cv_func_malloc_0_nonnull = yes; then :
5414
5415 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5416
5417 else
5418   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5419
5420    case " $LIBOBJS " in
5421   *" malloc.$ac_objext "* ) ;;
5422   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5423  ;;
5424 esac
5425
5426
5427 $as_echo "#define malloc rpl_malloc" >>confdefs.h
5428
5429 fi
5430
5431
5432 for ac_header in stdlib.h
5433 do :
5434   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5435 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5436   cat >>confdefs.h <<_ACEOF
5437 #define HAVE_STDLIB_H 1
5438 _ACEOF
5439
5440 fi
5441
5442 done
5443
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
5445 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
5446 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
5447   $as_echo_n "(cached) " >&6
5448 else
5449   if test "$cross_compiling" = yes; then :
5450   ac_cv_func_realloc_0_nonnull=no
5451 else
5452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h.  */
5454 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5455 # include <stdlib.h>
5456 #else
5457 char *realloc ();
5458 #endif
5459
5460 int
5461 main ()
5462 {
5463 return ! realloc (0, 0);
5464   ;
5465   return 0;
5466 }
5467 _ACEOF
5468 if ac_fn_c_try_run "$LINENO"; then :
5469   ac_cv_func_realloc_0_nonnull=yes
5470 else
5471   ac_cv_func_realloc_0_nonnull=no
5472 fi
5473 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5474   conftest.$ac_objext conftest.beam conftest.$ac_ext
5475 fi
5476
5477 fi
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
5479 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
5480 if test $ac_cv_func_realloc_0_nonnull = yes; then :
5481
5482 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
5483
5484 else
5485   $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
5486
5487    case " $LIBOBJS " in
5488   *" realloc.$ac_objext "* ) ;;
5489   *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
5490  ;;
5491 esac
5492
5493
5494 $as_echo "#define realloc rpl_realloc" >>confdefs.h
5495
5496 fi
5497
5498
5499 for ac_func in memset strchr strrchr strstr
5500 do :
5501   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5502 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5503 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5504   cat >>confdefs.h <<_ACEOF
5505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5506 _ACEOF
5507
5508 fi
5509 done
5510
5511
5512 # Define Log Level values
5513 LOG_LEVEL_0=0x00
5514 LOG_LEVEL_1=0x01
5515 LOG_LEVEL_2=0x02
5516 LOG_LEVEL_3=0x04
5517 LOG_LEVEL_4=0x08
5518 LOG_LEVEL_5=0x10
5519 LOG_LEVEL_6=0x20
5520 LOG_LEVEL_7=0x13
5521 LOG_LEVEL_8=0x3F
5522
5523
5524 cat >>confdefs.h <<_ACEOF
5525 #define RSU_LOG_LEVEL_DISABLED ${LOG_LEVEL_0}
5526 _ACEOF
5527
5528
5529 cat >>confdefs.h <<_ACEOF
5530 #define RSU_LOG_LEVEL_ERROR ${LOG_LEVEL_1}
5531 _ACEOF
5532
5533
5534 cat >>confdefs.h <<_ACEOF
5535 #define RSU_LOG_LEVEL_CRITICAL ${LOG_LEVEL_2}
5536 _ACEOF
5537
5538
5539 cat >>confdefs.h <<_ACEOF
5540 #define RSU_LOG_LEVEL_WARNING ${LOG_LEVEL_3}
5541 _ACEOF
5542
5543
5544 cat >>confdefs.h <<_ACEOF
5545 #define RSU_LOG_LEVEL_MESSAGE ${LOG_LEVEL_4}
5546 _ACEOF
5547
5548
5549 cat >>confdefs.h <<_ACEOF
5550 #define RSU_LOG_LEVEL_INFO ${LOG_LEVEL_5}
5551 _ACEOF
5552
5553
5554 cat >>confdefs.h <<_ACEOF
5555 #define RSU_LOG_LEVEL_DEBUG ${LOG_LEVEL_6}
5556 _ACEOF
5557
5558
5559 cat >>confdefs.h <<_ACEOF
5560 #define RSU_LOG_LEVEL_DEFAULT ${LOG_LEVEL_7}
5561 _ACEOF
5562
5563
5564 cat >>confdefs.h <<_ACEOF
5565 #define RSU_LOG_LEVEL_ALL ${LOG_LEVEL_8}
5566 _ACEOF
5567
5568
5569
5570 # Check whether --enable-debug was given.
5571 if test "${enable_debug+set}" = set; then :
5572   enableval=$enable_debug;
5573 else
5574   enable_debug=no
5575 fi
5576
5577
5578 case "${enable_debug}" in #(
5579   yes) :
5580         CFLAGS="$CFLAGS -g";
5581
5582 cat >>confdefs.h <<_ACEOF
5583 #define RSU_DEBUG_ENABLED 1
5584 _ACEOF
5585
5586                  ;; #(
5587   no) :
5588      ;; #(
5589   *) :
5590     as_fn_error $? "bad value ${enable_debug} for --enable-debug" "$LINENO" 5 ;;
5591 esac
5592
5593
5594 # Check whether --enable-werror was given.
5595 if test "${enable_werror+set}" = set; then :
5596   enableval=$enable_werror;
5597 else
5598   enable_werror=no
5599 fi
5600
5601
5602 case "${enable_werror}" in #(
5603   yes) :
5604     CFLAGS="$CFLAGS -Werror" ;; #(
5605   no) :
5606      ;; #(
5607   *) :
5608     as_fn_error $? "bad value ${enable_werror} for --enable-werror" "$LINENO" 5 ;;
5609 esac
5610
5611
5612 # Check whether --enable-optimization was given.
5613 if test "${enable_optimization+set}" = set; then :
5614   enableval=$enable_optimization;
5615 else
5616   enable_optimization=yes
5617 fi
5618
5619
5620 case "${enable_optimization}" in #(
5621   yes) :
5622     disable_optimization=no ;; #(
5623   no) :
5624     CFLAGS="$CFLAGS -O0"; disable_optimization=yes ;; #(
5625   *) :
5626     as_fn_error $? "bad value ${enable_optimization} for --enable-werror" "$LINENO" 5 ;;
5627 esac
5628
5629
5630 # Check whether --enable-never-quit was given.
5631 if test "${enable_never_quit+set}" = set; then :
5632   enableval=$enable_never_quit;
5633 else
5634   enable_never_quit=no
5635 fi
5636
5637
5638 case "${enable_never_quit}" in #(
5639   yes) :
5640     never_quit=true; NQ=TRUE ;; #(
5641   no) :
5642     never_quit=false; NQ=FALSE ;; #(
5643   *) :
5644     as_fn_error $? "bad value ${enable_never_quit} for --enable-never-quit" "$LINENO" 5 ;;
5645 esac
5646
5647
5648 cat >>confdefs.h <<_ACEOF
5649 #define RSU_NEVER_QUIT ${NQ}
5650 _ACEOF
5651
5652
5653
5654
5655 # Check whether --with-log-level was given.
5656 if test "${with_log_level+set}" = set; then :
5657   withval=$with_log_level;
5658 else
5659   with_log_level=7
5660 fi
5661
5662
5663
5664         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-log-level=${with_log_level}" >&5
5665 $as_echo_n "checking for --with-log-level=${with_log_level}... " >&6; }
5666
5667         old_IFS=${IFS}
5668         IFS=","
5669
5670         log_ok=yes
5671         log_single=no
5672         log_level_count=0
5673         LOG_LEVEL=0
5674         log_array=(0 0 0 0 0 0 0 0 0)
5675
5676         for log_level in ${with_log_level}
5677         do
5678                 IFS=${old_IFS}
5679
5680         case $log_level in #(
5681   [1-6]) :
5682     if test ${log_array[${log_level}]} -ne 0; then :
5683
5684                                         as_fn_error 1 "\"$log_level should be set once\"" "$LINENO" 5
5685
5686 elif test "x${log_single}" = xyes; then :
5687
5688                                         as_fn_error 1 "\"Unique value element already set\"" "$LINENO" 5
5689
5690 fi
5691                          ;; #(
5692   0|7|8) :
5693     if test ${log_level_count} -ne 0; then :
5694
5695                                         as_fn_error 1 "\"$log_level should be a unique value element\"" "$LINENO" 5
5696
5697 fi
5698                           log_single=yes
5699                          ;; #(
5700   *) :
5701     as_fn_error 1 "\"$log_level is not a valid value\"" "$LINENO" 5
5702          ;;
5703 esac
5704
5705         log_name=LOG_LEVEL_${log_level}
5706         eval log_value=\$${log_name}
5707         let "LOG_LEVEL |= ${log_value}"
5708
5709
5710                 IFS=","
5711
5712                 let log_level_count++
5713                 let log_array[${log_level}]++
5714         done
5715
5716         IFS=${old_IFS}
5717
5718
5719 cat >>confdefs.h <<_ACEOF
5720 #define RSU_LOG_LEVEL ${LOG_LEVEL}
5721 _ACEOF
5722
5723
5724         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5725 $as_echo "ok" >&6; }
5726
5727
5728
5729
5730
5731 # Check whether --with-log-type was given.
5732 if test "${with_log_type+set}" = set; then :
5733   withval=$with_log_type;
5734 else
5735   with_log_type=0
5736 fi
5737
5738
5739
5740         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-log-type=${with_log_type}" >&5
5741 $as_echo_n "checking for --with-log-type=${with_log_type}... " >&6; }
5742
5743         case ${with_log_type} in #(
5744   0|1) :
5745      ;; #(
5746   *) :
5747     as_fn_error 1 "\"${with_log_type} is not a valid value\"" "$LINENO" 5
5748          ;;
5749 esac
5750
5751
5752 cat >>confdefs.h <<_ACEOF
5753 #define RSU_LOG_TYPE ${with_log_type}
5754 _ACEOF
5755
5756
5757         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5758 $as_echo "ok" >&6; }
5759
5760
5761
5762
5763 DBUS_SESSION_DIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
5764
5765
5766
5767 $as_echo "#define RSU_SERVICE \"com.intel.RendererServiceUPnP\"" >>confdefs.h
5768
5769
5770 $as_echo "#define RSU_OBJECT \"/com/intel/RendererServiceUPnP\"" >>confdefs.h
5771
5772
5773 $as_echo "#define RSU_SERVER_PATH \"/com/intel/RendererServiceUPnP/server\"" >>confdefs.h
5774
5775
5776 RSU_SERVER_NAME=com.intel.renderer-service-upnp
5777
5778
5779 $as_echo "#define RSU_SERVER_NAME \"com.intel.renderer-service-upnp\"" >>confdefs.h
5780
5781
5782 RSU_INTERFACE_MANAGER=com.intel.RendererServiceUPnP.Manager
5783
5784
5785 $as_echo "#define RSU_INTERFACE_MANAGER \"com.intel.RendererServiceUPnP.Manager\"" >>confdefs.h
5786
5787
5788 RSU_INTERFACE_RENDERER_DEVICE=com.intel.UPnP.RendererDevice
5789
5790
5791 $as_echo "#define RSU_INTERFACE_RENDERER_DEVICE \"com.intel.UPnP.RendererDevice\"" >>confdefs.h
5792
5793
5794 RSU_INTERFACE_PUSH_HOST=com.intel.RendererServiceUPnP.PushHost
5795
5796
5797 $as_echo "#define RSU_INTERFACE_PUSH_HOST \"com.intel.RendererServiceUPnP.PushHost\"" >>confdefs.h
5798
5799
5800
5801
5802
5803
5804 ac_config_files="$ac_config_files Makefile src/com.intel.renderer-service-upnp.service renderer-service-upnp.pc renderer-service-upnp.conf"
5805
5806
5807 cat >confcache <<\_ACEOF
5808 # This file is a shell script that caches the results of configure
5809 # tests run on this system so they can be shared between configure
5810 # scripts and configure runs, see configure's option --config-cache.
5811 # It is not useful on other systems.  If it contains results you don't
5812 # want to keep, you may remove or edit it.
5813 #
5814 # config.status only pays attention to the cache file if you give it
5815 # the --recheck option to rerun configure.
5816 #
5817 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5818 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5819 # following values.
5820
5821 _ACEOF
5822
5823 # The following way of writing the cache mishandles newlines in values,
5824 # but we know of no workaround that is simple, portable, and efficient.
5825 # So, we kill variables containing newlines.
5826 # Ultrix sh set writes to stderr and can't be redirected directly,
5827 # and sets the high bit in the cache file unless we assign to the vars.
5828 (
5829   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5830     eval ac_val=\$$ac_var
5831     case $ac_val in #(
5832     *${as_nl}*)
5833       case $ac_var in #(
5834       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5835 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5836       esac
5837       case $ac_var in #(
5838       _ | IFS | as_nl) ;; #(
5839       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5840       *) { eval $ac_var=; unset $ac_var;} ;;
5841       esac ;;
5842     esac
5843   done
5844
5845   (set) 2>&1 |
5846     case $as_nl`(ac_space=' '; set) 2>&1` in #(
5847     *${as_nl}ac_space=\ *)
5848       # `set' does not quote correctly, so add quotes: double-quote
5849       # substitution turns \\\\ into \\, and sed turns \\ into \.
5850       sed -n \
5851         "s/'/'\\\\''/g;
5852           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5853       ;; #(
5854     *)
5855       # `set' quotes correctly as required by POSIX, so do not add quotes.
5856       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5857       ;;
5858     esac |
5859     sort
5860 ) |
5861   sed '
5862      /^ac_cv_env_/b end
5863      t clear
5864      :clear
5865      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5866      t end
5867      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5868      :end' >>confcache
5869 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5870   if test -w "$cache_file"; then
5871     if test "x$cache_file" != "x/dev/null"; then
5872       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5873 $as_echo "$as_me: updating cache $cache_file" >&6;}
5874       if test ! -f "$cache_file" || test -h "$cache_file"; then
5875         cat confcache >"$cache_file"
5876       else
5877         case $cache_file in #(
5878         */* | ?:*)
5879           mv -f confcache "$cache_file"$$ &&
5880           mv -f "$cache_file"$$ "$cache_file" ;; #(
5881         *)
5882           mv -f confcache "$cache_file" ;;
5883         esac
5884       fi
5885     fi
5886   else
5887     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5888 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5889   fi
5890 fi
5891 rm -f confcache
5892
5893 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5894 # Let make expand exec_prefix.
5895 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5896
5897 DEFS=-DHAVE_CONFIG_H
5898
5899 ac_libobjs=
5900 ac_ltlibobjs=
5901 U=
5902 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5903   # 1. Remove the extension, and $U if already installed.
5904   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5905   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5906   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5907   #    will be set to the directory where LIBOBJS objects are built.
5908   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5909   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5910 done
5911 LIBOBJS=$ac_libobjs
5912
5913 LTLIBOBJS=$ac_ltlibobjs
5914
5915
5916  if test -n "$EXEEXT"; then
5917   am__EXEEXT_TRUE=
5918   am__EXEEXT_FALSE='#'
5919 else
5920   am__EXEEXT_TRUE='#'
5921   am__EXEEXT_FALSE=
5922 fi
5923
5924 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5925   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5927 fi
5928 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5929   as_fn_error $? "conditional \"AMDEP\" was never defined.
5930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5931 fi
5932 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5933   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5935 fi
5936
5937 : "${CONFIG_STATUS=./config.status}"
5938 ac_write_fail=0
5939 ac_clean_files_save=$ac_clean_files
5940 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5942 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5943 as_write_fail=0
5944 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5945 #! $SHELL
5946 # Generated by $as_me.
5947 # Run this file to recreate the current configuration.
5948 # Compiler output produced by configure, useful for debugging
5949 # configure, is in config.log if it exists.
5950
5951 debug=false
5952 ac_cs_recheck=false
5953 ac_cs_silent=false
5954
5955 SHELL=\${CONFIG_SHELL-$SHELL}
5956 export SHELL
5957 _ASEOF
5958 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5959 ## -------------------- ##
5960 ## M4sh Initialization. ##
5961 ## -------------------- ##
5962
5963 # Be more Bourne compatible
5964 DUALCASE=1; export DUALCASE # for MKS sh
5965 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5966   emulate sh
5967   NULLCMD=:
5968   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5969   # is contrary to our usage.  Disable this feature.
5970   alias -g '${1+"$@"}'='"$@"'
5971   setopt NO_GLOB_SUBST
5972 else
5973   case `(set -o) 2>/dev/null` in #(
5974   *posix*) :
5975     set -o posix ;; #(
5976   *) :
5977      ;;
5978 esac
5979 fi
5980
5981
5982 as_nl='
5983 '
5984 export as_nl
5985 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5986 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5987 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5988 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5989 # Prefer a ksh shell builtin over an external printf program on Solaris,
5990 # but without wasting forks for bash or zsh.
5991 if test -z "$BASH_VERSION$ZSH_VERSION" \
5992     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5993   as_echo='print -r --'
5994   as_echo_n='print -rn --'
5995 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5996   as_echo='printf %s\n'
5997   as_echo_n='printf %s'
5998 else
5999   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6000     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6001     as_echo_n='/usr/ucb/echo -n'
6002   else
6003     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6004     as_echo_n_body='eval
6005       arg=$1;
6006       case $arg in #(
6007       *"$as_nl"*)
6008         expr "X$arg" : "X\\(.*\\)$as_nl";
6009         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6010       esac;
6011       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6012     '
6013     export as_echo_n_body
6014     as_echo_n='sh -c $as_echo_n_body as_echo'
6015   fi
6016   export as_echo_body
6017   as_echo='sh -c $as_echo_body as_echo'
6018 fi
6019
6020 # The user is always right.
6021 if test "${PATH_SEPARATOR+set}" != set; then
6022   PATH_SEPARATOR=:
6023   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6024     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6025       PATH_SEPARATOR=';'
6026   }
6027 fi
6028
6029
6030 # IFS
6031 # We need space, tab and new line, in precisely that order.  Quoting is
6032 # there to prevent editors from complaining about space-tab.
6033 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6034 # splitting by setting IFS to empty value.)
6035 IFS=" ""        $as_nl"
6036
6037 # Find who we are.  Look in the path if we contain no directory separator.
6038 as_myself=
6039 case $0 in #((
6040   *[\\/]* ) as_myself=$0 ;;
6041   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6042 for as_dir in $PATH
6043 do
6044   IFS=$as_save_IFS
6045   test -z "$as_dir" && as_dir=.
6046     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6047   done
6048 IFS=$as_save_IFS
6049
6050      ;;
6051 esac
6052 # We did not find ourselves, most probably we were run as `sh COMMAND'
6053 # in which case we are not to be found in the path.
6054 if test "x$as_myself" = x; then
6055   as_myself=$0
6056 fi
6057 if test ! -f "$as_myself"; then
6058   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6059   exit 1
6060 fi
6061
6062 # Unset variables that we do not need and which cause bugs (e.g. in
6063 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
6064 # suppresses any "Segmentation fault" message there.  '((' could
6065 # trigger a bug in pdksh 5.2.14.
6066 for as_var in BASH_ENV ENV MAIL MAILPATH
6067 do eval test x\${$as_var+set} = xset \
6068   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6069 done
6070 PS1='$ '
6071 PS2='> '
6072 PS4='+ '
6073
6074 # NLS nuisances.
6075 LC_ALL=C
6076 export LC_ALL
6077 LANGUAGE=C
6078 export LANGUAGE
6079
6080 # CDPATH.
6081 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6082
6083
6084 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6085 # ----------------------------------------
6086 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6087 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6088 # script with STATUS, using 1 if that was 0.
6089 as_fn_error ()
6090 {
6091   as_status=$1; test $as_status -eq 0 && as_status=1
6092   if test "$4"; then
6093     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6094     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6095   fi
6096   $as_echo "$as_me: error: $2" >&2
6097   as_fn_exit $as_status
6098 } # as_fn_error
6099
6100
6101 # as_fn_set_status STATUS
6102 # -----------------------
6103 # Set $? to STATUS, without forking.
6104 as_fn_set_status ()
6105 {
6106   return $1
6107 } # as_fn_set_status
6108
6109 # as_fn_exit STATUS
6110 # -----------------
6111 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6112 as_fn_exit ()
6113 {
6114   set +e
6115   as_fn_set_status $1
6116   exit $1
6117 } # as_fn_exit
6118
6119 # as_fn_unset VAR
6120 # ---------------
6121 # Portably unset VAR.
6122 as_fn_unset ()
6123 {
6124   { eval $1=; unset $1;}
6125 }
6126 as_unset=as_fn_unset
6127 # as_fn_append VAR VALUE
6128 # ----------------------
6129 # Append the text in VALUE to the end of the definition contained in VAR. Take
6130 # advantage of any shell optimizations that allow amortized linear growth over
6131 # repeated appends, instead of the typical quadratic growth present in naive
6132 # implementations.
6133 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6134   eval 'as_fn_append ()
6135   {
6136     eval $1+=\$2
6137   }'
6138 else
6139   as_fn_append ()
6140   {
6141     eval $1=\$$1\$2
6142   }
6143 fi # as_fn_append
6144
6145 # as_fn_arith ARG...
6146 # ------------------
6147 # Perform arithmetic evaluation on the ARGs, and store the result in the
6148 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6149 # must be portable across $(()) and expr.
6150 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6151   eval 'as_fn_arith ()
6152   {
6153     as_val=$(( $* ))
6154   }'
6155 else
6156   as_fn_arith ()
6157   {
6158     as_val=`expr "$@" || test $? -eq 1`
6159   }
6160 fi # as_fn_arith
6161
6162
6163 if expr a : '\(a\)' >/dev/null 2>&1 &&
6164    test "X`expr 00001 : '.*\(...\)'`" = X001; then
6165   as_expr=expr
6166 else
6167   as_expr=false
6168 fi
6169
6170 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6171   as_basename=basename
6172 else
6173   as_basename=false
6174 fi
6175
6176 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6177   as_dirname=dirname
6178 else
6179   as_dirname=false
6180 fi
6181
6182 as_me=`$as_basename -- "$0" ||
6183 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6184          X"$0" : 'X\(//\)$' \| \
6185          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6186 $as_echo X/"$0" |
6187     sed '/^.*\/\([^/][^/]*\)\/*$/{
6188             s//\1/
6189             q
6190           }
6191           /^X\/\(\/\/\)$/{
6192             s//\1/
6193             q
6194           }
6195           /^X\/\(\/\).*/{
6196             s//\1/
6197             q
6198           }
6199           s/.*/./; q'`
6200
6201 # Avoid depending upon Character Ranges.
6202 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6203 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6204 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6205 as_cr_digits='0123456789'
6206 as_cr_alnum=$as_cr_Letters$as_cr_digits
6207
6208 ECHO_C= ECHO_N= ECHO_T=
6209 case `echo -n x` in #(((((
6210 -n*)
6211   case `echo 'xy\c'` in
6212   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
6213   xy)  ECHO_C='\c';;
6214   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
6215        ECHO_T=' ';;
6216   esac;;
6217 *)
6218   ECHO_N='-n';;
6219 esac
6220
6221 rm -f conf$$ conf$$.exe conf$$.file
6222 if test -d conf$$.dir; then
6223   rm -f conf$$.dir/conf$$.file
6224 else
6225   rm -f conf$$.dir
6226   mkdir conf$$.dir 2>/dev/null
6227 fi
6228 if (echo >conf$$.file) 2>/dev/null; then
6229   if ln -s conf$$.file conf$$ 2>/dev/null; then
6230     as_ln_s='ln -s'
6231     # ... but there are two gotchas:
6232     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6233     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6234     # In both cases, we have to default to `cp -pR'.
6235     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6236       as_ln_s='cp -pR'
6237   elif ln conf$$.file conf$$ 2>/dev/null; then
6238     as_ln_s=ln
6239   else
6240     as_ln_s='cp -pR'
6241   fi
6242 else
6243   as_ln_s='cp -pR'
6244 fi
6245 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6246 rmdir conf$$.dir 2>/dev/null
6247
6248
6249 # as_fn_mkdir_p
6250 # -------------
6251 # Create "$as_dir" as a directory, including parents if necessary.
6252 as_fn_mkdir_p ()
6253 {
6254
6255   case $as_dir in #(
6256   -*) as_dir=./$as_dir;;
6257   esac
6258   test -d "$as_dir" || eval $as_mkdir_p || {
6259     as_dirs=
6260     while :; do
6261       case $as_dir in #(
6262       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6263       *) as_qdir=$as_dir;;
6264       esac
6265       as_dirs="'$as_qdir' $as_dirs"
6266       as_dir=`$as_dirname -- "$as_dir" ||
6267 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6268          X"$as_dir" : 'X\(//\)[^/]' \| \
6269          X"$as_dir" : 'X\(//\)$' \| \
6270          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6271 $as_echo X"$as_dir" |
6272     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6273             s//\1/
6274             q
6275           }
6276           /^X\(\/\/\)[^/].*/{
6277             s//\1/
6278             q
6279           }
6280           /^X\(\/\/\)$/{
6281             s//\1/
6282             q
6283           }
6284           /^X\(\/\).*/{
6285             s//\1/
6286             q
6287           }
6288           s/.*/./; q'`
6289       test -d "$as_dir" && break
6290     done
6291     test -z "$as_dirs" || eval "mkdir $as_dirs"
6292   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6293
6294
6295 } # as_fn_mkdir_p
6296 if mkdir -p . 2>/dev/null; then
6297   as_mkdir_p='mkdir -p "$as_dir"'
6298 else
6299   test -d ./-p && rmdir ./-p
6300   as_mkdir_p=false
6301 fi
6302
6303
6304 # as_fn_executable_p FILE
6305 # -----------------------
6306 # Test if FILE is an executable regular file.
6307 as_fn_executable_p ()
6308 {
6309   test -f "$1" && test -x "$1"
6310 } # as_fn_executable_p
6311 as_test_x='test -x'
6312 as_executable_p=as_fn_executable_p
6313
6314 # Sed expression to map a string onto a valid CPP name.
6315 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6316
6317 # Sed expression to map a string onto a valid variable name.
6318 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6319
6320
6321 exec 6>&1
6322 ## ----------------------------------- ##
6323 ## Main body of $CONFIG_STATUS script. ##
6324 ## ----------------------------------- ##
6325 _ASEOF
6326 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6327
6328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6329 # Save the log message, to keep $0 and so on meaningful, and to
6330 # report actual input values of CONFIG_FILES etc. instead of their
6331 # values after options handling.
6332 ac_log="
6333 This file was extended by renderer-service-upnp $as_me 0.2.0, which was
6334 generated by GNU Autoconf 2.69.  Invocation command line was
6335
6336   CONFIG_FILES    = $CONFIG_FILES
6337   CONFIG_HEADERS  = $CONFIG_HEADERS
6338   CONFIG_LINKS    = $CONFIG_LINKS
6339   CONFIG_COMMANDS = $CONFIG_COMMANDS
6340   $ $0 $@
6341
6342 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6343 "
6344
6345 _ACEOF
6346
6347 case $ac_config_files in *"
6348 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6349 esac
6350
6351 case $ac_config_headers in *"
6352 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6353 esac
6354
6355
6356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6357 # Files that config.status was made for.
6358 config_files="$ac_config_files"
6359 config_headers="$ac_config_headers"
6360 config_commands="$ac_config_commands"
6361
6362 _ACEOF
6363
6364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6365 ac_cs_usage="\
6366 \`$as_me' instantiates files and other configuration actions
6367 from templates according to the current configuration.  Unless the files
6368 and actions are specified as TAGs, all are instantiated by default.
6369
6370 Usage: $0 [OPTION]... [TAG]...
6371
6372   -h, --help       print this help, then exit
6373   -V, --version    print version number and configuration settings, then exit
6374       --config     print configuration, then exit
6375   -q, --quiet, --silent
6376                    do not print progress messages
6377   -d, --debug      don't remove temporary files
6378       --recheck    update $as_me by reconfiguring in the same conditions
6379       --file=FILE[:TEMPLATE]
6380                    instantiate the configuration file FILE
6381       --header=FILE[:TEMPLATE]
6382                    instantiate the configuration header FILE
6383
6384 Configuration files:
6385 $config_files
6386
6387 Configuration headers:
6388 $config_headers
6389
6390 Configuration commands:
6391 $config_commands
6392
6393 Report bugs to <https://github.com/01org/renderer-service-upnp/issues/new>.
6394 renderer-service-upnp home page: <https://01.org/dleyna/>."
6395
6396 _ACEOF
6397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6398 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6399 ac_cs_version="\\
6400 renderer-service-upnp config.status 0.2.0
6401 configured by $0, generated by GNU Autoconf 2.69,
6402   with options \\"\$ac_cs_config\\"
6403
6404 Copyright (C) 2012 Free Software Foundation, Inc.
6405 This config.status script is free software; the Free Software Foundation
6406 gives unlimited permission to copy, distribute and modify it."
6407
6408 ac_pwd='$ac_pwd'
6409 srcdir='$srcdir'
6410 INSTALL='$INSTALL'
6411 MKDIR_P='$MKDIR_P'
6412 AWK='$AWK'
6413 test -n "\$AWK" || AWK=awk
6414 _ACEOF
6415
6416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6417 # The default lists apply if the user does not specify any file.
6418 ac_need_defaults=:
6419 while test $# != 0
6420 do
6421   case $1 in
6422   --*=?*)
6423     ac_option=`expr "X$1" : 'X\([^=]*\)='`
6424     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6425     ac_shift=:
6426     ;;
6427   --*=)
6428     ac_option=`expr "X$1" : 'X\([^=]*\)='`
6429     ac_optarg=
6430     ac_shift=:
6431     ;;
6432   *)
6433     ac_option=$1
6434     ac_optarg=$2
6435     ac_shift=shift
6436     ;;
6437   esac
6438
6439   case $ac_option in
6440   # Handling of the options.
6441   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6442     ac_cs_recheck=: ;;
6443   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6444     $as_echo "$ac_cs_version"; exit ;;
6445   --config | --confi | --conf | --con | --co | --c )
6446     $as_echo "$ac_cs_config"; exit ;;
6447   --debug | --debu | --deb | --de | --d | -d )
6448     debug=: ;;
6449   --file | --fil | --fi | --f )
6450     $ac_shift
6451     case $ac_optarg in
6452     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6453     '') as_fn_error $? "missing file argument" ;;
6454     esac
6455     as_fn_append CONFIG_FILES " '$ac_optarg'"
6456     ac_need_defaults=false;;
6457   --header | --heade | --head | --hea )
6458     $ac_shift
6459     case $ac_optarg in
6460     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6461     esac
6462     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6463     ac_need_defaults=false;;
6464   --he | --h)
6465     # Conflict between --help and --header
6466     as_fn_error $? "ambiguous option: \`$1'
6467 Try \`$0 --help' for more information.";;
6468   --help | --hel | -h )
6469     $as_echo "$ac_cs_usage"; exit ;;
6470   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6471   | -silent | --silent | --silen | --sile | --sil | --si | --s)
6472     ac_cs_silent=: ;;
6473
6474   # This is an error.
6475   -*) as_fn_error $? "unrecognized option: \`$1'
6476 Try \`$0 --help' for more information." ;;
6477
6478   *) as_fn_append ac_config_targets " $1"
6479      ac_need_defaults=false ;;
6480
6481   esac
6482   shift
6483 done
6484
6485 ac_configure_extra_args=
6486
6487 if $ac_cs_silent; then
6488   exec 6>/dev/null
6489   ac_configure_extra_args="$ac_configure_extra_args --silent"
6490 fi
6491
6492 _ACEOF
6493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6494 if \$ac_cs_recheck; then
6495   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6496   shift
6497   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6498   CONFIG_SHELL='$SHELL'
6499   export CONFIG_SHELL
6500   exec "\$@"
6501 fi
6502
6503 _ACEOF
6504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6505 exec 5>>config.log
6506 {
6507   echo
6508   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6509 ## Running $as_me. ##
6510 _ASBOX
6511   $as_echo "$ac_log"
6512 } >&5
6513
6514 _ACEOF
6515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6516 #
6517 # INIT-COMMANDS
6518 #
6519 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6520
6521 _ACEOF
6522
6523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6524
6525 # Handling of arguments.
6526 for ac_config_target in $ac_config_targets
6527 do
6528   case $ac_config_target in
6529     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6530     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6531     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6532     "src/com.intel.renderer-service-upnp.service") CONFIG_FILES="$CONFIG_FILES src/com.intel.renderer-service-upnp.service" ;;
6533     "renderer-service-upnp.pc") CONFIG_FILES="$CONFIG_FILES renderer-service-upnp.pc" ;;
6534     "renderer-service-upnp.conf") CONFIG_FILES="$CONFIG_FILES renderer-service-upnp.conf" ;;
6535
6536   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6537   esac
6538 done
6539
6540
6541 # If the user did not use the arguments to specify the items to instantiate,
6542 # then the envvar interface is used.  Set only those that are not.
6543 # We use the long form for the default assignment because of an extremely
6544 # bizarre bug on SunOS 4.1.3.
6545 if $ac_need_defaults; then
6546   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6547   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6548   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6549 fi
6550
6551 # Have a temporary directory for convenience.  Make it in the build tree
6552 # simply because there is no reason against having it here, and in addition,
6553 # creating and moving files from /tmp can sometimes cause problems.
6554 # Hook for its removal unless debugging.
6555 # Note that there is a small window in which the directory will not be cleaned:
6556 # after its creation but before its name has been assigned to `$tmp'.
6557 $debug ||
6558 {
6559   tmp= ac_tmp=
6560   trap 'exit_status=$?
6561   : "${ac_tmp:=$tmp}"
6562   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6563 ' 0
6564   trap 'as_fn_exit 1' 1 2 13 15
6565 }
6566 # Create a (secure) tmp directory for tmp files.
6567
6568 {
6569   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6570   test -d "$tmp"
6571 }  ||
6572 {
6573   tmp=./conf$$-$RANDOM
6574   (umask 077 && mkdir "$tmp")
6575 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6576 ac_tmp=$tmp
6577
6578 # Set up the scripts for CONFIG_FILES section.
6579 # No need to generate them if there are no CONFIG_FILES.
6580 # This happens for instance with `./config.status config.h'.
6581 if test -n "$CONFIG_FILES"; then
6582
6583
6584 ac_cr=`echo X | tr X '\015'`
6585 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6586 # But we know of no other shell where ac_cr would be empty at this
6587 # point, so we can use a bashism as a fallback.
6588 if test "x$ac_cr" = x; then
6589   eval ac_cr=\$\'\\r\'
6590 fi
6591 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6592 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6593   ac_cs_awk_cr='\\r'
6594 else
6595   ac_cs_awk_cr=$ac_cr
6596 fi
6597
6598 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6599 _ACEOF
6600
6601
6602 {
6603   echo "cat >conf$$subs.awk <<_ACEOF" &&
6604   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6605   echo "_ACEOF"
6606 } >conf$$subs.sh ||
6607   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6608 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6609 ac_delim='%!_!# '
6610 for ac_last_try in false false false false false :; do
6611   . ./conf$$subs.sh ||
6612     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6613
6614   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6615   if test $ac_delim_n = $ac_delim_num; then
6616     break
6617   elif $ac_last_try; then
6618     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6619   else
6620     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6621   fi
6622 done
6623 rm -f conf$$subs.sh
6624
6625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6626 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6627 _ACEOF
6628 sed -n '
6629 h
6630 s/^/S["/; s/!.*/"]=/
6631 p
6632 g
6633 s/^[^!]*!//
6634 :repl
6635 t repl
6636 s/'"$ac_delim"'$//
6637 t delim
6638 :nl
6639 h
6640 s/\(.\{148\}\)..*/\1/
6641 t more1
6642 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6643 p
6644 n
6645 b repl
6646 :more1
6647 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6648 p
6649 g
6650 s/.\{148\}//
6651 t nl
6652 :delim
6653 h
6654 s/\(.\{148\}\)..*/\1/
6655 t more2
6656 s/["\\]/\\&/g; s/^/"/; s/$/"/
6657 p
6658 b
6659 :more2
6660 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6661 p
6662 g
6663 s/.\{148\}//
6664 t delim
6665 ' <conf$$subs.awk | sed '
6666 /^[^""]/{
6667   N
6668   s/\n//
6669 }
6670 ' >>$CONFIG_STATUS || ac_write_fail=1
6671 rm -f conf$$subs.awk
6672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6673 _ACAWK
6674 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6675   for (key in S) S_is_set[key] = 1
6676   FS = "\a"
6677
6678 }
6679 {
6680   line = $ 0
6681   nfields = split(line, field, "@")
6682   substed = 0
6683   len = length(field[1])
6684   for (i = 2; i < nfields; i++) {
6685     key = field[i]
6686     keylen = length(key)
6687     if (S_is_set[key]) {
6688       value = S[key]
6689       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6690       len += length(value) + length(field[++i])
6691       substed = 1
6692     } else
6693       len += 1 + keylen
6694   }
6695
6696   print line
6697 }
6698
6699 _ACAWK
6700 _ACEOF
6701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6702 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6703   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6704 else
6705   cat
6706 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6707   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6708 _ACEOF
6709
6710 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6711 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6712 # trailing colons and then remove the whole line if VPATH becomes empty
6713 # (actually we leave an empty line to preserve line numbers).
6714 if test "x$srcdir" = x.; then
6715   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
6716 h
6717 s///
6718 s/^/:/
6719 s/[      ]*$/:/
6720 s/:\$(srcdir):/:/g
6721 s/:\${srcdir}:/:/g
6722 s/:@srcdir@:/:/g
6723 s/^:*//
6724 s/:*$//
6725 x
6726 s/\(=[   ]*\).*/\1/
6727 G
6728 s/\n//
6729 s/^[^=]*=[       ]*$//
6730 }'
6731 fi
6732
6733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6734 fi # test -n "$CONFIG_FILES"
6735
6736 # Set up the scripts for CONFIG_HEADERS section.
6737 # No need to generate them if there are no CONFIG_HEADERS.
6738 # This happens for instance with `./config.status Makefile'.
6739 if test -n "$CONFIG_HEADERS"; then
6740 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6741 BEGIN {
6742 _ACEOF
6743
6744 # Transform confdefs.h into an awk script `defines.awk', embedded as
6745 # here-document in config.status, that substitutes the proper values into
6746 # config.h.in to produce config.h.
6747
6748 # Create a delimiter string that does not exist in confdefs.h, to ease
6749 # handling of long lines.
6750 ac_delim='%!_!# '
6751 for ac_last_try in false false :; do
6752   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6753   if test -z "$ac_tt"; then
6754     break
6755   elif $ac_last_try; then
6756     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6757   else
6758     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6759   fi
6760 done
6761
6762 # For the awk script, D is an array of macro values keyed by name,
6763 # likewise P contains macro parameters if any.  Preserve backslash
6764 # newline sequences.
6765
6766 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6767 sed -n '
6768 s/.\{148\}/&'"$ac_delim"'/g
6769 t rset
6770 :rset
6771 s/^[     ]*#[    ]*define[       ][      ]*/ /
6772 t def
6773 d
6774 :def
6775 s/\\$//
6776 t bsnl
6777 s/["\\]/\\&/g
6778 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6779 D["\1"]=" \3"/p
6780 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
6781 d
6782 :bsnl
6783 s/["\\]/\\&/g
6784 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6785 D["\1"]=" \3\\\\\\n"\\/p
6786 t cont
6787 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6788 t cont
6789 d
6790 :cont
6791 n
6792 s/.\{148\}/&'"$ac_delim"'/g
6793 t clear
6794 :clear
6795 s/\\$//
6796 t bsnlc
6797 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6798 d
6799 :bsnlc
6800 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6801 b cont
6802 ' <confdefs.h | sed '
6803 s/'"$ac_delim"'/"\\\
6804 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6805
6806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6807   for (key in D) D_is_set[key] = 1
6808   FS = "\a"
6809 }
6810 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6811   line = \$ 0
6812   split(line, arg, " ")
6813   if (arg[1] == "#") {
6814     defundef = arg[2]
6815     mac1 = arg[3]
6816   } else {
6817     defundef = substr(arg[1], 2)
6818     mac1 = arg[2]
6819   }
6820   split(mac1, mac2, "(") #)
6821   macro = mac2[1]
6822   prefix = substr(line, 1, index(line, defundef) - 1)
6823   if (D_is_set[macro]) {
6824     # Preserve the white space surrounding the "#".
6825     print prefix "define", macro P[macro] D[macro]
6826     next
6827   } else {
6828     # Replace #undef with comments.  This is necessary, for example,
6829     # in the case of _POSIX_SOURCE, which is predefined and required
6830     # on some systems where configure will not decide to define it.
6831     if (defundef == "undef") {
6832       print "/*", prefix defundef, macro, "*/"
6833       next
6834     }
6835   }
6836 }
6837 { print }
6838 _ACAWK
6839 _ACEOF
6840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6841   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6842 fi # test -n "$CONFIG_HEADERS"
6843
6844
6845 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6846 shift
6847 for ac_tag
6848 do
6849   case $ac_tag in
6850   :[FHLC]) ac_mode=$ac_tag; continue;;
6851   esac
6852   case $ac_mode$ac_tag in
6853   :[FHL]*:*);;
6854   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6855   :[FH]-) ac_tag=-:-;;
6856   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6857   esac
6858   ac_save_IFS=$IFS
6859   IFS=:
6860   set x $ac_tag
6861   IFS=$ac_save_IFS
6862   shift
6863   ac_file=$1
6864   shift
6865
6866   case $ac_mode in
6867   :L) ac_source=$1;;
6868   :[FH])
6869     ac_file_inputs=
6870     for ac_f
6871     do
6872       case $ac_f in
6873       -) ac_f="$ac_tmp/stdin";;
6874       *) # Look for the file first in the build tree, then in the source tree
6875          # (if the path is not absolute).  The absolute path cannot be DOS-style,
6876          # because $ac_f cannot contain `:'.
6877          test -f "$ac_f" ||
6878            case $ac_f in
6879            [\\/$]*) false;;
6880            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6881            esac ||
6882            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6883       esac
6884       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6885       as_fn_append ac_file_inputs " '$ac_f'"
6886     done
6887
6888     # Let's still pretend it is `configure' which instantiates (i.e., don't
6889     # use $as_me), people would be surprised to read:
6890     #    /* config.h.  Generated by config.status.  */
6891     configure_input='Generated from '`
6892           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6893         `' by configure.'
6894     if test x"$ac_file" != x-; then
6895       configure_input="$ac_file.  $configure_input"
6896       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6897 $as_echo "$as_me: creating $ac_file" >&6;}
6898     fi
6899     # Neutralize special characters interpreted by sed in replacement strings.
6900     case $configure_input in #(
6901     *\&* | *\|* | *\\* )
6902        ac_sed_conf_input=`$as_echo "$configure_input" |
6903        sed 's/[\\\\&|]/\\\\&/g'`;; #(
6904     *) ac_sed_conf_input=$configure_input;;
6905     esac
6906
6907     case $ac_tag in
6908     *:-:* | *:-) cat >"$ac_tmp/stdin" \
6909       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6910     esac
6911     ;;
6912   esac
6913
6914   ac_dir=`$as_dirname -- "$ac_file" ||
6915 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6916          X"$ac_file" : 'X\(//\)[^/]' \| \
6917          X"$ac_file" : 'X\(//\)$' \| \
6918          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6919 $as_echo X"$ac_file" |
6920     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6921             s//\1/
6922             q
6923           }
6924           /^X\(\/\/\)[^/].*/{
6925             s//\1/
6926             q
6927           }
6928           /^X\(\/\/\)$/{
6929             s//\1/
6930             q
6931           }
6932           /^X\(\/\).*/{
6933             s//\1/
6934             q
6935           }
6936           s/.*/./; q'`
6937   as_dir="$ac_dir"; as_fn_mkdir_p
6938   ac_builddir=.
6939
6940 case "$ac_dir" in
6941 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6942 *)
6943   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6944   # A ".." for each directory in $ac_dir_suffix.
6945   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6946   case $ac_top_builddir_sub in
6947   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6948   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6949   esac ;;
6950 esac
6951 ac_abs_top_builddir=$ac_pwd
6952 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6953 # for backward compatibility:
6954 ac_top_builddir=$ac_top_build_prefix
6955
6956 case $srcdir in
6957   .)  # We are building in place.
6958     ac_srcdir=.
6959     ac_top_srcdir=$ac_top_builddir_sub
6960     ac_abs_top_srcdir=$ac_pwd ;;
6961   [\\/]* | ?:[\\/]* )  # Absolute name.
6962     ac_srcdir=$srcdir$ac_dir_suffix;
6963     ac_top_srcdir=$srcdir
6964     ac_abs_top_srcdir=$srcdir ;;
6965   *) # Relative name.
6966     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6967     ac_top_srcdir=$ac_top_build_prefix$srcdir
6968     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6969 esac
6970 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6971
6972
6973   case $ac_mode in
6974   :F)
6975   #
6976   # CONFIG_FILE
6977   #
6978
6979   case $INSTALL in
6980   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6981   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6982   esac
6983   ac_MKDIR_P=$MKDIR_P
6984   case $MKDIR_P in
6985   [\\/$]* | ?:[\\/]* ) ;;
6986   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6987   esac
6988 _ACEOF
6989
6990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6991 # If the template does not know about datarootdir, expand it.
6992 # FIXME: This hack should be removed a few years after 2.60.
6993 ac_datarootdir_hack=; ac_datarootdir_seen=
6994 ac_sed_dataroot='
6995 /datarootdir/ {
6996   p
6997   q
6998 }
6999 /@datadir@/p
7000 /@docdir@/p
7001 /@infodir@/p
7002 /@localedir@/p
7003 /@mandir@/p'
7004 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7005 *datarootdir*) ac_datarootdir_seen=yes;;
7006 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7007   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7008 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7009 _ACEOF
7010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7011   ac_datarootdir_hack='
7012   s&@datadir@&$datadir&g
7013   s&@docdir@&$docdir&g
7014   s&@infodir@&$infodir&g
7015   s&@localedir@&$localedir&g
7016   s&@mandir@&$mandir&g
7017   s&\\\${datarootdir}&$datarootdir&g' ;;
7018 esac
7019 _ACEOF
7020
7021 # Neutralize VPATH when `$srcdir' = `.'.
7022 # Shell code in configure.ac might set extrasub.
7023 # FIXME: do we really want to maintain this feature?
7024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7025 ac_sed_extra="$ac_vpsub
7026 $extrasub
7027 _ACEOF
7028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7029 :t
7030 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7031 s|@configure_input@|$ac_sed_conf_input|;t t
7032 s&@top_builddir@&$ac_top_builddir_sub&;t t
7033 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7034 s&@srcdir@&$ac_srcdir&;t t
7035 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7036 s&@top_srcdir@&$ac_top_srcdir&;t t
7037 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7038 s&@builddir@&$ac_builddir&;t t
7039 s&@abs_builddir@&$ac_abs_builddir&;t t
7040 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7041 s&@INSTALL@&$ac_INSTALL&;t t
7042 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7043 $ac_datarootdir_hack
7044 "
7045 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7046   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7047
7048 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7049   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7050   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
7051       "$ac_tmp/out"`; test -z "$ac_out"; } &&
7052   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7053 which seems to be undefined.  Please make sure it is defined" >&5
7054 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7055 which seems to be undefined.  Please make sure it is defined" >&2;}
7056
7057   rm -f "$ac_tmp/stdin"
7058   case $ac_file in
7059   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7060   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7061   esac \
7062   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7063  ;;
7064   :H)
7065   #
7066   # CONFIG_HEADER
7067   #
7068   if test x"$ac_file" != x-; then
7069     {
7070       $as_echo "/* $configure_input  */" \
7071       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7072     } >"$ac_tmp/config.h" \
7073       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7074     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7075       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7076 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7077     else
7078       rm -f "$ac_file"
7079       mv "$ac_tmp/config.h" "$ac_file" \
7080         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7081     fi
7082   else
7083     $as_echo "/* $configure_input  */" \
7084       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7085       || as_fn_error $? "could not create -" "$LINENO" 5
7086   fi
7087 # Compute "$ac_file"'s index in $config_headers.
7088 _am_arg="$ac_file"
7089 _am_stamp_count=1
7090 for _am_header in $config_headers :; do
7091   case $_am_header in
7092     $_am_arg | $_am_arg:* )
7093       break ;;
7094     * )
7095       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7096   esac
7097 done
7098 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7099 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7100          X"$_am_arg" : 'X\(//\)[^/]' \| \
7101          X"$_am_arg" : 'X\(//\)$' \| \
7102          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7103 $as_echo X"$_am_arg" |
7104     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7105             s//\1/
7106             q
7107           }
7108           /^X\(\/\/\)[^/].*/{
7109             s//\1/
7110             q
7111           }
7112           /^X\(\/\/\)$/{
7113             s//\1/
7114             q
7115           }
7116           /^X\(\/\).*/{
7117             s//\1/
7118             q
7119           }
7120           s/.*/./; q'`/stamp-h$_am_stamp_count
7121  ;;
7122
7123   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7124 $as_echo "$as_me: executing $ac_file commands" >&6;}
7125  ;;
7126   esac
7127
7128
7129   case $ac_file$ac_mode in
7130     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7131   # Autoconf 2.62 quotes --file arguments for eval, but not when files
7132   # are listed without --file.  Let's play safe and only enable the eval
7133   # if we detect the quoting.
7134   case $CONFIG_FILES in
7135   *\'*) eval set x "$CONFIG_FILES" ;;
7136   *)   set x $CONFIG_FILES ;;
7137   esac
7138   shift
7139   for mf
7140   do
7141     # Strip MF so we end up with the name of the file.
7142     mf=`echo "$mf" | sed -e 's/:.*$//'`
7143     # Check whether this is an Automake generated Makefile or not.
7144     # We used to match only the files named `Makefile.in', but
7145     # some people rename them; so instead we look at the file content.
7146     # Grep'ing the first line is not enough: some people post-process
7147     # each Makefile.in and add a new line on top of each file to say so.
7148     # Grep'ing the whole file is not good either: AIX grep has a line
7149     # limit of 2048, but all sed's we know have understand at least 4000.
7150     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7151       dirpart=`$as_dirname -- "$mf" ||
7152 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7153          X"$mf" : 'X\(//\)[^/]' \| \
7154          X"$mf" : 'X\(//\)$' \| \
7155          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7156 $as_echo X"$mf" |
7157     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7158             s//\1/
7159             q
7160           }
7161           /^X\(\/\/\)[^/].*/{
7162             s//\1/
7163             q
7164           }
7165           /^X\(\/\/\)$/{
7166             s//\1/
7167             q
7168           }
7169           /^X\(\/\).*/{
7170             s//\1/
7171             q
7172           }
7173           s/.*/./; q'`
7174     else
7175       continue
7176     fi
7177     # Extract the definition of DEPDIR, am__include, and am__quote
7178     # from the Makefile without running `make'.
7179     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7180     test -z "$DEPDIR" && continue
7181     am__include=`sed -n 's/^am__include = //p' < "$mf"`
7182     test -z "am__include" && continue
7183     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7184     # When using ansi2knr, U may be empty or an underscore; expand it
7185     U=`sed -n 's/^U = //p' < "$mf"`
7186     # Find all dependency output files, they are included files with
7187     # $(DEPDIR) in their names.  We invoke sed twice because it is the
7188     # simplest approach to changing $(DEPDIR) to its actual value in the
7189     # expansion.
7190     for file in `sed -n "
7191       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7192          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7193       # Make sure the directory exists.
7194       test -f "$dirpart/$file" && continue
7195       fdir=`$as_dirname -- "$file" ||
7196 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7197          X"$file" : 'X\(//\)[^/]' \| \
7198          X"$file" : 'X\(//\)$' \| \
7199          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7200 $as_echo X"$file" |
7201     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7202             s//\1/
7203             q
7204           }
7205           /^X\(\/\/\)[^/].*/{
7206             s//\1/
7207             q
7208           }
7209           /^X\(\/\/\)$/{
7210             s//\1/
7211             q
7212           }
7213           /^X\(\/\).*/{
7214             s//\1/
7215             q
7216           }
7217           s/.*/./; q'`
7218       as_dir=$dirpart/$fdir; as_fn_mkdir_p
7219       # echo "creating $dirpart/$file"
7220       echo '# dummy' > "$dirpart/$file"
7221     done
7222   done
7223 }
7224  ;;
7225
7226   esac
7227 done # for ac_tag
7228
7229
7230 as_fn_exit 0
7231 _ACEOF
7232 ac_clean_files=$ac_clean_files_save
7233
7234 test $ac_write_fail = 0 ||
7235   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7236
7237
7238 # configure is writing to config.log, and then calls config.status.
7239 # config.status does its own redirection, appending to config.log.
7240 # Unfortunately, on DOS this fails, as config.log is still kept open
7241 # by configure, so config.status won't be able to write to it; its
7242 # output is simply discarded.  So we exec the FD to /dev/null,
7243 # effectively closing config.log, so it can be properly (re)opened and
7244 # appended to by config.status.  When coming back to configure, we
7245 # need to make the FD available again.
7246 if test "$no_create" != yes; then
7247   ac_cs_success=:
7248   ac_config_status_args=
7249   test "$silent" = yes &&
7250     ac_config_status_args="$ac_config_status_args --quiet"
7251   exec 5>/dev/null
7252   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7253   exec 5>>config.log
7254   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7255   # would make configure fail if this is the last instruction.
7256   $ac_cs_success || as_fn_exit 1
7257 fi
7258 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7259   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7260 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7261 fi
7262
7263
7264 $as_echo "-------------------------------------------------
7265
7266 ${PACKAGE_NAME} Version ${PACKAGE_VERSION}
7267
7268 Prefix    : '${prefix}'.
7269 Compiler  : '${CC}'
7270 CFLAGS    : '${CFLAGS}'
7271
7272 -Package features:
7273         - enable-werror       : ${enable_werror}
7274         - enable-debug        : ${enable_debug}
7275         - disable-optimization: ${disable_optimization}
7276         - enable-never-quit   : ${enable_never_quit}
7277         - with-log-level      : ${with_log_level}
7278         - with-log-type       : ${with_log_type}
7279
7280 --------------------------------------------------"