4f2e6e0133ca4264aa7b4863f1dad373ad28aa20
[profile/ivi/GSSDP.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gssdp 0.14.3.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gssdp>.
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
203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207     PATH=/empty FPATH=/empty; export PATH FPATH
208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gssdp
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
282 $0: have one."
283   fi
284   exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302   { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
309 as_fn_set_status ()
310 {
311   return $1
312 } # as_fn_set_status
313
314 # as_fn_exit STATUS
315 # -----------------
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 as_fn_exit ()
318 {
319   set +e
320   as_fn_set_status $1
321   exit $1
322 } # as_fn_exit
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330   case $as_dir in #(
331   -*) as_dir=./$as_dir;;
332   esac
333   test -d "$as_dir" || eval $as_mkdir_p || {
334     as_dirs=
335     while :; do
336       case $as_dir in #(
337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338       *) as_qdir=$as_dir;;
339       esac
340       as_dirs="'$as_qdir' $as_dirs"
341       as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343          X"$as_dir" : 'X\(//\)[^/]' \| \
344          X"$as_dir" : 'X\(//\)$' \| \
345          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)[^/].*/{
352             s//\1/
353             q
354           }
355           /^X\(\/\/\)$/{
356             s//\1/
357             q
358           }
359           /^X\(\/\).*/{
360             s//\1/
361             q
362           }
363           s/.*/./; q'`
364       test -d "$as_dir" && break
365     done
366     test -z "$as_dirs" || eval "mkdir $as_dirs"
367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377   test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386   eval 'as_fn_append ()
387   {
388     eval $1+=\$2
389   }'
390 else
391   as_fn_append ()
392   {
393     eval $1=\$$1\$2
394   }
395 fi # as_fn_append
396
397 # as_fn_arith ARG...
398 # ------------------
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403   eval 'as_fn_arith ()
404   {
405     as_val=$(( $* ))
406   }'
407 else
408   as_fn_arith ()
409   {
410     as_val=`expr "$@" || test $? -eq 1`
411   }
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422   as_status=$1; test $as_status -eq 0 && as_status=1
423   if test "$4"; then
424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426   fi
427   $as_echo "$as_me: error: $2" >&2
428   as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
433   as_expr=expr
434 else
435   as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439   as_basename=basename
440 else
441   as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445   as_dirname=dirname
446 else
447   as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452          X"$0" : 'X\(//\)$' \| \
453          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 $as_echo X/"$0" |
455     sed '/^.*\/\([^/][^/]*\)\/*$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\/\)$/{
460             s//\1/
461             q
462           }
463           /^X\/\(\/\).*/{
464             s//\1/
465             q
466           }
467           s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
482   sed -n '
483     p
484     /[$]LINENO/=
485   ' <$as_myself |
486     sed '
487       s/[$]LINENO.*/&-/
488       t lineno
489       b
490       :lineno
491       N
492       :loop
493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494       t loop
495       s/-\n.*//
496     ' >$as_me.lineno &&
497   chmod +x "$as_me.lineno" ||
498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501   # already done that, so ensure we don't try to do so again and fall
502   # in an infinite loop.  This has already happened in practice.
503   _as_can_reexec=no; export _as_can_reexec
504   # Don't try to exec as it changes $[0], causing all sort of problems
505   # (the dirname of $[0] is not the place where we might find the
506   # original and so on.  Autoconf is especially sensitive to this).
507   . "./$as_me.lineno"
508   # Exit status is that of the last command.
509   exit
510 }
511
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
514 -n*)
515   case `echo 'xy\c'` in
516   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
517   xy)  ECHO_C='\c';;
518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
519        ECHO_T=' ';;
520   esac;;
521 *)
522   ECHO_N='-n';;
523 esac
524
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527   rm -f conf$$.dir/conf$$.file
528 else
529   rm -f conf$$.dir
530   mkdir conf$$.dir 2>/dev/null
531 fi
532 if (echo >conf$$.file) 2>/dev/null; then
533   if ln -s conf$$.file conf$$ 2>/dev/null; then
534     as_ln_s='ln -s'
535     # ... but there are two gotchas:
536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538     # In both cases, we have to default to `cp -pR'.
539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540       as_ln_s='cp -pR'
541   elif ln conf$$.file conf$$ 2>/dev/null; then
542     as_ln_s=ln
543   else
544     as_ln_s='cp -pR'
545   fi
546 else
547   as_ln_s='cp -pR'
548 fi
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
551
552 if mkdir -p . 2>/dev/null; then
553   as_mkdir_p='mkdir -p "$as_dir"'
554 else
555   test -d ./-p && rmdir ./-p
556   as_mkdir_p=false
557 fi
558
559 as_test_x='test -x'
560 as_executable_p=as_fn_executable_p
561
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568 SHELL=${CONFIG_SHELL-/bin/sh}
569
570 as_awk_strverscmp='
571   # Use only awk features that work with 7th edition Unix awk (1978).
572   # My, what an old awk you have, Mr. Solaris!
573   END {
574     while (length(v1) && length(v2)) {
575       # Set d1 to be the next thing to compare from v1, and likewise for d2.
576       # Normally this is a single character, but if v1 and v2 contain digits,
577       # compare them as integers and fractions as strverscmp does.
578       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
579         # Split v1 and v2 into their leading digit string components d1 and d2,
580         # and advance v1 and v2 past the leading digit strings.
581         for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
582         for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
583         d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
584         d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
585         if (d1 ~ /^0/) {
586           if (d2 ~ /^0/) {
587             # Compare two fractions.
588             while (d1 ~ /^0/ && d2 ~ /^0/) {
589               d1 = substr(d1, 2); len1--
590               d2 = substr(d2, 2); len2--
591             }
592             if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
593               # The two components differ in length, and the common prefix
594               # contains only leading zeros.  Consider the longer to be less.
595               d1 = -len1
596               d2 = -len2
597             } else {
598               # Otherwise, compare as strings.
599               d1 = "x" d1
600               d2 = "x" d2
601             }
602           } else {
603             # A fraction is less than an integer.
604             exit 1
605           }
606         } else {
607           if (d2 ~ /^0/) {
608             # An integer is greater than a fraction.
609             exit 2
610           } else {
611             # Compare two integers.
612             d1 += 0
613             d2 += 0
614           }
615         }
616       } else {
617         # The normal case, without worrying about digits.
618         d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
619         d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
620       }
621       if (d1 < d2) exit 1
622       if (d1 > d2) exit 2
623     }
624     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
625     # which mishandles some comparisons of empty strings to integers.
626     if (length(v2)) exit 1
627     if (length(v1)) exit 2
628   }
629 '
630
631 test -n "$DJDIR" || exec 7<&0 </dev/null
632 exec 6>&1
633
634 # Name of the host.
635 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
636 # so uname gets run too.
637 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
638
639 #
640 # Initializations.
641 #
642 ac_default_prefix=/usr/local
643 ac_clean_files=
644 ac_config_libobj_dir=.
645 LIBOBJS=
646 cross_compiling=no
647 subdirs=
648 MFLAGS=
649 MAKEFLAGS=
650
651 # Identity of this package.
652 PACKAGE_NAME='gssdp'
653 PACKAGE_TARNAME='gssdp'
654 PACKAGE_VERSION='0.14.3'
655 PACKAGE_STRING='gssdp 0.14.3'
656 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gssdp'
657 PACKAGE_URL='http://www.gupnp.org/'
658
659 ac_unique_file="libgssdp/gssdp-client.c"
660 # Factoring default headers for most tests.
661 ac_includes_default="\
662 #include <stdio.h>
663 #ifdef HAVE_SYS_TYPES_H
664 # include <sys/types.h>
665 #endif
666 #ifdef HAVE_SYS_STAT_H
667 # include <sys/stat.h>
668 #endif
669 #ifdef STDC_HEADERS
670 # include <stdlib.h>
671 # include <stddef.h>
672 #else
673 # ifdef HAVE_STDLIB_H
674 #  include <stdlib.h>
675 # endif
676 #endif
677 #ifdef HAVE_STRING_H
678 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
679 #  include <memory.h>
680 # endif
681 # include <string.h>
682 #endif
683 #ifdef HAVE_STRINGS_H
684 # include <strings.h>
685 #endif
686 #ifdef HAVE_INTTYPES_H
687 # include <inttypes.h>
688 #endif
689 #ifdef HAVE_STDINT_H
690 # include <stdint.h>
691 #endif
692 #ifdef HAVE_UNISTD_H
693 # include <unistd.h>
694 #endif"
695
696 ac_subst_vars='am__EXEEXT_FALSE
697 am__EXEEXT_TRUE
698 LTLIBOBJS
699 LIBOBJS
700 GTK_DOC_USE_REBASE_FALSE
701 GTK_DOC_USE_REBASE_TRUE
702 GTK_DOC_USE_LIBTOOL_FALSE
703 GTK_DOC_USE_LIBTOOL_TRUE
704 GTK_DOC_BUILD_PDF_FALSE
705 GTK_DOC_BUILD_PDF_TRUE
706 GTK_DOC_BUILD_HTML_FALSE
707 GTK_DOC_BUILD_HTML_TRUE
708 ENABLE_GTK_DOC_FALSE
709 ENABLE_GTK_DOC_TRUE
710 GTKDOC_DEPS_LIBS
711 GTKDOC_DEPS_CFLAGS
712 HTML_DIR
713 GTKDOC_MKPDF
714 GTKDOC_REBASE
715 GTKDOC_CHECK
716 OS_WIN32_FALSE
717 OS_WIN32_TRUE
718 HAVE_VAPIGEN_FALSE
719 HAVE_VAPIGEN_TRUE
720 VAPIGEN
721 HAVE_INTROSPECTION_FALSE
722 HAVE_INTROSPECTION_TRUE
723 INTROSPECTION_MAKEFILE
724 INTROSPECTION_LIBS
725 INTROSPECTION_CFLAGS
726 INTROSPECTION_TYPELIBDIR
727 INTROSPECTION_GIRDIR
728 INTROSPECTION_GENERATE
729 INTROSPECTION_COMPILER
730 INTROSPECTION_SCANNER
731 GLIB_GENMARSHAL
732 USE_LIBGTK_FALSE
733 USE_LIBGTK_TRUE
734 HAVE_LIBGTK
735 LIBGTK_LIBS
736 LIBGTK_CFLAGS
737 LIBGSSDP_LIBS
738 LIBGSSDP_CFLAGS
739 PKG_CONFIG_LIBDIR
740 PKG_CONFIG_PATH
741 PKG_CONFIG
742 OTOOL64
743 OTOOL
744 LIPO
745 NMEDIT
746 DSYMUTIL
747 MANIFEST_TOOL
748 RANLIB
749 ac_ct_AR
750 AR
751 DLLTOOL
752 OBJDUMP
753 LN_S
754 NM
755 ac_ct_DUMPBIN
756 DUMPBIN
757 LD
758 FGREP
759 SED
760 host_os
761 host_vendor
762 host_cpu
763 host
764 build_os
765 build_vendor
766 build_cpu
767 build
768 LIBTOOL
769 EGREP
770 GREP
771 CPP
772 am__fastdepCC_FALSE
773 am__fastdepCC_TRUE
774 CCDEPMODE
775 am__nodep
776 AMDEPBACKSLASH
777 AMDEP_FALSE
778 AMDEP_TRUE
779 am__quote
780 am__include
781 DEPDIR
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
788 CC
789 AM_BACKSLASH
790 AM_DEFAULT_VERBOSITY
791 AM_DEFAULT_V
792 AM_V
793 MAINT
794 MAINTAINER_MODE_FALSE
795 MAINTAINER_MODE_TRUE
796 am__untar
797 am__tar
798 AMTAR
799 am__leading_dot
800 SET_MAKE
801 AWK
802 mkdir_p
803 MKDIR_P
804 INSTALL_STRIP_PROGRAM
805 STRIP
806 install_sh
807 MAKEINFO
808 AUTOHEADER
809 AUTOMAKE
810 AUTOCONF
811 ACLOCAL
812 VERSION
813 PACKAGE
814 CYGPATH_W
815 am__isrc
816 INSTALL_DATA
817 INSTALL_SCRIPT
818 INSTALL_PROGRAM
819 target_alias
820 host_alias
821 build_alias
822 LIBS
823 ECHO_T
824 ECHO_N
825 ECHO_C
826 DEFS
827 mandir
828 localedir
829 libdir
830 psdir
831 pdfdir
832 dvidir
833 htmldir
834 infodir
835 docdir
836 oldincludedir
837 includedir
838 localstatedir
839 sharedstatedir
840 sysconfdir
841 datadir
842 datarootdir
843 libexecdir
844 sbindir
845 bindir
846 program_transform_name
847 prefix
848 exec_prefix
849 PACKAGE_URL
850 PACKAGE_BUGREPORT
851 PACKAGE_STRING
852 PACKAGE_VERSION
853 PACKAGE_TARNAME
854 PACKAGE_NAME
855 PATH_SEPARATOR
856 SHELL'
857 ac_subst_files=''
858 ac_user_opts='
859 enable_option_checking
860 enable_maintainer_mode
861 enable_silent_rules
862 enable_dependency_tracking
863 enable_shared
864 enable_static
865 with_pic
866 enable_fast_install
867 with_gnu_ld
868 with_sysroot
869 enable_libtool_lock
870 with_gtk
871 enable_debug
872 enable_strict_c
873 enable_introspection
874 with_html_dir
875 enable_gtk_doc
876 enable_gtk_doc_html
877 enable_gtk_doc_pdf
878 '
879       ac_precious_vars='build_alias
880 host_alias
881 target_alias
882 CC
883 CFLAGS
884 LDFLAGS
885 LIBS
886 CPPFLAGS
887 CPP
888 PKG_CONFIG
889 PKG_CONFIG_PATH
890 PKG_CONFIG_LIBDIR
891 LIBGSSDP_CFLAGS
892 LIBGSSDP_LIBS
893 LIBGTK_CFLAGS
894 LIBGTK_LIBS
895 GTKDOC_DEPS_CFLAGS
896 GTKDOC_DEPS_LIBS'
897
898
899 # Initialize some variables set by options.
900 ac_init_help=
901 ac_init_version=false
902 ac_unrecognized_opts=
903 ac_unrecognized_sep=
904 # The variables have the same names as the options, with
905 # dashes changed to underlines.
906 cache_file=/dev/null
907 exec_prefix=NONE
908 no_create=
909 no_recursion=
910 prefix=NONE
911 program_prefix=NONE
912 program_suffix=NONE
913 program_transform_name=s,x,x,
914 silent=
915 site=
916 srcdir=
917 verbose=
918 x_includes=NONE
919 x_libraries=NONE
920
921 # Installation directory options.
922 # These are left unexpanded so users can "make install exec_prefix=/foo"
923 # and all the variables that are supposed to be based on exec_prefix
924 # by default will actually change.
925 # Use braces instead of parens because sh, perl, etc. also accept them.
926 # (The list follows the same order as the GNU Coding Standards.)
927 bindir='${exec_prefix}/bin'
928 sbindir='${exec_prefix}/sbin'
929 libexecdir='${exec_prefix}/libexec'
930 datarootdir='${prefix}/share'
931 datadir='${datarootdir}'
932 sysconfdir='${prefix}/etc'
933 sharedstatedir='${prefix}/com'
934 localstatedir='${prefix}/var'
935 includedir='${prefix}/include'
936 oldincludedir='/usr/include'
937 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
938 infodir='${datarootdir}/info'
939 htmldir='${docdir}'
940 dvidir='${docdir}'
941 pdfdir='${docdir}'
942 psdir='${docdir}'
943 libdir='${exec_prefix}/lib'
944 localedir='${datarootdir}/locale'
945 mandir='${datarootdir}/man'
946
947 ac_prev=
948 ac_dashdash=
949 for ac_option
950 do
951   # If the previous option needs an argument, assign it.
952   if test -n "$ac_prev"; then
953     eval $ac_prev=\$ac_option
954     ac_prev=
955     continue
956   fi
957
958   case $ac_option in
959   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
960   *=)   ac_optarg= ;;
961   *)    ac_optarg=yes ;;
962   esac
963
964   # Accept the important Cygnus configure options, so we can diagnose typos.
965
966   case $ac_dashdash$ac_option in
967   --)
968     ac_dashdash=yes ;;
969
970   -bindir | --bindir | --bindi | --bind | --bin | --bi)
971     ac_prev=bindir ;;
972   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
973     bindir=$ac_optarg ;;
974
975   -build | --build | --buil | --bui | --bu)
976     ac_prev=build_alias ;;
977   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
978     build_alias=$ac_optarg ;;
979
980   -cache-file | --cache-file | --cache-fil | --cache-fi \
981   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
982     ac_prev=cache_file ;;
983   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
984   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
985     cache_file=$ac_optarg ;;
986
987   --config-cache | -C)
988     cache_file=config.cache ;;
989
990   -datadir | --datadir | --datadi | --datad)
991     ac_prev=datadir ;;
992   -datadir=* | --datadir=* | --datadi=* | --datad=*)
993     datadir=$ac_optarg ;;
994
995   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
996   | --dataroo | --dataro | --datar)
997     ac_prev=datarootdir ;;
998   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
999   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1000     datarootdir=$ac_optarg ;;
1001
1002   -disable-* | --disable-*)
1003     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1004     # Reject names that are not valid shell variable names.
1005     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1006       as_fn_error $? "invalid feature name: $ac_useropt"
1007     ac_useropt_orig=$ac_useropt
1008     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1009     case $ac_user_opts in
1010       *"
1011 "enable_$ac_useropt"
1012 "*) ;;
1013       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1014          ac_unrecognized_sep=', ';;
1015     esac
1016     eval enable_$ac_useropt=no ;;
1017
1018   -docdir | --docdir | --docdi | --doc | --do)
1019     ac_prev=docdir ;;
1020   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1021     docdir=$ac_optarg ;;
1022
1023   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1024     ac_prev=dvidir ;;
1025   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1026     dvidir=$ac_optarg ;;
1027
1028   -enable-* | --enable-*)
1029     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1030     # Reject names that are not valid shell variable names.
1031     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1032       as_fn_error $? "invalid feature name: $ac_useropt"
1033     ac_useropt_orig=$ac_useropt
1034     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1035     case $ac_user_opts in
1036       *"
1037 "enable_$ac_useropt"
1038 "*) ;;
1039       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1040          ac_unrecognized_sep=', ';;
1041     esac
1042     eval enable_$ac_useropt=\$ac_optarg ;;
1043
1044   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1045   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1046   | --exec | --exe | --ex)
1047     ac_prev=exec_prefix ;;
1048   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1049   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1050   | --exec=* | --exe=* | --ex=*)
1051     exec_prefix=$ac_optarg ;;
1052
1053   -gas | --gas | --ga | --g)
1054     # Obsolete; use --with-gas.
1055     with_gas=yes ;;
1056
1057   -help | --help | --hel | --he | -h)
1058     ac_init_help=long ;;
1059   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1060     ac_init_help=recursive ;;
1061   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1062     ac_init_help=short ;;
1063
1064   -host | --host | --hos | --ho)
1065     ac_prev=host_alias ;;
1066   -host=* | --host=* | --hos=* | --ho=*)
1067     host_alias=$ac_optarg ;;
1068
1069   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1070     ac_prev=htmldir ;;
1071   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1072   | --ht=*)
1073     htmldir=$ac_optarg ;;
1074
1075   -includedir | --includedir | --includedi | --included | --include \
1076   | --includ | --inclu | --incl | --inc)
1077     ac_prev=includedir ;;
1078   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1079   | --includ=* | --inclu=* | --incl=* | --inc=*)
1080     includedir=$ac_optarg ;;
1081
1082   -infodir | --infodir | --infodi | --infod | --info | --inf)
1083     ac_prev=infodir ;;
1084   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1085     infodir=$ac_optarg ;;
1086
1087   -libdir | --libdir | --libdi | --libd)
1088     ac_prev=libdir ;;
1089   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1090     libdir=$ac_optarg ;;
1091
1092   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1093   | --libexe | --libex | --libe)
1094     ac_prev=libexecdir ;;
1095   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1096   | --libexe=* | --libex=* | --libe=*)
1097     libexecdir=$ac_optarg ;;
1098
1099   -localedir | --localedir | --localedi | --localed | --locale)
1100     ac_prev=localedir ;;
1101   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1102     localedir=$ac_optarg ;;
1103
1104   -localstatedir | --localstatedir | --localstatedi | --localstated \
1105   | --localstate | --localstat | --localsta | --localst | --locals)
1106     ac_prev=localstatedir ;;
1107   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1108   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1109     localstatedir=$ac_optarg ;;
1110
1111   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1112     ac_prev=mandir ;;
1113   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1114     mandir=$ac_optarg ;;
1115
1116   -nfp | --nfp | --nf)
1117     # Obsolete; use --without-fp.
1118     with_fp=no ;;
1119
1120   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1121   | --no-cr | --no-c | -n)
1122     no_create=yes ;;
1123
1124   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1125   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1126     no_recursion=yes ;;
1127
1128   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1129   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1130   | --oldin | --oldi | --old | --ol | --o)
1131     ac_prev=oldincludedir ;;
1132   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1133   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1134   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1135     oldincludedir=$ac_optarg ;;
1136
1137   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1138     ac_prev=prefix ;;
1139   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1140     prefix=$ac_optarg ;;
1141
1142   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1143   | --program-pre | --program-pr | --program-p)
1144     ac_prev=program_prefix ;;
1145   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1146   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1147     program_prefix=$ac_optarg ;;
1148
1149   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1150   | --program-suf | --program-su | --program-s)
1151     ac_prev=program_suffix ;;
1152   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1153   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1154     program_suffix=$ac_optarg ;;
1155
1156   -program-transform-name | --program-transform-name \
1157   | --program-transform-nam | --program-transform-na \
1158   | --program-transform-n | --program-transform- \
1159   | --program-transform | --program-transfor \
1160   | --program-transfo | --program-transf \
1161   | --program-trans | --program-tran \
1162   | --progr-tra | --program-tr | --program-t)
1163     ac_prev=program_transform_name ;;
1164   -program-transform-name=* | --program-transform-name=* \
1165   | --program-transform-nam=* | --program-transform-na=* \
1166   | --program-transform-n=* | --program-transform-=* \
1167   | --program-transform=* | --program-transfor=* \
1168   | --program-transfo=* | --program-transf=* \
1169   | --program-trans=* | --program-tran=* \
1170   | --progr-tra=* | --program-tr=* | --program-t=*)
1171     program_transform_name=$ac_optarg ;;
1172
1173   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1174     ac_prev=pdfdir ;;
1175   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1176     pdfdir=$ac_optarg ;;
1177
1178   -psdir | --psdir | --psdi | --psd | --ps)
1179     ac_prev=psdir ;;
1180   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1181     psdir=$ac_optarg ;;
1182
1183   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1184   | -silent | --silent | --silen | --sile | --sil)
1185     silent=yes ;;
1186
1187   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1188     ac_prev=sbindir ;;
1189   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1190   | --sbi=* | --sb=*)
1191     sbindir=$ac_optarg ;;
1192
1193   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1194   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1195   | --sharedst | --shareds | --shared | --share | --shar \
1196   | --sha | --sh)
1197     ac_prev=sharedstatedir ;;
1198   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1199   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1200   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1201   | --sha=* | --sh=*)
1202     sharedstatedir=$ac_optarg ;;
1203
1204   -site | --site | --sit)
1205     ac_prev=site ;;
1206   -site=* | --site=* | --sit=*)
1207     site=$ac_optarg ;;
1208
1209   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1210     ac_prev=srcdir ;;
1211   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1212     srcdir=$ac_optarg ;;
1213
1214   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1215   | --syscon | --sysco | --sysc | --sys | --sy)
1216     ac_prev=sysconfdir ;;
1217   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1218   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1219     sysconfdir=$ac_optarg ;;
1220
1221   -target | --target | --targe | --targ | --tar | --ta | --t)
1222     ac_prev=target_alias ;;
1223   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1224     target_alias=$ac_optarg ;;
1225
1226   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1227     verbose=yes ;;
1228
1229   -version | --version | --versio | --versi | --vers | -V)
1230     ac_init_version=: ;;
1231
1232   -with-* | --with-*)
1233     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1234     # Reject names that are not valid shell variable names.
1235     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1236       as_fn_error $? "invalid package name: $ac_useropt"
1237     ac_useropt_orig=$ac_useropt
1238     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1239     case $ac_user_opts in
1240       *"
1241 "with_$ac_useropt"
1242 "*) ;;
1243       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1244          ac_unrecognized_sep=', ';;
1245     esac
1246     eval with_$ac_useropt=\$ac_optarg ;;
1247
1248   -without-* | --without-*)
1249     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1250     # Reject names that are not valid shell variable names.
1251     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1252       as_fn_error $? "invalid package name: $ac_useropt"
1253     ac_useropt_orig=$ac_useropt
1254     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1255     case $ac_user_opts in
1256       *"
1257 "with_$ac_useropt"
1258 "*) ;;
1259       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1260          ac_unrecognized_sep=', ';;
1261     esac
1262     eval with_$ac_useropt=no ;;
1263
1264   --x)
1265     # Obsolete; use --with-x.
1266     with_x=yes ;;
1267
1268   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1269   | --x-incl | --x-inc | --x-in | --x-i)
1270     ac_prev=x_includes ;;
1271   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1272   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1273     x_includes=$ac_optarg ;;
1274
1275   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1276   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1277     ac_prev=x_libraries ;;
1278   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1279   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1280     x_libraries=$ac_optarg ;;
1281
1282   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1283 Try \`$0 --help' for more information"
1284     ;;
1285
1286   *=*)
1287     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1288     # Reject names that are not valid shell variable names.
1289     case $ac_envvar in #(
1290       '' | [0-9]* | *[!_$as_cr_alnum]* )
1291       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1292     esac
1293     eval $ac_envvar=\$ac_optarg
1294     export $ac_envvar ;;
1295
1296   *)
1297     # FIXME: should be removed in autoconf 3.0.
1298     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1299     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1300       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1301     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1302     ;;
1303
1304   esac
1305 done
1306
1307 if test -n "$ac_prev"; then
1308   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1309   as_fn_error $? "missing argument to $ac_option"
1310 fi
1311
1312 if test -n "$ac_unrecognized_opts"; then
1313   case $enable_option_checking in
1314     no) ;;
1315     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1316     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1317   esac
1318 fi
1319
1320 # Check all directory arguments for consistency.
1321 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1322                 datadir sysconfdir sharedstatedir localstatedir includedir \
1323                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1324                 libdir localedir mandir
1325 do
1326   eval ac_val=\$$ac_var
1327   # Remove trailing slashes.
1328   case $ac_val in
1329     */ )
1330       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1331       eval $ac_var=\$ac_val;;
1332   esac
1333   # Be sure to have absolute directory names.
1334   case $ac_val in
1335     [\\/$]* | ?:[\\/]* )  continue;;
1336     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1337   esac
1338   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1339 done
1340
1341 # There might be people who depend on the old broken behavior: `$host'
1342 # used to hold the argument of --host etc.
1343 # FIXME: To remove some day.
1344 build=$build_alias
1345 host=$host_alias
1346 target=$target_alias
1347
1348 # FIXME: To remove some day.
1349 if test "x$host_alias" != x; then
1350   if test "x$build_alias" = x; then
1351     cross_compiling=maybe
1352   elif test "x$build_alias" != "x$host_alias"; then
1353     cross_compiling=yes
1354   fi
1355 fi
1356
1357 ac_tool_prefix=
1358 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1359
1360 test "$silent" = yes && exec 6>/dev/null
1361
1362
1363 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1364 ac_ls_di=`ls -di .` &&
1365 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1366   as_fn_error $? "working directory cannot be determined"
1367 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1368   as_fn_error $? "pwd does not report name of working directory"
1369
1370
1371 # Find the source files, if location was not specified.
1372 if test -z "$srcdir"; then
1373   ac_srcdir_defaulted=yes
1374   # Try the directory containing this script, then the parent directory.
1375   ac_confdir=`$as_dirname -- "$as_myself" ||
1376 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1377          X"$as_myself" : 'X\(//\)[^/]' \| \
1378          X"$as_myself" : 'X\(//\)$' \| \
1379          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1380 $as_echo X"$as_myself" |
1381     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1382             s//\1/
1383             q
1384           }
1385           /^X\(\/\/\)[^/].*/{
1386             s//\1/
1387             q
1388           }
1389           /^X\(\/\/\)$/{
1390             s//\1/
1391             q
1392           }
1393           /^X\(\/\).*/{
1394             s//\1/
1395             q
1396           }
1397           s/.*/./; q'`
1398   srcdir=$ac_confdir
1399   if test ! -r "$srcdir/$ac_unique_file"; then
1400     srcdir=..
1401   fi
1402 else
1403   ac_srcdir_defaulted=no
1404 fi
1405 if test ! -r "$srcdir/$ac_unique_file"; then
1406   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1407   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1408 fi
1409 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1410 ac_abs_confdir=`(
1411         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1412         pwd)`
1413 # When building in place, set srcdir=.
1414 if test "$ac_abs_confdir" = "$ac_pwd"; then
1415   srcdir=.
1416 fi
1417 # Remove unnecessary trailing slashes from srcdir.
1418 # Double slashes in file names in object file debugging info
1419 # mess up M-x gdb in Emacs.
1420 case $srcdir in
1421 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1422 esac
1423 for ac_var in $ac_precious_vars; do
1424   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1425   eval ac_env_${ac_var}_value=\$${ac_var}
1426   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1427   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1428 done
1429
1430 #
1431 # Report the --help message.
1432 #
1433 if test "$ac_init_help" = "long"; then
1434   # Omit some internal or obsolete options to make the list less imposing.
1435   # This message is too long to be a string in the A/UX 3.1 sh.
1436   cat <<_ACEOF
1437 \`configure' configures gssdp 0.14.3 to adapt to many kinds of systems.
1438
1439 Usage: $0 [OPTION]... [VAR=VALUE]...
1440
1441 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1442 VAR=VALUE.  See below for descriptions of some of the useful variables.
1443
1444 Defaults for the options are specified in brackets.
1445
1446 Configuration:
1447   -h, --help              display this help and exit
1448       --help=short        display options specific to this package
1449       --help=recursive    display the short help of all the included packages
1450   -V, --version           display version information and exit
1451   -q, --quiet, --silent   do not print \`checking ...' messages
1452       --cache-file=FILE   cache test results in FILE [disabled]
1453   -C, --config-cache      alias for \`--cache-file=config.cache'
1454   -n, --no-create         do not create output files
1455       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1456
1457 Installation directories:
1458   --prefix=PREFIX         install architecture-independent files in PREFIX
1459                           [$ac_default_prefix]
1460   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1461                           [PREFIX]
1462
1463 By default, \`make install' will install all the files in
1464 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1465 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1466 for instance \`--prefix=\$HOME'.
1467
1468 For better control, use the options below.
1469
1470 Fine tuning of the installation directories:
1471   --bindir=DIR            user executables [EPREFIX/bin]
1472   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1473   --libexecdir=DIR        program executables [EPREFIX/libexec]
1474   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1475   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1476   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1477   --libdir=DIR            object code libraries [EPREFIX/lib]
1478   --includedir=DIR        C header files [PREFIX/include]
1479   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1480   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1481   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1482   --infodir=DIR           info documentation [DATAROOTDIR/info]
1483   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1484   --mandir=DIR            man documentation [DATAROOTDIR/man]
1485   --docdir=DIR            documentation root [DATAROOTDIR/doc/gssdp]
1486   --htmldir=DIR           html documentation [DOCDIR]
1487   --dvidir=DIR            dvi documentation [DOCDIR]
1488   --pdfdir=DIR            pdf documentation [DOCDIR]
1489   --psdir=DIR             ps documentation [DOCDIR]
1490 _ACEOF
1491
1492   cat <<\_ACEOF
1493
1494 Program names:
1495   --program-prefix=PREFIX            prepend PREFIX to installed program names
1496   --program-suffix=SUFFIX            append SUFFIX to installed program names
1497   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1498
1499 System types:
1500   --build=BUILD     configure for building on BUILD [guessed]
1501   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1502 _ACEOF
1503 fi
1504
1505 if test -n "$ac_init_help"; then
1506   case $ac_init_help in
1507      short | recursive ) echo "Configuration of gssdp 0.14.3:";;
1508    esac
1509   cat <<\_ACEOF
1510
1511 Optional Features:
1512   --disable-option-checking  ignore unrecognized --enable/--with options
1513   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1514   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1515   --disable-maintainer-mode  disable make rules and dependencies not useful
1516                           (and sometimes confusing) to the casual installer
1517   --enable-silent-rules          less verbose build output (undo: `make V=1')
1518   --disable-silent-rules         verbose build output (undo: `make V=0')
1519   --disable-dependency-tracking  speeds up one-time build
1520   --enable-dependency-tracking   do not reject slow dependency extractors
1521   --enable-shared[=PKGS]  build shared libraries [default=yes]
1522   --enable-static[=PKGS]  build static libraries [default=yes]
1523   --enable-fast-install[=PKGS]
1524                           optimize for fast installation [default=yes]
1525   --disable-libtool-lock  avoid locking (might break parallel builds)
1526   --enable-debug          enable debugging
1527   --enable-strict-c       Error out on warnings
1528   --enable-introspection=[no/auto/yes]
1529                           Enable introspection for this build
1530   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1531   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1532   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1533
1534 Optional Packages:
1535   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1536   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1537   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1538                           both]
1539   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1540   --with-sysroot=DIR Search for dependent libraries within DIR
1541                         (or the compiler's sysroot if not specified).
1542   --without-gtk           compile without gtk+ support
1543   --with-html-dir=PATH    path to installed docs
1544
1545 Some influential environment variables:
1546   CC          C compiler command
1547   CFLAGS      C compiler flags
1548   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1549               nonstandard directory <lib dir>
1550   LIBS        libraries to pass to the linker, e.g. -l<library>
1551   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1552               you have headers in a nonstandard directory <include dir>
1553   CPP         C preprocessor
1554   PKG_CONFIG  path to pkg-config utility
1555   PKG_CONFIG_PATH
1556               directories to add to pkg-config's search path
1557   PKG_CONFIG_LIBDIR
1558               path overriding pkg-config's built-in search path
1559   LIBGSSDP_CFLAGS
1560               C compiler flags for LIBGSSDP, overriding pkg-config
1561   LIBGSSDP_LIBS
1562               linker flags for LIBGSSDP, overriding pkg-config
1563   LIBGTK_CFLAGS
1564               C compiler flags for LIBGTK, overriding pkg-config
1565   LIBGTK_LIBS linker flags for LIBGTK, overriding pkg-config
1566   GTKDOC_DEPS_CFLAGS
1567               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1568   GTKDOC_DEPS_LIBS
1569               linker flags for GTKDOC_DEPS, overriding pkg-config
1570
1571 Use these variables to override the choices made by `configure' or to help
1572 it to find libraries and programs with nonstandard names/locations.
1573
1574 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gssdp>.
1575 gssdp home page: <http://www.gupnp.org/>.
1576 _ACEOF
1577 ac_status=$?
1578 fi
1579
1580 if test "$ac_init_help" = "recursive"; then
1581   # If there are subdirs, report their specific --help.
1582   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1583     test -d "$ac_dir" ||
1584       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1585       continue
1586     ac_builddir=.
1587
1588 case "$ac_dir" in
1589 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1590 *)
1591   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1592   # A ".." for each directory in $ac_dir_suffix.
1593   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1594   case $ac_top_builddir_sub in
1595   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1596   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1597   esac ;;
1598 esac
1599 ac_abs_top_builddir=$ac_pwd
1600 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1601 # for backward compatibility:
1602 ac_top_builddir=$ac_top_build_prefix
1603
1604 case $srcdir in
1605   .)  # We are building in place.
1606     ac_srcdir=.
1607     ac_top_srcdir=$ac_top_builddir_sub
1608     ac_abs_top_srcdir=$ac_pwd ;;
1609   [\\/]* | ?:[\\/]* )  # Absolute name.
1610     ac_srcdir=$srcdir$ac_dir_suffix;
1611     ac_top_srcdir=$srcdir
1612     ac_abs_top_srcdir=$srcdir ;;
1613   *) # Relative name.
1614     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1615     ac_top_srcdir=$ac_top_build_prefix$srcdir
1616     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1617 esac
1618 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1619
1620     cd "$ac_dir" || { ac_status=$?; continue; }
1621     # Check for guested configure.
1622     if test -f "$ac_srcdir/configure.gnu"; then
1623       echo &&
1624       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1625     elif test -f "$ac_srcdir/configure"; then
1626       echo &&
1627       $SHELL "$ac_srcdir/configure" --help=recursive
1628     else
1629       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1630     fi || ac_status=$?
1631     cd "$ac_pwd" || { ac_status=$?; break; }
1632   done
1633 fi
1634
1635 test -n "$ac_init_help" && exit $ac_status
1636 if $ac_init_version; then
1637   cat <<\_ACEOF
1638 gssdp configure 0.14.3
1639 generated by GNU Autoconf 2.69
1640
1641 Copyright (C) 2012 Free Software Foundation, Inc.
1642 This configure script is free software; the Free Software Foundation
1643 gives unlimited permission to copy, distribute and modify it.
1644 _ACEOF
1645   exit
1646 fi
1647
1648 ## ------------------------ ##
1649 ## Autoconf initialization. ##
1650 ## ------------------------ ##
1651
1652 # ac_fn_c_try_compile LINENO
1653 # --------------------------
1654 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1655 ac_fn_c_try_compile ()
1656 {
1657   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658   rm -f conftest.$ac_objext
1659   if { { ac_try="$ac_compile"
1660 case "(($ac_try" in
1661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662   *) ac_try_echo=$ac_try;;
1663 esac
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666   (eval "$ac_compile") 2>conftest.err
1667   ac_status=$?
1668   if test -s conftest.err; then
1669     grep -v '^ *+' conftest.err >conftest.er1
1670     cat conftest.er1 >&5
1671     mv -f conftest.er1 conftest.err
1672   fi
1673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674   test $ac_status = 0; } && {
1675          test -z "$ac_c_werror_flag" ||
1676          test ! -s conftest.err
1677        } && test -s conftest.$ac_objext; then :
1678   ac_retval=0
1679 else
1680   $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1682
1683         ac_retval=1
1684 fi
1685   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686   as_fn_set_status $ac_retval
1687
1688 } # ac_fn_c_try_compile
1689
1690 # ac_fn_c_try_link LINENO
1691 # -----------------------
1692 # Try to link conftest.$ac_ext, and return whether this succeeded.
1693 ac_fn_c_try_link ()
1694 {
1695   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696   rm -f conftest.$ac_objext conftest$ac_exeext
1697   if { { ac_try="$ac_link"
1698 case "(($ac_try" in
1699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700   *) ac_try_echo=$ac_try;;
1701 esac
1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704   (eval "$ac_link") 2>conftest.err
1705   ac_status=$?
1706   if test -s conftest.err; then
1707     grep -v '^ *+' conftest.err >conftest.er1
1708     cat conftest.er1 >&5
1709     mv -f conftest.er1 conftest.err
1710   fi
1711   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712   test $ac_status = 0; } && {
1713          test -z "$ac_c_werror_flag" ||
1714          test ! -s conftest.err
1715        } && test -s conftest$ac_exeext && {
1716          test "$cross_compiling" = yes ||
1717          test -x conftest$ac_exeext
1718        }; then :
1719   ac_retval=0
1720 else
1721   $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1723
1724         ac_retval=1
1725 fi
1726   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1727   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1728   # interfere with the next link command; also delete a directory that is
1729   # left behind by Apple's compiler.  We do this before executing the actions.
1730   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1731   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732   as_fn_set_status $ac_retval
1733
1734 } # ac_fn_c_try_link
1735
1736 # ac_fn_c_try_cpp LINENO
1737 # ----------------------
1738 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1739 ac_fn_c_try_cpp ()
1740 {
1741   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742   if { { ac_try="$ac_cpp conftest.$ac_ext"
1743 case "(($ac_try" in
1744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1745   *) ac_try_echo=$ac_try;;
1746 esac
1747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1748 $as_echo "$ac_try_echo"; } >&5
1749   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1750   ac_status=$?
1751   if test -s conftest.err; then
1752     grep -v '^ *+' conftest.err >conftest.er1
1753     cat conftest.er1 >&5
1754     mv -f conftest.er1 conftest.err
1755   fi
1756   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1757   test $ac_status = 0; } > conftest.i && {
1758          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1759          test ! -s conftest.err
1760        }; then :
1761   ac_retval=0
1762 else
1763   $as_echo "$as_me: failed program was:" >&5
1764 sed 's/^/| /' conftest.$ac_ext >&5
1765
1766     ac_retval=1
1767 fi
1768   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769   as_fn_set_status $ac_retval
1770
1771 } # ac_fn_c_try_cpp
1772
1773 # ac_fn_c_try_run LINENO
1774 # ----------------------
1775 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1776 # that executables *can* be run.
1777 ac_fn_c_try_run ()
1778 {
1779   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780   if { { ac_try="$ac_link"
1781 case "(($ac_try" in
1782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783   *) ac_try_echo=$ac_try;;
1784 esac
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787   (eval "$ac_link") 2>&5
1788   ac_status=$?
1789   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1791   { { case "(($ac_try" in
1792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1793   *) ac_try_echo=$ac_try;;
1794 esac
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797   (eval "$ac_try") 2>&5
1798   ac_status=$?
1799   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800   test $ac_status = 0; }; }; then :
1801   ac_retval=0
1802 else
1803   $as_echo "$as_me: program exited with status $ac_status" >&5
1804        $as_echo "$as_me: failed program was:" >&5
1805 sed 's/^/| /' conftest.$ac_ext >&5
1806
1807        ac_retval=$ac_status
1808 fi
1809   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1810   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1811   as_fn_set_status $ac_retval
1812
1813 } # ac_fn_c_try_run
1814
1815 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1816 # -------------------------------------------------------
1817 # Tests whether HEADER exists and can be compiled using the include files in
1818 # INCLUDES, setting the cache variable VAR accordingly.
1819 ac_fn_c_check_header_compile ()
1820 {
1821   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1823 $as_echo_n "checking for $2... " >&6; }
1824 if eval \${$3+:} false; then :
1825   $as_echo_n "(cached) " >&6
1826 else
1827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h.  */
1829 $4
1830 #include <$2>
1831 _ACEOF
1832 if ac_fn_c_try_compile "$LINENO"; then :
1833   eval "$3=yes"
1834 else
1835   eval "$3=no"
1836 fi
1837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1838 fi
1839 eval ac_res=\$$3
1840                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1841 $as_echo "$ac_res" >&6; }
1842   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843
1844 } # ac_fn_c_check_header_compile
1845
1846 # ac_fn_c_check_func LINENO FUNC VAR
1847 # ----------------------------------
1848 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1849 ac_fn_c_check_func ()
1850 {
1851   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1853 $as_echo_n "checking for $2... " >&6; }
1854 if eval \${$3+:} false; then :
1855   $as_echo_n "(cached) " >&6
1856 else
1857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h.  */
1859 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1860    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1861 #define $2 innocuous_$2
1862
1863 /* System header to define __stub macros and hopefully few prototypes,
1864     which can conflict with char $2 (); below.
1865     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1866     <limits.h> exists even on freestanding compilers.  */
1867
1868 #ifdef __STDC__
1869 # include <limits.h>
1870 #else
1871 # include <assert.h>
1872 #endif
1873
1874 #undef $2
1875
1876 /* Override any GCC internal prototype to avoid an error.
1877    Use char because int might match the return type of a GCC
1878    builtin and then its argument prototype would still apply.  */
1879 #ifdef __cplusplus
1880 extern "C"
1881 #endif
1882 char $2 ();
1883 /* The GNU C library defines this for functions which it implements
1884     to always fail with ENOSYS.  Some functions are actually named
1885     something starting with __ and the normal name is an alias.  */
1886 #if defined __stub_$2 || defined __stub___$2
1887 choke me
1888 #endif
1889
1890 int
1891 main ()
1892 {
1893 return $2 ();
1894   ;
1895   return 0;
1896 }
1897 _ACEOF
1898 if ac_fn_c_try_link "$LINENO"; then :
1899   eval "$3=yes"
1900 else
1901   eval "$3=no"
1902 fi
1903 rm -f core conftest.err conftest.$ac_objext \
1904     conftest$ac_exeext conftest.$ac_ext
1905 fi
1906 eval ac_res=\$$3
1907                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908 $as_echo "$ac_res" >&6; }
1909   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910
1911 } # ac_fn_c_check_func
1912 cat >config.log <<_ACEOF
1913 This file contains any messages produced by compilers while
1914 running configure, to aid debugging if configure makes a mistake.
1915
1916 It was created by gssdp $as_me 0.14.3, which was
1917 generated by GNU Autoconf 2.69.  Invocation command line was
1918
1919   $ $0 $@
1920
1921 _ACEOF
1922 exec 5>>config.log
1923 {
1924 cat <<_ASUNAME
1925 ## --------- ##
1926 ## Platform. ##
1927 ## --------- ##
1928
1929 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1930 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1931 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1932 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1933 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1934
1935 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1936 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1937
1938 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1939 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1940 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1941 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1942 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1943 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1944 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1945
1946 _ASUNAME
1947
1948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1949 for as_dir in $PATH
1950 do
1951   IFS=$as_save_IFS
1952   test -z "$as_dir" && as_dir=.
1953     $as_echo "PATH: $as_dir"
1954   done
1955 IFS=$as_save_IFS
1956
1957 } >&5
1958
1959 cat >&5 <<_ACEOF
1960
1961
1962 ## ----------- ##
1963 ## Core tests. ##
1964 ## ----------- ##
1965
1966 _ACEOF
1967
1968
1969 # Keep a trace of the command line.
1970 # Strip out --no-create and --no-recursion so they do not pile up.
1971 # Strip out --silent because we don't want to record it for future runs.
1972 # Also quote any args containing shell meta-characters.
1973 # Make two passes to allow for proper duplicate-argument suppression.
1974 ac_configure_args=
1975 ac_configure_args0=
1976 ac_configure_args1=
1977 ac_must_keep_next=false
1978 for ac_pass in 1 2
1979 do
1980   for ac_arg
1981   do
1982     case $ac_arg in
1983     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1984     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1985     | -silent | --silent | --silen | --sile | --sil)
1986       continue ;;
1987     *\'*)
1988       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1989     esac
1990     case $ac_pass in
1991     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1992     2)
1993       as_fn_append ac_configure_args1 " '$ac_arg'"
1994       if test $ac_must_keep_next = true; then
1995         ac_must_keep_next=false # Got value, back to normal.
1996       else
1997         case $ac_arg in
1998           *=* | --config-cache | -C | -disable-* | --disable-* \
1999           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2000           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2001           | -with-* | --with-* | -without-* | --without-* | --x)
2002             case "$ac_configure_args0 " in
2003               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2004             esac
2005             ;;
2006           -* ) ac_must_keep_next=true ;;
2007         esac
2008       fi
2009       as_fn_append ac_configure_args " '$ac_arg'"
2010       ;;
2011     esac
2012   done
2013 done
2014 { ac_configure_args0=; unset ac_configure_args0;}
2015 { ac_configure_args1=; unset ac_configure_args1;}
2016
2017 # When interrupted or exit'd, cleanup temporary files, and complete
2018 # config.log.  We remove comments because anyway the quotes in there
2019 # would cause problems or look ugly.
2020 # WARNING: Use '\'' to represent an apostrophe within the trap.
2021 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2022 trap 'exit_status=$?
2023   # Save into config.log some information that might help in debugging.
2024   {
2025     echo
2026
2027     $as_echo "## ---------------- ##
2028 ## Cache variables. ##
2029 ## ---------------- ##"
2030     echo
2031     # The following way of writing the cache mishandles newlines in values,
2032 (
2033   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2034     eval ac_val=\$$ac_var
2035     case $ac_val in #(
2036     *${as_nl}*)
2037       case $ac_var in #(
2038       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2039 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2040       esac
2041       case $ac_var in #(
2042       _ | IFS | as_nl) ;; #(
2043       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2044       *) { eval $ac_var=; unset $ac_var;} ;;
2045       esac ;;
2046     esac
2047   done
2048   (set) 2>&1 |
2049     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2050     *${as_nl}ac_space=\ *)
2051       sed -n \
2052         "s/'\''/'\''\\\\'\'''\''/g;
2053           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2054       ;; #(
2055     *)
2056       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2057       ;;
2058     esac |
2059     sort
2060 )
2061     echo
2062
2063     $as_echo "## ----------------- ##
2064 ## Output variables. ##
2065 ## ----------------- ##"
2066     echo
2067     for ac_var in $ac_subst_vars
2068     do
2069       eval ac_val=\$$ac_var
2070       case $ac_val in
2071       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2072       esac
2073       $as_echo "$ac_var='\''$ac_val'\''"
2074     done | sort
2075     echo
2076
2077     if test -n "$ac_subst_files"; then
2078       $as_echo "## ------------------- ##
2079 ## File substitutions. ##
2080 ## ------------------- ##"
2081       echo
2082       for ac_var in $ac_subst_files
2083       do
2084         eval ac_val=\$$ac_var
2085         case $ac_val in
2086         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2087         esac
2088         $as_echo "$ac_var='\''$ac_val'\''"
2089       done | sort
2090       echo
2091     fi
2092
2093     if test -s confdefs.h; then
2094       $as_echo "## ----------- ##
2095 ## confdefs.h. ##
2096 ## ----------- ##"
2097       echo
2098       cat confdefs.h
2099       echo
2100     fi
2101     test "$ac_signal" != 0 &&
2102       $as_echo "$as_me: caught signal $ac_signal"
2103     $as_echo "$as_me: exit $exit_status"
2104   } >&5
2105   rm -f core *.core core.conftest.* &&
2106     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2107     exit $exit_status
2108 ' 0
2109 for ac_signal in 1 2 13 15; do
2110   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2111 done
2112 ac_signal=0
2113
2114 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2115 rm -f -r conftest* confdefs.h
2116
2117 $as_echo "/* confdefs.h */" > confdefs.h
2118
2119 # Predefined preprocessor variables.
2120
2121 cat >>confdefs.h <<_ACEOF
2122 #define PACKAGE_NAME "$PACKAGE_NAME"
2123 _ACEOF
2124
2125 cat >>confdefs.h <<_ACEOF
2126 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2127 _ACEOF
2128
2129 cat >>confdefs.h <<_ACEOF
2130 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2131 _ACEOF
2132
2133 cat >>confdefs.h <<_ACEOF
2134 #define PACKAGE_STRING "$PACKAGE_STRING"
2135 _ACEOF
2136
2137 cat >>confdefs.h <<_ACEOF
2138 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2139 _ACEOF
2140
2141 cat >>confdefs.h <<_ACEOF
2142 #define PACKAGE_URL "$PACKAGE_URL"
2143 _ACEOF
2144
2145
2146 # Let the site file select an alternate cache file if it wants to.
2147 # Prefer an explicitly selected file to automatically selected ones.
2148 ac_site_file1=NONE
2149 ac_site_file2=NONE
2150 if test -n "$CONFIG_SITE"; then
2151   # We do not want a PATH search for config.site.
2152   case $CONFIG_SITE in #((
2153     -*)  ac_site_file1=./$CONFIG_SITE;;
2154     */*) ac_site_file1=$CONFIG_SITE;;
2155     *)   ac_site_file1=./$CONFIG_SITE;;
2156   esac
2157 elif test "x$prefix" != xNONE; then
2158   ac_site_file1=$prefix/share/config.site
2159   ac_site_file2=$prefix/etc/config.site
2160 else
2161   ac_site_file1=$ac_default_prefix/share/config.site
2162   ac_site_file2=$ac_default_prefix/etc/config.site
2163 fi
2164 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2165 do
2166   test "x$ac_site_file" = xNONE && continue
2167   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2168     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2169 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2170     sed 's/^/| /' "$ac_site_file" >&5
2171     . "$ac_site_file" \
2172       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2174 as_fn_error $? "failed to load site script $ac_site_file
2175 See \`config.log' for more details" "$LINENO" 5; }
2176   fi
2177 done
2178
2179 if test -r "$cache_file"; then
2180   # Some versions of bash will fail to source /dev/null (special files
2181   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2182   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2183     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2184 $as_echo "$as_me: loading cache $cache_file" >&6;}
2185     case $cache_file in
2186       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2187       *)                      . "./$cache_file";;
2188     esac
2189   fi
2190 else
2191   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2192 $as_echo "$as_me: creating cache $cache_file" >&6;}
2193   >$cache_file
2194 fi
2195
2196 # Check that the precious variables saved in the cache have kept the same
2197 # value.
2198 ac_cache_corrupted=false
2199 for ac_var in $ac_precious_vars; do
2200   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2201   eval ac_new_set=\$ac_env_${ac_var}_set
2202   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2203   eval ac_new_val=\$ac_env_${ac_var}_value
2204   case $ac_old_set,$ac_new_set in
2205     set,)
2206       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2207 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2208       ac_cache_corrupted=: ;;
2209     ,set)
2210       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2211 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2212       ac_cache_corrupted=: ;;
2213     ,);;
2214     *)
2215       if test "x$ac_old_val" != "x$ac_new_val"; then
2216         # differences in whitespace do not lead to failure.
2217         ac_old_val_w=`echo x $ac_old_val`
2218         ac_new_val_w=`echo x $ac_new_val`
2219         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2220           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2221 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2222           ac_cache_corrupted=:
2223         else
2224           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2225 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2226           eval $ac_var=\$ac_old_val
2227         fi
2228         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2229 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2230         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2231 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2232       fi;;
2233   esac
2234   # Pass precious variables to config.status.
2235   if test "$ac_new_set" = set; then
2236     case $ac_new_val in
2237     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2238     *) ac_arg=$ac_var=$ac_new_val ;;
2239     esac
2240     case " $ac_configure_args " in
2241       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2242       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2243     esac
2244   fi
2245 done
2246 if $ac_cache_corrupted; then
2247   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2249   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2250 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2251   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2252 fi
2253 ## -------------------- ##
2254 ## Main body of script. ##
2255 ## -------------------- ##
2256
2257 ac_ext=c
2258 ac_cpp='$CPP $CPPFLAGS'
2259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2262
2263
2264
2265 ac_config_headers="$ac_config_headers config.h"
2266
2267
2268
2269 ac_aux_dir=
2270 for ac_dir in build-aux "$srcdir"/build-aux; do
2271   if test -f "$ac_dir/install-sh"; then
2272     ac_aux_dir=$ac_dir
2273     ac_install_sh="$ac_aux_dir/install-sh -c"
2274     break
2275   elif test -f "$ac_dir/install.sh"; then
2276     ac_aux_dir=$ac_dir
2277     ac_install_sh="$ac_aux_dir/install.sh -c"
2278     break
2279   elif test -f "$ac_dir/shtool"; then
2280     ac_aux_dir=$ac_dir
2281     ac_install_sh="$ac_aux_dir/shtool install -c"
2282     break
2283   fi
2284 done
2285 if test -z "$ac_aux_dir"; then
2286   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2287 fi
2288
2289 # These three variables are undocumented and unsupported,
2290 # and are intended to be withdrawn in a future Autoconf release.
2291 # They can cause serious problems if a builder's source tree is in a directory
2292 # whose full name contains unusual characters.
2293 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2294 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2295 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2296
2297
2298
2299 am__api_version='1.11'
2300
2301 # Find a good install program.  We prefer a C program (faster),
2302 # so one script is as good as another.  But avoid the broken or
2303 # incompatible versions:
2304 # SysV /etc/install, /usr/sbin/install
2305 # SunOS /usr/etc/install
2306 # IRIX /sbin/install
2307 # AIX /bin/install
2308 # AmigaOS /C/install, which installs bootblocks on floppy discs
2309 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2310 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2311 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2312 # OS/2's system install, which has a completely different semantic
2313 # ./install, which can be erroneously created by make from ./install.sh.
2314 # Reject install programs that cannot install multiple files.
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2316 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2317 if test -z "$INSTALL"; then
2318 if ${ac_cv_path_install+:} false; then :
2319   $as_echo_n "(cached) " >&6
2320 else
2321   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2322 for as_dir in $PATH
2323 do
2324   IFS=$as_save_IFS
2325   test -z "$as_dir" && as_dir=.
2326     # Account for people who put trailing slashes in PATH elements.
2327 case $as_dir/ in #((
2328   ./ | .// | /[cC]/* | \
2329   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2330   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2331   /usr/ucb/* ) ;;
2332   *)
2333     # OSF1 and SCO ODT 3.0 have their own names for install.
2334     # Don't use installbsd from OSF since it installs stuff as root
2335     # by default.
2336     for ac_prog in ginstall scoinst install; do
2337       for ac_exec_ext in '' $ac_executable_extensions; do
2338         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2339           if test $ac_prog = install &&
2340             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2341             # AIX install.  It has an incompatible calling convention.
2342             :
2343           elif test $ac_prog = install &&
2344             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2345             # program-specific install script used by HP pwplus--don't use.
2346             :
2347           else
2348             rm -rf conftest.one conftest.two conftest.dir
2349             echo one > conftest.one
2350             echo two > conftest.two
2351             mkdir conftest.dir
2352             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2353               test -s conftest.one && test -s conftest.two &&
2354               test -s conftest.dir/conftest.one &&
2355               test -s conftest.dir/conftest.two
2356             then
2357               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2358               break 3
2359             fi
2360           fi
2361         fi
2362       done
2363     done
2364     ;;
2365 esac
2366
2367   done
2368 IFS=$as_save_IFS
2369
2370 rm -rf conftest.one conftest.two conftest.dir
2371
2372 fi
2373   if test "${ac_cv_path_install+set}" = set; then
2374     INSTALL=$ac_cv_path_install
2375   else
2376     # As a last resort, use the slow shell script.  Don't cache a
2377     # value for INSTALL within a source directory, because that will
2378     # break other packages using the cache if that directory is
2379     # removed, or if the value is a relative name.
2380     INSTALL=$ac_install_sh
2381   fi
2382 fi
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2384 $as_echo "$INSTALL" >&6; }
2385
2386 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2387 # It thinks the first close brace ends the variable substitution.
2388 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2389
2390 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2391
2392 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2393
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2395 $as_echo_n "checking whether build environment is sane... " >&6; }
2396 # Just in case
2397 sleep 1
2398 echo timestamp > conftest.file
2399 # Reject unsafe characters in $srcdir or the absolute working directory
2400 # name.  Accept space and tab only in the latter.
2401 am_lf='
2402 '
2403 case `pwd` in
2404   *[\\\"\#\$\&\'\`$am_lf]*)
2405     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2406 esac
2407 case $srcdir in
2408   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2409     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2410 esac
2411
2412 # Do `set' in a subshell so we don't clobber the current shell's
2413 # arguments.  Must try -L first in case configure is actually a
2414 # symlink; some systems play weird games with the mod time of symlinks
2415 # (eg FreeBSD returns the mod time of the symlink's containing
2416 # directory).
2417 if (
2418    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2419    if test "$*" = "X"; then
2420       # -L didn't work.
2421       set X `ls -t "$srcdir/configure" conftest.file`
2422    fi
2423    rm -f conftest.file
2424    if test "$*" != "X $srcdir/configure conftest.file" \
2425       && test "$*" != "X conftest.file $srcdir/configure"; then
2426
2427       # If neither matched, then we have a broken ls.  This can happen
2428       # if, for instance, CONFIG_SHELL is bash and it inherits a
2429       # broken ls alias from the environment.  This has actually
2430       # happened.  Such a system could not be considered "sane".
2431       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2432 alias in your environment" "$LINENO" 5
2433    fi
2434
2435    test "$2" = conftest.file
2436    )
2437 then
2438    # Ok.
2439    :
2440 else
2441    as_fn_error $? "newly created file is older than distributed files!
2442 Check your system clock" "$LINENO" 5
2443 fi
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2445 $as_echo "yes" >&6; }
2446 test "$program_prefix" != NONE &&
2447   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2448 # Use a double $ so make ignores it.
2449 test "$program_suffix" != NONE &&
2450   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2451 # Double any \ or $.
2452 # By default was `s,x,x', remove it if useless.
2453 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2454 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2455
2456 # expand $ac_aux_dir to an absolute path
2457 am_aux_dir=`cd $ac_aux_dir && pwd`
2458
2459 if test x"${MISSING+set}" != xset; then
2460   case $am_aux_dir in
2461   *\ * | *\     *)
2462     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2463   *)
2464     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2465   esac
2466 fi
2467 # Use eval to expand $SHELL
2468 if eval "$MISSING --run true"; then
2469   am_missing_run="$MISSING --run "
2470 else
2471   am_missing_run=
2472   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2473 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2474 fi
2475
2476 if test x"${install_sh}" != xset; then
2477   case $am_aux_dir in
2478   *\ * | *\     *)
2479     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2480   *)
2481     install_sh="\${SHELL} $am_aux_dir/install-sh"
2482   esac
2483 fi
2484
2485 # Installed binaries are usually stripped using `strip' when the user
2486 # run `make install-strip'.  However `strip' might not be the right
2487 # tool to use in cross-compilation environments, therefore Automake
2488 # will honor the `STRIP' environment variable to overrule this program.
2489 if test "$cross_compiling" != no; then
2490   if test -n "$ac_tool_prefix"; then
2491   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2492 set dummy ${ac_tool_prefix}strip; ac_word=$2
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2494 $as_echo_n "checking for $ac_word... " >&6; }
2495 if ${ac_cv_prog_STRIP+:} false; then :
2496   $as_echo_n "(cached) " >&6
2497 else
2498   if test -n "$STRIP"; then
2499   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2500 else
2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2502 for as_dir in $PATH
2503 do
2504   IFS=$as_save_IFS
2505   test -z "$as_dir" && as_dir=.
2506     for ac_exec_ext in '' $ac_executable_extensions; do
2507   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2508     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2509     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2510     break 2
2511   fi
2512 done
2513   done
2514 IFS=$as_save_IFS
2515
2516 fi
2517 fi
2518 STRIP=$ac_cv_prog_STRIP
2519 if test -n "$STRIP"; then
2520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2521 $as_echo "$STRIP" >&6; }
2522 else
2523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2524 $as_echo "no" >&6; }
2525 fi
2526
2527
2528 fi
2529 if test -z "$ac_cv_prog_STRIP"; then
2530   ac_ct_STRIP=$STRIP
2531   # Extract the first word of "strip", so it can be a program name with args.
2532 set dummy strip; ac_word=$2
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2534 $as_echo_n "checking for $ac_word... " >&6; }
2535 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2536   $as_echo_n "(cached) " >&6
2537 else
2538   if test -n "$ac_ct_STRIP"; then
2539   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2540 else
2541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2542 for as_dir in $PATH
2543 do
2544   IFS=$as_save_IFS
2545   test -z "$as_dir" && as_dir=.
2546     for ac_exec_ext in '' $ac_executable_extensions; do
2547   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2548     ac_cv_prog_ac_ct_STRIP="strip"
2549     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2550     break 2
2551   fi
2552 done
2553   done
2554 IFS=$as_save_IFS
2555
2556 fi
2557 fi
2558 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2559 if test -n "$ac_ct_STRIP"; then
2560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2561 $as_echo "$ac_ct_STRIP" >&6; }
2562 else
2563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2564 $as_echo "no" >&6; }
2565 fi
2566
2567   if test "x$ac_ct_STRIP" = x; then
2568     STRIP=":"
2569   else
2570     case $cross_compiling:$ac_tool_warned in
2571 yes:)
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2574 ac_tool_warned=yes ;;
2575 esac
2576     STRIP=$ac_ct_STRIP
2577   fi
2578 else
2579   STRIP="$ac_cv_prog_STRIP"
2580 fi
2581
2582 fi
2583 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2584
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2586 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2587 if test -z "$MKDIR_P"; then
2588   if ${ac_cv_path_mkdir+:} false; then :
2589   $as_echo_n "(cached) " >&6
2590 else
2591   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2593 do
2594   IFS=$as_save_IFS
2595   test -z "$as_dir" && as_dir=.
2596     for ac_prog in mkdir gmkdir; do
2597          for ac_exec_ext in '' $ac_executable_extensions; do
2598            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2599            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2600              'mkdir (GNU coreutils) '* | \
2601              'mkdir (coreutils) '* | \
2602              'mkdir (fileutils) '4.1*)
2603                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2604                break 3;;
2605            esac
2606          done
2607        done
2608   done
2609 IFS=$as_save_IFS
2610
2611 fi
2612
2613   test -d ./--version && rmdir ./--version
2614   if test "${ac_cv_path_mkdir+set}" = set; then
2615     MKDIR_P="$ac_cv_path_mkdir -p"
2616   else
2617     # As a last resort, use the slow shell script.  Don't cache a
2618     # value for MKDIR_P within a source directory, because that will
2619     # break other packages using the cache if that directory is
2620     # removed, or if the value is a relative name.
2621     MKDIR_P="$ac_install_sh -d"
2622   fi
2623 fi
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2625 $as_echo "$MKDIR_P" >&6; }
2626
2627 mkdir_p="$MKDIR_P"
2628 case $mkdir_p in
2629   [\\/$]* | ?:[\\/]*) ;;
2630   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2631 esac
2632
2633 for ac_prog in gawk mawk nawk awk
2634 do
2635   # Extract the first word of "$ac_prog", so it can be a program name with args.
2636 set dummy $ac_prog; ac_word=$2
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2638 $as_echo_n "checking for $ac_word... " >&6; }
2639 if ${ac_cv_prog_AWK+:} false; then :
2640   $as_echo_n "(cached) " >&6
2641 else
2642   if test -n "$AWK"; then
2643   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2644 else
2645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2646 for as_dir in $PATH
2647 do
2648   IFS=$as_save_IFS
2649   test -z "$as_dir" && as_dir=.
2650     for ac_exec_ext in '' $ac_executable_extensions; do
2651   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2652     ac_cv_prog_AWK="$ac_prog"
2653     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2654     break 2
2655   fi
2656 done
2657   done
2658 IFS=$as_save_IFS
2659
2660 fi
2661 fi
2662 AWK=$ac_cv_prog_AWK
2663 if test -n "$AWK"; then
2664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2665 $as_echo "$AWK" >&6; }
2666 else
2667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668 $as_echo "no" >&6; }
2669 fi
2670
2671
2672   test -n "$AWK" && break
2673 done
2674
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2676 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2677 set x ${MAKE-make}
2678 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2679 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2680   $as_echo_n "(cached) " >&6
2681 else
2682   cat >conftest.make <<\_ACEOF
2683 SHELL = /bin/sh
2684 all:
2685         @echo '@@@%%%=$(MAKE)=@@@%%%'
2686 _ACEOF
2687 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2688 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2689   *@@@%%%=?*=@@@%%%*)
2690     eval ac_cv_prog_make_${ac_make}_set=yes;;
2691   *)
2692     eval ac_cv_prog_make_${ac_make}_set=no;;
2693 esac
2694 rm -f conftest.make
2695 fi
2696 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2698 $as_echo "yes" >&6; }
2699   SET_MAKE=
2700 else
2701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2702 $as_echo "no" >&6; }
2703   SET_MAKE="MAKE=${MAKE-make}"
2704 fi
2705
2706 rm -rf .tst 2>/dev/null
2707 mkdir .tst 2>/dev/null
2708 if test -d .tst; then
2709   am__leading_dot=.
2710 else
2711   am__leading_dot=_
2712 fi
2713 rmdir .tst 2>/dev/null
2714
2715 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2716   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2717   # is not polluted with repeated "-I."
2718   am__isrc=' -I$(srcdir)'
2719   # test to see if srcdir already configured
2720   if test -f $srcdir/config.status; then
2721     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2722   fi
2723 fi
2724
2725 # test whether we have cygpath
2726 if test -z "$CYGPATH_W"; then
2727   if (cygpath --version) >/dev/null 2>/dev/null; then
2728     CYGPATH_W='cygpath -w'
2729   else
2730     CYGPATH_W=echo
2731   fi
2732 fi
2733
2734
2735 # Define the identity of the package.
2736  PACKAGE='gssdp'
2737  VERSION='0.14.3'
2738
2739
2740 cat >>confdefs.h <<_ACEOF
2741 #define PACKAGE "$PACKAGE"
2742 _ACEOF
2743
2744
2745 cat >>confdefs.h <<_ACEOF
2746 #define VERSION "$VERSION"
2747 _ACEOF
2748
2749 # Some tools Automake needs.
2750
2751 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2752
2753
2754 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2755
2756
2757 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2758
2759
2760 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2761
2762
2763 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2764
2765 # We need awk for the "check" target.  The system "awk" is bad on
2766 # some platforms.
2767 # Always define AMTAR for backward compatibility.  Yes, it's still used
2768 # in the wild :-(  We should find a proper way to deprecate it ...
2769 AMTAR='$${TAR-tar}'
2770
2771
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2773 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2774 # Loop over all known methods to create a tar archive until one works.
2775 _am_tools='gnutar plaintar pax cpio none'
2776 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2777 # Do not fold the above two line into one, because Tru64 sh and
2778 # Solaris sh will not grok spaces in the rhs of `-'.
2779 for _am_tool in $_am_tools
2780 do
2781   case $_am_tool in
2782   gnutar)
2783     for _am_tar in tar gnutar gtar;
2784     do
2785       { echo "$as_me:$LINENO: $_am_tar --version" >&5
2786    ($_am_tar --version) >&5 2>&5
2787    ac_status=$?
2788    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789    (exit $ac_status); } && break
2790     done
2791     am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2792     am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2793     am__untar="$_am_tar -xf -"
2794     ;;
2795   plaintar)
2796     # Must skip GNU tar: if it does not support --format= it doesn't create
2797     # ustar tarball either.
2798     (tar --version) >/dev/null 2>&1 && continue
2799     am__tar='tar chf - "$$tardir"'
2800     am__tar_='tar chf - "$tardir"'
2801     am__untar='tar xf -'
2802     ;;
2803   pax)
2804     am__tar='pax -L -x ustar -w "$$tardir"'
2805     am__tar_='pax -L -x ustar -w "$tardir"'
2806     am__untar='pax -r'
2807     ;;
2808   cpio)
2809     am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2810     am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2811     am__untar='cpio -i -H ustar -d'
2812     ;;
2813   none)
2814     am__tar=false
2815     am__tar_=false
2816     am__untar=false
2817     ;;
2818   esac
2819
2820   # If the value was cached, stop now.  We just wanted to have am__tar
2821   # and am__untar set.
2822   test -n "${am_cv_prog_tar_ustar}" && break
2823
2824   # tar/untar a dummy directory, and stop if the command works
2825   rm -rf conftest.dir
2826   mkdir conftest.dir
2827   echo GrepMe > conftest.dir/file
2828   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2829    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2830    ac_status=$?
2831    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832    (exit $ac_status); }
2833   rm -rf conftest.dir
2834   if test -s conftest.tar; then
2835     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2836    ($am__untar <conftest.tar) >&5 2>&5
2837    ac_status=$?
2838    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839    (exit $ac_status); }
2840     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2841   fi
2842 done
2843 rm -rf conftest.dir
2844
2845 if ${am_cv_prog_tar_ustar+:} false; then :
2846   $as_echo_n "(cached) " >&6
2847 else
2848   am_cv_prog_tar_ustar=$_am_tool
2849 fi
2850
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2852 $as_echo "$am_cv_prog_tar_ustar" >&6; }
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=yes
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
2882 # Check whether --enable-silent-rules was given.
2883 if test "${enable_silent_rules+set}" = set; then :
2884   enableval=$enable_silent_rules;
2885 fi
2886
2887 case $enable_silent_rules in
2888 yes) AM_DEFAULT_VERBOSITY=0;;
2889 no)  AM_DEFAULT_VERBOSITY=1;;
2890 *)   AM_DEFAULT_VERBOSITY=0;;
2891 esac
2892 am_make=${MAKE-make}
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2894 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2895 if ${am_cv_make_support_nested_variables+:} false; then :
2896   $as_echo_n "(cached) " >&6
2897 else
2898   if $as_echo 'TRUE=$(BAR$(V))
2899 BAR0=false
2900 BAR1=true
2901 V=1
2902 am__doit:
2903         @$(TRUE)
2904 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2905   am_cv_make_support_nested_variables=yes
2906 else
2907   am_cv_make_support_nested_variables=no
2908 fi
2909 fi
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2911 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2912 if test $am_cv_make_support_nested_variables = yes; then
2913     AM_V='$(V)'
2914   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2915 else
2916   AM_V=$AM_DEFAULT_VERBOSITY
2917   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2918 fi
2919 AM_BACKSLASH='\'
2920
2921
2922 DEPDIR="${am__leading_dot}deps"
2923
2924 ac_config_commands="$ac_config_commands depfiles"
2925
2926
2927 am_make=${MAKE-make}
2928 cat > confinc << 'END'
2929 am__doit:
2930         @echo this is the am__doit target
2931 .PHONY: am__doit
2932 END
2933 # If we don't find an include directive, just comment out the code.
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2935 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2936 am__include="#"
2937 am__quote=
2938 _am_result=none
2939 # First try GNU make style include.
2940 echo "include confinc" > confmf
2941 # Ignore all kinds of additional output from `make'.
2942 case `$am_make -s -f confmf 2> /dev/null` in #(
2943 *the\ am__doit\ target*)
2944   am__include=include
2945   am__quote=
2946   _am_result=GNU
2947   ;;
2948 esac
2949 # Now try BSD make style include.
2950 if test "$am__include" = "#"; then
2951    echo '.include "confinc"' > confmf
2952    case `$am_make -s -f confmf 2> /dev/null` in #(
2953    *the\ am__doit\ target*)
2954      am__include=.include
2955      am__quote="\""
2956      _am_result=BSD
2957      ;;
2958    esac
2959 fi
2960
2961
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2963 $as_echo "$_am_result" >&6; }
2964 rm -f confinc confmf
2965
2966 # Check whether --enable-dependency-tracking was given.
2967 if test "${enable_dependency_tracking+set}" = set; then :
2968   enableval=$enable_dependency_tracking;
2969 fi
2970
2971 if test "x$enable_dependency_tracking" != xno; then
2972   am_depcomp="$ac_aux_dir/depcomp"
2973   AMDEPBACKSLASH='\'
2974   am__nodep='_no'
2975 fi
2976  if test "x$enable_dependency_tracking" != xno; then
2977   AMDEP_TRUE=
2978   AMDEP_FALSE='#'
2979 else
2980   AMDEP_TRUE='#'
2981   AMDEP_FALSE=
2982 fi
2983
2984
2985 ac_ext=c
2986 ac_cpp='$CPP $CPPFLAGS'
2987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2990 if test -n "$ac_tool_prefix"; then
2991   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2992 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2994 $as_echo_n "checking for $ac_word... " >&6; }
2995 if ${ac_cv_prog_CC+:} false; then :
2996   $as_echo_n "(cached) " >&6
2997 else
2998   if test -n "$CC"; then
2999   ac_cv_prog_CC="$CC" # Let the user override the test.
3000 else
3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002 for as_dir in $PATH
3003 do
3004   IFS=$as_save_IFS
3005   test -z "$as_dir" && as_dir=.
3006     for ac_exec_ext in '' $ac_executable_extensions; do
3007   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3008     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3009     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3010     break 2
3011   fi
3012 done
3013   done
3014 IFS=$as_save_IFS
3015
3016 fi
3017 fi
3018 CC=$ac_cv_prog_CC
3019 if test -n "$CC"; then
3020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3021 $as_echo "$CC" >&6; }
3022 else
3023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3024 $as_echo "no" >&6; }
3025 fi
3026
3027
3028 fi
3029 if test -z "$ac_cv_prog_CC"; then
3030   ac_ct_CC=$CC
3031   # Extract the first word of "gcc", so it can be a program name with args.
3032 set dummy gcc; ac_word=$2
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034 $as_echo_n "checking for $ac_word... " >&6; }
3035 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3036   $as_echo_n "(cached) " >&6
3037 else
3038   if test -n "$ac_ct_CC"; then
3039   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3040 else
3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3042 for as_dir in $PATH
3043 do
3044   IFS=$as_save_IFS
3045   test -z "$as_dir" && as_dir=.
3046     for ac_exec_ext in '' $ac_executable_extensions; do
3047   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3048     ac_cv_prog_ac_ct_CC="gcc"
3049     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050     break 2
3051   fi
3052 done
3053   done
3054 IFS=$as_save_IFS
3055
3056 fi
3057 fi
3058 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3059 if test -n "$ac_ct_CC"; then
3060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3061 $as_echo "$ac_ct_CC" >&6; }
3062 else
3063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064 $as_echo "no" >&6; }
3065 fi
3066
3067   if test "x$ac_ct_CC" = x; then
3068     CC=""
3069   else
3070     case $cross_compiling:$ac_tool_warned in
3071 yes:)
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3074 ac_tool_warned=yes ;;
3075 esac
3076     CC=$ac_ct_CC
3077   fi
3078 else
3079   CC="$ac_cv_prog_CC"
3080 fi
3081
3082 if test -z "$CC"; then
3083           if test -n "$ac_tool_prefix"; then
3084     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3085 set dummy ${ac_tool_prefix}cc; ac_word=$2
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087 $as_echo_n "checking for $ac_word... " >&6; }
3088 if ${ac_cv_prog_CC+:} false; then :
3089   $as_echo_n "(cached) " >&6
3090 else
3091   if test -n "$CC"; then
3092   ac_cv_prog_CC="$CC" # Let the user override the test.
3093 else
3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095 for as_dir in $PATH
3096 do
3097   IFS=$as_save_IFS
3098   test -z "$as_dir" && as_dir=.
3099     for ac_exec_ext in '' $ac_executable_extensions; do
3100   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3101     ac_cv_prog_CC="${ac_tool_prefix}cc"
3102     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3103     break 2
3104   fi
3105 done
3106   done
3107 IFS=$as_save_IFS
3108
3109 fi
3110 fi
3111 CC=$ac_cv_prog_CC
3112 if test -n "$CC"; then
3113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3114 $as_echo "$CC" >&6; }
3115 else
3116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3117 $as_echo "no" >&6; }
3118 fi
3119
3120
3121   fi
3122 fi
3123 if test -z "$CC"; then
3124   # Extract the first word of "cc", so it can be a program name with args.
3125 set dummy cc; ac_word=$2
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3127 $as_echo_n "checking for $ac_word... " >&6; }
3128 if ${ac_cv_prog_CC+:} false; then :
3129   $as_echo_n "(cached) " >&6
3130 else
3131   if test -n "$CC"; then
3132   ac_cv_prog_CC="$CC" # Let the user override the test.
3133 else
3134   ac_prog_rejected=no
3135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3136 for as_dir in $PATH
3137 do
3138   IFS=$as_save_IFS
3139   test -z "$as_dir" && as_dir=.
3140     for ac_exec_ext in '' $ac_executable_extensions; do
3141   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3142     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3143        ac_prog_rejected=yes
3144        continue
3145      fi
3146     ac_cv_prog_CC="cc"
3147     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148     break 2
3149   fi
3150 done
3151   done
3152 IFS=$as_save_IFS
3153
3154 if test $ac_prog_rejected = yes; then
3155   # We found a bogon in the path, so make sure we never use it.
3156   set dummy $ac_cv_prog_CC
3157   shift
3158   if test $# != 0; then
3159     # We chose a different compiler from the bogus one.
3160     # However, it has the same basename, so the bogon will be chosen
3161     # first if we set CC to just the basename; use the full file name.
3162     shift
3163     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3164   fi
3165 fi
3166 fi
3167 fi
3168 CC=$ac_cv_prog_CC
3169 if test -n "$CC"; then
3170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3171 $as_echo "$CC" >&6; }
3172 else
3173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3174 $as_echo "no" >&6; }
3175 fi
3176
3177
3178 fi
3179 if test -z "$CC"; then
3180   if test -n "$ac_tool_prefix"; then
3181   for ac_prog in cl.exe
3182   do
3183     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3184 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3186 $as_echo_n "checking for $ac_word... " >&6; }
3187 if ${ac_cv_prog_CC+:} false; then :
3188   $as_echo_n "(cached) " >&6
3189 else
3190   if test -n "$CC"; then
3191   ac_cv_prog_CC="$CC" # Let the user override the test.
3192 else
3193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3194 for as_dir in $PATH
3195 do
3196   IFS=$as_save_IFS
3197   test -z "$as_dir" && as_dir=.
3198     for ac_exec_ext in '' $ac_executable_extensions; do
3199   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3200     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3201     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3202     break 2
3203   fi
3204 done
3205   done
3206 IFS=$as_save_IFS
3207
3208 fi
3209 fi
3210 CC=$ac_cv_prog_CC
3211 if test -n "$CC"; then
3212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3213 $as_echo "$CC" >&6; }
3214 else
3215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3216 $as_echo "no" >&6; }
3217 fi
3218
3219
3220     test -n "$CC" && break
3221   done
3222 fi
3223 if test -z "$CC"; then
3224   ac_ct_CC=$CC
3225   for ac_prog in cl.exe
3226 do
3227   # Extract the first word of "$ac_prog", so it can be a program name with args.
3228 set dummy $ac_prog; ac_word=$2
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3230 $as_echo_n "checking for $ac_word... " >&6; }
3231 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3232   $as_echo_n "(cached) " >&6
3233 else
3234   if test -n "$ac_ct_CC"; then
3235   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3236 else
3237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3238 for as_dir in $PATH
3239 do
3240   IFS=$as_save_IFS
3241   test -z "$as_dir" && as_dir=.
3242     for ac_exec_ext in '' $ac_executable_extensions; do
3243   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3244     ac_cv_prog_ac_ct_CC="$ac_prog"
3245     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3246     break 2
3247   fi
3248 done
3249   done
3250 IFS=$as_save_IFS
3251
3252 fi
3253 fi
3254 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3255 if test -n "$ac_ct_CC"; then
3256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3257 $as_echo "$ac_ct_CC" >&6; }
3258 else
3259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3260 $as_echo "no" >&6; }
3261 fi
3262
3263
3264   test -n "$ac_ct_CC" && break
3265 done
3266
3267   if test "x$ac_ct_CC" = x; then
3268     CC=""
3269   else
3270     case $cross_compiling:$ac_tool_warned in
3271 yes:)
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3274 ac_tool_warned=yes ;;
3275 esac
3276     CC=$ac_ct_CC
3277   fi
3278 fi
3279
3280 fi
3281
3282
3283 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3285 as_fn_error $? "no acceptable C compiler found in \$PATH
3286 See \`config.log' for more details" "$LINENO" 5; }
3287
3288 # Provide some information about the compiler.
3289 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3290 set X $ac_compile
3291 ac_compiler=$2
3292 for ac_option in --version -v -V -qversion; do
3293   { { ac_try="$ac_compiler $ac_option >&5"
3294 case "(($ac_try" in
3295   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296   *) ac_try_echo=$ac_try;;
3297 esac
3298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3299 $as_echo "$ac_try_echo"; } >&5
3300   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3301   ac_status=$?
3302   if test -s conftest.err; then
3303     sed '10a\
3304 ... rest of stderr output deleted ...
3305          10q' conftest.err >conftest.er1
3306     cat conftest.er1 >&5
3307   fi
3308   rm -f conftest.er1 conftest.err
3309   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3310   test $ac_status = 0; }
3311 done
3312
3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h.  */
3315
3316 int
3317 main ()
3318 {
3319
3320   ;
3321   return 0;
3322 }
3323 _ACEOF
3324 ac_clean_files_save=$ac_clean_files
3325 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3326 # Try to create an executable without -o first, disregard a.out.
3327 # It will help us diagnose broken compilers, and finding out an intuition
3328 # of exeext.
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3330 $as_echo_n "checking whether the C compiler works... " >&6; }
3331 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3332
3333 # The possible output files:
3334 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3335
3336 ac_rmfiles=
3337 for ac_file in $ac_files
3338 do
3339   case $ac_file in
3340     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3341     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3342   esac
3343 done
3344 rm -f $ac_rmfiles
3345
3346 if { { ac_try="$ac_link_default"
3347 case "(($ac_try" in
3348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3349   *) ac_try_echo=$ac_try;;
3350 esac
3351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3352 $as_echo "$ac_try_echo"; } >&5
3353   (eval "$ac_link_default") 2>&5
3354   ac_status=$?
3355   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3356   test $ac_status = 0; }; then :
3357   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3358 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3359 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3360 # so that the user can short-circuit this test for compilers unknown to
3361 # Autoconf.
3362 for ac_file in $ac_files ''
3363 do
3364   test -f "$ac_file" || continue
3365   case $ac_file in
3366     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3367         ;;
3368     [ab].out )
3369         # We found the default executable, but exeext='' is most
3370         # certainly right.
3371         break;;
3372     *.* )
3373         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3374         then :; else
3375            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3376         fi
3377         # We set ac_cv_exeext here because the later test for it is not
3378         # safe: cross compilers may not add the suffix if given an `-o'
3379         # argument, so we may need to know it at that point already.
3380         # Even if this section looks crufty: it has the advantage of
3381         # actually working.
3382         break;;
3383     * )
3384         break;;
3385   esac
3386 done
3387 test "$ac_cv_exeext" = no && ac_cv_exeext=
3388
3389 else
3390   ac_file=''
3391 fi
3392 if test -z "$ac_file"; then :
3393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3394 $as_echo "no" >&6; }
3395 $as_echo "$as_me: failed program was:" >&5
3396 sed 's/^/| /' conftest.$ac_ext >&5
3397
3398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3400 as_fn_error 77 "C compiler cannot create executables
3401 See \`config.log' for more details" "$LINENO" 5; }
3402 else
3403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3404 $as_echo "yes" >&6; }
3405 fi
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3407 $as_echo_n "checking for C compiler default output file name... " >&6; }
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3409 $as_echo "$ac_file" >&6; }
3410 ac_exeext=$ac_cv_exeext
3411
3412 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3413 ac_clean_files=$ac_clean_files_save
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3415 $as_echo_n "checking for suffix of executables... " >&6; }
3416 if { { ac_try="$ac_link"
3417 case "(($ac_try" in
3418   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3419   *) ac_try_echo=$ac_try;;
3420 esac
3421 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3422 $as_echo "$ac_try_echo"; } >&5
3423   (eval "$ac_link") 2>&5
3424   ac_status=$?
3425   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3426   test $ac_status = 0; }; then :
3427   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3428 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3429 # work properly (i.e., refer to `conftest.exe'), while it won't with
3430 # `rm'.
3431 for ac_file in conftest.exe conftest conftest.*; do
3432   test -f "$ac_file" || continue
3433   case $ac_file in
3434     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3435     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3436           break;;
3437     * ) break;;
3438   esac
3439 done
3440 else
3441   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3443 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3444 See \`config.log' for more details" "$LINENO" 5; }
3445 fi
3446 rm -f conftest conftest$ac_cv_exeext
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3448 $as_echo "$ac_cv_exeext" >&6; }
3449
3450 rm -f conftest.$ac_ext
3451 EXEEXT=$ac_cv_exeext
3452 ac_exeext=$EXEEXT
3453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3454 /* end confdefs.h.  */
3455 #include <stdio.h>
3456 int
3457 main ()
3458 {
3459 FILE *f = fopen ("conftest.out", "w");
3460  return ferror (f) || fclose (f) != 0;
3461
3462   ;
3463   return 0;
3464 }
3465 _ACEOF
3466 ac_clean_files="$ac_clean_files conftest.out"
3467 # Check that the compiler produces executables we can run.  If not, either
3468 # the compiler is broken, or we cross compile.
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3470 $as_echo_n "checking whether we are cross compiling... " >&6; }
3471 if test "$cross_compiling" != yes; then
3472   { { ac_try="$ac_link"
3473 case "(($ac_try" in
3474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475   *) ac_try_echo=$ac_try;;
3476 esac
3477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3478 $as_echo "$ac_try_echo"; } >&5
3479   (eval "$ac_link") 2>&5
3480   ac_status=$?
3481   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3482   test $ac_status = 0; }
3483   if { ac_try='./conftest$ac_cv_exeext'
3484   { { case "(($ac_try" in
3485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3486   *) ac_try_echo=$ac_try;;
3487 esac
3488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3489 $as_echo "$ac_try_echo"; } >&5
3490   (eval "$ac_try") 2>&5
3491   ac_status=$?
3492   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3493   test $ac_status = 0; }; }; then
3494     cross_compiling=no
3495   else
3496     if test "$cross_compiling" = maybe; then
3497         cross_compiling=yes
3498     else
3499         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3501 as_fn_error $? "cannot run C compiled programs.
3502 If you meant to cross compile, use \`--host'.
3503 See \`config.log' for more details" "$LINENO" 5; }
3504     fi
3505   fi
3506 fi
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3508 $as_echo "$cross_compiling" >&6; }
3509
3510 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3511 ac_clean_files=$ac_clean_files_save
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3513 $as_echo_n "checking for suffix of object files... " >&6; }
3514 if ${ac_cv_objext+:} false; then :
3515   $as_echo_n "(cached) " >&6
3516 else
3517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h.  */
3519
3520 int
3521 main ()
3522 {
3523
3524   ;
3525   return 0;
3526 }
3527 _ACEOF
3528 rm -f conftest.o conftest.obj
3529 if { { ac_try="$ac_compile"
3530 case "(($ac_try" in
3531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3532   *) ac_try_echo=$ac_try;;
3533 esac
3534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3535 $as_echo "$ac_try_echo"; } >&5
3536   (eval "$ac_compile") 2>&5
3537   ac_status=$?
3538   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3539   test $ac_status = 0; }; then :
3540   for ac_file in conftest.o conftest.obj conftest.*; do
3541   test -f "$ac_file" || continue;
3542   case $ac_file in
3543     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3544     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3545        break;;
3546   esac
3547 done
3548 else
3549   $as_echo "$as_me: failed program was:" >&5
3550 sed 's/^/| /' conftest.$ac_ext >&5
3551
3552 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3554 as_fn_error $? "cannot compute suffix of object files: cannot compile
3555 See \`config.log' for more details" "$LINENO" 5; }
3556 fi
3557 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3558 fi
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3560 $as_echo "$ac_cv_objext" >&6; }
3561 OBJEXT=$ac_cv_objext
3562 ac_objext=$OBJEXT
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3564 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3565 if ${ac_cv_c_compiler_gnu+:} false; then :
3566   $as_echo_n "(cached) " >&6
3567 else
3568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3569 /* end confdefs.h.  */
3570
3571 int
3572 main ()
3573 {
3574 #ifndef __GNUC__
3575        choke me
3576 #endif
3577
3578   ;
3579   return 0;
3580 }
3581 _ACEOF
3582 if ac_fn_c_try_compile "$LINENO"; then :
3583   ac_compiler_gnu=yes
3584 else
3585   ac_compiler_gnu=no
3586 fi
3587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3589
3590 fi
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3592 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3593 if test $ac_compiler_gnu = yes; then
3594   GCC=yes
3595 else
3596   GCC=
3597 fi
3598 ac_test_CFLAGS=${CFLAGS+set}
3599 ac_save_CFLAGS=$CFLAGS
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3601 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3602 if ${ac_cv_prog_cc_g+:} false; then :
3603   $as_echo_n "(cached) " >&6
3604 else
3605   ac_save_c_werror_flag=$ac_c_werror_flag
3606    ac_c_werror_flag=yes
3607    ac_cv_prog_cc_g=no
3608    CFLAGS="-g"
3609    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h.  */
3611
3612 int
3613 main ()
3614 {
3615
3616   ;
3617   return 0;
3618 }
3619 _ACEOF
3620 if ac_fn_c_try_compile "$LINENO"; then :
3621   ac_cv_prog_cc_g=yes
3622 else
3623   CFLAGS=""
3624       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3625 /* end confdefs.h.  */
3626
3627 int
3628 main ()
3629 {
3630
3631   ;
3632   return 0;
3633 }
3634 _ACEOF
3635 if ac_fn_c_try_compile "$LINENO"; then :
3636
3637 else
3638   ac_c_werror_flag=$ac_save_c_werror_flag
3639          CFLAGS="-g"
3640          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3641 /* end confdefs.h.  */
3642
3643 int
3644 main ()
3645 {
3646
3647   ;
3648   return 0;
3649 }
3650 _ACEOF
3651 if ac_fn_c_try_compile "$LINENO"; then :
3652   ac_cv_prog_cc_g=yes
3653 fi
3654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3655 fi
3656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3657 fi
3658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3659    ac_c_werror_flag=$ac_save_c_werror_flag
3660 fi
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3662 $as_echo "$ac_cv_prog_cc_g" >&6; }
3663 if test "$ac_test_CFLAGS" = set; then
3664   CFLAGS=$ac_save_CFLAGS
3665 elif test $ac_cv_prog_cc_g = yes; then
3666   if test "$GCC" = yes; then
3667     CFLAGS="-g -O2"
3668   else
3669     CFLAGS="-g"
3670   fi
3671 else
3672   if test "$GCC" = yes; then
3673     CFLAGS="-O2"
3674   else
3675     CFLAGS=
3676   fi
3677 fi
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3679 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3680 if ${ac_cv_prog_cc_c89+:} false; then :
3681   $as_echo_n "(cached) " >&6
3682 else
3683   ac_cv_prog_cc_c89=no
3684 ac_save_CC=$CC
3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h.  */
3687 #include <stdarg.h>
3688 #include <stdio.h>
3689 struct stat;
3690 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3691 struct buf { int x; };
3692 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3693 static char *e (p, i)
3694      char **p;
3695      int i;
3696 {
3697   return p[i];
3698 }
3699 static char *f (char * (*g) (char **, int), char **p, ...)
3700 {
3701   char *s;
3702   va_list v;
3703   va_start (v,p);
3704   s = g (p, va_arg (v,int));
3705   va_end (v);
3706   return s;
3707 }
3708
3709 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3710    function prototypes and stuff, but not '\xHH' hex character constants.
3711    These don't provoke an error unfortunately, instead are silently treated
3712    as 'x'.  The following induces an error, until -std is added to get
3713    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3714    array size at least.  It's necessary to write '\x00'==0 to get something
3715    that's true only with -std.  */
3716 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3717
3718 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3719    inside strings and character constants.  */
3720 #define FOO(x) 'x'
3721 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3722
3723 int test (int i, double x);
3724 struct s1 {int (*f) (int a);};
3725 struct s2 {int (*f) (double a);};
3726 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3727 int argc;
3728 char **argv;
3729 int
3730 main ()
3731 {
3732 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3733   ;
3734   return 0;
3735 }
3736 _ACEOF
3737 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3738         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3739 do
3740   CC="$ac_save_CC $ac_arg"
3741   if ac_fn_c_try_compile "$LINENO"; then :
3742   ac_cv_prog_cc_c89=$ac_arg
3743 fi
3744 rm -f core conftest.err conftest.$ac_objext
3745   test "x$ac_cv_prog_cc_c89" != "xno" && break
3746 done
3747 rm -f conftest.$ac_ext
3748 CC=$ac_save_CC
3749
3750 fi
3751 # AC_CACHE_VAL
3752 case "x$ac_cv_prog_cc_c89" in
3753   x)
3754     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3755 $as_echo "none needed" >&6; } ;;
3756   xno)
3757     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3758 $as_echo "unsupported" >&6; } ;;
3759   *)
3760     CC="$CC $ac_cv_prog_cc_c89"
3761     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3762 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3763 esac
3764 if test "x$ac_cv_prog_cc_c89" != xno; then :
3765
3766 fi
3767
3768 ac_ext=c
3769 ac_cpp='$CPP $CPPFLAGS'
3770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3773
3774 depcc="$CC"   am_compiler_list=
3775
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3777 $as_echo_n "checking dependency style of $depcc... " >&6; }
3778 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3779   $as_echo_n "(cached) " >&6
3780 else
3781   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3782   # We make a subdir and do the tests there.  Otherwise we can end up
3783   # making bogus files that we don't know about and never remove.  For
3784   # instance it was reported that on HP-UX the gcc test will end up
3785   # making a dummy file named `D' -- because `-MD' means `put the output
3786   # in D'.
3787   rm -rf conftest.dir
3788   mkdir conftest.dir
3789   # Copy depcomp to subdir because otherwise we won't find it if we're
3790   # using a relative directory.
3791   cp "$am_depcomp" conftest.dir
3792   cd conftest.dir
3793   # We will build objects and dependencies in a subdirectory because
3794   # it helps to detect inapplicable dependency modes.  For instance
3795   # both Tru64's cc and ICC support -MD to output dependencies as a
3796   # side effect of compilation, but ICC will put the dependencies in
3797   # the current directory while Tru64 will put them in the object
3798   # directory.
3799   mkdir sub
3800
3801   am_cv_CC_dependencies_compiler_type=none
3802   if test "$am_compiler_list" = ""; then
3803      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3804   fi
3805   am__universal=false
3806   case " $depcc " in #(
3807      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3808      esac
3809
3810   for depmode in $am_compiler_list; do
3811     # Setup a source with many dependencies, because some compilers
3812     # like to wrap large dependency lists on column 80 (with \), and
3813     # we should not choose a depcomp mode which is confused by this.
3814     #
3815     # We need to recreate these files for each test, as the compiler may
3816     # overwrite some of them when testing with obscure command lines.
3817     # This happens at least with the AIX C compiler.
3818     : > sub/conftest.c
3819     for i in 1 2 3 4 5 6; do
3820       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3821       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3822       # Solaris 8's {/usr,}/bin/sh.
3823       touch sub/conftst$i.h
3824     done
3825     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3826
3827     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3828     # mode.  It turns out that the SunPro C++ compiler does not properly
3829     # handle `-M -o', and we need to detect this.  Also, some Intel
3830     # versions had trouble with output in subdirs
3831     am__obj=sub/conftest.${OBJEXT-o}
3832     am__minus_obj="-o $am__obj"
3833     case $depmode in
3834     gcc)
3835       # This depmode causes a compiler race in universal mode.
3836       test "$am__universal" = false || continue
3837       ;;
3838     nosideeffect)
3839       # after this tag, mechanisms are not by side-effect, so they'll
3840       # only be used when explicitly requested
3841       if test "x$enable_dependency_tracking" = xyes; then
3842         continue
3843       else
3844         break
3845       fi
3846       ;;
3847     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3848       # This compiler won't grok `-c -o', but also, the minuso test has
3849       # not run yet.  These depmodes are late enough in the game, and
3850       # so weak that their functioning should not be impacted.
3851       am__obj=conftest.${OBJEXT-o}
3852       am__minus_obj=
3853       ;;
3854     none) break ;;
3855     esac
3856     if depmode=$depmode \
3857        source=sub/conftest.c object=$am__obj \
3858        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3859        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3860          >/dev/null 2>conftest.err &&
3861        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3862        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3863        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3864        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3865       # icc doesn't choke on unknown options, it will just issue warnings
3866       # or remarks (even with -Werror).  So we grep stderr for any message
3867       # that says an option was ignored or not supported.
3868       # When given -MP, icc 7.0 and 7.1 complain thusly:
3869       #   icc: Command line warning: ignoring option '-M'; no argument required
3870       # The diagnosis changed in icc 8.0:
3871       #   icc: Command line remark: option '-MP' not supported
3872       if (grep 'ignoring option' conftest.err ||
3873           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3874         am_cv_CC_dependencies_compiler_type=$depmode
3875         break
3876       fi
3877     fi
3878   done
3879
3880   cd ..
3881   rm -rf conftest.dir
3882 else
3883   am_cv_CC_dependencies_compiler_type=none
3884 fi
3885
3886 fi
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3888 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3889 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3890
3891  if
3892   test "x$enable_dependency_tracking" != xno \
3893   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3894   am__fastdepCC_TRUE=
3895   am__fastdepCC_FALSE='#'
3896 else
3897   am__fastdepCC_TRUE='#'
3898   am__fastdepCC_FALSE=
3899 fi
3900
3901
3902
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3904 $as_echo_n "checking for library containing strerror... " >&6; }
3905 if ${ac_cv_search_strerror+:} false; then :
3906   $as_echo_n "(cached) " >&6
3907 else
3908   ac_func_search_save_LIBS=$LIBS
3909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910 /* end confdefs.h.  */
3911
3912 /* Override any GCC internal prototype to avoid an error.
3913    Use char because int might match the return type of a GCC
3914    builtin and then its argument prototype would still apply.  */
3915 #ifdef __cplusplus
3916 extern "C"
3917 #endif
3918 char strerror ();
3919 int
3920 main ()
3921 {
3922 return strerror ();
3923   ;
3924   return 0;
3925 }
3926 _ACEOF
3927 for ac_lib in '' cposix; do
3928   if test -z "$ac_lib"; then
3929     ac_res="none required"
3930   else
3931     ac_res=-l$ac_lib
3932     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3933   fi
3934   if ac_fn_c_try_link "$LINENO"; then :
3935   ac_cv_search_strerror=$ac_res
3936 fi
3937 rm -f core conftest.err conftest.$ac_objext \
3938     conftest$ac_exeext
3939   if ${ac_cv_search_strerror+:} false; then :
3940   break
3941 fi
3942 done
3943 if ${ac_cv_search_strerror+:} false; then :
3944
3945 else
3946   ac_cv_search_strerror=no
3947 fi
3948 rm conftest.$ac_ext
3949 LIBS=$ac_func_search_save_LIBS
3950 fi
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3952 $as_echo "$ac_cv_search_strerror" >&6; }
3953 ac_res=$ac_cv_search_strerror
3954 if test "$ac_res" != no; then :
3955   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3956
3957 fi
3958
3959 ac_ext=c
3960 ac_cpp='$CPP $CPPFLAGS'
3961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3964 if test -n "$ac_tool_prefix"; then
3965   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3966 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3968 $as_echo_n "checking for $ac_word... " >&6; }
3969 if ${ac_cv_prog_CC+:} false; then :
3970   $as_echo_n "(cached) " >&6
3971 else
3972   if test -n "$CC"; then
3973   ac_cv_prog_CC="$CC" # Let the user override the test.
3974 else
3975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976 for as_dir in $PATH
3977 do
3978   IFS=$as_save_IFS
3979   test -z "$as_dir" && as_dir=.
3980     for ac_exec_ext in '' $ac_executable_extensions; do
3981   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3982     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3983     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3984     break 2
3985   fi
3986 done
3987   done
3988 IFS=$as_save_IFS
3989
3990 fi
3991 fi
3992 CC=$ac_cv_prog_CC
3993 if test -n "$CC"; then
3994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3995 $as_echo "$CC" >&6; }
3996 else
3997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3998 $as_echo "no" >&6; }
3999 fi
4000
4001
4002 fi
4003 if test -z "$ac_cv_prog_CC"; then
4004   ac_ct_CC=$CC
4005   # Extract the first word of "gcc", so it can be a program name with args.
4006 set dummy gcc; ac_word=$2
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4008 $as_echo_n "checking for $ac_word... " >&6; }
4009 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4010   $as_echo_n "(cached) " >&6
4011 else
4012   if test -n "$ac_ct_CC"; then
4013   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4014 else
4015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4016 for as_dir in $PATH
4017 do
4018   IFS=$as_save_IFS
4019   test -z "$as_dir" && as_dir=.
4020     for ac_exec_ext in '' $ac_executable_extensions; do
4021   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4022     ac_cv_prog_ac_ct_CC="gcc"
4023     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4024     break 2
4025   fi
4026 done
4027   done
4028 IFS=$as_save_IFS
4029
4030 fi
4031 fi
4032 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4033 if test -n "$ac_ct_CC"; then
4034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4035 $as_echo "$ac_ct_CC" >&6; }
4036 else
4037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4038 $as_echo "no" >&6; }
4039 fi
4040
4041   if test "x$ac_ct_CC" = x; then
4042     CC=""
4043   else
4044     case $cross_compiling:$ac_tool_warned in
4045 yes:)
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4047 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4048 ac_tool_warned=yes ;;
4049 esac
4050     CC=$ac_ct_CC
4051   fi
4052 else
4053   CC="$ac_cv_prog_CC"
4054 fi
4055
4056 if test -z "$CC"; then
4057           if test -n "$ac_tool_prefix"; then
4058     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4059 set dummy ${ac_tool_prefix}cc; ac_word=$2
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4061 $as_echo_n "checking for $ac_word... " >&6; }
4062 if ${ac_cv_prog_CC+:} false; then :
4063   $as_echo_n "(cached) " >&6
4064 else
4065   if test -n "$CC"; then
4066   ac_cv_prog_CC="$CC" # Let the user override the test.
4067 else
4068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069 for as_dir in $PATH
4070 do
4071   IFS=$as_save_IFS
4072   test -z "$as_dir" && as_dir=.
4073     for ac_exec_ext in '' $ac_executable_extensions; do
4074   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4075     ac_cv_prog_CC="${ac_tool_prefix}cc"
4076     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4077     break 2
4078   fi
4079 done
4080   done
4081 IFS=$as_save_IFS
4082
4083 fi
4084 fi
4085 CC=$ac_cv_prog_CC
4086 if test -n "$CC"; then
4087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4088 $as_echo "$CC" >&6; }
4089 else
4090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4091 $as_echo "no" >&6; }
4092 fi
4093
4094
4095   fi
4096 fi
4097 if test -z "$CC"; then
4098   # Extract the first word of "cc", so it can be a program name with args.
4099 set dummy cc; ac_word=$2
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4101 $as_echo_n "checking for $ac_word... " >&6; }
4102 if ${ac_cv_prog_CC+:} false; then :
4103   $as_echo_n "(cached) " >&6
4104 else
4105   if test -n "$CC"; then
4106   ac_cv_prog_CC="$CC" # Let the user override the test.
4107 else
4108   ac_prog_rejected=no
4109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4110 for as_dir in $PATH
4111 do
4112   IFS=$as_save_IFS
4113   test -z "$as_dir" && as_dir=.
4114     for ac_exec_ext in '' $ac_executable_extensions; do
4115   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4116     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4117        ac_prog_rejected=yes
4118        continue
4119      fi
4120     ac_cv_prog_CC="cc"
4121     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4122     break 2
4123   fi
4124 done
4125   done
4126 IFS=$as_save_IFS
4127
4128 if test $ac_prog_rejected = yes; then
4129   # We found a bogon in the path, so make sure we never use it.
4130   set dummy $ac_cv_prog_CC
4131   shift
4132   if test $# != 0; then
4133     # We chose a different compiler from the bogus one.
4134     # However, it has the same basename, so the bogon will be chosen
4135     # first if we set CC to just the basename; use the full file name.
4136     shift
4137     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4138   fi
4139 fi
4140 fi
4141 fi
4142 CC=$ac_cv_prog_CC
4143 if test -n "$CC"; then
4144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4145 $as_echo "$CC" >&6; }
4146 else
4147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4148 $as_echo "no" >&6; }
4149 fi
4150
4151
4152 fi
4153 if test -z "$CC"; then
4154   if test -n "$ac_tool_prefix"; then
4155   for ac_prog in cl.exe
4156   do
4157     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4158 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4160 $as_echo_n "checking for $ac_word... " >&6; }
4161 if ${ac_cv_prog_CC+:} false; then :
4162   $as_echo_n "(cached) " >&6
4163 else
4164   if test -n "$CC"; then
4165   ac_cv_prog_CC="$CC" # Let the user override the test.
4166 else
4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4168 for as_dir in $PATH
4169 do
4170   IFS=$as_save_IFS
4171   test -z "$as_dir" && as_dir=.
4172     for ac_exec_ext in '' $ac_executable_extensions; do
4173   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4174     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4175     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4176     break 2
4177   fi
4178 done
4179   done
4180 IFS=$as_save_IFS
4181
4182 fi
4183 fi
4184 CC=$ac_cv_prog_CC
4185 if test -n "$CC"; then
4186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4187 $as_echo "$CC" >&6; }
4188 else
4189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4190 $as_echo "no" >&6; }
4191 fi
4192
4193
4194     test -n "$CC" && break
4195   done
4196 fi
4197 if test -z "$CC"; then
4198   ac_ct_CC=$CC
4199   for ac_prog in cl.exe
4200 do
4201   # Extract the first word of "$ac_prog", so it can be a program name with args.
4202 set dummy $ac_prog; ac_word=$2
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4204 $as_echo_n "checking for $ac_word... " >&6; }
4205 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4206   $as_echo_n "(cached) " >&6
4207 else
4208   if test -n "$ac_ct_CC"; then
4209   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4210 else
4211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4212 for as_dir in $PATH
4213 do
4214   IFS=$as_save_IFS
4215   test -z "$as_dir" && as_dir=.
4216     for ac_exec_ext in '' $ac_executable_extensions; do
4217   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4218     ac_cv_prog_ac_ct_CC="$ac_prog"
4219     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4220     break 2
4221   fi
4222 done
4223   done
4224 IFS=$as_save_IFS
4225
4226 fi
4227 fi
4228 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4229 if test -n "$ac_ct_CC"; then
4230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4231 $as_echo "$ac_ct_CC" >&6; }
4232 else
4233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4234 $as_echo "no" >&6; }
4235 fi
4236
4237
4238   test -n "$ac_ct_CC" && break
4239 done
4240
4241   if test "x$ac_ct_CC" = x; then
4242     CC=""
4243   else
4244     case $cross_compiling:$ac_tool_warned in
4245 yes:)
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4248 ac_tool_warned=yes ;;
4249 esac
4250     CC=$ac_ct_CC
4251   fi
4252 fi
4253
4254 fi
4255
4256
4257 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4259 as_fn_error $? "no acceptable C compiler found in \$PATH
4260 See \`config.log' for more details" "$LINENO" 5; }
4261
4262 # Provide some information about the compiler.
4263 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4264 set X $ac_compile
4265 ac_compiler=$2
4266 for ac_option in --version -v -V -qversion; do
4267   { { ac_try="$ac_compiler $ac_option >&5"
4268 case "(($ac_try" in
4269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4270   *) ac_try_echo=$ac_try;;
4271 esac
4272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4273 $as_echo "$ac_try_echo"; } >&5
4274   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4275   ac_status=$?
4276   if test -s conftest.err; then
4277     sed '10a\
4278 ... rest of stderr output deleted ...
4279          10q' conftest.err >conftest.er1
4280     cat conftest.er1 >&5
4281   fi
4282   rm -f conftest.er1 conftest.err
4283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4284   test $ac_status = 0; }
4285 done
4286
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4288 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4289 if ${ac_cv_c_compiler_gnu+:} false; then :
4290   $as_echo_n "(cached) " >&6
4291 else
4292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4293 /* end confdefs.h.  */
4294
4295 int
4296 main ()
4297 {
4298 #ifndef __GNUC__
4299        choke me
4300 #endif
4301
4302   ;
4303   return 0;
4304 }
4305 _ACEOF
4306 if ac_fn_c_try_compile "$LINENO"; then :
4307   ac_compiler_gnu=yes
4308 else
4309   ac_compiler_gnu=no
4310 fi
4311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4312 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4313
4314 fi
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4316 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4317 if test $ac_compiler_gnu = yes; then
4318   GCC=yes
4319 else
4320   GCC=
4321 fi
4322 ac_test_CFLAGS=${CFLAGS+set}
4323 ac_save_CFLAGS=$CFLAGS
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4325 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4326 if ${ac_cv_prog_cc_g+:} false; then :
4327   $as_echo_n "(cached) " >&6
4328 else
4329   ac_save_c_werror_flag=$ac_c_werror_flag
4330    ac_c_werror_flag=yes
4331    ac_cv_prog_cc_g=no
4332    CFLAGS="-g"
4333    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h.  */
4335
4336 int
4337 main ()
4338 {
4339
4340   ;
4341   return 0;
4342 }
4343 _ACEOF
4344 if ac_fn_c_try_compile "$LINENO"; then :
4345   ac_cv_prog_cc_g=yes
4346 else
4347   CFLAGS=""
4348       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h.  */
4350
4351 int
4352 main ()
4353 {
4354
4355   ;
4356   return 0;
4357 }
4358 _ACEOF
4359 if ac_fn_c_try_compile "$LINENO"; then :
4360
4361 else
4362   ac_c_werror_flag=$ac_save_c_werror_flag
4363          CFLAGS="-g"
4364          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365 /* end confdefs.h.  */
4366
4367 int
4368 main ()
4369 {
4370
4371   ;
4372   return 0;
4373 }
4374 _ACEOF
4375 if ac_fn_c_try_compile "$LINENO"; then :
4376   ac_cv_prog_cc_g=yes
4377 fi
4378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4379 fi
4380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4381 fi
4382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4383    ac_c_werror_flag=$ac_save_c_werror_flag
4384 fi
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4386 $as_echo "$ac_cv_prog_cc_g" >&6; }
4387 if test "$ac_test_CFLAGS" = set; then
4388   CFLAGS=$ac_save_CFLAGS
4389 elif test $ac_cv_prog_cc_g = yes; then
4390   if test "$GCC" = yes; then
4391     CFLAGS="-g -O2"
4392   else
4393     CFLAGS="-g"
4394   fi
4395 else
4396   if test "$GCC" = yes; then
4397     CFLAGS="-O2"
4398   else
4399     CFLAGS=
4400   fi
4401 fi
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4403 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4404 if ${ac_cv_prog_cc_c89+:} false; then :
4405   $as_echo_n "(cached) " >&6
4406 else
4407   ac_cv_prog_cc_c89=no
4408 ac_save_CC=$CC
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h.  */
4411 #include <stdarg.h>
4412 #include <stdio.h>
4413 struct stat;
4414 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4415 struct buf { int x; };
4416 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4417 static char *e (p, i)
4418      char **p;
4419      int i;
4420 {
4421   return p[i];
4422 }
4423 static char *f (char * (*g) (char **, int), char **p, ...)
4424 {
4425   char *s;
4426   va_list v;
4427   va_start (v,p);
4428   s = g (p, va_arg (v,int));
4429   va_end (v);
4430   return s;
4431 }
4432
4433 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4434    function prototypes and stuff, but not '\xHH' hex character constants.
4435    These don't provoke an error unfortunately, instead are silently treated
4436    as 'x'.  The following induces an error, until -std is added to get
4437    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4438    array size at least.  It's necessary to write '\x00'==0 to get something
4439    that's true only with -std.  */
4440 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4441
4442 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4443    inside strings and character constants.  */
4444 #define FOO(x) 'x'
4445 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4446
4447 int test (int i, double x);
4448 struct s1 {int (*f) (int a);};
4449 struct s2 {int (*f) (double a);};
4450 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4451 int argc;
4452 char **argv;
4453 int
4454 main ()
4455 {
4456 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4457   ;
4458   return 0;
4459 }
4460 _ACEOF
4461 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4462         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4463 do
4464   CC="$ac_save_CC $ac_arg"
4465   if ac_fn_c_try_compile "$LINENO"; then :
4466   ac_cv_prog_cc_c89=$ac_arg
4467 fi
4468 rm -f core conftest.err conftest.$ac_objext
4469   test "x$ac_cv_prog_cc_c89" != "xno" && break
4470 done
4471 rm -f conftest.$ac_ext
4472 CC=$ac_save_CC
4473
4474 fi
4475 # AC_CACHE_VAL
4476 case "x$ac_cv_prog_cc_c89" in
4477   x)
4478     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4479 $as_echo "none needed" >&6; } ;;
4480   xno)
4481     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4482 $as_echo "unsupported" >&6; } ;;
4483   *)
4484     CC="$CC $ac_cv_prog_cc_c89"
4485     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4486 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4487 esac
4488 if test "x$ac_cv_prog_cc_c89" != xno; then :
4489
4490 fi
4491
4492 ac_ext=c
4493 ac_cpp='$CPP $CPPFLAGS'
4494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4497
4498 depcc="$CC"   am_compiler_list=
4499
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4501 $as_echo_n "checking dependency style of $depcc... " >&6; }
4502 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4503   $as_echo_n "(cached) " >&6
4504 else
4505   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4506   # We make a subdir and do the tests there.  Otherwise we can end up
4507   # making bogus files that we don't know about and never remove.  For
4508   # instance it was reported that on HP-UX the gcc test will end up
4509   # making a dummy file named `D' -- because `-MD' means `put the output
4510   # in D'.
4511   rm -rf conftest.dir
4512   mkdir conftest.dir
4513   # Copy depcomp to subdir because otherwise we won't find it if we're
4514   # using a relative directory.
4515   cp "$am_depcomp" conftest.dir
4516   cd conftest.dir
4517   # We will build objects and dependencies in a subdirectory because
4518   # it helps to detect inapplicable dependency modes.  For instance
4519   # both Tru64's cc and ICC support -MD to output dependencies as a
4520   # side effect of compilation, but ICC will put the dependencies in
4521   # the current directory while Tru64 will put them in the object
4522   # directory.
4523   mkdir sub
4524
4525   am_cv_CC_dependencies_compiler_type=none
4526   if test "$am_compiler_list" = ""; then
4527      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4528   fi
4529   am__universal=false
4530   case " $depcc " in #(
4531      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4532      esac
4533
4534   for depmode in $am_compiler_list; do
4535     # Setup a source with many dependencies, because some compilers
4536     # like to wrap large dependency lists on column 80 (with \), and
4537     # we should not choose a depcomp mode which is confused by this.
4538     #
4539     # We need to recreate these files for each test, as the compiler may
4540     # overwrite some of them when testing with obscure command lines.
4541     # This happens at least with the AIX C compiler.
4542     : > sub/conftest.c
4543     for i in 1 2 3 4 5 6; do
4544       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4545       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4546       # Solaris 8's {/usr,}/bin/sh.
4547       touch sub/conftst$i.h
4548     done
4549     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4550
4551     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4552     # mode.  It turns out that the SunPro C++ compiler does not properly
4553     # handle `-M -o', and we need to detect this.  Also, some Intel
4554     # versions had trouble with output in subdirs
4555     am__obj=sub/conftest.${OBJEXT-o}
4556     am__minus_obj="-o $am__obj"
4557     case $depmode in
4558     gcc)
4559       # This depmode causes a compiler race in universal mode.
4560       test "$am__universal" = false || continue
4561       ;;
4562     nosideeffect)
4563       # after this tag, mechanisms are not by side-effect, so they'll
4564       # only be used when explicitly requested
4565       if test "x$enable_dependency_tracking" = xyes; then
4566         continue
4567       else
4568         break
4569       fi
4570       ;;
4571     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4572       # This compiler won't grok `-c -o', but also, the minuso test has
4573       # not run yet.  These depmodes are late enough in the game, and
4574       # so weak that their functioning should not be impacted.
4575       am__obj=conftest.${OBJEXT-o}
4576       am__minus_obj=
4577       ;;
4578     none) break ;;
4579     esac
4580     if depmode=$depmode \
4581        source=sub/conftest.c object=$am__obj \
4582        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4583        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4584          >/dev/null 2>conftest.err &&
4585        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4586        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4587        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4588        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4589       # icc doesn't choke on unknown options, it will just issue warnings
4590       # or remarks (even with -Werror).  So we grep stderr for any message
4591       # that says an option was ignored or not supported.
4592       # When given -MP, icc 7.0 and 7.1 complain thusly:
4593       #   icc: Command line warning: ignoring option '-M'; no argument required
4594       # The diagnosis changed in icc 8.0:
4595       #   icc: Command line remark: option '-MP' not supported
4596       if (grep 'ignoring option' conftest.err ||
4597           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4598         am_cv_CC_dependencies_compiler_type=$depmode
4599         break
4600       fi
4601     fi
4602   done
4603
4604   cd ..
4605   rm -rf conftest.dir
4606 else
4607   am_cv_CC_dependencies_compiler_type=none
4608 fi
4609
4610 fi
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4612 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4613 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4614
4615  if
4616   test "x$enable_dependency_tracking" != xno \
4617   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4618   am__fastdepCC_TRUE=
4619   am__fastdepCC_FALSE='#'
4620 else
4621   am__fastdepCC_TRUE='#'
4622   am__fastdepCC_FALSE=
4623 fi
4624
4625
4626 ac_ext=c
4627 ac_cpp='$CPP $CPPFLAGS'
4628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4632 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4633 # On Suns, sometimes $CPP names a directory.
4634 if test -n "$CPP" && test -d "$CPP"; then
4635   CPP=
4636 fi
4637 if test -z "$CPP"; then
4638   if ${ac_cv_prog_CPP+:} false; then :
4639   $as_echo_n "(cached) " >&6
4640 else
4641       # Double quotes because CPP needs to be expanded
4642     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4643     do
4644       ac_preproc_ok=false
4645 for ac_c_preproc_warn_flag in '' yes
4646 do
4647   # Use a header file that comes with gcc, so configuring glibc
4648   # with a fresh cross-compiler works.
4649   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4650   # <limits.h> exists even on freestanding compilers.
4651   # On the NeXT, cc -E runs the code through the compiler's parser,
4652   # not just through cpp. "Syntax error" is here to catch this case.
4653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h.  */
4655 #ifdef __STDC__
4656 # include <limits.h>
4657 #else
4658 # include <assert.h>
4659 #endif
4660                      Syntax error
4661 _ACEOF
4662 if ac_fn_c_try_cpp "$LINENO"; then :
4663
4664 else
4665   # Broken: fails on valid input.
4666 continue
4667 fi
4668 rm -f conftest.err conftest.i conftest.$ac_ext
4669
4670   # OK, works on sane cases.  Now check whether nonexistent headers
4671   # can be detected and how.
4672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4673 /* end confdefs.h.  */
4674 #include <ac_nonexistent.h>
4675 _ACEOF
4676 if ac_fn_c_try_cpp "$LINENO"; then :
4677   # Broken: success on invalid input.
4678 continue
4679 else
4680   # Passes both tests.
4681 ac_preproc_ok=:
4682 break
4683 fi
4684 rm -f conftest.err conftest.i conftest.$ac_ext
4685
4686 done
4687 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4688 rm -f conftest.i conftest.err conftest.$ac_ext
4689 if $ac_preproc_ok; then :
4690   break
4691 fi
4692
4693     done
4694     ac_cv_prog_CPP=$CPP
4695
4696 fi
4697   CPP=$ac_cv_prog_CPP
4698 else
4699   ac_cv_prog_CPP=$CPP
4700 fi
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4702 $as_echo "$CPP" >&6; }
4703 ac_preproc_ok=false
4704 for ac_c_preproc_warn_flag in '' yes
4705 do
4706   # Use a header file that comes with gcc, so configuring glibc
4707   # with a fresh cross-compiler works.
4708   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4709   # <limits.h> exists even on freestanding compilers.
4710   # On the NeXT, cc -E runs the code through the compiler's parser,
4711   # not just through cpp. "Syntax error" is here to catch this case.
4712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h.  */
4714 #ifdef __STDC__
4715 # include <limits.h>
4716 #else
4717 # include <assert.h>
4718 #endif
4719                      Syntax error
4720 _ACEOF
4721 if ac_fn_c_try_cpp "$LINENO"; then :
4722
4723 else
4724   # Broken: fails on valid input.
4725 continue
4726 fi
4727 rm -f conftest.err conftest.i conftest.$ac_ext
4728
4729   # OK, works on sane cases.  Now check whether nonexistent headers
4730   # can be detected and how.
4731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h.  */
4733 #include <ac_nonexistent.h>
4734 _ACEOF
4735 if ac_fn_c_try_cpp "$LINENO"; then :
4736   # Broken: success on invalid input.
4737 continue
4738 else
4739   # Passes both tests.
4740 ac_preproc_ok=:
4741 break
4742 fi
4743 rm -f conftest.err conftest.i conftest.$ac_ext
4744
4745 done
4746 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4747 rm -f conftest.i conftest.err conftest.$ac_ext
4748 if $ac_preproc_ok; then :
4749
4750 else
4751   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4753 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4754 See \`config.log' for more details" "$LINENO" 5; }
4755 fi
4756
4757 ac_ext=c
4758 ac_cpp='$CPP $CPPFLAGS'
4759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4762
4763
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4765 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4766 if ${ac_cv_path_GREP+:} false; then :
4767   $as_echo_n "(cached) " >&6
4768 else
4769   if test -z "$GREP"; then
4770   ac_path_GREP_found=false
4771   # Loop through the user's path and test for each of PROGNAME-LIST
4772   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4773 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4774 do
4775   IFS=$as_save_IFS
4776   test -z "$as_dir" && as_dir=.
4777     for ac_prog in grep ggrep; do
4778     for ac_exec_ext in '' $ac_executable_extensions; do
4779       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4780       as_fn_executable_p "$ac_path_GREP" || continue
4781 # Check for GNU ac_path_GREP and select it if it is found.
4782   # Check for GNU $ac_path_GREP
4783 case `"$ac_path_GREP" --version 2>&1` in
4784 *GNU*)
4785   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4786 *)
4787   ac_count=0
4788   $as_echo_n 0123456789 >"conftest.in"
4789   while :
4790   do
4791     cat "conftest.in" "conftest.in" >"conftest.tmp"
4792     mv "conftest.tmp" "conftest.in"
4793     cp "conftest.in" "conftest.nl"
4794     $as_echo 'GREP' >> "conftest.nl"
4795     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4796     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4797     as_fn_arith $ac_count + 1 && ac_count=$as_val
4798     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4799       # Best one so far, save it but keep looking for a better one
4800       ac_cv_path_GREP="$ac_path_GREP"
4801       ac_path_GREP_max=$ac_count
4802     fi
4803     # 10*(2^10) chars as input seems more than enough
4804     test $ac_count -gt 10 && break
4805   done
4806   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4807 esac
4808
4809       $ac_path_GREP_found && break 3
4810     done
4811   done
4812   done
4813 IFS=$as_save_IFS
4814   if test -z "$ac_cv_path_GREP"; then
4815     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4816   fi
4817 else
4818   ac_cv_path_GREP=$GREP
4819 fi
4820
4821 fi
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4823 $as_echo "$ac_cv_path_GREP" >&6; }
4824  GREP="$ac_cv_path_GREP"
4825
4826
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4828 $as_echo_n "checking for egrep... " >&6; }
4829 if ${ac_cv_path_EGREP+:} false; then :
4830   $as_echo_n "(cached) " >&6
4831 else
4832   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4833    then ac_cv_path_EGREP="$GREP -E"
4834    else
4835      if test -z "$EGREP"; then
4836   ac_path_EGREP_found=false
4837   # Loop through the user's path and test for each of PROGNAME-LIST
4838   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4839 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4840 do
4841   IFS=$as_save_IFS
4842   test -z "$as_dir" && as_dir=.
4843     for ac_prog in egrep; do
4844     for ac_exec_ext in '' $ac_executable_extensions; do
4845       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4846       as_fn_executable_p "$ac_path_EGREP" || continue
4847 # Check for GNU ac_path_EGREP and select it if it is found.
4848   # Check for GNU $ac_path_EGREP
4849 case `"$ac_path_EGREP" --version 2>&1` in
4850 *GNU*)
4851   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4852 *)
4853   ac_count=0
4854   $as_echo_n 0123456789 >"conftest.in"
4855   while :
4856   do
4857     cat "conftest.in" "conftest.in" >"conftest.tmp"
4858     mv "conftest.tmp" "conftest.in"
4859     cp "conftest.in" "conftest.nl"
4860     $as_echo 'EGREP' >> "conftest.nl"
4861     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4862     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4863     as_fn_arith $ac_count + 1 && ac_count=$as_val
4864     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4865       # Best one so far, save it but keep looking for a better one
4866       ac_cv_path_EGREP="$ac_path_EGREP"
4867       ac_path_EGREP_max=$ac_count
4868     fi
4869     # 10*(2^10) chars as input seems more than enough
4870     test $ac_count -gt 10 && break
4871   done
4872   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4873 esac
4874
4875       $ac_path_EGREP_found && break 3
4876     done
4877   done
4878   done
4879 IFS=$as_save_IFS
4880   if test -z "$ac_cv_path_EGREP"; then
4881     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4882   fi
4883 else
4884   ac_cv_path_EGREP=$EGREP
4885 fi
4886
4887    fi
4888 fi
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4890 $as_echo "$ac_cv_path_EGREP" >&6; }
4891  EGREP="$ac_cv_path_EGREP"
4892
4893
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4895 $as_echo_n "checking for ANSI C header files... " >&6; }
4896 if ${ac_cv_header_stdc+:} false; then :
4897   $as_echo_n "(cached) " >&6
4898 else
4899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4900 /* end confdefs.h.  */
4901 #include <stdlib.h>
4902 #include <stdarg.h>
4903 #include <string.h>
4904 #include <float.h>
4905
4906 int
4907 main ()
4908 {
4909
4910   ;
4911   return 0;
4912 }
4913 _ACEOF
4914 if ac_fn_c_try_compile "$LINENO"; then :
4915   ac_cv_header_stdc=yes
4916 else
4917   ac_cv_header_stdc=no
4918 fi
4919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4920
4921 if test $ac_cv_header_stdc = yes; then
4922   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4924 /* end confdefs.h.  */
4925 #include <string.h>
4926
4927 _ACEOF
4928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4929   $EGREP "memchr" >/dev/null 2>&1; then :
4930
4931 else
4932   ac_cv_header_stdc=no
4933 fi
4934 rm -f conftest*
4935
4936 fi
4937
4938 if test $ac_cv_header_stdc = yes; then
4939   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4941 /* end confdefs.h.  */
4942 #include <stdlib.h>
4943
4944 _ACEOF
4945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4946   $EGREP "free" >/dev/null 2>&1; then :
4947
4948 else
4949   ac_cv_header_stdc=no
4950 fi
4951 rm -f conftest*
4952
4953 fi
4954
4955 if test $ac_cv_header_stdc = yes; then
4956   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4957   if test "$cross_compiling" = yes; then :
4958   :
4959 else
4960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4961 /* end confdefs.h.  */
4962 #include <ctype.h>
4963 #include <stdlib.h>
4964 #if ((' ' & 0x0FF) == 0x020)
4965 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4966 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4967 #else
4968 # define ISLOWER(c) \
4969                    (('a' <= (c) && (c) <= 'i') \
4970                      || ('j' <= (c) && (c) <= 'r') \
4971                      || ('s' <= (c) && (c) <= 'z'))
4972 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4973 #endif
4974
4975 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4976 int
4977 main ()
4978 {
4979   int i;
4980   for (i = 0; i < 256; i++)
4981     if (XOR (islower (i), ISLOWER (i))
4982         || toupper (i) != TOUPPER (i))
4983       return 2;
4984   return 0;
4985 }
4986 _ACEOF
4987 if ac_fn_c_try_run "$LINENO"; then :
4988
4989 else
4990   ac_cv_header_stdc=no
4991 fi
4992 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4993   conftest.$ac_objext conftest.beam conftest.$ac_ext
4994 fi
4995
4996 fi
4997 fi
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4999 $as_echo "$ac_cv_header_stdc" >&6; }
5000 if test $ac_cv_header_stdc = yes; then
5001
5002 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5003
5004 fi
5005
5006
5007
5008 case `pwd` in
5009   *\ * | *\     *)
5010     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5011 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5012 esac
5013
5014
5015
5016 macro_version='2.4.2'
5017 macro_revision='1.3337'
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031 ltmain="$ac_aux_dir/ltmain.sh"
5032
5033 # Make sure we can run config.sub.
5034 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5035   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5036
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5038 $as_echo_n "checking build system type... " >&6; }
5039 if ${ac_cv_build+:} false; then :
5040   $as_echo_n "(cached) " >&6
5041 else
5042   ac_build_alias=$build_alias
5043 test "x$ac_build_alias" = x &&
5044   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5045 test "x$ac_build_alias" = x &&
5046   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5047 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5048   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5049
5050 fi
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5052 $as_echo "$ac_cv_build" >&6; }
5053 case $ac_cv_build in
5054 *-*-*) ;;
5055 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5056 esac
5057 build=$ac_cv_build
5058 ac_save_IFS=$IFS; IFS='-'
5059 set x $ac_cv_build
5060 shift
5061 build_cpu=$1
5062 build_vendor=$2
5063 shift; shift
5064 # Remember, the first character of IFS is used to create $*,
5065 # except with old shells:
5066 build_os=$*
5067 IFS=$ac_save_IFS
5068 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5069
5070
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5072 $as_echo_n "checking host system type... " >&6; }
5073 if ${ac_cv_host+:} false; then :
5074   $as_echo_n "(cached) " >&6
5075 else
5076   if test "x$host_alias" = x; then
5077   ac_cv_host=$ac_cv_build
5078 else
5079   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5080     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5081 fi
5082
5083 fi
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5085 $as_echo "$ac_cv_host" >&6; }
5086 case $ac_cv_host in
5087 *-*-*) ;;
5088 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5089 esac
5090 host=$ac_cv_host
5091 ac_save_IFS=$IFS; IFS='-'
5092 set x $ac_cv_host
5093 shift
5094 host_cpu=$1
5095 host_vendor=$2
5096 shift; shift
5097 # Remember, the first character of IFS is used to create $*,
5098 # except with old shells:
5099 host_os=$*
5100 IFS=$ac_save_IFS
5101 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5102
5103
5104 # Backslashify metacharacters that are still active within
5105 # double-quoted strings.
5106 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5107
5108 # Same as above, but do not quote variable references.
5109 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5110
5111 # Sed substitution to delay expansion of an escaped shell variable in a
5112 # double_quote_subst'ed string.
5113 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5114
5115 # Sed substitution to delay expansion of an escaped single quote.
5116 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5117
5118 # Sed substitution to avoid accidental globbing in evaled expressions
5119 no_glob_subst='s/\*/\\\*/g'
5120
5121 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5122 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5123 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5124
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5126 $as_echo_n "checking how to print strings... " >&6; }
5127 # Test print first, because it will be a builtin if present.
5128 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5129    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5130   ECHO='print -r --'
5131 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5132   ECHO='printf %s\n'
5133 else
5134   # Use this function as a fallback that always works.
5135   func_fallback_echo ()
5136   {
5137     eval 'cat <<_LTECHO_EOF
5138 $1
5139 _LTECHO_EOF'
5140   }
5141   ECHO='func_fallback_echo'
5142 fi
5143
5144 # func_echo_all arg...
5145 # Invoke $ECHO with all args, space-separated.
5146 func_echo_all ()
5147 {
5148     $ECHO ""
5149 }
5150
5151 case "$ECHO" in
5152   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5153 $as_echo "printf" >&6; } ;;
5154   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5155 $as_echo "print -r" >&6; } ;;
5156   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5157 $as_echo "cat" >&6; } ;;
5158 esac
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5174 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5175 if ${ac_cv_path_SED+:} false; then :
5176   $as_echo_n "(cached) " >&6
5177 else
5178             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5179      for ac_i in 1 2 3 4 5 6 7; do
5180        ac_script="$ac_script$as_nl$ac_script"
5181      done
5182      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5183      { ac_script=; unset ac_script;}
5184      if test -z "$SED"; then
5185   ac_path_SED_found=false
5186   # Loop through the user's path and test for each of PROGNAME-LIST
5187   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5188 for as_dir in $PATH
5189 do
5190   IFS=$as_save_IFS
5191   test -z "$as_dir" && as_dir=.
5192     for ac_prog in sed gsed; do
5193     for ac_exec_ext in '' $ac_executable_extensions; do
5194       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5195       as_fn_executable_p "$ac_path_SED" || continue
5196 # Check for GNU ac_path_SED and select it if it is found.
5197   # Check for GNU $ac_path_SED
5198 case `"$ac_path_SED" --version 2>&1` in
5199 *GNU*)
5200   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5201 *)
5202   ac_count=0
5203   $as_echo_n 0123456789 >"conftest.in"
5204   while :
5205   do
5206     cat "conftest.in" "conftest.in" >"conftest.tmp"
5207     mv "conftest.tmp" "conftest.in"
5208     cp "conftest.in" "conftest.nl"
5209     $as_echo '' >> "conftest.nl"
5210     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5211     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5212     as_fn_arith $ac_count + 1 && ac_count=$as_val
5213     if test $ac_count -gt ${ac_path_SED_max-0}; then
5214       # Best one so far, save it but keep looking for a better one
5215       ac_cv_path_SED="$ac_path_SED"
5216       ac_path_SED_max=$ac_count
5217     fi
5218     # 10*(2^10) chars as input seems more than enough
5219     test $ac_count -gt 10 && break
5220   done
5221   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5222 esac
5223
5224       $ac_path_SED_found && break 3
5225     done
5226   done
5227   done
5228 IFS=$as_save_IFS
5229   if test -z "$ac_cv_path_SED"; then
5230     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5231   fi
5232 else
5233   ac_cv_path_SED=$SED
5234 fi
5235
5236 fi
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5238 $as_echo "$ac_cv_path_SED" >&6; }
5239  SED="$ac_cv_path_SED"
5240   rm -f conftest.sed
5241
5242 test -z "$SED" && SED=sed
5243 Xsed="$SED -e 1s/^X//"
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5256 $as_echo_n "checking for fgrep... " >&6; }
5257 if ${ac_cv_path_FGREP+:} false; then :
5258   $as_echo_n "(cached) " >&6
5259 else
5260   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5261    then ac_cv_path_FGREP="$GREP -F"
5262    else
5263      if test -z "$FGREP"; then
5264   ac_path_FGREP_found=false
5265   # Loop through the user's path and test for each of PROGNAME-LIST
5266   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5268 do
5269   IFS=$as_save_IFS
5270   test -z "$as_dir" && as_dir=.
5271     for ac_prog in fgrep; do
5272     for ac_exec_ext in '' $ac_executable_extensions; do
5273       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5274       as_fn_executable_p "$ac_path_FGREP" || continue
5275 # Check for GNU ac_path_FGREP and select it if it is found.
5276   # Check for GNU $ac_path_FGREP
5277 case `"$ac_path_FGREP" --version 2>&1` in
5278 *GNU*)
5279   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5280 *)
5281   ac_count=0
5282   $as_echo_n 0123456789 >"conftest.in"
5283   while :
5284   do
5285     cat "conftest.in" "conftest.in" >"conftest.tmp"
5286     mv "conftest.tmp" "conftest.in"
5287     cp "conftest.in" "conftest.nl"
5288     $as_echo 'FGREP' >> "conftest.nl"
5289     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5290     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5291     as_fn_arith $ac_count + 1 && ac_count=$as_val
5292     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5293       # Best one so far, save it but keep looking for a better one
5294       ac_cv_path_FGREP="$ac_path_FGREP"
5295       ac_path_FGREP_max=$ac_count
5296     fi
5297     # 10*(2^10) chars as input seems more than enough
5298     test $ac_count -gt 10 && break
5299   done
5300   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5301 esac
5302
5303       $ac_path_FGREP_found && break 3
5304     done
5305   done
5306   done
5307 IFS=$as_save_IFS
5308   if test -z "$ac_cv_path_FGREP"; then
5309     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5310   fi
5311 else
5312   ac_cv_path_FGREP=$FGREP
5313 fi
5314
5315    fi
5316 fi
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5318 $as_echo "$ac_cv_path_FGREP" >&6; }
5319  FGREP="$ac_cv_path_FGREP"
5320
5321
5322 test -z "$GREP" && GREP=grep
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342 # Check whether --with-gnu-ld was given.
5343 if test "${with_gnu_ld+set}" = set; then :
5344   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5345 else
5346   with_gnu_ld=no
5347 fi
5348
5349 ac_prog=ld
5350 if test "$GCC" = yes; then
5351   # Check if gcc -print-prog-name=ld gives a path.
5352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5353 $as_echo_n "checking for ld used by $CC... " >&6; }
5354   case $host in
5355   *-*-mingw*)
5356     # gcc leaves a trailing carriage return which upsets mingw
5357     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5358   *)
5359     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5360   esac
5361   case $ac_prog in
5362     # Accept absolute paths.
5363     [\\/]* | ?:[\\/]*)
5364       re_direlt='/[^/][^/]*/\.\./'
5365       # Canonicalize the pathname of ld
5366       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5367       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5368         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5369       done
5370       test -z "$LD" && LD="$ac_prog"
5371       ;;
5372   "")
5373     # If it fails, then pretend we aren't using GCC.
5374     ac_prog=ld
5375     ;;
5376   *)
5377     # If it is relative, then search for the first ld in PATH.
5378     with_gnu_ld=unknown
5379     ;;
5380   esac
5381 elif test "$with_gnu_ld" = yes; then
5382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5383 $as_echo_n "checking for GNU ld... " >&6; }
5384 else
5385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5386 $as_echo_n "checking for non-GNU ld... " >&6; }
5387 fi
5388 if ${lt_cv_path_LD+:} false; then :
5389   $as_echo_n "(cached) " >&6
5390 else
5391   if test -z "$LD"; then
5392   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5393   for ac_dir in $PATH; do
5394     IFS="$lt_save_ifs"
5395     test -z "$ac_dir" && ac_dir=.
5396     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5397       lt_cv_path_LD="$ac_dir/$ac_prog"
5398       # Check to see if the program is GNU ld.  I'd rather use --version,
5399       # but apparently some variants of GNU ld only accept -v.
5400       # Break only if it was the GNU/non-GNU ld that we prefer.
5401       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5402       *GNU* | *'with BFD'*)
5403         test "$with_gnu_ld" != no && break
5404         ;;
5405       *)
5406         test "$with_gnu_ld" != yes && break
5407         ;;
5408       esac
5409     fi
5410   done
5411   IFS="$lt_save_ifs"
5412 else
5413   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5414 fi
5415 fi
5416
5417 LD="$lt_cv_path_LD"
5418 if test -n "$LD"; then
5419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5420 $as_echo "$LD" >&6; }
5421 else
5422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5424 fi
5425 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5427 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5428 if ${lt_cv_prog_gnu_ld+:} false; then :
5429   $as_echo_n "(cached) " >&6
5430 else
5431   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5432 case `$LD -v 2>&1 </dev/null` in
5433 *GNU* | *'with BFD'*)
5434   lt_cv_prog_gnu_ld=yes
5435   ;;
5436 *)
5437   lt_cv_prog_gnu_ld=no
5438   ;;
5439 esac
5440 fi
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5442 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5443 with_gnu_ld=$lt_cv_prog_gnu_ld
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5454 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5455 if ${lt_cv_path_NM+:} false; then :
5456   $as_echo_n "(cached) " >&6
5457 else
5458   if test -n "$NM"; then
5459   # Let the user override the test.
5460   lt_cv_path_NM="$NM"
5461 else
5462   lt_nm_to_check="${ac_tool_prefix}nm"
5463   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5464     lt_nm_to_check="$lt_nm_to_check nm"
5465   fi
5466   for lt_tmp_nm in $lt_nm_to_check; do
5467     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5468     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5469       IFS="$lt_save_ifs"
5470       test -z "$ac_dir" && ac_dir=.
5471       tmp_nm="$ac_dir/$lt_tmp_nm"
5472       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5473         # Check to see if the nm accepts a BSD-compat flag.
5474         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5475         #   nm: unknown option "B" ignored
5476         # Tru64's nm complains that /dev/null is an invalid object file
5477         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5478         */dev/null* | *'Invalid file or object type'*)
5479           lt_cv_path_NM="$tmp_nm -B"
5480           break
5481           ;;
5482         *)
5483           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5484           */dev/null*)
5485             lt_cv_path_NM="$tmp_nm -p"
5486             break
5487             ;;
5488           *)
5489             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5490             continue # so that we can try to find one that supports BSD flags
5491             ;;
5492           esac
5493           ;;
5494         esac
5495       fi
5496     done
5497     IFS="$lt_save_ifs"
5498   done
5499   : ${lt_cv_path_NM=no}
5500 fi
5501 fi
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5503 $as_echo "$lt_cv_path_NM" >&6; }
5504 if test "$lt_cv_path_NM" != "no"; then
5505   NM="$lt_cv_path_NM"
5506 else
5507   # Didn't find any BSD compatible name lister, look for dumpbin.
5508   if test -n "$DUMPBIN"; then :
5509     # Let the user override the test.
5510   else
5511     if test -n "$ac_tool_prefix"; then
5512   for ac_prog in dumpbin "link -dump"
5513   do
5514     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5515 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if ${ac_cv_prog_DUMPBIN+:} false; then :
5519   $as_echo_n "(cached) " >&6
5520 else
5521   if test -n "$DUMPBIN"; then
5522   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5523 else
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 for as_dir in $PATH
5526 do
5527   IFS=$as_save_IFS
5528   test -z "$as_dir" && as_dir=.
5529     for ac_exec_ext in '' $ac_executable_extensions; do
5530   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5531     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533     break 2
5534   fi
5535 done
5536   done
5537 IFS=$as_save_IFS
5538
5539 fi
5540 fi
5541 DUMPBIN=$ac_cv_prog_DUMPBIN
5542 if test -n "$DUMPBIN"; then
5543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5544 $as_echo "$DUMPBIN" >&6; }
5545 else
5546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5548 fi
5549
5550
5551     test -n "$DUMPBIN" && break
5552   done
5553 fi
5554 if test -z "$DUMPBIN"; then
5555   ac_ct_DUMPBIN=$DUMPBIN
5556   for ac_prog in dumpbin "link -dump"
5557 do
5558   # Extract the first word of "$ac_prog", so it can be a program name with args.
5559 set dummy $ac_prog; ac_word=$2
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5561 $as_echo_n "checking for $ac_word... " >&6; }
5562 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5563   $as_echo_n "(cached) " >&6
5564 else
5565   if test -n "$ac_ct_DUMPBIN"; then
5566   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5567 else
5568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5569 for as_dir in $PATH
5570 do
5571   IFS=$as_save_IFS
5572   test -z "$as_dir" && as_dir=.
5573     for ac_exec_ext in '' $ac_executable_extensions; do
5574   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5575     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5577     break 2
5578   fi
5579 done
5580   done
5581 IFS=$as_save_IFS
5582
5583 fi
5584 fi
5585 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5586 if test -n "$ac_ct_DUMPBIN"; then
5587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5588 $as_echo "$ac_ct_DUMPBIN" >&6; }
5589 else
5590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5591 $as_echo "no" >&6; }
5592 fi
5593
5594
5595   test -n "$ac_ct_DUMPBIN" && break
5596 done
5597
5598   if test "x$ac_ct_DUMPBIN" = x; then
5599     DUMPBIN=":"
5600   else
5601     case $cross_compiling:$ac_tool_warned in
5602 yes:)
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5605 ac_tool_warned=yes ;;
5606 esac
5607     DUMPBIN=$ac_ct_DUMPBIN
5608   fi
5609 fi
5610
5611     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5612     *COFF*)
5613       DUMPBIN="$DUMPBIN -symbols"
5614       ;;
5615     *)
5616       DUMPBIN=:
5617       ;;
5618     esac
5619   fi
5620
5621   if test "$DUMPBIN" != ":"; then
5622     NM="$DUMPBIN"
5623   fi
5624 fi
5625 test -z "$NM" && NM=nm
5626
5627
5628
5629
5630
5631
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5633 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5634 if ${lt_cv_nm_interface+:} false; then :
5635   $as_echo_n "(cached) " >&6
5636 else
5637   lt_cv_nm_interface="BSD nm"
5638   echo "int some_variable = 0;" > conftest.$ac_ext
5639   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5640   (eval "$ac_compile" 2>conftest.err)
5641   cat conftest.err >&5
5642   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5643   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5644   cat conftest.err >&5
5645   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5646   cat conftest.out >&5
5647   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5648     lt_cv_nm_interface="MS dumpbin"
5649   fi
5650   rm -f conftest*
5651 fi
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5653 $as_echo "$lt_cv_nm_interface" >&6; }
5654
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5656 $as_echo_n "checking whether ln -s works... " >&6; }
5657 LN_S=$as_ln_s
5658 if test "$LN_S" = "ln -s"; then
5659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5660 $as_echo "yes" >&6; }
5661 else
5662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5663 $as_echo "no, using $LN_S" >&6; }
5664 fi
5665
5666 # find the maximum length of command line arguments
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5668 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5669 if ${lt_cv_sys_max_cmd_len+:} false; then :
5670   $as_echo_n "(cached) " >&6
5671 else
5672     i=0
5673   teststring="ABCD"
5674
5675   case $build_os in
5676   msdosdjgpp*)
5677     # On DJGPP, this test can blow up pretty badly due to problems in libc
5678     # (any single argument exceeding 2000 bytes causes a buffer overrun
5679     # during glob expansion).  Even if it were fixed, the result of this
5680     # check would be larger than it should be.
5681     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5682     ;;
5683
5684   gnu*)
5685     # Under GNU Hurd, this test is not required because there is
5686     # no limit to the length of command line arguments.
5687     # Libtool will interpret -1 as no limit whatsoever
5688     lt_cv_sys_max_cmd_len=-1;
5689     ;;
5690
5691   cygwin* | mingw* | cegcc*)
5692     # On Win9x/ME, this test blows up -- it succeeds, but takes
5693     # about 5 minutes as the teststring grows exponentially.
5694     # Worse, since 9x/ME are not pre-emptively multitasking,
5695     # you end up with a "frozen" computer, even though with patience
5696     # the test eventually succeeds (with a max line length of 256k).
5697     # Instead, let's just punt: use the minimum linelength reported by
5698     # all of the supported platforms: 8192 (on NT/2K/XP).
5699     lt_cv_sys_max_cmd_len=8192;
5700     ;;
5701
5702   mint*)
5703     # On MiNT this can take a long time and run out of memory.
5704     lt_cv_sys_max_cmd_len=8192;
5705     ;;
5706
5707   amigaos*)
5708     # On AmigaOS with pdksh, this test takes hours, literally.
5709     # So we just punt and use a minimum line length of 8192.
5710     lt_cv_sys_max_cmd_len=8192;
5711     ;;
5712
5713   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5714     # This has been around since 386BSD, at least.  Likely further.
5715     if test -x /sbin/sysctl; then
5716       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5717     elif test -x /usr/sbin/sysctl; then
5718       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5719     else
5720       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5721     fi
5722     # And add a safety zone
5723     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5724     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5725     ;;
5726
5727   interix*)
5728     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5729     lt_cv_sys_max_cmd_len=196608
5730     ;;
5731
5732   os2*)
5733     # The test takes a long time on OS/2.
5734     lt_cv_sys_max_cmd_len=8192
5735     ;;
5736
5737   osf*)
5738     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5739     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5740     # nice to cause kernel panics so lets avoid the loop below.
5741     # First set a reasonable default.
5742     lt_cv_sys_max_cmd_len=16384
5743     #
5744     if test -x /sbin/sysconfig; then
5745       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5746         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5747       esac
5748     fi
5749     ;;
5750   sco3.2v5*)
5751     lt_cv_sys_max_cmd_len=102400
5752     ;;
5753   sysv5* | sco5v6* | sysv4.2uw2*)
5754     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5755     if test -n "$kargmax"; then
5756       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5757     else
5758       lt_cv_sys_max_cmd_len=32768
5759     fi
5760     ;;
5761   *)
5762     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5763     if test -n "$lt_cv_sys_max_cmd_len"; then
5764       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5765       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5766     else
5767       # Make teststring a little bigger before we do anything with it.
5768       # a 1K string should be a reasonable start.
5769       for i in 1 2 3 4 5 6 7 8 ; do
5770         teststring=$teststring$teststring
5771       done
5772       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5773       # If test is not a shell built-in, we'll probably end up computing a
5774       # maximum length that is only half of the actual maximum length, but
5775       # we can't tell.
5776       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5777                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5778               test $i != 17 # 1/2 MB should be enough
5779       do
5780         i=`expr $i + 1`
5781         teststring=$teststring$teststring
5782       done
5783       # Only check the string length outside the loop.
5784       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5785       teststring=
5786       # Add a significant safety factor because C++ compilers can tack on
5787       # massive amounts of additional arguments before passing them to the
5788       # linker.  It appears as though 1/2 is a usable value.
5789       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5790     fi
5791     ;;
5792   esac
5793
5794 fi
5795
5796 if test -n $lt_cv_sys_max_cmd_len ; then
5797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5798 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5799 else
5800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5801 $as_echo "none" >&6; }
5802 fi
5803 max_cmd_len=$lt_cv_sys_max_cmd_len
5804
5805
5806
5807
5808
5809
5810 : ${CP="cp -f"}
5811 : ${MV="mv -f"}
5812 : ${RM="rm -f"}
5813
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5815 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5816 # Try some XSI features
5817 xsi_shell=no
5818 ( _lt_dummy="a/b/c"
5819   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5820       = c,a/b,b/c, \
5821     && eval 'test $(( 1 + 1 )) -eq 2 \
5822     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5823   && xsi_shell=yes
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5825 $as_echo "$xsi_shell" >&6; }
5826
5827
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5829 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5830 lt_shell_append=no
5831 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5832     >/dev/null 2>&1 \
5833   && lt_shell_append=yes
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5835 $as_echo "$lt_shell_append" >&6; }
5836
5837
5838 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5839   lt_unset=unset
5840 else
5841   lt_unset=false
5842 fi
5843
5844
5845
5846
5847
5848 # test EBCDIC or ASCII
5849 case `echo X|tr X '\101'` in
5850  A) # ASCII based system
5851     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5852   lt_SP2NL='tr \040 \012'
5853   lt_NL2SP='tr \015\012 \040\040'
5854   ;;
5855  *) # EBCDIC based system
5856   lt_SP2NL='tr \100 \n'
5857   lt_NL2SP='tr \r\n \100\100'
5858   ;;
5859 esac
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5870 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5871 if ${lt_cv_to_host_file_cmd+:} false; then :
5872   $as_echo_n "(cached) " >&6
5873 else
5874   case $host in
5875   *-*-mingw* )
5876     case $build in
5877       *-*-mingw* ) # actually msys
5878         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5879         ;;
5880       *-*-cygwin* )
5881         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5882         ;;
5883       * ) # otherwise, assume *nix
5884         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5885         ;;
5886     esac
5887     ;;
5888   *-*-cygwin* )
5889     case $build in
5890       *-*-mingw* ) # actually msys
5891         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5892         ;;
5893       *-*-cygwin* )
5894         lt_cv_to_host_file_cmd=func_convert_file_noop
5895         ;;
5896       * ) # otherwise, assume *nix
5897         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5898         ;;
5899     esac
5900     ;;
5901   * ) # unhandled hosts (and "normal" native builds)
5902     lt_cv_to_host_file_cmd=func_convert_file_noop
5903     ;;
5904 esac
5905
5906 fi
5907
5908 to_host_file_cmd=$lt_cv_to_host_file_cmd
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5910 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5911
5912
5913
5914
5915
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5917 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5918 if ${lt_cv_to_tool_file_cmd+:} false; then :
5919   $as_echo_n "(cached) " >&6
5920 else
5921   #assume ordinary cross tools, or native build.
5922 lt_cv_to_tool_file_cmd=func_convert_file_noop
5923 case $host in
5924   *-*-mingw* )
5925     case $build in
5926       *-*-mingw* ) # actually msys
5927         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5928         ;;
5929     esac
5930     ;;
5931 esac
5932
5933 fi
5934
5935 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5937 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5938
5939
5940
5941
5942
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5944 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5945 if ${lt_cv_ld_reload_flag+:} false; then :
5946   $as_echo_n "(cached) " >&6
5947 else
5948   lt_cv_ld_reload_flag='-r'
5949 fi
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5951 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5952 reload_flag=$lt_cv_ld_reload_flag
5953 case $reload_flag in
5954 "" | " "*) ;;
5955 *) reload_flag=" $reload_flag" ;;
5956 esac
5957 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5958 case $host_os in
5959   cygwin* | mingw* | pw32* | cegcc*)
5960     if test "$GCC" != yes; then
5961       reload_cmds=false
5962     fi
5963     ;;
5964   darwin*)
5965     if test "$GCC" = yes; then
5966       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5967     else
5968       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5969     fi
5970     ;;
5971 esac
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981 if test -n "$ac_tool_prefix"; then
5982   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5983 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5985 $as_echo_n "checking for $ac_word... " >&6; }
5986 if ${ac_cv_prog_OBJDUMP+:} false; then :
5987   $as_echo_n "(cached) " >&6
5988 else
5989   if test -n "$OBJDUMP"; then
5990   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5991 else
5992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5993 for as_dir in $PATH
5994 do
5995   IFS=$as_save_IFS
5996   test -z "$as_dir" && as_dir=.
5997     for ac_exec_ext in '' $ac_executable_extensions; do
5998   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5999     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6001     break 2
6002   fi
6003 done
6004   done
6005 IFS=$as_save_IFS
6006
6007 fi
6008 fi
6009 OBJDUMP=$ac_cv_prog_OBJDUMP
6010 if test -n "$OBJDUMP"; then
6011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6012 $as_echo "$OBJDUMP" >&6; }
6013 else
6014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6015 $as_echo "no" >&6; }
6016 fi
6017
6018
6019 fi
6020 if test -z "$ac_cv_prog_OBJDUMP"; then
6021   ac_ct_OBJDUMP=$OBJDUMP
6022   # Extract the first word of "objdump", so it can be a program name with args.
6023 set dummy objdump; ac_word=$2
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6025 $as_echo_n "checking for $ac_word... " >&6; }
6026 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6027   $as_echo_n "(cached) " >&6
6028 else
6029   if test -n "$ac_ct_OBJDUMP"; then
6030   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6031 else
6032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6033 for as_dir in $PATH
6034 do
6035   IFS=$as_save_IFS
6036   test -z "$as_dir" && as_dir=.
6037     for ac_exec_ext in '' $ac_executable_extensions; do
6038   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6039     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6041     break 2
6042   fi
6043 done
6044   done
6045 IFS=$as_save_IFS
6046
6047 fi
6048 fi
6049 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6050 if test -n "$ac_ct_OBJDUMP"; then
6051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6052 $as_echo "$ac_ct_OBJDUMP" >&6; }
6053 else
6054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6055 $as_echo "no" >&6; }
6056 fi
6057
6058   if test "x$ac_ct_OBJDUMP" = x; then
6059     OBJDUMP="false"
6060   else
6061     case $cross_compiling:$ac_tool_warned in
6062 yes:)
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6065 ac_tool_warned=yes ;;
6066 esac
6067     OBJDUMP=$ac_ct_OBJDUMP
6068   fi
6069 else
6070   OBJDUMP="$ac_cv_prog_OBJDUMP"
6071 fi
6072
6073 test -z "$OBJDUMP" && OBJDUMP=objdump
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6084 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6085 if ${lt_cv_deplibs_check_method+:} false; then :
6086   $as_echo_n "(cached) " >&6
6087 else
6088   lt_cv_file_magic_cmd='$MAGIC_CMD'
6089 lt_cv_file_magic_test_file=
6090 lt_cv_deplibs_check_method='unknown'
6091 # Need to set the preceding variable on all platforms that support
6092 # interlibrary dependencies.
6093 # 'none' -- dependencies not supported.
6094 # `unknown' -- same as none, but documents that we really don't know.
6095 # 'pass_all' -- all dependencies passed with no checks.
6096 # 'test_compile' -- check by making test program.
6097 # 'file_magic [[regex]]' -- check by looking for files in library path
6098 # which responds to the $file_magic_cmd with a given extended regex.
6099 # If you have `file' or equivalent on your system and you're not sure
6100 # whether `pass_all' will *always* work, you probably want this one.
6101
6102 case $host_os in
6103 aix[4-9]*)
6104   lt_cv_deplibs_check_method=pass_all
6105   ;;
6106
6107 beos*)
6108   lt_cv_deplibs_check_method=pass_all
6109   ;;
6110
6111 bsdi[45]*)
6112   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6113   lt_cv_file_magic_cmd='/usr/bin/file -L'
6114   lt_cv_file_magic_test_file=/shlib/libc.so
6115   ;;
6116
6117 cygwin*)
6118   # func_win32_libid is a shell function defined in ltmain.sh
6119   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6120   lt_cv_file_magic_cmd='func_win32_libid'
6121   ;;
6122
6123 mingw* | pw32*)
6124   # Base MSYS/MinGW do not provide the 'file' command needed by
6125   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6126   # unless we find 'file', for example because we are cross-compiling.
6127   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6128   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6129     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6130     lt_cv_file_magic_cmd='func_win32_libid'
6131   else
6132     # Keep this pattern in sync with the one in func_win32_libid.
6133     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6134     lt_cv_file_magic_cmd='$OBJDUMP -f'
6135   fi
6136   ;;
6137
6138 cegcc*)
6139   # use the weaker test based on 'objdump'. See mingw*.
6140   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6141   lt_cv_file_magic_cmd='$OBJDUMP -f'
6142   ;;
6143
6144 darwin* | rhapsody*)
6145   lt_cv_deplibs_check_method=pass_all
6146   ;;
6147
6148 freebsd* | dragonfly*)
6149   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6150     case $host_cpu in
6151     i*86 )
6152       # Not sure whether the presence of OpenBSD here was a mistake.
6153       # Let's accept both of them until this is cleared up.
6154       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6155       lt_cv_file_magic_cmd=/usr/bin/file
6156       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6157       ;;
6158     esac
6159   else
6160     lt_cv_deplibs_check_method=pass_all
6161   fi
6162   ;;
6163
6164 gnu*)
6165   lt_cv_deplibs_check_method=pass_all
6166   ;;
6167
6168 haiku*)
6169   lt_cv_deplibs_check_method=pass_all
6170   ;;
6171
6172 hpux10.20* | hpux11*)
6173   lt_cv_file_magic_cmd=/usr/bin/file
6174   case $host_cpu in
6175   ia64*)
6176     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6177     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6178     ;;
6179   hppa*64*)
6180     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6181     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6182     ;;
6183   *)
6184     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6185     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6186     ;;
6187   esac
6188   ;;
6189
6190 interix[3-9]*)
6191   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6192   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6193   ;;
6194
6195 irix5* | irix6* | nonstopux*)
6196   case $LD in
6197   *-32|*"-32 ") libmagic=32-bit;;
6198   *-n32|*"-n32 ") libmagic=N32;;
6199   *-64|*"-64 ") libmagic=64-bit;;
6200   *) libmagic=never-match;;
6201   esac
6202   lt_cv_deplibs_check_method=pass_all
6203   ;;
6204
6205 # This must be glibc/ELF.
6206 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6207   lt_cv_deplibs_check_method=pass_all
6208   ;;
6209
6210 netbsd* | netbsdelf*-gnu)
6211   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6212     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6213   else
6214     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6215   fi
6216   ;;
6217
6218 newos6*)
6219   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6220   lt_cv_file_magic_cmd=/usr/bin/file
6221   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6222   ;;
6223
6224 *nto* | *qnx*)
6225   lt_cv_deplibs_check_method=pass_all
6226   ;;
6227
6228 openbsd*)
6229   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6230     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6231   else
6232     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6233   fi
6234   ;;
6235
6236 osf3* | osf4* | osf5*)
6237   lt_cv_deplibs_check_method=pass_all
6238   ;;
6239
6240 rdos*)
6241   lt_cv_deplibs_check_method=pass_all
6242   ;;
6243
6244 solaris*)
6245   lt_cv_deplibs_check_method=pass_all
6246   ;;
6247
6248 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6249   lt_cv_deplibs_check_method=pass_all
6250   ;;
6251
6252 sysv4 | sysv4.3*)
6253   case $host_vendor in
6254   motorola)
6255     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6256     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6257     ;;
6258   ncr)
6259     lt_cv_deplibs_check_method=pass_all
6260     ;;
6261   sequent)
6262     lt_cv_file_magic_cmd='/bin/file'
6263     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6264     ;;
6265   sni)
6266     lt_cv_file_magic_cmd='/bin/file'
6267     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6268     lt_cv_file_magic_test_file=/lib/libc.so
6269     ;;
6270   siemens)
6271     lt_cv_deplibs_check_method=pass_all
6272     ;;
6273   pc)
6274     lt_cv_deplibs_check_method=pass_all
6275     ;;
6276   esac
6277   ;;
6278
6279 tpf*)
6280   lt_cv_deplibs_check_method=pass_all
6281   ;;
6282 esac
6283
6284 fi
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6286 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6287
6288 file_magic_glob=
6289 want_nocaseglob=no
6290 if test "$build" = "$host"; then
6291   case $host_os in
6292   mingw* | pw32*)
6293     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6294       want_nocaseglob=yes
6295     else
6296       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6297     fi
6298     ;;
6299   esac
6300 fi
6301
6302 file_magic_cmd=$lt_cv_file_magic_cmd
6303 deplibs_check_method=$lt_cv_deplibs_check_method
6304 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327 if test -n "$ac_tool_prefix"; then
6328   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6329 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6331 $as_echo_n "checking for $ac_word... " >&6; }
6332 if ${ac_cv_prog_DLLTOOL+:} false; then :
6333   $as_echo_n "(cached) " >&6
6334 else
6335   if test -n "$DLLTOOL"; then
6336   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6337 else
6338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339 for as_dir in $PATH
6340 do
6341   IFS=$as_save_IFS
6342   test -z "$as_dir" && as_dir=.
6343     for ac_exec_ext in '' $ac_executable_extensions; do
6344   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6345     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6346     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6347     break 2
6348   fi
6349 done
6350   done
6351 IFS=$as_save_IFS
6352
6353 fi
6354 fi
6355 DLLTOOL=$ac_cv_prog_DLLTOOL
6356 if test -n "$DLLTOOL"; then
6357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6358 $as_echo "$DLLTOOL" >&6; }
6359 else
6360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6361 $as_echo "no" >&6; }
6362 fi
6363
6364
6365 fi
6366 if test -z "$ac_cv_prog_DLLTOOL"; then
6367   ac_ct_DLLTOOL=$DLLTOOL
6368   # Extract the first word of "dlltool", so it can be a program name with args.
6369 set dummy dlltool; ac_word=$2
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6371 $as_echo_n "checking for $ac_word... " >&6; }
6372 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6373   $as_echo_n "(cached) " >&6
6374 else
6375   if test -n "$ac_ct_DLLTOOL"; then
6376   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6377 else
6378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6379 for as_dir in $PATH
6380 do
6381   IFS=$as_save_IFS
6382   test -z "$as_dir" && as_dir=.
6383     for ac_exec_ext in '' $ac_executable_extensions; do
6384   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6385     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6387     break 2
6388   fi
6389 done
6390   done
6391 IFS=$as_save_IFS
6392
6393 fi
6394 fi
6395 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6396 if test -n "$ac_ct_DLLTOOL"; then
6397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6398 $as_echo "$ac_ct_DLLTOOL" >&6; }
6399 else
6400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6401 $as_echo "no" >&6; }
6402 fi
6403
6404   if test "x$ac_ct_DLLTOOL" = x; then
6405     DLLTOOL="false"
6406   else
6407     case $cross_compiling:$ac_tool_warned in
6408 yes:)
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6411 ac_tool_warned=yes ;;
6412 esac
6413     DLLTOOL=$ac_ct_DLLTOOL
6414   fi
6415 else
6416   DLLTOOL="$ac_cv_prog_DLLTOOL"
6417 fi
6418
6419 test -z "$DLLTOOL" && DLLTOOL=dlltool
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6431 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6432 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6433   $as_echo_n "(cached) " >&6
6434 else
6435   lt_cv_sharedlib_from_linklib_cmd='unknown'
6436
6437 case $host_os in
6438 cygwin* | mingw* | pw32* | cegcc*)
6439   # two different shell functions defined in ltmain.sh
6440   # decide which to use based on capabilities of $DLLTOOL
6441   case `$DLLTOOL --help 2>&1` in
6442   *--identify-strict*)
6443     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6444     ;;
6445   *)
6446     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6447     ;;
6448   esac
6449   ;;
6450 *)
6451   # fallback: assume linklib IS sharedlib
6452   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6453   ;;
6454 esac
6455
6456 fi
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6458 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6459 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6460 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6461
6462
6463
6464
6465
6466
6467
6468 if test -n "$ac_tool_prefix"; then
6469   for ac_prog in ar
6470   do
6471     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6472 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 $as_echo_n "checking for $ac_word... " >&6; }
6475 if ${ac_cv_prog_AR+:} false; then :
6476   $as_echo_n "(cached) " >&6
6477 else
6478   if test -n "$AR"; then
6479   ac_cv_prog_AR="$AR" # Let the user override the test.
6480 else
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6482 for as_dir in $PATH
6483 do
6484   IFS=$as_save_IFS
6485   test -z "$as_dir" && as_dir=.
6486     for ac_exec_ext in '' $ac_executable_extensions; do
6487   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6488     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6489     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6490     break 2
6491   fi
6492 done
6493   done
6494 IFS=$as_save_IFS
6495
6496 fi
6497 fi
6498 AR=$ac_cv_prog_AR
6499 if test -n "$AR"; then
6500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6501 $as_echo "$AR" >&6; }
6502 else
6503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 $as_echo "no" >&6; }
6505 fi
6506
6507
6508     test -n "$AR" && break
6509   done
6510 fi
6511 if test -z "$AR"; then
6512   ac_ct_AR=$AR
6513   for ac_prog in ar
6514 do
6515   # Extract the first word of "$ac_prog", so it can be a program name with args.
6516 set dummy $ac_prog; ac_word=$2
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6518 $as_echo_n "checking for $ac_word... " >&6; }
6519 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6520   $as_echo_n "(cached) " >&6
6521 else
6522   if test -n "$ac_ct_AR"; then
6523   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6524 else
6525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6526 for as_dir in $PATH
6527 do
6528   IFS=$as_save_IFS
6529   test -z "$as_dir" && as_dir=.
6530     for ac_exec_ext in '' $ac_executable_extensions; do
6531   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6532     ac_cv_prog_ac_ct_AR="$ac_prog"
6533     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6534     break 2
6535   fi
6536 done
6537   done
6538 IFS=$as_save_IFS
6539
6540 fi
6541 fi
6542 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6543 if test -n "$ac_ct_AR"; then
6544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6545 $as_echo "$ac_ct_AR" >&6; }
6546 else
6547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6548 $as_echo "no" >&6; }
6549 fi
6550
6551
6552   test -n "$ac_ct_AR" && break
6553 done
6554
6555   if test "x$ac_ct_AR" = x; then
6556     AR="false"
6557   else
6558     case $cross_compiling:$ac_tool_warned in
6559 yes:)
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6562 ac_tool_warned=yes ;;
6563 esac
6564     AR=$ac_ct_AR
6565   fi
6566 fi
6567
6568 : ${AR=ar}
6569 : ${AR_FLAGS=cru}
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6582 $as_echo_n "checking for archiver @FILE support... " >&6; }
6583 if ${lt_cv_ar_at_file+:} false; then :
6584   $as_echo_n "(cached) " >&6
6585 else
6586   lt_cv_ar_at_file=no
6587    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6588 /* end confdefs.h.  */
6589
6590 int
6591 main ()
6592 {
6593
6594   ;
6595   return 0;
6596 }
6597 _ACEOF
6598 if ac_fn_c_try_compile "$LINENO"; then :
6599   echo conftest.$ac_objext > conftest.lst
6600       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6601       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6602   (eval $lt_ar_try) 2>&5
6603   ac_status=$?
6604   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6605   test $ac_status = 0; }
6606       if test "$ac_status" -eq 0; then
6607         # Ensure the archiver fails upon bogus file names.
6608         rm -f conftest.$ac_objext libconftest.a
6609         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6610   (eval $lt_ar_try) 2>&5
6611   ac_status=$?
6612   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6613   test $ac_status = 0; }
6614         if test "$ac_status" -ne 0; then
6615           lt_cv_ar_at_file=@
6616         fi
6617       fi
6618       rm -f conftest.* libconftest.a
6619
6620 fi
6621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6622
6623 fi
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6625 $as_echo "$lt_cv_ar_at_file" >&6; }
6626
6627 if test "x$lt_cv_ar_at_file" = xno; then
6628   archiver_list_spec=
6629 else
6630   archiver_list_spec=$lt_cv_ar_at_file
6631 fi
6632
6633
6634
6635
6636
6637
6638
6639 if test -n "$ac_tool_prefix"; then
6640   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6641 set dummy ${ac_tool_prefix}strip; ac_word=$2
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6643 $as_echo_n "checking for $ac_word... " >&6; }
6644 if ${ac_cv_prog_STRIP+:} false; then :
6645   $as_echo_n "(cached) " >&6
6646 else
6647   if test -n "$STRIP"; then
6648   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6649 else
6650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6651 for as_dir in $PATH
6652 do
6653   IFS=$as_save_IFS
6654   test -z "$as_dir" && as_dir=.
6655     for ac_exec_ext in '' $ac_executable_extensions; do
6656   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6657     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6658     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6659     break 2
6660   fi
6661 done
6662   done
6663 IFS=$as_save_IFS
6664
6665 fi
6666 fi
6667 STRIP=$ac_cv_prog_STRIP
6668 if test -n "$STRIP"; then
6669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6670 $as_echo "$STRIP" >&6; }
6671 else
6672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6673 $as_echo "no" >&6; }
6674 fi
6675
6676
6677 fi
6678 if test -z "$ac_cv_prog_STRIP"; then
6679   ac_ct_STRIP=$STRIP
6680   # Extract the first word of "strip", so it can be a program name with args.
6681 set dummy strip; ac_word=$2
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6683 $as_echo_n "checking for $ac_word... " >&6; }
6684 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6685   $as_echo_n "(cached) " >&6
6686 else
6687   if test -n "$ac_ct_STRIP"; then
6688   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6689 else
6690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6691 for as_dir in $PATH
6692 do
6693   IFS=$as_save_IFS
6694   test -z "$as_dir" && as_dir=.
6695     for ac_exec_ext in '' $ac_executable_extensions; do
6696   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6697     ac_cv_prog_ac_ct_STRIP="strip"
6698     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6699     break 2
6700   fi
6701 done
6702   done
6703 IFS=$as_save_IFS
6704
6705 fi
6706 fi
6707 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6708 if test -n "$ac_ct_STRIP"; then
6709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6710 $as_echo "$ac_ct_STRIP" >&6; }
6711 else
6712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6713 $as_echo "no" >&6; }
6714 fi
6715
6716   if test "x$ac_ct_STRIP" = x; then
6717     STRIP=":"
6718   else
6719     case $cross_compiling:$ac_tool_warned in
6720 yes:)
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6723 ac_tool_warned=yes ;;
6724 esac
6725     STRIP=$ac_ct_STRIP
6726   fi
6727 else
6728   STRIP="$ac_cv_prog_STRIP"
6729 fi
6730
6731 test -z "$STRIP" && STRIP=:
6732
6733
6734
6735
6736
6737
6738 if test -n "$ac_tool_prefix"; then
6739   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6740 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6742 $as_echo_n "checking for $ac_word... " >&6; }
6743 if ${ac_cv_prog_RANLIB+:} false; then :
6744   $as_echo_n "(cached) " >&6
6745 else
6746   if test -n "$RANLIB"; then
6747   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6748 else
6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6750 for as_dir in $PATH
6751 do
6752   IFS=$as_save_IFS
6753   test -z "$as_dir" && as_dir=.
6754     for ac_exec_ext in '' $ac_executable_extensions; do
6755   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6756     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6757     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6758     break 2
6759   fi
6760 done
6761   done
6762 IFS=$as_save_IFS
6763
6764 fi
6765 fi
6766 RANLIB=$ac_cv_prog_RANLIB
6767 if test -n "$RANLIB"; then
6768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6769 $as_echo "$RANLIB" >&6; }
6770 else
6771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772 $as_echo "no" >&6; }
6773 fi
6774
6775
6776 fi
6777 if test -z "$ac_cv_prog_RANLIB"; then
6778   ac_ct_RANLIB=$RANLIB
6779   # Extract the first word of "ranlib", so it can be a program name with args.
6780 set dummy ranlib; ac_word=$2
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6782 $as_echo_n "checking for $ac_word... " >&6; }
6783 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6784   $as_echo_n "(cached) " >&6
6785 else
6786   if test -n "$ac_ct_RANLIB"; then
6787   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6788 else
6789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790 for as_dir in $PATH
6791 do
6792   IFS=$as_save_IFS
6793   test -z "$as_dir" && as_dir=.
6794     for ac_exec_ext in '' $ac_executable_extensions; do
6795   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6796     ac_cv_prog_ac_ct_RANLIB="ranlib"
6797     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6798     break 2
6799   fi
6800 done
6801   done
6802 IFS=$as_save_IFS
6803
6804 fi
6805 fi
6806 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6807 if test -n "$ac_ct_RANLIB"; then
6808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6809 $as_echo "$ac_ct_RANLIB" >&6; }
6810 else
6811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6812 $as_echo "no" >&6; }
6813 fi
6814
6815   if test "x$ac_ct_RANLIB" = x; then
6816     RANLIB=":"
6817   else
6818     case $cross_compiling:$ac_tool_warned in
6819 yes:)
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6822 ac_tool_warned=yes ;;
6823 esac
6824     RANLIB=$ac_ct_RANLIB
6825   fi
6826 else
6827   RANLIB="$ac_cv_prog_RANLIB"
6828 fi
6829
6830 test -z "$RANLIB" && RANLIB=:
6831
6832
6833
6834
6835
6836
6837 # Determine commands to create old-style static archives.
6838 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6839 old_postinstall_cmds='chmod 644 $oldlib'
6840 old_postuninstall_cmds=
6841
6842 if test -n "$RANLIB"; then
6843   case $host_os in
6844   openbsd*)
6845     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6846     ;;
6847   *)
6848     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6849     ;;
6850   esac
6851   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6852 fi
6853
6854 case $host_os in
6855   darwin*)
6856     lock_old_archive_extraction=yes ;;
6857   *)
6858     lock_old_archive_extraction=no ;;
6859 esac
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899 # If no C compiler was specified, use CC.
6900 LTCC=${LTCC-"$CC"}
6901
6902 # If no C compiler flags were specified, use CFLAGS.
6903 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6904
6905 # Allow CC to be a program name with arguments.
6906 compiler=$CC
6907
6908
6909 # Check for command to grab the raw symbol name followed by C symbol from nm.
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6911 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6912 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6913   $as_echo_n "(cached) " >&6
6914 else
6915
6916 # These are sane defaults that work on at least a few old systems.
6917 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6918
6919 # Character class describing NM global symbol codes.
6920 symcode='[BCDEGRST]'
6921
6922 # Regexp to match symbols that can be accessed directly from C.
6923 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6924
6925 # Define system-specific variables.
6926 case $host_os in
6927 aix*)
6928   symcode='[BCDT]'
6929   ;;
6930 cygwin* | mingw* | pw32* | cegcc*)
6931   symcode='[ABCDGISTW]'
6932   ;;
6933 hpux*)
6934   if test "$host_cpu" = ia64; then
6935     symcode='[ABCDEGRST]'
6936   fi
6937   ;;
6938 irix* | nonstopux*)
6939   symcode='[BCDEGRST]'
6940   ;;
6941 osf*)
6942   symcode='[BCDEGQRST]'
6943   ;;
6944 solaris*)
6945   symcode='[BDRT]'
6946   ;;
6947 sco3.2v5*)
6948   symcode='[DT]'
6949   ;;
6950 sysv4.2uw2*)
6951   symcode='[DT]'
6952   ;;
6953 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6954   symcode='[ABDT]'
6955   ;;
6956 sysv4)
6957   symcode='[DFNSTU]'
6958   ;;
6959 esac
6960
6961 # If we're using GNU nm, then use its standard symbol codes.
6962 case `$NM -V 2>&1` in
6963 *GNU* | *'with BFD'*)
6964   symcode='[ABCDGIRSTW]' ;;
6965 esac
6966
6967 # Transform an extracted symbol line into a proper C declaration.
6968 # Some systems (esp. on ia64) link data and code symbols differently,
6969 # so use this general approach.
6970 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6971
6972 # Transform an extracted symbol line into symbol name and symbol address
6973 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6974 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6975
6976 # Handle CRLF in mingw tool chain
6977 opt_cr=
6978 case $build_os in
6979 mingw*)
6980   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6981   ;;
6982 esac
6983
6984 # Try without a prefix underscore, then with it.
6985 for ac_symprfx in "" "_"; do
6986
6987   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6988   symxfrm="\\1 $ac_symprfx\\2 \\2"
6989
6990   # Write the raw and C identifiers.
6991   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6992     # Fake it for dumpbin and say T for any non-static function
6993     # and D for any global variable.
6994     # Also find C++ and __fastcall symbols from MSVC++,
6995     # which start with @ or ?.
6996     lt_cv_sys_global_symbol_pipe="$AWK '"\
6997 "     {last_section=section; section=\$ 3};"\
6998 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6999 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7000 "     \$ 0!~/External *\|/{next};"\
7001 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7002 "     {if(hide[section]) next};"\
7003 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7004 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7005 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7006 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7007 "     ' prfx=^$ac_symprfx"
7008   else
7009     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7010   fi
7011   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7012
7013   # Check to see that the pipe works correctly.
7014   pipe_works=no
7015
7016   rm -f conftest*
7017   cat > conftest.$ac_ext <<_LT_EOF
7018 #ifdef __cplusplus
7019 extern "C" {
7020 #endif
7021 char nm_test_var;
7022 void nm_test_func(void);
7023 void nm_test_func(void){}
7024 #ifdef __cplusplus
7025 }
7026 #endif
7027 int main(){nm_test_var='a';nm_test_func();return(0);}
7028 _LT_EOF
7029
7030   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7031   (eval $ac_compile) 2>&5
7032   ac_status=$?
7033   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7034   test $ac_status = 0; }; then
7035     # Now try to grab the symbols.
7036     nlist=conftest.nm
7037     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7038   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7039   ac_status=$?
7040   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7041   test $ac_status = 0; } && test -s "$nlist"; then
7042       # Try sorting and uniquifying the output.
7043       if sort "$nlist" | uniq > "$nlist"T; then
7044         mv -f "$nlist"T "$nlist"
7045       else
7046         rm -f "$nlist"T
7047       fi
7048
7049       # Make sure that we snagged all the symbols we need.
7050       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7051         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7052           cat <<_LT_EOF > conftest.$ac_ext
7053 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7054 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7055 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7056    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7057 # define LT_DLSYM_CONST
7058 #elif defined(__osf__)
7059 /* This system does not cope well with relocations in const data.  */
7060 # define LT_DLSYM_CONST
7061 #else
7062 # define LT_DLSYM_CONST const
7063 #endif
7064
7065 #ifdef __cplusplus
7066 extern "C" {
7067 #endif
7068
7069 _LT_EOF
7070           # Now generate the symbol file.
7071           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7072
7073           cat <<_LT_EOF >> conftest.$ac_ext
7074
7075 /* The mapping between symbol names and symbols.  */
7076 LT_DLSYM_CONST struct {
7077   const char *name;
7078   void       *address;
7079 }
7080 lt__PROGRAM__LTX_preloaded_symbols[] =
7081 {
7082   { "@PROGRAM@", (void *) 0 },
7083 _LT_EOF
7084           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7085           cat <<\_LT_EOF >> conftest.$ac_ext
7086   {0, (void *) 0}
7087 };
7088
7089 /* This works around a problem in FreeBSD linker */
7090 #ifdef FREEBSD_WORKAROUND
7091 static const void *lt_preloaded_setup() {
7092   return lt__PROGRAM__LTX_preloaded_symbols;
7093 }
7094 #endif
7095
7096 #ifdef __cplusplus
7097 }
7098 #endif
7099 _LT_EOF
7100           # Now try linking the two files.
7101           mv conftest.$ac_objext conftstm.$ac_objext
7102           lt_globsym_save_LIBS=$LIBS
7103           lt_globsym_save_CFLAGS=$CFLAGS
7104           LIBS="conftstm.$ac_objext"
7105           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7106           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7107   (eval $ac_link) 2>&5
7108   ac_status=$?
7109   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7110   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7111             pipe_works=yes
7112           fi
7113           LIBS=$lt_globsym_save_LIBS
7114           CFLAGS=$lt_globsym_save_CFLAGS
7115         else
7116           echo "cannot find nm_test_func in $nlist" >&5
7117         fi
7118       else
7119         echo "cannot find nm_test_var in $nlist" >&5
7120       fi
7121     else
7122       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7123     fi
7124   else
7125     echo "$progname: failed program was:" >&5
7126     cat conftest.$ac_ext >&5
7127   fi
7128   rm -rf conftest* conftst*
7129
7130   # Do not use the global_symbol_pipe unless it works.
7131   if test "$pipe_works" = yes; then
7132     break
7133   else
7134     lt_cv_sys_global_symbol_pipe=
7135   fi
7136 done
7137
7138 fi
7139
7140 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7141   lt_cv_sys_global_symbol_to_cdecl=
7142 fi
7143 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7145 $as_echo "failed" >&6; }
7146 else
7147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7148 $as_echo "ok" >&6; }
7149 fi
7150
7151 # Response file support.
7152 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7153   nm_file_list_spec='@'
7154 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7155   nm_file_list_spec='@'
7156 fi
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7185 $as_echo_n "checking for sysroot... " >&6; }
7186
7187 # Check whether --with-sysroot was given.
7188 if test "${with_sysroot+set}" = set; then :
7189   withval=$with_sysroot;
7190 else
7191   with_sysroot=no
7192 fi
7193
7194
7195 lt_sysroot=
7196 case ${with_sysroot} in #(
7197  yes)
7198    if test "$GCC" = yes; then
7199      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7200    fi
7201    ;; #(
7202  /*)
7203    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7204    ;; #(
7205  no|'')
7206    ;; #(
7207  *)
7208    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7209 $as_echo "${with_sysroot}" >&6; }
7210    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7211    ;;
7212 esac
7213
7214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7215 $as_echo "${lt_sysroot:-no}" >&6; }
7216
7217
7218
7219
7220
7221 # Check whether --enable-libtool-lock was given.
7222 if test "${enable_libtool_lock+set}" = set; then :
7223   enableval=$enable_libtool_lock;
7224 fi
7225
7226 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7227
7228 # Some flags need to be propagated to the compiler or linker for good
7229 # libtool support.
7230 case $host in
7231 ia64-*-hpux*)
7232   # Find out which ABI we are using.
7233   echo 'int i;' > conftest.$ac_ext
7234   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7235   (eval $ac_compile) 2>&5
7236   ac_status=$?
7237   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7238   test $ac_status = 0; }; then
7239     case `/usr/bin/file conftest.$ac_objext` in
7240       *ELF-32*)
7241         HPUX_IA64_MODE="32"
7242         ;;
7243       *ELF-64*)
7244         HPUX_IA64_MODE="64"
7245         ;;
7246     esac
7247   fi
7248   rm -rf conftest*
7249   ;;
7250 *-*-irix6*)
7251   # Find out which ABI we are using.
7252   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7253   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7254   (eval $ac_compile) 2>&5
7255   ac_status=$?
7256   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7257   test $ac_status = 0; }; then
7258     if test "$lt_cv_prog_gnu_ld" = yes; then
7259       case `/usr/bin/file conftest.$ac_objext` in
7260         *32-bit*)
7261           LD="${LD-ld} -melf32bsmip"
7262           ;;
7263         *N32*)
7264           LD="${LD-ld} -melf32bmipn32"
7265           ;;
7266         *64-bit*)
7267           LD="${LD-ld} -melf64bmip"
7268         ;;
7269       esac
7270     else
7271       case `/usr/bin/file conftest.$ac_objext` in
7272         *32-bit*)
7273           LD="${LD-ld} -32"
7274           ;;
7275         *N32*)
7276           LD="${LD-ld} -n32"
7277           ;;
7278         *64-bit*)
7279           LD="${LD-ld} -64"
7280           ;;
7281       esac
7282     fi
7283   fi
7284   rm -rf conftest*
7285   ;;
7286
7287 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7288 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7289   # Find out which ABI we are using.
7290   echo 'int i;' > conftest.$ac_ext
7291   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7292   (eval $ac_compile) 2>&5
7293   ac_status=$?
7294   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7295   test $ac_status = 0; }; then
7296     case `/usr/bin/file conftest.o` in
7297       *32-bit*)
7298         case $host in
7299           x86_64-*kfreebsd*-gnu)
7300             LD="${LD-ld} -m elf_i386_fbsd"
7301             ;;
7302           x86_64-*linux*)
7303             LD="${LD-ld} -m elf_i386"
7304             ;;
7305           ppc64-*linux*|powerpc64-*linux*)
7306             LD="${LD-ld} -m elf32ppclinux"
7307             ;;
7308           s390x-*linux*)
7309             LD="${LD-ld} -m elf_s390"
7310             ;;
7311           sparc64-*linux*)
7312             LD="${LD-ld} -m elf32_sparc"
7313             ;;
7314         esac
7315         ;;
7316       *64-bit*)
7317         case $host in
7318           x86_64-*kfreebsd*-gnu)
7319             LD="${LD-ld} -m elf_x86_64_fbsd"
7320             ;;
7321           x86_64-*linux*)
7322             LD="${LD-ld} -m elf_x86_64"
7323             ;;
7324           ppc*-*linux*|powerpc*-*linux*)
7325             LD="${LD-ld} -m elf64ppc"
7326             ;;
7327           s390*-*linux*|s390*-*tpf*)
7328             LD="${LD-ld} -m elf64_s390"
7329             ;;
7330           sparc*-*linux*)
7331             LD="${LD-ld} -m elf64_sparc"
7332             ;;
7333         esac
7334         ;;
7335     esac
7336   fi
7337   rm -rf conftest*
7338   ;;
7339
7340 *-*-sco3.2v5*)
7341   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7342   SAVE_CFLAGS="$CFLAGS"
7343   CFLAGS="$CFLAGS -belf"
7344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7345 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7346 if ${lt_cv_cc_needs_belf+:} false; then :
7347   $as_echo_n "(cached) " >&6
7348 else
7349   ac_ext=c
7350 ac_cpp='$CPP $CPPFLAGS'
7351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7354
7355      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7356 /* end confdefs.h.  */
7357
7358 int
7359 main ()
7360 {
7361
7362   ;
7363   return 0;
7364 }
7365 _ACEOF
7366 if ac_fn_c_try_link "$LINENO"; then :
7367   lt_cv_cc_needs_belf=yes
7368 else
7369   lt_cv_cc_needs_belf=no
7370 fi
7371 rm -f core conftest.err conftest.$ac_objext \
7372     conftest$ac_exeext conftest.$ac_ext
7373      ac_ext=c
7374 ac_cpp='$CPP $CPPFLAGS'
7375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7378
7379 fi
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7381 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7382   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7383     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7384     CFLAGS="$SAVE_CFLAGS"
7385   fi
7386   ;;
7387 *-*solaris*)
7388   # Find out which ABI we are using.
7389   echo 'int i;' > conftest.$ac_ext
7390   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7391   (eval $ac_compile) 2>&5
7392   ac_status=$?
7393   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7394   test $ac_status = 0; }; then
7395     case `/usr/bin/file conftest.o` in
7396     *64-bit*)
7397       case $lt_cv_prog_gnu_ld in
7398       yes*)
7399         case $host in
7400         i?86-*-solaris*)
7401           LD="${LD-ld} -m elf_x86_64"
7402           ;;
7403         sparc*-*-solaris*)
7404           LD="${LD-ld} -m elf64_sparc"
7405           ;;
7406         esac
7407         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7408         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7409           LD="${LD-ld}_sol2"
7410         fi
7411         ;;
7412       *)
7413         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7414           LD="${LD-ld} -64"
7415         fi
7416         ;;
7417       esac
7418       ;;
7419     esac
7420   fi
7421   rm -rf conftest*
7422   ;;
7423 esac
7424
7425 need_locks="$enable_libtool_lock"
7426
7427 if test -n "$ac_tool_prefix"; then
7428   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7429 set dummy ${ac_tool_prefix}mt; ac_word=$2
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7431 $as_echo_n "checking for $ac_word... " >&6; }
7432 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7433   $as_echo_n "(cached) " >&6
7434 else
7435   if test -n "$MANIFEST_TOOL"; then
7436   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7437 else
7438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7439 for as_dir in $PATH
7440 do
7441   IFS=$as_save_IFS
7442   test -z "$as_dir" && as_dir=.
7443     for ac_exec_ext in '' $ac_executable_extensions; do
7444   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7445     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7446     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7447     break 2
7448   fi
7449 done
7450   done
7451 IFS=$as_save_IFS
7452
7453 fi
7454 fi
7455 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7456 if test -n "$MANIFEST_TOOL"; then
7457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7458 $as_echo "$MANIFEST_TOOL" >&6; }
7459 else
7460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7461 $as_echo "no" >&6; }
7462 fi
7463
7464
7465 fi
7466 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7467   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7468   # Extract the first word of "mt", so it can be a program name with args.
7469 set dummy mt; ac_word=$2
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7471 $as_echo_n "checking for $ac_word... " >&6; }
7472 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7473   $as_echo_n "(cached) " >&6
7474 else
7475   if test -n "$ac_ct_MANIFEST_TOOL"; then
7476   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7477 else
7478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 for as_dir in $PATH
7480 do
7481   IFS=$as_save_IFS
7482   test -z "$as_dir" && as_dir=.
7483     for ac_exec_ext in '' $ac_executable_extensions; do
7484   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7485     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7487     break 2
7488   fi
7489 done
7490   done
7491 IFS=$as_save_IFS
7492
7493 fi
7494 fi
7495 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7496 if test -n "$ac_ct_MANIFEST_TOOL"; then
7497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7498 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7499 else
7500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7501 $as_echo "no" >&6; }
7502 fi
7503
7504   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7505     MANIFEST_TOOL=":"
7506   else
7507     case $cross_compiling:$ac_tool_warned in
7508 yes:)
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7511 ac_tool_warned=yes ;;
7512 esac
7513     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7514   fi
7515 else
7516   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7517 fi
7518
7519 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7521 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7522 if ${lt_cv_path_mainfest_tool+:} false; then :
7523   $as_echo_n "(cached) " >&6
7524 else
7525   lt_cv_path_mainfest_tool=no
7526   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7527   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7528   cat conftest.err >&5
7529   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7530     lt_cv_path_mainfest_tool=yes
7531   fi
7532   rm -f conftest*
7533 fi
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7535 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7536 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7537   MANIFEST_TOOL=:
7538 fi
7539
7540
7541
7542
7543
7544
7545   case $host_os in
7546     rhapsody* | darwin*)
7547     if test -n "$ac_tool_prefix"; then
7548   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7549 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7551 $as_echo_n "checking for $ac_word... " >&6; }
7552 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7553   $as_echo_n "(cached) " >&6
7554 else
7555   if test -n "$DSYMUTIL"; then
7556   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7557 else
7558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7559 for as_dir in $PATH
7560 do
7561   IFS=$as_save_IFS
7562   test -z "$as_dir" && as_dir=.
7563     for ac_exec_ext in '' $ac_executable_extensions; do
7564   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7565     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7567     break 2
7568   fi
7569 done
7570   done
7571 IFS=$as_save_IFS
7572
7573 fi
7574 fi
7575 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7576 if test -n "$DSYMUTIL"; then
7577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7578 $as_echo "$DSYMUTIL" >&6; }
7579 else
7580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7581 $as_echo "no" >&6; }
7582 fi
7583
7584
7585 fi
7586 if test -z "$ac_cv_prog_DSYMUTIL"; then
7587   ac_ct_DSYMUTIL=$DSYMUTIL
7588   # Extract the first word of "dsymutil", so it can be a program name with args.
7589 set dummy dsymutil; ac_word=$2
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7591 $as_echo_n "checking for $ac_word... " >&6; }
7592 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7593   $as_echo_n "(cached) " >&6
7594 else
7595   if test -n "$ac_ct_DSYMUTIL"; then
7596   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7597 else
7598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7599 for as_dir in $PATH
7600 do
7601   IFS=$as_save_IFS
7602   test -z "$as_dir" && as_dir=.
7603     for ac_exec_ext in '' $ac_executable_extensions; do
7604   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7605     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7606     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7607     break 2
7608   fi
7609 done
7610   done
7611 IFS=$as_save_IFS
7612
7613 fi
7614 fi
7615 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7616 if test -n "$ac_ct_DSYMUTIL"; then
7617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7618 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7619 else
7620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7621 $as_echo "no" >&6; }
7622 fi
7623
7624   if test "x$ac_ct_DSYMUTIL" = x; then
7625     DSYMUTIL=":"
7626   else
7627     case $cross_compiling:$ac_tool_warned in
7628 yes:)
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7631 ac_tool_warned=yes ;;
7632 esac
7633     DSYMUTIL=$ac_ct_DSYMUTIL
7634   fi
7635 else
7636   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7637 fi
7638
7639     if test -n "$ac_tool_prefix"; then
7640   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7641 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7643 $as_echo_n "checking for $ac_word... " >&6; }
7644 if ${ac_cv_prog_NMEDIT+:} false; then :
7645   $as_echo_n "(cached) " >&6
7646 else
7647   if test -n "$NMEDIT"; then
7648   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7649 else
7650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7651 for as_dir in $PATH
7652 do
7653   IFS=$as_save_IFS
7654   test -z "$as_dir" && as_dir=.
7655     for ac_exec_ext in '' $ac_executable_extensions; do
7656   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7657     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7658     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7659     break 2
7660   fi
7661 done
7662   done
7663 IFS=$as_save_IFS
7664
7665 fi
7666 fi
7667 NMEDIT=$ac_cv_prog_NMEDIT
7668 if test -n "$NMEDIT"; then
7669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7670 $as_echo "$NMEDIT" >&6; }
7671 else
7672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7673 $as_echo "no" >&6; }
7674 fi
7675
7676
7677 fi
7678 if test -z "$ac_cv_prog_NMEDIT"; then
7679   ac_ct_NMEDIT=$NMEDIT
7680   # Extract the first word of "nmedit", so it can be a program name with args.
7681 set dummy nmedit; ac_word=$2
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7683 $as_echo_n "checking for $ac_word... " >&6; }
7684 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7685   $as_echo_n "(cached) " >&6
7686 else
7687   if test -n "$ac_ct_NMEDIT"; then
7688   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7689 else
7690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7691 for as_dir in $PATH
7692 do
7693   IFS=$as_save_IFS
7694   test -z "$as_dir" && as_dir=.
7695     for ac_exec_ext in '' $ac_executable_extensions; do
7696   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7697     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7698     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7699     break 2
7700   fi
7701 done
7702   done
7703 IFS=$as_save_IFS
7704
7705 fi
7706 fi
7707 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7708 if test -n "$ac_ct_NMEDIT"; then
7709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7710 $as_echo "$ac_ct_NMEDIT" >&6; }
7711 else
7712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7713 $as_echo "no" >&6; }
7714 fi
7715
7716   if test "x$ac_ct_NMEDIT" = x; then
7717     NMEDIT=":"
7718   else
7719     case $cross_compiling:$ac_tool_warned in
7720 yes:)
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7723 ac_tool_warned=yes ;;
7724 esac
7725     NMEDIT=$ac_ct_NMEDIT
7726   fi
7727 else
7728   NMEDIT="$ac_cv_prog_NMEDIT"
7729 fi
7730
7731     if test -n "$ac_tool_prefix"; then
7732   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7733 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7735 $as_echo_n "checking for $ac_word... " >&6; }
7736 if ${ac_cv_prog_LIPO+:} false; then :
7737   $as_echo_n "(cached) " >&6
7738 else
7739   if test -n "$LIPO"; then
7740   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7741 else
7742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7743 for as_dir in $PATH
7744 do
7745   IFS=$as_save_IFS
7746   test -z "$as_dir" && as_dir=.
7747     for ac_exec_ext in '' $ac_executable_extensions; do
7748   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7749     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7750     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7751     break 2
7752   fi
7753 done
7754   done
7755 IFS=$as_save_IFS
7756
7757 fi
7758 fi
7759 LIPO=$ac_cv_prog_LIPO
7760 if test -n "$LIPO"; then
7761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7762 $as_echo "$LIPO" >&6; }
7763 else
7764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7765 $as_echo "no" >&6; }
7766 fi
7767
7768
7769 fi
7770 if test -z "$ac_cv_prog_LIPO"; then
7771   ac_ct_LIPO=$LIPO
7772   # Extract the first word of "lipo", so it can be a program name with args.
7773 set dummy lipo; ac_word=$2
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7775 $as_echo_n "checking for $ac_word... " >&6; }
7776 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7777   $as_echo_n "(cached) " >&6
7778 else
7779   if test -n "$ac_ct_LIPO"; then
7780   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7781 else
7782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7783 for as_dir in $PATH
7784 do
7785   IFS=$as_save_IFS
7786   test -z "$as_dir" && as_dir=.
7787     for ac_exec_ext in '' $ac_executable_extensions; do
7788   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7789     ac_cv_prog_ac_ct_LIPO="lipo"
7790     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7791     break 2
7792   fi
7793 done
7794   done
7795 IFS=$as_save_IFS
7796
7797 fi
7798 fi
7799 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7800 if test -n "$ac_ct_LIPO"; then
7801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7802 $as_echo "$ac_ct_LIPO" >&6; }
7803 else
7804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7805 $as_echo "no" >&6; }
7806 fi
7807
7808   if test "x$ac_ct_LIPO" = x; then
7809     LIPO=":"
7810   else
7811     case $cross_compiling:$ac_tool_warned in
7812 yes:)
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7815 ac_tool_warned=yes ;;
7816 esac
7817     LIPO=$ac_ct_LIPO
7818   fi
7819 else
7820   LIPO="$ac_cv_prog_LIPO"
7821 fi
7822
7823     if test -n "$ac_tool_prefix"; then
7824   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7825 set dummy ${ac_tool_prefix}otool; ac_word=$2
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7827 $as_echo_n "checking for $ac_word... " >&6; }
7828 if ${ac_cv_prog_OTOOL+:} false; then :
7829   $as_echo_n "(cached) " >&6
7830 else
7831   if test -n "$OTOOL"; then
7832   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7833 else
7834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7835 for as_dir in $PATH
7836 do
7837   IFS=$as_save_IFS
7838   test -z "$as_dir" && as_dir=.
7839     for ac_exec_ext in '' $ac_executable_extensions; do
7840   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7841     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7842     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7843     break 2
7844   fi
7845 done
7846   done
7847 IFS=$as_save_IFS
7848
7849 fi
7850 fi
7851 OTOOL=$ac_cv_prog_OTOOL
7852 if test -n "$OTOOL"; then
7853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7854 $as_echo "$OTOOL" >&6; }
7855 else
7856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7857 $as_echo "no" >&6; }
7858 fi
7859
7860
7861 fi
7862 if test -z "$ac_cv_prog_OTOOL"; then
7863   ac_ct_OTOOL=$OTOOL
7864   # Extract the first word of "otool", so it can be a program name with args.
7865 set dummy otool; ac_word=$2
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7867 $as_echo_n "checking for $ac_word... " >&6; }
7868 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7869   $as_echo_n "(cached) " >&6
7870 else
7871   if test -n "$ac_ct_OTOOL"; then
7872   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7873 else
7874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7875 for as_dir in $PATH
7876 do
7877   IFS=$as_save_IFS
7878   test -z "$as_dir" && as_dir=.
7879     for ac_exec_ext in '' $ac_executable_extensions; do
7880   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7881     ac_cv_prog_ac_ct_OTOOL="otool"
7882     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7883     break 2
7884   fi
7885 done
7886   done
7887 IFS=$as_save_IFS
7888
7889 fi
7890 fi
7891 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7892 if test -n "$ac_ct_OTOOL"; then
7893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7894 $as_echo "$ac_ct_OTOOL" >&6; }
7895 else
7896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7897 $as_echo "no" >&6; }
7898 fi
7899
7900   if test "x$ac_ct_OTOOL" = x; then
7901     OTOOL=":"
7902   else
7903     case $cross_compiling:$ac_tool_warned in
7904 yes:)
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7907 ac_tool_warned=yes ;;
7908 esac
7909     OTOOL=$ac_ct_OTOOL
7910   fi
7911 else
7912   OTOOL="$ac_cv_prog_OTOOL"
7913 fi
7914
7915     if test -n "$ac_tool_prefix"; then
7916   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7917 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7919 $as_echo_n "checking for $ac_word... " >&6; }
7920 if ${ac_cv_prog_OTOOL64+:} false; then :
7921   $as_echo_n "(cached) " >&6
7922 else
7923   if test -n "$OTOOL64"; then
7924   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7925 else
7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927 for as_dir in $PATH
7928 do
7929   IFS=$as_save_IFS
7930   test -z "$as_dir" && as_dir=.
7931     for ac_exec_ext in '' $ac_executable_extensions; do
7932   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7933     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7934     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7935     break 2
7936   fi
7937 done
7938   done
7939 IFS=$as_save_IFS
7940
7941 fi
7942 fi
7943 OTOOL64=$ac_cv_prog_OTOOL64
7944 if test -n "$OTOOL64"; then
7945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7946 $as_echo "$OTOOL64" >&6; }
7947 else
7948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949 $as_echo "no" >&6; }
7950 fi
7951
7952
7953 fi
7954 if test -z "$ac_cv_prog_OTOOL64"; then
7955   ac_ct_OTOOL64=$OTOOL64
7956   # Extract the first word of "otool64", so it can be a program name with args.
7957 set dummy otool64; ac_word=$2
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7959 $as_echo_n "checking for $ac_word... " >&6; }
7960 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7961   $as_echo_n "(cached) " >&6
7962 else
7963   if test -n "$ac_ct_OTOOL64"; then
7964   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7965 else
7966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967 for as_dir in $PATH
7968 do
7969   IFS=$as_save_IFS
7970   test -z "$as_dir" && as_dir=.
7971     for ac_exec_ext in '' $ac_executable_extensions; do
7972   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7973     ac_cv_prog_ac_ct_OTOOL64="otool64"
7974     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7975     break 2
7976   fi
7977 done
7978   done
7979 IFS=$as_save_IFS
7980
7981 fi
7982 fi
7983 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7984 if test -n "$ac_ct_OTOOL64"; then
7985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7986 $as_echo "$ac_ct_OTOOL64" >&6; }
7987 else
7988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
7990 fi
7991
7992   if test "x$ac_ct_OTOOL64" = x; then
7993     OTOOL64=":"
7994   else
7995     case $cross_compiling:$ac_tool_warned in
7996 yes:)
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7999 ac_tool_warned=yes ;;
8000 esac
8001     OTOOL64=$ac_ct_OTOOL64
8002   fi
8003 else
8004   OTOOL64="$ac_cv_prog_OTOOL64"
8005 fi
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8034 $as_echo_n "checking for -single_module linker flag... " >&6; }
8035 if ${lt_cv_apple_cc_single_mod+:} false; then :
8036   $as_echo_n "(cached) " >&6
8037 else
8038   lt_cv_apple_cc_single_mod=no
8039       if test -z "${LT_MULTI_MODULE}"; then
8040         # By default we will add the -single_module flag. You can override
8041         # by either setting the environment variable LT_MULTI_MODULE
8042         # non-empty at configure time, or by adding -multi_module to the
8043         # link flags.
8044         rm -rf libconftest.dylib*
8045         echo "int foo(void){return 1;}" > conftest.c
8046         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8047 -dynamiclib -Wl,-single_module conftest.c" >&5
8048         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8049           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8050         _lt_result=$?
8051         # If there is a non-empty error log, and "single_module"
8052         # appears in it, assume the flag caused a linker warning
8053         if test -s conftest.err && $GREP single_module conftest.err; then
8054           cat conftest.err >&5
8055         # Otherwise, if the output was created with a 0 exit code from
8056         # the compiler, it worked.
8057         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8058           lt_cv_apple_cc_single_mod=yes
8059         else
8060           cat conftest.err >&5
8061         fi
8062         rm -rf libconftest.dylib*
8063         rm -f conftest.*
8064       fi
8065 fi
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8067 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8068
8069     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8070 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8071 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8072   $as_echo_n "(cached) " >&6
8073 else
8074   lt_cv_ld_exported_symbols_list=no
8075       save_LDFLAGS=$LDFLAGS
8076       echo "_main" > conftest.sym
8077       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8078       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8079 /* end confdefs.h.  */
8080
8081 int
8082 main ()
8083 {
8084
8085   ;
8086   return 0;
8087 }
8088 _ACEOF
8089 if ac_fn_c_try_link "$LINENO"; then :
8090   lt_cv_ld_exported_symbols_list=yes
8091 else
8092   lt_cv_ld_exported_symbols_list=no
8093 fi
8094 rm -f core conftest.err conftest.$ac_objext \
8095     conftest$ac_exeext conftest.$ac_ext
8096         LDFLAGS="$save_LDFLAGS"
8097
8098 fi
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8100 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8101
8102     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8103 $as_echo_n "checking for -force_load linker flag... " >&6; }
8104 if ${lt_cv_ld_force_load+:} false; then :
8105   $as_echo_n "(cached) " >&6
8106 else
8107   lt_cv_ld_force_load=no
8108       cat > conftest.c << _LT_EOF
8109 int forced_loaded() { return 2;}
8110 _LT_EOF
8111       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8112       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8113       echo "$AR cru libconftest.a conftest.o" >&5
8114       $AR cru libconftest.a conftest.o 2>&5
8115       echo "$RANLIB libconftest.a" >&5
8116       $RANLIB libconftest.a 2>&5
8117       cat > conftest.c << _LT_EOF
8118 int main() { return 0;}
8119 _LT_EOF
8120       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8121       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8122       _lt_result=$?
8123       if test -s conftest.err && $GREP force_load conftest.err; then
8124         cat conftest.err >&5
8125       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8126         lt_cv_ld_force_load=yes
8127       else
8128         cat conftest.err >&5
8129       fi
8130         rm -f conftest.err libconftest.a conftest conftest.c
8131         rm -rf conftest.dSYM
8132
8133 fi
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8135 $as_echo "$lt_cv_ld_force_load" >&6; }
8136     case $host_os in
8137     rhapsody* | darwin1.[012])
8138       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8139     darwin1.*)
8140       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8141     darwin*) # darwin 5.x on
8142       # if running on 10.5 or later, the deployment target defaults
8143       # to the OS version, if on x86, and 10.4, the deployment
8144       # target defaults to 10.4. Don't you love it?
8145       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8146         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8147           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8148         10.[012]*)
8149           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8150         10.*)
8151           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8152       esac
8153     ;;
8154   esac
8155     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8156       _lt_dar_single_mod='$single_module'
8157     fi
8158     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8159       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8160     else
8161       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8162     fi
8163     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8164       _lt_dsymutil='~$DSYMUTIL $lib || :'
8165     else
8166       _lt_dsymutil=
8167     fi
8168     ;;
8169   esac
8170
8171 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8172 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8173                   inttypes.h stdint.h unistd.h
8174 do :
8175   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8176 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8177 "
8178 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8179   cat >>confdefs.h <<_ACEOF
8180 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8181 _ACEOF
8182
8183 fi
8184
8185 done
8186
8187
8188 for ac_header in dlfcn.h
8189 do :
8190   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8191 "
8192 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8193   cat >>confdefs.h <<_ACEOF
8194 #define HAVE_DLFCN_H 1
8195 _ACEOF
8196
8197 fi
8198
8199 done
8200
8201
8202
8203
8204
8205 # Set options
8206
8207
8208
8209         enable_dlopen=no
8210
8211
8212   enable_win32_dll=no
8213
8214
8215             # Check whether --enable-shared was given.
8216 if test "${enable_shared+set}" = set; then :
8217   enableval=$enable_shared; p=${PACKAGE-default}
8218     case $enableval in
8219     yes) enable_shared=yes ;;
8220     no) enable_shared=no ;;
8221     *)
8222       enable_shared=no
8223       # Look at the argument we got.  We use all the common list separators.
8224       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8225       for pkg in $enableval; do
8226         IFS="$lt_save_ifs"
8227         if test "X$pkg" = "X$p"; then
8228           enable_shared=yes
8229         fi
8230       done
8231       IFS="$lt_save_ifs"
8232       ;;
8233     esac
8234 else
8235   enable_shared=yes
8236 fi
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246   # Check whether --enable-static was given.
8247 if test "${enable_static+set}" = set; then :
8248   enableval=$enable_static; p=${PACKAGE-default}
8249     case $enableval in
8250     yes) enable_static=yes ;;
8251     no) enable_static=no ;;
8252     *)
8253      enable_static=no
8254       # Look at the argument we got.  We use all the common list separators.
8255       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8256       for pkg in $enableval; do
8257         IFS="$lt_save_ifs"
8258         if test "X$pkg" = "X$p"; then
8259           enable_static=yes
8260         fi
8261       done
8262       IFS="$lt_save_ifs"
8263       ;;
8264     esac
8265 else
8266   enable_static=yes
8267 fi
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278 # Check whether --with-pic was given.
8279 if test "${with_pic+set}" = set; then :
8280   withval=$with_pic; lt_p=${PACKAGE-default}
8281     case $withval in
8282     yes|no) pic_mode=$withval ;;
8283     *)
8284       pic_mode=default
8285       # Look at the argument we got.  We use all the common list separators.
8286       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8287       for lt_pkg in $withval; do
8288         IFS="$lt_save_ifs"
8289         if test "X$lt_pkg" = "X$lt_p"; then
8290           pic_mode=yes
8291         fi
8292       done
8293       IFS="$lt_save_ifs"
8294       ;;
8295     esac
8296 else
8297   pic_mode=default
8298 fi
8299
8300
8301 test -z "$pic_mode" && pic_mode=default
8302
8303
8304
8305
8306
8307
8308
8309   # Check whether --enable-fast-install was given.
8310 if test "${enable_fast_install+set}" = set; then :
8311   enableval=$enable_fast_install; p=${PACKAGE-default}
8312     case $enableval in
8313     yes) enable_fast_install=yes ;;
8314     no) enable_fast_install=no ;;
8315     *)
8316       enable_fast_install=no
8317       # Look at the argument we got.  We use all the common list separators.
8318       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8319       for pkg in $enableval; do
8320         IFS="$lt_save_ifs"
8321         if test "X$pkg" = "X$p"; then
8322           enable_fast_install=yes
8323         fi
8324       done
8325       IFS="$lt_save_ifs"
8326       ;;
8327     esac
8328 else
8329   enable_fast_install=yes
8330 fi
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342 # This can be used to rebuild libtool when needed
8343 LIBTOOL_DEPS="$ltmain"
8344
8345 # Always use our own libtool.
8346 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377 test -z "$LN_S" && LN_S="ln -s"
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392 if test -n "${ZSH_VERSION+set}" ; then
8393    setopt NO_GLOB_SUBST
8394 fi
8395
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8397 $as_echo_n "checking for objdir... " >&6; }
8398 if ${lt_cv_objdir+:} false; then :
8399   $as_echo_n "(cached) " >&6
8400 else
8401   rm -f .libs 2>/dev/null
8402 mkdir .libs 2>/dev/null
8403 if test -d .libs; then
8404   lt_cv_objdir=.libs
8405 else
8406   # MS-DOS does not allow filenames that begin with a dot.
8407   lt_cv_objdir=_libs
8408 fi
8409 rmdir .libs 2>/dev/null
8410 fi
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8412 $as_echo "$lt_cv_objdir" >&6; }
8413 objdir=$lt_cv_objdir
8414
8415
8416
8417
8418
8419 cat >>confdefs.h <<_ACEOF
8420 #define LT_OBJDIR "$lt_cv_objdir/"
8421 _ACEOF
8422
8423
8424
8425
8426 case $host_os in
8427 aix3*)
8428   # AIX sometimes has problems with the GCC collect2 program.  For some
8429   # reason, if we set the COLLECT_NAMES environment variable, the problems
8430   # vanish in a puff of smoke.
8431   if test "X${COLLECT_NAMES+set}" != Xset; then
8432     COLLECT_NAMES=
8433     export COLLECT_NAMES
8434   fi
8435   ;;
8436 esac
8437
8438 # Global variables:
8439 ofile=libtool
8440 can_build_shared=yes
8441
8442 # All known linkers require a `.a' archive for static linking (except MSVC,
8443 # which needs '.lib').
8444 libext=a
8445
8446 with_gnu_ld="$lt_cv_prog_gnu_ld"
8447
8448 old_CC="$CC"
8449 old_CFLAGS="$CFLAGS"
8450
8451 # Set sane defaults for various variables
8452 test -z "$CC" && CC=cc
8453 test -z "$LTCC" && LTCC=$CC
8454 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8455 test -z "$LD" && LD=ld
8456 test -z "$ac_objext" && ac_objext=o
8457
8458 for cc_temp in $compiler""; do
8459   case $cc_temp in
8460     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8461     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8462     \-*) ;;
8463     *) break;;
8464   esac
8465 done
8466 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8467
8468
8469 # Only perform the check for file, if the check method requires it
8470 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8471 case $deplibs_check_method in
8472 file_magic*)
8473   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8474     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8475 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8476 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8477   $as_echo_n "(cached) " >&6
8478 else
8479   case $MAGIC_CMD in
8480 [\\/*] |  ?:[\\/]*)
8481   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8482   ;;
8483 *)
8484   lt_save_MAGIC_CMD="$MAGIC_CMD"
8485   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8486   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8487   for ac_dir in $ac_dummy; do
8488     IFS="$lt_save_ifs"
8489     test -z "$ac_dir" && ac_dir=.
8490     if test -f $ac_dir/${ac_tool_prefix}file; then
8491       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8492       if test -n "$file_magic_test_file"; then
8493         case $deplibs_check_method in
8494         "file_magic "*)
8495           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8496           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8497           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8498             $EGREP "$file_magic_regex" > /dev/null; then
8499             :
8500           else
8501             cat <<_LT_EOF 1>&2
8502
8503 *** Warning: the command libtool uses to detect shared libraries,
8504 *** $file_magic_cmd, produces output that libtool cannot recognize.
8505 *** The result is that libtool may fail to recognize shared libraries
8506 *** as such.  This will affect the creation of libtool libraries that
8507 *** depend on shared libraries, but programs linked with such libtool
8508 *** libraries will work regardless of this problem.  Nevertheless, you
8509 *** may want to report the problem to your system manager and/or to
8510 *** bug-libtool@gnu.org
8511
8512 _LT_EOF
8513           fi ;;
8514         esac
8515       fi
8516       break
8517     fi
8518   done
8519   IFS="$lt_save_ifs"
8520   MAGIC_CMD="$lt_save_MAGIC_CMD"
8521   ;;
8522 esac
8523 fi
8524
8525 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8526 if test -n "$MAGIC_CMD"; then
8527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8528 $as_echo "$MAGIC_CMD" >&6; }
8529 else
8530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8531 $as_echo "no" >&6; }
8532 fi
8533
8534
8535
8536
8537
8538 if test -z "$lt_cv_path_MAGIC_CMD"; then
8539   if test -n "$ac_tool_prefix"; then
8540     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8541 $as_echo_n "checking for file... " >&6; }
8542 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8543   $as_echo_n "(cached) " >&6
8544 else
8545   case $MAGIC_CMD in
8546 [\\/*] |  ?:[\\/]*)
8547   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8548   ;;
8549 *)
8550   lt_save_MAGIC_CMD="$MAGIC_CMD"
8551   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8552   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8553   for ac_dir in $ac_dummy; do
8554     IFS="$lt_save_ifs"
8555     test -z "$ac_dir" && ac_dir=.
8556     if test -f $ac_dir/file; then
8557       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8558       if test -n "$file_magic_test_file"; then
8559         case $deplibs_check_method in
8560         "file_magic "*)
8561           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8562           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8563           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8564             $EGREP "$file_magic_regex" > /dev/null; then
8565             :
8566           else
8567             cat <<_LT_EOF 1>&2
8568
8569 *** Warning: the command libtool uses to detect shared libraries,
8570 *** $file_magic_cmd, produces output that libtool cannot recognize.
8571 *** The result is that libtool may fail to recognize shared libraries
8572 *** as such.  This will affect the creation of libtool libraries that
8573 *** depend on shared libraries, but programs linked with such libtool
8574 *** libraries will work regardless of this problem.  Nevertheless, you
8575 *** may want to report the problem to your system manager and/or to
8576 *** bug-libtool@gnu.org
8577
8578 _LT_EOF
8579           fi ;;
8580         esac
8581       fi
8582       break
8583     fi
8584   done
8585   IFS="$lt_save_ifs"
8586   MAGIC_CMD="$lt_save_MAGIC_CMD"
8587   ;;
8588 esac
8589 fi
8590
8591 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8592 if test -n "$MAGIC_CMD"; then
8593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8594 $as_echo "$MAGIC_CMD" >&6; }
8595 else
8596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8597 $as_echo "no" >&6; }
8598 fi
8599
8600
8601   else
8602     MAGIC_CMD=:
8603   fi
8604 fi
8605
8606   fi
8607   ;;
8608 esac
8609
8610 # Use C for the default configuration in the libtool script
8611
8612 lt_save_CC="$CC"
8613 ac_ext=c
8614 ac_cpp='$CPP $CPPFLAGS'
8615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8618
8619
8620 # Source file extension for C test sources.
8621 ac_ext=c
8622
8623 # Object file extension for compiled C test sources.
8624 objext=o
8625 objext=$objext
8626
8627 # Code to be used in simple compile tests
8628 lt_simple_compile_test_code="int some_variable = 0;"
8629
8630 # Code to be used in simple link tests
8631 lt_simple_link_test_code='int main(){return(0);}'
8632
8633
8634
8635
8636
8637
8638
8639 # If no C compiler was specified, use CC.
8640 LTCC=${LTCC-"$CC"}
8641
8642 # If no C compiler flags were specified, use CFLAGS.
8643 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8644
8645 # Allow CC to be a program name with arguments.
8646 compiler=$CC
8647
8648 # Save the default compiler, since it gets overwritten when the other
8649 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8650 compiler_DEFAULT=$CC
8651
8652 # save warnings/boilerplate of simple test code
8653 ac_outfile=conftest.$ac_objext
8654 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8655 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8656 _lt_compiler_boilerplate=`cat conftest.err`
8657 $RM conftest*
8658
8659 ac_outfile=conftest.$ac_objext
8660 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8661 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8662 _lt_linker_boilerplate=`cat conftest.err`
8663 $RM -r conftest*
8664
8665
8666 ## CAVEAT EMPTOR:
8667 ## There is no encapsulation within the following macros, do not change
8668 ## the running order or otherwise move them around unless you know exactly
8669 ## what you are doing...
8670 if test -n "$compiler"; then
8671
8672 lt_prog_compiler_no_builtin_flag=
8673
8674 if test "$GCC" = yes; then
8675   case $cc_basename in
8676   nvcc*)
8677     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8678   *)
8679     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8680   esac
8681
8682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8683 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8684 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8685   $as_echo_n "(cached) " >&6
8686 else
8687   lt_cv_prog_compiler_rtti_exceptions=no
8688    ac_outfile=conftest.$ac_objext
8689    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8690    lt_compiler_flag="-fno-rtti -fno-exceptions"
8691    # Insert the option either (1) after the last *FLAGS variable, or
8692    # (2) before a word containing "conftest.", or (3) at the end.
8693    # Note that $ac_compile itself does not contain backslashes and begins
8694    # with a dollar sign (not a hyphen), so the echo should work correctly.
8695    # The option is referenced via a variable to avoid confusing sed.
8696    lt_compile=`echo "$ac_compile" | $SED \
8697    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8698    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8699    -e 's:$: $lt_compiler_flag:'`
8700    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8701    (eval "$lt_compile" 2>conftest.err)
8702    ac_status=$?
8703    cat conftest.err >&5
8704    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705    if (exit $ac_status) && test -s "$ac_outfile"; then
8706      # The compiler can only warn and ignore the option if not recognized
8707      # So say no if there are warnings other than the usual output.
8708      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8709      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8710      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8711        lt_cv_prog_compiler_rtti_exceptions=yes
8712      fi
8713    fi
8714    $RM conftest*
8715
8716 fi
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8718 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8719
8720 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8721     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8722 else
8723     :
8724 fi
8725
8726 fi
8727
8728
8729
8730
8731
8732
8733   lt_prog_compiler_wl=
8734 lt_prog_compiler_pic=
8735 lt_prog_compiler_static=
8736
8737
8738   if test "$GCC" = yes; then
8739     lt_prog_compiler_wl='-Wl,'
8740     lt_prog_compiler_static='-static'
8741
8742     case $host_os in
8743       aix*)
8744       # All AIX code is PIC.
8745       if test "$host_cpu" = ia64; then
8746         # AIX 5 now supports IA64 processor
8747         lt_prog_compiler_static='-Bstatic'
8748       fi
8749       ;;
8750
8751     amigaos*)
8752       case $host_cpu in
8753       powerpc)
8754             # see comment about AmigaOS4 .so support
8755             lt_prog_compiler_pic='-fPIC'
8756         ;;
8757       m68k)
8758             # FIXME: we need at least 68020 code to build shared libraries, but
8759             # adding the `-m68020' flag to GCC prevents building anything better,
8760             # like `-m68040'.
8761             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8762         ;;
8763       esac
8764       ;;
8765
8766     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8767       # PIC is the default for these OSes.
8768       ;;
8769
8770     mingw* | cygwin* | pw32* | os2* | cegcc*)
8771       # This hack is so that the source file can tell whether it is being
8772       # built for inclusion in a dll (and should export symbols for example).
8773       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8774       # (--disable-auto-import) libraries
8775       lt_prog_compiler_pic='-DDLL_EXPORT'
8776       ;;
8777
8778     darwin* | rhapsody*)
8779       # PIC is the default on this platform
8780       # Common symbols not allowed in MH_DYLIB files
8781       lt_prog_compiler_pic='-fno-common'
8782       ;;
8783
8784     haiku*)
8785       # PIC is the default for Haiku.
8786       # The "-static" flag exists, but is broken.
8787       lt_prog_compiler_static=
8788       ;;
8789
8790     hpux*)
8791       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8792       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8793       # sets the default TLS model and affects inlining.
8794       case $host_cpu in
8795       hppa*64*)
8796         # +Z the default
8797         ;;
8798       *)
8799         lt_prog_compiler_pic='-fPIC'
8800         ;;
8801       esac
8802       ;;
8803
8804     interix[3-9]*)
8805       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8806       # Instead, we relocate shared libraries at runtime.
8807       ;;
8808
8809     msdosdjgpp*)
8810       # Just because we use GCC doesn't mean we suddenly get shared libraries
8811       # on systems that don't support them.
8812       lt_prog_compiler_can_build_shared=no
8813       enable_shared=no
8814       ;;
8815
8816     *nto* | *qnx*)
8817       # QNX uses GNU C++, but need to define -shared option too, otherwise
8818       # it will coredump.
8819       lt_prog_compiler_pic='-fPIC -shared'
8820       ;;
8821
8822     sysv4*MP*)
8823       if test -d /usr/nec; then
8824         lt_prog_compiler_pic=-Kconform_pic
8825       fi
8826       ;;
8827
8828     *)
8829       lt_prog_compiler_pic='-fPIC'
8830       ;;
8831     esac
8832
8833     case $cc_basename in
8834     nvcc*) # Cuda Compiler Driver 2.2
8835       lt_prog_compiler_wl='-Xlinker '
8836       if test -n "$lt_prog_compiler_pic"; then
8837         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8838       fi
8839       ;;
8840     esac
8841   else
8842     # PORTME Check for flag to pass linker flags through the system compiler.
8843     case $host_os in
8844     aix*)
8845       lt_prog_compiler_wl='-Wl,'
8846       if test "$host_cpu" = ia64; then
8847         # AIX 5 now supports IA64 processor
8848         lt_prog_compiler_static='-Bstatic'
8849       else
8850         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8851       fi
8852       ;;
8853
8854     mingw* | cygwin* | pw32* | os2* | cegcc*)
8855       # This hack is so that the source file can tell whether it is being
8856       # built for inclusion in a dll (and should export symbols for example).
8857       lt_prog_compiler_pic='-DDLL_EXPORT'
8858       ;;
8859
8860     hpux9* | hpux10* | hpux11*)
8861       lt_prog_compiler_wl='-Wl,'
8862       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8863       # not for PA HP-UX.
8864       case $host_cpu in
8865       hppa*64*|ia64*)
8866         # +Z the default
8867         ;;
8868       *)
8869         lt_prog_compiler_pic='+Z'
8870         ;;
8871       esac
8872       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8873       lt_prog_compiler_static='${wl}-a ${wl}archive'
8874       ;;
8875
8876     irix5* | irix6* | nonstopux*)
8877       lt_prog_compiler_wl='-Wl,'
8878       # PIC (with -KPIC) is the default.
8879       lt_prog_compiler_static='-non_shared'
8880       ;;
8881
8882     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8883       case $cc_basename in
8884       # old Intel for x86_64 which still supported -KPIC.
8885       ecc*)
8886         lt_prog_compiler_wl='-Wl,'
8887         lt_prog_compiler_pic='-KPIC'
8888         lt_prog_compiler_static='-static'
8889         ;;
8890       # icc used to be incompatible with GCC.
8891       # ICC 10 doesn't accept -KPIC any more.
8892       icc* | ifort*)
8893         lt_prog_compiler_wl='-Wl,'
8894         lt_prog_compiler_pic='-fPIC'
8895         lt_prog_compiler_static='-static'
8896         ;;
8897       # Lahey Fortran 8.1.
8898       lf95*)
8899         lt_prog_compiler_wl='-Wl,'
8900         lt_prog_compiler_pic='--shared'
8901         lt_prog_compiler_static='--static'
8902         ;;
8903       nagfor*)
8904         # NAG Fortran compiler
8905         lt_prog_compiler_wl='-Wl,-Wl,,'
8906         lt_prog_compiler_pic='-PIC'
8907         lt_prog_compiler_static='-Bstatic'
8908         ;;
8909       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8910         # Portland Group compilers (*not* the Pentium gcc compiler,
8911         # which looks to be a dead project)
8912         lt_prog_compiler_wl='-Wl,'
8913         lt_prog_compiler_pic='-fpic'
8914         lt_prog_compiler_static='-Bstatic'
8915         ;;
8916       ccc*)
8917         lt_prog_compiler_wl='-Wl,'
8918         # All Alpha code is PIC.
8919         lt_prog_compiler_static='-non_shared'
8920         ;;
8921       xl* | bgxl* | bgf* | mpixl*)
8922         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8923         lt_prog_compiler_wl='-Wl,'
8924         lt_prog_compiler_pic='-qpic'
8925         lt_prog_compiler_static='-qstaticlink'
8926         ;;
8927       *)
8928         case `$CC -V 2>&1 | sed 5q` in
8929         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8930           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8931           lt_prog_compiler_pic='-KPIC'
8932           lt_prog_compiler_static='-Bstatic'
8933           lt_prog_compiler_wl=''
8934           ;;
8935         *Sun\ F* | *Sun*Fortran*)
8936           lt_prog_compiler_pic='-KPIC'
8937           lt_prog_compiler_static='-Bstatic'
8938           lt_prog_compiler_wl='-Qoption ld '
8939           ;;
8940         *Sun\ C*)
8941           # Sun C 5.9
8942           lt_prog_compiler_pic='-KPIC'
8943           lt_prog_compiler_static='-Bstatic'
8944           lt_prog_compiler_wl='-Wl,'
8945           ;;
8946         *Intel*\ [CF]*Compiler*)
8947           lt_prog_compiler_wl='-Wl,'
8948           lt_prog_compiler_pic='-fPIC'
8949           lt_prog_compiler_static='-static'
8950           ;;
8951         *Portland\ Group*)
8952           lt_prog_compiler_wl='-Wl,'
8953           lt_prog_compiler_pic='-fpic'
8954           lt_prog_compiler_static='-Bstatic'
8955           ;;
8956         esac
8957         ;;
8958       esac
8959       ;;
8960
8961     newsos6)
8962       lt_prog_compiler_pic='-KPIC'
8963       lt_prog_compiler_static='-Bstatic'
8964       ;;
8965
8966     *nto* | *qnx*)
8967       # QNX uses GNU C++, but need to define -shared option too, otherwise
8968       # it will coredump.
8969       lt_prog_compiler_pic='-fPIC -shared'
8970       ;;
8971
8972     osf3* | osf4* | osf5*)
8973       lt_prog_compiler_wl='-Wl,'
8974       # All OSF/1 code is PIC.
8975       lt_prog_compiler_static='-non_shared'
8976       ;;
8977
8978     rdos*)
8979       lt_prog_compiler_static='-non_shared'
8980       ;;
8981
8982     solaris*)
8983       lt_prog_compiler_pic='-KPIC'
8984       lt_prog_compiler_static='-Bstatic'
8985       case $cc_basename in
8986       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8987         lt_prog_compiler_wl='-Qoption ld ';;
8988       *)
8989         lt_prog_compiler_wl='-Wl,';;
8990       esac
8991       ;;
8992
8993     sunos4*)
8994       lt_prog_compiler_wl='-Qoption ld '
8995       lt_prog_compiler_pic='-PIC'
8996       lt_prog_compiler_static='-Bstatic'
8997       ;;
8998
8999     sysv4 | sysv4.2uw2* | sysv4.3*)
9000       lt_prog_compiler_wl='-Wl,'
9001       lt_prog_compiler_pic='-KPIC'
9002       lt_prog_compiler_static='-Bstatic'
9003       ;;
9004
9005     sysv4*MP*)
9006       if test -d /usr/nec ;then
9007         lt_prog_compiler_pic='-Kconform_pic'
9008         lt_prog_compiler_static='-Bstatic'
9009       fi
9010       ;;
9011
9012     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9013       lt_prog_compiler_wl='-Wl,'
9014       lt_prog_compiler_pic='-KPIC'
9015       lt_prog_compiler_static='-Bstatic'
9016       ;;
9017
9018     unicos*)
9019       lt_prog_compiler_wl='-Wl,'
9020       lt_prog_compiler_can_build_shared=no
9021       ;;
9022
9023     uts4*)
9024       lt_prog_compiler_pic='-pic'
9025       lt_prog_compiler_static='-Bstatic'
9026       ;;
9027
9028     *)
9029       lt_prog_compiler_can_build_shared=no
9030       ;;
9031     esac
9032   fi
9033
9034 case $host_os in
9035   # For platforms which do not support PIC, -DPIC is meaningless:
9036   *djgpp*)
9037     lt_prog_compiler_pic=
9038     ;;
9039   *)
9040     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9041     ;;
9042 esac
9043
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9045 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9046 if ${lt_cv_prog_compiler_pic+:} false; then :
9047   $as_echo_n "(cached) " >&6
9048 else
9049   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9050 fi
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9052 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9053 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9054
9055 #
9056 # Check to make sure the PIC flag actually works.
9057 #
9058 if test -n "$lt_prog_compiler_pic"; then
9059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9060 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9061 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9062   $as_echo_n "(cached) " >&6
9063 else
9064   lt_cv_prog_compiler_pic_works=no
9065    ac_outfile=conftest.$ac_objext
9066    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9067    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9068    # Insert the option either (1) after the last *FLAGS variable, or
9069    # (2) before a word containing "conftest.", or (3) at the end.
9070    # Note that $ac_compile itself does not contain backslashes and begins
9071    # with a dollar sign (not a hyphen), so the echo should work correctly.
9072    # The option is referenced via a variable to avoid confusing sed.
9073    lt_compile=`echo "$ac_compile" | $SED \
9074    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9075    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9076    -e 's:$: $lt_compiler_flag:'`
9077    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9078    (eval "$lt_compile" 2>conftest.err)
9079    ac_status=$?
9080    cat conftest.err >&5
9081    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9082    if (exit $ac_status) && test -s "$ac_outfile"; then
9083      # The compiler can only warn and ignore the option if not recognized
9084      # So say no if there are warnings other than the usual output.
9085      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9086      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9087      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9088        lt_cv_prog_compiler_pic_works=yes
9089      fi
9090    fi
9091    $RM conftest*
9092
9093 fi
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9095 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9096
9097 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9098     case $lt_prog_compiler_pic in
9099      "" | " "*) ;;
9100      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9101      esac
9102 else
9103     lt_prog_compiler_pic=
9104      lt_prog_compiler_can_build_shared=no
9105 fi
9106
9107 fi
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119 #
9120 # Check to make sure the static flag actually works.
9121 #
9122 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9124 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9125 if ${lt_cv_prog_compiler_static_works+:} false; then :
9126   $as_echo_n "(cached) " >&6
9127 else
9128   lt_cv_prog_compiler_static_works=no
9129    save_LDFLAGS="$LDFLAGS"
9130    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9131    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9132    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9133      # The linker can only warn and ignore the option if not recognized
9134      # So say no if there are warnings
9135      if test -s conftest.err; then
9136        # Append any errors to the config.log.
9137        cat conftest.err 1>&5
9138        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9139        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9140        if diff conftest.exp conftest.er2 >/dev/null; then
9141          lt_cv_prog_compiler_static_works=yes
9142        fi
9143      else
9144        lt_cv_prog_compiler_static_works=yes
9145      fi
9146    fi
9147    $RM -r conftest*
9148    LDFLAGS="$save_LDFLAGS"
9149
9150 fi
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9152 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9153
9154 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9155     :
9156 else
9157     lt_prog_compiler_static=
9158 fi
9159
9160
9161
9162
9163
9164
9165
9166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9167 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9168 if ${lt_cv_prog_compiler_c_o+:} false; then :
9169   $as_echo_n "(cached) " >&6
9170 else
9171   lt_cv_prog_compiler_c_o=no
9172    $RM -r conftest 2>/dev/null
9173    mkdir conftest
9174    cd conftest
9175    mkdir out
9176    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9177
9178    lt_compiler_flag="-o out/conftest2.$ac_objext"
9179    # Insert the option either (1) after the last *FLAGS variable, or
9180    # (2) before a word containing "conftest.", or (3) at the end.
9181    # Note that $ac_compile itself does not contain backslashes and begins
9182    # with a dollar sign (not a hyphen), so the echo should work correctly.
9183    lt_compile=`echo "$ac_compile" | $SED \
9184    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9185    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9186    -e 's:$: $lt_compiler_flag:'`
9187    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9188    (eval "$lt_compile" 2>out/conftest.err)
9189    ac_status=$?
9190    cat out/conftest.err >&5
9191    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9193    then
9194      # The compiler can only warn and ignore the option if not recognized
9195      # So say no if there are warnings
9196      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9197      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9198      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9199        lt_cv_prog_compiler_c_o=yes
9200      fi
9201    fi
9202    chmod u+w . 2>&5
9203    $RM conftest*
9204    # SGI C++ compiler will create directory out/ii_files/ for
9205    # template instantiation
9206    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9207    $RM out/* && rmdir out
9208    cd ..
9209    $RM -r conftest
9210    $RM conftest*
9211
9212 fi
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9214 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9215
9216
9217
9218
9219
9220
9221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9222 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9223 if ${lt_cv_prog_compiler_c_o+:} false; then :
9224   $as_echo_n "(cached) " >&6
9225 else
9226   lt_cv_prog_compiler_c_o=no
9227    $RM -r conftest 2>/dev/null
9228    mkdir conftest
9229    cd conftest
9230    mkdir out
9231    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9232
9233    lt_compiler_flag="-o out/conftest2.$ac_objext"
9234    # Insert the option either (1) after the last *FLAGS variable, or
9235    # (2) before a word containing "conftest.", or (3) at the end.
9236    # Note that $ac_compile itself does not contain backslashes and begins
9237    # with a dollar sign (not a hyphen), so the echo should work correctly.
9238    lt_compile=`echo "$ac_compile" | $SED \
9239    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9240    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9241    -e 's:$: $lt_compiler_flag:'`
9242    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9243    (eval "$lt_compile" 2>out/conftest.err)
9244    ac_status=$?
9245    cat out/conftest.err >&5
9246    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9247    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9248    then
9249      # The compiler can only warn and ignore the option if not recognized
9250      # So say no if there are warnings
9251      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9252      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9253      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9254        lt_cv_prog_compiler_c_o=yes
9255      fi
9256    fi
9257    chmod u+w . 2>&5
9258    $RM conftest*
9259    # SGI C++ compiler will create directory out/ii_files/ for
9260    # template instantiation
9261    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9262    $RM out/* && rmdir out
9263    cd ..
9264    $RM -r conftest
9265    $RM conftest*
9266
9267 fi
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9269 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9270
9271
9272
9273
9274 hard_links="nottested"
9275 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9276   # do not overwrite the value of need_locks provided by the user
9277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9278 $as_echo_n "checking if we can lock with hard links... " >&6; }
9279   hard_links=yes
9280   $RM conftest*
9281   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9282   touch conftest.a
9283   ln conftest.a conftest.b 2>&5 || hard_links=no
9284   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9286 $as_echo "$hard_links" >&6; }
9287   if test "$hard_links" = no; then
9288     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9289 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9290     need_locks=warn
9291   fi
9292 else
9293   need_locks=no
9294 fi
9295
9296
9297
9298
9299
9300
9301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9302 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9303
9304   runpath_var=
9305   allow_undefined_flag=
9306   always_export_symbols=no
9307   archive_cmds=
9308   archive_expsym_cmds=
9309   compiler_needs_object=no
9310   enable_shared_with_static_runtimes=no
9311   export_dynamic_flag_spec=
9312   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9313   hardcode_automatic=no
9314   hardcode_direct=no
9315   hardcode_direct_absolute=no
9316   hardcode_libdir_flag_spec=
9317   hardcode_libdir_separator=
9318   hardcode_minus_L=no
9319   hardcode_shlibpath_var=unsupported
9320   inherit_rpath=no
9321   link_all_deplibs=unknown
9322   module_cmds=
9323   module_expsym_cmds=
9324   old_archive_from_new_cmds=
9325   old_archive_from_expsyms_cmds=
9326   thread_safe_flag_spec=
9327   whole_archive_flag_spec=
9328   # include_expsyms should be a list of space-separated symbols to be *always*
9329   # included in the symbol list
9330   include_expsyms=
9331   # exclude_expsyms can be an extended regexp of symbols to exclude
9332   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9333   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9334   # as well as any symbol that contains `d'.
9335   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9336   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9337   # platforms (ab)use it in PIC code, but their linkers get confused if
9338   # the symbol is explicitly referenced.  Since portable code cannot
9339   # rely on this symbol name, it's probably fine to never include it in
9340   # preloaded symbol tables.
9341   # Exclude shared library initialization/finalization symbols.
9342   extract_expsyms_cmds=
9343
9344   case $host_os in
9345   cygwin* | mingw* | pw32* | cegcc*)
9346     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9347     # When not using gcc, we currently assume that we are using
9348     # Microsoft Visual C++.
9349     if test "$GCC" != yes; then
9350       with_gnu_ld=no
9351     fi
9352     ;;
9353   interix*)
9354     # we just hope/assume this is gcc and not c89 (= MSVC++)
9355     with_gnu_ld=yes
9356     ;;
9357   openbsd*)
9358     with_gnu_ld=no
9359     ;;
9360   linux* | k*bsd*-gnu | gnu*)
9361     link_all_deplibs=no
9362     ;;
9363   esac
9364
9365   ld_shlibs=yes
9366
9367   # On some targets, GNU ld is compatible enough with the native linker
9368   # that we're better off using the native interface for both.
9369   lt_use_gnu_ld_interface=no
9370   if test "$with_gnu_ld" = yes; then
9371     case $host_os in
9372       aix*)
9373         # The AIX port of GNU ld has always aspired to compatibility
9374         # with the native linker.  However, as the warning in the GNU ld
9375         # block says, versions before 2.19.5* couldn't really create working
9376         # shared libraries, regardless of the interface used.
9377         case `$LD -v 2>&1` in
9378           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9379           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9380           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9381           *)
9382             lt_use_gnu_ld_interface=yes
9383             ;;
9384         esac
9385         ;;
9386       *)
9387         lt_use_gnu_ld_interface=yes
9388         ;;
9389     esac
9390   fi
9391
9392   if test "$lt_use_gnu_ld_interface" = yes; then
9393     # If archive_cmds runs LD, not CC, wlarc should be empty
9394     wlarc='${wl}'
9395
9396     # Set some defaults for GNU ld with shared library support. These
9397     # are reset later if shared libraries are not supported. Putting them
9398     # here allows them to be overridden if necessary.
9399     runpath_var=LD_RUN_PATH
9400     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9401     export_dynamic_flag_spec='${wl}--export-dynamic'
9402     # ancient GNU ld didn't support --whole-archive et. al.
9403     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9404       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9405     else
9406       whole_archive_flag_spec=
9407     fi
9408     supports_anon_versioning=no
9409     case `$LD -v 2>&1` in
9410       *GNU\ gold*) supports_anon_versioning=yes ;;
9411       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9412       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9413       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9414       *\ 2.11.*) ;; # other 2.11 versions
9415       *) supports_anon_versioning=yes ;;
9416     esac
9417
9418     # See if GNU ld supports shared libraries.
9419     case $host_os in
9420     aix[3-9]*)
9421       # On AIX/PPC, the GNU linker is very broken
9422       if test "$host_cpu" != ia64; then
9423         ld_shlibs=no
9424         cat <<_LT_EOF 1>&2
9425
9426 *** Warning: the GNU linker, at least up to release 2.19, is reported
9427 *** to be unable to reliably create shared libraries on AIX.
9428 *** Therefore, libtool is disabling shared libraries support.  If you
9429 *** really care for shared libraries, you may want to install binutils
9430 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9431 *** You will then need to restart the configuration process.
9432
9433 _LT_EOF
9434       fi
9435       ;;
9436
9437     amigaos*)
9438       case $host_cpu in
9439       powerpc)
9440             # see comment about AmigaOS4 .so support
9441             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9442             archive_expsym_cmds=''
9443         ;;
9444       m68k)
9445             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9446             hardcode_libdir_flag_spec='-L$libdir'
9447             hardcode_minus_L=yes
9448         ;;
9449       esac
9450       ;;
9451
9452     beos*)
9453       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9454         allow_undefined_flag=unsupported
9455         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9456         # support --undefined.  This deserves some investigation.  FIXME
9457         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9458       else
9459         ld_shlibs=no
9460       fi
9461       ;;
9462
9463     cygwin* | mingw* | pw32* | cegcc*)
9464       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9465       # as there is no search path for DLLs.
9466       hardcode_libdir_flag_spec='-L$libdir'
9467       export_dynamic_flag_spec='${wl}--export-all-symbols'
9468       allow_undefined_flag=unsupported
9469       always_export_symbols=no
9470       enable_shared_with_static_runtimes=yes
9471       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9472       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9473
9474       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9475         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9476         # If the export-symbols file already is a .def file (1st line
9477         # is EXPORTS), use it as is; otherwise, prepend...
9478         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9479           cp $export_symbols $output_objdir/$soname.def;
9480         else
9481           echo EXPORTS > $output_objdir/$soname.def;
9482           cat $export_symbols >> $output_objdir/$soname.def;
9483         fi~
9484         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9485       else
9486         ld_shlibs=no
9487       fi
9488       ;;
9489
9490     haiku*)
9491       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9492       link_all_deplibs=yes
9493       ;;
9494
9495     interix[3-9]*)
9496       hardcode_direct=no
9497       hardcode_shlibpath_var=no
9498       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9499       export_dynamic_flag_spec='${wl}-E'
9500       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9501       # Instead, shared libraries are loaded at an image base (0x10000000 by
9502       # default) and relocated if they conflict, which is a slow very memory
9503       # consuming and fragmenting process.  To avoid this, we pick a random,
9504       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9505       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9506       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9507       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9508       ;;
9509
9510     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9511       tmp_diet=no
9512       if test "$host_os" = linux-dietlibc; then
9513         case $cc_basename in
9514           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9515         esac
9516       fi
9517       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9518          && test "$tmp_diet" = no
9519       then
9520         tmp_addflag=' $pic_flag'
9521         tmp_sharedflag='-shared'
9522         case $cc_basename,$host_cpu in
9523         pgcc*)                          # Portland Group C compiler
9524           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9525           tmp_addflag=' $pic_flag'
9526           ;;
9527         pgf77* | pgf90* | pgf95* | pgfortran*)
9528                                         # Portland Group f77 and f90 compilers
9529           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9530           tmp_addflag=' $pic_flag -Mnomain' ;;
9531         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9532           tmp_addflag=' -i_dynamic' ;;
9533         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9534           tmp_addflag=' -i_dynamic -nofor_main' ;;
9535         ifc* | ifort*)                  # Intel Fortran compiler
9536           tmp_addflag=' -nofor_main' ;;
9537         lf95*)                          # Lahey Fortran 8.1
9538           whole_archive_flag_spec=
9539           tmp_sharedflag='--shared' ;;
9540         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9541           tmp_sharedflag='-qmkshrobj'
9542           tmp_addflag= ;;
9543         nvcc*)  # Cuda Compiler Driver 2.2
9544           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9545           compiler_needs_object=yes
9546           ;;
9547         esac
9548         case `$CC -V 2>&1 | sed 5q` in
9549         *Sun\ C*)                       # Sun C 5.9
9550           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9551           compiler_needs_object=yes
9552           tmp_sharedflag='-G' ;;
9553         *Sun\ F*)                       # Sun Fortran 8.3
9554           tmp_sharedflag='-G' ;;
9555         esac
9556         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9557
9558         if test "x$supports_anon_versioning" = xyes; then
9559           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9560             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9561             echo "local: *; };" >> $output_objdir/$libname.ver~
9562             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9563         fi
9564
9565         case $cc_basename in
9566         xlf* | bgf* | bgxlf* | mpixlf*)
9567           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9568           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9569           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9570           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9571           if test "x$supports_anon_versioning" = xyes; then
9572             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9573               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9574               echo "local: *; };" >> $output_objdir/$libname.ver~
9575               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9576           fi
9577           ;;
9578         esac
9579       else
9580         ld_shlibs=no
9581       fi
9582       ;;
9583
9584     netbsd* | netbsdelf*-gnu)
9585       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9586         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9587         wlarc=
9588       else
9589         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9590         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9591       fi
9592       ;;
9593
9594     solaris*)
9595       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9596         ld_shlibs=no
9597         cat <<_LT_EOF 1>&2
9598
9599 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9600 *** create shared libraries on Solaris systems.  Therefore, libtool
9601 *** is disabling shared libraries support.  We urge you to upgrade GNU
9602 *** binutils to release 2.9.1 or newer.  Another option is to modify
9603 *** your PATH or compiler configuration so that the native linker is
9604 *** used, and then restart.
9605
9606 _LT_EOF
9607       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9608         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9609         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9610       else
9611         ld_shlibs=no
9612       fi
9613       ;;
9614
9615     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9616       case `$LD -v 2>&1` in
9617         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9618         ld_shlibs=no
9619         cat <<_LT_EOF 1>&2
9620
9621 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9622 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9623 *** is disabling shared libraries support.  We urge you to upgrade GNU
9624 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9625 *** your PATH or compiler configuration so that the native linker is
9626 *** used, and then restart.
9627
9628 _LT_EOF
9629         ;;
9630         *)
9631           # For security reasons, it is highly recommended that you always
9632           # use absolute paths for naming shared libraries, and exclude the
9633           # DT_RUNPATH tag from executables and libraries.  But doing so
9634           # requires that you compile everything twice, which is a pain.
9635           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9636             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9637             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9638             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9639           else
9640             ld_shlibs=no
9641           fi
9642         ;;
9643       esac
9644       ;;
9645
9646     sunos4*)
9647       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9648       wlarc=
9649       hardcode_direct=yes
9650       hardcode_shlibpath_var=no
9651       ;;
9652
9653     *)
9654       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9655         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9656         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9657       else
9658         ld_shlibs=no
9659       fi
9660       ;;
9661     esac
9662
9663     if test "$ld_shlibs" = no; then
9664       runpath_var=
9665       hardcode_libdir_flag_spec=
9666       export_dynamic_flag_spec=
9667       whole_archive_flag_spec=
9668     fi
9669   else
9670     # PORTME fill in a description of your system's linker (not GNU ld)
9671     case $host_os in
9672     aix3*)
9673       allow_undefined_flag=unsupported
9674       always_export_symbols=yes
9675       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9676       # Note: this linker hardcodes the directories in LIBPATH if there
9677       # are no directories specified by -L.
9678       hardcode_minus_L=yes
9679       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9680         # Neither direct hardcoding nor static linking is supported with a
9681         # broken collect2.
9682         hardcode_direct=unsupported
9683       fi
9684       ;;
9685
9686     aix[4-9]*)
9687       if test "$host_cpu" = ia64; then
9688         # On IA64, the linker does run time linking by default, so we don't
9689         # have to do anything special.
9690         aix_use_runtimelinking=no
9691         exp_sym_flag='-Bexport'
9692         no_entry_flag=""
9693       else
9694         # If we're using GNU nm, then we don't want the "-C" option.
9695         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9696         # Also, AIX nm treats weak defined symbols like other global
9697         # defined symbols, whereas GNU nm marks them as "W".
9698         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9699           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9700         else
9701           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9702         fi
9703         aix_use_runtimelinking=no
9704
9705         # Test if we are trying to use run time linking or normal
9706         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9707         # need to do runtime linking.
9708         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9709           for ld_flag in $LDFLAGS; do
9710           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9711             aix_use_runtimelinking=yes
9712             break
9713           fi
9714           done
9715           ;;
9716         esac
9717
9718         exp_sym_flag='-bexport'
9719         no_entry_flag='-bnoentry'
9720       fi
9721
9722       # When large executables or shared objects are built, AIX ld can
9723       # have problems creating the table of contents.  If linking a library
9724       # or program results in "error TOC overflow" add -mminimal-toc to
9725       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9726       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9727
9728       archive_cmds=''
9729       hardcode_direct=yes
9730       hardcode_direct_absolute=yes
9731       hardcode_libdir_separator=':'
9732       link_all_deplibs=yes
9733       file_list_spec='${wl}-f,'
9734
9735       if test "$GCC" = yes; then
9736         case $host_os in aix4.[012]|aix4.[012].*)
9737         # We only want to do this on AIX 4.2 and lower, the check
9738         # below for broken collect2 doesn't work under 4.3+
9739           collect2name=`${CC} -print-prog-name=collect2`
9740           if test -f "$collect2name" &&
9741            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9742           then
9743           # We have reworked collect2
9744           :
9745           else
9746           # We have old collect2
9747           hardcode_direct=unsupported
9748           # It fails to find uninstalled libraries when the uninstalled
9749           # path is not listed in the libpath.  Setting hardcode_minus_L
9750           # to unsupported forces relinking
9751           hardcode_minus_L=yes
9752           hardcode_libdir_flag_spec='-L$libdir'
9753           hardcode_libdir_separator=
9754           fi
9755           ;;
9756         esac
9757         shared_flag='-shared'
9758         if test "$aix_use_runtimelinking" = yes; then
9759           shared_flag="$shared_flag "'${wl}-G'
9760         fi
9761         link_all_deplibs=no
9762       else
9763         # not using gcc
9764         if test "$host_cpu" = ia64; then
9765         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9766         # chokes on -Wl,-G. The following line is correct:
9767           shared_flag='-G'
9768         else
9769           if test "$aix_use_runtimelinking" = yes; then
9770             shared_flag='${wl}-G'
9771           else
9772             shared_flag='${wl}-bM:SRE'
9773           fi
9774         fi
9775       fi
9776
9777       export_dynamic_flag_spec='${wl}-bexpall'
9778       # It seems that -bexpall does not export symbols beginning with
9779       # underscore (_), so it is better to generate a list of symbols to export.
9780       always_export_symbols=yes
9781       if test "$aix_use_runtimelinking" = yes; then
9782         # Warning - without using the other runtime loading flags (-brtl),
9783         # -berok will link without error, but may produce a broken library.
9784         allow_undefined_flag='-berok'
9785         # Determine the default libpath from the value encoded in an
9786         # empty executable.
9787         if test "${lt_cv_aix_libpath+set}" = set; then
9788   aix_libpath=$lt_cv_aix_libpath
9789 else
9790   if ${lt_cv_aix_libpath_+:} false; then :
9791   $as_echo_n "(cached) " >&6
9792 else
9793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9794 /* end confdefs.h.  */
9795
9796 int
9797 main ()
9798 {
9799
9800   ;
9801   return 0;
9802 }
9803 _ACEOF
9804 if ac_fn_c_try_link "$LINENO"; then :
9805
9806   lt_aix_libpath_sed='
9807       /Import File Strings/,/^$/ {
9808           /^0/ {
9809               s/^0  *\([^ ]*\) *$/\1/
9810               p
9811           }
9812       }'
9813   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9814   # Check for a 64-bit object if we didn't find anything.
9815   if test -z "$lt_cv_aix_libpath_"; then
9816     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9817   fi
9818 fi
9819 rm -f core conftest.err conftest.$ac_objext \
9820     conftest$ac_exeext conftest.$ac_ext
9821   if test -z "$lt_cv_aix_libpath_"; then
9822     lt_cv_aix_libpath_="/usr/lib:/lib"
9823   fi
9824
9825 fi
9826
9827   aix_libpath=$lt_cv_aix_libpath_
9828 fi
9829
9830         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9831         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9832       else
9833         if test "$host_cpu" = ia64; then
9834           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9835           allow_undefined_flag="-z nodefs"
9836           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9837         else
9838          # Determine the default libpath from the value encoded in an
9839          # empty executable.
9840          if test "${lt_cv_aix_libpath+set}" = set; then
9841   aix_libpath=$lt_cv_aix_libpath
9842 else
9843   if ${lt_cv_aix_libpath_+:} false; then :
9844   $as_echo_n "(cached) " >&6
9845 else
9846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h.  */
9848
9849 int
9850 main ()
9851 {
9852
9853   ;
9854   return 0;
9855 }
9856 _ACEOF
9857 if ac_fn_c_try_link "$LINENO"; then :
9858
9859   lt_aix_libpath_sed='
9860       /Import File Strings/,/^$/ {
9861           /^0/ {
9862               s/^0  *\([^ ]*\) *$/\1/
9863               p
9864           }
9865       }'
9866   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9867   # Check for a 64-bit object if we didn't find anything.
9868   if test -z "$lt_cv_aix_libpath_"; then
9869     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9870   fi
9871 fi
9872 rm -f core conftest.err conftest.$ac_objext \
9873     conftest$ac_exeext conftest.$ac_ext
9874   if test -z "$lt_cv_aix_libpath_"; then
9875     lt_cv_aix_libpath_="/usr/lib:/lib"
9876   fi
9877
9878 fi
9879
9880   aix_libpath=$lt_cv_aix_libpath_
9881 fi
9882
9883          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9884           # Warning - without using the other run time loading flags,
9885           # -berok will link without error, but may produce a broken library.
9886           no_undefined_flag=' ${wl}-bernotok'
9887           allow_undefined_flag=' ${wl}-berok'
9888           if test "$with_gnu_ld" = yes; then
9889             # We only use this code for GNU lds that support --whole-archive.
9890             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9891           else
9892             # Exported symbols can be pulled into shared objects from archives
9893             whole_archive_flag_spec='$convenience'
9894           fi
9895           archive_cmds_need_lc=yes
9896           # This is similar to how AIX traditionally builds its shared libraries.
9897           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9898         fi
9899       fi
9900       ;;
9901
9902     amigaos*)
9903       case $host_cpu in
9904       powerpc)
9905             # see comment about AmigaOS4 .so support
9906             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9907             archive_expsym_cmds=''
9908         ;;
9909       m68k)
9910             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9911             hardcode_libdir_flag_spec='-L$libdir'
9912             hardcode_minus_L=yes
9913         ;;
9914       esac
9915       ;;
9916
9917     bsdi[45]*)
9918       export_dynamic_flag_spec=-rdynamic
9919       ;;
9920
9921     cygwin* | mingw* | pw32* | cegcc*)
9922       # When not using gcc, we currently assume that we are using
9923       # Microsoft Visual C++.
9924       # hardcode_libdir_flag_spec is actually meaningless, as there is
9925       # no search path for DLLs.
9926       case $cc_basename in
9927       cl*)
9928         # Native MSVC
9929         hardcode_libdir_flag_spec=' '
9930         allow_undefined_flag=unsupported
9931         always_export_symbols=yes
9932         file_list_spec='@'
9933         # Tell ltmain to make .lib files, not .a files.
9934         libext=lib
9935         # Tell ltmain to make .dll files, not .so files.
9936         shrext_cmds=".dll"
9937         # FIXME: Setting linknames here is a bad hack.
9938         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9939         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9940             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9941           else
9942             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9943           fi~
9944           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9945           linknames='
9946         # The linker will not automatically build a static lib if we build a DLL.
9947         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9948         enable_shared_with_static_runtimes=yes
9949         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9950         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9951         # Don't use ranlib
9952         old_postinstall_cmds='chmod 644 $oldlib'
9953         postlink_cmds='lt_outputfile="@OUTPUT@"~
9954           lt_tool_outputfile="@TOOL_OUTPUT@"~
9955           case $lt_outputfile in
9956             *.exe|*.EXE) ;;
9957             *)
9958               lt_outputfile="$lt_outputfile.exe"
9959               lt_tool_outputfile="$lt_tool_outputfile.exe"
9960               ;;
9961           esac~
9962           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9963             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9964             $RM "$lt_outputfile.manifest";
9965           fi'
9966         ;;
9967       *)
9968         # Assume MSVC wrapper
9969         hardcode_libdir_flag_spec=' '
9970         allow_undefined_flag=unsupported
9971         # Tell ltmain to make .lib files, not .a files.
9972         libext=lib
9973         # Tell ltmain to make .dll files, not .so files.
9974         shrext_cmds=".dll"
9975         # FIXME: Setting linknames here is a bad hack.
9976         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9977         # The linker will automatically build a .lib file if we build a DLL.
9978         old_archive_from_new_cmds='true'
9979         # FIXME: Should let the user specify the lib program.
9980         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9981         enable_shared_with_static_runtimes=yes
9982         ;;
9983       esac
9984       ;;
9985
9986     darwin* | rhapsody*)
9987
9988
9989   archive_cmds_need_lc=no
9990   hardcode_direct=no
9991   hardcode_automatic=yes
9992   hardcode_shlibpath_var=unsupported
9993   if test "$lt_cv_ld_force_load" = "yes"; then
9994     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9995
9996   else
9997     whole_archive_flag_spec=''
9998   fi
9999   link_all_deplibs=yes
10000   allow_undefined_flag="$_lt_dar_allow_undefined"
10001   case $cc_basename in
10002      ifort*) _lt_dar_can_shared=yes ;;
10003      *) _lt_dar_can_shared=$GCC ;;
10004   esac
10005   if test "$_lt_dar_can_shared" = "yes"; then
10006     output_verbose_link_cmd=func_echo_all
10007     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10008     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10009     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10010     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10011
10012   else
10013   ld_shlibs=no
10014   fi
10015
10016       ;;
10017
10018     dgux*)
10019       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10020       hardcode_libdir_flag_spec='-L$libdir'
10021       hardcode_shlibpath_var=no
10022       ;;
10023
10024     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10025     # support.  Future versions do this automatically, but an explicit c++rt0.o
10026     # does not break anything, and helps significantly (at the cost of a little
10027     # extra space).
10028     freebsd2.2*)
10029       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10030       hardcode_libdir_flag_spec='-R$libdir'
10031       hardcode_direct=yes
10032       hardcode_shlibpath_var=no
10033       ;;
10034
10035     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10036     freebsd2.*)
10037       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10038       hardcode_direct=yes
10039       hardcode_minus_L=yes
10040       hardcode_shlibpath_var=no
10041       ;;
10042
10043     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10044     freebsd* | dragonfly*)
10045       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10046       hardcode_libdir_flag_spec='-R$libdir'
10047       hardcode_direct=yes
10048       hardcode_shlibpath_var=no
10049       ;;
10050
10051     hpux9*)
10052       if test "$GCC" = yes; then
10053         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10054       else
10055         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10056       fi
10057       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10058       hardcode_libdir_separator=:
10059       hardcode_direct=yes
10060
10061       # hardcode_minus_L: Not really in the search PATH,
10062       # but as the default location of the library.
10063       hardcode_minus_L=yes
10064       export_dynamic_flag_spec='${wl}-E'
10065       ;;
10066
10067     hpux10*)
10068       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10069         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10070       else
10071         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10072       fi
10073       if test "$with_gnu_ld" = no; then
10074         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10075         hardcode_libdir_separator=:
10076         hardcode_direct=yes
10077         hardcode_direct_absolute=yes
10078         export_dynamic_flag_spec='${wl}-E'
10079         # hardcode_minus_L: Not really in the search PATH,
10080         # but as the default location of the library.
10081         hardcode_minus_L=yes
10082       fi
10083       ;;
10084
10085     hpux11*)
10086       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10087         case $host_cpu in
10088         hppa*64*)
10089           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10090           ;;
10091         ia64*)
10092           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10093           ;;
10094         *)
10095           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10096           ;;
10097         esac
10098       else
10099         case $host_cpu in
10100         hppa*64*)
10101           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10102           ;;
10103         ia64*)
10104           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10105           ;;
10106         *)
10107
10108           # Older versions of the 11.00 compiler do not understand -b yet
10109           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10110           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10111 $as_echo_n "checking if $CC understands -b... " >&6; }
10112 if ${lt_cv_prog_compiler__b+:} false; then :
10113   $as_echo_n "(cached) " >&6
10114 else
10115   lt_cv_prog_compiler__b=no
10116    save_LDFLAGS="$LDFLAGS"
10117    LDFLAGS="$LDFLAGS -b"
10118    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10119    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10120      # The linker can only warn and ignore the option if not recognized
10121      # So say no if there are warnings
10122      if test -s conftest.err; then
10123        # Append any errors to the config.log.
10124        cat conftest.err 1>&5
10125        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10126        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10127        if diff conftest.exp conftest.er2 >/dev/null; then
10128          lt_cv_prog_compiler__b=yes
10129        fi
10130      else
10131        lt_cv_prog_compiler__b=yes
10132      fi
10133    fi
10134    $RM -r conftest*
10135    LDFLAGS="$save_LDFLAGS"
10136
10137 fi
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10139 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10140
10141 if test x"$lt_cv_prog_compiler__b" = xyes; then
10142     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10143 else
10144     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10145 fi
10146
10147           ;;
10148         esac
10149       fi
10150       if test "$with_gnu_ld" = no; then
10151         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10152         hardcode_libdir_separator=:
10153
10154         case $host_cpu in
10155         hppa*64*|ia64*)
10156           hardcode_direct=no
10157           hardcode_shlibpath_var=no
10158           ;;
10159         *)
10160           hardcode_direct=yes
10161           hardcode_direct_absolute=yes
10162           export_dynamic_flag_spec='${wl}-E'
10163
10164           # hardcode_minus_L: Not really in the search PATH,
10165           # but as the default location of the library.
10166           hardcode_minus_L=yes
10167           ;;
10168         esac
10169       fi
10170       ;;
10171
10172     irix5* | irix6* | nonstopux*)
10173       if test "$GCC" = yes; then
10174         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10175         # Try to use the -exported_symbol ld option, if it does not
10176         # work, assume that -exports_file does not work either and
10177         # implicitly export all symbols.
10178         # This should be the same for all languages, so no per-tag cache variable.
10179         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10180 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10181 if ${lt_cv_irix_exported_symbol+:} false; then :
10182   $as_echo_n "(cached) " >&6
10183 else
10184   save_LDFLAGS="$LDFLAGS"
10185            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10186            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10187 /* end confdefs.h.  */
10188 int foo (void) { return 0; }
10189 _ACEOF
10190 if ac_fn_c_try_link "$LINENO"; then :
10191   lt_cv_irix_exported_symbol=yes
10192 else
10193   lt_cv_irix_exported_symbol=no
10194 fi
10195 rm -f core conftest.err conftest.$ac_objext \
10196     conftest$ac_exeext conftest.$ac_ext
10197            LDFLAGS="$save_LDFLAGS"
10198 fi
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10200 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10201         if test "$lt_cv_irix_exported_symbol" = yes; then
10202           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10203         fi
10204       else
10205         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10206         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10207       fi
10208       archive_cmds_need_lc='no'
10209       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10210       hardcode_libdir_separator=:
10211       inherit_rpath=yes
10212       link_all_deplibs=yes
10213       ;;
10214
10215     netbsd* | netbsdelf*-gnu)
10216       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10217         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10218       else
10219         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10220       fi
10221       hardcode_libdir_flag_spec='-R$libdir'
10222       hardcode_direct=yes
10223       hardcode_shlibpath_var=no
10224       ;;
10225
10226     newsos6)
10227       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10228       hardcode_direct=yes
10229       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10230       hardcode_libdir_separator=:
10231       hardcode_shlibpath_var=no
10232       ;;
10233
10234     *nto* | *qnx*)
10235       ;;
10236
10237     openbsd*)
10238       if test -f /usr/libexec/ld.so; then
10239         hardcode_direct=yes
10240         hardcode_shlibpath_var=no
10241         hardcode_direct_absolute=yes
10242         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10243           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10244           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10245           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10246           export_dynamic_flag_spec='${wl}-E'
10247         else
10248           case $host_os in
10249            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10250              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10251              hardcode_libdir_flag_spec='-R$libdir'
10252              ;;
10253            *)
10254              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10255              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10256              ;;
10257           esac
10258         fi
10259       else
10260         ld_shlibs=no
10261       fi
10262       ;;
10263
10264     os2*)
10265       hardcode_libdir_flag_spec='-L$libdir'
10266       hardcode_minus_L=yes
10267       allow_undefined_flag=unsupported
10268       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10269       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10270       ;;
10271
10272     osf3*)
10273       if test "$GCC" = yes; then
10274         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10275         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10276       else
10277         allow_undefined_flag=' -expect_unresolved \*'
10278         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10279       fi
10280       archive_cmds_need_lc='no'
10281       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10282       hardcode_libdir_separator=:
10283       ;;
10284
10285     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10286       if test "$GCC" = yes; then
10287         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10288         archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10289         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10290       else
10291         allow_undefined_flag=' -expect_unresolved \*'
10292         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10293         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10294         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10295
10296         # Both c and cxx compiler support -rpath directly
10297         hardcode_libdir_flag_spec='-rpath $libdir'
10298       fi
10299       archive_cmds_need_lc='no'
10300       hardcode_libdir_separator=:
10301       ;;
10302
10303     solaris*)
10304       no_undefined_flag=' -z defs'
10305       if test "$GCC" = yes; then
10306         wlarc='${wl}'
10307         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10308         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10309           $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10310       else
10311         case `$CC -V 2>&1` in
10312         *"Compilers 5.0"*)
10313           wlarc=''
10314           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10315           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10316           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10317           ;;
10318         *)
10319           wlarc='${wl}'
10320           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10321           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10322           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10323           ;;
10324         esac
10325       fi
10326       hardcode_libdir_flag_spec='-R$libdir'
10327       hardcode_shlibpath_var=no
10328       case $host_os in
10329       solaris2.[0-5] | solaris2.[0-5].*) ;;
10330       *)
10331         # The compiler driver will combine and reorder linker options,
10332         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10333         # but is careful enough not to reorder.
10334         # Supported since Solaris 2.6 (maybe 2.5.1?)
10335         if test "$GCC" = yes; then
10336           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10337         else
10338           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10339         fi
10340         ;;
10341       esac
10342       link_all_deplibs=yes
10343       ;;
10344
10345     sunos4*)
10346       if test "x$host_vendor" = xsequent; then
10347         # Use $CC to link under sequent, because it throws in some extra .o
10348         # files that make .init and .fini sections work.
10349         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10350       else
10351         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10352       fi
10353       hardcode_libdir_flag_spec='-L$libdir'
10354       hardcode_direct=yes
10355       hardcode_minus_L=yes
10356       hardcode_shlibpath_var=no
10357       ;;
10358
10359     sysv4)
10360       case $host_vendor in
10361         sni)
10362           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10363           hardcode_direct=yes # is this really true???
10364         ;;
10365         siemens)
10366           ## LD is ld it makes a PLAMLIB
10367           ## CC just makes a GrossModule.
10368           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10369           reload_cmds='$CC -r -o $output$reload_objs'
10370           hardcode_direct=no
10371         ;;
10372         motorola)
10373           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10374           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10375         ;;
10376       esac
10377       runpath_var='LD_RUN_PATH'
10378       hardcode_shlibpath_var=no
10379       ;;
10380
10381     sysv4.3*)
10382       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10383       hardcode_shlibpath_var=no
10384       export_dynamic_flag_spec='-Bexport'
10385       ;;
10386
10387     sysv4*MP*)
10388       if test -d /usr/nec; then
10389         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10390         hardcode_shlibpath_var=no
10391         runpath_var=LD_RUN_PATH
10392         hardcode_runpath_var=yes
10393         ld_shlibs=yes
10394       fi
10395       ;;
10396
10397     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10398       no_undefined_flag='${wl}-z,text'
10399       archive_cmds_need_lc=no
10400       hardcode_shlibpath_var=no
10401       runpath_var='LD_RUN_PATH'
10402
10403       if test "$GCC" = yes; then
10404         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10405         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10406       else
10407         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10408         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10409       fi
10410       ;;
10411
10412     sysv5* | sco3.2v5* | sco5v6*)
10413       # Note: We can NOT use -z defs as we might desire, because we do not
10414       # link with -lc, and that would cause any symbols used from libc to
10415       # always be unresolved, which means just about no library would
10416       # ever link correctly.  If we're not using GNU ld we use -z text
10417       # though, which does catch some bad symbols but isn't as heavy-handed
10418       # as -z defs.
10419       no_undefined_flag='${wl}-z,text'
10420       allow_undefined_flag='${wl}-z,nodefs'
10421       archive_cmds_need_lc=no
10422       hardcode_shlibpath_var=no
10423       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10424       hardcode_libdir_separator=':'
10425       link_all_deplibs=yes
10426       export_dynamic_flag_spec='${wl}-Bexport'
10427       runpath_var='LD_RUN_PATH'
10428
10429       if test "$GCC" = yes; then
10430         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10431         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10432       else
10433         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10434         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10435       fi
10436       ;;
10437
10438     uts4*)
10439       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10440       hardcode_libdir_flag_spec='-L$libdir'
10441       hardcode_shlibpath_var=no
10442       ;;
10443
10444     *)
10445       ld_shlibs=no
10446       ;;
10447     esac
10448
10449     if test x$host_vendor = xsni; then
10450       case $host in
10451       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10452         export_dynamic_flag_spec='${wl}-Blargedynsym'
10453         ;;
10454       esac
10455     fi
10456   fi
10457
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10459 $as_echo "$ld_shlibs" >&6; }
10460 test "$ld_shlibs" = no && can_build_shared=no
10461
10462 with_gnu_ld=$with_gnu_ld
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478 #
10479 # Do we need to explicitly link libc?
10480 #
10481 case "x$archive_cmds_need_lc" in
10482 x|xyes)
10483   # Assume -lc should be added
10484   archive_cmds_need_lc=yes
10485
10486   if test "$enable_shared" = yes && test "$GCC" = yes; then
10487     case $archive_cmds in
10488     *'~'*)
10489       # FIXME: we may have to deal with multi-command sequences.
10490       ;;
10491     '$CC '*)
10492       # Test whether the compiler implicitly links with -lc since on some
10493       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10494       # to ld, don't add -lc before -lgcc.
10495       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10496 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10497 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10498   $as_echo_n "(cached) " >&6
10499 else
10500   $RM conftest*
10501         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10502
10503         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10504   (eval $ac_compile) 2>&5
10505   ac_status=$?
10506   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10507   test $ac_status = 0; } 2>conftest.err; then
10508           soname=conftest
10509           lib=conftest
10510           libobjs=conftest.$ac_objext
10511           deplibs=
10512           wl=$lt_prog_compiler_wl
10513           pic_flag=$lt_prog_compiler_pic
10514           compiler_flags=-v
10515           linker_flags=-v
10516           verstring=
10517           output_objdir=.
10518           libname=conftest
10519           lt_save_allow_undefined_flag=$allow_undefined_flag
10520           allow_undefined_flag=
10521           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10522   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10523   ac_status=$?
10524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10525   test $ac_status = 0; }
10526           then
10527             lt_cv_archive_cmds_need_lc=no
10528           else
10529             lt_cv_archive_cmds_need_lc=yes
10530           fi
10531           allow_undefined_flag=$lt_save_allow_undefined_flag
10532         else
10533           cat conftest.err 1>&5
10534         fi
10535         $RM conftest*
10536
10537 fi
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10539 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10540       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10541       ;;
10542     esac
10543   fi
10544   ;;
10545 esac
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10699 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10700
10701 if test "$GCC" = yes; then
10702   case $host_os in
10703     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10704     *) lt_awk_arg="/^libraries:/" ;;
10705   esac
10706   case $host_os in
10707     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10708     *) lt_sed_strip_eq="s,=/,/,g" ;;
10709   esac
10710   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10711   case $lt_search_path_spec in
10712   *\;*)
10713     # if the path contains ";" then we assume it to be the separator
10714     # otherwise default to the standard path separator (i.e. ":") - it is
10715     # assumed that no part of a normal pathname contains ";" but that should
10716     # okay in the real world where ";" in dirpaths is itself problematic.
10717     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10718     ;;
10719   *)
10720     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10721     ;;
10722   esac
10723   # Ok, now we have the path, separated by spaces, we can step through it
10724   # and add multilib dir if necessary.
10725   lt_tmp_lt_search_path_spec=
10726   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10727   for lt_sys_path in $lt_search_path_spec; do
10728     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10729       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10730     else
10731       test -d "$lt_sys_path" && \
10732         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10733     fi
10734   done
10735   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10736 BEGIN {RS=" "; FS="/|\n";} {
10737   lt_foo="";
10738   lt_count=0;
10739   for (lt_i = NF; lt_i > 0; lt_i--) {
10740     if ($lt_i != "" && $lt_i != ".") {
10741       if ($lt_i == "..") {
10742         lt_count++;
10743       } else {
10744         if (lt_count == 0) {
10745           lt_foo="/" $lt_i lt_foo;
10746         } else {
10747           lt_count--;
10748         }
10749       }
10750     }
10751   }
10752   if (lt_foo != "") { lt_freq[lt_foo]++; }
10753   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10754 }'`
10755   # AWK program above erroneously prepends '/' to C:/dos/paths
10756   # for these hosts.
10757   case $host_os in
10758     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10759       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10760   esac
10761   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10762 else
10763   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10764 fi
10765 library_names_spec=
10766 libname_spec='lib$name'
10767 soname_spec=
10768 shrext_cmds=".so"
10769 postinstall_cmds=
10770 postuninstall_cmds=
10771 finish_cmds=
10772 finish_eval=
10773 shlibpath_var=
10774 shlibpath_overrides_runpath=unknown
10775 version_type=none
10776 dynamic_linker="$host_os ld.so"
10777 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10778 need_lib_prefix=unknown
10779 hardcode_into_libs=no
10780
10781 # when you set need_version to no, make sure it does not cause -set_version
10782 # flags to be left without arguments
10783 need_version=unknown
10784
10785 case $host_os in
10786 aix3*)
10787   version_type=linux # correct to gnu/linux during the next big refactor
10788   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10789   shlibpath_var=LIBPATH
10790
10791   # AIX 3 has no versioning support, so we append a major version to the name.
10792   soname_spec='${libname}${release}${shared_ext}$major'
10793   ;;
10794
10795 aix[4-9]*)
10796   version_type=linux # correct to gnu/linux during the next big refactor
10797   need_lib_prefix=no
10798   need_version=no
10799   hardcode_into_libs=yes
10800   if test "$host_cpu" = ia64; then
10801     # AIX 5 supports IA64
10802     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10803     shlibpath_var=LD_LIBRARY_PATH
10804   else
10805     # With GCC up to 2.95.x, collect2 would create an import file
10806     # for dependence libraries.  The import file would start with
10807     # the line `#! .'.  This would cause the generated library to
10808     # depend on `.', always an invalid library.  This was fixed in
10809     # development snapshots of GCC prior to 3.0.
10810     case $host_os in
10811       aix4 | aix4.[01] | aix4.[01].*)
10812       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10813            echo ' yes '
10814            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10815         :
10816       else
10817         can_build_shared=no
10818       fi
10819       ;;
10820     esac
10821     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10822     # soname into executable. Probably we can add versioning support to
10823     # collect2, so additional links can be useful in future.
10824     if test "$aix_use_runtimelinking" = yes; then
10825       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10826       # instead of lib<name>.a to let people know that these are not
10827       # typical AIX shared libraries.
10828       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10829     else
10830       # We preserve .a as extension for shared libraries through AIX4.2
10831       # and later when we are not doing run time linking.
10832       library_names_spec='${libname}${release}.a $libname.a'
10833       soname_spec='${libname}${release}${shared_ext}$major'
10834     fi
10835     shlibpath_var=LIBPATH
10836   fi
10837   ;;
10838
10839 amigaos*)
10840   case $host_cpu in
10841   powerpc)
10842     # Since July 2007 AmigaOS4 officially supports .so libraries.
10843     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10844     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10845     ;;
10846   m68k)
10847     library_names_spec='$libname.ixlibrary $libname.a'
10848     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10849     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10850     ;;
10851   esac
10852   ;;
10853
10854 beos*)
10855   library_names_spec='${libname}${shared_ext}'
10856   dynamic_linker="$host_os ld.so"
10857   shlibpath_var=LIBRARY_PATH
10858   ;;
10859
10860 bsdi[45]*)
10861   version_type=linux # correct to gnu/linux during the next big refactor
10862   need_version=no
10863   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10864   soname_spec='${libname}${release}${shared_ext}$major'
10865   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10866   shlibpath_var=LD_LIBRARY_PATH
10867   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10868   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10869   # the default ld.so.conf also contains /usr/contrib/lib and
10870   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10871   # libtool to hard-code these into programs
10872   ;;
10873
10874 cygwin* | mingw* | pw32* | cegcc*)
10875   version_type=windows
10876   shrext_cmds=".dll"
10877   need_version=no
10878   need_lib_prefix=no
10879
10880   case $GCC,$cc_basename in
10881   yes,*)
10882     # gcc
10883     library_names_spec='$libname.dll.a'
10884     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10885     postinstall_cmds='base_file=`basename \${file}`~
10886       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10887       dldir=$destdir/`dirname \$dlpath`~
10888       test -d \$dldir || mkdir -p \$dldir~
10889       $install_prog $dir/$dlname \$dldir/$dlname~
10890       chmod a+x \$dldir/$dlname~
10891       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10892         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10893       fi'
10894     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10895       dlpath=$dir/\$dldll~
10896        $RM \$dlpath'
10897     shlibpath_overrides_runpath=yes
10898
10899     case $host_os in
10900     cygwin*)
10901       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10902       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10903
10904       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10905       ;;
10906     mingw* | cegcc*)
10907       # MinGW DLLs use traditional 'lib' prefix
10908       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10909       ;;
10910     pw32*)
10911       # pw32 DLLs use 'pw' prefix rather than 'lib'
10912       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10913       ;;
10914     esac
10915     dynamic_linker='Win32 ld.exe'
10916     ;;
10917
10918   *,cl*)
10919     # Native MSVC
10920     libname_spec='$name'
10921     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10922     library_names_spec='${libname}.dll.lib'
10923
10924     case $build_os in
10925     mingw*)
10926       sys_lib_search_path_spec=
10927       lt_save_ifs=$IFS
10928       IFS=';'
10929       for lt_path in $LIB
10930       do
10931         IFS=$lt_save_ifs
10932         # Let DOS variable expansion print the short 8.3 style file name.
10933         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10934         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10935       done
10936       IFS=$lt_save_ifs
10937       # Convert to MSYS style.
10938       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10939       ;;
10940     cygwin*)
10941       # Convert to unix form, then to dos form, then back to unix form
10942       # but this time dos style (no spaces!) so that the unix form looks
10943       # like /cygdrive/c/PROGRA~1:/cygdr...
10944       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10945       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10946       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10947       ;;
10948     *)
10949       sys_lib_search_path_spec="$LIB"
10950       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10951         # It is most probably a Windows format PATH.
10952         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10953       else
10954         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10955       fi
10956       # FIXME: find the short name or the path components, as spaces are
10957       # common. (e.g. "Program Files" -> "PROGRA~1")
10958       ;;
10959     esac
10960
10961     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10962     postinstall_cmds='base_file=`basename \${file}`~
10963       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10964       dldir=$destdir/`dirname \$dlpath`~
10965       test -d \$dldir || mkdir -p \$dldir~
10966       $install_prog $dir/$dlname \$dldir/$dlname'
10967     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10968       dlpath=$dir/\$dldll~
10969        $RM \$dlpath'
10970     shlibpath_overrides_runpath=yes
10971     dynamic_linker='Win32 link.exe'
10972     ;;
10973
10974   *)
10975     # Assume MSVC wrapper
10976     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10977     dynamic_linker='Win32 ld.exe'
10978     ;;
10979   esac
10980   # FIXME: first we should search . and the directory the executable is in
10981   shlibpath_var=PATH
10982   ;;
10983
10984 darwin* | rhapsody*)
10985   dynamic_linker="$host_os dyld"
10986   version_type=darwin
10987   need_lib_prefix=no
10988   need_version=no
10989   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10990   soname_spec='${libname}${release}${major}$shared_ext'
10991   shlibpath_overrides_runpath=yes
10992   shlibpath_var=DYLD_LIBRARY_PATH
10993   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10994
10995   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10996   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10997   ;;
10998
10999 dgux*)
11000   version_type=linux # correct to gnu/linux during the next big refactor
11001   need_lib_prefix=no
11002   need_version=no
11003   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11004   soname_spec='${libname}${release}${shared_ext}$major'
11005   shlibpath_var=LD_LIBRARY_PATH
11006   ;;
11007
11008 freebsd* | dragonfly*)
11009   # DragonFly does not have aout.  When/if they implement a new
11010   # versioning mechanism, adjust this.
11011   if test -x /usr/bin/objformat; then
11012     objformat=`/usr/bin/objformat`
11013   else
11014     case $host_os in
11015     freebsd[23].*) objformat=aout ;;
11016     *) objformat=elf ;;
11017     esac
11018   fi
11019   version_type=freebsd-$objformat
11020   case $version_type in
11021     freebsd-elf*)
11022       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11023       need_version=no
11024       need_lib_prefix=no
11025       ;;
11026     freebsd-*)
11027       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11028       need_version=yes
11029       ;;
11030   esac
11031   shlibpath_var=LD_LIBRARY_PATH
11032   case $host_os in
11033   freebsd2.*)
11034     shlibpath_overrides_runpath=yes
11035     ;;
11036   freebsd3.[01]* | freebsdelf3.[01]*)
11037     shlibpath_overrides_runpath=yes
11038     hardcode_into_libs=yes
11039     ;;
11040   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11041   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11042     shlibpath_overrides_runpath=no
11043     hardcode_into_libs=yes
11044     ;;
11045   *) # from 4.6 on, and DragonFly
11046     shlibpath_overrides_runpath=yes
11047     hardcode_into_libs=yes
11048     ;;
11049   esac
11050   ;;
11051
11052 gnu*)
11053   version_type=linux # correct to gnu/linux during the next big refactor
11054   need_lib_prefix=no
11055   need_version=no
11056   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11057   soname_spec='${libname}${release}${shared_ext}$major'
11058   shlibpath_var=LD_LIBRARY_PATH
11059   shlibpath_overrides_runpath=no
11060   hardcode_into_libs=yes
11061   ;;
11062
11063 haiku*)
11064   version_type=linux # correct to gnu/linux during the next big refactor
11065   need_lib_prefix=no
11066   need_version=no
11067   dynamic_linker="$host_os runtime_loader"
11068   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11069   soname_spec='${libname}${release}${shared_ext}$major'
11070   shlibpath_var=LIBRARY_PATH
11071   shlibpath_overrides_runpath=yes
11072   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11073   hardcode_into_libs=yes
11074   ;;
11075
11076 hpux9* | hpux10* | hpux11*)
11077   # Give a soname corresponding to the major version so that dld.sl refuses to
11078   # link against other versions.
11079   version_type=sunos
11080   need_lib_prefix=no
11081   need_version=no
11082   case $host_cpu in
11083   ia64*)
11084     shrext_cmds='.so'
11085     hardcode_into_libs=yes
11086     dynamic_linker="$host_os dld.so"
11087     shlibpath_var=LD_LIBRARY_PATH
11088     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11089     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11090     soname_spec='${libname}${release}${shared_ext}$major'
11091     if test "X$HPUX_IA64_MODE" = X32; then
11092       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11093     else
11094       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11095     fi
11096     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11097     ;;
11098   hppa*64*)
11099     shrext_cmds='.sl'
11100     hardcode_into_libs=yes
11101     dynamic_linker="$host_os dld.sl"
11102     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11103     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11104     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11105     soname_spec='${libname}${release}${shared_ext}$major'
11106     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11107     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11108     ;;
11109   *)
11110     shrext_cmds='.sl'
11111     dynamic_linker="$host_os dld.sl"
11112     shlibpath_var=SHLIB_PATH
11113     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11114     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11115     soname_spec='${libname}${release}${shared_ext}$major'
11116     ;;
11117   esac
11118   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11119   postinstall_cmds='chmod 555 $lib'
11120   # or fails outright, so override atomically:
11121   install_override_mode=555
11122   ;;
11123
11124 interix[3-9]*)
11125   version_type=linux # correct to gnu/linux during the next big refactor
11126   need_lib_prefix=no
11127   need_version=no
11128   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11129   soname_spec='${libname}${release}${shared_ext}$major'
11130   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11131   shlibpath_var=LD_LIBRARY_PATH
11132   shlibpath_overrides_runpath=no
11133   hardcode_into_libs=yes
11134   ;;
11135
11136 irix5* | irix6* | nonstopux*)
11137   case $host_os in
11138     nonstopux*) version_type=nonstopux ;;
11139     *)
11140         if test "$lt_cv_prog_gnu_ld" = yes; then
11141                 version_type=linux # correct to gnu/linux during the next big refactor
11142         else
11143                 version_type=irix
11144         fi ;;
11145   esac
11146   need_lib_prefix=no
11147   need_version=no
11148   soname_spec='${libname}${release}${shared_ext}$major'
11149   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11150   case $host_os in
11151   irix5* | nonstopux*)
11152     libsuff= shlibsuff=
11153     ;;
11154   *)
11155     case $LD in # libtool.m4 will add one of these switches to LD
11156     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11157       libsuff= shlibsuff= libmagic=32-bit;;
11158     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11159       libsuff=32 shlibsuff=N32 libmagic=N32;;
11160     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11161       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11162     *) libsuff= shlibsuff= libmagic=never-match;;
11163     esac
11164     ;;
11165   esac
11166   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11167   shlibpath_overrides_runpath=no
11168   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11169   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11170   hardcode_into_libs=yes
11171   ;;
11172
11173 # No shared lib support for Linux oldld, aout, or coff.
11174 linux*oldld* | linux*aout* | linux*coff*)
11175   dynamic_linker=no
11176   ;;
11177
11178 # This must be glibc/ELF.
11179 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11180   version_type=linux # correct to gnu/linux during the next big refactor
11181   need_lib_prefix=no
11182   need_version=no
11183   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11184   soname_spec='${libname}${release}${shared_ext}$major'
11185   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11186   shlibpath_var=LD_LIBRARY_PATH
11187   shlibpath_overrides_runpath=no
11188
11189   # Some binutils ld are patched to set DT_RUNPATH
11190   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11191   $as_echo_n "(cached) " >&6
11192 else
11193   lt_cv_shlibpath_overrides_runpath=no
11194     save_LDFLAGS=$LDFLAGS
11195     save_libdir=$libdir
11196     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11197          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11198     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h.  */
11200
11201 int
11202 main ()
11203 {
11204
11205   ;
11206   return 0;
11207 }
11208 _ACEOF
11209 if ac_fn_c_try_link "$LINENO"; then :
11210   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11211   lt_cv_shlibpath_overrides_runpath=yes
11212 fi
11213 fi
11214 rm -f core conftest.err conftest.$ac_objext \
11215     conftest$ac_exeext conftest.$ac_ext
11216     LDFLAGS=$save_LDFLAGS
11217     libdir=$save_libdir
11218
11219 fi
11220
11221   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11222
11223   # This implies no fast_install, which is unacceptable.
11224   # Some rework will be needed to allow for fast_install
11225   # before this can be enabled.
11226   hardcode_into_libs=yes
11227
11228   # Append ld.so.conf contents to the search path
11229   if test -f /etc/ld.so.conf; then
11230     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11231     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11232   fi
11233
11234   # We used to test for /lib/ld.so.1 and disable shared libraries on
11235   # powerpc, because MkLinux only supported shared libraries with the
11236   # GNU dynamic linker.  Since this was broken with cross compilers,
11237   # most powerpc-linux boxes support dynamic linking these days and
11238   # people can always --disable-shared, the test was removed, and we
11239   # assume the GNU/Linux dynamic linker is in use.
11240   dynamic_linker='GNU/Linux ld.so'
11241   ;;
11242
11243 netbsdelf*-gnu)
11244   version_type=linux
11245   need_lib_prefix=no
11246   need_version=no
11247   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11248   soname_spec='${libname}${release}${shared_ext}$major'
11249   shlibpath_var=LD_LIBRARY_PATH
11250   shlibpath_overrides_runpath=no
11251   hardcode_into_libs=yes
11252   dynamic_linker='NetBSD ld.elf_so'
11253   ;;
11254
11255 netbsd*)
11256   version_type=sunos
11257   need_lib_prefix=no
11258   need_version=no
11259   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11260     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11261     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11262     dynamic_linker='NetBSD (a.out) ld.so'
11263   else
11264     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11265     soname_spec='${libname}${release}${shared_ext}$major'
11266     dynamic_linker='NetBSD ld.elf_so'
11267   fi
11268   shlibpath_var=LD_LIBRARY_PATH
11269   shlibpath_overrides_runpath=yes
11270   hardcode_into_libs=yes
11271   ;;
11272
11273 newsos6)
11274   version_type=linux # correct to gnu/linux during the next big refactor
11275   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11276   shlibpath_var=LD_LIBRARY_PATH
11277   shlibpath_overrides_runpath=yes
11278   ;;
11279
11280 *nto* | *qnx*)
11281   version_type=qnx
11282   need_lib_prefix=no
11283   need_version=no
11284   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11285   soname_spec='${libname}${release}${shared_ext}$major'
11286   shlibpath_var=LD_LIBRARY_PATH
11287   shlibpath_overrides_runpath=no
11288   hardcode_into_libs=yes
11289   dynamic_linker='ldqnx.so'
11290   ;;
11291
11292 openbsd*)
11293   version_type=sunos
11294   sys_lib_dlsearch_path_spec="/usr/lib"
11295   need_lib_prefix=no
11296   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11297   case $host_os in
11298     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11299     *)                          need_version=no  ;;
11300   esac
11301   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11302   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11303   shlibpath_var=LD_LIBRARY_PATH
11304   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11305     case $host_os in
11306       openbsd2.[89] | openbsd2.[89].*)
11307         shlibpath_overrides_runpath=no
11308         ;;
11309       *)
11310         shlibpath_overrides_runpath=yes
11311         ;;
11312       esac
11313   else
11314     shlibpath_overrides_runpath=yes
11315   fi
11316   ;;
11317
11318 os2*)
11319   libname_spec='$name'
11320   shrext_cmds=".dll"
11321   need_lib_prefix=no
11322   library_names_spec='$libname${shared_ext} $libname.a'
11323   dynamic_linker='OS/2 ld.exe'
11324   shlibpath_var=LIBPATH
11325   ;;
11326
11327 osf3* | osf4* | osf5*)
11328   version_type=osf
11329   need_lib_prefix=no
11330   need_version=no
11331   soname_spec='${libname}${release}${shared_ext}$major'
11332   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11333   shlibpath_var=LD_LIBRARY_PATH
11334   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11335   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11336   ;;
11337
11338 rdos*)
11339   dynamic_linker=no
11340   ;;
11341
11342 solaris*)
11343   version_type=linux # correct to gnu/linux during the next big refactor
11344   need_lib_prefix=no
11345   need_version=no
11346   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11347   soname_spec='${libname}${release}${shared_ext}$major'
11348   shlibpath_var=LD_LIBRARY_PATH
11349   shlibpath_overrides_runpath=yes
11350   hardcode_into_libs=yes
11351   # ldd complains unless libraries are executable
11352   postinstall_cmds='chmod +x $lib'
11353   ;;
11354
11355 sunos4*)
11356   version_type=sunos
11357   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11358   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11359   shlibpath_var=LD_LIBRARY_PATH
11360   shlibpath_overrides_runpath=yes
11361   if test "$with_gnu_ld" = yes; then
11362     need_lib_prefix=no
11363   fi
11364   need_version=yes
11365   ;;
11366
11367 sysv4 | sysv4.3*)
11368   version_type=linux # correct to gnu/linux during the next big refactor
11369   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11370   soname_spec='${libname}${release}${shared_ext}$major'
11371   shlibpath_var=LD_LIBRARY_PATH
11372   case $host_vendor in
11373     sni)
11374       shlibpath_overrides_runpath=no
11375       need_lib_prefix=no
11376       runpath_var=LD_RUN_PATH
11377       ;;
11378     siemens)
11379       need_lib_prefix=no
11380       ;;
11381     motorola)
11382       need_lib_prefix=no
11383       need_version=no
11384       shlibpath_overrides_runpath=no
11385       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11386       ;;
11387   esac
11388   ;;
11389
11390 sysv4*MP*)
11391   if test -d /usr/nec ;then
11392     version_type=linux # correct to gnu/linux during the next big refactor
11393     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11394     soname_spec='$libname${shared_ext}.$major'
11395     shlibpath_var=LD_LIBRARY_PATH
11396   fi
11397   ;;
11398
11399 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11400   version_type=freebsd-elf
11401   need_lib_prefix=no
11402   need_version=no
11403   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11404   soname_spec='${libname}${release}${shared_ext}$major'
11405   shlibpath_var=LD_LIBRARY_PATH
11406   shlibpath_overrides_runpath=yes
11407   hardcode_into_libs=yes
11408   if test "$with_gnu_ld" = yes; then
11409     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11410   else
11411     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11412     case $host_os in
11413       sco3.2v5*)
11414         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11415         ;;
11416     esac
11417   fi
11418   sys_lib_dlsearch_path_spec='/usr/lib'
11419   ;;
11420
11421 tpf*)
11422   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11423   version_type=linux # correct to gnu/linux during the next big refactor
11424   need_lib_prefix=no
11425   need_version=no
11426   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11427   shlibpath_var=LD_LIBRARY_PATH
11428   shlibpath_overrides_runpath=no
11429   hardcode_into_libs=yes
11430   ;;
11431
11432 uts4*)
11433   version_type=linux # correct to gnu/linux during the next big refactor
11434   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11435   soname_spec='${libname}${release}${shared_ext}$major'
11436   shlibpath_var=LD_LIBRARY_PATH
11437   ;;
11438
11439 *)
11440   dynamic_linker=no
11441   ;;
11442 esac
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11444 $as_echo "$dynamic_linker" >&6; }
11445 test "$dynamic_linker" = no && can_build_shared=no
11446
11447 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11448 if test "$GCC" = yes; then
11449   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11450 fi
11451
11452 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11453   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11454 fi
11455 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11456   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11457 fi
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11551 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11552 hardcode_action=
11553 if test -n "$hardcode_libdir_flag_spec" ||
11554    test -n "$runpath_var" ||
11555    test "X$hardcode_automatic" = "Xyes" ; then
11556
11557   # We can hardcode non-existent directories.
11558   if test "$hardcode_direct" != no &&
11559      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11560      # have to relink, otherwise we might link with an installed library
11561      # when we should be linking with a yet-to-be-installed one
11562      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11563      test "$hardcode_minus_L" != no; then
11564     # Linking always hardcodes the temporary library directory.
11565     hardcode_action=relink
11566   else
11567     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11568     hardcode_action=immediate
11569   fi
11570 else
11571   # We cannot hardcode anything, or else we can only hardcode existing
11572   # directories.
11573   hardcode_action=unsupported
11574 fi
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11576 $as_echo "$hardcode_action" >&6; }
11577
11578 if test "$hardcode_action" = relink ||
11579    test "$inherit_rpath" = yes; then
11580   # Fast installation is not supported
11581   enable_fast_install=no
11582 elif test "$shlibpath_overrides_runpath" = yes ||
11583      test "$enable_shared" = no; then
11584   # Fast installation is not necessary
11585   enable_fast_install=needless
11586 fi
11587
11588
11589
11590
11591
11592
11593   if test "x$enable_dlopen" != xyes; then
11594   enable_dlopen=unknown
11595   enable_dlopen_self=unknown
11596   enable_dlopen_self_static=unknown
11597 else
11598   lt_cv_dlopen=no
11599   lt_cv_dlopen_libs=
11600
11601   case $host_os in
11602   beos*)
11603     lt_cv_dlopen="load_add_on"
11604     lt_cv_dlopen_libs=
11605     lt_cv_dlopen_self=yes
11606     ;;
11607
11608   mingw* | pw32* | cegcc*)
11609     lt_cv_dlopen="LoadLibrary"
11610     lt_cv_dlopen_libs=
11611     ;;
11612
11613   cygwin*)
11614     lt_cv_dlopen="dlopen"
11615     lt_cv_dlopen_libs=
11616     ;;
11617
11618   darwin*)
11619   # if libdl is installed we need to link against it
11620     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11621 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11622 if ${ac_cv_lib_dl_dlopen+:} false; then :
11623   $as_echo_n "(cached) " >&6
11624 else
11625   ac_check_lib_save_LIBS=$LIBS
11626 LIBS="-ldl  $LIBS"
11627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11628 /* end confdefs.h.  */
11629
11630 /* Override any GCC internal prototype to avoid an error.
11631    Use char because int might match the return type of a GCC
11632    builtin and then its argument prototype would still apply.  */
11633 #ifdef __cplusplus
11634 extern "C"
11635 #endif
11636 char dlopen ();
11637 int
11638 main ()
11639 {
11640 return dlopen ();
11641   ;
11642   return 0;
11643 }
11644 _ACEOF
11645 if ac_fn_c_try_link "$LINENO"; then :
11646   ac_cv_lib_dl_dlopen=yes
11647 else
11648   ac_cv_lib_dl_dlopen=no
11649 fi
11650 rm -f core conftest.err conftest.$ac_objext \
11651     conftest$ac_exeext conftest.$ac_ext
11652 LIBS=$ac_check_lib_save_LIBS
11653 fi
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11655 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11656 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11657   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11658 else
11659
11660     lt_cv_dlopen="dyld"
11661     lt_cv_dlopen_libs=
11662     lt_cv_dlopen_self=yes
11663
11664 fi
11665
11666     ;;
11667
11668   *)
11669     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11670 if test "x$ac_cv_func_shl_load" = xyes; then :
11671   lt_cv_dlopen="shl_load"
11672 else
11673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11674 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11675 if ${ac_cv_lib_dld_shl_load+:} false; then :
11676   $as_echo_n "(cached) " >&6
11677 else
11678   ac_check_lib_save_LIBS=$LIBS
11679 LIBS="-ldld  $LIBS"
11680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11681 /* end confdefs.h.  */
11682
11683 /* Override any GCC internal prototype to avoid an error.
11684    Use char because int might match the return type of a GCC
11685    builtin and then its argument prototype would still apply.  */
11686 #ifdef __cplusplus
11687 extern "C"
11688 #endif
11689 char shl_load ();
11690 int
11691 main ()
11692 {
11693 return shl_load ();
11694   ;
11695   return 0;
11696 }
11697 _ACEOF
11698 if ac_fn_c_try_link "$LINENO"; then :
11699   ac_cv_lib_dld_shl_load=yes
11700 else
11701   ac_cv_lib_dld_shl_load=no
11702 fi
11703 rm -f core conftest.err conftest.$ac_objext \
11704     conftest$ac_exeext conftest.$ac_ext
11705 LIBS=$ac_check_lib_save_LIBS
11706 fi
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11708 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11709 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11710   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11711 else
11712   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11713 if test "x$ac_cv_func_dlopen" = xyes; then :
11714   lt_cv_dlopen="dlopen"
11715 else
11716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11717 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11718 if ${ac_cv_lib_dl_dlopen+:} false; then :
11719   $as_echo_n "(cached) " >&6
11720 else
11721   ac_check_lib_save_LIBS=$LIBS
11722 LIBS="-ldl  $LIBS"
11723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11724 /* end confdefs.h.  */
11725
11726 /* Override any GCC internal prototype to avoid an error.
11727    Use char because int might match the return type of a GCC
11728    builtin and then its argument prototype would still apply.  */
11729 #ifdef __cplusplus
11730 extern "C"
11731 #endif
11732 char dlopen ();
11733 int
11734 main ()
11735 {
11736 return dlopen ();
11737   ;
11738   return 0;
11739 }
11740 _ACEOF
11741 if ac_fn_c_try_link "$LINENO"; then :
11742   ac_cv_lib_dl_dlopen=yes
11743 else
11744   ac_cv_lib_dl_dlopen=no
11745 fi
11746 rm -f core conftest.err conftest.$ac_objext \
11747     conftest$ac_exeext conftest.$ac_ext
11748 LIBS=$ac_check_lib_save_LIBS
11749 fi
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11751 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11752 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11753   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11754 else
11755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11756 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11757 if ${ac_cv_lib_svld_dlopen+:} false; then :
11758   $as_echo_n "(cached) " >&6
11759 else
11760   ac_check_lib_save_LIBS=$LIBS
11761 LIBS="-lsvld  $LIBS"
11762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11763 /* end confdefs.h.  */
11764
11765 /* Override any GCC internal prototype to avoid an error.
11766    Use char because int might match the return type of a GCC
11767    builtin and then its argument prototype would still apply.  */
11768 #ifdef __cplusplus
11769 extern "C"
11770 #endif
11771 char dlopen ();
11772 int
11773 main ()
11774 {
11775 return dlopen ();
11776   ;
11777   return 0;
11778 }
11779 _ACEOF
11780 if ac_fn_c_try_link "$LINENO"; then :
11781   ac_cv_lib_svld_dlopen=yes
11782 else
11783   ac_cv_lib_svld_dlopen=no
11784 fi
11785 rm -f core conftest.err conftest.$ac_objext \
11786     conftest$ac_exeext conftest.$ac_ext
11787 LIBS=$ac_check_lib_save_LIBS
11788 fi
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11790 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11791 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11792   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11793 else
11794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11795 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11796 if ${ac_cv_lib_dld_dld_link+:} false; then :
11797   $as_echo_n "(cached) " >&6
11798 else
11799   ac_check_lib_save_LIBS=$LIBS
11800 LIBS="-ldld  $LIBS"
11801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11802 /* end confdefs.h.  */
11803
11804 /* Override any GCC internal prototype to avoid an error.
11805    Use char because int might match the return type of a GCC
11806    builtin and then its argument prototype would still apply.  */
11807 #ifdef __cplusplus
11808 extern "C"
11809 #endif
11810 char dld_link ();
11811 int
11812 main ()
11813 {
11814 return dld_link ();
11815   ;
11816   return 0;
11817 }
11818 _ACEOF
11819 if ac_fn_c_try_link "$LINENO"; then :
11820   ac_cv_lib_dld_dld_link=yes
11821 else
11822   ac_cv_lib_dld_dld_link=no
11823 fi
11824 rm -f core conftest.err conftest.$ac_objext \
11825     conftest$ac_exeext conftest.$ac_ext
11826 LIBS=$ac_check_lib_save_LIBS
11827 fi
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11829 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11830 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11831   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11832 fi
11833
11834
11835 fi
11836
11837
11838 fi
11839
11840
11841 fi
11842
11843
11844 fi
11845
11846
11847 fi
11848
11849     ;;
11850   esac
11851
11852   if test "x$lt_cv_dlopen" != xno; then
11853     enable_dlopen=yes
11854   else
11855     enable_dlopen=no
11856   fi
11857
11858   case $lt_cv_dlopen in
11859   dlopen)
11860     save_CPPFLAGS="$CPPFLAGS"
11861     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11862
11863     save_LDFLAGS="$LDFLAGS"
11864     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11865
11866     save_LIBS="$LIBS"
11867     LIBS="$lt_cv_dlopen_libs $LIBS"
11868
11869     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11870 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11871 if ${lt_cv_dlopen_self+:} false; then :
11872   $as_echo_n "(cached) " >&6
11873 else
11874           if test "$cross_compiling" = yes; then :
11875   lt_cv_dlopen_self=cross
11876 else
11877   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11878   lt_status=$lt_dlunknown
11879   cat > conftest.$ac_ext <<_LT_EOF
11880 #line $LINENO "configure"
11881 #include "confdefs.h"
11882
11883 #if HAVE_DLFCN_H
11884 #include <dlfcn.h>
11885 #endif
11886
11887 #include <stdio.h>
11888
11889 #ifdef RTLD_GLOBAL
11890 #  define LT_DLGLOBAL           RTLD_GLOBAL
11891 #else
11892 #  ifdef DL_GLOBAL
11893 #    define LT_DLGLOBAL         DL_GLOBAL
11894 #  else
11895 #    define LT_DLGLOBAL         0
11896 #  endif
11897 #endif
11898
11899 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11900    find out it does not work in some platform. */
11901 #ifndef LT_DLLAZY_OR_NOW
11902 #  ifdef RTLD_LAZY
11903 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11904 #  else
11905 #    ifdef DL_LAZY
11906 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11907 #    else
11908 #      ifdef RTLD_NOW
11909 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11910 #      else
11911 #        ifdef DL_NOW
11912 #          define LT_DLLAZY_OR_NOW      DL_NOW
11913 #        else
11914 #          define LT_DLLAZY_OR_NOW      0
11915 #        endif
11916 #      endif
11917 #    endif
11918 #  endif
11919 #endif
11920
11921 /* When -fvisbility=hidden is used, assume the code has been annotated
11922    correspondingly for the symbols needed.  */
11923 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11924 int fnord () __attribute__((visibility("default")));
11925 #endif
11926
11927 int fnord () { return 42; }
11928 int main ()
11929 {
11930   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11931   int status = $lt_dlunknown;
11932
11933   if (self)
11934     {
11935       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11936       else
11937         {
11938           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11939           else puts (dlerror ());
11940         }
11941       /* dlclose (self); */
11942     }
11943   else
11944     puts (dlerror ());
11945
11946   return status;
11947 }
11948 _LT_EOF
11949   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11950   (eval $ac_link) 2>&5
11951   ac_status=$?
11952   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11953   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11954     (./conftest; exit; ) >&5 2>/dev/null
11955     lt_status=$?
11956     case x$lt_status in
11957       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11958       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11959       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11960     esac
11961   else :
11962     # compilation failed
11963     lt_cv_dlopen_self=no
11964   fi
11965 fi
11966 rm -fr conftest*
11967
11968
11969 fi
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11971 $as_echo "$lt_cv_dlopen_self" >&6; }
11972
11973     if test "x$lt_cv_dlopen_self" = xyes; then
11974       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11975       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11976 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11977 if ${lt_cv_dlopen_self_static+:} false; then :
11978   $as_echo_n "(cached) " >&6
11979 else
11980           if test "$cross_compiling" = yes; then :
11981   lt_cv_dlopen_self_static=cross
11982 else
11983   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11984   lt_status=$lt_dlunknown
11985   cat > conftest.$ac_ext <<_LT_EOF
11986 #line $LINENO "configure"
11987 #include "confdefs.h"
11988
11989 #if HAVE_DLFCN_H
11990 #include <dlfcn.h>
11991 #endif
11992
11993 #include <stdio.h>
11994
11995 #ifdef RTLD_GLOBAL
11996 #  define LT_DLGLOBAL           RTLD_GLOBAL
11997 #else
11998 #  ifdef DL_GLOBAL
11999 #    define LT_DLGLOBAL         DL_GLOBAL
12000 #  else
12001 #    define LT_DLGLOBAL         0
12002 #  endif
12003 #endif
12004
12005 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12006    find out it does not work in some platform. */
12007 #ifndef LT_DLLAZY_OR_NOW
12008 #  ifdef RTLD_LAZY
12009 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12010 #  else
12011 #    ifdef DL_LAZY
12012 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12013 #    else
12014 #      ifdef RTLD_NOW
12015 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12016 #      else
12017 #        ifdef DL_NOW
12018 #          define LT_DLLAZY_OR_NOW      DL_NOW
12019 #        else
12020 #          define LT_DLLAZY_OR_NOW      0
12021 #        endif
12022 #      endif
12023 #    endif
12024 #  endif
12025 #endif
12026
12027 /* When -fvisbility=hidden is used, assume the code has been annotated
12028    correspondingly for the symbols needed.  */
12029 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12030 int fnord () __attribute__((visibility("default")));
12031 #endif
12032
12033 int fnord () { return 42; }
12034 int main ()
12035 {
12036   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12037   int status = $lt_dlunknown;
12038
12039   if (self)
12040     {
12041       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12042       else
12043         {
12044           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12045           else puts (dlerror ());
12046         }
12047       /* dlclose (self); */
12048     }
12049   else
12050     puts (dlerror ());
12051
12052   return status;
12053 }
12054 _LT_EOF
12055   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12056   (eval $ac_link) 2>&5
12057   ac_status=$?
12058   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12059   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12060     (./conftest; exit; ) >&5 2>/dev/null
12061     lt_status=$?
12062     case x$lt_status in
12063       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12064       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12065       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12066     esac
12067   else :
12068     # compilation failed
12069     lt_cv_dlopen_self_static=no
12070   fi
12071 fi
12072 rm -fr conftest*
12073
12074
12075 fi
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12077 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12078     fi
12079
12080     CPPFLAGS="$save_CPPFLAGS"
12081     LDFLAGS="$save_LDFLAGS"
12082     LIBS="$save_LIBS"
12083     ;;
12084   esac
12085
12086   case $lt_cv_dlopen_self in
12087   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12088   *) enable_dlopen_self=unknown ;;
12089   esac
12090
12091   case $lt_cv_dlopen_self_static in
12092   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12093   *) enable_dlopen_self_static=unknown ;;
12094   esac
12095 fi
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113 striplib=
12114 old_striplib=
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12116 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12117 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12118   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12119   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12121 $as_echo "yes" >&6; }
12122 else
12123 # FIXME - insert some real tests, host_os isn't really good enough
12124   case $host_os in
12125   darwin*)
12126     if test -n "$STRIP" ; then
12127       striplib="$STRIP -x"
12128       old_striplib="$STRIP -S"
12129       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12130 $as_echo "yes" >&6; }
12131     else
12132       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12133 $as_echo "no" >&6; }
12134     fi
12135     ;;
12136   *)
12137     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12138 $as_echo "no" >&6; }
12139     ;;
12140   esac
12141 fi
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154   # Report which library types will actually be built
12155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12156 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12158 $as_echo "$can_build_shared" >&6; }
12159
12160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12161 $as_echo_n "checking whether to build shared libraries... " >&6; }
12162   test "$can_build_shared" = "no" && enable_shared=no
12163
12164   # On AIX, shared libraries and static libraries use the same namespace, and
12165   # are all built from PIC.
12166   case $host_os in
12167   aix3*)
12168     test "$enable_shared" = yes && enable_static=no
12169     if test -n "$RANLIB"; then
12170       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12171       postinstall_cmds='$RANLIB $lib'
12172     fi
12173     ;;
12174
12175   aix[4-9]*)
12176     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12177       test "$enable_shared" = yes && enable_static=no
12178     fi
12179     ;;
12180   esac
12181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12182 $as_echo "$enable_shared" >&6; }
12183
12184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12185 $as_echo_n "checking whether to build static libraries... " >&6; }
12186   # Make sure either enable_shared or enable_static is yes.
12187   test "$enable_shared" = yes || enable_static=yes
12188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12189 $as_echo "$enable_static" >&6; }
12190
12191
12192
12193
12194 fi
12195 ac_ext=c
12196 ac_cpp='$CPP $CPPFLAGS'
12197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12200
12201 CC="$lt_save_CC"
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217         ac_config_commands="$ac_config_commands libtool"
12218
12219
12220
12221
12222 # Only expand once:
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12234         if test -n "$ac_tool_prefix"; then
12235   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12236 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12238 $as_echo_n "checking for $ac_word... " >&6; }
12239 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12240   $as_echo_n "(cached) " >&6
12241 else
12242   case $PKG_CONFIG in
12243   [\\/]* | ?:[\\/]*)
12244   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12245   ;;
12246   *)
12247   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12248 for as_dir in $PATH
12249 do
12250   IFS=$as_save_IFS
12251   test -z "$as_dir" && as_dir=.
12252     for ac_exec_ext in '' $ac_executable_extensions; do
12253   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12254     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12255     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12256     break 2
12257   fi
12258 done
12259   done
12260 IFS=$as_save_IFS
12261
12262   ;;
12263 esac
12264 fi
12265 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12266 if test -n "$PKG_CONFIG"; then
12267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12268 $as_echo "$PKG_CONFIG" >&6; }
12269 else
12270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12271 $as_echo "no" >&6; }
12272 fi
12273
12274
12275 fi
12276 if test -z "$ac_cv_path_PKG_CONFIG"; then
12277   ac_pt_PKG_CONFIG=$PKG_CONFIG
12278   # Extract the first word of "pkg-config", so it can be a program name with args.
12279 set dummy pkg-config; ac_word=$2
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12281 $as_echo_n "checking for $ac_word... " >&6; }
12282 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12283   $as_echo_n "(cached) " >&6
12284 else
12285   case $ac_pt_PKG_CONFIG in
12286   [\\/]* | ?:[\\/]*)
12287   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12288   ;;
12289   *)
12290   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12291 for as_dir in $PATH
12292 do
12293   IFS=$as_save_IFS
12294   test -z "$as_dir" && as_dir=.
12295     for ac_exec_ext in '' $ac_executable_extensions; do
12296   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12297     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12298     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12299     break 2
12300   fi
12301 done
12302   done
12303 IFS=$as_save_IFS
12304
12305   ;;
12306 esac
12307 fi
12308 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12309 if test -n "$ac_pt_PKG_CONFIG"; then
12310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12311 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12312 else
12313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12314 $as_echo "no" >&6; }
12315 fi
12316
12317   if test "x$ac_pt_PKG_CONFIG" = x; then
12318     PKG_CONFIG=""
12319   else
12320     case $cross_compiling:$ac_tool_warned in
12321 yes:)
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12324 ac_tool_warned=yes ;;
12325 esac
12326     PKG_CONFIG=$ac_pt_PKG_CONFIG
12327   fi
12328 else
12329   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12330 fi
12331
12332 fi
12333 if test -n "$PKG_CONFIG"; then
12334         _pkg_min_version=0.9.0
12335         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12336 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12337         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12338                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12339 $as_echo "yes" >&6; }
12340         else
12341                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12342 $as_echo "no" >&6; }
12343                 PKG_CONFIG=""
12344         fi
12345 fi
12346
12347 pkg_failed=no
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGSSDP" >&5
12349 $as_echo_n "checking for LIBGSSDP... " >&6; }
12350
12351 if test -n "$LIBGSSDP_CFLAGS"; then
12352     pkg_cv_LIBGSSDP_CFLAGS="$LIBGSSDP_CFLAGS"
12353  elif test -n "$PKG_CONFIG"; then
12354     if test -n "$PKG_CONFIG" && \
12355     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.32 \\
12356                             gobject-2.0 >= 2.32 \\
12357                             gio-2.0 >= 2.32 \\
12358                             libsoup-2.4 >= 2.26.1\""; } >&5
12359   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.32 \
12360                             gobject-2.0 >= 2.32 \
12361                             gio-2.0 >= 2.32 \
12362                             libsoup-2.4 >= 2.26.1") 2>&5
12363   ac_status=$?
12364   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12365   test $ac_status = 0; }; then
12366   pkg_cv_LIBGSSDP_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.32 \
12367                             gobject-2.0 >= 2.32 \
12368                             gio-2.0 >= 2.32 \
12369                             libsoup-2.4 >= 2.26.1" 2>/dev/null`
12370                       test "x$?" != "x0" && pkg_failed=yes
12371 else
12372   pkg_failed=yes
12373 fi
12374  else
12375     pkg_failed=untried
12376 fi
12377 if test -n "$LIBGSSDP_LIBS"; then
12378     pkg_cv_LIBGSSDP_LIBS="$LIBGSSDP_LIBS"
12379  elif test -n "$PKG_CONFIG"; then
12380     if test -n "$PKG_CONFIG" && \
12381     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.32 \\
12382                             gobject-2.0 >= 2.32 \\
12383                             gio-2.0 >= 2.32 \\
12384                             libsoup-2.4 >= 2.26.1\""; } >&5
12385   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.32 \
12386                             gobject-2.0 >= 2.32 \
12387                             gio-2.0 >= 2.32 \
12388                             libsoup-2.4 >= 2.26.1") 2>&5
12389   ac_status=$?
12390   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12391   test $ac_status = 0; }; then
12392   pkg_cv_LIBGSSDP_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.32 \
12393                             gobject-2.0 >= 2.32 \
12394                             gio-2.0 >= 2.32 \
12395                             libsoup-2.4 >= 2.26.1" 2>/dev/null`
12396                       test "x$?" != "x0" && pkg_failed=yes
12397 else
12398   pkg_failed=yes
12399 fi
12400  else
12401     pkg_failed=untried
12402 fi
12403
12404
12405
12406 if test $pkg_failed = yes; then
12407         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12408 $as_echo "no" >&6; }
12409
12410 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12411         _pkg_short_errors_supported=yes
12412 else
12413         _pkg_short_errors_supported=no
12414 fi
12415         if test $_pkg_short_errors_supported = yes; then
12416                 LIBGSSDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.32 \
12417                             gobject-2.0 >= 2.32 \
12418                             gio-2.0 >= 2.32 \
12419                             libsoup-2.4 >= 2.26.1" 2>&1`
12420         else
12421                 LIBGSSDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.32 \
12422                             gobject-2.0 >= 2.32 \
12423                             gio-2.0 >= 2.32 \
12424                             libsoup-2.4 >= 2.26.1" 2>&1`
12425         fi
12426         # Put the nasty error message in config.log where it belongs
12427         echo "$LIBGSSDP_PKG_ERRORS" >&5
12428
12429         as_fn_error $? "Package requirements (glib-2.0 >= 2.32 \
12430                             gobject-2.0 >= 2.32 \
12431                             gio-2.0 >= 2.32 \
12432                             libsoup-2.4 >= 2.26.1) were not met:
12433
12434 $LIBGSSDP_PKG_ERRORS
12435
12436 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12437 installed software in a non-standard prefix.
12438
12439 Alternatively, you may set the environment variables LIBGSSDP_CFLAGS
12440 and LIBGSSDP_LIBS to avoid the need to call pkg-config.
12441 See the pkg-config man page for more details." "$LINENO" 5
12442 elif test $pkg_failed = untried; then
12443         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12444 $as_echo "no" >&6; }
12445         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12447 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12448 is in your PATH or set the PKG_CONFIG environment variable to the full
12449 path to pkg-config.
12450
12451 Alternatively, you may set the environment variables LIBGSSDP_CFLAGS
12452 and LIBGSSDP_LIBS to avoid the need to call pkg-config.
12453 See the pkg-config man page for more details.
12454
12455 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12456 See \`config.log' for more details" "$LINENO" 5; }
12457 else
12458         LIBGSSDP_CFLAGS=$pkg_cv_LIBGSSDP_CFLAGS
12459         LIBGSSDP_LIBS=$pkg_cv_LIBGSSDP_LIBS
12460         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12461 $as_echo "yes" >&6; }
12462
12463 fi
12464
12465 LIBGTK_REQUIRED=3.0
12466
12467
12468 # Check whether --with-gtk was given.
12469 if test "${with_gtk+set}" = set; then :
12470   withval=$with_gtk; try_gtk=$withval
12471 else
12472   try_gtk=yes
12473 fi
12474
12475
12476 HAVE_LIBGTK=no
12477 if test x$try_gtk = xyes ; then
12478
12479 pkg_failed=no
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGTK" >&5
12481 $as_echo_n "checking for LIBGTK... " >&6; }
12482
12483 if test -n "$LIBGTK_CFLAGS"; then
12484     pkg_cv_LIBGTK_CFLAGS="$LIBGTK_CFLAGS"
12485  elif test -n "$PKG_CONFIG"; then
12486     if test -n "$PKG_CONFIG" && \
12487     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$LIBGTK_REQUIRED \""; } >&5
12488   ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $LIBGTK_REQUIRED ") 2>&5
12489   ac_status=$?
12490   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12491   test $ac_status = 0; }; then
12492   pkg_cv_LIBGTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $LIBGTK_REQUIRED " 2>/dev/null`
12493                       test "x$?" != "x0" && pkg_failed=yes
12494 else
12495   pkg_failed=yes
12496 fi
12497  else
12498     pkg_failed=untried
12499 fi
12500 if test -n "$LIBGTK_LIBS"; then
12501     pkg_cv_LIBGTK_LIBS="$LIBGTK_LIBS"
12502  elif test -n "$PKG_CONFIG"; then
12503     if test -n "$PKG_CONFIG" && \
12504     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$LIBGTK_REQUIRED \""; } >&5
12505   ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $LIBGTK_REQUIRED ") 2>&5
12506   ac_status=$?
12507   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12508   test $ac_status = 0; }; then
12509   pkg_cv_LIBGTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $LIBGTK_REQUIRED " 2>/dev/null`
12510                       test "x$?" != "x0" && pkg_failed=yes
12511 else
12512   pkg_failed=yes
12513 fi
12514  else
12515     pkg_failed=untried
12516 fi
12517
12518
12519
12520 if test $pkg_failed = yes; then
12521         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12522 $as_echo "no" >&6; }
12523
12524 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12525         _pkg_short_errors_supported=yes
12526 else
12527         _pkg_short_errors_supported=no
12528 fi
12529         if test $_pkg_short_errors_supported = yes; then
12530                 LIBGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $LIBGTK_REQUIRED " 2>&1`
12531         else
12532                 LIBGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $LIBGTK_REQUIRED " 2>&1`
12533         fi
12534         # Put the nasty error message in config.log where it belongs
12535         echo "$LIBGTK_PKG_ERRORS" >&5
12536
12537
12538         HAVE_LIBGTK=no
12539         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gtk+ $LIBGTK_REQUIRED or greater not found, some tools will not build." >&5
12540 $as_echo "$as_me: WARNING: gtk+ $LIBGTK_REQUIRED or greater not found, some tools will not build." >&2;}
12541
12542 elif test $pkg_failed = untried; then
12543         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12544 $as_echo "no" >&6; }
12545
12546         HAVE_LIBGTK=no
12547         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gtk+ $LIBGTK_REQUIRED or greater not found, some tools will not build." >&5
12548 $as_echo "$as_me: WARNING: gtk+ $LIBGTK_REQUIRED or greater not found, some tools will not build." >&2;}
12549
12550 else
12551         LIBGTK_CFLAGS=$pkg_cv_LIBGTK_CFLAGS
12552         LIBGTK_LIBS=$pkg_cv_LIBGTK_LIBS
12553         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12554 $as_echo "yes" >&6; }
12555
12556         HAVE_LIBGTK=yes
12557
12558
12559
12560 fi
12561 else
12562     { $as_echo "$as_me:${as_lineno-$LINENO}: gtk+ usage disabled, some tools may not build." >&5
12563 $as_echo "$as_me: gtk+ usage disabled, some tools may not build." >&6;}
12564 fi
12565
12566 if test x$HAVE_LIBGTK = xno; then
12567   USE_LIBGTK=no
12568 else
12569   USE_LIBGTK=yes
12570
12571 $as_echo "#define HAVE_LIBGTK /**/" >>confdefs.h
12572
12573 fi
12574
12575
12576  if test x$USE_LIBGTK = xyes; then
12577   USE_LIBGTK_TRUE=
12578   USE_LIBGTK_FALSE='#'
12579 else
12580   USE_LIBGTK_TRUE='#'
12581   USE_LIBGTK_FALSE=
12582 fi
12583
12584
12585 # glib-genmarshal
12586 GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
12587
12588
12589 # Debugging
12590 # Check whether --enable-debug was given.
12591 if test "${enable_debug+set}" = set; then :
12592   enableval=$enable_debug;
12593 else
12594   enable_debug=no
12595 fi
12596
12597 if test "x$enable_debug" = "xyes"; then
12598         CFLAGS="$CFLAGS -g -Wall"
12599 fi
12600
12601 # Check whether --enable-strict-c was given.
12602 if test "${enable_strict_c+set}" = set; then :
12603   enableval=$enable_strict_c;
12604 else
12605   enable_strict_c=no
12606 fi
12607
12608 if test "x$enable_strict_c" = "xyes"; then :
12609   CFLAGS="$CFLAGS -Werror"
12610 fi
12611
12612
12613
12614
12615                 # Check whether --enable-introspection was given.
12616 if test "${enable_introspection+set}" = set; then :
12617   enableval=$enable_introspection;
12618 else
12619   enable_introspection=auto
12620 fi
12621
12622
12623     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
12624 $as_echo_n "checking for gobject-introspection... " >&6; }
12625
12626         case $enable_introspection in #(
12627   no) :
12628             found_introspection="no (disabled, use --enable-introspection to enable)"
12629      ;; #(
12630       yes) :
12631             if test -n "$PKG_CONFIG" && \
12632     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
12633   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
12634   ac_status=$?
12635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12636   test $ac_status = 0; }; then
12637   :
12638 else
12639   as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
12640 fi
12641         if test -n "$PKG_CONFIG" && \
12642     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
12643   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
12644   ac_status=$?
12645   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12646   test $ac_status = 0; }; then
12647   found_introspection=yes
12648 else
12649   as_fn_error $? "You need to have gobject-introspection >= 0.6.7 installed to build gssdp" "$LINENO" 5
12650 fi
12651      ;; #(
12652       auto) :
12653             if test -n "$PKG_CONFIG" && \
12654     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
12655   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
12656   ac_status=$?
12657   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12658   test $ac_status = 0; }; then
12659   found_introspection=yes
12660 else
12661   found_introspection=no
12662 fi
12663      ;; #(
12664   *) :
12665                 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
12666      ;;
12667 esac
12668     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
12669 $as_echo "$found_introspection" >&6; }
12670
12671     INTROSPECTION_SCANNER=
12672     INTROSPECTION_COMPILER=
12673     INTROSPECTION_GENERATE=
12674     INTROSPECTION_GIRDIR=
12675     INTROSPECTION_TYPELIBDIR=
12676     if test "x$found_introspection" = "xyes"; then
12677        INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
12678        INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
12679        INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
12680        INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
12681        INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
12682        INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
12683        INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
12684        INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
12685     fi
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695      if test "x$found_introspection" = "xyes"; then
12696   HAVE_INTROSPECTION_TRUE=
12697   HAVE_INTROSPECTION_FALSE='#'
12698 else
12699   HAVE_INTROSPECTION_TRUE='#'
12700   HAVE_INTROSPECTION_FALSE=
12701 fi
12702
12703
12704
12705
12706 # vapigen
12707 have_vapigen=no
12708 if test "x$found_introspection" = "xyes"; then :
12709
12710               { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether G-I is 1.36 or newer" >&5
12711 $as_echo_n "checking whether G-I is 1.36 or newer... " >&6; }
12712        VAPIGEN_MIN_VERSION=0.14
12713        if pkg-config --atleast-version=1.36.0 gobject-introspection-1.0; then :
12714
12715               { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12716 $as_echo "yes" >&6; }
12717               VAPIGEN_MIN_VERSION=0.20
12718
12719 else
12720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12721 $as_echo "no" >&6; }
12722
12723 fi
12724        # Extract the first word of "vapigen", so it can be a program name with args.
12725 set dummy vapigen; ac_word=$2
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12727 $as_echo_n "checking for $ac_word... " >&6; }
12728 if ${ac_cv_path_VAPIGEN+:} false; then :
12729   $as_echo_n "(cached) " >&6
12730 else
12731   case $VAPIGEN in
12732   [\\/]* | ?:[\\/]*)
12733   ac_cv_path_VAPIGEN="$VAPIGEN" # Let the user override the test with a path.
12734   ;;
12735   *)
12736   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12737 for as_dir in $PATH
12738 do
12739   IFS=$as_save_IFS
12740   test -z "$as_dir" && as_dir=.
12741     for ac_exec_ext in '' $ac_executable_extensions; do
12742   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12743     ac_cv_path_VAPIGEN="$as_dir/$ac_word$ac_exec_ext"
12744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12745     break 2
12746   fi
12747 done
12748   done
12749 IFS=$as_save_IFS
12750
12751   ;;
12752 esac
12753 fi
12754 VAPIGEN=$ac_cv_path_VAPIGEN
12755 if test -n "$VAPIGEN"; then
12756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VAPIGEN" >&5
12757 $as_echo "$VAPIGEN" >&6; }
12758 else
12759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12760 $as_echo "no" >&6; }
12761 fi
12762
12763
12764   if test -z "$VAPIGEN"; then :
12765   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&5
12766 $as_echo "$as_me: WARNING: No Vala API Generator found. You will not be able to generate .vapi files." >&2;}
12767 else
12768   if test -n "$VAPIGEN_MIN_VERSION"; then :
12769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VAPIGEN is at least version $VAPIGEN_MIN_VERSION" >&5
12770 $as_echo_n "checking $VAPIGEN is at least version $VAPIGEN_MIN_VERSION... " >&6; }
12771          am__vapigen_version=`$VAPIGEN --version | sed 's/Vala API Generator  *//'`
12772          as_arg_v1=$VAPIGEN_MIN_VERSION
12773 as_arg_v2="$am__vapigen_version"
12774 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12775 case $? in #(
12776   1) :
12777     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12778 $as_echo "yes" >&6; } ;; #(
12779   0) :
12780     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12781 $as_echo "yes" >&6; } ;; #(
12782   2) :
12783     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12784 $as_echo "no" >&6; }
12785             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Vala API Generator $VAPIGEN_MIN_VERSION not found." >&5
12786 $as_echo "$as_me: WARNING: Vala API Generator $VAPIGEN_MIN_VERSION not found." >&2;}
12787             VAPIGEN=""
12788             ;; #(
12789   *) :
12790      ;;
12791 esac
12792 fi
12793 fi
12794
12795
12796
12797 fi
12798 if test "x$VAPIGEN" != "x"; then :
12799   have_vapigen=yes
12800 fi
12801  if test "x$VAPIGEN" != "x"; then
12802   HAVE_VAPIGEN_TRUE=
12803   HAVE_VAPIGEN_FALSE='#'
12804 else
12805   HAVE_VAPIGEN_TRUE='#'
12806   HAVE_VAPIGEN_FALSE=
12807 fi
12808
12809
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Win32" >&5
12811 $as_echo_n "checking for Win32... " >&6; }
12812 case "$host" in
12813     *-*-mingw*)
12814         os_win32=yes
12815         ;;
12816     *)
12817         os_win32=no
12818         ;;
12819 esac
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
12821 $as_echo "$os_win32" >&6; }
12822  if test $os_win32 = yes; then
12823   OS_WIN32_TRUE=
12824   OS_WIN32_FALSE='#'
12825 else
12826   OS_WIN32_TRUE='#'
12827   OS_WIN32_FALSE=
12828 fi
12829
12830
12831
12832
12833
12834     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12835 set dummy gtkdoc-check; ac_word=$2
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12837 $as_echo_n "checking for $ac_word... " >&6; }
12838 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12839   $as_echo_n "(cached) " >&6
12840 else
12841   case $GTKDOC_CHECK in
12842   [\\/]* | ?:[\\/]*)
12843   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12844   ;;
12845   *)
12846   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12847 for as_dir in $PATH
12848 do
12849   IFS=$as_save_IFS
12850   test -z "$as_dir" && as_dir=.
12851     for ac_exec_ext in '' $ac_executable_extensions; do
12852   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12853     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12854     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12855     break 2
12856   fi
12857 done
12858   done
12859 IFS=$as_save_IFS
12860
12861   ;;
12862 esac
12863 fi
12864 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12865 if test -n "$GTKDOC_CHECK"; then
12866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12867 $as_echo "$GTKDOC_CHECK" >&6; }
12868 else
12869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12870 $as_echo "no" >&6; }
12871 fi
12872
12873
12874   for ac_prog in gtkdoc-rebase
12875 do
12876   # Extract the first word of "$ac_prog", so it can be a program name with args.
12877 set dummy $ac_prog; ac_word=$2
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12879 $as_echo_n "checking for $ac_word... " >&6; }
12880 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12881   $as_echo_n "(cached) " >&6
12882 else
12883   case $GTKDOC_REBASE in
12884   [\\/]* | ?:[\\/]*)
12885   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12886   ;;
12887   *)
12888   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12889 for as_dir in $PATH
12890 do
12891   IFS=$as_save_IFS
12892   test -z "$as_dir" && as_dir=.
12893     for ac_exec_ext in '' $ac_executable_extensions; do
12894   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12895     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12896     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12897     break 2
12898   fi
12899 done
12900   done
12901 IFS=$as_save_IFS
12902
12903   ;;
12904 esac
12905 fi
12906 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12907 if test -n "$GTKDOC_REBASE"; then
12908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12909 $as_echo "$GTKDOC_REBASE" >&6; }
12910 else
12911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12912 $as_echo "no" >&6; }
12913 fi
12914
12915
12916   test -n "$GTKDOC_REBASE" && break
12917 done
12918 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12919
12920   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12921 set dummy gtkdoc-mkpdf; ac_word=$2
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12923 $as_echo_n "checking for $ac_word... " >&6; }
12924 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12925   $as_echo_n "(cached) " >&6
12926 else
12927   case $GTKDOC_MKPDF in
12928   [\\/]* | ?:[\\/]*)
12929   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12930   ;;
12931   *)
12932   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12933 for as_dir in $PATH
12934 do
12935   IFS=$as_save_IFS
12936   test -z "$as_dir" && as_dir=.
12937     for ac_exec_ext in '' $ac_executable_extensions; do
12938   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12939     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12940     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12941     break 2
12942   fi
12943 done
12944   done
12945 IFS=$as_save_IFS
12946
12947   ;;
12948 esac
12949 fi
12950 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12951 if test -n "$GTKDOC_MKPDF"; then
12952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12953 $as_echo "$GTKDOC_MKPDF" >&6; }
12954 else
12955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12956 $as_echo "no" >&6; }
12957 fi
12958
12959
12960
12961
12962 # Check whether --with-html-dir was given.
12963 if test "${with_html_dir+set}" = set; then :
12964   withval=$with_html_dir;
12965 else
12966   with_html_dir='${datadir}/gtk-doc/html'
12967 fi
12968
12969   HTML_DIR="$with_html_dir"
12970
12971
12972     # Check whether --enable-gtk-doc was given.
12973 if test "${enable_gtk_doc+set}" = set; then :
12974   enableval=$enable_gtk_doc;
12975 else
12976   enable_gtk_doc=no
12977 fi
12978
12979
12980   if test x$enable_gtk_doc = xyes; then
12981     if test -n "$PKG_CONFIG" && \
12982     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
12983   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
12984   ac_status=$?
12985   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12986   test $ac_status = 0; }; then
12987   :
12988 else
12989   as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
12990 fi
12991         if test "x$PACKAGE_NAME" != "xglib"; then
12992
12993 pkg_failed=no
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12995 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12996
12997 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12998     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12999  elif test -n "$PKG_CONFIG"; then
13000     if test -n "$PKG_CONFIG" && \
13001     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
13002   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
13003   ac_status=$?
13004   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13005   test $ac_status = 0; }; then
13006   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
13007                       test "x$?" != "x0" && pkg_failed=yes
13008 else
13009   pkg_failed=yes
13010 fi
13011  else
13012     pkg_failed=untried
13013 fi
13014 if test -n "$GTKDOC_DEPS_LIBS"; then
13015     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13016  elif test -n "$PKG_CONFIG"; then
13017     if test -n "$PKG_CONFIG" && \
13018     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
13019   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
13020   ac_status=$?
13021   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13022   test $ac_status = 0; }; then
13023   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
13024                       test "x$?" != "x0" && pkg_failed=yes
13025 else
13026   pkg_failed=yes
13027 fi
13028  else
13029     pkg_failed=untried
13030 fi
13031
13032
13033
13034 if test $pkg_failed = yes; then
13035         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13036 $as_echo "no" >&6; }
13037
13038 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13039         _pkg_short_errors_supported=yes
13040 else
13041         _pkg_short_errors_supported=no
13042 fi
13043         if test $_pkg_short_errors_supported = yes; then
13044                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
13045         else
13046                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
13047         fi
13048         # Put the nasty error message in config.log where it belongs
13049         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13050
13051         as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
13052
13053 $GTKDOC_DEPS_PKG_ERRORS
13054
13055 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13056 installed software in a non-standard prefix.
13057
13058 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13059 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13060 See the pkg-config man page for more details." "$LINENO" 5
13061 elif test $pkg_failed = untried; then
13062         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13063 $as_echo "no" >&6; }
13064         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13066 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13067 is in your PATH or set the PKG_CONFIG environment variable to the full
13068 path to pkg-config.
13069
13070 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13071 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13072 See the pkg-config man page for more details.
13073
13074 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13075 See \`config.log' for more details" "$LINENO" 5; }
13076 else
13077         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13078         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13079         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13080 $as_echo "yes" >&6; }
13081
13082 fi
13083     fi
13084   fi
13085
13086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13087 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13089 $as_echo "$enable_gtk_doc" >&6; }
13090
13091     # Check whether --enable-gtk-doc-html was given.
13092 if test "${enable_gtk_doc_html+set}" = set; then :
13093   enableval=$enable_gtk_doc_html;
13094 else
13095   enable_gtk_doc_html=yes
13096 fi
13097
13098     # Check whether --enable-gtk-doc-pdf was given.
13099 if test "${enable_gtk_doc_pdf+set}" = set; then :
13100   enableval=$enable_gtk_doc_pdf;
13101 else
13102   enable_gtk_doc_pdf=no
13103 fi
13104
13105
13106   if test -z "$GTKDOC_MKPDF"; then
13107     enable_gtk_doc_pdf=no
13108   fi
13109
13110
13111    if test x$enable_gtk_doc = xyes; then
13112   ENABLE_GTK_DOC_TRUE=
13113   ENABLE_GTK_DOC_FALSE='#'
13114 else
13115   ENABLE_GTK_DOC_TRUE='#'
13116   ENABLE_GTK_DOC_FALSE=
13117 fi
13118
13119    if test x$enable_gtk_doc_html = xyes; then
13120   GTK_DOC_BUILD_HTML_TRUE=
13121   GTK_DOC_BUILD_HTML_FALSE='#'
13122 else
13123   GTK_DOC_BUILD_HTML_TRUE='#'
13124   GTK_DOC_BUILD_HTML_FALSE=
13125 fi
13126
13127    if test x$enable_gtk_doc_pdf = xyes; then
13128   GTK_DOC_BUILD_PDF_TRUE=
13129   GTK_DOC_BUILD_PDF_FALSE='#'
13130 else
13131   GTK_DOC_BUILD_PDF_TRUE='#'
13132   GTK_DOC_BUILD_PDF_FALSE=
13133 fi
13134
13135    if test -n "$LIBTOOL"; then
13136   GTK_DOC_USE_LIBTOOL_TRUE=
13137   GTK_DOC_USE_LIBTOOL_FALSE='#'
13138 else
13139   GTK_DOC_USE_LIBTOOL_TRUE='#'
13140   GTK_DOC_USE_LIBTOOL_FALSE=
13141 fi
13142
13143    if test -n "$GTKDOC_REBASE"; then
13144   GTK_DOC_USE_REBASE_TRUE=
13145   GTK_DOC_USE_REBASE_FALSE='#'
13146 else
13147   GTK_DOC_USE_REBASE_TRUE='#'
13148   GTK_DOC_USE_REBASE_FALSE=
13149 fi
13150
13151
13152
13153 ac_config_files="$ac_config_files Makefile libgssdp/Makefile tools/Makefile tests/Makefile tests/gtest/Makefile vala/Makefile doc/Makefile doc/version.xml gssdp-1.0.pc gssdp-1.0-uninstalled.pc"
13154
13155 cat >confcache <<\_ACEOF
13156 # This file is a shell script that caches the results of configure
13157 # tests run on this system so they can be shared between configure
13158 # scripts and configure runs, see configure's option --config-cache.
13159 # It is not useful on other systems.  If it contains results you don't
13160 # want to keep, you may remove or edit it.
13161 #
13162 # config.status only pays attention to the cache file if you give it
13163 # the --recheck option to rerun configure.
13164 #
13165 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13166 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13167 # following values.
13168
13169 _ACEOF
13170
13171 # The following way of writing the cache mishandles newlines in values,
13172 # but we know of no workaround that is simple, portable, and efficient.
13173 # So, we kill variables containing newlines.
13174 # Ultrix sh set writes to stderr and can't be redirected directly,
13175 # and sets the high bit in the cache file unless we assign to the vars.
13176 (
13177   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13178     eval ac_val=\$$ac_var
13179     case $ac_val in #(
13180     *${as_nl}*)
13181       case $ac_var in #(
13182       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13183 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13184       esac
13185       case $ac_var in #(
13186       _ | IFS | as_nl) ;; #(
13187       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13188       *) { eval $ac_var=; unset $ac_var;} ;;
13189       esac ;;
13190     esac
13191   done
13192
13193   (set) 2>&1 |
13194     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13195     *${as_nl}ac_space=\ *)
13196       # `set' does not quote correctly, so add quotes: double-quote
13197       # substitution turns \\\\ into \\, and sed turns \\ into \.
13198       sed -n \
13199         "s/'/'\\\\''/g;
13200           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13201       ;; #(
13202     *)
13203       # `set' quotes correctly as required by POSIX, so do not add quotes.
13204       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13205       ;;
13206     esac |
13207     sort
13208 ) |
13209   sed '
13210      /^ac_cv_env_/b end
13211      t clear
13212      :clear
13213      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13214      t end
13215      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13216      :end' >>confcache
13217 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13218   if test -w "$cache_file"; then
13219     if test "x$cache_file" != "x/dev/null"; then
13220       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13221 $as_echo "$as_me: updating cache $cache_file" >&6;}
13222       if test ! -f "$cache_file" || test -h "$cache_file"; then
13223         cat confcache >"$cache_file"
13224       else
13225         case $cache_file in #(
13226         */* | ?:*)
13227           mv -f confcache "$cache_file"$$ &&
13228           mv -f "$cache_file"$$ "$cache_file" ;; #(
13229         *)
13230           mv -f confcache "$cache_file" ;;
13231         esac
13232       fi
13233     fi
13234   else
13235     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13236 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13237   fi
13238 fi
13239 rm -f confcache
13240
13241 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13242 # Let make expand exec_prefix.
13243 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13244
13245 DEFS=-DHAVE_CONFIG_H
13246
13247 ac_libobjs=
13248 ac_ltlibobjs=
13249 U=
13250 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13251   # 1. Remove the extension, and $U if already installed.
13252   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13253   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13254   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13255   #    will be set to the directory where LIBOBJS objects are built.
13256   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13257   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13258 done
13259 LIBOBJS=$ac_libobjs
13260
13261 LTLIBOBJS=$ac_ltlibobjs
13262
13263
13264  if test -n "$EXEEXT"; then
13265   am__EXEEXT_TRUE=
13266   am__EXEEXT_FALSE='#'
13267 else
13268   am__EXEEXT_TRUE='#'
13269   am__EXEEXT_FALSE=
13270 fi
13271
13272 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13273   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13274 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13275 fi
13276 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13277   as_fn_error $? "conditional \"AMDEP\" was never defined.
13278 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13279 fi
13280 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13281   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13283 fi
13284 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13285   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13287 fi
13288 if test -z "${USE_LIBGTK_TRUE}" && test -z "${USE_LIBGTK_FALSE}"; then
13289   as_fn_error $? "conditional \"USE_LIBGTK\" was never defined.
13290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13291 fi
13292 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
13293   as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
13294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13295 fi
13296 if test -z "${HAVE_VAPIGEN_TRUE}" && test -z "${HAVE_VAPIGEN_FALSE}"; then
13297   as_fn_error $? "conditional \"HAVE_VAPIGEN\" was never defined.
13298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13299 fi
13300 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
13301   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
13302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13303 fi
13304 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13305   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13307 fi
13308 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13309   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13311 fi
13312 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13313   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13315 fi
13316 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13317   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13319 fi
13320 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13321   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13323 fi
13324
13325 : "${CONFIG_STATUS=./config.status}"
13326 ac_write_fail=0
13327 ac_clean_files_save=$ac_clean_files
13328 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13330 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13331 as_write_fail=0
13332 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13333 #! $SHELL
13334 # Generated by $as_me.
13335 # Run this file to recreate the current configuration.
13336 # Compiler output produced by configure, useful for debugging
13337 # configure, is in config.log if it exists.
13338
13339 debug=false
13340 ac_cs_recheck=false
13341 ac_cs_silent=false
13342
13343 SHELL=\${CONFIG_SHELL-$SHELL}
13344 export SHELL
13345 _ASEOF
13346 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13347 ## -------------------- ##
13348 ## M4sh Initialization. ##
13349 ## -------------------- ##
13350
13351 # Be more Bourne compatible
13352 DUALCASE=1; export DUALCASE # for MKS sh
13353 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13354   emulate sh
13355   NULLCMD=:
13356   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13357   # is contrary to our usage.  Disable this feature.
13358   alias -g '${1+"$@"}'='"$@"'
13359   setopt NO_GLOB_SUBST
13360 else
13361   case `(set -o) 2>/dev/null` in #(
13362   *posix*) :
13363     set -o posix ;; #(
13364   *) :
13365      ;;
13366 esac
13367 fi
13368
13369
13370 as_nl='
13371 '
13372 export as_nl
13373 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13374 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13375 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13376 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13377 # Prefer a ksh shell builtin over an external printf program on Solaris,
13378 # but without wasting forks for bash or zsh.
13379 if test -z "$BASH_VERSION$ZSH_VERSION" \
13380     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13381   as_echo='print -r --'
13382   as_echo_n='print -rn --'
13383 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13384   as_echo='printf %s\n'
13385   as_echo_n='printf %s'
13386 else
13387   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13388     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13389     as_echo_n='/usr/ucb/echo -n'
13390   else
13391     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13392     as_echo_n_body='eval
13393       arg=$1;
13394       case $arg in #(
13395       *"$as_nl"*)
13396         expr "X$arg" : "X\\(.*\\)$as_nl";
13397         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13398       esac;
13399       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13400     '
13401     export as_echo_n_body
13402     as_echo_n='sh -c $as_echo_n_body as_echo'
13403   fi
13404   export as_echo_body
13405   as_echo='sh -c $as_echo_body as_echo'
13406 fi
13407
13408 # The user is always right.
13409 if test "${PATH_SEPARATOR+set}" != set; then
13410   PATH_SEPARATOR=:
13411   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13412     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13413       PATH_SEPARATOR=';'
13414   }
13415 fi
13416
13417
13418 # IFS
13419 # We need space, tab and new line, in precisely that order.  Quoting is
13420 # there to prevent editors from complaining about space-tab.
13421 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13422 # splitting by setting IFS to empty value.)
13423 IFS=" ""        $as_nl"
13424
13425 # Find who we are.  Look in the path if we contain no directory separator.
13426 as_myself=
13427 case $0 in #((
13428   *[\\/]* ) as_myself=$0 ;;
13429   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13430 for as_dir in $PATH
13431 do
13432   IFS=$as_save_IFS
13433   test -z "$as_dir" && as_dir=.
13434     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13435   done
13436 IFS=$as_save_IFS
13437
13438      ;;
13439 esac
13440 # We did not find ourselves, most probably we were run as `sh COMMAND'
13441 # in which case we are not to be found in the path.
13442 if test "x$as_myself" = x; then
13443   as_myself=$0
13444 fi
13445 if test ! -f "$as_myself"; then
13446   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13447   exit 1
13448 fi
13449
13450 # Unset variables that we do not need and which cause bugs (e.g. in
13451 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13452 # suppresses any "Segmentation fault" message there.  '((' could
13453 # trigger a bug in pdksh 5.2.14.
13454 for as_var in BASH_ENV ENV MAIL MAILPATH
13455 do eval test x\${$as_var+set} = xset \
13456   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13457 done
13458 PS1='$ '
13459 PS2='> '
13460 PS4='+ '
13461
13462 # NLS nuisances.
13463 LC_ALL=C
13464 export LC_ALL
13465 LANGUAGE=C
13466 export LANGUAGE
13467
13468 # CDPATH.
13469 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13470
13471
13472 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13473 # ----------------------------------------
13474 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13475 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13476 # script with STATUS, using 1 if that was 0.
13477 as_fn_error ()
13478 {
13479   as_status=$1; test $as_status -eq 0 && as_status=1
13480   if test "$4"; then
13481     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13482     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13483   fi
13484   $as_echo "$as_me: error: $2" >&2
13485   as_fn_exit $as_status
13486 } # as_fn_error
13487
13488
13489 # as_fn_set_status STATUS
13490 # -----------------------
13491 # Set $? to STATUS, without forking.
13492 as_fn_set_status ()
13493 {
13494   return $1
13495 } # as_fn_set_status
13496
13497 # as_fn_exit STATUS
13498 # -----------------
13499 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13500 as_fn_exit ()
13501 {
13502   set +e
13503   as_fn_set_status $1
13504   exit $1
13505 } # as_fn_exit
13506
13507 # as_fn_unset VAR
13508 # ---------------
13509 # Portably unset VAR.
13510 as_fn_unset ()
13511 {
13512   { eval $1=; unset $1;}
13513 }
13514 as_unset=as_fn_unset
13515 # as_fn_append VAR VALUE
13516 # ----------------------
13517 # Append the text in VALUE to the end of the definition contained in VAR. Take
13518 # advantage of any shell optimizations that allow amortized linear growth over
13519 # repeated appends, instead of the typical quadratic growth present in naive
13520 # implementations.
13521 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13522   eval 'as_fn_append ()
13523   {
13524     eval $1+=\$2
13525   }'
13526 else
13527   as_fn_append ()
13528   {
13529     eval $1=\$$1\$2
13530   }
13531 fi # as_fn_append
13532
13533 # as_fn_arith ARG...
13534 # ------------------
13535 # Perform arithmetic evaluation on the ARGs, and store the result in the
13536 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13537 # must be portable across $(()) and expr.
13538 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13539   eval 'as_fn_arith ()
13540   {
13541     as_val=$(( $* ))
13542   }'
13543 else
13544   as_fn_arith ()
13545   {
13546     as_val=`expr "$@" || test $? -eq 1`
13547   }
13548 fi # as_fn_arith
13549
13550
13551 if expr a : '\(a\)' >/dev/null 2>&1 &&
13552    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13553   as_expr=expr
13554 else
13555   as_expr=false
13556 fi
13557
13558 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13559   as_basename=basename
13560 else
13561   as_basename=false
13562 fi
13563
13564 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13565   as_dirname=dirname
13566 else
13567   as_dirname=false
13568 fi
13569
13570 as_me=`$as_basename -- "$0" ||
13571 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13572          X"$0" : 'X\(//\)$' \| \
13573          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13574 $as_echo X/"$0" |
13575     sed '/^.*\/\([^/][^/]*\)\/*$/{
13576             s//\1/
13577             q
13578           }
13579           /^X\/\(\/\/\)$/{
13580             s//\1/
13581             q
13582           }
13583           /^X\/\(\/\).*/{
13584             s//\1/
13585             q
13586           }
13587           s/.*/./; q'`
13588
13589 # Avoid depending upon Character Ranges.
13590 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13591 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13592 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13593 as_cr_digits='0123456789'
13594 as_cr_alnum=$as_cr_Letters$as_cr_digits
13595
13596 ECHO_C= ECHO_N= ECHO_T=
13597 case `echo -n x` in #(((((
13598 -n*)
13599   case `echo 'xy\c'` in
13600   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13601   xy)  ECHO_C='\c';;
13602   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13603        ECHO_T=' ';;
13604   esac;;
13605 *)
13606   ECHO_N='-n';;
13607 esac
13608
13609 rm -f conf$$ conf$$.exe conf$$.file
13610 if test -d conf$$.dir; then
13611   rm -f conf$$.dir/conf$$.file
13612 else
13613   rm -f conf$$.dir
13614   mkdir conf$$.dir 2>/dev/null
13615 fi
13616 if (echo >conf$$.file) 2>/dev/null; then
13617   if ln -s conf$$.file conf$$ 2>/dev/null; then
13618     as_ln_s='ln -s'
13619     # ... but there are two gotchas:
13620     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13621     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13622     # In both cases, we have to default to `cp -pR'.
13623     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13624       as_ln_s='cp -pR'
13625   elif ln conf$$.file conf$$ 2>/dev/null; then
13626     as_ln_s=ln
13627   else
13628     as_ln_s='cp -pR'
13629   fi
13630 else
13631   as_ln_s='cp -pR'
13632 fi
13633 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13634 rmdir conf$$.dir 2>/dev/null
13635
13636
13637 # as_fn_mkdir_p
13638 # -------------
13639 # Create "$as_dir" as a directory, including parents if necessary.
13640 as_fn_mkdir_p ()
13641 {
13642
13643   case $as_dir in #(
13644   -*) as_dir=./$as_dir;;
13645   esac
13646   test -d "$as_dir" || eval $as_mkdir_p || {
13647     as_dirs=
13648     while :; do
13649       case $as_dir in #(
13650       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13651       *) as_qdir=$as_dir;;
13652       esac
13653       as_dirs="'$as_qdir' $as_dirs"
13654       as_dir=`$as_dirname -- "$as_dir" ||
13655 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13656          X"$as_dir" : 'X\(//\)[^/]' \| \
13657          X"$as_dir" : 'X\(//\)$' \| \
13658          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13659 $as_echo X"$as_dir" |
13660     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13661             s//\1/
13662             q
13663           }
13664           /^X\(\/\/\)[^/].*/{
13665             s//\1/
13666             q
13667           }
13668           /^X\(\/\/\)$/{
13669             s//\1/
13670             q
13671           }
13672           /^X\(\/\).*/{
13673             s//\1/
13674             q
13675           }
13676           s/.*/./; q'`
13677       test -d "$as_dir" && break
13678     done
13679     test -z "$as_dirs" || eval "mkdir $as_dirs"
13680   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13681
13682
13683 } # as_fn_mkdir_p
13684 if mkdir -p . 2>/dev/null; then
13685   as_mkdir_p='mkdir -p "$as_dir"'
13686 else
13687   test -d ./-p && rmdir ./-p
13688   as_mkdir_p=false
13689 fi
13690
13691
13692 # as_fn_executable_p FILE
13693 # -----------------------
13694 # Test if FILE is an executable regular file.
13695 as_fn_executable_p ()
13696 {
13697   test -f "$1" && test -x "$1"
13698 } # as_fn_executable_p
13699 as_test_x='test -x'
13700 as_executable_p=as_fn_executable_p
13701
13702 # Sed expression to map a string onto a valid CPP name.
13703 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13704
13705 # Sed expression to map a string onto a valid variable name.
13706 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13707
13708
13709 exec 6>&1
13710 ## ----------------------------------- ##
13711 ## Main body of $CONFIG_STATUS script. ##
13712 ## ----------------------------------- ##
13713 _ASEOF
13714 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13715
13716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13717 # Save the log message, to keep $0 and so on meaningful, and to
13718 # report actual input values of CONFIG_FILES etc. instead of their
13719 # values after options handling.
13720 ac_log="
13721 This file was extended by gssdp $as_me 0.14.3, which was
13722 generated by GNU Autoconf 2.69.  Invocation command line was
13723
13724   CONFIG_FILES    = $CONFIG_FILES
13725   CONFIG_HEADERS  = $CONFIG_HEADERS
13726   CONFIG_LINKS    = $CONFIG_LINKS
13727   CONFIG_COMMANDS = $CONFIG_COMMANDS
13728   $ $0 $@
13729
13730 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13731 "
13732
13733 _ACEOF
13734
13735 case $ac_config_files in *"
13736 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13737 esac
13738
13739 case $ac_config_headers in *"
13740 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13741 esac
13742
13743
13744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13745 # Files that config.status was made for.
13746 config_files="$ac_config_files"
13747 config_headers="$ac_config_headers"
13748 config_commands="$ac_config_commands"
13749
13750 _ACEOF
13751
13752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13753 ac_cs_usage="\
13754 \`$as_me' instantiates files and other configuration actions
13755 from templates according to the current configuration.  Unless the files
13756 and actions are specified as TAGs, all are instantiated by default.
13757
13758 Usage: $0 [OPTION]... [TAG]...
13759
13760   -h, --help       print this help, then exit
13761   -V, --version    print version number and configuration settings, then exit
13762       --config     print configuration, then exit
13763   -q, --quiet, --silent
13764                    do not print progress messages
13765   -d, --debug      don't remove temporary files
13766       --recheck    update $as_me by reconfiguring in the same conditions
13767       --file=FILE[:TEMPLATE]
13768                    instantiate the configuration file FILE
13769       --header=FILE[:TEMPLATE]
13770                    instantiate the configuration header FILE
13771
13772 Configuration files:
13773 $config_files
13774
13775 Configuration headers:
13776 $config_headers
13777
13778 Configuration commands:
13779 $config_commands
13780
13781 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gssdp>.
13782 gssdp home page: <http://www.gupnp.org/>."
13783
13784 _ACEOF
13785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13786 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13787 ac_cs_version="\\
13788 gssdp config.status 0.14.3
13789 configured by $0, generated by GNU Autoconf 2.69,
13790   with options \\"\$ac_cs_config\\"
13791
13792 Copyright (C) 2012 Free Software Foundation, Inc.
13793 This config.status script is free software; the Free Software Foundation
13794 gives unlimited permission to copy, distribute and modify it."
13795
13796 ac_pwd='$ac_pwd'
13797 srcdir='$srcdir'
13798 INSTALL='$INSTALL'
13799 MKDIR_P='$MKDIR_P'
13800 AWK='$AWK'
13801 test -n "\$AWK" || AWK=awk
13802 _ACEOF
13803
13804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13805 # The default lists apply if the user does not specify any file.
13806 ac_need_defaults=:
13807 while test $# != 0
13808 do
13809   case $1 in
13810   --*=?*)
13811     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13812     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13813     ac_shift=:
13814     ;;
13815   --*=)
13816     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13817     ac_optarg=
13818     ac_shift=:
13819     ;;
13820   *)
13821     ac_option=$1
13822     ac_optarg=$2
13823     ac_shift=shift
13824     ;;
13825   esac
13826
13827   case $ac_option in
13828   # Handling of the options.
13829   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13830     ac_cs_recheck=: ;;
13831   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13832     $as_echo "$ac_cs_version"; exit ;;
13833   --config | --confi | --conf | --con | --co | --c )
13834     $as_echo "$ac_cs_config"; exit ;;
13835   --debug | --debu | --deb | --de | --d | -d )
13836     debug=: ;;
13837   --file | --fil | --fi | --f )
13838     $ac_shift
13839     case $ac_optarg in
13840     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13841     '') as_fn_error $? "missing file argument" ;;
13842     esac
13843     as_fn_append CONFIG_FILES " '$ac_optarg'"
13844     ac_need_defaults=false;;
13845   --header | --heade | --head | --hea )
13846     $ac_shift
13847     case $ac_optarg in
13848     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13849     esac
13850     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13851     ac_need_defaults=false;;
13852   --he | --h)
13853     # Conflict between --help and --header
13854     as_fn_error $? "ambiguous option: \`$1'
13855 Try \`$0 --help' for more information.";;
13856   --help | --hel | -h )
13857     $as_echo "$ac_cs_usage"; exit ;;
13858   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13859   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13860     ac_cs_silent=: ;;
13861
13862   # This is an error.
13863   -*) as_fn_error $? "unrecognized option: \`$1'
13864 Try \`$0 --help' for more information." ;;
13865
13866   *) as_fn_append ac_config_targets " $1"
13867      ac_need_defaults=false ;;
13868
13869   esac
13870   shift
13871 done
13872
13873 ac_configure_extra_args=
13874
13875 if $ac_cs_silent; then
13876   exec 6>/dev/null
13877   ac_configure_extra_args="$ac_configure_extra_args --silent"
13878 fi
13879
13880 _ACEOF
13881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13882 if \$ac_cs_recheck; then
13883   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13884   shift
13885   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13886   CONFIG_SHELL='$SHELL'
13887   export CONFIG_SHELL
13888   exec "\$@"
13889 fi
13890
13891 _ACEOF
13892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13893 exec 5>>config.log
13894 {
13895   echo
13896   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13897 ## Running $as_me. ##
13898 _ASBOX
13899   $as_echo "$ac_log"
13900 } >&5
13901
13902 _ACEOF
13903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13904 #
13905 # INIT-COMMANDS
13906 #
13907 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13908
13909
13910 # The HP-UX ksh and POSIX shell print the target directory to stdout
13911 # if CDPATH is set.
13912 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13913
13914 sed_quote_subst='$sed_quote_subst'
13915 double_quote_subst='$double_quote_subst'
13916 delay_variable_subst='$delay_variable_subst'
13917 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13918 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13919 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13920 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13921 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13922 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13923 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13924 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13925 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13926 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13927 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13928 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13929 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13930 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13931 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13932 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13933 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13934 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13935 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13936 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13937 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13938 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13939 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13940 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13941 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13942 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13943 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13944 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13945 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13946 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13947 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13948 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13949 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13950 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13951 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13952 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13953 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13954 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13955 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13956 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13957 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13958 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13959 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13960 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13961 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13962 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13963 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13964 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13965 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13966 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13967 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13968 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13969 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13970 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13971 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13972 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13973 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
13974 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13975 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13976 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13977 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13978 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13979 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13980 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13981 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13982 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13983 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13984 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13985 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13986 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13987 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13988 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13989 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13990 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13991 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13992 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13993 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13994 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13995 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13996 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13997 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13998 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13999 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14000 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14001 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14002 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14003 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14004 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14005 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14006 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14007 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14008 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14009 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14010 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14011 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14012 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14013 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14014 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14015 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14016 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14017 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14018 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14019 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14020 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14021 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14022 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14023 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14024 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14025 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14026 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14027 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14028 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14029 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14030 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14031 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14032 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14033 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14034 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14035 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14036 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14037 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14038 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14039 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14040 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14041 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14042 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14043 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14044 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14045 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14046 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14047
14048 LTCC='$LTCC'
14049 LTCFLAGS='$LTCFLAGS'
14050 compiler='$compiler_DEFAULT'
14051
14052 # A function that is used when there is no print builtin or printf.
14053 func_fallback_echo ()
14054 {
14055   eval 'cat <<_LTECHO_EOF
14056 \$1
14057 _LTECHO_EOF'
14058 }
14059
14060 # Quote evaled strings.
14061 for var in SHELL \
14062 ECHO \
14063 PATH_SEPARATOR \
14064 SED \
14065 GREP \
14066 EGREP \
14067 FGREP \
14068 LD \
14069 NM \
14070 LN_S \
14071 lt_SP2NL \
14072 lt_NL2SP \
14073 reload_flag \
14074 OBJDUMP \
14075 deplibs_check_method \
14076 file_magic_cmd \
14077 file_magic_glob \
14078 want_nocaseglob \
14079 DLLTOOL \
14080 sharedlib_from_linklib_cmd \
14081 AR \
14082 AR_FLAGS \
14083 archiver_list_spec \
14084 STRIP \
14085 RANLIB \
14086 CC \
14087 CFLAGS \
14088 compiler \
14089 lt_cv_sys_global_symbol_pipe \
14090 lt_cv_sys_global_symbol_to_cdecl \
14091 lt_cv_sys_global_symbol_to_c_name_address \
14092 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14093 nm_file_list_spec \
14094 lt_prog_compiler_no_builtin_flag \
14095 lt_prog_compiler_pic \
14096 lt_prog_compiler_wl \
14097 lt_prog_compiler_static \
14098 lt_cv_prog_compiler_c_o \
14099 need_locks \
14100 MANIFEST_TOOL \
14101 DSYMUTIL \
14102 NMEDIT \
14103 LIPO \
14104 OTOOL \
14105 OTOOL64 \
14106 shrext_cmds \
14107 export_dynamic_flag_spec \
14108 whole_archive_flag_spec \
14109 compiler_needs_object \
14110 with_gnu_ld \
14111 allow_undefined_flag \
14112 no_undefined_flag \
14113 hardcode_libdir_flag_spec \
14114 hardcode_libdir_separator \
14115 exclude_expsyms \
14116 include_expsyms \
14117 file_list_spec \
14118 variables_saved_for_relink \
14119 libname_spec \
14120 library_names_spec \
14121 soname_spec \
14122 install_override_mode \
14123 finish_eval \
14124 old_striplib \
14125 striplib; do
14126     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14127     *[\\\\\\\`\\"\\\$]*)
14128       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14129       ;;
14130     *)
14131       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14132       ;;
14133     esac
14134 done
14135
14136 # Double-quote double-evaled strings.
14137 for var in reload_cmds \
14138 old_postinstall_cmds \
14139 old_postuninstall_cmds \
14140 old_archive_cmds \
14141 extract_expsyms_cmds \
14142 old_archive_from_new_cmds \
14143 old_archive_from_expsyms_cmds \
14144 archive_cmds \
14145 archive_expsym_cmds \
14146 module_cmds \
14147 module_expsym_cmds \
14148 export_symbols_cmds \
14149 prelink_cmds \
14150 postlink_cmds \
14151 postinstall_cmds \
14152 postuninstall_cmds \
14153 finish_cmds \
14154 sys_lib_search_path_spec \
14155 sys_lib_dlsearch_path_spec; do
14156     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14157     *[\\\\\\\`\\"\\\$]*)
14158       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14159       ;;
14160     *)
14161       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14162       ;;
14163     esac
14164 done
14165
14166 ac_aux_dir='$ac_aux_dir'
14167 xsi_shell='$xsi_shell'
14168 lt_shell_append='$lt_shell_append'
14169
14170 # See if we are running on zsh, and set the options which allow our
14171 # commands through without removal of \ escapes INIT.
14172 if test -n "\${ZSH_VERSION+set}" ; then
14173    setopt NO_GLOB_SUBST
14174 fi
14175
14176
14177     PACKAGE='$PACKAGE'
14178     VERSION='$VERSION'
14179     TIMESTAMP='$TIMESTAMP'
14180     RM='$RM'
14181     ofile='$ofile'
14182
14183
14184
14185
14186 _ACEOF
14187
14188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14189
14190 # Handling of arguments.
14191 for ac_config_target in $ac_config_targets
14192 do
14193   case $ac_config_target in
14194     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14195     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14196     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14197     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14198     "libgssdp/Makefile") CONFIG_FILES="$CONFIG_FILES libgssdp/Makefile" ;;
14199     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14200     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14201     "tests/gtest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/gtest/Makefile" ;;
14202     "vala/Makefile") CONFIG_FILES="$CONFIG_FILES vala/Makefile" ;;
14203     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14204     "doc/version.xml") CONFIG_FILES="$CONFIG_FILES doc/version.xml" ;;
14205     "gssdp-1.0.pc") CONFIG_FILES="$CONFIG_FILES gssdp-1.0.pc" ;;
14206     "gssdp-1.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gssdp-1.0-uninstalled.pc" ;;
14207
14208   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14209   esac
14210 done
14211
14212
14213 # If the user did not use the arguments to specify the items to instantiate,
14214 # then the envvar interface is used.  Set only those that are not.
14215 # We use the long form for the default assignment because of an extremely
14216 # bizarre bug on SunOS 4.1.3.
14217 if $ac_need_defaults; then
14218   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14219   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14220   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14221 fi
14222
14223 # Have a temporary directory for convenience.  Make it in the build tree
14224 # simply because there is no reason against having it here, and in addition,
14225 # creating and moving files from /tmp can sometimes cause problems.
14226 # Hook for its removal unless debugging.
14227 # Note that there is a small window in which the directory will not be cleaned:
14228 # after its creation but before its name has been assigned to `$tmp'.
14229 $debug ||
14230 {
14231   tmp= ac_tmp=
14232   trap 'exit_status=$?
14233   : "${ac_tmp:=$tmp}"
14234   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14235 ' 0
14236   trap 'as_fn_exit 1' 1 2 13 15
14237 }
14238 # Create a (secure) tmp directory for tmp files.
14239
14240 {
14241   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14242   test -d "$tmp"
14243 }  ||
14244 {
14245   tmp=./conf$$-$RANDOM
14246   (umask 077 && mkdir "$tmp")
14247 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14248 ac_tmp=$tmp
14249
14250 # Set up the scripts for CONFIG_FILES section.
14251 # No need to generate them if there are no CONFIG_FILES.
14252 # This happens for instance with `./config.status config.h'.
14253 if test -n "$CONFIG_FILES"; then
14254
14255
14256 ac_cr=`echo X | tr X '\015'`
14257 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14258 # But we know of no other shell where ac_cr would be empty at this
14259 # point, so we can use a bashism as a fallback.
14260 if test "x$ac_cr" = x; then
14261   eval ac_cr=\$\'\\r\'
14262 fi
14263 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14264 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14265   ac_cs_awk_cr='\\r'
14266 else
14267   ac_cs_awk_cr=$ac_cr
14268 fi
14269
14270 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14271 _ACEOF
14272
14273
14274 {
14275   echo "cat >conf$$subs.awk <<_ACEOF" &&
14276   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14277   echo "_ACEOF"
14278 } >conf$$subs.sh ||
14279   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14280 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14281 ac_delim='%!_!# '
14282 for ac_last_try in false false false false false :; do
14283   . ./conf$$subs.sh ||
14284     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14285
14286   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14287   if test $ac_delim_n = $ac_delim_num; then
14288     break
14289   elif $ac_last_try; then
14290     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14291   else
14292     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14293   fi
14294 done
14295 rm -f conf$$subs.sh
14296
14297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14298 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14299 _ACEOF
14300 sed -n '
14301 h
14302 s/^/S["/; s/!.*/"]=/
14303 p
14304 g
14305 s/^[^!]*!//
14306 :repl
14307 t repl
14308 s/'"$ac_delim"'$//
14309 t delim
14310 :nl
14311 h
14312 s/\(.\{148\}\)..*/\1/
14313 t more1
14314 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14315 p
14316 n
14317 b repl
14318 :more1
14319 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14320 p
14321 g
14322 s/.\{148\}//
14323 t nl
14324 :delim
14325 h
14326 s/\(.\{148\}\)..*/\1/
14327 t more2
14328 s/["\\]/\\&/g; s/^/"/; s/$/"/
14329 p
14330 b
14331 :more2
14332 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14333 p
14334 g
14335 s/.\{148\}//
14336 t delim
14337 ' <conf$$subs.awk | sed '
14338 /^[^""]/{
14339   N
14340   s/\n//
14341 }
14342 ' >>$CONFIG_STATUS || ac_write_fail=1
14343 rm -f conf$$subs.awk
14344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14345 _ACAWK
14346 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14347   for (key in S) S_is_set[key] = 1
14348   FS = "\a"
14349
14350 }
14351 {
14352   line = $ 0
14353   nfields = split(line, field, "@")
14354   substed = 0
14355   len = length(field[1])
14356   for (i = 2; i < nfields; i++) {
14357     key = field[i]
14358     keylen = length(key)
14359     if (S_is_set[key]) {
14360       value = S[key]
14361       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14362       len += length(value) + length(field[++i])
14363       substed = 1
14364     } else
14365       len += 1 + keylen
14366   }
14367
14368   print line
14369 }
14370
14371 _ACAWK
14372 _ACEOF
14373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14374 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14375   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14376 else
14377   cat
14378 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14379   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14380 _ACEOF
14381
14382 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14383 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14384 # trailing colons and then remove the whole line if VPATH becomes empty
14385 # (actually we leave an empty line to preserve line numbers).
14386 if test "x$srcdir" = x.; then
14387   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14388 h
14389 s///
14390 s/^/:/
14391 s/[      ]*$/:/
14392 s/:\$(srcdir):/:/g
14393 s/:\${srcdir}:/:/g
14394 s/:@srcdir@:/:/g
14395 s/^:*//
14396 s/:*$//
14397 x
14398 s/\(=[   ]*\).*/\1/
14399 G
14400 s/\n//
14401 s/^[^=]*=[       ]*$//
14402 }'
14403 fi
14404
14405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14406 fi # test -n "$CONFIG_FILES"
14407
14408 # Set up the scripts for CONFIG_HEADERS section.
14409 # No need to generate them if there are no CONFIG_HEADERS.
14410 # This happens for instance with `./config.status Makefile'.
14411 if test -n "$CONFIG_HEADERS"; then
14412 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14413 BEGIN {
14414 _ACEOF
14415
14416 # Transform confdefs.h into an awk script `defines.awk', embedded as
14417 # here-document in config.status, that substitutes the proper values into
14418 # config.h.in to produce config.h.
14419
14420 # Create a delimiter string that does not exist in confdefs.h, to ease
14421 # handling of long lines.
14422 ac_delim='%!_!# '
14423 for ac_last_try in false false :; do
14424   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14425   if test -z "$ac_tt"; then
14426     break
14427   elif $ac_last_try; then
14428     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14429   else
14430     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14431   fi
14432 done
14433
14434 # For the awk script, D is an array of macro values keyed by name,
14435 # likewise P contains macro parameters if any.  Preserve backslash
14436 # newline sequences.
14437
14438 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14439 sed -n '
14440 s/.\{148\}/&'"$ac_delim"'/g
14441 t rset
14442 :rset
14443 s/^[     ]*#[    ]*define[       ][      ]*/ /
14444 t def
14445 d
14446 :def
14447 s/\\$//
14448 t bsnl
14449 s/["\\]/\\&/g
14450 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14451 D["\1"]=" \3"/p
14452 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14453 d
14454 :bsnl
14455 s/["\\]/\\&/g
14456 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14457 D["\1"]=" \3\\\\\\n"\\/p
14458 t cont
14459 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14460 t cont
14461 d
14462 :cont
14463 n
14464 s/.\{148\}/&'"$ac_delim"'/g
14465 t clear
14466 :clear
14467 s/\\$//
14468 t bsnlc
14469 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14470 d
14471 :bsnlc
14472 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14473 b cont
14474 ' <confdefs.h | sed '
14475 s/'"$ac_delim"'/"\\\
14476 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14477
14478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14479   for (key in D) D_is_set[key] = 1
14480   FS = "\a"
14481 }
14482 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14483   line = \$ 0
14484   split(line, arg, " ")
14485   if (arg[1] == "#") {
14486     defundef = arg[2]
14487     mac1 = arg[3]
14488   } else {
14489     defundef = substr(arg[1], 2)
14490     mac1 = arg[2]
14491   }
14492   split(mac1, mac2, "(") #)
14493   macro = mac2[1]
14494   prefix = substr(line, 1, index(line, defundef) - 1)
14495   if (D_is_set[macro]) {
14496     # Preserve the white space surrounding the "#".
14497     print prefix "define", macro P[macro] D[macro]
14498     next
14499   } else {
14500     # Replace #undef with comments.  This is necessary, for example,
14501     # in the case of _POSIX_SOURCE, which is predefined and required
14502     # on some systems where configure will not decide to define it.
14503     if (defundef == "undef") {
14504       print "/*", prefix defundef, macro, "*/"
14505       next
14506     }
14507   }
14508 }
14509 { print }
14510 _ACAWK
14511 _ACEOF
14512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14513   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14514 fi # test -n "$CONFIG_HEADERS"
14515
14516
14517 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14518 shift
14519 for ac_tag
14520 do
14521   case $ac_tag in
14522   :[FHLC]) ac_mode=$ac_tag; continue;;
14523   esac
14524   case $ac_mode$ac_tag in
14525   :[FHL]*:*);;
14526   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14527   :[FH]-) ac_tag=-:-;;
14528   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14529   esac
14530   ac_save_IFS=$IFS
14531   IFS=:
14532   set x $ac_tag
14533   IFS=$ac_save_IFS
14534   shift
14535   ac_file=$1
14536   shift
14537
14538   case $ac_mode in
14539   :L) ac_source=$1;;
14540   :[FH])
14541     ac_file_inputs=
14542     for ac_f
14543     do
14544       case $ac_f in
14545       -) ac_f="$ac_tmp/stdin";;
14546       *) # Look for the file first in the build tree, then in the source tree
14547          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14548          # because $ac_f cannot contain `:'.
14549          test -f "$ac_f" ||
14550            case $ac_f in
14551            [\\/$]*) false;;
14552            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14553            esac ||
14554            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14555       esac
14556       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14557       as_fn_append ac_file_inputs " '$ac_f'"
14558     done
14559
14560     # Let's still pretend it is `configure' which instantiates (i.e., don't
14561     # use $as_me), people would be surprised to read:
14562     #    /* config.h.  Generated by config.status.  */
14563     configure_input='Generated from '`
14564           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14565         `' by configure.'
14566     if test x"$ac_file" != x-; then
14567       configure_input="$ac_file.  $configure_input"
14568       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14569 $as_echo "$as_me: creating $ac_file" >&6;}
14570     fi
14571     # Neutralize special characters interpreted by sed in replacement strings.
14572     case $configure_input in #(
14573     *\&* | *\|* | *\\* )
14574        ac_sed_conf_input=`$as_echo "$configure_input" |
14575        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14576     *) ac_sed_conf_input=$configure_input;;
14577     esac
14578
14579     case $ac_tag in
14580     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14581       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14582     esac
14583     ;;
14584   esac
14585
14586   ac_dir=`$as_dirname -- "$ac_file" ||
14587 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14588          X"$ac_file" : 'X\(//\)[^/]' \| \
14589          X"$ac_file" : 'X\(//\)$' \| \
14590          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14591 $as_echo X"$ac_file" |
14592     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14593             s//\1/
14594             q
14595           }
14596           /^X\(\/\/\)[^/].*/{
14597             s//\1/
14598             q
14599           }
14600           /^X\(\/\/\)$/{
14601             s//\1/
14602             q
14603           }
14604           /^X\(\/\).*/{
14605             s//\1/
14606             q
14607           }
14608           s/.*/./; q'`
14609   as_dir="$ac_dir"; as_fn_mkdir_p
14610   ac_builddir=.
14611
14612 case "$ac_dir" in
14613 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14614 *)
14615   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14616   # A ".." for each directory in $ac_dir_suffix.
14617   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14618   case $ac_top_builddir_sub in
14619   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14620   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14621   esac ;;
14622 esac
14623 ac_abs_top_builddir=$ac_pwd
14624 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14625 # for backward compatibility:
14626 ac_top_builddir=$ac_top_build_prefix
14627
14628 case $srcdir in
14629   .)  # We are building in place.
14630     ac_srcdir=.
14631     ac_top_srcdir=$ac_top_builddir_sub
14632     ac_abs_top_srcdir=$ac_pwd ;;
14633   [\\/]* | ?:[\\/]* )  # Absolute name.
14634     ac_srcdir=$srcdir$ac_dir_suffix;
14635     ac_top_srcdir=$srcdir
14636     ac_abs_top_srcdir=$srcdir ;;
14637   *) # Relative name.
14638     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14639     ac_top_srcdir=$ac_top_build_prefix$srcdir
14640     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14641 esac
14642 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14643
14644
14645   case $ac_mode in
14646   :F)
14647   #
14648   # CONFIG_FILE
14649   #
14650
14651   case $INSTALL in
14652   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14653   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14654   esac
14655   ac_MKDIR_P=$MKDIR_P
14656   case $MKDIR_P in
14657   [\\/$]* | ?:[\\/]* ) ;;
14658   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14659   esac
14660 _ACEOF
14661
14662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14663 # If the template does not know about datarootdir, expand it.
14664 # FIXME: This hack should be removed a few years after 2.60.
14665 ac_datarootdir_hack=; ac_datarootdir_seen=
14666 ac_sed_dataroot='
14667 /datarootdir/ {
14668   p
14669   q
14670 }
14671 /@datadir@/p
14672 /@docdir@/p
14673 /@infodir@/p
14674 /@localedir@/p
14675 /@mandir@/p'
14676 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14677 *datarootdir*) ac_datarootdir_seen=yes;;
14678 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14679   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14680 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14681 _ACEOF
14682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14683   ac_datarootdir_hack='
14684   s&@datadir@&$datadir&g
14685   s&@docdir@&$docdir&g
14686   s&@infodir@&$infodir&g
14687   s&@localedir@&$localedir&g
14688   s&@mandir@&$mandir&g
14689   s&\\\${datarootdir}&$datarootdir&g' ;;
14690 esac
14691 _ACEOF
14692
14693 # Neutralize VPATH when `$srcdir' = `.'.
14694 # Shell code in configure.ac might set extrasub.
14695 # FIXME: do we really want to maintain this feature?
14696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14697 ac_sed_extra="$ac_vpsub
14698 $extrasub
14699 _ACEOF
14700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14701 :t
14702 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14703 s|@configure_input@|$ac_sed_conf_input|;t t
14704 s&@top_builddir@&$ac_top_builddir_sub&;t t
14705 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14706 s&@srcdir@&$ac_srcdir&;t t
14707 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14708 s&@top_srcdir@&$ac_top_srcdir&;t t
14709 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14710 s&@builddir@&$ac_builddir&;t t
14711 s&@abs_builddir@&$ac_abs_builddir&;t t
14712 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14713 s&@INSTALL@&$ac_INSTALL&;t t
14714 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14715 $ac_datarootdir_hack
14716 "
14717 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14718   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14719
14720 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14721   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14722   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14723       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14724   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14725 which seems to be undefined.  Please make sure it is defined" >&5
14726 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14727 which seems to be undefined.  Please make sure it is defined" >&2;}
14728
14729   rm -f "$ac_tmp/stdin"
14730   case $ac_file in
14731   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14732   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14733   esac \
14734   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14735  ;;
14736   :H)
14737   #
14738   # CONFIG_HEADER
14739   #
14740   if test x"$ac_file" != x-; then
14741     {
14742       $as_echo "/* $configure_input  */" \
14743       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14744     } >"$ac_tmp/config.h" \
14745       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14746     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14747       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14748 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14749     else
14750       rm -f "$ac_file"
14751       mv "$ac_tmp/config.h" "$ac_file" \
14752         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14753     fi
14754   else
14755     $as_echo "/* $configure_input  */" \
14756       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14757       || as_fn_error $? "could not create -" "$LINENO" 5
14758   fi
14759 # Compute "$ac_file"'s index in $config_headers.
14760 _am_arg="$ac_file"
14761 _am_stamp_count=1
14762 for _am_header in $config_headers :; do
14763   case $_am_header in
14764     $_am_arg | $_am_arg:* )
14765       break ;;
14766     * )
14767       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14768   esac
14769 done
14770 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14771 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14772          X"$_am_arg" : 'X\(//\)[^/]' \| \
14773          X"$_am_arg" : 'X\(//\)$' \| \
14774          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14775 $as_echo X"$_am_arg" |
14776     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14777             s//\1/
14778             q
14779           }
14780           /^X\(\/\/\)[^/].*/{
14781             s//\1/
14782             q
14783           }
14784           /^X\(\/\/\)$/{
14785             s//\1/
14786             q
14787           }
14788           /^X\(\/\).*/{
14789             s//\1/
14790             q
14791           }
14792           s/.*/./; q'`/stamp-h$_am_stamp_count
14793  ;;
14794
14795   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14796 $as_echo "$as_me: executing $ac_file commands" >&6;}
14797  ;;
14798   esac
14799
14800
14801   case $ac_file$ac_mode in
14802     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14803   # Autoconf 2.62 quotes --file arguments for eval, but not when files
14804   # are listed without --file.  Let's play safe and only enable the eval
14805   # if we detect the quoting.
14806   case $CONFIG_FILES in
14807   *\'*) eval set x "$CONFIG_FILES" ;;
14808   *)   set x $CONFIG_FILES ;;
14809   esac
14810   shift
14811   for mf
14812   do
14813     # Strip MF so we end up with the name of the file.
14814     mf=`echo "$mf" | sed -e 's/:.*$//'`
14815     # Check whether this is an Automake generated Makefile or not.
14816     # We used to match only the files named `Makefile.in', but
14817     # some people rename them; so instead we look at the file content.
14818     # Grep'ing the first line is not enough: some people post-process
14819     # each Makefile.in and add a new line on top of each file to say so.
14820     # Grep'ing the whole file is not good either: AIX grep has a line
14821     # limit of 2048, but all sed's we know have understand at least 4000.
14822     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14823       dirpart=`$as_dirname -- "$mf" ||
14824 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14825          X"$mf" : 'X\(//\)[^/]' \| \
14826          X"$mf" : 'X\(//\)$' \| \
14827          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14828 $as_echo X"$mf" |
14829     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14830             s//\1/
14831             q
14832           }
14833           /^X\(\/\/\)[^/].*/{
14834             s//\1/
14835             q
14836           }
14837           /^X\(\/\/\)$/{
14838             s//\1/
14839             q
14840           }
14841           /^X\(\/\).*/{
14842             s//\1/
14843             q
14844           }
14845           s/.*/./; q'`
14846     else
14847       continue
14848     fi
14849     # Extract the definition of DEPDIR, am__include, and am__quote
14850     # from the Makefile without running `make'.
14851     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14852     test -z "$DEPDIR" && continue
14853     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14854     test -z "am__include" && continue
14855     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14856     # When using ansi2knr, U may be empty or an underscore; expand it
14857     U=`sed -n 's/^U = //p' < "$mf"`
14858     # Find all dependency output files, they are included files with
14859     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14860     # simplest approach to changing $(DEPDIR) to its actual value in the
14861     # expansion.
14862     for file in `sed -n "
14863       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14864          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14865       # Make sure the directory exists.
14866       test -f "$dirpart/$file" && continue
14867       fdir=`$as_dirname -- "$file" ||
14868 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14869          X"$file" : 'X\(//\)[^/]' \| \
14870          X"$file" : 'X\(//\)$' \| \
14871          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14872 $as_echo X"$file" |
14873     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14874             s//\1/
14875             q
14876           }
14877           /^X\(\/\/\)[^/].*/{
14878             s//\1/
14879             q
14880           }
14881           /^X\(\/\/\)$/{
14882             s//\1/
14883             q
14884           }
14885           /^X\(\/\).*/{
14886             s//\1/
14887             q
14888           }
14889           s/.*/./; q'`
14890       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14891       # echo "creating $dirpart/$file"
14892       echo '# dummy' > "$dirpart/$file"
14893     done
14894   done
14895 }
14896  ;;
14897     "libtool":C)
14898
14899     # See if we are running on zsh, and set the options which allow our
14900     # commands through without removal of \ escapes.
14901     if test -n "${ZSH_VERSION+set}" ; then
14902       setopt NO_GLOB_SUBST
14903     fi
14904
14905     cfgfile="${ofile}T"
14906     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14907     $RM "$cfgfile"
14908
14909     cat <<_LT_EOF >> "$cfgfile"
14910 #! $SHELL
14911
14912 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14913 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14914 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14915 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14916 #
14917 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14918 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14919 #                 Foundation, Inc.
14920 #   Written by Gordon Matzigkeit, 1996
14921 #
14922 #   This file is part of GNU Libtool.
14923 #
14924 # GNU Libtool is free software; you can redistribute it and/or
14925 # modify it under the terms of the GNU General Public License as
14926 # published by the Free Software Foundation; either version 2 of
14927 # the License, or (at your option) any later version.
14928 #
14929 # As a special exception to the GNU General Public License,
14930 # if you distribute this file as part of a program or library that
14931 # is built using GNU Libtool, you may include this file under the
14932 # same distribution terms that you use for the rest of that program.
14933 #
14934 # GNU Libtool is distributed in the hope that it will be useful,
14935 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14936 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14937 # GNU General Public License for more details.
14938 #
14939 # You should have received a copy of the GNU General Public License
14940 # along with GNU Libtool; see the file COPYING.  If not, a copy
14941 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14942 # obtained by writing to the Free Software Foundation, Inc.,
14943 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14944
14945
14946 # The names of the tagged configurations supported by this script.
14947 available_tags=""
14948
14949 # ### BEGIN LIBTOOL CONFIG
14950
14951 # Which release of libtool.m4 was used?
14952 macro_version=$macro_version
14953 macro_revision=$macro_revision
14954
14955 # Whether or not to build shared libraries.
14956 build_libtool_libs=$enable_shared
14957
14958 # Whether or not to build static libraries.
14959 build_old_libs=$enable_static
14960
14961 # What type of objects to build.
14962 pic_mode=$pic_mode
14963
14964 # Whether or not to optimize for fast installation.
14965 fast_install=$enable_fast_install
14966
14967 # Shell to use when invoking shell scripts.
14968 SHELL=$lt_SHELL
14969
14970 # An echo program that protects backslashes.
14971 ECHO=$lt_ECHO
14972
14973 # The PATH separator for the build system.
14974 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14975
14976 # The host system.
14977 host_alias=$host_alias
14978 host=$host
14979 host_os=$host_os
14980
14981 # The build system.
14982 build_alias=$build_alias
14983 build=$build
14984 build_os=$build_os
14985
14986 # A sed program that does not truncate output.
14987 SED=$lt_SED
14988
14989 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14990 Xsed="\$SED -e 1s/^X//"
14991
14992 # A grep program that handles long lines.
14993 GREP=$lt_GREP
14994
14995 # An ERE matcher.
14996 EGREP=$lt_EGREP
14997
14998 # A literal string matcher.
14999 FGREP=$lt_FGREP
15000
15001 # A BSD- or MS-compatible name lister.
15002 NM=$lt_NM
15003
15004 # Whether we need soft or hard links.
15005 LN_S=$lt_LN_S
15006
15007 # What is the maximum length of a command?
15008 max_cmd_len=$max_cmd_len
15009
15010 # Object file suffix (normally "o").
15011 objext=$ac_objext
15012
15013 # Executable file suffix (normally "").
15014 exeext=$exeext
15015
15016 # whether the shell understands "unset".
15017 lt_unset=$lt_unset
15018
15019 # turn spaces into newlines.
15020 SP2NL=$lt_lt_SP2NL
15021
15022 # turn newlines into spaces.
15023 NL2SP=$lt_lt_NL2SP
15024
15025 # convert \$build file names to \$host format.
15026 to_host_file_cmd=$lt_cv_to_host_file_cmd
15027
15028 # convert \$build files to toolchain format.
15029 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15030
15031 # An object symbol dumper.
15032 OBJDUMP=$lt_OBJDUMP
15033
15034 # Method to check whether dependent libraries are shared objects.
15035 deplibs_check_method=$lt_deplibs_check_method
15036
15037 # Command to use when deplibs_check_method = "file_magic".
15038 file_magic_cmd=$lt_file_magic_cmd
15039
15040 # How to find potential files when deplibs_check_method = "file_magic".
15041 file_magic_glob=$lt_file_magic_glob
15042
15043 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15044 want_nocaseglob=$lt_want_nocaseglob
15045
15046 # DLL creation program.
15047 DLLTOOL=$lt_DLLTOOL
15048
15049 # Command to associate shared and link libraries.
15050 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15051
15052 # The archiver.
15053 AR=$lt_AR
15054
15055 # Flags to create an archive.
15056 AR_FLAGS=$lt_AR_FLAGS
15057
15058 # How to feed a file listing to the archiver.
15059 archiver_list_spec=$lt_archiver_list_spec
15060
15061 # A symbol stripping program.
15062 STRIP=$lt_STRIP
15063
15064 # Commands used to install an old-style archive.
15065 RANLIB=$lt_RANLIB
15066 old_postinstall_cmds=$lt_old_postinstall_cmds
15067 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15068
15069 # Whether to use a lock for old archive extraction.
15070 lock_old_archive_extraction=$lock_old_archive_extraction
15071
15072 # A C compiler.
15073 LTCC=$lt_CC
15074
15075 # LTCC compiler flags.
15076 LTCFLAGS=$lt_CFLAGS
15077
15078 # Take the output of nm and produce a listing of raw symbols and C names.
15079 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15080
15081 # Transform the output of nm in a proper C declaration.
15082 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15083
15084 # Transform the output of nm in a C name address pair.
15085 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15086
15087 # Transform the output of nm in a C name address pair when lib prefix is needed.
15088 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15089
15090 # Specify filename containing input files for \$NM.
15091 nm_file_list_spec=$lt_nm_file_list_spec
15092
15093 # The root where to search for dependent libraries,and in which our libraries should be installed.
15094 lt_sysroot=$lt_sysroot
15095
15096 # The name of the directory that contains temporary libtool files.
15097 objdir=$objdir
15098
15099 # Used to examine libraries when file_magic_cmd begins with "file".
15100 MAGIC_CMD=$MAGIC_CMD
15101
15102 # Must we lock files when doing compilation?
15103 need_locks=$lt_need_locks
15104
15105 # Manifest tool.
15106 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15107
15108 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15109 DSYMUTIL=$lt_DSYMUTIL
15110
15111 # Tool to change global to local symbols on Mac OS X.
15112 NMEDIT=$lt_NMEDIT
15113
15114 # Tool to manipulate fat objects and archives on Mac OS X.
15115 LIPO=$lt_LIPO
15116
15117 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15118 OTOOL=$lt_OTOOL
15119
15120 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15121 OTOOL64=$lt_OTOOL64
15122
15123 # Old archive suffix (normally "a").
15124 libext=$libext
15125
15126 # Shared library suffix (normally ".so").
15127 shrext_cmds=$lt_shrext_cmds
15128
15129 # The commands to extract the exported symbol list from a shared archive.
15130 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15131
15132 # Variables whose values should be saved in libtool wrapper scripts and
15133 # restored at link time.
15134 variables_saved_for_relink=$lt_variables_saved_for_relink
15135
15136 # Do we need the "lib" prefix for modules?
15137 need_lib_prefix=$need_lib_prefix
15138
15139 # Do we need a version for libraries?
15140 need_version=$need_version
15141
15142 # Library versioning type.
15143 version_type=$version_type
15144
15145 # Shared library runtime path variable.
15146 runpath_var=$runpath_var
15147
15148 # Shared library path variable.
15149 shlibpath_var=$shlibpath_var
15150
15151 # Is shlibpath searched before the hard-coded library search path?
15152 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15153
15154 # Format of library name prefix.
15155 libname_spec=$lt_libname_spec
15156
15157 # List of archive names.  First name is the real one, the rest are links.
15158 # The last name is the one that the linker finds with -lNAME
15159 library_names_spec=$lt_library_names_spec
15160
15161 # The coded name of the library, if different from the real name.
15162 soname_spec=$lt_soname_spec
15163
15164 # Permission mode override for installation of shared libraries.
15165 install_override_mode=$lt_install_override_mode
15166
15167 # Command to use after installation of a shared archive.
15168 postinstall_cmds=$lt_postinstall_cmds
15169
15170 # Command to use after uninstallation of a shared archive.
15171 postuninstall_cmds=$lt_postuninstall_cmds
15172
15173 # Commands used to finish a libtool library installation in a directory.
15174 finish_cmds=$lt_finish_cmds
15175
15176 # As "finish_cmds", except a single script fragment to be evaled but
15177 # not shown.
15178 finish_eval=$lt_finish_eval
15179
15180 # Whether we should hardcode library paths into libraries.
15181 hardcode_into_libs=$hardcode_into_libs
15182
15183 # Compile-time system search path for libraries.
15184 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15185
15186 # Run-time system search path for libraries.
15187 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15188
15189 # Whether dlopen is supported.
15190 dlopen_support=$enable_dlopen
15191
15192 # Whether dlopen of programs is supported.
15193 dlopen_self=$enable_dlopen_self
15194
15195 # Whether dlopen of statically linked programs is supported.
15196 dlopen_self_static=$enable_dlopen_self_static
15197
15198 # Commands to strip libraries.
15199 old_striplib=$lt_old_striplib
15200 striplib=$lt_striplib
15201
15202
15203 # The linker used to build libraries.
15204 LD=$lt_LD
15205
15206 # How to create reloadable object files.
15207 reload_flag=$lt_reload_flag
15208 reload_cmds=$lt_reload_cmds
15209
15210 # Commands used to build an old-style archive.
15211 old_archive_cmds=$lt_old_archive_cmds
15212
15213 # A language specific compiler.
15214 CC=$lt_compiler
15215
15216 # Is the compiler the GNU compiler?
15217 with_gcc=$GCC
15218
15219 # Compiler flag to turn off builtin functions.
15220 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15221
15222 # Additional compiler flags for building library objects.
15223 pic_flag=$lt_lt_prog_compiler_pic
15224
15225 # How to pass a linker flag through the compiler.
15226 wl=$lt_lt_prog_compiler_wl
15227
15228 # Compiler flag to prevent dynamic linking.
15229 link_static_flag=$lt_lt_prog_compiler_static
15230
15231 # Does compiler simultaneously support -c and -o options?
15232 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15233
15234 # Whether or not to add -lc for building shared libraries.
15235 build_libtool_need_lc=$archive_cmds_need_lc
15236
15237 # Whether or not to disallow shared libs when runtime libs are static.
15238 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15239
15240 # Compiler flag to allow reflexive dlopens.
15241 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15242
15243 # Compiler flag to generate shared objects directly from archives.
15244 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15245
15246 # Whether the compiler copes with passing no objects directly.
15247 compiler_needs_object=$lt_compiler_needs_object
15248
15249 # Create an old-style archive from a shared archive.
15250 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15251
15252 # Create a temporary old-style archive to link instead of a shared archive.
15253 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15254
15255 # Commands used to build a shared archive.
15256 archive_cmds=$lt_archive_cmds
15257 archive_expsym_cmds=$lt_archive_expsym_cmds
15258
15259 # Commands used to build a loadable module if different from building
15260 # a shared archive.
15261 module_cmds=$lt_module_cmds
15262 module_expsym_cmds=$lt_module_expsym_cmds
15263
15264 # Whether we are building with GNU ld or not.
15265 with_gnu_ld=$lt_with_gnu_ld
15266
15267 # Flag that allows shared libraries with undefined symbols to be built.
15268 allow_undefined_flag=$lt_allow_undefined_flag
15269
15270 # Flag that enforces no undefined symbols.
15271 no_undefined_flag=$lt_no_undefined_flag
15272
15273 # Flag to hardcode \$libdir into a binary during linking.
15274 # This must work even if \$libdir does not exist
15275 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15276
15277 # Whether we need a single "-rpath" flag with a separated argument.
15278 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15279
15280 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15281 # DIR into the resulting binary.
15282 hardcode_direct=$hardcode_direct
15283
15284 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15285 # DIR into the resulting binary and the resulting library dependency is
15286 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15287 # library is relocated.
15288 hardcode_direct_absolute=$hardcode_direct_absolute
15289
15290 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15291 # into the resulting binary.
15292 hardcode_minus_L=$hardcode_minus_L
15293
15294 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15295 # into the resulting binary.
15296 hardcode_shlibpath_var=$hardcode_shlibpath_var
15297
15298 # Set to "yes" if building a shared library automatically hardcodes DIR
15299 # into the library and all subsequent libraries and executables linked
15300 # against it.
15301 hardcode_automatic=$hardcode_automatic
15302
15303 # Set to yes if linker adds runtime paths of dependent libraries
15304 # to runtime path list.
15305 inherit_rpath=$inherit_rpath
15306
15307 # Whether libtool must link a program against all its dependency libraries.
15308 link_all_deplibs=$link_all_deplibs
15309
15310 # Set to "yes" if exported symbols are required.
15311 always_export_symbols=$always_export_symbols
15312
15313 # The commands to list exported symbols.
15314 export_symbols_cmds=$lt_export_symbols_cmds
15315
15316 # Symbols that should not be listed in the preloaded symbols.
15317 exclude_expsyms=$lt_exclude_expsyms
15318
15319 # Symbols that must always be exported.
15320 include_expsyms=$lt_include_expsyms
15321
15322 # Commands necessary for linking programs (against libraries) with templates.
15323 prelink_cmds=$lt_prelink_cmds
15324
15325 # Commands necessary for finishing linking programs.
15326 postlink_cmds=$lt_postlink_cmds
15327
15328 # Specify filename containing input files.
15329 file_list_spec=$lt_file_list_spec
15330
15331 # How to hardcode a shared library path into an executable.
15332 hardcode_action=$hardcode_action
15333
15334 # ### END LIBTOOL CONFIG
15335
15336 _LT_EOF
15337
15338   case $host_os in
15339   aix3*)
15340     cat <<\_LT_EOF >> "$cfgfile"
15341 # AIX sometimes has problems with the GCC collect2 program.  For some
15342 # reason, if we set the COLLECT_NAMES environment variable, the problems
15343 # vanish in a puff of smoke.
15344 if test "X${COLLECT_NAMES+set}" != Xset; then
15345   COLLECT_NAMES=
15346   export COLLECT_NAMES
15347 fi
15348 _LT_EOF
15349     ;;
15350   esac
15351
15352
15353 ltmain="$ac_aux_dir/ltmain.sh"
15354
15355
15356   # We use sed instead of cat because bash on DJGPP gets confused if
15357   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15358   # text mode, it properly converts lines to CR/LF.  This bash problem
15359   # is reportedly fixed, but why not run on old versions too?
15360   sed '$q' "$ltmain" >> "$cfgfile" \
15361      || (rm -f "$cfgfile"; exit 1)
15362
15363   if test x"$xsi_shell" = xyes; then
15364   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15365 func_dirname ()\
15366 {\
15367 \    case ${1} in\
15368 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15369 \      *  ) func_dirname_result="${3}" ;;\
15370 \    esac\
15371 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15372   && mv -f "$cfgfile.tmp" "$cfgfile" \
15373     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15374 test 0 -eq $? || _lt_function_replace_fail=:
15375
15376
15377   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15378 func_basename ()\
15379 {\
15380 \    func_basename_result="${1##*/}"\
15381 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15382   && mv -f "$cfgfile.tmp" "$cfgfile" \
15383     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15384 test 0 -eq $? || _lt_function_replace_fail=:
15385
15386
15387   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15388 func_dirname_and_basename ()\
15389 {\
15390 \    case ${1} in\
15391 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15392 \      *  ) func_dirname_result="${3}" ;;\
15393 \    esac\
15394 \    func_basename_result="${1##*/}"\
15395 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15396   && mv -f "$cfgfile.tmp" "$cfgfile" \
15397     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15398 test 0 -eq $? || _lt_function_replace_fail=:
15399
15400
15401   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15402 func_stripname ()\
15403 {\
15404 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15405 \    # positional parameters, so assign one to ordinary parameter first.\
15406 \    func_stripname_result=${3}\
15407 \    func_stripname_result=${func_stripname_result#"${1}"}\
15408 \    func_stripname_result=${func_stripname_result%"${2}"}\
15409 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15410   && mv -f "$cfgfile.tmp" "$cfgfile" \
15411     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15412 test 0 -eq $? || _lt_function_replace_fail=:
15413
15414
15415   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15416 func_split_long_opt ()\
15417 {\
15418 \    func_split_long_opt_name=${1%%=*}\
15419 \    func_split_long_opt_arg=${1#*=}\
15420 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15421   && mv -f "$cfgfile.tmp" "$cfgfile" \
15422     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15423 test 0 -eq $? || _lt_function_replace_fail=:
15424
15425
15426   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15427 func_split_short_opt ()\
15428 {\
15429 \    func_split_short_opt_arg=${1#??}\
15430 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15431 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15432   && mv -f "$cfgfile.tmp" "$cfgfile" \
15433     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15434 test 0 -eq $? || _lt_function_replace_fail=:
15435
15436
15437   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15438 func_lo2o ()\
15439 {\
15440 \    case ${1} in\
15441 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15442 \      *)    func_lo2o_result=${1} ;;\
15443 \    esac\
15444 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15445   && mv -f "$cfgfile.tmp" "$cfgfile" \
15446     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15447 test 0 -eq $? || _lt_function_replace_fail=:
15448
15449
15450   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15451 func_xform ()\
15452 {\
15453     func_xform_result=${1%.*}.lo\
15454 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15455   && mv -f "$cfgfile.tmp" "$cfgfile" \
15456     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15457 test 0 -eq $? || _lt_function_replace_fail=:
15458
15459
15460   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15461 func_arith ()\
15462 {\
15463     func_arith_result=$(( $* ))\
15464 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15465   && mv -f "$cfgfile.tmp" "$cfgfile" \
15466     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15467 test 0 -eq $? || _lt_function_replace_fail=:
15468
15469
15470   sed -e '/^func_len ()$/,/^} # func_len /c\
15471 func_len ()\
15472 {\
15473     func_len_result=${#1}\
15474 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15475   && mv -f "$cfgfile.tmp" "$cfgfile" \
15476     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15477 test 0 -eq $? || _lt_function_replace_fail=:
15478
15479 fi
15480
15481 if test x"$lt_shell_append" = xyes; then
15482   sed -e '/^func_append ()$/,/^} # func_append /c\
15483 func_append ()\
15484 {\
15485     eval "${1}+=\\${2}"\
15486 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15487   && mv -f "$cfgfile.tmp" "$cfgfile" \
15488     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15489 test 0 -eq $? || _lt_function_replace_fail=:
15490
15491
15492   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15493 func_append_quoted ()\
15494 {\
15495 \    func_quote_for_eval "${2}"\
15496 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15497 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15498   && mv -f "$cfgfile.tmp" "$cfgfile" \
15499     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15500 test 0 -eq $? || _lt_function_replace_fail=:
15501
15502
15503   # Save a `func_append' function call where possible by direct use of '+='
15504   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15505     && mv -f "$cfgfile.tmp" "$cfgfile" \
15506       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15507   test 0 -eq $? || _lt_function_replace_fail=:
15508 else
15509   # Save a `func_append' function call even when '+=' is not available
15510   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15511     && mv -f "$cfgfile.tmp" "$cfgfile" \
15512       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15513   test 0 -eq $? || _lt_function_replace_fail=:
15514 fi
15515
15516 if test x"$_lt_function_replace_fail" = x":"; then
15517   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15518 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15519 fi
15520
15521
15522    mv -f "$cfgfile" "$ofile" ||
15523     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15524   chmod +x "$ofile"
15525
15526  ;;
15527
15528   esac
15529 done # for ac_tag
15530
15531
15532 as_fn_exit 0
15533 _ACEOF
15534 ac_clean_files=$ac_clean_files_save
15535
15536 test $ac_write_fail = 0 ||
15537   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15538
15539
15540 # configure is writing to config.log, and then calls config.status.
15541 # config.status does its own redirection, appending to config.log.
15542 # Unfortunately, on DOS this fails, as config.log is still kept open
15543 # by configure, so config.status won't be able to write to it; its
15544 # output is simply discarded.  So we exec the FD to /dev/null,
15545 # effectively closing config.log, so it can be properly (re)opened and
15546 # appended to by config.status.  When coming back to configure, we
15547 # need to make the FD available again.
15548 if test "$no_create" != yes; then
15549   ac_cs_success=:
15550   ac_config_status_args=
15551   test "$silent" = yes &&
15552     ac_config_status_args="$ac_config_status_args --quiet"
15553   exec 5>/dev/null
15554   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15555   exec 5>>config.log
15556   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15557   # would make configure fail if this is the last instruction.
15558   $ac_cs_success || as_fn_exit 1
15559 fi
15560 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15561   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15562 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15563 fi
15564
15565
15566 echo "
15567     ${PACKAGE} ${VERSION}
15568     ---------------------
15569
15570     Prefix:                ${prefix}
15571     GObject-Introspection: ${found_introspection}
15572     VALA bindings:         ${have_vapigen}
15573 "