1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for vala 0.48.18.
4#
5# Report bugs to <https://gitlab.gnome.org/GNOME/vala/issues>.
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
18DUALCASE=1; export DUALCASE # for MKS sh
19if 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
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_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.
45if 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 --'
49elif (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'
52else
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'
72fi
73
74# The user is always right.
75if 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  }
81fi
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.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
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
102IFS=$as_save_IFS
103
104     ;;
105esac
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.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
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.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export 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.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $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
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if 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
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -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
202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    PATH=/empty FPATH=/empty; export PATH FPATH
207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209test \$(( 1 + 1 )) = 2 || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
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
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
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
244fi; }
245IFS=$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.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $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
267exit 255
268fi
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: https://gitlab.gnome.org/GNOME/vala/issues about your
279$0: system, including any error possibly output before this
280$0: message. Then install a modern shell, or manually run
281$0: the script under such a shell if you do have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569as_awk_strverscmp='
570  # Use only awk features that work with 7th edition Unix awk (1978).
571  # My, what an old awk you have, Mr. Solaris!
572  END {
573    while (length(v1) && length(v2)) {
574      # Set d1 to be the next thing to compare from v1, and likewise for d2.
575      # Normally this is a single character, but if v1 and v2 contain digits,
576      # compare them as integers and fractions as strverscmp does.
577      if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
578	# Split v1 and v2 into their leading digit string components d1 and d2,
579	# and advance v1 and v2 past the leading digit strings.
580	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
581	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
582	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
583	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
584	if (d1 ~ /^0/) {
585	  if (d2 ~ /^0/) {
586	    # Compare two fractions.
587	    while (d1 ~ /^0/ && d2 ~ /^0/) {
588	      d1 = substr(d1, 2); len1--
589	      d2 = substr(d2, 2); len2--
590	    }
591	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
592	      # The two components differ in length, and the common prefix
593	      # contains only leading zeros.  Consider the longer to be less.
594	      d1 = -len1
595	      d2 = -len2
596	    } else {
597	      # Otherwise, compare as strings.
598	      d1 = "x" d1
599	      d2 = "x" d2
600	    }
601	  } else {
602	    # A fraction is less than an integer.
603	    exit 1
604	  }
605	} else {
606	  if (d2 ~ /^0/) {
607	    # An integer is greater than a fraction.
608	    exit 2
609	  } else {
610	    # Compare two integers.
611	    d1 += 0
612	    d2 += 0
613	  }
614	}
615      } else {
616	# The normal case, without worrying about digits.
617	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
618	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
619      }
620      if (d1 < d2) exit 1
621      if (d1 > d2) exit 2
622    }
623    # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
624    # which mishandles some comparisons of empty strings to integers.
625    if (length(v2)) exit 1
626    if (length(v1)) exit 2
627  }
628'
629
630test -n "$DJDIR" || exec 7<&0 </dev/null
631exec 6>&1
632
633# Name of the host.
634# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
635# so uname gets run too.
636ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
637
638#
639# Initializations.
640#
641ac_default_prefix=/usr/local
642ac_clean_files=
643ac_config_libobj_dir=.
644LIBOBJS=
645cross_compiling=no
646subdirs=
647MFLAGS=
648MAKEFLAGS=
649
650# Identity of this package.
651PACKAGE_NAME='vala'
652PACKAGE_TARNAME='vala'
653PACKAGE_VERSION='0.48.18'
654PACKAGE_STRING='vala 0.48.18'
655PACKAGE_BUGREPORT='https://gitlab.gnome.org/GNOME/vala/issues'
656PACKAGE_URL='https://wiki.gnome.org/Projects/Vala'
657
658ac_unique_file="Makefile.am"
659# Factoring default headers for most tests.
660ac_includes_default="\
661#include <stdio.h>
662#ifdef HAVE_SYS_TYPES_H
663# include <sys/types.h>
664#endif
665#ifdef HAVE_SYS_STAT_H
666# include <sys/stat.h>
667#endif
668#ifdef STDC_HEADERS
669# include <stdlib.h>
670# include <stddef.h>
671#else
672# ifdef HAVE_STDLIB_H
673#  include <stdlib.h>
674# endif
675#endif
676#ifdef HAVE_STRING_H
677# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
678#  include <memory.h>
679# endif
680# include <string.h>
681#endif
682#ifdef HAVE_STRINGS_H
683# include <strings.h>
684#endif
685#ifdef HAVE_INTTYPES_H
686# include <inttypes.h>
687#endif
688#ifdef HAVE_STDINT_H
689# include <stdint.h>
690#endif
691#ifdef HAVE_UNISTD_H
692# include <unistd.h>
693#endif"
694
695ac_subst_vars='am__EXEEXT_FALSE
696am__EXEEXT_TRUE
697LTLIBOBJS
698LIBOBJS
699HAVE_HELP2MAN_FALSE
700HAVE_HELP2MAN_TRUE
701HELP2MAN
702HAVE_WEASYPRINT_FALSE
703HAVE_WEASYPRINT_TRUE
704WEASYPRINT
705HAVE_XSLTPROC_FALSE
706HAVE_XSLTPROC_TRUE
707XSLTPROC
708HAVE_G_IR_COMPILER_FALSE
709HAVE_G_IR_COMPILER_TRUE
710G_IR_COMPILER
711ENABLE_VALADOC_FALSE
712ENABLE_VALADOC_TRUE
713HAVE_CGRAPH_FALSE
714HAVE_CGRAPH_TRUE
715LIBGVC_LIBS
716LIBGVC_CFLAGS
717GMODULE_LIBS
718GMODULE_CFLAGS
719GLIB_LIBS
720GLIB_CFLAGS
721TEST_CFLAGS
722COVERAGE_LIBS
723COVERAGE_CFLAGS
724COVERAGE_VALAFLAGS
725ENABLE_COVERAGE_FALSE
726ENABLE_COVERAGE_TRUE
727ENABLE_UNVERSIONED_FALSE
728ENABLE_UNVERSIONED_TRUE
729VALAFLAGS
730VALAC
731YACC
732LEXLIB
733LEX_OUTPUT_ROOT
734LEX
735PKG_CONFIG_LIBDIR
736PKG_CONFIG_PATH
737PKG_CONFIG
738CPP
739LT_SYS_LIBRARY_PATH
740OTOOL64
741OTOOL
742LIPO
743NMEDIT
744DSYMUTIL
745MANIFEST_TOOL
746RANLIB
747ac_ct_AR
748AR
749DLLTOOL
750OBJDUMP
751NM
752ac_ct_DUMPBIN
753DUMPBIN
754LD
755FGREP
756EGREP
757GREP
758SED
759LIBTOOL
760HAVE_LINUX_FALSE
761HAVE_LINUX_TRUE
762host_os
763host_vendor
764host_cpu
765host
766build_os
767build_vendor
768build_cpu
769build
770LN_S
771am__fastdepCC_FALSE
772am__fastdepCC_TRUE
773CCDEPMODE
774am__nodep
775AMDEPBACKSLASH
776AMDEP_FALSE
777AMDEP_TRUE
778am__include
779DEPDIR
780OBJEXT
781EXEEXT
782ac_ct_CC
783CPPFLAGS
784LDFLAGS
785CFLAGS
786CC
787pkgdoclibdir
788pkgdocdatadir
789pkglibdir
790pkgdatadir
791PACKAGE_SUFFIX
792API_VERSION
793VALA_MICRO_VERSION
794VALA_MINOR_VERSION
795VALA_MAJOR_VERSION
796MAINT
797MAINTAINER_MODE_FALSE
798MAINTAINER_MODE_TRUE
799AM_BACKSLASH
800AM_DEFAULT_VERBOSITY
801AM_DEFAULT_V
802AM_V
803am__untar
804am__tar
805AMTAR
806am__leading_dot
807SET_MAKE
808AWK
809mkdir_p
810MKDIR_P
811INSTALL_STRIP_PROGRAM
812STRIP
813install_sh
814MAKEINFO
815AUTOHEADER
816AUTOMAKE
817AUTOCONF
818ACLOCAL
819VERSION
820PACKAGE
821CYGPATH_W
822am__isrc
823INSTALL_DATA
824INSTALL_SCRIPT
825INSTALL_PROGRAM
826target_alias
827host_alias
828build_alias
829LIBS
830ECHO_T
831ECHO_N
832ECHO_C
833DEFS
834mandir
835localedir
836libdir
837psdir
838pdfdir
839dvidir
840htmldir
841infodir
842docdir
843oldincludedir
844includedir
845runstatedir
846localstatedir
847sharedstatedir
848sysconfdir
849datadir
850datarootdir
851libexecdir
852sbindir
853bindir
854program_transform_name
855prefix
856exec_prefix
857PACKAGE_URL
858PACKAGE_BUGREPORT
859PACKAGE_STRING
860PACKAGE_VERSION
861PACKAGE_TARNAME
862PACKAGE_NAME
863PATH_SEPARATOR
864SHELL
865am__quote'
866ac_subst_files=''
867ac_user_opts='
868enable_option_checking
869enable_silent_rules
870enable_maintainer_mode
871enable_dependency_tracking
872enable_static
873enable_shared
874with_pic
875enable_fast_install
876with_aix_soname
877with_gnu_ld
878with_sysroot
879enable_libtool_lock
880enable_debug
881enable_unversioned
882enable_coverage
883with_cgraph
884enable_valadoc
885'
886      ac_precious_vars='build_alias
887host_alias
888target_alias
889CC
890CFLAGS
891LDFLAGS
892LIBS
893CPPFLAGS
894LT_SYS_LIBRARY_PATH
895CPP
896PKG_CONFIG
897PKG_CONFIG_PATH
898PKG_CONFIG_LIBDIR
899GLIB_CFLAGS
900GLIB_LIBS
901GMODULE_CFLAGS
902GMODULE_LIBS
903LIBGVC_CFLAGS
904LIBGVC_LIBS'
905
906
907# Initialize some variables set by options.
908ac_init_help=
909ac_init_version=false
910ac_unrecognized_opts=
911ac_unrecognized_sep=
912# The variables have the same names as the options, with
913# dashes changed to underlines.
914cache_file=/dev/null
915exec_prefix=NONE
916no_create=
917no_recursion=
918prefix=NONE
919program_prefix=NONE
920program_suffix=NONE
921program_transform_name=s,x,x,
922silent=
923site=
924srcdir=
925verbose=
926x_includes=NONE
927x_libraries=NONE
928
929# Installation directory options.
930# These are left unexpanded so users can "make install exec_prefix=/foo"
931# and all the variables that are supposed to be based on exec_prefix
932# by default will actually change.
933# Use braces instead of parens because sh, perl, etc. also accept them.
934# (The list follows the same order as the GNU Coding Standards.)
935bindir='${exec_prefix}/bin'
936sbindir='${exec_prefix}/sbin'
937libexecdir='${exec_prefix}/libexec'
938datarootdir='${prefix}/share'
939datadir='${datarootdir}'
940sysconfdir='${prefix}/etc'
941sharedstatedir='${prefix}/com'
942localstatedir='${prefix}/var'
943runstatedir='${localstatedir}/run'
944includedir='${prefix}/include'
945oldincludedir='/usr/include'
946docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
947infodir='${datarootdir}/info'
948htmldir='${docdir}'
949dvidir='${docdir}'
950pdfdir='${docdir}'
951psdir='${docdir}'
952libdir='${exec_prefix}/lib'
953localedir='${datarootdir}/locale'
954mandir='${datarootdir}/man'
955
956ac_prev=
957ac_dashdash=
958for ac_option
959do
960  # If the previous option needs an argument, assign it.
961  if test -n "$ac_prev"; then
962    eval $ac_prev=\$ac_option
963    ac_prev=
964    continue
965  fi
966
967  case $ac_option in
968  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
969  *=)   ac_optarg= ;;
970  *)    ac_optarg=yes ;;
971  esac
972
973  # Accept the important Cygnus configure options, so we can diagnose typos.
974
975  case $ac_dashdash$ac_option in
976  --)
977    ac_dashdash=yes ;;
978
979  -bindir | --bindir | --bindi | --bind | --bin | --bi)
980    ac_prev=bindir ;;
981  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
982    bindir=$ac_optarg ;;
983
984  -build | --build | --buil | --bui | --bu)
985    ac_prev=build_alias ;;
986  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
987    build_alias=$ac_optarg ;;
988
989  -cache-file | --cache-file | --cache-fil | --cache-fi \
990  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
991    ac_prev=cache_file ;;
992  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
993  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
994    cache_file=$ac_optarg ;;
995
996  --config-cache | -C)
997    cache_file=config.cache ;;
998
999  -datadir | --datadir | --datadi | --datad)
1000    ac_prev=datadir ;;
1001  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1002    datadir=$ac_optarg ;;
1003
1004  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1005  | --dataroo | --dataro | --datar)
1006    ac_prev=datarootdir ;;
1007  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1008  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1009    datarootdir=$ac_optarg ;;
1010
1011  -disable-* | --disable-*)
1012    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1013    # Reject names that are not valid shell variable names.
1014    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1015      as_fn_error $? "invalid feature name: $ac_useropt"
1016    ac_useropt_orig=$ac_useropt
1017    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018    case $ac_user_opts in
1019      *"
1020"enable_$ac_useropt"
1021"*) ;;
1022      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1023	 ac_unrecognized_sep=', ';;
1024    esac
1025    eval enable_$ac_useropt=no ;;
1026
1027  -docdir | --docdir | --docdi | --doc | --do)
1028    ac_prev=docdir ;;
1029  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1030    docdir=$ac_optarg ;;
1031
1032  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1033    ac_prev=dvidir ;;
1034  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1035    dvidir=$ac_optarg ;;
1036
1037  -enable-* | --enable-*)
1038    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1039    # Reject names that are not valid shell variable names.
1040    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1041      as_fn_error $? "invalid feature name: $ac_useropt"
1042    ac_useropt_orig=$ac_useropt
1043    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044    case $ac_user_opts in
1045      *"
1046"enable_$ac_useropt"
1047"*) ;;
1048      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1049	 ac_unrecognized_sep=', ';;
1050    esac
1051    eval enable_$ac_useropt=\$ac_optarg ;;
1052
1053  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1054  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1055  | --exec | --exe | --ex)
1056    ac_prev=exec_prefix ;;
1057  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1058  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1059  | --exec=* | --exe=* | --ex=*)
1060    exec_prefix=$ac_optarg ;;
1061
1062  -gas | --gas | --ga | --g)
1063    # Obsolete; use --with-gas.
1064    with_gas=yes ;;
1065
1066  -help | --help | --hel | --he | -h)
1067    ac_init_help=long ;;
1068  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1069    ac_init_help=recursive ;;
1070  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1071    ac_init_help=short ;;
1072
1073  -host | --host | --hos | --ho)
1074    ac_prev=host_alias ;;
1075  -host=* | --host=* | --hos=* | --ho=*)
1076    host_alias=$ac_optarg ;;
1077
1078  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1079    ac_prev=htmldir ;;
1080  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1081  | --ht=*)
1082    htmldir=$ac_optarg ;;
1083
1084  -includedir | --includedir | --includedi | --included | --include \
1085  | --includ | --inclu | --incl | --inc)
1086    ac_prev=includedir ;;
1087  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1088  | --includ=* | --inclu=* | --incl=* | --inc=*)
1089    includedir=$ac_optarg ;;
1090
1091  -infodir | --infodir | --infodi | --infod | --info | --inf)
1092    ac_prev=infodir ;;
1093  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1094    infodir=$ac_optarg ;;
1095
1096  -libdir | --libdir | --libdi | --libd)
1097    ac_prev=libdir ;;
1098  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1099    libdir=$ac_optarg ;;
1100
1101  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1102  | --libexe | --libex | --libe)
1103    ac_prev=libexecdir ;;
1104  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1105  | --libexe=* | --libex=* | --libe=*)
1106    libexecdir=$ac_optarg ;;
1107
1108  -localedir | --localedir | --localedi | --localed | --locale)
1109    ac_prev=localedir ;;
1110  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1111    localedir=$ac_optarg ;;
1112
1113  -localstatedir | --localstatedir | --localstatedi | --localstated \
1114  | --localstate | --localstat | --localsta | --localst | --locals)
1115    ac_prev=localstatedir ;;
1116  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1117  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1118    localstatedir=$ac_optarg ;;
1119
1120  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1121    ac_prev=mandir ;;
1122  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1123    mandir=$ac_optarg ;;
1124
1125  -nfp | --nfp | --nf)
1126    # Obsolete; use --without-fp.
1127    with_fp=no ;;
1128
1129  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1130  | --no-cr | --no-c | -n)
1131    no_create=yes ;;
1132
1133  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1134  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1135    no_recursion=yes ;;
1136
1137  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1138  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1139  | --oldin | --oldi | --old | --ol | --o)
1140    ac_prev=oldincludedir ;;
1141  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1142  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1143  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1144    oldincludedir=$ac_optarg ;;
1145
1146  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1147    ac_prev=prefix ;;
1148  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1149    prefix=$ac_optarg ;;
1150
1151  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1152  | --program-pre | --program-pr | --program-p)
1153    ac_prev=program_prefix ;;
1154  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1155  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1156    program_prefix=$ac_optarg ;;
1157
1158  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1159  | --program-suf | --program-su | --program-s)
1160    ac_prev=program_suffix ;;
1161  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1162  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1163    program_suffix=$ac_optarg ;;
1164
1165  -program-transform-name | --program-transform-name \
1166  | --program-transform-nam | --program-transform-na \
1167  | --program-transform-n | --program-transform- \
1168  | --program-transform | --program-transfor \
1169  | --program-transfo | --program-transf \
1170  | --program-trans | --program-tran \
1171  | --progr-tra | --program-tr | --program-t)
1172    ac_prev=program_transform_name ;;
1173  -program-transform-name=* | --program-transform-name=* \
1174  | --program-transform-nam=* | --program-transform-na=* \
1175  | --program-transform-n=* | --program-transform-=* \
1176  | --program-transform=* | --program-transfor=* \
1177  | --program-transfo=* | --program-transf=* \
1178  | --program-trans=* | --program-tran=* \
1179  | --progr-tra=* | --program-tr=* | --program-t=*)
1180    program_transform_name=$ac_optarg ;;
1181
1182  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1183    ac_prev=pdfdir ;;
1184  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1185    pdfdir=$ac_optarg ;;
1186
1187  -psdir | --psdir | --psdi | --psd | --ps)
1188    ac_prev=psdir ;;
1189  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1190    psdir=$ac_optarg ;;
1191
1192  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1193  | -silent | --silent | --silen | --sile | --sil)
1194    silent=yes ;;
1195
1196  -runstatedir | --runstatedir | --runstatedi | --runstated \
1197  | --runstate | --runstat | --runsta | --runst | --runs \
1198  | --run | --ru | --r)
1199    ac_prev=runstatedir ;;
1200  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1201  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1202  | --run=* | --ru=* | --r=*)
1203    runstatedir=$ac_optarg ;;
1204
1205  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1206    ac_prev=sbindir ;;
1207  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1208  | --sbi=* | --sb=*)
1209    sbindir=$ac_optarg ;;
1210
1211  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1212  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1213  | --sharedst | --shareds | --shared | --share | --shar \
1214  | --sha | --sh)
1215    ac_prev=sharedstatedir ;;
1216  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1217  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1218  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1219  | --sha=* | --sh=*)
1220    sharedstatedir=$ac_optarg ;;
1221
1222  -site | --site | --sit)
1223    ac_prev=site ;;
1224  -site=* | --site=* | --sit=*)
1225    site=$ac_optarg ;;
1226
1227  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1228    ac_prev=srcdir ;;
1229  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1230    srcdir=$ac_optarg ;;
1231
1232  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1233  | --syscon | --sysco | --sysc | --sys | --sy)
1234    ac_prev=sysconfdir ;;
1235  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1236  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1237    sysconfdir=$ac_optarg ;;
1238
1239  -target | --target | --targe | --targ | --tar | --ta | --t)
1240    ac_prev=target_alias ;;
1241  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1242    target_alias=$ac_optarg ;;
1243
1244  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1245    verbose=yes ;;
1246
1247  -version | --version | --versio | --versi | --vers | -V)
1248    ac_init_version=: ;;
1249
1250  -with-* | --with-*)
1251    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1252    # Reject names that are not valid shell variable names.
1253    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1254      as_fn_error $? "invalid package name: $ac_useropt"
1255    ac_useropt_orig=$ac_useropt
1256    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1257    case $ac_user_opts in
1258      *"
1259"with_$ac_useropt"
1260"*) ;;
1261      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1262	 ac_unrecognized_sep=', ';;
1263    esac
1264    eval with_$ac_useropt=\$ac_optarg ;;
1265
1266  -without-* | --without-*)
1267    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1268    # Reject names that are not valid shell variable names.
1269    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1270      as_fn_error $? "invalid package name: $ac_useropt"
1271    ac_useropt_orig=$ac_useropt
1272    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1273    case $ac_user_opts in
1274      *"
1275"with_$ac_useropt"
1276"*) ;;
1277      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1278	 ac_unrecognized_sep=', ';;
1279    esac
1280    eval with_$ac_useropt=no ;;
1281
1282  --x)
1283    # Obsolete; use --with-x.
1284    with_x=yes ;;
1285
1286  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1287  | --x-incl | --x-inc | --x-in | --x-i)
1288    ac_prev=x_includes ;;
1289  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1290  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1291    x_includes=$ac_optarg ;;
1292
1293  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1294  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1295    ac_prev=x_libraries ;;
1296  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1297  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1298    x_libraries=$ac_optarg ;;
1299
1300  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1301Try \`$0 --help' for more information"
1302    ;;
1303
1304  *=*)
1305    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1306    # Reject names that are not valid shell variable names.
1307    case $ac_envvar in #(
1308      '' | [0-9]* | *[!_$as_cr_alnum]* )
1309      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1310    esac
1311    eval $ac_envvar=\$ac_optarg
1312    export $ac_envvar ;;
1313
1314  *)
1315    # FIXME: should be removed in autoconf 3.0.
1316    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1317    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1318      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1319    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1320    ;;
1321
1322  esac
1323done
1324
1325if test -n "$ac_prev"; then
1326  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1327  as_fn_error $? "missing argument to $ac_option"
1328fi
1329
1330if test -n "$ac_unrecognized_opts"; then
1331  case $enable_option_checking in
1332    no) ;;
1333    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1334    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1335  esac
1336fi
1337
1338# Check all directory arguments for consistency.
1339for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1340		datadir sysconfdir sharedstatedir localstatedir includedir \
1341		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1342		libdir localedir mandir runstatedir
1343do
1344  eval ac_val=\$$ac_var
1345  # Remove trailing slashes.
1346  case $ac_val in
1347    */ )
1348      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1349      eval $ac_var=\$ac_val;;
1350  esac
1351  # Be sure to have absolute directory names.
1352  case $ac_val in
1353    [\\/$]* | ?:[\\/]* )  continue;;
1354    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1355  esac
1356  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1357done
1358
1359# There might be people who depend on the old broken behavior: `$host'
1360# used to hold the argument of --host etc.
1361# FIXME: To remove some day.
1362build=$build_alias
1363host=$host_alias
1364target=$target_alias
1365
1366# FIXME: To remove some day.
1367if test "x$host_alias" != x; then
1368  if test "x$build_alias" = x; then
1369    cross_compiling=maybe
1370  elif test "x$build_alias" != "x$host_alias"; then
1371    cross_compiling=yes
1372  fi
1373fi
1374
1375ac_tool_prefix=
1376test -n "$host_alias" && ac_tool_prefix=$host_alias-
1377
1378test "$silent" = yes && exec 6>/dev/null
1379
1380
1381ac_pwd=`pwd` && test -n "$ac_pwd" &&
1382ac_ls_di=`ls -di .` &&
1383ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1384  as_fn_error $? "working directory cannot be determined"
1385test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1386  as_fn_error $? "pwd does not report name of working directory"
1387
1388
1389# Find the source files, if location was not specified.
1390if test -z "$srcdir"; then
1391  ac_srcdir_defaulted=yes
1392  # Try the directory containing this script, then the parent directory.
1393  ac_confdir=`$as_dirname -- "$as_myself" ||
1394$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1395	 X"$as_myself" : 'X\(//\)[^/]' \| \
1396	 X"$as_myself" : 'X\(//\)$' \| \
1397	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1398$as_echo X"$as_myself" |
1399    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1400	    s//\1/
1401	    q
1402	  }
1403	  /^X\(\/\/\)[^/].*/{
1404	    s//\1/
1405	    q
1406	  }
1407	  /^X\(\/\/\)$/{
1408	    s//\1/
1409	    q
1410	  }
1411	  /^X\(\/\).*/{
1412	    s//\1/
1413	    q
1414	  }
1415	  s/.*/./; q'`
1416  srcdir=$ac_confdir
1417  if test ! -r "$srcdir/$ac_unique_file"; then
1418    srcdir=..
1419  fi
1420else
1421  ac_srcdir_defaulted=no
1422fi
1423if test ! -r "$srcdir/$ac_unique_file"; then
1424  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1425  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1426fi
1427ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1428ac_abs_confdir=`(
1429	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1430	pwd)`
1431# When building in place, set srcdir=.
1432if test "$ac_abs_confdir" = "$ac_pwd"; then
1433  srcdir=.
1434fi
1435# Remove unnecessary trailing slashes from srcdir.
1436# Double slashes in file names in object file debugging info
1437# mess up M-x gdb in Emacs.
1438case $srcdir in
1439*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1440esac
1441for ac_var in $ac_precious_vars; do
1442  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1443  eval ac_env_${ac_var}_value=\$${ac_var}
1444  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1445  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1446done
1447
1448#
1449# Report the --help message.
1450#
1451if test "$ac_init_help" = "long"; then
1452  # Omit some internal or obsolete options to make the list less imposing.
1453  # This message is too long to be a string in the A/UX 3.1 sh.
1454  cat <<_ACEOF
1455\`configure' configures vala 0.48.18 to adapt to many kinds of systems.
1456
1457Usage: $0 [OPTION]... [VAR=VALUE]...
1458
1459To assign environment variables (e.g., CC, CFLAGS...), specify them as
1460VAR=VALUE.  See below for descriptions of some of the useful variables.
1461
1462Defaults for the options are specified in brackets.
1463
1464Configuration:
1465  -h, --help              display this help and exit
1466      --help=short        display options specific to this package
1467      --help=recursive    display the short help of all the included packages
1468  -V, --version           display version information and exit
1469  -q, --quiet, --silent   do not print \`checking ...' messages
1470      --cache-file=FILE   cache test results in FILE [disabled]
1471  -C, --config-cache      alias for \`--cache-file=config.cache'
1472  -n, --no-create         do not create output files
1473      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1474
1475Installation directories:
1476  --prefix=PREFIX         install architecture-independent files in PREFIX
1477                          [$ac_default_prefix]
1478  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1479                          [PREFIX]
1480
1481By default, \`make install' will install all the files in
1482\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1483an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1484for instance \`--prefix=\$HOME'.
1485
1486For better control, use the options below.
1487
1488Fine tuning of the installation directories:
1489  --bindir=DIR            user executables [EPREFIX/bin]
1490  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1491  --libexecdir=DIR        program executables [EPREFIX/libexec]
1492  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1493  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1494  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1495  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1496  --libdir=DIR            object code libraries [EPREFIX/lib]
1497  --includedir=DIR        C header files [PREFIX/include]
1498  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1499  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1500  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1501  --infodir=DIR           info documentation [DATAROOTDIR/info]
1502  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1503  --mandir=DIR            man documentation [DATAROOTDIR/man]
1504  --docdir=DIR            documentation root [DATAROOTDIR/doc/vala]
1505  --htmldir=DIR           html documentation [DOCDIR]
1506  --dvidir=DIR            dvi documentation [DOCDIR]
1507  --pdfdir=DIR            pdf documentation [DOCDIR]
1508  --psdir=DIR             ps documentation [DOCDIR]
1509_ACEOF
1510
1511  cat <<\_ACEOF
1512
1513Program names:
1514  --program-prefix=PREFIX            prepend PREFIX to installed program names
1515  --program-suffix=SUFFIX            append SUFFIX to installed program names
1516  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1517
1518System types:
1519  --build=BUILD     configure for building on BUILD [guessed]
1520  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1521_ACEOF
1522fi
1523
1524if test -n "$ac_init_help"; then
1525  case $ac_init_help in
1526     short | recursive ) echo "Configuration of vala 0.48.18:";;
1527   esac
1528  cat <<\_ACEOF
1529
1530Optional Features:
1531  --disable-option-checking  ignore unrecognized --enable/--with options
1532  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1533  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1534  --enable-silent-rules   less verbose build output (undo: "make V=1")
1535  --disable-silent-rules  verbose build output (undo: "make V=0")
1536  --disable-maintainer-mode
1537                          disable make rules and dependencies not useful (and
1538                          sometimes confusing) to the casual installer
1539  --enable-dependency-tracking
1540                          do not reject slow dependency extractors
1541  --disable-dependency-tracking
1542                          speeds up one-time build
1543  --enable-static[=PKGS]  build static libraries [default=no]
1544  --enable-shared[=PKGS]  build shared libraries [default=yes]
1545  --enable-fast-install[=PKGS]
1546                          optimize for fast installation [default=yes]
1547  --disable-libtool-lock  avoid locking (might break parallel builds)
1548  --enable-debug          Enable debug build
1549  --disable-unversioned   Disable unversioned binaries
1550  --enable-coverage       Enable coverage analysis
1551  --disable-valadoc       Disable valadoc
1552
1553Optional Packages:
1554  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1555  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1556  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1557                          both]
1558  --with-aix-soname=aix|svr4|both
1559                          shared library versioning (aka "SONAME") variant to
1560                          provide on AIX, [default=aix].
1561  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1562  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1563                          compiler's sysroot if not specified).
1564  --with-cgraph           Required flag for cross-compilation to define
1565                          capability of graphviz
1566
1567Some influential environment variables:
1568  CC          C compiler command
1569  CFLAGS      C compiler flags
1570  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1571              nonstandard directory <lib dir>
1572  LIBS        libraries to pass to the linker, e.g. -l<library>
1573  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1574              you have headers in a nonstandard directory <include dir>
1575  LT_SYS_LIBRARY_PATH
1576              User-defined run-time library search path.
1577  CPP         C preprocessor
1578  PKG_CONFIG  path to pkg-config utility
1579  PKG_CONFIG_PATH
1580              directories to add to pkg-config's search path
1581  PKG_CONFIG_LIBDIR
1582              path overriding pkg-config's built-in search path
1583  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1584  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1585  GMODULE_CFLAGS
1586              C compiler flags for GMODULE, overriding pkg-config
1587  GMODULE_LIBS
1588              linker flags for GMODULE, overriding pkg-config
1589  LIBGVC_CFLAGS
1590              C compiler flags for LIBGVC, overriding pkg-config
1591  LIBGVC_LIBS linker flags for LIBGVC, overriding pkg-config
1592
1593Use these variables to override the choices made by `configure' or to help
1594it to find libraries and programs with nonstandard names/locations.
1595
1596Report bugs to <https://gitlab.gnome.org/GNOME/vala/issues>.
1597vala home page: <https://wiki.gnome.org/Projects/Vala>.
1598_ACEOF
1599ac_status=$?
1600fi
1601
1602if test "$ac_init_help" = "recursive"; then
1603  # If there are subdirs, report their specific --help.
1604  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1605    test -d "$ac_dir" ||
1606      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1607      continue
1608    ac_builddir=.
1609
1610case "$ac_dir" in
1611.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1612*)
1613  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1614  # A ".." for each directory in $ac_dir_suffix.
1615  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1616  case $ac_top_builddir_sub in
1617  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1618  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1619  esac ;;
1620esac
1621ac_abs_top_builddir=$ac_pwd
1622ac_abs_builddir=$ac_pwd$ac_dir_suffix
1623# for backward compatibility:
1624ac_top_builddir=$ac_top_build_prefix
1625
1626case $srcdir in
1627  .)  # We are building in place.
1628    ac_srcdir=.
1629    ac_top_srcdir=$ac_top_builddir_sub
1630    ac_abs_top_srcdir=$ac_pwd ;;
1631  [\\/]* | ?:[\\/]* )  # Absolute name.
1632    ac_srcdir=$srcdir$ac_dir_suffix;
1633    ac_top_srcdir=$srcdir
1634    ac_abs_top_srcdir=$srcdir ;;
1635  *) # Relative name.
1636    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1637    ac_top_srcdir=$ac_top_build_prefix$srcdir
1638    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1639esac
1640ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1641
1642    cd "$ac_dir" || { ac_status=$?; continue; }
1643    # Check for guested configure.
1644    if test -f "$ac_srcdir/configure.gnu"; then
1645      echo &&
1646      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1647    elif test -f "$ac_srcdir/configure"; then
1648      echo &&
1649      $SHELL "$ac_srcdir/configure" --help=recursive
1650    else
1651      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1652    fi || ac_status=$?
1653    cd "$ac_pwd" || { ac_status=$?; break; }
1654  done
1655fi
1656
1657test -n "$ac_init_help" && exit $ac_status
1658if $ac_init_version; then
1659  cat <<\_ACEOF
1660vala configure 0.48.18
1661generated by GNU Autoconf 2.69
1662
1663Copyright (C) 2012 Free Software Foundation, Inc.
1664This configure script is free software; the Free Software Foundation
1665gives unlimited permission to copy, distribute and modify it.
1666_ACEOF
1667  exit
1668fi
1669
1670## ------------------------ ##
1671## Autoconf initialization. ##
1672## ------------------------ ##
1673
1674# ac_fn_c_try_compile LINENO
1675# --------------------------
1676# Try to compile conftest.$ac_ext, and return whether this succeeded.
1677ac_fn_c_try_compile ()
1678{
1679  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680  rm -f conftest.$ac_objext
1681  if { { ac_try="$ac_compile"
1682case "(($ac_try" in
1683  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684  *) ac_try_echo=$ac_try;;
1685esac
1686eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687$as_echo "$ac_try_echo"; } >&5
1688  (eval "$ac_compile") 2>conftest.err
1689  ac_status=$?
1690  if test -s conftest.err; then
1691    grep -v '^ *+' conftest.err >conftest.er1
1692    cat conftest.er1 >&5
1693    mv -f conftest.er1 conftest.err
1694  fi
1695  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696  test $ac_status = 0; } && {
1697	 test -z "$ac_c_werror_flag" ||
1698	 test ! -s conftest.err
1699       } && test -s conftest.$ac_objext; then :
1700  ac_retval=0
1701else
1702  $as_echo "$as_me: failed program was:" >&5
1703sed 's/^/| /' conftest.$ac_ext >&5
1704
1705	ac_retval=1
1706fi
1707  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1708  as_fn_set_status $ac_retval
1709
1710} # ac_fn_c_try_compile
1711
1712# ac_fn_c_try_link LINENO
1713# -----------------------
1714# Try to link conftest.$ac_ext, and return whether this succeeded.
1715ac_fn_c_try_link ()
1716{
1717  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718  rm -f conftest.$ac_objext conftest$ac_exeext
1719  if { { ac_try="$ac_link"
1720case "(($ac_try" in
1721  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722  *) ac_try_echo=$ac_try;;
1723esac
1724eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725$as_echo "$ac_try_echo"; } >&5
1726  (eval "$ac_link") 2>conftest.err
1727  ac_status=$?
1728  if test -s conftest.err; then
1729    grep -v '^ *+' conftest.err >conftest.er1
1730    cat conftest.er1 >&5
1731    mv -f conftest.er1 conftest.err
1732  fi
1733  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734  test $ac_status = 0; } && {
1735	 test -z "$ac_c_werror_flag" ||
1736	 test ! -s conftest.err
1737       } && test -s conftest$ac_exeext && {
1738	 test "$cross_compiling" = yes ||
1739	 test -x conftest$ac_exeext
1740       }; then :
1741  ac_retval=0
1742else
1743  $as_echo "$as_me: failed program was:" >&5
1744sed 's/^/| /' conftest.$ac_ext >&5
1745
1746	ac_retval=1
1747fi
1748  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1749  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1750  # interfere with the next link command; also delete a directory that is
1751  # left behind by Apple's compiler.  We do this before executing the actions.
1752  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1753  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754  as_fn_set_status $ac_retval
1755
1756} # ac_fn_c_try_link
1757
1758# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1759# -------------------------------------------------------
1760# Tests whether HEADER exists and can be compiled using the include files in
1761# INCLUDES, setting the cache variable VAR accordingly.
1762ac_fn_c_check_header_compile ()
1763{
1764  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1765  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766$as_echo_n "checking for $2... " >&6; }
1767if eval \${$3+:} false; then :
1768  $as_echo_n "(cached) " >&6
1769else
1770  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1771/* end confdefs.h.  */
1772$4
1773#include <$2>
1774_ACEOF
1775if ac_fn_c_try_compile "$LINENO"; then :
1776  eval "$3=yes"
1777else
1778  eval "$3=no"
1779fi
1780rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1781fi
1782eval ac_res=\$$3
1783	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784$as_echo "$ac_res" >&6; }
1785  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786
1787} # ac_fn_c_check_header_compile
1788
1789# ac_fn_c_try_cpp LINENO
1790# ----------------------
1791# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1792ac_fn_c_try_cpp ()
1793{
1794  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795  if { { ac_try="$ac_cpp conftest.$ac_ext"
1796case "(($ac_try" in
1797  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1798  *) ac_try_echo=$ac_try;;
1799esac
1800eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1801$as_echo "$ac_try_echo"; } >&5
1802  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1803  ac_status=$?
1804  if test -s conftest.err; then
1805    grep -v '^ *+' conftest.err >conftest.er1
1806    cat conftest.er1 >&5
1807    mv -f conftest.er1 conftest.err
1808  fi
1809  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1810  test $ac_status = 0; } > conftest.i && {
1811	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1812	 test ! -s conftest.err
1813       }; then :
1814  ac_retval=0
1815else
1816  $as_echo "$as_me: failed program was:" >&5
1817sed 's/^/| /' conftest.$ac_ext >&5
1818
1819    ac_retval=1
1820fi
1821  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822  as_fn_set_status $ac_retval
1823
1824} # ac_fn_c_try_cpp
1825
1826# ac_fn_c_try_run LINENO
1827# ----------------------
1828# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1829# that executables *can* be run.
1830ac_fn_c_try_run ()
1831{
1832  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833  if { { ac_try="$ac_link"
1834case "(($ac_try" in
1835  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1836  *) ac_try_echo=$ac_try;;
1837esac
1838eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839$as_echo "$ac_try_echo"; } >&5
1840  (eval "$ac_link") 2>&5
1841  ac_status=$?
1842  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1844  { { case "(($ac_try" in
1845  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1846  *) ac_try_echo=$ac_try;;
1847esac
1848eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849$as_echo "$ac_try_echo"; } >&5
1850  (eval "$ac_try") 2>&5
1851  ac_status=$?
1852  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1853  test $ac_status = 0; }; }; then :
1854  ac_retval=0
1855else
1856  $as_echo "$as_me: program exited with status $ac_status" >&5
1857       $as_echo "$as_me: failed program was:" >&5
1858sed 's/^/| /' conftest.$ac_ext >&5
1859
1860       ac_retval=$ac_status
1861fi
1862  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1863  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864  as_fn_set_status $ac_retval
1865
1866} # ac_fn_c_try_run
1867
1868# ac_fn_c_check_func LINENO FUNC VAR
1869# ----------------------------------
1870# Tests whether FUNC exists, setting the cache variable VAR accordingly
1871ac_fn_c_check_func ()
1872{
1873  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1874  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1875$as_echo_n "checking for $2... " >&6; }
1876if eval \${$3+:} false; then :
1877  $as_echo_n "(cached) " >&6
1878else
1879  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880/* end confdefs.h.  */
1881/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1882   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1883#define $2 innocuous_$2
1884
1885/* System header to define __stub macros and hopefully few prototypes,
1886    which can conflict with char $2 (); below.
1887    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1888    <limits.h> exists even on freestanding compilers.  */
1889
1890#ifdef __STDC__
1891# include <limits.h>
1892#else
1893# include <assert.h>
1894#endif
1895
1896#undef $2
1897
1898/* Override any GCC internal prototype to avoid an error.
1899   Use char because int might match the return type of a GCC
1900   builtin and then its argument prototype would still apply.  */
1901#ifdef __cplusplus
1902extern "C"
1903#endif
1904char $2 ();
1905/* The GNU C library defines this for functions which it implements
1906    to always fail with ENOSYS.  Some functions are actually named
1907    something starting with __ and the normal name is an alias.  */
1908#if defined __stub_$2 || defined __stub___$2
1909choke me
1910#endif
1911
1912int
1913main ()
1914{
1915return $2 ();
1916  ;
1917  return 0;
1918}
1919_ACEOF
1920if ac_fn_c_try_link "$LINENO"; then :
1921  eval "$3=yes"
1922else
1923  eval "$3=no"
1924fi
1925rm -f core conftest.err conftest.$ac_objext \
1926    conftest$ac_exeext conftest.$ac_ext
1927fi
1928eval ac_res=\$$3
1929	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1930$as_echo "$ac_res" >&6; }
1931  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1932
1933} # ac_fn_c_check_func
1934cat >config.log <<_ACEOF
1935This file contains any messages produced by compilers while
1936running configure, to aid debugging if configure makes a mistake.
1937
1938It was created by vala $as_me 0.48.18, which was
1939generated by GNU Autoconf 2.69.  Invocation command line was
1940
1941  $ $0 $@
1942
1943_ACEOF
1944exec 5>>config.log
1945{
1946cat <<_ASUNAME
1947## --------- ##
1948## Platform. ##
1949## --------- ##
1950
1951hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1952uname -m = `(uname -m) 2>/dev/null || echo unknown`
1953uname -r = `(uname -r) 2>/dev/null || echo unknown`
1954uname -s = `(uname -s) 2>/dev/null || echo unknown`
1955uname -v = `(uname -v) 2>/dev/null || echo unknown`
1956
1957/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1958/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1959
1960/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1961/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1962/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1963/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1964/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1965/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1966/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1967
1968_ASUNAME
1969
1970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1971for as_dir in $PATH
1972do
1973  IFS=$as_save_IFS
1974  test -z "$as_dir" && as_dir=.
1975    $as_echo "PATH: $as_dir"
1976  done
1977IFS=$as_save_IFS
1978
1979} >&5
1980
1981cat >&5 <<_ACEOF
1982
1983
1984## ----------- ##
1985## Core tests. ##
1986## ----------- ##
1987
1988_ACEOF
1989
1990
1991# Keep a trace of the command line.
1992# Strip out --no-create and --no-recursion so they do not pile up.
1993# Strip out --silent because we don't want to record it for future runs.
1994# Also quote any args containing shell meta-characters.
1995# Make two passes to allow for proper duplicate-argument suppression.
1996ac_configure_args=
1997ac_configure_args0=
1998ac_configure_args1=
1999ac_must_keep_next=false
2000for ac_pass in 1 2
2001do
2002  for ac_arg
2003  do
2004    case $ac_arg in
2005    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2006    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2007    | -silent | --silent | --silen | --sile | --sil)
2008      continue ;;
2009    *\'*)
2010      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2011    esac
2012    case $ac_pass in
2013    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2014    2)
2015      as_fn_append ac_configure_args1 " '$ac_arg'"
2016      if test $ac_must_keep_next = true; then
2017	ac_must_keep_next=false # Got value, back to normal.
2018      else
2019	case $ac_arg in
2020	  *=* | --config-cache | -C | -disable-* | --disable-* \
2021	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2022	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2023	  | -with-* | --with-* | -without-* | --without-* | --x)
2024	    case "$ac_configure_args0 " in
2025	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2026	    esac
2027	    ;;
2028	  -* ) ac_must_keep_next=true ;;
2029	esac
2030      fi
2031      as_fn_append ac_configure_args " '$ac_arg'"
2032      ;;
2033    esac
2034  done
2035done
2036{ ac_configure_args0=; unset ac_configure_args0;}
2037{ ac_configure_args1=; unset ac_configure_args1;}
2038
2039# When interrupted or exit'd, cleanup temporary files, and complete
2040# config.log.  We remove comments because anyway the quotes in there
2041# would cause problems or look ugly.
2042# WARNING: Use '\'' to represent an apostrophe within the trap.
2043# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2044trap 'exit_status=$?
2045  # Save into config.log some information that might help in debugging.
2046  {
2047    echo
2048
2049    $as_echo "## ---------------- ##
2050## Cache variables. ##
2051## ---------------- ##"
2052    echo
2053    # The following way of writing the cache mishandles newlines in values,
2054(
2055  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2056    eval ac_val=\$$ac_var
2057    case $ac_val in #(
2058    *${as_nl}*)
2059      case $ac_var in #(
2060      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2061$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2062      esac
2063      case $ac_var in #(
2064      _ | IFS | as_nl) ;; #(
2065      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2066      *) { eval $ac_var=; unset $ac_var;} ;;
2067      esac ;;
2068    esac
2069  done
2070  (set) 2>&1 |
2071    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2072    *${as_nl}ac_space=\ *)
2073      sed -n \
2074	"s/'\''/'\''\\\\'\'''\''/g;
2075	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2076      ;; #(
2077    *)
2078      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2079      ;;
2080    esac |
2081    sort
2082)
2083    echo
2084
2085    $as_echo "## ----------------- ##
2086## Output variables. ##
2087## ----------------- ##"
2088    echo
2089    for ac_var in $ac_subst_vars
2090    do
2091      eval ac_val=\$$ac_var
2092      case $ac_val in
2093      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2094      esac
2095      $as_echo "$ac_var='\''$ac_val'\''"
2096    done | sort
2097    echo
2098
2099    if test -n "$ac_subst_files"; then
2100      $as_echo "## ------------------- ##
2101## File substitutions. ##
2102## ------------------- ##"
2103      echo
2104      for ac_var in $ac_subst_files
2105      do
2106	eval ac_val=\$$ac_var
2107	case $ac_val in
2108	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2109	esac
2110	$as_echo "$ac_var='\''$ac_val'\''"
2111      done | sort
2112      echo
2113    fi
2114
2115    if test -s confdefs.h; then
2116      $as_echo "## ----------- ##
2117## confdefs.h. ##
2118## ----------- ##"
2119      echo
2120      cat confdefs.h
2121      echo
2122    fi
2123    test "$ac_signal" != 0 &&
2124      $as_echo "$as_me: caught signal $ac_signal"
2125    $as_echo "$as_me: exit $exit_status"
2126  } >&5
2127  rm -f core *.core core.conftest.* &&
2128    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2129    exit $exit_status
2130' 0
2131for ac_signal in 1 2 13 15; do
2132  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2133done
2134ac_signal=0
2135
2136# confdefs.h avoids OS command line length limits that DEFS can exceed.
2137rm -f -r conftest* confdefs.h
2138
2139$as_echo "/* confdefs.h */" > confdefs.h
2140
2141# Predefined preprocessor variables.
2142
2143cat >>confdefs.h <<_ACEOF
2144#define PACKAGE_NAME "$PACKAGE_NAME"
2145_ACEOF
2146
2147cat >>confdefs.h <<_ACEOF
2148#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2149_ACEOF
2150
2151cat >>confdefs.h <<_ACEOF
2152#define PACKAGE_VERSION "$PACKAGE_VERSION"
2153_ACEOF
2154
2155cat >>confdefs.h <<_ACEOF
2156#define PACKAGE_STRING "$PACKAGE_STRING"
2157_ACEOF
2158
2159cat >>confdefs.h <<_ACEOF
2160#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2161_ACEOF
2162
2163cat >>confdefs.h <<_ACEOF
2164#define PACKAGE_URL "$PACKAGE_URL"
2165_ACEOF
2166
2167
2168# Let the site file select an alternate cache file if it wants to.
2169# Prefer an explicitly selected file to automatically selected ones.
2170ac_site_file1=NONE
2171ac_site_file2=NONE
2172if test -n "$CONFIG_SITE"; then
2173  # We do not want a PATH search for config.site.
2174  case $CONFIG_SITE in #((
2175    -*)  ac_site_file1=./$CONFIG_SITE;;
2176    */*) ac_site_file1=$CONFIG_SITE;;
2177    *)   ac_site_file1=./$CONFIG_SITE;;
2178  esac
2179elif test "x$prefix" != xNONE; then
2180  ac_site_file1=$prefix/share/config.site
2181  ac_site_file2=$prefix/etc/config.site
2182else
2183  ac_site_file1=$ac_default_prefix/share/config.site
2184  ac_site_file2=$ac_default_prefix/etc/config.site
2185fi
2186for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2187do
2188  test "x$ac_site_file" = xNONE && continue
2189  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2190    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2191$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2192    sed 's/^/| /' "$ac_site_file" >&5
2193    . "$ac_site_file" \
2194      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2195$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2196as_fn_error $? "failed to load site script $ac_site_file
2197See \`config.log' for more details" "$LINENO" 5; }
2198  fi
2199done
2200
2201if test -r "$cache_file"; then
2202  # Some versions of bash will fail to source /dev/null (special files
2203  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2204  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2205    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2206$as_echo "$as_me: loading cache $cache_file" >&6;}
2207    case $cache_file in
2208      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2209      *)                      . "./$cache_file";;
2210    esac
2211  fi
2212else
2213  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2214$as_echo "$as_me: creating cache $cache_file" >&6;}
2215  >$cache_file
2216fi
2217
2218# Check that the precious variables saved in the cache have kept the same
2219# value.
2220ac_cache_corrupted=false
2221for ac_var in $ac_precious_vars; do
2222  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2223  eval ac_new_set=\$ac_env_${ac_var}_set
2224  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2225  eval ac_new_val=\$ac_env_${ac_var}_value
2226  case $ac_old_set,$ac_new_set in
2227    set,)
2228      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2229$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2230      ac_cache_corrupted=: ;;
2231    ,set)
2232      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2233$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2234      ac_cache_corrupted=: ;;
2235    ,);;
2236    *)
2237      if test "x$ac_old_val" != "x$ac_new_val"; then
2238	# differences in whitespace do not lead to failure.
2239	ac_old_val_w=`echo x $ac_old_val`
2240	ac_new_val_w=`echo x $ac_new_val`
2241	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2242	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2243$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2244	  ac_cache_corrupted=:
2245	else
2246	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2247$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2248	  eval $ac_var=\$ac_old_val
2249	fi
2250	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2251$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2252	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2253$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2254      fi;;
2255  esac
2256  # Pass precious variables to config.status.
2257  if test "$ac_new_set" = set; then
2258    case $ac_new_val in
2259    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2260    *) ac_arg=$ac_var=$ac_new_val ;;
2261    esac
2262    case " $ac_configure_args " in
2263      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2264      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2265    esac
2266  fi
2267done
2268if $ac_cache_corrupted; then
2269  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2270$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2271  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2272$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2273  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2274fi
2275## -------------------- ##
2276## Main body of script. ##
2277## -------------------- ##
2278
2279ac_ext=c
2280ac_cpp='$CPP $CPPFLAGS'
2281ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2282ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2283ac_compiler_gnu=$ac_cv_c_compiler_gnu
2284
2285
2286
2287ac_aux_dir=
2288for ac_dir in build-aux "$srcdir"/build-aux; do
2289  if test -f "$ac_dir/install-sh"; then
2290    ac_aux_dir=$ac_dir
2291    ac_install_sh="$ac_aux_dir/install-sh -c"
2292    break
2293  elif test -f "$ac_dir/install.sh"; then
2294    ac_aux_dir=$ac_dir
2295    ac_install_sh="$ac_aux_dir/install.sh -c"
2296    break
2297  elif test -f "$ac_dir/shtool"; then
2298    ac_aux_dir=$ac_dir
2299    ac_install_sh="$ac_aux_dir/shtool install -c"
2300    break
2301  fi
2302done
2303if test -z "$ac_aux_dir"; then
2304  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2305fi
2306
2307# These three variables are undocumented and unsupported,
2308# and are intended to be withdrawn in a future Autoconf release.
2309# They can cause serious problems if a builder's source tree is in a directory
2310# whose full name contains unusual characters.
2311ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2312ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2313ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2314
2315
2316ac_config_headers="$ac_config_headers config.h"
2317
2318
2319am__api_version='1.16'
2320
2321# Find a good install program.  We prefer a C program (faster),
2322# so one script is as good as another.  But avoid the broken or
2323# incompatible versions:
2324# SysV /etc/install, /usr/sbin/install
2325# SunOS /usr/etc/install
2326# IRIX /sbin/install
2327# AIX /bin/install
2328# AmigaOS /C/install, which installs bootblocks on floppy discs
2329# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2330# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2331# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2332# OS/2's system install, which has a completely different semantic
2333# ./install, which can be erroneously created by make from ./install.sh.
2334# Reject install programs that cannot install multiple files.
2335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2336$as_echo_n "checking for a BSD-compatible install... " >&6; }
2337if test -z "$INSTALL"; then
2338if ${ac_cv_path_install+:} false; then :
2339  $as_echo_n "(cached) " >&6
2340else
2341  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2342for as_dir in $PATH
2343do
2344  IFS=$as_save_IFS
2345  test -z "$as_dir" && as_dir=.
2346    # Account for people who put trailing slashes in PATH elements.
2347case $as_dir/ in #((
2348  ./ | .// | /[cC]/* | \
2349  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2350  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2351  /usr/ucb/* ) ;;
2352  *)
2353    # OSF1 and SCO ODT 3.0 have their own names for install.
2354    # Don't use installbsd from OSF since it installs stuff as root
2355    # by default.
2356    for ac_prog in ginstall scoinst install; do
2357      for ac_exec_ext in '' $ac_executable_extensions; do
2358	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2359	  if test $ac_prog = install &&
2360	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2361	    # AIX install.  It has an incompatible calling convention.
2362	    :
2363	  elif test $ac_prog = install &&
2364	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2365	    # program-specific install script used by HP pwplus--don't use.
2366	    :
2367	  else
2368	    rm -rf conftest.one conftest.two conftest.dir
2369	    echo one > conftest.one
2370	    echo two > conftest.two
2371	    mkdir conftest.dir
2372	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2373	      test -s conftest.one && test -s conftest.two &&
2374	      test -s conftest.dir/conftest.one &&
2375	      test -s conftest.dir/conftest.two
2376	    then
2377	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2378	      break 3
2379	    fi
2380	  fi
2381	fi
2382      done
2383    done
2384    ;;
2385esac
2386
2387  done
2388IFS=$as_save_IFS
2389
2390rm -rf conftest.one conftest.two conftest.dir
2391
2392fi
2393  if test "${ac_cv_path_install+set}" = set; then
2394    INSTALL=$ac_cv_path_install
2395  else
2396    # As a last resort, use the slow shell script.  Don't cache a
2397    # value for INSTALL within a source directory, because that will
2398    # break other packages using the cache if that directory is
2399    # removed, or if the value is a relative name.
2400    INSTALL=$ac_install_sh
2401  fi
2402fi
2403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2404$as_echo "$INSTALL" >&6; }
2405
2406# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2407# It thinks the first close brace ends the variable substitution.
2408test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2409
2410test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2411
2412test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2413
2414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2415$as_echo_n "checking whether build environment is sane... " >&6; }
2416# Reject unsafe characters in $srcdir or the absolute working directory
2417# name.  Accept space and tab only in the latter.
2418am_lf='
2419'
2420case `pwd` in
2421  *[\\\"\#\$\&\'\`$am_lf]*)
2422    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2423esac
2424case $srcdir in
2425  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2426    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2427esac
2428
2429# Do 'set' in a subshell so we don't clobber the current shell's
2430# arguments.  Must try -L first in case configure is actually a
2431# symlink; some systems play weird games with the mod time of symlinks
2432# (eg FreeBSD returns the mod time of the symlink's containing
2433# directory).
2434if (
2435   am_has_slept=no
2436   for am_try in 1 2; do
2437     echo "timestamp, slept: $am_has_slept" > conftest.file
2438     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2439     if test "$*" = "X"; then
2440	# -L didn't work.
2441	set X `ls -t "$srcdir/configure" conftest.file`
2442     fi
2443     if test "$*" != "X $srcdir/configure conftest.file" \
2444	&& test "$*" != "X conftest.file $srcdir/configure"; then
2445
2446	# If neither matched, then we have a broken ls.  This can happen
2447	# if, for instance, CONFIG_SHELL is bash and it inherits a
2448	# broken ls alias from the environment.  This has actually
2449	# happened.  Such a system could not be considered "sane".
2450	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2451  alias in your environment" "$LINENO" 5
2452     fi
2453     if test "$2" = conftest.file || test $am_try -eq 2; then
2454       break
2455     fi
2456     # Just in case.
2457     sleep 1
2458     am_has_slept=yes
2459   done
2460   test "$2" = conftest.file
2461   )
2462then
2463   # Ok.
2464   :
2465else
2466   as_fn_error $? "newly created file is older than distributed files!
2467Check your system clock" "$LINENO" 5
2468fi
2469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2470$as_echo "yes" >&6; }
2471# If we didn't sleep, we still need to ensure time stamps of config.status and
2472# generated files are strictly newer.
2473am_sleep_pid=
2474if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2475  ( sleep 1 ) &
2476  am_sleep_pid=$!
2477fi
2478
2479rm -f conftest.file
2480
2481test "$program_prefix" != NONE &&
2482  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2483# Use a double $ so make ignores it.
2484test "$program_suffix" != NONE &&
2485  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2486# Double any \ or $.
2487# By default was `s,x,x', remove it if useless.
2488ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2489program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2490
2491# Expand $ac_aux_dir to an absolute path.
2492am_aux_dir=`cd "$ac_aux_dir" && pwd`
2493
2494if test x"${MISSING+set}" != xset; then
2495  MISSING="\${SHELL} '$am_aux_dir/missing'"
2496fi
2497# Use eval to expand $SHELL
2498if eval "$MISSING --is-lightweight"; then
2499  am_missing_run="$MISSING "
2500else
2501  am_missing_run=
2502  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2503$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2504fi
2505
2506if test x"${install_sh+set}" != xset; then
2507  case $am_aux_dir in
2508  *\ * | *\	*)
2509    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2510  *)
2511    install_sh="\${SHELL} $am_aux_dir/install-sh"
2512  esac
2513fi
2514
2515# Installed binaries are usually stripped using 'strip' when the user
2516# run "make install-strip".  However 'strip' might not be the right
2517# tool to use in cross-compilation environments, therefore Automake
2518# will honor the 'STRIP' environment variable to overrule this program.
2519if test "$cross_compiling" != no; then
2520  if test -n "$ac_tool_prefix"; then
2521  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2522set dummy ${ac_tool_prefix}strip; ac_word=$2
2523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2524$as_echo_n "checking for $ac_word... " >&6; }
2525if ${ac_cv_prog_STRIP+:} false; then :
2526  $as_echo_n "(cached) " >&6
2527else
2528  if test -n "$STRIP"; then
2529  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2530else
2531as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532for as_dir in $PATH
2533do
2534  IFS=$as_save_IFS
2535  test -z "$as_dir" && as_dir=.
2536    for ac_exec_ext in '' $ac_executable_extensions; do
2537  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2538    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2539    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2540    break 2
2541  fi
2542done
2543  done
2544IFS=$as_save_IFS
2545
2546fi
2547fi
2548STRIP=$ac_cv_prog_STRIP
2549if test -n "$STRIP"; then
2550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2551$as_echo "$STRIP" >&6; }
2552else
2553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2554$as_echo "no" >&6; }
2555fi
2556
2557
2558fi
2559if test -z "$ac_cv_prog_STRIP"; then
2560  ac_ct_STRIP=$STRIP
2561  # Extract the first word of "strip", so it can be a program name with args.
2562set dummy strip; ac_word=$2
2563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2564$as_echo_n "checking for $ac_word... " >&6; }
2565if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2566  $as_echo_n "(cached) " >&6
2567else
2568  if test -n "$ac_ct_STRIP"; then
2569  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2570else
2571as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2572for as_dir in $PATH
2573do
2574  IFS=$as_save_IFS
2575  test -z "$as_dir" && as_dir=.
2576    for ac_exec_ext in '' $ac_executable_extensions; do
2577  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2578    ac_cv_prog_ac_ct_STRIP="strip"
2579    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2580    break 2
2581  fi
2582done
2583  done
2584IFS=$as_save_IFS
2585
2586fi
2587fi
2588ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2589if test -n "$ac_ct_STRIP"; then
2590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2591$as_echo "$ac_ct_STRIP" >&6; }
2592else
2593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2594$as_echo "no" >&6; }
2595fi
2596
2597  if test "x$ac_ct_STRIP" = x; then
2598    STRIP=":"
2599  else
2600    case $cross_compiling:$ac_tool_warned in
2601yes:)
2602{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2603$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2604ac_tool_warned=yes ;;
2605esac
2606    STRIP=$ac_ct_STRIP
2607  fi
2608else
2609  STRIP="$ac_cv_prog_STRIP"
2610fi
2611
2612fi
2613INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2614
2615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2616$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2617if test -z "$MKDIR_P"; then
2618  if ${ac_cv_path_mkdir+:} false; then :
2619  $as_echo_n "(cached) " >&6
2620else
2621  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2623do
2624  IFS=$as_save_IFS
2625  test -z "$as_dir" && as_dir=.
2626    for ac_prog in mkdir gmkdir; do
2627	 for ac_exec_ext in '' $ac_executable_extensions; do
2628	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2629	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2630	     'mkdir (GNU coreutils) '* | \
2631	     'mkdir (coreutils) '* | \
2632	     'mkdir (fileutils) '4.1*)
2633	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2634	       break 3;;
2635	   esac
2636	 done
2637       done
2638  done
2639IFS=$as_save_IFS
2640
2641fi
2642
2643  test -d ./--version && rmdir ./--version
2644  if test "${ac_cv_path_mkdir+set}" = set; then
2645    MKDIR_P="$ac_cv_path_mkdir -p"
2646  else
2647    # As a last resort, use the slow shell script.  Don't cache a
2648    # value for MKDIR_P within a source directory, because that will
2649    # break other packages using the cache if that directory is
2650    # removed, or if the value is a relative name.
2651    MKDIR_P="$ac_install_sh -d"
2652  fi
2653fi
2654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2655$as_echo "$MKDIR_P" >&6; }
2656
2657for ac_prog in gawk mawk nawk awk
2658do
2659  # Extract the first word of "$ac_prog", so it can be a program name with args.
2660set dummy $ac_prog; ac_word=$2
2661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2662$as_echo_n "checking for $ac_word... " >&6; }
2663if ${ac_cv_prog_AWK+:} false; then :
2664  $as_echo_n "(cached) " >&6
2665else
2666  if test -n "$AWK"; then
2667  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2668else
2669as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2670for as_dir in $PATH
2671do
2672  IFS=$as_save_IFS
2673  test -z "$as_dir" && as_dir=.
2674    for ac_exec_ext in '' $ac_executable_extensions; do
2675  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2676    ac_cv_prog_AWK="$ac_prog"
2677    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2678    break 2
2679  fi
2680done
2681  done
2682IFS=$as_save_IFS
2683
2684fi
2685fi
2686AWK=$ac_cv_prog_AWK
2687if test -n "$AWK"; then
2688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2689$as_echo "$AWK" >&6; }
2690else
2691  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2692$as_echo "no" >&6; }
2693fi
2694
2695
2696  test -n "$AWK" && break
2697done
2698
2699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2700$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2701set x ${MAKE-make}
2702ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2703if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2704  $as_echo_n "(cached) " >&6
2705else
2706  cat >conftest.make <<\_ACEOF
2707SHELL = /bin/sh
2708all:
2709	@echo '@@@%%%=$(MAKE)=@@@%%%'
2710_ACEOF
2711# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2712case `${MAKE-make} -f conftest.make 2>/dev/null` in
2713  *@@@%%%=?*=@@@%%%*)
2714    eval ac_cv_prog_make_${ac_make}_set=yes;;
2715  *)
2716    eval ac_cv_prog_make_${ac_make}_set=no;;
2717esac
2718rm -f conftest.make
2719fi
2720if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2722$as_echo "yes" >&6; }
2723  SET_MAKE=
2724else
2725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726$as_echo "no" >&6; }
2727  SET_MAKE="MAKE=${MAKE-make}"
2728fi
2729
2730rm -rf .tst 2>/dev/null
2731mkdir .tst 2>/dev/null
2732if test -d .tst; then
2733  am__leading_dot=.
2734else
2735  am__leading_dot=_
2736fi
2737rmdir .tst 2>/dev/null
2738
2739# Check whether --enable-silent-rules was given.
2740if test "${enable_silent_rules+set}" = set; then :
2741  enableval=$enable_silent_rules;
2742fi
2743
2744case $enable_silent_rules in # (((
2745  yes) AM_DEFAULT_VERBOSITY=0;;
2746   no) AM_DEFAULT_VERBOSITY=1;;
2747    *) AM_DEFAULT_VERBOSITY=1;;
2748esac
2749am_make=${MAKE-make}
2750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2751$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2752if ${am_cv_make_support_nested_variables+:} false; then :
2753  $as_echo_n "(cached) " >&6
2754else
2755  if $as_echo 'TRUE=$(BAR$(V))
2756BAR0=false
2757BAR1=true
2758V=1
2759am__doit:
2760	@$(TRUE)
2761.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2762  am_cv_make_support_nested_variables=yes
2763else
2764  am_cv_make_support_nested_variables=no
2765fi
2766fi
2767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2768$as_echo "$am_cv_make_support_nested_variables" >&6; }
2769if test $am_cv_make_support_nested_variables = yes; then
2770    AM_V='$(V)'
2771  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2772else
2773  AM_V=$AM_DEFAULT_VERBOSITY
2774  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2775fi
2776AM_BACKSLASH='\'
2777
2778if test "`cd $srcdir && pwd`" != "`pwd`"; then
2779  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2780  # is not polluted with repeated "-I."
2781  am__isrc=' -I$(srcdir)'
2782  # test to see if srcdir already configured
2783  if test -f $srcdir/config.status; then
2784    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2785  fi
2786fi
2787
2788# test whether we have cygpath
2789if test -z "$CYGPATH_W"; then
2790  if (cygpath --version) >/dev/null 2>/dev/null; then
2791    CYGPATH_W='cygpath -w'
2792  else
2793    CYGPATH_W=echo
2794  fi
2795fi
2796
2797
2798# Define the identity of the package.
2799 PACKAGE='vala'
2800 VERSION='0.48.18'
2801
2802
2803cat >>confdefs.h <<_ACEOF
2804#define PACKAGE "$PACKAGE"
2805_ACEOF
2806
2807
2808cat >>confdefs.h <<_ACEOF
2809#define VERSION "$VERSION"
2810_ACEOF
2811
2812# Some tools Automake needs.
2813
2814ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2815
2816
2817AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2818
2819
2820AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2821
2822
2823AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2824
2825
2826MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2827
2828# For better backward compatibility.  To be removed once Automake 1.9.x
2829# dies out for good.  For more background, see:
2830# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2831# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2832mkdir_p='$(MKDIR_P)'
2833
2834# We need awk for the "check" target (and possibly the TAP driver).  The
2835# system "awk" is bad on some platforms.
2836# Always define AMTAR for backward compatibility.  Yes, it's still used
2837# in the wild :-(  We should find a proper way to deprecate it ...
2838AMTAR='$${TAR-tar}'
2839
2840
2841# We'll loop over all known methods to create a tar archive until one works.
2842_am_tools='gnutar  pax cpio none'
2843
2844am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2845
2846
2847
2848
2849
2850
2851# POSIX will say in a future version that running "rm -f" with no argument
2852# is OK; and we want to be able to make that assumption in our Makefile
2853# recipes.  So use an aggressive probe to check that the usage we want is
2854# actually supported "in the wild" to an acceptable degree.
2855# See automake bug#10828.
2856# To make any issue more visible, cause the running configure to be aborted
2857# by default if the 'rm' program in use doesn't match our expectations; the
2858# user can still override this though.
2859if rm -f && rm -fr && rm -rf; then : OK; else
2860  cat >&2 <<'END'
2861Oops!
2862
2863Your 'rm' program seems unable to run without file operands specified
2864on the command line, even when the '-f' option is present.  This is contrary
2865to the behaviour of most rm programs out there, and not conforming with
2866the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2867
2868Please tell bug-automake@gnu.org about your system, including the value
2869of your $PATH and any error possibly output before this message.  This
2870can help us improve future automake versions.
2871
2872END
2873  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2874    echo 'Configuration will proceed anyway, since you have set the' >&2
2875    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2876    echo >&2
2877  else
2878    cat >&2 <<'END'
2879Aborting the configuration process, to ensure you take notice of the issue.
2880
2881You can download and install GNU coreutils to get an 'rm' implementation
2882that behaves properly: <https://www.gnu.org/software/coreutils/>.
2883
2884If you want to complete the configuration process using your problematic
2885'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2886to "yes", and re-run configure.
2887
2888END
2889    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2890  fi
2891fi
2892
2893
2894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2895$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2896    # Check whether --enable-maintainer-mode was given.
2897if test "${enable_maintainer_mode+set}" = set; then :
2898  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2899else
2900  USE_MAINTAINER_MODE=yes
2901fi
2902
2903  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2904$as_echo "$USE_MAINTAINER_MODE" >&6; }
2905   if test $USE_MAINTAINER_MODE = yes; then
2906  MAINTAINER_MODE_TRUE=
2907  MAINTAINER_MODE_FALSE='#'
2908else
2909  MAINTAINER_MODE_TRUE='#'
2910  MAINTAINER_MODE_FALSE=
2911fi
2912
2913  MAINT=$MAINTAINER_MODE_TRUE
2914
2915
2916
2917API_VERSION=0.48
2918PACKAGE_SUFFIX="-$API_VERSION"
2919
2920VALA_MAJOR_VERSION=`echo $PACKAGE_VERSION | cut -d. -f1 | sed s/[a-zA-Z\-].*//g`
2921VALA_MINOR_VERSION=`echo $PACKAGE_VERSION | cut -d. -f2 | sed s/[a-zA-Z\-].*//g`
2922VALA_MICRO_VERSION=`echo $PACKAGE_VERSION | cut -d. -f3 | sed s/[a-zA-Z\-].*//g`
2923
2924
2925
2926
2927echo \#buildapi-variable-no-builddir >/dev/null
2928
2929
2930
2931cat >>confdefs.h <<_ACEOF
2932#define API_VERSION "$API_VERSION"
2933_ACEOF
2934
2935
2936
2937cat >>confdefs.h <<_ACEOF
2938#define PACKAGE_SUFFIX "$PACKAGE_SUFFIX"
2939_ACEOF
2940
2941
2942program_transform_name="s,\$\$,${PACKAGE_SUFFIX},"
2943
2944pkgdatadir=${datadir}/vala${PACKAGE_SUFFIX}
2945
2946pkglibdir=${libdir}/vala${PACKAGE_SUFFIX}
2947
2948pkgdocdatadir=${datadir}/valadoc${PACKAGE_SUFFIX}
2949
2950pkgdoclibdir=${libdir}/valadoc${PACKAGE_SUFFIX}
2951
2952
2953# Checks for programs.
2954ac_ext=c
2955ac_cpp='$CPP $CPPFLAGS'
2956ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2957ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2958ac_compiler_gnu=$ac_cv_c_compiler_gnu
2959if test -n "$ac_tool_prefix"; then
2960  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2961set dummy ${ac_tool_prefix}gcc; ac_word=$2
2962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2963$as_echo_n "checking for $ac_word... " >&6; }
2964if ${ac_cv_prog_CC+:} false; then :
2965  $as_echo_n "(cached) " >&6
2966else
2967  if test -n "$CC"; then
2968  ac_cv_prog_CC="$CC" # Let the user override the test.
2969else
2970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2971for as_dir in $PATH
2972do
2973  IFS=$as_save_IFS
2974  test -z "$as_dir" && as_dir=.
2975    for ac_exec_ext in '' $ac_executable_extensions; do
2976  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2977    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2978    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2979    break 2
2980  fi
2981done
2982  done
2983IFS=$as_save_IFS
2984
2985fi
2986fi
2987CC=$ac_cv_prog_CC
2988if test -n "$CC"; then
2989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2990$as_echo "$CC" >&6; }
2991else
2992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993$as_echo "no" >&6; }
2994fi
2995
2996
2997fi
2998if test -z "$ac_cv_prog_CC"; then
2999  ac_ct_CC=$CC
3000  # Extract the first word of "gcc", so it can be a program name with args.
3001set dummy gcc; ac_word=$2
3002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3003$as_echo_n "checking for $ac_word... " >&6; }
3004if ${ac_cv_prog_ac_ct_CC+:} false; then :
3005  $as_echo_n "(cached) " >&6
3006else
3007  if test -n "$ac_ct_CC"; then
3008  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3009else
3010as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3011for as_dir in $PATH
3012do
3013  IFS=$as_save_IFS
3014  test -z "$as_dir" && as_dir=.
3015    for ac_exec_ext in '' $ac_executable_extensions; do
3016  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3017    ac_cv_prog_ac_ct_CC="gcc"
3018    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3019    break 2
3020  fi
3021done
3022  done
3023IFS=$as_save_IFS
3024
3025fi
3026fi
3027ac_ct_CC=$ac_cv_prog_ac_ct_CC
3028if test -n "$ac_ct_CC"; then
3029  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3030$as_echo "$ac_ct_CC" >&6; }
3031else
3032  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033$as_echo "no" >&6; }
3034fi
3035
3036  if test "x$ac_ct_CC" = x; then
3037    CC=""
3038  else
3039    case $cross_compiling:$ac_tool_warned in
3040yes:)
3041{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3042$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3043ac_tool_warned=yes ;;
3044esac
3045    CC=$ac_ct_CC
3046  fi
3047else
3048  CC="$ac_cv_prog_CC"
3049fi
3050
3051if test -z "$CC"; then
3052          if test -n "$ac_tool_prefix"; then
3053    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3054set dummy ${ac_tool_prefix}cc; ac_word=$2
3055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3056$as_echo_n "checking for $ac_word... " >&6; }
3057if ${ac_cv_prog_CC+:} false; then :
3058  $as_echo_n "(cached) " >&6
3059else
3060  if test -n "$CC"; then
3061  ac_cv_prog_CC="$CC" # Let the user override the test.
3062else
3063as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3064for as_dir in $PATH
3065do
3066  IFS=$as_save_IFS
3067  test -z "$as_dir" && as_dir=.
3068    for ac_exec_ext in '' $ac_executable_extensions; do
3069  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3070    ac_cv_prog_CC="${ac_tool_prefix}cc"
3071    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3072    break 2
3073  fi
3074done
3075  done
3076IFS=$as_save_IFS
3077
3078fi
3079fi
3080CC=$ac_cv_prog_CC
3081if test -n "$CC"; then
3082  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3083$as_echo "$CC" >&6; }
3084else
3085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3086$as_echo "no" >&6; }
3087fi
3088
3089
3090  fi
3091fi
3092if test -z "$CC"; then
3093  # Extract the first word of "cc", so it can be a program name with args.
3094set dummy cc; ac_word=$2
3095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3096$as_echo_n "checking for $ac_word... " >&6; }
3097if ${ac_cv_prog_CC+:} false; then :
3098  $as_echo_n "(cached) " >&6
3099else
3100  if test -n "$CC"; then
3101  ac_cv_prog_CC="$CC" # Let the user override the test.
3102else
3103  ac_prog_rejected=no
3104as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3105for as_dir in $PATH
3106do
3107  IFS=$as_save_IFS
3108  test -z "$as_dir" && as_dir=.
3109    for ac_exec_ext in '' $ac_executable_extensions; do
3110  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3111    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3112       ac_prog_rejected=yes
3113       continue
3114     fi
3115    ac_cv_prog_CC="cc"
3116    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3117    break 2
3118  fi
3119done
3120  done
3121IFS=$as_save_IFS
3122
3123if test $ac_prog_rejected = yes; then
3124  # We found a bogon in the path, so make sure we never use it.
3125  set dummy $ac_cv_prog_CC
3126  shift
3127  if test $# != 0; then
3128    # We chose a different compiler from the bogus one.
3129    # However, it has the same basename, so the bogon will be chosen
3130    # first if we set CC to just the basename; use the full file name.
3131    shift
3132    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3133  fi
3134fi
3135fi
3136fi
3137CC=$ac_cv_prog_CC
3138if test -n "$CC"; then
3139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3140$as_echo "$CC" >&6; }
3141else
3142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143$as_echo "no" >&6; }
3144fi
3145
3146
3147fi
3148if test -z "$CC"; then
3149  if test -n "$ac_tool_prefix"; then
3150  for ac_prog in cl.exe
3151  do
3152    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3153set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3155$as_echo_n "checking for $ac_word... " >&6; }
3156if ${ac_cv_prog_CC+:} false; then :
3157  $as_echo_n "(cached) " >&6
3158else
3159  if test -n "$CC"; then
3160  ac_cv_prog_CC="$CC" # Let the user override the test.
3161else
3162as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3163for as_dir in $PATH
3164do
3165  IFS=$as_save_IFS
3166  test -z "$as_dir" && as_dir=.
3167    for ac_exec_ext in '' $ac_executable_extensions; do
3168  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3169    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3170    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3171    break 2
3172  fi
3173done
3174  done
3175IFS=$as_save_IFS
3176
3177fi
3178fi
3179CC=$ac_cv_prog_CC
3180if test -n "$CC"; then
3181  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3182$as_echo "$CC" >&6; }
3183else
3184  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3185$as_echo "no" >&6; }
3186fi
3187
3188
3189    test -n "$CC" && break
3190  done
3191fi
3192if test -z "$CC"; then
3193  ac_ct_CC=$CC
3194  for ac_prog in cl.exe
3195do
3196  # Extract the first word of "$ac_prog", so it can be a program name with args.
3197set dummy $ac_prog; ac_word=$2
3198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3199$as_echo_n "checking for $ac_word... " >&6; }
3200if ${ac_cv_prog_ac_ct_CC+:} false; then :
3201  $as_echo_n "(cached) " >&6
3202else
3203  if test -n "$ac_ct_CC"; then
3204  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3205else
3206as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3207for as_dir in $PATH
3208do
3209  IFS=$as_save_IFS
3210  test -z "$as_dir" && as_dir=.
3211    for ac_exec_ext in '' $ac_executable_extensions; do
3212  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3213    ac_cv_prog_ac_ct_CC="$ac_prog"
3214    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3215    break 2
3216  fi
3217done
3218  done
3219IFS=$as_save_IFS
3220
3221fi
3222fi
3223ac_ct_CC=$ac_cv_prog_ac_ct_CC
3224if test -n "$ac_ct_CC"; then
3225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3226$as_echo "$ac_ct_CC" >&6; }
3227else
3228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3229$as_echo "no" >&6; }
3230fi
3231
3232
3233  test -n "$ac_ct_CC" && break
3234done
3235
3236  if test "x$ac_ct_CC" = x; then
3237    CC=""
3238  else
3239    case $cross_compiling:$ac_tool_warned in
3240yes:)
3241{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3242$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3243ac_tool_warned=yes ;;
3244esac
3245    CC=$ac_ct_CC
3246  fi
3247fi
3248
3249fi
3250
3251
3252test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3253$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3254as_fn_error $? "no acceptable C compiler found in \$PATH
3255See \`config.log' for more details" "$LINENO" 5; }
3256
3257# Provide some information about the compiler.
3258$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3259set X $ac_compile
3260ac_compiler=$2
3261for ac_option in --version -v -V -qversion; do
3262  { { ac_try="$ac_compiler $ac_option >&5"
3263case "(($ac_try" in
3264  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3265  *) ac_try_echo=$ac_try;;
3266esac
3267eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3268$as_echo "$ac_try_echo"; } >&5
3269  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3270  ac_status=$?
3271  if test -s conftest.err; then
3272    sed '10a\
3273... rest of stderr output deleted ...
3274         10q' conftest.err >conftest.er1
3275    cat conftest.er1 >&5
3276  fi
3277  rm -f conftest.er1 conftest.err
3278  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3279  test $ac_status = 0; }
3280done
3281
3282cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283/* end confdefs.h.  */
3284
3285int
3286main ()
3287{
3288
3289  ;
3290  return 0;
3291}
3292_ACEOF
3293ac_clean_files_save=$ac_clean_files
3294ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3295# Try to create an executable without -o first, disregard a.out.
3296# It will help us diagnose broken compilers, and finding out an intuition
3297# of exeext.
3298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3299$as_echo_n "checking whether the C compiler works... " >&6; }
3300ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3301
3302# The possible output files:
3303ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3304
3305ac_rmfiles=
3306for ac_file in $ac_files
3307do
3308  case $ac_file in
3309    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3310    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3311  esac
3312done
3313rm -f $ac_rmfiles
3314
3315if { { ac_try="$ac_link_default"
3316case "(($ac_try" in
3317  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3318  *) ac_try_echo=$ac_try;;
3319esac
3320eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3321$as_echo "$ac_try_echo"; } >&5
3322  (eval "$ac_link_default") 2>&5
3323  ac_status=$?
3324  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3325  test $ac_status = 0; }; then :
3326  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3327# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3328# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3329# so that the user can short-circuit this test for compilers unknown to
3330# Autoconf.
3331for ac_file in $ac_files ''
3332do
3333  test -f "$ac_file" || continue
3334  case $ac_file in
3335    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3336	;;
3337    [ab].out )
3338	# We found the default executable, but exeext='' is most
3339	# certainly right.
3340	break;;
3341    *.* )
3342	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3343	then :; else
3344	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3345	fi
3346	# We set ac_cv_exeext here because the later test for it is not
3347	# safe: cross compilers may not add the suffix if given an `-o'
3348	# argument, so we may need to know it at that point already.
3349	# Even if this section looks crufty: it has the advantage of
3350	# actually working.
3351	break;;
3352    * )
3353	break;;
3354  esac
3355done
3356test "$ac_cv_exeext" = no && ac_cv_exeext=
3357
3358else
3359  ac_file=''
3360fi
3361if test -z "$ac_file"; then :
3362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3363$as_echo "no" >&6; }
3364$as_echo "$as_me: failed program was:" >&5
3365sed 's/^/| /' conftest.$ac_ext >&5
3366
3367{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3368$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3369as_fn_error 77 "C compiler cannot create executables
3370See \`config.log' for more details" "$LINENO" 5; }
3371else
3372  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3373$as_echo "yes" >&6; }
3374fi
3375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3376$as_echo_n "checking for C compiler default output file name... " >&6; }
3377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3378$as_echo "$ac_file" >&6; }
3379ac_exeext=$ac_cv_exeext
3380
3381rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3382ac_clean_files=$ac_clean_files_save
3383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3384$as_echo_n "checking for suffix of executables... " >&6; }
3385if { { ac_try="$ac_link"
3386case "(($ac_try" in
3387  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388  *) ac_try_echo=$ac_try;;
3389esac
3390eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3391$as_echo "$ac_try_echo"; } >&5
3392  (eval "$ac_link") 2>&5
3393  ac_status=$?
3394  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3395  test $ac_status = 0; }; then :
3396  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3397# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3398# work properly (i.e., refer to `conftest.exe'), while it won't with
3399# `rm'.
3400for ac_file in conftest.exe conftest conftest.*; do
3401  test -f "$ac_file" || continue
3402  case $ac_file in
3403    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3404    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3405	  break;;
3406    * ) break;;
3407  esac
3408done
3409else
3410  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3413See \`config.log' for more details" "$LINENO" 5; }
3414fi
3415rm -f conftest conftest$ac_cv_exeext
3416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3417$as_echo "$ac_cv_exeext" >&6; }
3418
3419rm -f conftest.$ac_ext
3420EXEEXT=$ac_cv_exeext
3421ac_exeext=$EXEEXT
3422cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423/* end confdefs.h.  */
3424#include <stdio.h>
3425int
3426main ()
3427{
3428FILE *f = fopen ("conftest.out", "w");
3429 return ferror (f) || fclose (f) != 0;
3430
3431  ;
3432  return 0;
3433}
3434_ACEOF
3435ac_clean_files="$ac_clean_files conftest.out"
3436# Check that the compiler produces executables we can run.  If not, either
3437# the compiler is broken, or we cross compile.
3438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3439$as_echo_n "checking whether we are cross compiling... " >&6; }
3440if test "$cross_compiling" != yes; then
3441  { { ac_try="$ac_link"
3442case "(($ac_try" in
3443  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3444  *) ac_try_echo=$ac_try;;
3445esac
3446eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3447$as_echo "$ac_try_echo"; } >&5
3448  (eval "$ac_link") 2>&5
3449  ac_status=$?
3450  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3451  test $ac_status = 0; }
3452  if { ac_try='./conftest$ac_cv_exeext'
3453  { { case "(($ac_try" in
3454  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3455  *) ac_try_echo=$ac_try;;
3456esac
3457eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3458$as_echo "$ac_try_echo"; } >&5
3459  (eval "$ac_try") 2>&5
3460  ac_status=$?
3461  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3462  test $ac_status = 0; }; }; then
3463    cross_compiling=no
3464  else
3465    if test "$cross_compiling" = maybe; then
3466	cross_compiling=yes
3467    else
3468	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3469$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3470as_fn_error $? "cannot run C compiled programs.
3471If you meant to cross compile, use \`--host'.
3472See \`config.log' for more details" "$LINENO" 5; }
3473    fi
3474  fi
3475fi
3476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3477$as_echo "$cross_compiling" >&6; }
3478
3479rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3480ac_clean_files=$ac_clean_files_save
3481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3482$as_echo_n "checking for suffix of object files... " >&6; }
3483if ${ac_cv_objext+:} false; then :
3484  $as_echo_n "(cached) " >&6
3485else
3486  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3487/* end confdefs.h.  */
3488
3489int
3490main ()
3491{
3492
3493  ;
3494  return 0;
3495}
3496_ACEOF
3497rm -f conftest.o conftest.obj
3498if { { ac_try="$ac_compile"
3499case "(($ac_try" in
3500  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3501  *) ac_try_echo=$ac_try;;
3502esac
3503eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3504$as_echo "$ac_try_echo"; } >&5
3505  (eval "$ac_compile") 2>&5
3506  ac_status=$?
3507  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3508  test $ac_status = 0; }; then :
3509  for ac_file in conftest.o conftest.obj conftest.*; do
3510  test -f "$ac_file" || continue;
3511  case $ac_file in
3512    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3513    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3514       break;;
3515  esac
3516done
3517else
3518  $as_echo "$as_me: failed program was:" >&5
3519sed 's/^/| /' conftest.$ac_ext >&5
3520
3521{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3522$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3523as_fn_error $? "cannot compute suffix of object files: cannot compile
3524See \`config.log' for more details" "$LINENO" 5; }
3525fi
3526rm -f conftest.$ac_cv_objext conftest.$ac_ext
3527fi
3528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3529$as_echo "$ac_cv_objext" >&6; }
3530OBJEXT=$ac_cv_objext
3531ac_objext=$OBJEXT
3532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3533$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3534if ${ac_cv_c_compiler_gnu+:} false; then :
3535  $as_echo_n "(cached) " >&6
3536else
3537  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3538/* end confdefs.h.  */
3539
3540int
3541main ()
3542{
3543#ifndef __GNUC__
3544       choke me
3545#endif
3546
3547  ;
3548  return 0;
3549}
3550_ACEOF
3551if ac_fn_c_try_compile "$LINENO"; then :
3552  ac_compiler_gnu=yes
3553else
3554  ac_compiler_gnu=no
3555fi
3556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3557ac_cv_c_compiler_gnu=$ac_compiler_gnu
3558
3559fi
3560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3561$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3562if test $ac_compiler_gnu = yes; then
3563  GCC=yes
3564else
3565  GCC=
3566fi
3567ac_test_CFLAGS=${CFLAGS+set}
3568ac_save_CFLAGS=$CFLAGS
3569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3570$as_echo_n "checking whether $CC accepts -g... " >&6; }
3571if ${ac_cv_prog_cc_g+:} false; then :
3572  $as_echo_n "(cached) " >&6
3573else
3574  ac_save_c_werror_flag=$ac_c_werror_flag
3575   ac_c_werror_flag=yes
3576   ac_cv_prog_cc_g=no
3577   CFLAGS="-g"
3578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579/* end confdefs.h.  */
3580
3581int
3582main ()
3583{
3584
3585  ;
3586  return 0;
3587}
3588_ACEOF
3589if ac_fn_c_try_compile "$LINENO"; then :
3590  ac_cv_prog_cc_g=yes
3591else
3592  CFLAGS=""
3593      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3594/* end confdefs.h.  */
3595
3596int
3597main ()
3598{
3599
3600  ;
3601  return 0;
3602}
3603_ACEOF
3604if ac_fn_c_try_compile "$LINENO"; then :
3605
3606else
3607  ac_c_werror_flag=$ac_save_c_werror_flag
3608	 CFLAGS="-g"
3609	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610/* end confdefs.h.  */
3611
3612int
3613main ()
3614{
3615
3616  ;
3617  return 0;
3618}
3619_ACEOF
3620if ac_fn_c_try_compile "$LINENO"; then :
3621  ac_cv_prog_cc_g=yes
3622fi
3623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3624fi
3625rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3626fi
3627rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3628   ac_c_werror_flag=$ac_save_c_werror_flag
3629fi
3630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3631$as_echo "$ac_cv_prog_cc_g" >&6; }
3632if test "$ac_test_CFLAGS" = set; then
3633  CFLAGS=$ac_save_CFLAGS
3634elif test $ac_cv_prog_cc_g = yes; then
3635  if test "$GCC" = yes; then
3636    CFLAGS="-g -O2"
3637  else
3638    CFLAGS="-g"
3639  fi
3640else
3641  if test "$GCC" = yes; then
3642    CFLAGS="-O2"
3643  else
3644    CFLAGS=
3645  fi
3646fi
3647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3648$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3649if ${ac_cv_prog_cc_c89+:} false; then :
3650  $as_echo_n "(cached) " >&6
3651else
3652  ac_cv_prog_cc_c89=no
3653ac_save_CC=$CC
3654cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655/* end confdefs.h.  */
3656#include <stdarg.h>
3657#include <stdio.h>
3658struct stat;
3659/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3660struct buf { int x; };
3661FILE * (*rcsopen) (struct buf *, struct stat *, int);
3662static char *e (p, i)
3663     char **p;
3664     int i;
3665{
3666  return p[i];
3667}
3668static char *f (char * (*g) (char **, int), char **p, ...)
3669{
3670  char *s;
3671  va_list v;
3672  va_start (v,p);
3673  s = g (p, va_arg (v,int));
3674  va_end (v);
3675  return s;
3676}
3677
3678/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3679   function prototypes and stuff, but not '\xHH' hex character constants.
3680   These don't provoke an error unfortunately, instead are silently treated
3681   as 'x'.  The following induces an error, until -std is added to get
3682   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3683   array size at least.  It's necessary to write '\x00'==0 to get something
3684   that's true only with -std.  */
3685int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3686
3687/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3688   inside strings and character constants.  */
3689#define FOO(x) 'x'
3690int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3691
3692int test (int i, double x);
3693struct s1 {int (*f) (int a);};
3694struct s2 {int (*f) (double a);};
3695int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3696int argc;
3697char **argv;
3698int
3699main ()
3700{
3701return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3702  ;
3703  return 0;
3704}
3705_ACEOF
3706for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3707	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3708do
3709  CC="$ac_save_CC $ac_arg"
3710  if ac_fn_c_try_compile "$LINENO"; then :
3711  ac_cv_prog_cc_c89=$ac_arg
3712fi
3713rm -f core conftest.err conftest.$ac_objext
3714  test "x$ac_cv_prog_cc_c89" != "xno" && break
3715done
3716rm -f conftest.$ac_ext
3717CC=$ac_save_CC
3718
3719fi
3720# AC_CACHE_VAL
3721case "x$ac_cv_prog_cc_c89" in
3722  x)
3723    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3724$as_echo "none needed" >&6; } ;;
3725  xno)
3726    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3727$as_echo "unsupported" >&6; } ;;
3728  *)
3729    CC="$CC $ac_cv_prog_cc_c89"
3730    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3731$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3732esac
3733if test "x$ac_cv_prog_cc_c89" != xno; then :
3734
3735fi
3736
3737ac_ext=c
3738ac_cpp='$CPP $CPPFLAGS'
3739ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3740ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3741ac_compiler_gnu=$ac_cv_c_compiler_gnu
3742
3743ac_ext=c
3744ac_cpp='$CPP $CPPFLAGS'
3745ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3746ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3747ac_compiler_gnu=$ac_cv_c_compiler_gnu
3748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3749$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3750if ${am_cv_prog_cc_c_o+:} false; then :
3751  $as_echo_n "(cached) " >&6
3752else
3753  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3754/* end confdefs.h.  */
3755
3756int
3757main ()
3758{
3759
3760  ;
3761  return 0;
3762}
3763_ACEOF
3764  # Make sure it works both with $CC and with simple cc.
3765  # Following AC_PROG_CC_C_O, we do the test twice because some
3766  # compilers refuse to overwrite an existing .o file with -o,
3767  # though they will create one.
3768  am_cv_prog_cc_c_o=yes
3769  for am_i in 1 2; do
3770    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3771   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3772   ac_status=$?
3773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774   (exit $ac_status); } \
3775         && test -f conftest2.$ac_objext; then
3776      : OK
3777    else
3778      am_cv_prog_cc_c_o=no
3779      break
3780    fi
3781  done
3782  rm -f core conftest*
3783  unset am_i
3784fi
3785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3786$as_echo "$am_cv_prog_cc_c_o" >&6; }
3787if test "$am_cv_prog_cc_c_o" != yes; then
3788   # Losing compiler, so override with the script.
3789   # FIXME: It is wrong to rewrite CC.
3790   # But if we don't then we get into trouble of one sort or another.
3791   # A longer-term fix would be to have automake use am__CC in this case,
3792   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3793   CC="$am_aux_dir/compile $CC"
3794fi
3795ac_ext=c
3796ac_cpp='$CPP $CPPFLAGS'
3797ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3798ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3799ac_compiler_gnu=$ac_cv_c_compiler_gnu
3800
3801DEPDIR="${am__leading_dot}deps"
3802
3803ac_config_commands="$ac_config_commands depfiles"
3804
3805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3806$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3807cat > confinc.mk << 'END'
3808am__doit:
3809	@echo this is the am__doit target >confinc.out
3810.PHONY: am__doit
3811END
3812am__include="#"
3813am__quote=
3814# BSD make does it like this.
3815echo '.include "confinc.mk" # ignored' > confmf.BSD
3816# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3817echo 'include confinc.mk # ignored' > confmf.GNU
3818_am_result=no
3819for s in GNU BSD; do
3820  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3821   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3822   ac_status=$?
3823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824   (exit $ac_status); }
3825  case $?:`cat confinc.out 2>/dev/null` in #(
3826  '0:this is the am__doit target') :
3827    case $s in #(
3828  BSD) :
3829    am__include='.include' am__quote='"' ;; #(
3830  *) :
3831    am__include='include' am__quote='' ;;
3832esac ;; #(
3833  *) :
3834     ;;
3835esac
3836  if test "$am__include" != "#"; then
3837    _am_result="yes ($s style)"
3838    break
3839  fi
3840done
3841rm -f confinc.* confmf.*
3842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3843$as_echo "${_am_result}" >&6; }
3844
3845# Check whether --enable-dependency-tracking was given.
3846if test "${enable_dependency_tracking+set}" = set; then :
3847  enableval=$enable_dependency_tracking;
3848fi
3849
3850if test "x$enable_dependency_tracking" != xno; then
3851  am_depcomp="$ac_aux_dir/depcomp"
3852  AMDEPBACKSLASH='\'
3853  am__nodep='_no'
3854fi
3855 if test "x$enable_dependency_tracking" != xno; then
3856  AMDEP_TRUE=
3857  AMDEP_FALSE='#'
3858else
3859  AMDEP_TRUE='#'
3860  AMDEP_FALSE=
3861fi
3862
3863
3864
3865depcc="$CC"   am_compiler_list=
3866
3867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3868$as_echo_n "checking dependency style of $depcc... " >&6; }
3869if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3870  $as_echo_n "(cached) " >&6
3871else
3872  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3873  # We make a subdir and do the tests there.  Otherwise we can end up
3874  # making bogus files that we don't know about and never remove.  For
3875  # instance it was reported that on HP-UX the gcc test will end up
3876  # making a dummy file named 'D' -- because '-MD' means "put the output
3877  # in D".
3878  rm -rf conftest.dir
3879  mkdir conftest.dir
3880  # Copy depcomp to subdir because otherwise we won't find it if we're
3881  # using a relative directory.
3882  cp "$am_depcomp" conftest.dir
3883  cd conftest.dir
3884  # We will build objects and dependencies in a subdirectory because
3885  # it helps to detect inapplicable dependency modes.  For instance
3886  # both Tru64's cc and ICC support -MD to output dependencies as a
3887  # side effect of compilation, but ICC will put the dependencies in
3888  # the current directory while Tru64 will put them in the object
3889  # directory.
3890  mkdir sub
3891
3892  am_cv_CC_dependencies_compiler_type=none
3893  if test "$am_compiler_list" = ""; then
3894     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3895  fi
3896  am__universal=false
3897  case " $depcc " in #(
3898     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3899     esac
3900
3901  for depmode in $am_compiler_list; do
3902    # Setup a source with many dependencies, because some compilers
3903    # like to wrap large dependency lists on column 80 (with \), and
3904    # we should not choose a depcomp mode which is confused by this.
3905    #
3906    # We need to recreate these files for each test, as the compiler may
3907    # overwrite some of them when testing with obscure command lines.
3908    # This happens at least with the AIX C compiler.
3909    : > sub/conftest.c
3910    for i in 1 2 3 4 5 6; do
3911      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3912      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3913      # Solaris 10 /bin/sh.
3914      echo '/* dummy */' > sub/conftst$i.h
3915    done
3916    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3917
3918    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3919    # mode.  It turns out that the SunPro C++ compiler does not properly
3920    # handle '-M -o', and we need to detect this.  Also, some Intel
3921    # versions had trouble with output in subdirs.
3922    am__obj=sub/conftest.${OBJEXT-o}
3923    am__minus_obj="-o $am__obj"
3924    case $depmode in
3925    gcc)
3926      # This depmode causes a compiler race in universal mode.
3927      test "$am__universal" = false || continue
3928      ;;
3929    nosideeffect)
3930      # After this tag, mechanisms are not by side-effect, so they'll
3931      # only be used when explicitly requested.
3932      if test "x$enable_dependency_tracking" = xyes; then
3933	continue
3934      else
3935	break
3936      fi
3937      ;;
3938    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3939      # This compiler won't grok '-c -o', but also, the minuso test has
3940      # not run yet.  These depmodes are late enough in the game, and
3941      # so weak that their functioning should not be impacted.
3942      am__obj=conftest.${OBJEXT-o}
3943      am__minus_obj=
3944      ;;
3945    none) break ;;
3946    esac
3947    if depmode=$depmode \
3948       source=sub/conftest.c object=$am__obj \
3949       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3950       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3951         >/dev/null 2>conftest.err &&
3952       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3953       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3954       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3955       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3956      # icc doesn't choke on unknown options, it will just issue warnings
3957      # or remarks (even with -Werror).  So we grep stderr for any message
3958      # that says an option was ignored or not supported.
3959      # When given -MP, icc 7.0 and 7.1 complain thusly:
3960      #   icc: Command line warning: ignoring option '-M'; no argument required
3961      # The diagnosis changed in icc 8.0:
3962      #   icc: Command line remark: option '-MP' not supported
3963      if (grep 'ignoring option' conftest.err ||
3964          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3965        am_cv_CC_dependencies_compiler_type=$depmode
3966        break
3967      fi
3968    fi
3969  done
3970
3971  cd ..
3972  rm -rf conftest.dir
3973else
3974  am_cv_CC_dependencies_compiler_type=none
3975fi
3976
3977fi
3978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3979$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3980CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3981
3982 if
3983  test "x$enable_dependency_tracking" != xno \
3984  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3985  am__fastdepCC_TRUE=
3986  am__fastdepCC_FALSE='#'
3987else
3988  am__fastdepCC_TRUE='#'
3989  am__fastdepCC_FALSE=
3990fi
3991
3992
3993
3994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3995$as_echo_n "checking whether ln -s works... " >&6; }
3996LN_S=$as_ln_s
3997if test "$LN_S" = "ln -s"; then
3998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3999$as_echo "yes" >&6; }
4000else
4001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4002$as_echo "no, using $LN_S" >&6; }
4003fi
4004
4005
4006
4007
4008# Make sure we can run config.sub.
4009$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4010  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4011
4012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4013$as_echo_n "checking build system type... " >&6; }
4014if ${ac_cv_build+:} false; then :
4015  $as_echo_n "(cached) " >&6
4016else
4017  ac_build_alias=$build_alias
4018test "x$ac_build_alias" = x &&
4019  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4020test "x$ac_build_alias" = x &&
4021  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4022ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4023  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4024
4025fi
4026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4027$as_echo "$ac_cv_build" >&6; }
4028case $ac_cv_build in
4029*-*-*) ;;
4030*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4031esac
4032build=$ac_cv_build
4033ac_save_IFS=$IFS; IFS='-'
4034set x $ac_cv_build
4035shift
4036build_cpu=$1
4037build_vendor=$2
4038shift; shift
4039# Remember, the first character of IFS is used to create $*,
4040# except with old shells:
4041build_os=$*
4042IFS=$ac_save_IFS
4043case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4044
4045
4046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4047$as_echo_n "checking host system type... " >&6; }
4048if ${ac_cv_host+:} false; then :
4049  $as_echo_n "(cached) " >&6
4050else
4051  if test "x$host_alias" = x; then
4052  ac_cv_host=$ac_cv_build
4053else
4054  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4055    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4056fi
4057
4058fi
4059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4060$as_echo "$ac_cv_host" >&6; }
4061case $ac_cv_host in
4062*-*-*) ;;
4063*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4064esac
4065host=$ac_cv_host
4066ac_save_IFS=$IFS; IFS='-'
4067set x $ac_cv_host
4068shift
4069host_cpu=$1
4070host_vendor=$2
4071shift; shift
4072# Remember, the first character of IFS is used to create $*,
4073# except with old shells:
4074host_os=$*
4075IFS=$ac_save_IFS
4076case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4077
4078
4079
4080# Detect the target system
4081build_linux=no
4082case "${host_os}" in
4083    linux*)
4084        build_linux=yes
4085        ;;
4086    *)
4087        ;;
4088esac
4089 if test "$build_linux" = "yes"; then
4090  HAVE_LINUX_TRUE=
4091  HAVE_LINUX_FALSE='#'
4092else
4093  HAVE_LINUX_TRUE='#'
4094  HAVE_LINUX_FALSE=
4095fi
4096
4097
4098
4099case `pwd` in
4100  *\ * | *\	*)
4101    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4102$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4103esac
4104
4105
4106
4107macro_version='2.4.6'
4108macro_revision='2.4.6'
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122ltmain=$ac_aux_dir/ltmain.sh
4123
4124# Backslashify metacharacters that are still active within
4125# double-quoted strings.
4126sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4127
4128# Same as above, but do not quote variable references.
4129double_quote_subst='s/\(["`\\]\)/\\\1/g'
4130
4131# Sed substitution to delay expansion of an escaped shell variable in a
4132# double_quote_subst'ed string.
4133delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4134
4135# Sed substitution to delay expansion of an escaped single quote.
4136delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4137
4138# Sed substitution to avoid accidental globbing in evaled expressions
4139no_glob_subst='s/\*/\\\*/g'
4140
4141ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4142ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4143ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4144
4145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4146$as_echo_n "checking how to print strings... " >&6; }
4147# Test print first, because it will be a builtin if present.
4148if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4149   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4150  ECHO='print -r --'
4151elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4152  ECHO='printf %s\n'
4153else
4154  # Use this function as a fallback that always works.
4155  func_fallback_echo ()
4156  {
4157    eval 'cat <<_LTECHO_EOF
4158$1
4159_LTECHO_EOF'
4160  }
4161  ECHO='func_fallback_echo'
4162fi
4163
4164# func_echo_all arg...
4165# Invoke $ECHO with all args, space-separated.
4166func_echo_all ()
4167{
4168    $ECHO ""
4169}
4170
4171case $ECHO in
4172  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4173$as_echo "printf" >&6; } ;;
4174  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4175$as_echo "print -r" >&6; } ;;
4176  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4177$as_echo "cat" >&6; } ;;
4178esac
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4194$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4195if ${ac_cv_path_SED+:} false; then :
4196  $as_echo_n "(cached) " >&6
4197else
4198            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4199     for ac_i in 1 2 3 4 5 6 7; do
4200       ac_script="$ac_script$as_nl$ac_script"
4201     done
4202     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4203     { ac_script=; unset ac_script;}
4204     if test -z "$SED"; then
4205  ac_path_SED_found=false
4206  # Loop through the user's path and test for each of PROGNAME-LIST
4207  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4208for as_dir in $PATH
4209do
4210  IFS=$as_save_IFS
4211  test -z "$as_dir" && as_dir=.
4212    for ac_prog in sed gsed; do
4213    for ac_exec_ext in '' $ac_executable_extensions; do
4214      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4215      as_fn_executable_p "$ac_path_SED" || continue
4216# Check for GNU ac_path_SED and select it if it is found.
4217  # Check for GNU $ac_path_SED
4218case `"$ac_path_SED" --version 2>&1` in
4219*GNU*)
4220  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4221*)
4222  ac_count=0
4223  $as_echo_n 0123456789 >"conftest.in"
4224  while :
4225  do
4226    cat "conftest.in" "conftest.in" >"conftest.tmp"
4227    mv "conftest.tmp" "conftest.in"
4228    cp "conftest.in" "conftest.nl"
4229    $as_echo '' >> "conftest.nl"
4230    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4231    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4232    as_fn_arith $ac_count + 1 && ac_count=$as_val
4233    if test $ac_count -gt ${ac_path_SED_max-0}; then
4234      # Best one so far, save it but keep looking for a better one
4235      ac_cv_path_SED="$ac_path_SED"
4236      ac_path_SED_max=$ac_count
4237    fi
4238    # 10*(2^10) chars as input seems more than enough
4239    test $ac_count -gt 10 && break
4240  done
4241  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4242esac
4243
4244      $ac_path_SED_found && break 3
4245    done
4246  done
4247  done
4248IFS=$as_save_IFS
4249  if test -z "$ac_cv_path_SED"; then
4250    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4251  fi
4252else
4253  ac_cv_path_SED=$SED
4254fi
4255
4256fi
4257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4258$as_echo "$ac_cv_path_SED" >&6; }
4259 SED="$ac_cv_path_SED"
4260  rm -f conftest.sed
4261
4262test -z "$SED" && SED=sed
4263Xsed="$SED -e 1s/^X//"
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4276$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4277if ${ac_cv_path_GREP+:} false; then :
4278  $as_echo_n "(cached) " >&6
4279else
4280  if test -z "$GREP"; then
4281  ac_path_GREP_found=false
4282  # Loop through the user's path and test for each of PROGNAME-LIST
4283  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4284for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4285do
4286  IFS=$as_save_IFS
4287  test -z "$as_dir" && as_dir=.
4288    for ac_prog in grep ggrep; do
4289    for ac_exec_ext in '' $ac_executable_extensions; do
4290      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4291      as_fn_executable_p "$ac_path_GREP" || continue
4292# Check for GNU ac_path_GREP and select it if it is found.
4293  # Check for GNU $ac_path_GREP
4294case `"$ac_path_GREP" --version 2>&1` in
4295*GNU*)
4296  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4297*)
4298  ac_count=0
4299  $as_echo_n 0123456789 >"conftest.in"
4300  while :
4301  do
4302    cat "conftest.in" "conftest.in" >"conftest.tmp"
4303    mv "conftest.tmp" "conftest.in"
4304    cp "conftest.in" "conftest.nl"
4305    $as_echo 'GREP' >> "conftest.nl"
4306    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4307    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4308    as_fn_arith $ac_count + 1 && ac_count=$as_val
4309    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4310      # Best one so far, save it but keep looking for a better one
4311      ac_cv_path_GREP="$ac_path_GREP"
4312      ac_path_GREP_max=$ac_count
4313    fi
4314    # 10*(2^10) chars as input seems more than enough
4315    test $ac_count -gt 10 && break
4316  done
4317  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4318esac
4319
4320      $ac_path_GREP_found && break 3
4321    done
4322  done
4323  done
4324IFS=$as_save_IFS
4325  if test -z "$ac_cv_path_GREP"; then
4326    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4327  fi
4328else
4329  ac_cv_path_GREP=$GREP
4330fi
4331
4332fi
4333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4334$as_echo "$ac_cv_path_GREP" >&6; }
4335 GREP="$ac_cv_path_GREP"
4336
4337
4338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4339$as_echo_n "checking for egrep... " >&6; }
4340if ${ac_cv_path_EGREP+:} false; then :
4341  $as_echo_n "(cached) " >&6
4342else
4343  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4344   then ac_cv_path_EGREP="$GREP -E"
4345   else
4346     if test -z "$EGREP"; then
4347  ac_path_EGREP_found=false
4348  # Loop through the user's path and test for each of PROGNAME-LIST
4349  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4350for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4351do
4352  IFS=$as_save_IFS
4353  test -z "$as_dir" && as_dir=.
4354    for ac_prog in egrep; do
4355    for ac_exec_ext in '' $ac_executable_extensions; do
4356      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4357      as_fn_executable_p "$ac_path_EGREP" || continue
4358# Check for GNU ac_path_EGREP and select it if it is found.
4359  # Check for GNU $ac_path_EGREP
4360case `"$ac_path_EGREP" --version 2>&1` in
4361*GNU*)
4362  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4363*)
4364  ac_count=0
4365  $as_echo_n 0123456789 >"conftest.in"
4366  while :
4367  do
4368    cat "conftest.in" "conftest.in" >"conftest.tmp"
4369    mv "conftest.tmp" "conftest.in"
4370    cp "conftest.in" "conftest.nl"
4371    $as_echo 'EGREP' >> "conftest.nl"
4372    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4373    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4374    as_fn_arith $ac_count + 1 && ac_count=$as_val
4375    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4376      # Best one so far, save it but keep looking for a better one
4377      ac_cv_path_EGREP="$ac_path_EGREP"
4378      ac_path_EGREP_max=$ac_count
4379    fi
4380    # 10*(2^10) chars as input seems more than enough
4381    test $ac_count -gt 10 && break
4382  done
4383  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4384esac
4385
4386      $ac_path_EGREP_found && break 3
4387    done
4388  done
4389  done
4390IFS=$as_save_IFS
4391  if test -z "$ac_cv_path_EGREP"; then
4392    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4393  fi
4394else
4395  ac_cv_path_EGREP=$EGREP
4396fi
4397
4398   fi
4399fi
4400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4401$as_echo "$ac_cv_path_EGREP" >&6; }
4402 EGREP="$ac_cv_path_EGREP"
4403
4404
4405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4406$as_echo_n "checking for fgrep... " >&6; }
4407if ${ac_cv_path_FGREP+:} false; then :
4408  $as_echo_n "(cached) " >&6
4409else
4410  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4411   then ac_cv_path_FGREP="$GREP -F"
4412   else
4413     if test -z "$FGREP"; then
4414  ac_path_FGREP_found=false
4415  # Loop through the user's path and test for each of PROGNAME-LIST
4416  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4417for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4418do
4419  IFS=$as_save_IFS
4420  test -z "$as_dir" && as_dir=.
4421    for ac_prog in fgrep; do
4422    for ac_exec_ext in '' $ac_executable_extensions; do
4423      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4424      as_fn_executable_p "$ac_path_FGREP" || continue
4425# Check for GNU ac_path_FGREP and select it if it is found.
4426  # Check for GNU $ac_path_FGREP
4427case `"$ac_path_FGREP" --version 2>&1` in
4428*GNU*)
4429  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4430*)
4431  ac_count=0
4432  $as_echo_n 0123456789 >"conftest.in"
4433  while :
4434  do
4435    cat "conftest.in" "conftest.in" >"conftest.tmp"
4436    mv "conftest.tmp" "conftest.in"
4437    cp "conftest.in" "conftest.nl"
4438    $as_echo 'FGREP' >> "conftest.nl"
4439    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4440    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4441    as_fn_arith $ac_count + 1 && ac_count=$as_val
4442    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4443      # Best one so far, save it but keep looking for a better one
4444      ac_cv_path_FGREP="$ac_path_FGREP"
4445      ac_path_FGREP_max=$ac_count
4446    fi
4447    # 10*(2^10) chars as input seems more than enough
4448    test $ac_count -gt 10 && break
4449  done
4450  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4451esac
4452
4453      $ac_path_FGREP_found && break 3
4454    done
4455  done
4456  done
4457IFS=$as_save_IFS
4458  if test -z "$ac_cv_path_FGREP"; then
4459    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4460  fi
4461else
4462  ac_cv_path_FGREP=$FGREP
4463fi
4464
4465   fi
4466fi
4467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4468$as_echo "$ac_cv_path_FGREP" >&6; }
4469 FGREP="$ac_cv_path_FGREP"
4470
4471
4472test -z "$GREP" && GREP=grep
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492# Check whether --with-gnu-ld was given.
4493if test "${with_gnu_ld+set}" = set; then :
4494  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4495else
4496  with_gnu_ld=no
4497fi
4498
4499ac_prog=ld
4500if test yes = "$GCC"; then
4501  # Check if gcc -print-prog-name=ld gives a path.
4502  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4503$as_echo_n "checking for ld used by $CC... " >&6; }
4504  case $host in
4505  *-*-mingw*)
4506    # gcc leaves a trailing carriage return, which upsets mingw
4507    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4508  *)
4509    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4510  esac
4511  case $ac_prog in
4512    # Accept absolute paths.
4513    [\\/]* | ?:[\\/]*)
4514      re_direlt='/[^/][^/]*/\.\./'
4515      # Canonicalize the pathname of ld
4516      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4517      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4518	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4519      done
4520      test -z "$LD" && LD=$ac_prog
4521      ;;
4522  "")
4523    # If it fails, then pretend we aren't using GCC.
4524    ac_prog=ld
4525    ;;
4526  *)
4527    # If it is relative, then search for the first ld in PATH.
4528    with_gnu_ld=unknown
4529    ;;
4530  esac
4531elif test yes = "$with_gnu_ld"; then
4532  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4533$as_echo_n "checking for GNU ld... " >&6; }
4534else
4535  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4536$as_echo_n "checking for non-GNU ld... " >&6; }
4537fi
4538if ${lt_cv_path_LD+:} false; then :
4539  $as_echo_n "(cached) " >&6
4540else
4541  if test -z "$LD"; then
4542  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4543  for ac_dir in $PATH; do
4544    IFS=$lt_save_ifs
4545    test -z "$ac_dir" && ac_dir=.
4546    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4547      lt_cv_path_LD=$ac_dir/$ac_prog
4548      # Check to see if the program is GNU ld.  I'd rather use --version,
4549      # but apparently some variants of GNU ld only accept -v.
4550      # Break only if it was the GNU/non-GNU ld that we prefer.
4551      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4552      *GNU* | *'with BFD'*)
4553	test no != "$with_gnu_ld" && break
4554	;;
4555      *)
4556	test yes != "$with_gnu_ld" && break
4557	;;
4558      esac
4559    fi
4560  done
4561  IFS=$lt_save_ifs
4562else
4563  lt_cv_path_LD=$LD # Let the user override the test with a path.
4564fi
4565fi
4566
4567LD=$lt_cv_path_LD
4568if test -n "$LD"; then
4569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4570$as_echo "$LD" >&6; }
4571else
4572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4573$as_echo "no" >&6; }
4574fi
4575test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4577$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4578if ${lt_cv_prog_gnu_ld+:} false; then :
4579  $as_echo_n "(cached) " >&6
4580else
4581  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4582case `$LD -v 2>&1 </dev/null` in
4583*GNU* | *'with BFD'*)
4584  lt_cv_prog_gnu_ld=yes
4585  ;;
4586*)
4587  lt_cv_prog_gnu_ld=no
4588  ;;
4589esac
4590fi
4591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4592$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4593with_gnu_ld=$lt_cv_prog_gnu_ld
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4604$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4605if ${lt_cv_path_NM+:} false; then :
4606  $as_echo_n "(cached) " >&6
4607else
4608  if test -n "$NM"; then
4609  # Let the user override the test.
4610  lt_cv_path_NM=$NM
4611else
4612  lt_nm_to_check=${ac_tool_prefix}nm
4613  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4614    lt_nm_to_check="$lt_nm_to_check nm"
4615  fi
4616  for lt_tmp_nm in $lt_nm_to_check; do
4617    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4618    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4619      IFS=$lt_save_ifs
4620      test -z "$ac_dir" && ac_dir=.
4621      tmp_nm=$ac_dir/$lt_tmp_nm
4622      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4623	# Check to see if the nm accepts a BSD-compat flag.
4624	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4625	#   nm: unknown option "B" ignored
4626	# Tru64's nm complains that /dev/null is an invalid object file
4627	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4628	case $build_os in
4629	mingw*) lt_bad_file=conftest.nm/nofile ;;
4630	*) lt_bad_file=/dev/null ;;
4631	esac
4632	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4633	*$lt_bad_file* | *'Invalid file or object type'*)
4634	  lt_cv_path_NM="$tmp_nm -B"
4635	  break 2
4636	  ;;
4637	*)
4638	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4639	  */dev/null*)
4640	    lt_cv_path_NM="$tmp_nm -p"
4641	    break 2
4642	    ;;
4643	  *)
4644	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4645	    continue # so that we can try to find one that supports BSD flags
4646	    ;;
4647	  esac
4648	  ;;
4649	esac
4650      fi
4651    done
4652    IFS=$lt_save_ifs
4653  done
4654  : ${lt_cv_path_NM=no}
4655fi
4656fi
4657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4658$as_echo "$lt_cv_path_NM" >&6; }
4659if test no != "$lt_cv_path_NM"; then
4660  NM=$lt_cv_path_NM
4661else
4662  # Didn't find any BSD compatible name lister, look for dumpbin.
4663  if test -n "$DUMPBIN"; then :
4664    # Let the user override the test.
4665  else
4666    if test -n "$ac_tool_prefix"; then
4667  for ac_prog in dumpbin "link -dump"
4668  do
4669    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4670set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4672$as_echo_n "checking for $ac_word... " >&6; }
4673if ${ac_cv_prog_DUMPBIN+:} false; then :
4674  $as_echo_n "(cached) " >&6
4675else
4676  if test -n "$DUMPBIN"; then
4677  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4678else
4679as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4680for as_dir in $PATH
4681do
4682  IFS=$as_save_IFS
4683  test -z "$as_dir" && as_dir=.
4684    for ac_exec_ext in '' $ac_executable_extensions; do
4685  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4686    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4687    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4688    break 2
4689  fi
4690done
4691  done
4692IFS=$as_save_IFS
4693
4694fi
4695fi
4696DUMPBIN=$ac_cv_prog_DUMPBIN
4697if test -n "$DUMPBIN"; then
4698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4699$as_echo "$DUMPBIN" >&6; }
4700else
4701  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4702$as_echo "no" >&6; }
4703fi
4704
4705
4706    test -n "$DUMPBIN" && break
4707  done
4708fi
4709if test -z "$DUMPBIN"; then
4710  ac_ct_DUMPBIN=$DUMPBIN
4711  for ac_prog in dumpbin "link -dump"
4712do
4713  # Extract the first word of "$ac_prog", so it can be a program name with args.
4714set dummy $ac_prog; ac_word=$2
4715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4716$as_echo_n "checking for $ac_word... " >&6; }
4717if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4718  $as_echo_n "(cached) " >&6
4719else
4720  if test -n "$ac_ct_DUMPBIN"; then
4721  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4722else
4723as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4724for as_dir in $PATH
4725do
4726  IFS=$as_save_IFS
4727  test -z "$as_dir" && as_dir=.
4728    for ac_exec_ext in '' $ac_executable_extensions; do
4729  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4730    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4731    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4732    break 2
4733  fi
4734done
4735  done
4736IFS=$as_save_IFS
4737
4738fi
4739fi
4740ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4741if test -n "$ac_ct_DUMPBIN"; then
4742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4743$as_echo "$ac_ct_DUMPBIN" >&6; }
4744else
4745  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746$as_echo "no" >&6; }
4747fi
4748
4749
4750  test -n "$ac_ct_DUMPBIN" && break
4751done
4752
4753  if test "x$ac_ct_DUMPBIN" = x; then
4754    DUMPBIN=":"
4755  else
4756    case $cross_compiling:$ac_tool_warned in
4757yes:)
4758{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4759$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4760ac_tool_warned=yes ;;
4761esac
4762    DUMPBIN=$ac_ct_DUMPBIN
4763  fi
4764fi
4765
4766    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4767    *COFF*)
4768      DUMPBIN="$DUMPBIN -symbols -headers"
4769      ;;
4770    *)
4771      DUMPBIN=:
4772      ;;
4773    esac
4774  fi
4775
4776  if test : != "$DUMPBIN"; then
4777    NM=$DUMPBIN
4778  fi
4779fi
4780test -z "$NM" && NM=nm
4781
4782
4783
4784
4785
4786
4787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4788$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4789if ${lt_cv_nm_interface+:} false; then :
4790  $as_echo_n "(cached) " >&6
4791else
4792  lt_cv_nm_interface="BSD nm"
4793  echo "int some_variable = 0;" > conftest.$ac_ext
4794  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4795  (eval "$ac_compile" 2>conftest.err)
4796  cat conftest.err >&5
4797  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4798  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4799  cat conftest.err >&5
4800  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4801  cat conftest.out >&5
4802  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4803    lt_cv_nm_interface="MS dumpbin"
4804  fi
4805  rm -f conftest*
4806fi
4807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4808$as_echo "$lt_cv_nm_interface" >&6; }
4809
4810# find the maximum length of command line arguments
4811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4812$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4813if ${lt_cv_sys_max_cmd_len+:} false; then :
4814  $as_echo_n "(cached) " >&6
4815else
4816    i=0
4817  teststring=ABCD
4818
4819  case $build_os in
4820  msdosdjgpp*)
4821    # On DJGPP, this test can blow up pretty badly due to problems in libc
4822    # (any single argument exceeding 2000 bytes causes a buffer overrun
4823    # during glob expansion).  Even if it were fixed, the result of this
4824    # check would be larger than it should be.
4825    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4826    ;;
4827
4828  gnu*)
4829    # Under GNU Hurd, this test is not required because there is
4830    # no limit to the length of command line arguments.
4831    # Libtool will interpret -1 as no limit whatsoever
4832    lt_cv_sys_max_cmd_len=-1;
4833    ;;
4834
4835  cygwin* | mingw* | cegcc*)
4836    # On Win9x/ME, this test blows up -- it succeeds, but takes
4837    # about 5 minutes as the teststring grows exponentially.
4838    # Worse, since 9x/ME are not pre-emptively multitasking,
4839    # you end up with a "frozen" computer, even though with patience
4840    # the test eventually succeeds (with a max line length of 256k).
4841    # Instead, let's just punt: use the minimum linelength reported by
4842    # all of the supported platforms: 8192 (on NT/2K/XP).
4843    lt_cv_sys_max_cmd_len=8192;
4844    ;;
4845
4846  mint*)
4847    # On MiNT this can take a long time and run out of memory.
4848    lt_cv_sys_max_cmd_len=8192;
4849    ;;
4850
4851  amigaos*)
4852    # On AmigaOS with pdksh, this test takes hours, literally.
4853    # So we just punt and use a minimum line length of 8192.
4854    lt_cv_sys_max_cmd_len=8192;
4855    ;;
4856
4857  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4858    # This has been around since 386BSD, at least.  Likely further.
4859    if test -x /sbin/sysctl; then
4860      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4861    elif test -x /usr/sbin/sysctl; then
4862      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4863    else
4864      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4865    fi
4866    # And add a safety zone
4867    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4868    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4869    ;;
4870
4871  interix*)
4872    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4873    lt_cv_sys_max_cmd_len=196608
4874    ;;
4875
4876  os2*)
4877    # The test takes a long time on OS/2.
4878    lt_cv_sys_max_cmd_len=8192
4879    ;;
4880
4881  osf*)
4882    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4883    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4884    # nice to cause kernel panics so lets avoid the loop below.
4885    # First set a reasonable default.
4886    lt_cv_sys_max_cmd_len=16384
4887    #
4888    if test -x /sbin/sysconfig; then
4889      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4890        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4891      esac
4892    fi
4893    ;;
4894  sco3.2v5*)
4895    lt_cv_sys_max_cmd_len=102400
4896    ;;
4897  sysv5* | sco5v6* | sysv4.2uw2*)
4898    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4899    if test -n "$kargmax"; then
4900      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4901    else
4902      lt_cv_sys_max_cmd_len=32768
4903    fi
4904    ;;
4905  *)
4906    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4907    if test -n "$lt_cv_sys_max_cmd_len" && \
4908       test undefined != "$lt_cv_sys_max_cmd_len"; then
4909      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4910      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4911    else
4912      # Make teststring a little bigger before we do anything with it.
4913      # a 1K string should be a reasonable start.
4914      for i in 1 2 3 4 5 6 7 8; do
4915        teststring=$teststring$teststring
4916      done
4917      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4918      # If test is not a shell built-in, we'll probably end up computing a
4919      # maximum length that is only half of the actual maximum length, but
4920      # we can't tell.
4921      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4922	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4923	      test 17 != "$i" # 1/2 MB should be enough
4924      do
4925        i=`expr $i + 1`
4926        teststring=$teststring$teststring
4927      done
4928      # Only check the string length outside the loop.
4929      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4930      teststring=
4931      # Add a significant safety factor because C++ compilers can tack on
4932      # massive amounts of additional arguments before passing them to the
4933      # linker.  It appears as though 1/2 is a usable value.
4934      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4935    fi
4936    ;;
4937  esac
4938
4939fi
4940
4941if test -n "$lt_cv_sys_max_cmd_len"; then
4942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4943$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4944else
4945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4946$as_echo "none" >&6; }
4947fi
4948max_cmd_len=$lt_cv_sys_max_cmd_len
4949
4950
4951
4952
4953
4954
4955: ${CP="cp -f"}
4956: ${MV="mv -f"}
4957: ${RM="rm -f"}
4958
4959if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4960  lt_unset=unset
4961else
4962  lt_unset=false
4963fi
4964
4965
4966
4967
4968
4969# test EBCDIC or ASCII
4970case `echo X|tr X '\101'` in
4971 A) # ASCII based system
4972    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4973  lt_SP2NL='tr \040 \012'
4974  lt_NL2SP='tr \015\012 \040\040'
4975  ;;
4976 *) # EBCDIC based system
4977  lt_SP2NL='tr \100 \n'
4978  lt_NL2SP='tr \r\n \100\100'
4979  ;;
4980esac
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4991$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4992if ${lt_cv_to_host_file_cmd+:} false; then :
4993  $as_echo_n "(cached) " >&6
4994else
4995  case $host in
4996  *-*-mingw* )
4997    case $build in
4998      *-*-mingw* ) # actually msys
4999        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5000        ;;
5001      *-*-cygwin* )
5002        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5003        ;;
5004      * ) # otherwise, assume *nix
5005        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5006        ;;
5007    esac
5008    ;;
5009  *-*-cygwin* )
5010    case $build in
5011      *-*-mingw* ) # actually msys
5012        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5013        ;;
5014      *-*-cygwin* )
5015        lt_cv_to_host_file_cmd=func_convert_file_noop
5016        ;;
5017      * ) # otherwise, assume *nix
5018        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5019        ;;
5020    esac
5021    ;;
5022  * ) # unhandled hosts (and "normal" native builds)
5023    lt_cv_to_host_file_cmd=func_convert_file_noop
5024    ;;
5025esac
5026
5027fi
5028
5029to_host_file_cmd=$lt_cv_to_host_file_cmd
5030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5031$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5032
5033
5034
5035
5036
5037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5038$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5039if ${lt_cv_to_tool_file_cmd+:} false; then :
5040  $as_echo_n "(cached) " >&6
5041else
5042  #assume ordinary cross tools, or native build.
5043lt_cv_to_tool_file_cmd=func_convert_file_noop
5044case $host in
5045  *-*-mingw* )
5046    case $build in
5047      *-*-mingw* ) # actually msys
5048        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5049        ;;
5050    esac
5051    ;;
5052esac
5053
5054fi
5055
5056to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5058$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5059
5060
5061
5062
5063
5064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5065$as_echo_n "checking for $LD option to reload object files... " >&6; }
5066if ${lt_cv_ld_reload_flag+:} false; then :
5067  $as_echo_n "(cached) " >&6
5068else
5069  lt_cv_ld_reload_flag='-r'
5070fi
5071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5072$as_echo "$lt_cv_ld_reload_flag" >&6; }
5073reload_flag=$lt_cv_ld_reload_flag
5074case $reload_flag in
5075"" | " "*) ;;
5076*) reload_flag=" $reload_flag" ;;
5077esac
5078reload_cmds='$LD$reload_flag -o $output$reload_objs'
5079case $host_os in
5080  cygwin* | mingw* | pw32* | cegcc*)
5081    if test yes != "$GCC"; then
5082      reload_cmds=false
5083    fi
5084    ;;
5085  darwin*)
5086    if test yes = "$GCC"; then
5087      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5088    else
5089      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5090    fi
5091    ;;
5092esac
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102if test -n "$ac_tool_prefix"; then
5103  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5104set dummy ${ac_tool_prefix}objdump; ac_word=$2
5105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106$as_echo_n "checking for $ac_word... " >&6; }
5107if ${ac_cv_prog_OBJDUMP+:} false; then :
5108  $as_echo_n "(cached) " >&6
5109else
5110  if test -n "$OBJDUMP"; then
5111  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5112else
5113as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114for as_dir in $PATH
5115do
5116  IFS=$as_save_IFS
5117  test -z "$as_dir" && as_dir=.
5118    for ac_exec_ext in '' $ac_executable_extensions; do
5119  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5120    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5121    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122    break 2
5123  fi
5124done
5125  done
5126IFS=$as_save_IFS
5127
5128fi
5129fi
5130OBJDUMP=$ac_cv_prog_OBJDUMP
5131if test -n "$OBJDUMP"; then
5132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5133$as_echo "$OBJDUMP" >&6; }
5134else
5135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136$as_echo "no" >&6; }
5137fi
5138
5139
5140fi
5141if test -z "$ac_cv_prog_OBJDUMP"; then
5142  ac_ct_OBJDUMP=$OBJDUMP
5143  # Extract the first word of "objdump", so it can be a program name with args.
5144set dummy objdump; ac_word=$2
5145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146$as_echo_n "checking for $ac_word... " >&6; }
5147if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5148  $as_echo_n "(cached) " >&6
5149else
5150  if test -n "$ac_ct_OBJDUMP"; then
5151  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5152else
5153as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154for as_dir in $PATH
5155do
5156  IFS=$as_save_IFS
5157  test -z "$as_dir" && as_dir=.
5158    for ac_exec_ext in '' $ac_executable_extensions; do
5159  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5160    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5161    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162    break 2
5163  fi
5164done
5165  done
5166IFS=$as_save_IFS
5167
5168fi
5169fi
5170ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5171if test -n "$ac_ct_OBJDUMP"; then
5172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5173$as_echo "$ac_ct_OBJDUMP" >&6; }
5174else
5175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176$as_echo "no" >&6; }
5177fi
5178
5179  if test "x$ac_ct_OBJDUMP" = x; then
5180    OBJDUMP="false"
5181  else
5182    case $cross_compiling:$ac_tool_warned in
5183yes:)
5184{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5185$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5186ac_tool_warned=yes ;;
5187esac
5188    OBJDUMP=$ac_ct_OBJDUMP
5189  fi
5190else
5191  OBJDUMP="$ac_cv_prog_OBJDUMP"
5192fi
5193
5194test -z "$OBJDUMP" && OBJDUMP=objdump
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5205$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5206if ${lt_cv_deplibs_check_method+:} false; then :
5207  $as_echo_n "(cached) " >&6
5208else
5209  lt_cv_file_magic_cmd='$MAGIC_CMD'
5210lt_cv_file_magic_test_file=
5211lt_cv_deplibs_check_method='unknown'
5212# Need to set the preceding variable on all platforms that support
5213# interlibrary dependencies.
5214# 'none' -- dependencies not supported.
5215# 'unknown' -- same as none, but documents that we really don't know.
5216# 'pass_all' -- all dependencies passed with no checks.
5217# 'test_compile' -- check by making test program.
5218# 'file_magic [[regex]]' -- check by looking for files in library path
5219# that responds to the $file_magic_cmd with a given extended regex.
5220# If you have 'file' or equivalent on your system and you're not sure
5221# whether 'pass_all' will *always* work, you probably want this one.
5222
5223case $host_os in
5224aix[4-9]*)
5225  lt_cv_deplibs_check_method=pass_all
5226  ;;
5227
5228beos*)
5229  lt_cv_deplibs_check_method=pass_all
5230  ;;
5231
5232bsdi[45]*)
5233  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5234  lt_cv_file_magic_cmd='/usr/bin/file -L'
5235  lt_cv_file_magic_test_file=/shlib/libc.so
5236  ;;
5237
5238cygwin*)
5239  # func_win32_libid is a shell function defined in ltmain.sh
5240  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5241  lt_cv_file_magic_cmd='func_win32_libid'
5242  ;;
5243
5244mingw* | pw32*)
5245  # Base MSYS/MinGW do not provide the 'file' command needed by
5246  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5247  # unless we find 'file', for example because we are cross-compiling.
5248  if ( file / ) >/dev/null 2>&1; then
5249    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5250    lt_cv_file_magic_cmd='func_win32_libid'
5251  else
5252    # Keep this pattern in sync with the one in func_win32_libid.
5253    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5254    lt_cv_file_magic_cmd='$OBJDUMP -f'
5255  fi
5256  ;;
5257
5258cegcc*)
5259  # use the weaker test based on 'objdump'. See mingw*.
5260  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5261  lt_cv_file_magic_cmd='$OBJDUMP -f'
5262  ;;
5263
5264darwin* | rhapsody*)
5265  lt_cv_deplibs_check_method=pass_all
5266  ;;
5267
5268freebsd* | dragonfly*)
5269  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5270    case $host_cpu in
5271    i*86 )
5272      # Not sure whether the presence of OpenBSD here was a mistake.
5273      # Let's accept both of them until this is cleared up.
5274      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5275      lt_cv_file_magic_cmd=/usr/bin/file
5276      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5277      ;;
5278    esac
5279  else
5280    lt_cv_deplibs_check_method=pass_all
5281  fi
5282  ;;
5283
5284haiku*)
5285  lt_cv_deplibs_check_method=pass_all
5286  ;;
5287
5288hpux10.20* | hpux11*)
5289  lt_cv_file_magic_cmd=/usr/bin/file
5290  case $host_cpu in
5291  ia64*)
5292    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5293    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5294    ;;
5295  hppa*64*)
5296    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]'
5297    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5298    ;;
5299  *)
5300    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5301    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5302    ;;
5303  esac
5304  ;;
5305
5306interix[3-9]*)
5307  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5308  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5309  ;;
5310
5311irix5* | irix6* | nonstopux*)
5312  case $LD in
5313  *-32|*"-32 ") libmagic=32-bit;;
5314  *-n32|*"-n32 ") libmagic=N32;;
5315  *-64|*"-64 ") libmagic=64-bit;;
5316  *) libmagic=never-match;;
5317  esac
5318  lt_cv_deplibs_check_method=pass_all
5319  ;;
5320
5321# This must be glibc/ELF.
5322linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5323  lt_cv_deplibs_check_method=pass_all
5324  ;;
5325
5326netbsd* | netbsdelf*-gnu)
5327  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5328    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5329  else
5330    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5331  fi
5332  ;;
5333
5334newos6*)
5335  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5336  lt_cv_file_magic_cmd=/usr/bin/file
5337  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5338  ;;
5339
5340*nto* | *qnx*)
5341  lt_cv_deplibs_check_method=pass_all
5342  ;;
5343
5344openbsd* | bitrig*)
5345  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5346    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5347  else
5348    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5349  fi
5350  ;;
5351
5352osf3* | osf4* | osf5*)
5353  lt_cv_deplibs_check_method=pass_all
5354  ;;
5355
5356rdos*)
5357  lt_cv_deplibs_check_method=pass_all
5358  ;;
5359
5360solaris*)
5361  lt_cv_deplibs_check_method=pass_all
5362  ;;
5363
5364sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5365  lt_cv_deplibs_check_method=pass_all
5366  ;;
5367
5368sysv4 | sysv4.3*)
5369  case $host_vendor in
5370  motorola)
5371    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]'
5372    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5373    ;;
5374  ncr)
5375    lt_cv_deplibs_check_method=pass_all
5376    ;;
5377  sequent)
5378    lt_cv_file_magic_cmd='/bin/file'
5379    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5380    ;;
5381  sni)
5382    lt_cv_file_magic_cmd='/bin/file'
5383    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5384    lt_cv_file_magic_test_file=/lib/libc.so
5385    ;;
5386  siemens)
5387    lt_cv_deplibs_check_method=pass_all
5388    ;;
5389  pc)
5390    lt_cv_deplibs_check_method=pass_all
5391    ;;
5392  esac
5393  ;;
5394
5395tpf*)
5396  lt_cv_deplibs_check_method=pass_all
5397  ;;
5398os2*)
5399  lt_cv_deplibs_check_method=pass_all
5400  ;;
5401esac
5402
5403fi
5404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5405$as_echo "$lt_cv_deplibs_check_method" >&6; }
5406
5407file_magic_glob=
5408want_nocaseglob=no
5409if test "$build" = "$host"; then
5410  case $host_os in
5411  mingw* | pw32*)
5412    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5413      want_nocaseglob=yes
5414    else
5415      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5416    fi
5417    ;;
5418  esac
5419fi
5420
5421file_magic_cmd=$lt_cv_file_magic_cmd
5422deplibs_check_method=$lt_cv_deplibs_check_method
5423test -z "$deplibs_check_method" && deplibs_check_method=unknown
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446if test -n "$ac_tool_prefix"; then
5447  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5448set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5450$as_echo_n "checking for $ac_word... " >&6; }
5451if ${ac_cv_prog_DLLTOOL+:} false; then :
5452  $as_echo_n "(cached) " >&6
5453else
5454  if test -n "$DLLTOOL"; then
5455  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5456else
5457as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5458for as_dir in $PATH
5459do
5460  IFS=$as_save_IFS
5461  test -z "$as_dir" && as_dir=.
5462    for ac_exec_ext in '' $ac_executable_extensions; do
5463  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5464    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5465    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5466    break 2
5467  fi
5468done
5469  done
5470IFS=$as_save_IFS
5471
5472fi
5473fi
5474DLLTOOL=$ac_cv_prog_DLLTOOL
5475if test -n "$DLLTOOL"; then
5476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5477$as_echo "$DLLTOOL" >&6; }
5478else
5479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480$as_echo "no" >&6; }
5481fi
5482
5483
5484fi
5485if test -z "$ac_cv_prog_DLLTOOL"; then
5486  ac_ct_DLLTOOL=$DLLTOOL
5487  # Extract the first word of "dlltool", so it can be a program name with args.
5488set dummy dlltool; ac_word=$2
5489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490$as_echo_n "checking for $ac_word... " >&6; }
5491if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5492  $as_echo_n "(cached) " >&6
5493else
5494  if test -n "$ac_ct_DLLTOOL"; then
5495  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5496else
5497as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498for as_dir in $PATH
5499do
5500  IFS=$as_save_IFS
5501  test -z "$as_dir" && as_dir=.
5502    for ac_exec_ext in '' $ac_executable_extensions; do
5503  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5504    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5505    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506    break 2
5507  fi
5508done
5509  done
5510IFS=$as_save_IFS
5511
5512fi
5513fi
5514ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5515if test -n "$ac_ct_DLLTOOL"; then
5516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5517$as_echo "$ac_ct_DLLTOOL" >&6; }
5518else
5519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520$as_echo "no" >&6; }
5521fi
5522
5523  if test "x$ac_ct_DLLTOOL" = x; then
5524    DLLTOOL="false"
5525  else
5526    case $cross_compiling:$ac_tool_warned in
5527yes:)
5528{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5529$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5530ac_tool_warned=yes ;;
5531esac
5532    DLLTOOL=$ac_ct_DLLTOOL
5533  fi
5534else
5535  DLLTOOL="$ac_cv_prog_DLLTOOL"
5536fi
5537
5538test -z "$DLLTOOL" && DLLTOOL=dlltool
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5550$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5551if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5552  $as_echo_n "(cached) " >&6
5553else
5554  lt_cv_sharedlib_from_linklib_cmd='unknown'
5555
5556case $host_os in
5557cygwin* | mingw* | pw32* | cegcc*)
5558  # two different shell functions defined in ltmain.sh;
5559  # decide which one to use based on capabilities of $DLLTOOL
5560  case `$DLLTOOL --help 2>&1` in
5561  *--identify-strict*)
5562    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5563    ;;
5564  *)
5565    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5566    ;;
5567  esac
5568  ;;
5569*)
5570  # fallback: assume linklib IS sharedlib
5571  lt_cv_sharedlib_from_linklib_cmd=$ECHO
5572  ;;
5573esac
5574
5575fi
5576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5577$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5578sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5579test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5580
5581
5582
5583
5584
5585
5586
5587
5588if test -n "$ac_tool_prefix"; then
5589  for ac_prog in ar
5590  do
5591    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5592set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5594$as_echo_n "checking for $ac_word... " >&6; }
5595if ${ac_cv_prog_AR+:} false; then :
5596  $as_echo_n "(cached) " >&6
5597else
5598  if test -n "$AR"; then
5599  ac_cv_prog_AR="$AR" # Let the user override the test.
5600else
5601as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5602for as_dir in $PATH
5603do
5604  IFS=$as_save_IFS
5605  test -z "$as_dir" && as_dir=.
5606    for ac_exec_ext in '' $ac_executable_extensions; do
5607  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5608    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5609    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610    break 2
5611  fi
5612done
5613  done
5614IFS=$as_save_IFS
5615
5616fi
5617fi
5618AR=$ac_cv_prog_AR
5619if test -n "$AR"; then
5620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5621$as_echo "$AR" >&6; }
5622else
5623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624$as_echo "no" >&6; }
5625fi
5626
5627
5628    test -n "$AR" && break
5629  done
5630fi
5631if test -z "$AR"; then
5632  ac_ct_AR=$AR
5633  for ac_prog in ar
5634do
5635  # Extract the first word of "$ac_prog", so it can be a program name with args.
5636set dummy $ac_prog; ac_word=$2
5637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5638$as_echo_n "checking for $ac_word... " >&6; }
5639if ${ac_cv_prog_ac_ct_AR+:} false; then :
5640  $as_echo_n "(cached) " >&6
5641else
5642  if test -n "$ac_ct_AR"; then
5643  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5644else
5645as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5646for as_dir in $PATH
5647do
5648  IFS=$as_save_IFS
5649  test -z "$as_dir" && as_dir=.
5650    for ac_exec_ext in '' $ac_executable_extensions; do
5651  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5652    ac_cv_prog_ac_ct_AR="$ac_prog"
5653    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5654    break 2
5655  fi
5656done
5657  done
5658IFS=$as_save_IFS
5659
5660fi
5661fi
5662ac_ct_AR=$ac_cv_prog_ac_ct_AR
5663if test -n "$ac_ct_AR"; then
5664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5665$as_echo "$ac_ct_AR" >&6; }
5666else
5667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5668$as_echo "no" >&6; }
5669fi
5670
5671
5672  test -n "$ac_ct_AR" && break
5673done
5674
5675  if test "x$ac_ct_AR" = x; then
5676    AR="false"
5677  else
5678    case $cross_compiling:$ac_tool_warned in
5679yes:)
5680{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5681$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5682ac_tool_warned=yes ;;
5683esac
5684    AR=$ac_ct_AR
5685  fi
5686fi
5687
5688: ${AR=ar}
5689: ${AR_FLAGS=cr}
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5702$as_echo_n "checking for archiver @FILE support... " >&6; }
5703if ${lt_cv_ar_at_file+:} false; then :
5704  $as_echo_n "(cached) " >&6
5705else
5706  lt_cv_ar_at_file=no
5707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5708/* end confdefs.h.  */
5709
5710int
5711main ()
5712{
5713
5714  ;
5715  return 0;
5716}
5717_ACEOF
5718if ac_fn_c_try_compile "$LINENO"; then :
5719  echo conftest.$ac_objext > conftest.lst
5720      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5721      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5722  (eval $lt_ar_try) 2>&5
5723  ac_status=$?
5724  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5725  test $ac_status = 0; }
5726      if test 0 -eq "$ac_status"; then
5727	# Ensure the archiver fails upon bogus file names.
5728	rm -f conftest.$ac_objext libconftest.a
5729	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5730  (eval $lt_ar_try) 2>&5
5731  ac_status=$?
5732  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5733  test $ac_status = 0; }
5734	if test 0 -ne "$ac_status"; then
5735          lt_cv_ar_at_file=@
5736        fi
5737      fi
5738      rm -f conftest.* libconftest.a
5739
5740fi
5741rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5742
5743fi
5744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5745$as_echo "$lt_cv_ar_at_file" >&6; }
5746
5747if test no = "$lt_cv_ar_at_file"; then
5748  archiver_list_spec=
5749else
5750  archiver_list_spec=$lt_cv_ar_at_file
5751fi
5752
5753
5754
5755
5756
5757
5758
5759if test -n "$ac_tool_prefix"; then
5760  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5761set dummy ${ac_tool_prefix}strip; ac_word=$2
5762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5763$as_echo_n "checking for $ac_word... " >&6; }
5764if ${ac_cv_prog_STRIP+:} false; then :
5765  $as_echo_n "(cached) " >&6
5766else
5767  if test -n "$STRIP"; then
5768  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5769else
5770as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771for as_dir in $PATH
5772do
5773  IFS=$as_save_IFS
5774  test -z "$as_dir" && as_dir=.
5775    for ac_exec_ext in '' $ac_executable_extensions; do
5776  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5777    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5778    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779    break 2
5780  fi
5781done
5782  done
5783IFS=$as_save_IFS
5784
5785fi
5786fi
5787STRIP=$ac_cv_prog_STRIP
5788if test -n "$STRIP"; then
5789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5790$as_echo "$STRIP" >&6; }
5791else
5792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5793$as_echo "no" >&6; }
5794fi
5795
5796
5797fi
5798if test -z "$ac_cv_prog_STRIP"; then
5799  ac_ct_STRIP=$STRIP
5800  # Extract the first word of "strip", so it can be a program name with args.
5801set dummy strip; ac_word=$2
5802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5803$as_echo_n "checking for $ac_word... " >&6; }
5804if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5805  $as_echo_n "(cached) " >&6
5806else
5807  if test -n "$ac_ct_STRIP"; then
5808  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5809else
5810as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5811for as_dir in $PATH
5812do
5813  IFS=$as_save_IFS
5814  test -z "$as_dir" && as_dir=.
5815    for ac_exec_ext in '' $ac_executable_extensions; do
5816  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5817    ac_cv_prog_ac_ct_STRIP="strip"
5818    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5819    break 2
5820  fi
5821done
5822  done
5823IFS=$as_save_IFS
5824
5825fi
5826fi
5827ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5828if test -n "$ac_ct_STRIP"; then
5829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5830$as_echo "$ac_ct_STRIP" >&6; }
5831else
5832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833$as_echo "no" >&6; }
5834fi
5835
5836  if test "x$ac_ct_STRIP" = x; then
5837    STRIP=":"
5838  else
5839    case $cross_compiling:$ac_tool_warned in
5840yes:)
5841{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5842$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5843ac_tool_warned=yes ;;
5844esac
5845    STRIP=$ac_ct_STRIP
5846  fi
5847else
5848  STRIP="$ac_cv_prog_STRIP"
5849fi
5850
5851test -z "$STRIP" && STRIP=:
5852
5853
5854
5855
5856
5857
5858if test -n "$ac_tool_prefix"; then
5859  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5860set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5862$as_echo_n "checking for $ac_word... " >&6; }
5863if ${ac_cv_prog_RANLIB+:} false; then :
5864  $as_echo_n "(cached) " >&6
5865else
5866  if test -n "$RANLIB"; then
5867  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5868else
5869as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5870for as_dir in $PATH
5871do
5872  IFS=$as_save_IFS
5873  test -z "$as_dir" && as_dir=.
5874    for ac_exec_ext in '' $ac_executable_extensions; do
5875  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5876    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5877    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5878    break 2
5879  fi
5880done
5881  done
5882IFS=$as_save_IFS
5883
5884fi
5885fi
5886RANLIB=$ac_cv_prog_RANLIB
5887if test -n "$RANLIB"; then
5888  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5889$as_echo "$RANLIB" >&6; }
5890else
5891  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5892$as_echo "no" >&6; }
5893fi
5894
5895
5896fi
5897if test -z "$ac_cv_prog_RANLIB"; then
5898  ac_ct_RANLIB=$RANLIB
5899  # Extract the first word of "ranlib", so it can be a program name with args.
5900set dummy ranlib; ac_word=$2
5901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902$as_echo_n "checking for $ac_word... " >&6; }
5903if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5904  $as_echo_n "(cached) " >&6
5905else
5906  if test -n "$ac_ct_RANLIB"; then
5907  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5908else
5909as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910for as_dir in $PATH
5911do
5912  IFS=$as_save_IFS
5913  test -z "$as_dir" && as_dir=.
5914    for ac_exec_ext in '' $ac_executable_extensions; do
5915  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5916    ac_cv_prog_ac_ct_RANLIB="ranlib"
5917    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918    break 2
5919  fi
5920done
5921  done
5922IFS=$as_save_IFS
5923
5924fi
5925fi
5926ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5927if test -n "$ac_ct_RANLIB"; then
5928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5929$as_echo "$ac_ct_RANLIB" >&6; }
5930else
5931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5932$as_echo "no" >&6; }
5933fi
5934
5935  if test "x$ac_ct_RANLIB" = x; then
5936    RANLIB=":"
5937  else
5938    case $cross_compiling:$ac_tool_warned in
5939yes:)
5940{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5941$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5942ac_tool_warned=yes ;;
5943esac
5944    RANLIB=$ac_ct_RANLIB
5945  fi
5946else
5947  RANLIB="$ac_cv_prog_RANLIB"
5948fi
5949
5950test -z "$RANLIB" && RANLIB=:
5951
5952
5953
5954
5955
5956
5957# Determine commands to create old-style static archives.
5958old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5959old_postinstall_cmds='chmod 644 $oldlib'
5960old_postuninstall_cmds=
5961
5962if test -n "$RANLIB"; then
5963  case $host_os in
5964  bitrig* | openbsd*)
5965    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5966    ;;
5967  *)
5968    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5969    ;;
5970  esac
5971  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5972fi
5973
5974case $host_os in
5975  darwin*)
5976    lock_old_archive_extraction=yes ;;
5977  *)
5978    lock_old_archive_extraction=no ;;
5979esac
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019# If no C compiler was specified, use CC.
6020LTCC=${LTCC-"$CC"}
6021
6022# If no C compiler flags were specified, use CFLAGS.
6023LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6024
6025# Allow CC to be a program name with arguments.
6026compiler=$CC
6027
6028
6029# Check for command to grab the raw symbol name followed by C symbol from nm.
6030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6031$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6032if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6033  $as_echo_n "(cached) " >&6
6034else
6035
6036# These are sane defaults that work on at least a few old systems.
6037# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6038
6039# Character class describing NM global symbol codes.
6040symcode='[BCDEGRST]'
6041
6042# Regexp to match symbols that can be accessed directly from C.
6043sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6044
6045# Define system-specific variables.
6046case $host_os in
6047aix*)
6048  symcode='[BCDT]'
6049  ;;
6050cygwin* | mingw* | pw32* | cegcc*)
6051  symcode='[ABCDGISTW]'
6052  ;;
6053hpux*)
6054  if test ia64 = "$host_cpu"; then
6055    symcode='[ABCDEGRST]'
6056  fi
6057  ;;
6058irix* | nonstopux*)
6059  symcode='[BCDEGRST]'
6060  ;;
6061osf*)
6062  symcode='[BCDEGQRST]'
6063  ;;
6064solaris*)
6065  symcode='[BDRT]'
6066  ;;
6067sco3.2v5*)
6068  symcode='[DT]'
6069  ;;
6070sysv4.2uw2*)
6071  symcode='[DT]'
6072  ;;
6073sysv5* | sco5v6* | unixware* | OpenUNIX*)
6074  symcode='[ABDT]'
6075  ;;
6076sysv4)
6077  symcode='[DFNSTU]'
6078  ;;
6079esac
6080
6081# If we're using GNU nm, then use its standard symbol codes.
6082case `$NM -V 2>&1` in
6083*GNU* | *'with BFD'*)
6084  symcode='[ABCDGIRSTW]' ;;
6085esac
6086
6087if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6088  # Gets list of data symbols to import.
6089  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6090  # Adjust the below global symbol transforms to fixup imported variables.
6091  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6092  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6093  lt_c_name_lib_hook="\
6094  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6095  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6096else
6097  # Disable hooks by default.
6098  lt_cv_sys_global_symbol_to_import=
6099  lt_cdecl_hook=
6100  lt_c_name_hook=
6101  lt_c_name_lib_hook=
6102fi
6103
6104# Transform an extracted symbol line into a proper C declaration.
6105# Some systems (esp. on ia64) link data and code symbols differently,
6106# so use this general approach.
6107lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6108$lt_cdecl_hook\
6109" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6110" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6111
6112# Transform an extracted symbol line into symbol name and symbol address
6113lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6114$lt_c_name_hook\
6115" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6116" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6117
6118# Transform an extracted symbol line into symbol name with lib prefix and
6119# symbol address.
6120lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6121$lt_c_name_lib_hook\
6122" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6123" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6124" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6125
6126# Handle CRLF in mingw tool chain
6127opt_cr=
6128case $build_os in
6129mingw*)
6130  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6131  ;;
6132esac
6133
6134# Try without a prefix underscore, then with it.
6135for ac_symprfx in "" "_"; do
6136
6137  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6138  symxfrm="\\1 $ac_symprfx\\2 \\2"
6139
6140  # Write the raw and C identifiers.
6141  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6142    # Fake it for dumpbin and say T for any non-static function,
6143    # D for any global variable and I for any imported variable.
6144    # Also find C++ and __fastcall symbols from MSVC++,
6145    # which start with @ or ?.
6146    lt_cv_sys_global_symbol_pipe="$AWK '"\
6147"     {last_section=section; section=\$ 3};"\
6148"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6149"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6150"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6151"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6152"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6153"     \$ 0!~/External *\|/{next};"\
6154"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6155"     {if(hide[section]) next};"\
6156"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6157"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6158"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6159"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6160"     ' prfx=^$ac_symprfx"
6161  else
6162    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6163  fi
6164  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6165
6166  # Check to see that the pipe works correctly.
6167  pipe_works=no
6168
6169  rm -f conftest*
6170  cat > conftest.$ac_ext <<_LT_EOF
6171#ifdef __cplusplus
6172extern "C" {
6173#endif
6174char nm_test_var;
6175void nm_test_func(void);
6176void nm_test_func(void){}
6177#ifdef __cplusplus
6178}
6179#endif
6180int main(){nm_test_var='a';nm_test_func();return(0);}
6181_LT_EOF
6182
6183  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6184  (eval $ac_compile) 2>&5
6185  ac_status=$?
6186  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6187  test $ac_status = 0; }; then
6188    # Now try to grab the symbols.
6189    nlist=conftest.nm
6190    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
6191    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
6192      # Try sorting and uniquifying the output.
6193      if sort "$nlist" | uniq > "$nlist"T; then
6194	mv -f "$nlist"T "$nlist"
6195      else
6196	rm -f "$nlist"T
6197      fi
6198
6199      # Make sure that we snagged all the symbols we need.
6200      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6201	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6202	  cat <<_LT_EOF > conftest.$ac_ext
6203/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6204#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6205/* DATA imports from DLLs on WIN32 can't be const, because runtime
6206   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6207# define LT_DLSYM_CONST
6208#elif defined __osf__
6209/* This system does not cope well with relocations in const data.  */
6210# define LT_DLSYM_CONST
6211#else
6212# define LT_DLSYM_CONST const
6213#endif
6214
6215#ifdef __cplusplus
6216extern "C" {
6217#endif
6218
6219_LT_EOF
6220	  # Now generate the symbol file.
6221	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6222
6223	  cat <<_LT_EOF >> conftest.$ac_ext
6224
6225/* The mapping between symbol names and symbols.  */
6226LT_DLSYM_CONST struct {
6227  const char *name;
6228  void       *address;
6229}
6230lt__PROGRAM__LTX_preloaded_symbols[] =
6231{
6232  { "@PROGRAM@", (void *) 0 },
6233_LT_EOF
6234	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6235	  cat <<\_LT_EOF >> conftest.$ac_ext
6236  {0, (void *) 0}
6237};
6238
6239/* This works around a problem in FreeBSD linker */
6240#ifdef FREEBSD_WORKAROUND
6241static const void *lt_preloaded_setup() {
6242  return lt__PROGRAM__LTX_preloaded_symbols;
6243}
6244#endif
6245
6246#ifdef __cplusplus
6247}
6248#endif
6249_LT_EOF
6250	  # Now try linking the two files.
6251	  mv conftest.$ac_objext conftstm.$ac_objext
6252	  lt_globsym_save_LIBS=$LIBS
6253	  lt_globsym_save_CFLAGS=$CFLAGS
6254	  LIBS=conftstm.$ac_objext
6255	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6256	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6257  (eval $ac_link) 2>&5
6258  ac_status=$?
6259  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6260  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6261	    pipe_works=yes
6262	  fi
6263	  LIBS=$lt_globsym_save_LIBS
6264	  CFLAGS=$lt_globsym_save_CFLAGS
6265	else
6266	  echo "cannot find nm_test_func in $nlist" >&5
6267	fi
6268      else
6269	echo "cannot find nm_test_var in $nlist" >&5
6270      fi
6271    else
6272      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6273    fi
6274  else
6275    echo "$progname: failed program was:" >&5
6276    cat conftest.$ac_ext >&5
6277  fi
6278  rm -rf conftest* conftst*
6279
6280  # Do not use the global_symbol_pipe unless it works.
6281  if test yes = "$pipe_works"; then
6282    break
6283  else
6284    lt_cv_sys_global_symbol_pipe=
6285  fi
6286done
6287
6288fi
6289
6290if test -z "$lt_cv_sys_global_symbol_pipe"; then
6291  lt_cv_sys_global_symbol_to_cdecl=
6292fi
6293if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6295$as_echo "failed" >&6; }
6296else
6297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6298$as_echo "ok" >&6; }
6299fi
6300
6301# Response file support.
6302if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6303  nm_file_list_spec='@'
6304elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6305  nm_file_list_spec='@'
6306fi
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6345$as_echo_n "checking for sysroot... " >&6; }
6346
6347# Check whether --with-sysroot was given.
6348if test "${with_sysroot+set}" = set; then :
6349  withval=$with_sysroot;
6350else
6351  with_sysroot=no
6352fi
6353
6354
6355lt_sysroot=
6356case $with_sysroot in #(
6357 yes)
6358   if test yes = "$GCC"; then
6359     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6360   fi
6361   ;; #(
6362 /*)
6363   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6364   ;; #(
6365 no|'')
6366   ;; #(
6367 *)
6368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6369$as_echo "$with_sysroot" >&6; }
6370   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6371   ;;
6372esac
6373
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6375$as_echo "${lt_sysroot:-no}" >&6; }
6376
6377
6378
6379
6380
6381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6382$as_echo_n "checking for a working dd... " >&6; }
6383if ${ac_cv_path_lt_DD+:} false; then :
6384  $as_echo_n "(cached) " >&6
6385else
6386  printf 0123456789abcdef0123456789abcdef >conftest.i
6387cat conftest.i conftest.i >conftest2.i
6388: ${lt_DD:=$DD}
6389if test -z "$lt_DD"; then
6390  ac_path_lt_DD_found=false
6391  # Loop through the user's path and test for each of PROGNAME-LIST
6392  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6393for as_dir in $PATH
6394do
6395  IFS=$as_save_IFS
6396  test -z "$as_dir" && as_dir=.
6397    for ac_prog in dd; do
6398    for ac_exec_ext in '' $ac_executable_extensions; do
6399      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6400      as_fn_executable_p "$ac_path_lt_DD" || continue
6401if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6402  cmp -s conftest.i conftest.out \
6403  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6404fi
6405      $ac_path_lt_DD_found && break 3
6406    done
6407  done
6408  done
6409IFS=$as_save_IFS
6410  if test -z "$ac_cv_path_lt_DD"; then
6411    :
6412  fi
6413else
6414  ac_cv_path_lt_DD=$lt_DD
6415fi
6416
6417rm -f conftest.i conftest2.i conftest.out
6418fi
6419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6420$as_echo "$ac_cv_path_lt_DD" >&6; }
6421
6422
6423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6424$as_echo_n "checking how to truncate binary pipes... " >&6; }
6425if ${lt_cv_truncate_bin+:} false; then :
6426  $as_echo_n "(cached) " >&6
6427else
6428  printf 0123456789abcdef0123456789abcdef >conftest.i
6429cat conftest.i conftest.i >conftest2.i
6430lt_cv_truncate_bin=
6431if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6432  cmp -s conftest.i conftest.out \
6433  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6434fi
6435rm -f conftest.i conftest2.i conftest.out
6436test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6437fi
6438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6439$as_echo "$lt_cv_truncate_bin" >&6; }
6440
6441
6442
6443
6444
6445
6446
6447# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6448func_cc_basename ()
6449{
6450    for cc_temp in $*""; do
6451      case $cc_temp in
6452        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6453        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6454        \-*) ;;
6455        *) break;;
6456      esac
6457    done
6458    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6459}
6460
6461# Check whether --enable-libtool-lock was given.
6462if test "${enable_libtool_lock+set}" = set; then :
6463  enableval=$enable_libtool_lock;
6464fi
6465
6466test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6467
6468# Some flags need to be propagated to the compiler or linker for good
6469# libtool support.
6470case $host in
6471ia64-*-hpux*)
6472  # Find out what ABI is being produced by ac_compile, and set mode
6473  # options accordingly.
6474  echo 'int i;' > conftest.$ac_ext
6475  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6476  (eval $ac_compile) 2>&5
6477  ac_status=$?
6478  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6479  test $ac_status = 0; }; then
6480    case `/usr/bin/file conftest.$ac_objext` in
6481      *ELF-32*)
6482	HPUX_IA64_MODE=32
6483	;;
6484      *ELF-64*)
6485	HPUX_IA64_MODE=64
6486	;;
6487    esac
6488  fi
6489  rm -rf conftest*
6490  ;;
6491*-*-irix6*)
6492  # Find out what ABI is being produced by ac_compile, and set linker
6493  # options accordingly.
6494  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6495  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6496  (eval $ac_compile) 2>&5
6497  ac_status=$?
6498  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6499  test $ac_status = 0; }; then
6500    if test yes = "$lt_cv_prog_gnu_ld"; then
6501      case `/usr/bin/file conftest.$ac_objext` in
6502	*32-bit*)
6503	  LD="${LD-ld} -melf32bsmip"
6504	  ;;
6505	*N32*)
6506	  LD="${LD-ld} -melf32bmipn32"
6507	  ;;
6508	*64-bit*)
6509	  LD="${LD-ld} -melf64bmip"
6510	;;
6511      esac
6512    else
6513      case `/usr/bin/file conftest.$ac_objext` in
6514	*32-bit*)
6515	  LD="${LD-ld} -32"
6516	  ;;
6517	*N32*)
6518	  LD="${LD-ld} -n32"
6519	  ;;
6520	*64-bit*)
6521	  LD="${LD-ld} -64"
6522	  ;;
6523      esac
6524    fi
6525  fi
6526  rm -rf conftest*
6527  ;;
6528
6529mips64*-*linux*)
6530  # Find out what ABI is being produced by ac_compile, and set linker
6531  # options accordingly.
6532  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6533  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6534  (eval $ac_compile) 2>&5
6535  ac_status=$?
6536  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6537  test $ac_status = 0; }; then
6538    emul=elf
6539    case `/usr/bin/file conftest.$ac_objext` in
6540      *32-bit*)
6541	emul="${emul}32"
6542	;;
6543      *64-bit*)
6544	emul="${emul}64"
6545	;;
6546    esac
6547    case `/usr/bin/file conftest.$ac_objext` in
6548      *MSB*)
6549	emul="${emul}btsmip"
6550	;;
6551      *LSB*)
6552	emul="${emul}ltsmip"
6553	;;
6554    esac
6555    case `/usr/bin/file conftest.$ac_objext` in
6556      *N32*)
6557	emul="${emul}n32"
6558	;;
6559    esac
6560    LD="${LD-ld} -m $emul"
6561  fi
6562  rm -rf conftest*
6563  ;;
6564
6565x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6566s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6567  # Find out what ABI is being produced by ac_compile, and set linker
6568  # options accordingly.  Note that the listed cases only cover the
6569  # situations where additional linker options are needed (such as when
6570  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6571  # vice versa); the common cases where no linker options are needed do
6572  # not appear in the list.
6573  echo 'int i;' > conftest.$ac_ext
6574  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6575  (eval $ac_compile) 2>&5
6576  ac_status=$?
6577  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6578  test $ac_status = 0; }; then
6579    case `/usr/bin/file conftest.o` in
6580      *32-bit*)
6581	case $host in
6582	  x86_64-*kfreebsd*-gnu)
6583	    LD="${LD-ld} -m elf_i386_fbsd"
6584	    ;;
6585	  x86_64-*linux*)
6586	    case `/usr/bin/file conftest.o` in
6587	      *x86-64*)
6588		LD="${LD-ld} -m elf32_x86_64"
6589		;;
6590	      *)
6591		LD="${LD-ld} -m elf_i386"
6592		;;
6593	    esac
6594	    ;;
6595	  powerpc64le-*linux*)
6596	    LD="${LD-ld} -m elf32lppclinux"
6597	    ;;
6598	  powerpc64-*linux*)
6599	    LD="${LD-ld} -m elf32ppclinux"
6600	    ;;
6601	  s390x-*linux*)
6602	    LD="${LD-ld} -m elf_s390"
6603	    ;;
6604	  sparc64-*linux*)
6605	    LD="${LD-ld} -m elf32_sparc"
6606	    ;;
6607	esac
6608	;;
6609      *64-bit*)
6610	case $host in
6611	  x86_64-*kfreebsd*-gnu)
6612	    LD="${LD-ld} -m elf_x86_64_fbsd"
6613	    ;;
6614	  x86_64-*linux*)
6615	    LD="${LD-ld} -m elf_x86_64"
6616	    ;;
6617	  powerpcle-*linux*)
6618	    LD="${LD-ld} -m elf64lppc"
6619	    ;;
6620	  powerpc-*linux*)
6621	    LD="${LD-ld} -m elf64ppc"
6622	    ;;
6623	  s390*-*linux*|s390*-*tpf*)
6624	    LD="${LD-ld} -m elf64_s390"
6625	    ;;
6626	  sparc*-*linux*)
6627	    LD="${LD-ld} -m elf64_sparc"
6628	    ;;
6629	esac
6630	;;
6631    esac
6632  fi
6633  rm -rf conftest*
6634  ;;
6635
6636*-*-sco3.2v5*)
6637  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6638  SAVE_CFLAGS=$CFLAGS
6639  CFLAGS="$CFLAGS -belf"
6640  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6641$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6642if ${lt_cv_cc_needs_belf+:} false; then :
6643  $as_echo_n "(cached) " >&6
6644else
6645  ac_ext=c
6646ac_cpp='$CPP $CPPFLAGS'
6647ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6648ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6649ac_compiler_gnu=$ac_cv_c_compiler_gnu
6650
6651     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6652/* end confdefs.h.  */
6653
6654int
6655main ()
6656{
6657
6658  ;
6659  return 0;
6660}
6661_ACEOF
6662if ac_fn_c_try_link "$LINENO"; then :
6663  lt_cv_cc_needs_belf=yes
6664else
6665  lt_cv_cc_needs_belf=no
6666fi
6667rm -f core conftest.err conftest.$ac_objext \
6668    conftest$ac_exeext conftest.$ac_ext
6669     ac_ext=c
6670ac_cpp='$CPP $CPPFLAGS'
6671ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6672ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6673ac_compiler_gnu=$ac_cv_c_compiler_gnu
6674
6675fi
6676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6677$as_echo "$lt_cv_cc_needs_belf" >&6; }
6678  if test yes != "$lt_cv_cc_needs_belf"; then
6679    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6680    CFLAGS=$SAVE_CFLAGS
6681  fi
6682  ;;
6683*-*solaris*)
6684  # Find out what ABI is being produced by ac_compile, and set linker
6685  # options accordingly.
6686  echo 'int i;' > conftest.$ac_ext
6687  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6688  (eval $ac_compile) 2>&5
6689  ac_status=$?
6690  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6691  test $ac_status = 0; }; then
6692    case `/usr/bin/file conftest.o` in
6693    *64-bit*)
6694      case $lt_cv_prog_gnu_ld in
6695      yes*)
6696        case $host in
6697        i?86-*-solaris*|x86_64-*-solaris*)
6698          LD="${LD-ld} -m elf_x86_64"
6699          ;;
6700        sparc*-*-solaris*)
6701          LD="${LD-ld} -m elf64_sparc"
6702          ;;
6703        esac
6704        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6705        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6706          LD=${LD-ld}_sol2
6707        fi
6708        ;;
6709      *)
6710	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6711	  LD="${LD-ld} -64"
6712	fi
6713	;;
6714      esac
6715      ;;
6716    esac
6717  fi
6718  rm -rf conftest*
6719  ;;
6720esac
6721
6722need_locks=$enable_libtool_lock
6723
6724if test -n "$ac_tool_prefix"; then
6725  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6726set dummy ${ac_tool_prefix}mt; ac_word=$2
6727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6728$as_echo_n "checking for $ac_word... " >&6; }
6729if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6730  $as_echo_n "(cached) " >&6
6731else
6732  if test -n "$MANIFEST_TOOL"; then
6733  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6734else
6735as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6736for as_dir in $PATH
6737do
6738  IFS=$as_save_IFS
6739  test -z "$as_dir" && as_dir=.
6740    for ac_exec_ext in '' $ac_executable_extensions; do
6741  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6742    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6743    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6744    break 2
6745  fi
6746done
6747  done
6748IFS=$as_save_IFS
6749
6750fi
6751fi
6752MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6753if test -n "$MANIFEST_TOOL"; then
6754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6755$as_echo "$MANIFEST_TOOL" >&6; }
6756else
6757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6758$as_echo "no" >&6; }
6759fi
6760
6761
6762fi
6763if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6764  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6765  # Extract the first word of "mt", so it can be a program name with args.
6766set dummy mt; ac_word=$2
6767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6768$as_echo_n "checking for $ac_word... " >&6; }
6769if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6770  $as_echo_n "(cached) " >&6
6771else
6772  if test -n "$ac_ct_MANIFEST_TOOL"; then
6773  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6774else
6775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6776for as_dir in $PATH
6777do
6778  IFS=$as_save_IFS
6779  test -z "$as_dir" && as_dir=.
6780    for ac_exec_ext in '' $ac_executable_extensions; do
6781  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6782    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6783    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6784    break 2
6785  fi
6786done
6787  done
6788IFS=$as_save_IFS
6789
6790fi
6791fi
6792ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6793if test -n "$ac_ct_MANIFEST_TOOL"; then
6794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6795$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6796else
6797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6798$as_echo "no" >&6; }
6799fi
6800
6801  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6802    MANIFEST_TOOL=":"
6803  else
6804    case $cross_compiling:$ac_tool_warned in
6805yes:)
6806{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6807$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6808ac_tool_warned=yes ;;
6809esac
6810    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6811  fi
6812else
6813  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6814fi
6815
6816test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6818$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6819if ${lt_cv_path_mainfest_tool+:} false; then :
6820  $as_echo_n "(cached) " >&6
6821else
6822  lt_cv_path_mainfest_tool=no
6823  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6824  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6825  cat conftest.err >&5
6826  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6827    lt_cv_path_mainfest_tool=yes
6828  fi
6829  rm -f conftest*
6830fi
6831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6832$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6833if test yes != "$lt_cv_path_mainfest_tool"; then
6834  MANIFEST_TOOL=:
6835fi
6836
6837
6838
6839
6840
6841
6842  case $host_os in
6843    rhapsody* | darwin*)
6844    if test -n "$ac_tool_prefix"; then
6845  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6846set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6848$as_echo_n "checking for $ac_word... " >&6; }
6849if ${ac_cv_prog_DSYMUTIL+:} false; then :
6850  $as_echo_n "(cached) " >&6
6851else
6852  if test -n "$DSYMUTIL"; then
6853  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6854else
6855as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6856for as_dir in $PATH
6857do
6858  IFS=$as_save_IFS
6859  test -z "$as_dir" && as_dir=.
6860    for ac_exec_ext in '' $ac_executable_extensions; do
6861  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6862    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6863    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6864    break 2
6865  fi
6866done
6867  done
6868IFS=$as_save_IFS
6869
6870fi
6871fi
6872DSYMUTIL=$ac_cv_prog_DSYMUTIL
6873if test -n "$DSYMUTIL"; then
6874  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6875$as_echo "$DSYMUTIL" >&6; }
6876else
6877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6878$as_echo "no" >&6; }
6879fi
6880
6881
6882fi
6883if test -z "$ac_cv_prog_DSYMUTIL"; then
6884  ac_ct_DSYMUTIL=$DSYMUTIL
6885  # Extract the first word of "dsymutil", so it can be a program name with args.
6886set dummy dsymutil; ac_word=$2
6887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6888$as_echo_n "checking for $ac_word... " >&6; }
6889if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6890  $as_echo_n "(cached) " >&6
6891else
6892  if test -n "$ac_ct_DSYMUTIL"; then
6893  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6894else
6895as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6896for as_dir in $PATH
6897do
6898  IFS=$as_save_IFS
6899  test -z "$as_dir" && as_dir=.
6900    for ac_exec_ext in '' $ac_executable_extensions; do
6901  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6902    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6903    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6904    break 2
6905  fi
6906done
6907  done
6908IFS=$as_save_IFS
6909
6910fi
6911fi
6912ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6913if test -n "$ac_ct_DSYMUTIL"; then
6914  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6915$as_echo "$ac_ct_DSYMUTIL" >&6; }
6916else
6917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6918$as_echo "no" >&6; }
6919fi
6920
6921  if test "x$ac_ct_DSYMUTIL" = x; then
6922    DSYMUTIL=":"
6923  else
6924    case $cross_compiling:$ac_tool_warned in
6925yes:)
6926{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6927$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6928ac_tool_warned=yes ;;
6929esac
6930    DSYMUTIL=$ac_ct_DSYMUTIL
6931  fi
6932else
6933  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6934fi
6935
6936    if test -n "$ac_tool_prefix"; then
6937  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6938set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6940$as_echo_n "checking for $ac_word... " >&6; }
6941if ${ac_cv_prog_NMEDIT+:} false; then :
6942  $as_echo_n "(cached) " >&6
6943else
6944  if test -n "$NMEDIT"; then
6945  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6946else
6947as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948for as_dir in $PATH
6949do
6950  IFS=$as_save_IFS
6951  test -z "$as_dir" && as_dir=.
6952    for ac_exec_ext in '' $ac_executable_extensions; do
6953  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6954    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6955    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6956    break 2
6957  fi
6958done
6959  done
6960IFS=$as_save_IFS
6961
6962fi
6963fi
6964NMEDIT=$ac_cv_prog_NMEDIT
6965if test -n "$NMEDIT"; then
6966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6967$as_echo "$NMEDIT" >&6; }
6968else
6969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6970$as_echo "no" >&6; }
6971fi
6972
6973
6974fi
6975if test -z "$ac_cv_prog_NMEDIT"; then
6976  ac_ct_NMEDIT=$NMEDIT
6977  # Extract the first word of "nmedit", so it can be a program name with args.
6978set dummy nmedit; ac_word=$2
6979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6980$as_echo_n "checking for $ac_word... " >&6; }
6981if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6982  $as_echo_n "(cached) " >&6
6983else
6984  if test -n "$ac_ct_NMEDIT"; then
6985  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6986else
6987as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6988for as_dir in $PATH
6989do
6990  IFS=$as_save_IFS
6991  test -z "$as_dir" && as_dir=.
6992    for ac_exec_ext in '' $ac_executable_extensions; do
6993  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6994    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6995    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6996    break 2
6997  fi
6998done
6999  done
7000IFS=$as_save_IFS
7001
7002fi
7003fi
7004ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7005if test -n "$ac_ct_NMEDIT"; then
7006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7007$as_echo "$ac_ct_NMEDIT" >&6; }
7008else
7009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7010$as_echo "no" >&6; }
7011fi
7012
7013  if test "x$ac_ct_NMEDIT" = x; then
7014    NMEDIT=":"
7015  else
7016    case $cross_compiling:$ac_tool_warned in
7017yes:)
7018{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7019$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7020ac_tool_warned=yes ;;
7021esac
7022    NMEDIT=$ac_ct_NMEDIT
7023  fi
7024else
7025  NMEDIT="$ac_cv_prog_NMEDIT"
7026fi
7027
7028    if test -n "$ac_tool_prefix"; then
7029  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7030set dummy ${ac_tool_prefix}lipo; ac_word=$2
7031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7032$as_echo_n "checking for $ac_word... " >&6; }
7033if ${ac_cv_prog_LIPO+:} false; then :
7034  $as_echo_n "(cached) " >&6
7035else
7036  if test -n "$LIPO"; then
7037  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7038else
7039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7040for as_dir in $PATH
7041do
7042  IFS=$as_save_IFS
7043  test -z "$as_dir" && as_dir=.
7044    for ac_exec_ext in '' $ac_executable_extensions; do
7045  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7046    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7047    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7048    break 2
7049  fi
7050done
7051  done
7052IFS=$as_save_IFS
7053
7054fi
7055fi
7056LIPO=$ac_cv_prog_LIPO
7057if test -n "$LIPO"; then
7058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7059$as_echo "$LIPO" >&6; }
7060else
7061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7062$as_echo "no" >&6; }
7063fi
7064
7065
7066fi
7067if test -z "$ac_cv_prog_LIPO"; then
7068  ac_ct_LIPO=$LIPO
7069  # Extract the first word of "lipo", so it can be a program name with args.
7070set dummy lipo; ac_word=$2
7071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7072$as_echo_n "checking for $ac_word... " >&6; }
7073if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7074  $as_echo_n "(cached) " >&6
7075else
7076  if test -n "$ac_ct_LIPO"; then
7077  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7078else
7079as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7080for as_dir in $PATH
7081do
7082  IFS=$as_save_IFS
7083  test -z "$as_dir" && as_dir=.
7084    for ac_exec_ext in '' $ac_executable_extensions; do
7085  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7086    ac_cv_prog_ac_ct_LIPO="lipo"
7087    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7088    break 2
7089  fi
7090done
7091  done
7092IFS=$as_save_IFS
7093
7094fi
7095fi
7096ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7097if test -n "$ac_ct_LIPO"; then
7098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7099$as_echo "$ac_ct_LIPO" >&6; }
7100else
7101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7102$as_echo "no" >&6; }
7103fi
7104
7105  if test "x$ac_ct_LIPO" = x; then
7106    LIPO=":"
7107  else
7108    case $cross_compiling:$ac_tool_warned in
7109yes:)
7110{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7111$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7112ac_tool_warned=yes ;;
7113esac
7114    LIPO=$ac_ct_LIPO
7115  fi
7116else
7117  LIPO="$ac_cv_prog_LIPO"
7118fi
7119
7120    if test -n "$ac_tool_prefix"; then
7121  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7122set dummy ${ac_tool_prefix}otool; ac_word=$2
7123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7124$as_echo_n "checking for $ac_word... " >&6; }
7125if ${ac_cv_prog_OTOOL+:} false; then :
7126  $as_echo_n "(cached) " >&6
7127else
7128  if test -n "$OTOOL"; then
7129  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7130else
7131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132for as_dir in $PATH
7133do
7134  IFS=$as_save_IFS
7135  test -z "$as_dir" && as_dir=.
7136    for ac_exec_ext in '' $ac_executable_extensions; do
7137  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7138    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7139    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7140    break 2
7141  fi
7142done
7143  done
7144IFS=$as_save_IFS
7145
7146fi
7147fi
7148OTOOL=$ac_cv_prog_OTOOL
7149if test -n "$OTOOL"; then
7150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7151$as_echo "$OTOOL" >&6; }
7152else
7153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7154$as_echo "no" >&6; }
7155fi
7156
7157
7158fi
7159if test -z "$ac_cv_prog_OTOOL"; then
7160  ac_ct_OTOOL=$OTOOL
7161  # Extract the first word of "otool", so it can be a program name with args.
7162set dummy otool; ac_word=$2
7163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7164$as_echo_n "checking for $ac_word... " >&6; }
7165if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7166  $as_echo_n "(cached) " >&6
7167else
7168  if test -n "$ac_ct_OTOOL"; then
7169  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7170else
7171as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7172for as_dir in $PATH
7173do
7174  IFS=$as_save_IFS
7175  test -z "$as_dir" && as_dir=.
7176    for ac_exec_ext in '' $ac_executable_extensions; do
7177  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7178    ac_cv_prog_ac_ct_OTOOL="otool"
7179    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7180    break 2
7181  fi
7182done
7183  done
7184IFS=$as_save_IFS
7185
7186fi
7187fi
7188ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7189if test -n "$ac_ct_OTOOL"; then
7190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7191$as_echo "$ac_ct_OTOOL" >&6; }
7192else
7193  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7194$as_echo "no" >&6; }
7195fi
7196
7197  if test "x$ac_ct_OTOOL" = x; then
7198    OTOOL=":"
7199  else
7200    case $cross_compiling:$ac_tool_warned in
7201yes:)
7202{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7203$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7204ac_tool_warned=yes ;;
7205esac
7206    OTOOL=$ac_ct_OTOOL
7207  fi
7208else
7209  OTOOL="$ac_cv_prog_OTOOL"
7210fi
7211
7212    if test -n "$ac_tool_prefix"; then
7213  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7214set dummy ${ac_tool_prefix}otool64; ac_word=$2
7215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7216$as_echo_n "checking for $ac_word... " >&6; }
7217if ${ac_cv_prog_OTOOL64+:} false; then :
7218  $as_echo_n "(cached) " >&6
7219else
7220  if test -n "$OTOOL64"; then
7221  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7222else
7223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7224for as_dir in $PATH
7225do
7226  IFS=$as_save_IFS
7227  test -z "$as_dir" && as_dir=.
7228    for ac_exec_ext in '' $ac_executable_extensions; do
7229  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7230    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7231    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7232    break 2
7233  fi
7234done
7235  done
7236IFS=$as_save_IFS
7237
7238fi
7239fi
7240OTOOL64=$ac_cv_prog_OTOOL64
7241if test -n "$OTOOL64"; then
7242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7243$as_echo "$OTOOL64" >&6; }
7244else
7245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7246$as_echo "no" >&6; }
7247fi
7248
7249
7250fi
7251if test -z "$ac_cv_prog_OTOOL64"; then
7252  ac_ct_OTOOL64=$OTOOL64
7253  # Extract the first word of "otool64", so it can be a program name with args.
7254set dummy otool64; ac_word=$2
7255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7256$as_echo_n "checking for $ac_word... " >&6; }
7257if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7258  $as_echo_n "(cached) " >&6
7259else
7260  if test -n "$ac_ct_OTOOL64"; then
7261  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7262else
7263as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7264for as_dir in $PATH
7265do
7266  IFS=$as_save_IFS
7267  test -z "$as_dir" && as_dir=.
7268    for ac_exec_ext in '' $ac_executable_extensions; do
7269  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7270    ac_cv_prog_ac_ct_OTOOL64="otool64"
7271    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7272    break 2
7273  fi
7274done
7275  done
7276IFS=$as_save_IFS
7277
7278fi
7279fi
7280ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7281if test -n "$ac_ct_OTOOL64"; then
7282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7283$as_echo "$ac_ct_OTOOL64" >&6; }
7284else
7285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7286$as_echo "no" >&6; }
7287fi
7288
7289  if test "x$ac_ct_OTOOL64" = x; then
7290    OTOOL64=":"
7291  else
7292    case $cross_compiling:$ac_tool_warned in
7293yes:)
7294{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7295$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7296ac_tool_warned=yes ;;
7297esac
7298    OTOOL64=$ac_ct_OTOOL64
7299  fi
7300else
7301  OTOOL64="$ac_cv_prog_OTOOL64"
7302fi
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7331$as_echo_n "checking for -single_module linker flag... " >&6; }
7332if ${lt_cv_apple_cc_single_mod+:} false; then :
7333  $as_echo_n "(cached) " >&6
7334else
7335  lt_cv_apple_cc_single_mod=no
7336      if test -z "$LT_MULTI_MODULE"; then
7337	# By default we will add the -single_module flag. You can override
7338	# by either setting the environment variable LT_MULTI_MODULE
7339	# non-empty at configure time, or by adding -multi_module to the
7340	# link flags.
7341	rm -rf libconftest.dylib*
7342	echo "int foo(void){return 1;}" > conftest.c
7343	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7344-dynamiclib -Wl,-single_module conftest.c" >&5
7345	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7346	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7347        _lt_result=$?
7348	# If there is a non-empty error log, and "single_module"
7349	# appears in it, assume the flag caused a linker warning
7350        if test -s conftest.err && $GREP single_module conftest.err; then
7351	  cat conftest.err >&5
7352	# Otherwise, if the output was created with a 0 exit code from
7353	# the compiler, it worked.
7354	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7355	  lt_cv_apple_cc_single_mod=yes
7356	else
7357	  cat conftest.err >&5
7358	fi
7359	rm -rf libconftest.dylib*
7360	rm -f conftest.*
7361      fi
7362fi
7363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7364$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7365
7366    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7367$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7368if ${lt_cv_ld_exported_symbols_list+:} false; then :
7369  $as_echo_n "(cached) " >&6
7370else
7371  lt_cv_ld_exported_symbols_list=no
7372      save_LDFLAGS=$LDFLAGS
7373      echo "_main" > conftest.sym
7374      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7375      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7376/* end confdefs.h.  */
7377
7378int
7379main ()
7380{
7381
7382  ;
7383  return 0;
7384}
7385_ACEOF
7386if ac_fn_c_try_link "$LINENO"; then :
7387  lt_cv_ld_exported_symbols_list=yes
7388else
7389  lt_cv_ld_exported_symbols_list=no
7390fi
7391rm -f core conftest.err conftest.$ac_objext \
7392    conftest$ac_exeext conftest.$ac_ext
7393	LDFLAGS=$save_LDFLAGS
7394
7395fi
7396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7397$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7398
7399    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7400$as_echo_n "checking for -force_load linker flag... " >&6; }
7401if ${lt_cv_ld_force_load+:} false; then :
7402  $as_echo_n "(cached) " >&6
7403else
7404  lt_cv_ld_force_load=no
7405      cat > conftest.c << _LT_EOF
7406int forced_loaded() { return 2;}
7407_LT_EOF
7408      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7409      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7410      echo "$AR cr libconftest.a conftest.o" >&5
7411      $AR cr libconftest.a conftest.o 2>&5
7412      echo "$RANLIB libconftest.a" >&5
7413      $RANLIB libconftest.a 2>&5
7414      cat > conftest.c << _LT_EOF
7415int main() { return 0;}
7416_LT_EOF
7417      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7418      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7419      _lt_result=$?
7420      if test -s conftest.err && $GREP force_load conftest.err; then
7421	cat conftest.err >&5
7422      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7423	lt_cv_ld_force_load=yes
7424      else
7425	cat conftest.err >&5
7426      fi
7427        rm -f conftest.err libconftest.a conftest conftest.c
7428        rm -rf conftest.dSYM
7429
7430fi
7431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7432$as_echo "$lt_cv_ld_force_load" >&6; }
7433    case $host_os in
7434    rhapsody* | darwin1.[012])
7435      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7436    darwin1.*)
7437      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7438    darwin*) # darwin 5.x on
7439      # if running on 10.5 or later, the deployment target defaults
7440      # to the OS version, if on x86, and 10.4, the deployment
7441      # target defaults to 10.4. Don't you love it?
7442      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7443	10.0,*86*-darwin8*|10.0,*-darwin[912]*)
7444	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7445	10.[012][,.]*)
7446	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7447	10.*|11.*)
7448	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7449      esac
7450    ;;
7451  esac
7452    if test yes = "$lt_cv_apple_cc_single_mod"; then
7453      _lt_dar_single_mod='$single_module'
7454    fi
7455    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7456      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7457    else
7458      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7459    fi
7460    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7461      _lt_dsymutil='~$DSYMUTIL $lib || :'
7462    else
7463      _lt_dsymutil=
7464    fi
7465    ;;
7466  esac
7467
7468# func_munge_path_list VARIABLE PATH
7469# -----------------------------------
7470# VARIABLE is name of variable containing _space_ separated list of
7471# directories to be munged by the contents of PATH, which is string
7472# having a format:
7473# "DIR[:DIR]:"
7474#       string "DIR[ DIR]" will be prepended to VARIABLE
7475# ":DIR[:DIR]"
7476#       string "DIR[ DIR]" will be appended to VARIABLE
7477# "DIRP[:DIRP]::[DIRA:]DIRA"
7478#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7479#       "DIRA[ DIRA]" will be appended to VARIABLE
7480# "DIR[:DIR]"
7481#       VARIABLE will be replaced by "DIR[ DIR]"
7482func_munge_path_list ()
7483{
7484    case x$2 in
7485    x)
7486        ;;
7487    *:)
7488        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7489        ;;
7490    x:*)
7491        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7492        ;;
7493    *::*)
7494        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7495        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7496        ;;
7497    *)
7498        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7499        ;;
7500    esac
7501}
7502
7503ac_ext=c
7504ac_cpp='$CPP $CPPFLAGS'
7505ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7506ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7507ac_compiler_gnu=$ac_cv_c_compiler_gnu
7508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7509$as_echo_n "checking how to run the C preprocessor... " >&6; }
7510# On Suns, sometimes $CPP names a directory.
7511if test -n "$CPP" && test -d "$CPP"; then
7512  CPP=
7513fi
7514if test -z "$CPP"; then
7515  if ${ac_cv_prog_CPP+:} false; then :
7516  $as_echo_n "(cached) " >&6
7517else
7518      # Double quotes because CPP needs to be expanded
7519    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7520    do
7521      ac_preproc_ok=false
7522for ac_c_preproc_warn_flag in '' yes
7523do
7524  # Use a header file that comes with gcc, so configuring glibc
7525  # with a fresh cross-compiler works.
7526  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7527  # <limits.h> exists even on freestanding compilers.
7528  # On the NeXT, cc -E runs the code through the compiler's parser,
7529  # not just through cpp. "Syntax error" is here to catch this case.
7530  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7531/* end confdefs.h.  */
7532#ifdef __STDC__
7533# include <limits.h>
7534#else
7535# include <assert.h>
7536#endif
7537		     Syntax error
7538_ACEOF
7539if ac_fn_c_try_cpp "$LINENO"; then :
7540
7541else
7542  # Broken: fails on valid input.
7543continue
7544fi
7545rm -f conftest.err conftest.i conftest.$ac_ext
7546
7547  # OK, works on sane cases.  Now check whether nonexistent headers
7548  # can be detected and how.
7549  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7550/* end confdefs.h.  */
7551#include <ac_nonexistent.h>
7552_ACEOF
7553if ac_fn_c_try_cpp "$LINENO"; then :
7554  # Broken: success on invalid input.
7555continue
7556else
7557  # Passes both tests.
7558ac_preproc_ok=:
7559break
7560fi
7561rm -f conftest.err conftest.i conftest.$ac_ext
7562
7563done
7564# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7565rm -f conftest.i conftest.err conftest.$ac_ext
7566if $ac_preproc_ok; then :
7567  break
7568fi
7569
7570    done
7571    ac_cv_prog_CPP=$CPP
7572
7573fi
7574  CPP=$ac_cv_prog_CPP
7575else
7576  ac_cv_prog_CPP=$CPP
7577fi
7578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7579$as_echo "$CPP" >&6; }
7580ac_preproc_ok=false
7581for ac_c_preproc_warn_flag in '' yes
7582do
7583  # Use a header file that comes with gcc, so configuring glibc
7584  # with a fresh cross-compiler works.
7585  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7586  # <limits.h> exists even on freestanding compilers.
7587  # On the NeXT, cc -E runs the code through the compiler's parser,
7588  # not just through cpp. "Syntax error" is here to catch this case.
7589  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7590/* end confdefs.h.  */
7591#ifdef __STDC__
7592# include <limits.h>
7593#else
7594# include <assert.h>
7595#endif
7596		     Syntax error
7597_ACEOF
7598if ac_fn_c_try_cpp "$LINENO"; then :
7599
7600else
7601  # Broken: fails on valid input.
7602continue
7603fi
7604rm -f conftest.err conftest.i conftest.$ac_ext
7605
7606  # OK, works on sane cases.  Now check whether nonexistent headers
7607  # can be detected and how.
7608  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7609/* end confdefs.h.  */
7610#include <ac_nonexistent.h>
7611_ACEOF
7612if ac_fn_c_try_cpp "$LINENO"; then :
7613  # Broken: success on invalid input.
7614continue
7615else
7616  # Passes both tests.
7617ac_preproc_ok=:
7618break
7619fi
7620rm -f conftest.err conftest.i conftest.$ac_ext
7621
7622done
7623# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7624rm -f conftest.i conftest.err conftest.$ac_ext
7625if $ac_preproc_ok; then :
7626
7627else
7628  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7629$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7630as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7631See \`config.log' for more details" "$LINENO" 5; }
7632fi
7633
7634ac_ext=c
7635ac_cpp='$CPP $CPPFLAGS'
7636ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7637ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7638ac_compiler_gnu=$ac_cv_c_compiler_gnu
7639
7640
7641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7642$as_echo_n "checking for ANSI C header files... " >&6; }
7643if ${ac_cv_header_stdc+:} false; then :
7644  $as_echo_n "(cached) " >&6
7645else
7646  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7647/* end confdefs.h.  */
7648#include <stdlib.h>
7649#include <stdarg.h>
7650#include <string.h>
7651#include <float.h>
7652
7653int
7654main ()
7655{
7656
7657  ;
7658  return 0;
7659}
7660_ACEOF
7661if ac_fn_c_try_compile "$LINENO"; then :
7662  ac_cv_header_stdc=yes
7663else
7664  ac_cv_header_stdc=no
7665fi
7666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7667
7668if test $ac_cv_header_stdc = yes; then
7669  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7670  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7671/* end confdefs.h.  */
7672#include <string.h>
7673
7674_ACEOF
7675if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7676  $EGREP "memchr" >/dev/null 2>&1; then :
7677
7678else
7679  ac_cv_header_stdc=no
7680fi
7681rm -f conftest*
7682
7683fi
7684
7685if test $ac_cv_header_stdc = yes; then
7686  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7687  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7688/* end confdefs.h.  */
7689#include <stdlib.h>
7690
7691_ACEOF
7692if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7693  $EGREP "free" >/dev/null 2>&1; then :
7694
7695else
7696  ac_cv_header_stdc=no
7697fi
7698rm -f conftest*
7699
7700fi
7701
7702if test $ac_cv_header_stdc = yes; then
7703  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7704  if test "$cross_compiling" = yes; then :
7705  :
7706else
7707  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7708/* end confdefs.h.  */
7709#include <ctype.h>
7710#include <stdlib.h>
7711#if ((' ' & 0x0FF) == 0x020)
7712# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7713# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7714#else
7715# define ISLOWER(c) \
7716		   (('a' <= (c) && (c) <= 'i') \
7717		     || ('j' <= (c) && (c) <= 'r') \
7718		     || ('s' <= (c) && (c) <= 'z'))
7719# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7720#endif
7721
7722#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7723int
7724main ()
7725{
7726  int i;
7727  for (i = 0; i < 256; i++)
7728    if (XOR (islower (i), ISLOWER (i))
7729	|| toupper (i) != TOUPPER (i))
7730      return 2;
7731  return 0;
7732}
7733_ACEOF
7734if ac_fn_c_try_run "$LINENO"; then :
7735
7736else
7737  ac_cv_header_stdc=no
7738fi
7739rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7740  conftest.$ac_objext conftest.beam conftest.$ac_ext
7741fi
7742
7743fi
7744fi
7745{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7746$as_echo "$ac_cv_header_stdc" >&6; }
7747if test $ac_cv_header_stdc = yes; then
7748
7749$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7750
7751fi
7752
7753# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7754for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7755		  inttypes.h stdint.h unistd.h
7756do :
7757  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7758ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7759"
7760if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7761  cat >>confdefs.h <<_ACEOF
7762#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7763_ACEOF
7764
7765fi
7766
7767done
7768
7769
7770for ac_header in dlfcn.h
7771do :
7772  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7773"
7774if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7775  cat >>confdefs.h <<_ACEOF
7776#define HAVE_DLFCN_H 1
7777_ACEOF
7778
7779fi
7780
7781done
7782
7783
7784
7785
7786
7787# Set options
7788# Check whether --enable-static was given.
7789if test "${enable_static+set}" = set; then :
7790  enableval=$enable_static; p=${PACKAGE-default}
7791    case $enableval in
7792    yes) enable_static=yes ;;
7793    no) enable_static=no ;;
7794    *)
7795     enable_static=no
7796      # Look at the argument we got.  We use all the common list separators.
7797      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7798      for pkg in $enableval; do
7799	IFS=$lt_save_ifs
7800	if test "X$pkg" = "X$p"; then
7801	  enable_static=yes
7802	fi
7803      done
7804      IFS=$lt_save_ifs
7805      ;;
7806    esac
7807else
7808  enable_static=no
7809fi
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820        enable_dlopen=no
7821
7822
7823  enable_win32_dll=no
7824
7825
7826            # Check whether --enable-shared was given.
7827if test "${enable_shared+set}" = set; then :
7828  enableval=$enable_shared; p=${PACKAGE-default}
7829    case $enableval in
7830    yes) enable_shared=yes ;;
7831    no) enable_shared=no ;;
7832    *)
7833      enable_shared=no
7834      # Look at the argument we got.  We use all the common list separators.
7835      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7836      for pkg in $enableval; do
7837	IFS=$lt_save_ifs
7838	if test "X$pkg" = "X$p"; then
7839	  enable_shared=yes
7840	fi
7841      done
7842      IFS=$lt_save_ifs
7843      ;;
7844    esac
7845else
7846  enable_shared=yes
7847fi
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859# Check whether --with-pic was given.
7860if test "${with_pic+set}" = set; then :
7861  withval=$with_pic; lt_p=${PACKAGE-default}
7862    case $withval in
7863    yes|no) pic_mode=$withval ;;
7864    *)
7865      pic_mode=default
7866      # Look at the argument we got.  We use all the common list separators.
7867      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7868      for lt_pkg in $withval; do
7869	IFS=$lt_save_ifs
7870	if test "X$lt_pkg" = "X$lt_p"; then
7871	  pic_mode=yes
7872	fi
7873      done
7874      IFS=$lt_save_ifs
7875      ;;
7876    esac
7877else
7878  pic_mode=default
7879fi
7880
7881
7882
7883
7884
7885
7886
7887
7888  # Check whether --enable-fast-install was given.
7889if test "${enable_fast_install+set}" = set; then :
7890  enableval=$enable_fast_install; p=${PACKAGE-default}
7891    case $enableval in
7892    yes) enable_fast_install=yes ;;
7893    no) enable_fast_install=no ;;
7894    *)
7895      enable_fast_install=no
7896      # Look at the argument we got.  We use all the common list separators.
7897      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7898      for pkg in $enableval; do
7899	IFS=$lt_save_ifs
7900	if test "X$pkg" = "X$p"; then
7901	  enable_fast_install=yes
7902	fi
7903      done
7904      IFS=$lt_save_ifs
7905      ;;
7906    esac
7907else
7908  enable_fast_install=yes
7909fi
7910
7911
7912
7913
7914
7915
7916
7917
7918  shared_archive_member_spec=
7919case $host,$enable_shared in
7920power*-*-aix[5-9]*,yes)
7921  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7922$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7923
7924# Check whether --with-aix-soname was given.
7925if test "${with_aix_soname+set}" = set; then :
7926  withval=$with_aix_soname; case $withval in
7927    aix|svr4|both)
7928      ;;
7929    *)
7930      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7931      ;;
7932    esac
7933    lt_cv_with_aix_soname=$with_aix_soname
7934else
7935  if ${lt_cv_with_aix_soname+:} false; then :
7936  $as_echo_n "(cached) " >&6
7937else
7938  lt_cv_with_aix_soname=aix
7939fi
7940
7941    with_aix_soname=$lt_cv_with_aix_soname
7942fi
7943
7944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7945$as_echo "$with_aix_soname" >&6; }
7946  if test aix != "$with_aix_soname"; then
7947    # For the AIX way of multilib, we name the shared archive member
7948    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7949    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7950    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7951    # the AIX toolchain works better with OBJECT_MODE set (default 32).
7952    if test 64 = "${OBJECT_MODE-32}"; then
7953      shared_archive_member_spec=shr_64
7954    else
7955      shared_archive_member_spec=shr
7956    fi
7957  fi
7958  ;;
7959*)
7960  with_aix_soname=aix
7961  ;;
7962esac
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973# This can be used to rebuild libtool when needed
7974LIBTOOL_DEPS=$ltmain
7975
7976# Always use our own libtool.
7977LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008test -z "$LN_S" && LN_S="ln -s"
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023if test -n "${ZSH_VERSION+set}"; then
8024   setopt NO_GLOB_SUBST
8025fi
8026
8027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8028$as_echo_n "checking for objdir... " >&6; }
8029if ${lt_cv_objdir+:} false; then :
8030  $as_echo_n "(cached) " >&6
8031else
8032  rm -f .libs 2>/dev/null
8033mkdir .libs 2>/dev/null
8034if test -d .libs; then
8035  lt_cv_objdir=.libs
8036else
8037  # MS-DOS does not allow filenames that begin with a dot.
8038  lt_cv_objdir=_libs
8039fi
8040rmdir .libs 2>/dev/null
8041fi
8042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8043$as_echo "$lt_cv_objdir" >&6; }
8044objdir=$lt_cv_objdir
8045
8046
8047
8048
8049
8050cat >>confdefs.h <<_ACEOF
8051#define LT_OBJDIR "$lt_cv_objdir/"
8052_ACEOF
8053
8054
8055
8056
8057case $host_os in
8058aix3*)
8059  # AIX sometimes has problems with the GCC collect2 program.  For some
8060  # reason, if we set the COLLECT_NAMES environment variable, the problems
8061  # vanish in a puff of smoke.
8062  if test set != "${COLLECT_NAMES+set}"; then
8063    COLLECT_NAMES=
8064    export COLLECT_NAMES
8065  fi
8066  ;;
8067esac
8068
8069# Global variables:
8070ofile=libtool
8071can_build_shared=yes
8072
8073# All known linkers require a '.a' archive for static linking (except MSVC,
8074# which needs '.lib').
8075libext=a
8076
8077with_gnu_ld=$lt_cv_prog_gnu_ld
8078
8079old_CC=$CC
8080old_CFLAGS=$CFLAGS
8081
8082# Set sane defaults for various variables
8083test -z "$CC" && CC=cc
8084test -z "$LTCC" && LTCC=$CC
8085test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8086test -z "$LD" && LD=ld
8087test -z "$ac_objext" && ac_objext=o
8088
8089func_cc_basename $compiler
8090cc_basename=$func_cc_basename_result
8091
8092
8093# Only perform the check for file, if the check method requires it
8094test -z "$MAGIC_CMD" && MAGIC_CMD=file
8095case $deplibs_check_method in
8096file_magic*)
8097  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8098    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8099$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8100if ${lt_cv_path_MAGIC_CMD+:} false; then :
8101  $as_echo_n "(cached) " >&6
8102else
8103  case $MAGIC_CMD in
8104[\\/*] |  ?:[\\/]*)
8105  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8106  ;;
8107*)
8108  lt_save_MAGIC_CMD=$MAGIC_CMD
8109  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8110  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8111  for ac_dir in $ac_dummy; do
8112    IFS=$lt_save_ifs
8113    test -z "$ac_dir" && ac_dir=.
8114    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8115      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8116      if test -n "$file_magic_test_file"; then
8117	case $deplibs_check_method in
8118	"file_magic "*)
8119	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8120	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8121	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8122	    $EGREP "$file_magic_regex" > /dev/null; then
8123	    :
8124	  else
8125	    cat <<_LT_EOF 1>&2
8126
8127*** Warning: the command libtool uses to detect shared libraries,
8128*** $file_magic_cmd, produces output that libtool cannot recognize.
8129*** The result is that libtool may fail to recognize shared libraries
8130*** as such.  This will affect the creation of libtool libraries that
8131*** depend on shared libraries, but programs linked with such libtool
8132*** libraries will work regardless of this problem.  Nevertheless, you
8133*** may want to report the problem to your system manager and/or to
8134*** bug-libtool@gnu.org
8135
8136_LT_EOF
8137	  fi ;;
8138	esac
8139      fi
8140      break
8141    fi
8142  done
8143  IFS=$lt_save_ifs
8144  MAGIC_CMD=$lt_save_MAGIC_CMD
8145  ;;
8146esac
8147fi
8148
8149MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8150if test -n "$MAGIC_CMD"; then
8151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8152$as_echo "$MAGIC_CMD" >&6; }
8153else
8154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8155$as_echo "no" >&6; }
8156fi
8157
8158
8159
8160
8161
8162if test -z "$lt_cv_path_MAGIC_CMD"; then
8163  if test -n "$ac_tool_prefix"; then
8164    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8165$as_echo_n "checking for file... " >&6; }
8166if ${lt_cv_path_MAGIC_CMD+:} false; then :
8167  $as_echo_n "(cached) " >&6
8168else
8169  case $MAGIC_CMD in
8170[\\/*] |  ?:[\\/]*)
8171  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8172  ;;
8173*)
8174  lt_save_MAGIC_CMD=$MAGIC_CMD
8175  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8176  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8177  for ac_dir in $ac_dummy; do
8178    IFS=$lt_save_ifs
8179    test -z "$ac_dir" && ac_dir=.
8180    if test -f "$ac_dir/file"; then
8181      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8182      if test -n "$file_magic_test_file"; then
8183	case $deplibs_check_method in
8184	"file_magic "*)
8185	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8186	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8187	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8188	    $EGREP "$file_magic_regex" > /dev/null; then
8189	    :
8190	  else
8191	    cat <<_LT_EOF 1>&2
8192
8193*** Warning: the command libtool uses to detect shared libraries,
8194*** $file_magic_cmd, produces output that libtool cannot recognize.
8195*** The result is that libtool may fail to recognize shared libraries
8196*** as such.  This will affect the creation of libtool libraries that
8197*** depend on shared libraries, but programs linked with such libtool
8198*** libraries will work regardless of this problem.  Nevertheless, you
8199*** may want to report the problem to your system manager and/or to
8200*** bug-libtool@gnu.org
8201
8202_LT_EOF
8203	  fi ;;
8204	esac
8205      fi
8206      break
8207    fi
8208  done
8209  IFS=$lt_save_ifs
8210  MAGIC_CMD=$lt_save_MAGIC_CMD
8211  ;;
8212esac
8213fi
8214
8215MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8216if test -n "$MAGIC_CMD"; then
8217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8218$as_echo "$MAGIC_CMD" >&6; }
8219else
8220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8221$as_echo "no" >&6; }
8222fi
8223
8224
8225  else
8226    MAGIC_CMD=:
8227  fi
8228fi
8229
8230  fi
8231  ;;
8232esac
8233
8234# Use C for the default configuration in the libtool script
8235
8236lt_save_CC=$CC
8237ac_ext=c
8238ac_cpp='$CPP $CPPFLAGS'
8239ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8240ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8241ac_compiler_gnu=$ac_cv_c_compiler_gnu
8242
8243
8244# Source file extension for C test sources.
8245ac_ext=c
8246
8247# Object file extension for compiled C test sources.
8248objext=o
8249objext=$objext
8250
8251# Code to be used in simple compile tests
8252lt_simple_compile_test_code="int some_variable = 0;"
8253
8254# Code to be used in simple link tests
8255lt_simple_link_test_code='int main(){return(0);}'
8256
8257
8258
8259
8260
8261
8262
8263# If no C compiler was specified, use CC.
8264LTCC=${LTCC-"$CC"}
8265
8266# If no C compiler flags were specified, use CFLAGS.
8267LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8268
8269# Allow CC to be a program name with arguments.
8270compiler=$CC
8271
8272# Save the default compiler, since it gets overwritten when the other
8273# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8274compiler_DEFAULT=$CC
8275
8276# save warnings/boilerplate of simple test code
8277ac_outfile=conftest.$ac_objext
8278echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8279eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8280_lt_compiler_boilerplate=`cat conftest.err`
8281$RM conftest*
8282
8283ac_outfile=conftest.$ac_objext
8284echo "$lt_simple_link_test_code" >conftest.$ac_ext
8285eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8286_lt_linker_boilerplate=`cat conftest.err`
8287$RM -r conftest*
8288
8289
8290## CAVEAT EMPTOR:
8291## There is no encapsulation within the following macros, do not change
8292## the running order or otherwise move them around unless you know exactly
8293## what you are doing...
8294if test -n "$compiler"; then
8295
8296lt_prog_compiler_no_builtin_flag=
8297
8298if test yes = "$GCC"; then
8299  case $cc_basename in
8300  nvcc*)
8301    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8302  *)
8303    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8304  esac
8305
8306  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8307$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8308if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8309  $as_echo_n "(cached) " >&6
8310else
8311  lt_cv_prog_compiler_rtti_exceptions=no
8312   ac_outfile=conftest.$ac_objext
8313   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8314   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8315   # Insert the option either (1) after the last *FLAGS variable, or
8316   # (2) before a word containing "conftest.", or (3) at the end.
8317   # Note that $ac_compile itself does not contain backslashes and begins
8318   # with a dollar sign (not a hyphen), so the echo should work correctly.
8319   # The option is referenced via a variable to avoid confusing sed.
8320   lt_compile=`echo "$ac_compile" | $SED \
8321   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8322   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8323   -e 's:$: $lt_compiler_flag:'`
8324   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8325   (eval "$lt_compile" 2>conftest.err)
8326   ac_status=$?
8327   cat conftest.err >&5
8328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8329   if (exit $ac_status) && test -s "$ac_outfile"; then
8330     # The compiler can only warn and ignore the option if not recognized
8331     # So say no if there are warnings other than the usual output.
8332     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8333     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8334     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8335       lt_cv_prog_compiler_rtti_exceptions=yes
8336     fi
8337   fi
8338   $RM conftest*
8339
8340fi
8341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8342$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8343
8344if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8345    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8346else
8347    :
8348fi
8349
8350fi
8351
8352
8353
8354
8355
8356
8357  lt_prog_compiler_wl=
8358lt_prog_compiler_pic=
8359lt_prog_compiler_static=
8360
8361
8362  if test yes = "$GCC"; then
8363    lt_prog_compiler_wl='-Wl,'
8364    lt_prog_compiler_static='-static'
8365
8366    case $host_os in
8367      aix*)
8368      # All AIX code is PIC.
8369      if test ia64 = "$host_cpu"; then
8370	# AIX 5 now supports IA64 processor
8371	lt_prog_compiler_static='-Bstatic'
8372      fi
8373      lt_prog_compiler_pic='-fPIC'
8374      ;;
8375
8376    amigaos*)
8377      case $host_cpu in
8378      powerpc)
8379            # see comment about AmigaOS4 .so support
8380            lt_prog_compiler_pic='-fPIC'
8381        ;;
8382      m68k)
8383            # FIXME: we need at least 68020 code to build shared libraries, but
8384            # adding the '-m68020' flag to GCC prevents building anything better,
8385            # like '-m68040'.
8386            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8387        ;;
8388      esac
8389      ;;
8390
8391    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8392      # PIC is the default for these OSes.
8393      ;;
8394
8395    mingw* | cygwin* | pw32* | os2* | cegcc*)
8396      # This hack is so that the source file can tell whether it is being
8397      # built for inclusion in a dll (and should export symbols for example).
8398      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8399      # (--disable-auto-import) libraries
8400      lt_prog_compiler_pic='-DDLL_EXPORT'
8401      case $host_os in
8402      os2*)
8403	lt_prog_compiler_static='$wl-static'
8404	;;
8405      esac
8406      ;;
8407
8408    darwin* | rhapsody*)
8409      # PIC is the default on this platform
8410      # Common symbols not allowed in MH_DYLIB files
8411      lt_prog_compiler_pic='-fno-common'
8412      ;;
8413
8414    haiku*)
8415      # PIC is the default for Haiku.
8416      # The "-static" flag exists, but is broken.
8417      lt_prog_compiler_static=
8418      ;;
8419
8420    hpux*)
8421      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8422      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8423      # sets the default TLS model and affects inlining.
8424      case $host_cpu in
8425      hppa*64*)
8426	# +Z the default
8427	;;
8428      *)
8429	lt_prog_compiler_pic='-fPIC'
8430	;;
8431      esac
8432      ;;
8433
8434    interix[3-9]*)
8435      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8436      # Instead, we relocate shared libraries at runtime.
8437      ;;
8438
8439    msdosdjgpp*)
8440      # Just because we use GCC doesn't mean we suddenly get shared libraries
8441      # on systems that don't support them.
8442      lt_prog_compiler_can_build_shared=no
8443      enable_shared=no
8444      ;;
8445
8446    *nto* | *qnx*)
8447      # QNX uses GNU C++, but need to define -shared option too, otherwise
8448      # it will coredump.
8449      lt_prog_compiler_pic='-fPIC -shared'
8450      ;;
8451
8452    sysv4*MP*)
8453      if test -d /usr/nec; then
8454	lt_prog_compiler_pic=-Kconform_pic
8455      fi
8456      ;;
8457
8458    *)
8459      lt_prog_compiler_pic='-fPIC'
8460      ;;
8461    esac
8462
8463    case $cc_basename in
8464    nvcc*) # Cuda Compiler Driver 2.2
8465      lt_prog_compiler_wl='-Xlinker '
8466      if test -n "$lt_prog_compiler_pic"; then
8467        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8468      fi
8469      ;;
8470    esac
8471  else
8472    # PORTME Check for flag to pass linker flags through the system compiler.
8473    case $host_os in
8474    aix*)
8475      lt_prog_compiler_wl='-Wl,'
8476      if test ia64 = "$host_cpu"; then
8477	# AIX 5 now supports IA64 processor
8478	lt_prog_compiler_static='-Bstatic'
8479      else
8480	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8481      fi
8482      ;;
8483
8484    darwin* | rhapsody*)
8485      # PIC is the default on this platform
8486      # Common symbols not allowed in MH_DYLIB files
8487      lt_prog_compiler_pic='-fno-common'
8488      case $cc_basename in
8489      nagfor*)
8490        # NAG Fortran compiler
8491        lt_prog_compiler_wl='-Wl,-Wl,,'
8492        lt_prog_compiler_pic='-PIC'
8493        lt_prog_compiler_static='-Bstatic'
8494        ;;
8495      esac
8496      ;;
8497
8498    mingw* | cygwin* | pw32* | os2* | cegcc*)
8499      # This hack is so that the source file can tell whether it is being
8500      # built for inclusion in a dll (and should export symbols for example).
8501      lt_prog_compiler_pic='-DDLL_EXPORT'
8502      case $host_os in
8503      os2*)
8504	lt_prog_compiler_static='$wl-static'
8505	;;
8506      esac
8507      ;;
8508
8509    hpux9* | hpux10* | hpux11*)
8510      lt_prog_compiler_wl='-Wl,'
8511      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8512      # not for PA HP-UX.
8513      case $host_cpu in
8514      hppa*64*|ia64*)
8515	# +Z the default
8516	;;
8517      *)
8518	lt_prog_compiler_pic='+Z'
8519	;;
8520      esac
8521      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8522      lt_prog_compiler_static='$wl-a ${wl}archive'
8523      ;;
8524
8525    irix5* | irix6* | nonstopux*)
8526      lt_prog_compiler_wl='-Wl,'
8527      # PIC (with -KPIC) is the default.
8528      lt_prog_compiler_static='-non_shared'
8529      ;;
8530
8531    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8532      case $cc_basename in
8533      # old Intel for x86_64, which still supported -KPIC.
8534      ecc*)
8535	lt_prog_compiler_wl='-Wl,'
8536	lt_prog_compiler_pic='-KPIC'
8537	lt_prog_compiler_static='-static'
8538        ;;
8539      # flang / f18. f95 an alias for gfortran or flang on Debian
8540      flang* | f18* | f95*)
8541	lt_prog_compiler_wl='-Wl,'
8542	lt_prog_compiler_pic='-fPIC'
8543	lt_prog_compiler_static='-static'
8544        ;;
8545      # icc used to be incompatible with GCC.
8546      # ICC 10 doesn't accept -KPIC any more.
8547      icc* | ifort*)
8548	lt_prog_compiler_wl='-Wl,'
8549	lt_prog_compiler_pic='-fPIC'
8550	lt_prog_compiler_static='-static'
8551        ;;
8552      # Lahey Fortran 8.1.
8553      lf95*)
8554	lt_prog_compiler_wl='-Wl,'
8555	lt_prog_compiler_pic='--shared'
8556	lt_prog_compiler_static='--static'
8557	;;
8558      nagfor*)
8559	# NAG Fortran compiler
8560	lt_prog_compiler_wl='-Wl,-Wl,,'
8561	lt_prog_compiler_pic='-PIC'
8562	lt_prog_compiler_static='-Bstatic'
8563	;;
8564      tcc*)
8565	# Fabrice Bellard et al's Tiny C Compiler
8566	lt_prog_compiler_wl='-Wl,'
8567	lt_prog_compiler_pic='-fPIC'
8568	lt_prog_compiler_static='-static'
8569	;;
8570      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8571        # Portland Group compilers (*not* the Pentium gcc compiler,
8572	# which looks to be a dead project)
8573	lt_prog_compiler_wl='-Wl,'
8574	lt_prog_compiler_pic='-fpic'
8575	lt_prog_compiler_static='-Bstatic'
8576        ;;
8577      ccc*)
8578        lt_prog_compiler_wl='-Wl,'
8579        # All Alpha code is PIC.
8580        lt_prog_compiler_static='-non_shared'
8581        ;;
8582      xl* | bgxl* | bgf* | mpixl*)
8583	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8584	lt_prog_compiler_wl='-Wl,'
8585	lt_prog_compiler_pic='-qpic'
8586	lt_prog_compiler_static='-qstaticlink'
8587	;;
8588      *)
8589	case `$CC -V 2>&1 | sed 5q` in
8590	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8591	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8592	  lt_prog_compiler_pic='-KPIC'
8593	  lt_prog_compiler_static='-Bstatic'
8594	  lt_prog_compiler_wl=''
8595	  ;;
8596	*Sun\ F* | *Sun*Fortran*)
8597	  lt_prog_compiler_pic='-KPIC'
8598	  lt_prog_compiler_static='-Bstatic'
8599	  lt_prog_compiler_wl='-Qoption ld '
8600	  ;;
8601	*Sun\ C*)
8602	  # Sun C 5.9
8603	  lt_prog_compiler_pic='-KPIC'
8604	  lt_prog_compiler_static='-Bstatic'
8605	  lt_prog_compiler_wl='-Wl,'
8606	  ;;
8607        *Intel*\ [CF]*Compiler*)
8608	  lt_prog_compiler_wl='-Wl,'
8609	  lt_prog_compiler_pic='-fPIC'
8610	  lt_prog_compiler_static='-static'
8611	  ;;
8612	*Portland\ Group*)
8613	  lt_prog_compiler_wl='-Wl,'
8614	  lt_prog_compiler_pic='-fpic'
8615	  lt_prog_compiler_static='-Bstatic'
8616	  ;;
8617	esac
8618	;;
8619      esac
8620      ;;
8621
8622    newsos6)
8623      lt_prog_compiler_pic='-KPIC'
8624      lt_prog_compiler_static='-Bstatic'
8625      ;;
8626
8627    *nto* | *qnx*)
8628      # QNX uses GNU C++, but need to define -shared option too, otherwise
8629      # it will coredump.
8630      lt_prog_compiler_pic='-fPIC -shared'
8631      ;;
8632
8633    osf3* | osf4* | osf5*)
8634      lt_prog_compiler_wl='-Wl,'
8635      # All OSF/1 code is PIC.
8636      lt_prog_compiler_static='-non_shared'
8637      ;;
8638
8639    rdos*)
8640      lt_prog_compiler_static='-non_shared'
8641      ;;
8642
8643    solaris*)
8644      lt_prog_compiler_pic='-KPIC'
8645      lt_prog_compiler_static='-Bstatic'
8646      case $cc_basename in
8647      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8648	lt_prog_compiler_wl='-Qoption ld ';;
8649      *)
8650	lt_prog_compiler_wl='-Wl,';;
8651      esac
8652      ;;
8653
8654    sunos4*)
8655      lt_prog_compiler_wl='-Qoption ld '
8656      lt_prog_compiler_pic='-PIC'
8657      lt_prog_compiler_static='-Bstatic'
8658      ;;
8659
8660    sysv4 | sysv4.2uw2* | sysv4.3*)
8661      lt_prog_compiler_wl='-Wl,'
8662      lt_prog_compiler_pic='-KPIC'
8663      lt_prog_compiler_static='-Bstatic'
8664      ;;
8665
8666    sysv4*MP*)
8667      if test -d /usr/nec; then
8668	lt_prog_compiler_pic='-Kconform_pic'
8669	lt_prog_compiler_static='-Bstatic'
8670      fi
8671      ;;
8672
8673    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8674      lt_prog_compiler_wl='-Wl,'
8675      lt_prog_compiler_pic='-KPIC'
8676      lt_prog_compiler_static='-Bstatic'
8677      ;;
8678
8679    unicos*)
8680      lt_prog_compiler_wl='-Wl,'
8681      lt_prog_compiler_can_build_shared=no
8682      ;;
8683
8684    uts4*)
8685      lt_prog_compiler_pic='-pic'
8686      lt_prog_compiler_static='-Bstatic'
8687      ;;
8688
8689    *)
8690      lt_prog_compiler_can_build_shared=no
8691      ;;
8692    esac
8693  fi
8694
8695case $host_os in
8696  # For platforms that do not support PIC, -DPIC is meaningless:
8697  *djgpp*)
8698    lt_prog_compiler_pic=
8699    ;;
8700  *)
8701    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8702    ;;
8703esac
8704
8705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8706$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8707if ${lt_cv_prog_compiler_pic+:} false; then :
8708  $as_echo_n "(cached) " >&6
8709else
8710  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8711fi
8712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8713$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8714lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8715
8716#
8717# Check to make sure the PIC flag actually works.
8718#
8719if test -n "$lt_prog_compiler_pic"; then
8720  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8721$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8722if ${lt_cv_prog_compiler_pic_works+:} false; then :
8723  $as_echo_n "(cached) " >&6
8724else
8725  lt_cv_prog_compiler_pic_works=no
8726   ac_outfile=conftest.$ac_objext
8727   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8728   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
8729   # Insert the option either (1) after the last *FLAGS variable, or
8730   # (2) before a word containing "conftest.", or (3) at the end.
8731   # Note that $ac_compile itself does not contain backslashes and begins
8732   # with a dollar sign (not a hyphen), so the echo should work correctly.
8733   # The option is referenced via a variable to avoid confusing sed.
8734   lt_compile=`echo "$ac_compile" | $SED \
8735   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8736   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8737   -e 's:$: $lt_compiler_flag:'`
8738   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8739   (eval "$lt_compile" 2>conftest.err)
8740   ac_status=$?
8741   cat conftest.err >&5
8742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743   if (exit $ac_status) && test -s "$ac_outfile"; then
8744     # The compiler can only warn and ignore the option if not recognized
8745     # So say no if there are warnings other than the usual output.
8746     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8747     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8748     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8749       lt_cv_prog_compiler_pic_works=yes
8750     fi
8751   fi
8752   $RM conftest*
8753
8754fi
8755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8756$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8757
8758if test yes = "$lt_cv_prog_compiler_pic_works"; then
8759    case $lt_prog_compiler_pic in
8760     "" | " "*) ;;
8761     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8762     esac
8763else
8764    lt_prog_compiler_pic=
8765     lt_prog_compiler_can_build_shared=no
8766fi
8767
8768fi
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780#
8781# Check to make sure the static flag actually works.
8782#
8783wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8785$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8786if ${lt_cv_prog_compiler_static_works+:} false; then :
8787  $as_echo_n "(cached) " >&6
8788else
8789  lt_cv_prog_compiler_static_works=no
8790   save_LDFLAGS=$LDFLAGS
8791   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8792   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8793   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8794     # The linker can only warn and ignore the option if not recognized
8795     # So say no if there are warnings
8796     if test -s conftest.err; then
8797       # Append any errors to the config.log.
8798       cat conftest.err 1>&5
8799       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8800       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8801       if diff conftest.exp conftest.er2 >/dev/null; then
8802         lt_cv_prog_compiler_static_works=yes
8803       fi
8804     else
8805       lt_cv_prog_compiler_static_works=yes
8806     fi
8807   fi
8808   $RM -r conftest*
8809   LDFLAGS=$save_LDFLAGS
8810
8811fi
8812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8813$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8814
8815if test yes = "$lt_cv_prog_compiler_static_works"; then
8816    :
8817else
8818    lt_prog_compiler_static=
8819fi
8820
8821
8822
8823
8824
8825
8826
8827  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8828$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8829if ${lt_cv_prog_compiler_c_o+:} false; then :
8830  $as_echo_n "(cached) " >&6
8831else
8832  lt_cv_prog_compiler_c_o=no
8833   $RM -r conftest 2>/dev/null
8834   mkdir conftest
8835   cd conftest
8836   mkdir out
8837   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8838
8839   lt_compiler_flag="-o out/conftest2.$ac_objext"
8840   # Insert the option either (1) after the last *FLAGS variable, or
8841   # (2) before a word containing "conftest.", or (3) at the end.
8842   # Note that $ac_compile itself does not contain backslashes and begins
8843   # with a dollar sign (not a hyphen), so the echo should work correctly.
8844   lt_compile=`echo "$ac_compile" | $SED \
8845   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8846   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8847   -e 's:$: $lt_compiler_flag:'`
8848   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8849   (eval "$lt_compile" 2>out/conftest.err)
8850   ac_status=$?
8851   cat out/conftest.err >&5
8852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8853   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8854   then
8855     # The compiler can only warn and ignore the option if not recognized
8856     # So say no if there are warnings
8857     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8858     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8859     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8860       lt_cv_prog_compiler_c_o=yes
8861     fi
8862   fi
8863   chmod u+w . 2>&5
8864   $RM conftest*
8865   # SGI C++ compiler will create directory out/ii_files/ for
8866   # template instantiation
8867   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8868   $RM out/* && rmdir out
8869   cd ..
8870   $RM -r conftest
8871   $RM conftest*
8872
8873fi
8874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8875$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8876
8877
8878
8879
8880
8881
8882  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8883$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8884if ${lt_cv_prog_compiler_c_o+:} false; then :
8885  $as_echo_n "(cached) " >&6
8886else
8887  lt_cv_prog_compiler_c_o=no
8888   $RM -r conftest 2>/dev/null
8889   mkdir conftest
8890   cd conftest
8891   mkdir out
8892   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8893
8894   lt_compiler_flag="-o out/conftest2.$ac_objext"
8895   # Insert the option either (1) after the last *FLAGS variable, or
8896   # (2) before a word containing "conftest.", or (3) at the end.
8897   # Note that $ac_compile itself does not contain backslashes and begins
8898   # with a dollar sign (not a hyphen), so the echo should work correctly.
8899   lt_compile=`echo "$ac_compile" | $SED \
8900   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8901   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8902   -e 's:$: $lt_compiler_flag:'`
8903   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8904   (eval "$lt_compile" 2>out/conftest.err)
8905   ac_status=$?
8906   cat out/conftest.err >&5
8907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8909   then
8910     # The compiler can only warn and ignore the option if not recognized
8911     # So say no if there are warnings
8912     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8913     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8914     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8915       lt_cv_prog_compiler_c_o=yes
8916     fi
8917   fi
8918   chmod u+w . 2>&5
8919   $RM conftest*
8920   # SGI C++ compiler will create directory out/ii_files/ for
8921   # template instantiation
8922   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8923   $RM out/* && rmdir out
8924   cd ..
8925   $RM -r conftest
8926   $RM conftest*
8927
8928fi
8929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8930$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8931
8932
8933
8934
8935hard_links=nottested
8936if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8937  # do not overwrite the value of need_locks provided by the user
8938  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8939$as_echo_n "checking if we can lock with hard links... " >&6; }
8940  hard_links=yes
8941  $RM conftest*
8942  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8943  touch conftest.a
8944  ln conftest.a conftest.b 2>&5 || hard_links=no
8945  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8947$as_echo "$hard_links" >&6; }
8948  if test no = "$hard_links"; then
8949    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8950$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8951    need_locks=warn
8952  fi
8953else
8954  need_locks=no
8955fi
8956
8957
8958
8959
8960
8961
8962  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8963$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8964
8965  runpath_var=
8966  allow_undefined_flag=
8967  always_export_symbols=no
8968  archive_cmds=
8969  archive_expsym_cmds=
8970  compiler_needs_object=no
8971  enable_shared_with_static_runtimes=no
8972  export_dynamic_flag_spec=
8973  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8974  hardcode_automatic=no
8975  hardcode_direct=no
8976  hardcode_direct_absolute=no
8977  hardcode_libdir_flag_spec=
8978  hardcode_libdir_separator=
8979  hardcode_minus_L=no
8980  hardcode_shlibpath_var=unsupported
8981  inherit_rpath=no
8982  link_all_deplibs=unknown
8983  module_cmds=
8984  module_expsym_cmds=
8985  old_archive_from_new_cmds=
8986  old_archive_from_expsyms_cmds=
8987  thread_safe_flag_spec=
8988  whole_archive_flag_spec=
8989  # include_expsyms should be a list of space-separated symbols to be *always*
8990  # included in the symbol list
8991  include_expsyms=
8992  # exclude_expsyms can be an extended regexp of symbols to exclude
8993  # it will be wrapped by ' (' and ')$', so one must not match beginning or
8994  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8995  # as well as any symbol that contains 'd'.
8996  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8997  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8998  # platforms (ab)use it in PIC code, but their linkers get confused if
8999  # the symbol is explicitly referenced.  Since portable code cannot
9000  # rely on this symbol name, it's probably fine to never include it in
9001  # preloaded symbol tables.
9002  # Exclude shared library initialization/finalization symbols.
9003  extract_expsyms_cmds=
9004
9005  case $host_os in
9006  cygwin* | mingw* | pw32* | cegcc*)
9007    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9008    # When not using gcc, we currently assume that we are using
9009    # Microsoft Visual C++.
9010    if test yes != "$GCC"; then
9011      with_gnu_ld=no
9012    fi
9013    ;;
9014  interix*)
9015    # we just hope/assume this is gcc and not c89 (= MSVC++)
9016    with_gnu_ld=yes
9017    ;;
9018  openbsd* | bitrig*)
9019    with_gnu_ld=no
9020    ;;
9021  linux* | k*bsd*-gnu | gnu*)
9022    link_all_deplibs=no
9023    ;;
9024  esac
9025
9026  ld_shlibs=yes
9027
9028  # On some targets, GNU ld is compatible enough with the native linker
9029  # that we're better off using the native interface for both.
9030  lt_use_gnu_ld_interface=no
9031  if test yes = "$with_gnu_ld"; then
9032    case $host_os in
9033      aix*)
9034	# The AIX port of GNU ld has always aspired to compatibility
9035	# with the native linker.  However, as the warning in the GNU ld
9036	# block says, versions before 2.19.5* couldn't really create working
9037	# shared libraries, regardless of the interface used.
9038	case `$LD -v 2>&1` in
9039	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9040	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9041	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9042	  *)
9043	    lt_use_gnu_ld_interface=yes
9044	    ;;
9045	esac
9046	;;
9047      *)
9048	lt_use_gnu_ld_interface=yes
9049	;;
9050    esac
9051  fi
9052
9053  if test yes = "$lt_use_gnu_ld_interface"; then
9054    # If archive_cmds runs LD, not CC, wlarc should be empty
9055    wlarc='$wl'
9056
9057    # Set some defaults for GNU ld with shared library support. These
9058    # are reset later if shared libraries are not supported. Putting them
9059    # here allows them to be overridden if necessary.
9060    runpath_var=LD_RUN_PATH
9061    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9062    export_dynamic_flag_spec='$wl--export-dynamic'
9063    # ancient GNU ld didn't support --whole-archive et. al.
9064    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9065      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9066    else
9067      whole_archive_flag_spec=
9068    fi
9069    supports_anon_versioning=no
9070    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9071      *GNU\ gold*) supports_anon_versioning=yes ;;
9072      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9073      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9074      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9075      *\ 2.11.*) ;; # other 2.11 versions
9076      *) supports_anon_versioning=yes ;;
9077    esac
9078
9079    # See if GNU ld supports shared libraries.
9080    case $host_os in
9081    aix[3-9]*)
9082      # On AIX/PPC, the GNU linker is very broken
9083      if test ia64 != "$host_cpu"; then
9084	ld_shlibs=no
9085	cat <<_LT_EOF 1>&2
9086
9087*** Warning: the GNU linker, at least up to release 2.19, is reported
9088*** to be unable to reliably create shared libraries on AIX.
9089*** Therefore, libtool is disabling shared libraries support.  If you
9090*** really care for shared libraries, you may want to install binutils
9091*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9092*** You will then need to restart the configuration process.
9093
9094_LT_EOF
9095      fi
9096      ;;
9097
9098    amigaos*)
9099      case $host_cpu in
9100      powerpc)
9101            # see comment about AmigaOS4 .so support
9102            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9103            archive_expsym_cmds=''
9104        ;;
9105      m68k)
9106            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)'
9107            hardcode_libdir_flag_spec='-L$libdir'
9108            hardcode_minus_L=yes
9109        ;;
9110      esac
9111      ;;
9112
9113    beos*)
9114      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9115	allow_undefined_flag=unsupported
9116	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9117	# support --undefined.  This deserves some investigation.  FIXME
9118	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9119      else
9120	ld_shlibs=no
9121      fi
9122      ;;
9123
9124    cygwin* | mingw* | pw32* | cegcc*)
9125      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9126      # as there is no search path for DLLs.
9127      hardcode_libdir_flag_spec='-L$libdir'
9128      export_dynamic_flag_spec='$wl--export-all-symbols'
9129      allow_undefined_flag=unsupported
9130      always_export_symbols=no
9131      enable_shared_with_static_runtimes=yes
9132      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'
9133      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9134
9135      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9136        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9137	# If the export-symbols file already is a .def file, use it as
9138	# is; otherwise, prepend EXPORTS...
9139	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9140          cp $export_symbols $output_objdir/$soname.def;
9141        else
9142          echo EXPORTS > $output_objdir/$soname.def;
9143          cat $export_symbols >> $output_objdir/$soname.def;
9144        fi~
9145        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9146      else
9147	ld_shlibs=no
9148      fi
9149      ;;
9150
9151    haiku*)
9152      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9153      link_all_deplibs=yes
9154      ;;
9155
9156    os2*)
9157      hardcode_libdir_flag_spec='-L$libdir'
9158      hardcode_minus_L=yes
9159      allow_undefined_flag=unsupported
9160      shrext_cmds=.dll
9161      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9162	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9163	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9164	$ECHO EXPORTS >> $output_objdir/$libname.def~
9165	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9166	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9167	emximp -o $lib $output_objdir/$libname.def'
9168      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9169	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9170	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9171	$ECHO EXPORTS >> $output_objdir/$libname.def~
9172	prefix_cmds="$SED"~
9173	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9174	  prefix_cmds="$prefix_cmds -e 1d";
9175	fi~
9176	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9177	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9178	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9179	emximp -o $lib $output_objdir/$libname.def'
9180      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9181      enable_shared_with_static_runtimes=yes
9182      ;;
9183
9184    interix[3-9]*)
9185      hardcode_direct=no
9186      hardcode_shlibpath_var=no
9187      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9188      export_dynamic_flag_spec='$wl-E'
9189      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9190      # Instead, shared libraries are loaded at an image base (0x10000000 by
9191      # default) and relocated if they conflict, which is a slow very memory
9192      # consuming and fragmenting process.  To avoid this, we pick a random,
9193      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9194      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9195      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9196      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'
9197      ;;
9198
9199    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9200      tmp_diet=no
9201      if test linux-dietlibc = "$host_os"; then
9202	case $cc_basename in
9203	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9204	esac
9205      fi
9206      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9207	 && test no = "$tmp_diet"
9208      then
9209	tmp_addflag=' $pic_flag'
9210	tmp_sharedflag='-shared'
9211	case $cc_basename,$host_cpu in
9212        pgcc*)				# Portland Group C compiler
9213	  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'
9214	  tmp_addflag=' $pic_flag'
9215	  ;;
9216	pgf77* | pgf90* | pgf95* | pgfortran*)
9217					# Portland Group f77 and f90 compilers
9218	  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'
9219	  tmp_addflag=' $pic_flag -Mnomain' ;;
9220	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9221	  tmp_addflag=' -i_dynamic' ;;
9222	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9223	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9224	ifc* | ifort*)			# Intel Fortran compiler
9225	  tmp_addflag=' -nofor_main' ;;
9226	lf95*)				# Lahey Fortran 8.1
9227	  whole_archive_flag_spec=
9228	  tmp_sharedflag='--shared' ;;
9229        nagfor*)                        # NAGFOR 5.3
9230          tmp_sharedflag='-Wl,-shared' ;;
9231	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9232	  tmp_sharedflag='-qmkshrobj'
9233	  tmp_addflag= ;;
9234	nvcc*)	# Cuda Compiler Driver 2.2
9235	  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'
9236	  compiler_needs_object=yes
9237	  ;;
9238	esac
9239	case `$CC -V 2>&1 | sed 5q` in
9240	*Sun\ C*)			# Sun C 5.9
9241	  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'
9242	  compiler_needs_object=yes
9243	  tmp_sharedflag='-G' ;;
9244	*Sun\ F*)			# Sun Fortran 8.3
9245	  tmp_sharedflag='-G' ;;
9246	esac
9247	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9248
9249        if test yes = "$supports_anon_versioning"; then
9250          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9251            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9252            echo "local: *; };" >> $output_objdir/$libname.ver~
9253            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9254        fi
9255
9256	case $cc_basename in
9257	tcc*)
9258	  export_dynamic_flag_spec='-rdynamic'
9259	  ;;
9260	xlf* | bgf* | bgxlf* | mpixlf*)
9261	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9262	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9263	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9264	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9265	  if test yes = "$supports_anon_versioning"; then
9266	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9267              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9268              echo "local: *; };" >> $output_objdir/$libname.ver~
9269              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9270	  fi
9271	  ;;
9272	esac
9273      else
9274        ld_shlibs=no
9275      fi
9276      ;;
9277
9278    netbsd* | netbsdelf*-gnu)
9279      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9280	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9281	wlarc=
9282      else
9283	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9284	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9285      fi
9286      ;;
9287
9288    solaris*)
9289      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9290	ld_shlibs=no
9291	cat <<_LT_EOF 1>&2
9292
9293*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9294*** create shared libraries on Solaris systems.  Therefore, libtool
9295*** is disabling shared libraries support.  We urge you to upgrade GNU
9296*** binutils to release 2.9.1 or newer.  Another option is to modify
9297*** your PATH or compiler configuration so that the native linker is
9298*** used, and then restart.
9299
9300_LT_EOF
9301      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9302	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9303	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9304      else
9305	ld_shlibs=no
9306      fi
9307      ;;
9308
9309    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9310      case `$LD -v 2>&1` in
9311        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9312	ld_shlibs=no
9313	cat <<_LT_EOF 1>&2
9314
9315*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9316*** reliably create shared libraries on SCO systems.  Therefore, libtool
9317*** is disabling shared libraries support.  We urge you to upgrade GNU
9318*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9319*** your PATH or compiler configuration so that the native linker is
9320*** used, and then restart.
9321
9322_LT_EOF
9323	;;
9324	*)
9325	  # For security reasons, it is highly recommended that you always
9326	  # use absolute paths for naming shared libraries, and exclude the
9327	  # DT_RUNPATH tag from executables and libraries.  But doing so
9328	  # requires that you compile everything twice, which is a pain.
9329	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9330	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9331	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9332	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9333	  else
9334	    ld_shlibs=no
9335	  fi
9336	;;
9337      esac
9338      ;;
9339
9340    sunos4*)
9341      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9342      wlarc=
9343      hardcode_direct=yes
9344      hardcode_shlibpath_var=no
9345      ;;
9346
9347    *)
9348      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9349	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9350	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9351      else
9352	ld_shlibs=no
9353      fi
9354      ;;
9355    esac
9356
9357    if test no = "$ld_shlibs"; then
9358      runpath_var=
9359      hardcode_libdir_flag_spec=
9360      export_dynamic_flag_spec=
9361      whole_archive_flag_spec=
9362    fi
9363  else
9364    # PORTME fill in a description of your system's linker (not GNU ld)
9365    case $host_os in
9366    aix3*)
9367      allow_undefined_flag=unsupported
9368      always_export_symbols=yes
9369      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'
9370      # Note: this linker hardcodes the directories in LIBPATH if there
9371      # are no directories specified by -L.
9372      hardcode_minus_L=yes
9373      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9374	# Neither direct hardcoding nor static linking is supported with a
9375	# broken collect2.
9376	hardcode_direct=unsupported
9377      fi
9378      ;;
9379
9380    aix[4-9]*)
9381      if test ia64 = "$host_cpu"; then
9382	# On IA64, the linker does run time linking by default, so we don't
9383	# have to do anything special.
9384	aix_use_runtimelinking=no
9385	exp_sym_flag='-Bexport'
9386	no_entry_flag=
9387      else
9388	# If we're using GNU nm, then we don't want the "-C" option.
9389	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9390	# Without the "-l" option, or with the "-B" option, AIX nm treats
9391	# weak defined symbols like other global defined symbols, whereas
9392	# GNU nm marks them as "W".
9393	# While the 'weak' keyword is ignored in the Export File, we need
9394	# it in the Import File for the 'aix-soname' feature, so we have
9395	# to replace the "-B" option with "-P" for AIX nm.
9396	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9397	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9398	else
9399	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9400	fi
9401	aix_use_runtimelinking=no
9402
9403	# Test if we are trying to use run time linking or normal
9404	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9405	# have runtime linking enabled, and use it for executables.
9406	# For shared libraries, we enable/disable runtime linking
9407	# depending on the kind of the shared library created -
9408	# when "with_aix_soname,aix_use_runtimelinking" is:
9409	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9410	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9411	#            lib.a           static archive
9412	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9413	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9414	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9415	#            lib.a(lib.so.V) shared, rtl:no
9416	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9417	#            lib.a           static archive
9418	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9419	  for ld_flag in $LDFLAGS; do
9420	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9421	    aix_use_runtimelinking=yes
9422	    break
9423	  fi
9424	  done
9425	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9426	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
9427	    # so we don't have lib.a shared libs to link our executables.
9428	    # We have to force runtime linking in this case.
9429	    aix_use_runtimelinking=yes
9430	    LDFLAGS="$LDFLAGS -Wl,-brtl"
9431	  fi
9432	  ;;
9433	esac
9434
9435	exp_sym_flag='-bexport'
9436	no_entry_flag='-bnoentry'
9437      fi
9438
9439      # When large executables or shared objects are built, AIX ld can
9440      # have problems creating the table of contents.  If linking a library
9441      # or program results in "error TOC overflow" add -mminimal-toc to
9442      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9443      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9444
9445      archive_cmds=''
9446      hardcode_direct=yes
9447      hardcode_direct_absolute=yes
9448      hardcode_libdir_separator=':'
9449      link_all_deplibs=yes
9450      file_list_spec='$wl-f,'
9451      case $with_aix_soname,$aix_use_runtimelinking in
9452      aix,*) ;; # traditional, no import file
9453      svr4,* | *,yes) # use import file
9454	# The Import File defines what to hardcode.
9455	hardcode_direct=no
9456	hardcode_direct_absolute=no
9457	;;
9458      esac
9459
9460      if test yes = "$GCC"; then
9461	case $host_os in aix4.[012]|aix4.[012].*)
9462	# We only want to do this on AIX 4.2 and lower, the check
9463	# below for broken collect2 doesn't work under 4.3+
9464	  collect2name=`$CC -print-prog-name=collect2`
9465	  if test -f "$collect2name" &&
9466	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9467	  then
9468	  # We have reworked collect2
9469	  :
9470	  else
9471	  # We have old collect2
9472	  hardcode_direct=unsupported
9473	  # It fails to find uninstalled libraries when the uninstalled
9474	  # path is not listed in the libpath.  Setting hardcode_minus_L
9475	  # to unsupported forces relinking
9476	  hardcode_minus_L=yes
9477	  hardcode_libdir_flag_spec='-L$libdir'
9478	  hardcode_libdir_separator=
9479	  fi
9480	  ;;
9481	esac
9482	shared_flag='-shared'
9483	if test yes = "$aix_use_runtimelinking"; then
9484	  shared_flag="$shared_flag "'$wl-G'
9485	fi
9486	# Need to ensure runtime linking is disabled for the traditional
9487	# shared library, or the linker may eventually find shared libraries
9488	# /with/ Import File - we do not want to mix them.
9489	shared_flag_aix='-shared'
9490	shared_flag_svr4='-shared $wl-G'
9491      else
9492	# not using gcc
9493	if test ia64 = "$host_cpu"; then
9494	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9495	# chokes on -Wl,-G. The following line is correct:
9496	  shared_flag='-G'
9497	else
9498	  if test yes = "$aix_use_runtimelinking"; then
9499	    shared_flag='$wl-G'
9500	  else
9501	    shared_flag='$wl-bM:SRE'
9502	  fi
9503	  shared_flag_aix='$wl-bM:SRE'
9504	  shared_flag_svr4='$wl-G'
9505	fi
9506      fi
9507
9508      export_dynamic_flag_spec='$wl-bexpall'
9509      # It seems that -bexpall does not export symbols beginning with
9510      # underscore (_), so it is better to generate a list of symbols to export.
9511      always_export_symbols=yes
9512      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9513	# Warning - without using the other runtime loading flags (-brtl),
9514	# -berok will link without error, but may produce a broken library.
9515	allow_undefined_flag='-berok'
9516        # Determine the default libpath from the value encoded in an
9517        # empty executable.
9518        if test set = "${lt_cv_aix_libpath+set}"; then
9519  aix_libpath=$lt_cv_aix_libpath
9520else
9521  if ${lt_cv_aix_libpath_+:} false; then :
9522  $as_echo_n "(cached) " >&6
9523else
9524  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525/* end confdefs.h.  */
9526
9527int
9528main ()
9529{
9530
9531  ;
9532  return 0;
9533}
9534_ACEOF
9535if ac_fn_c_try_link "$LINENO"; then :
9536
9537  lt_aix_libpath_sed='
9538      /Import File Strings/,/^$/ {
9539	  /^0/ {
9540	      s/^0  *\([^ ]*\) *$/\1/
9541	      p
9542	  }
9543      }'
9544  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9545  # Check for a 64-bit object if we didn't find anything.
9546  if test -z "$lt_cv_aix_libpath_"; then
9547    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9548  fi
9549fi
9550rm -f core conftest.err conftest.$ac_objext \
9551    conftest$ac_exeext conftest.$ac_ext
9552  if test -z "$lt_cv_aix_libpath_"; then
9553    lt_cv_aix_libpath_=/usr/lib:/lib
9554  fi
9555
9556fi
9557
9558  aix_libpath=$lt_cv_aix_libpath_
9559fi
9560
9561        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9562        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
9563      else
9564	if test ia64 = "$host_cpu"; then
9565	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9566	  allow_undefined_flag="-z nodefs"
9567	  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"
9568	else
9569	 # Determine the default libpath from the value encoded in an
9570	 # empty executable.
9571	 if test set = "${lt_cv_aix_libpath+set}"; then
9572  aix_libpath=$lt_cv_aix_libpath
9573else
9574  if ${lt_cv_aix_libpath_+:} false; then :
9575  $as_echo_n "(cached) " >&6
9576else
9577  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9578/* end confdefs.h.  */
9579
9580int
9581main ()
9582{
9583
9584  ;
9585  return 0;
9586}
9587_ACEOF
9588if ac_fn_c_try_link "$LINENO"; then :
9589
9590  lt_aix_libpath_sed='
9591      /Import File Strings/,/^$/ {
9592	  /^0/ {
9593	      s/^0  *\([^ ]*\) *$/\1/
9594	      p
9595	  }
9596      }'
9597  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9598  # Check for a 64-bit object if we didn't find anything.
9599  if test -z "$lt_cv_aix_libpath_"; then
9600    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9601  fi
9602fi
9603rm -f core conftest.err conftest.$ac_objext \
9604    conftest$ac_exeext conftest.$ac_ext
9605  if test -z "$lt_cv_aix_libpath_"; then
9606    lt_cv_aix_libpath_=/usr/lib:/lib
9607  fi
9608
9609fi
9610
9611  aix_libpath=$lt_cv_aix_libpath_
9612fi
9613
9614	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9615	  # Warning - without using the other run time loading flags,
9616	  # -berok will link without error, but may produce a broken library.
9617	  no_undefined_flag=' $wl-bernotok'
9618	  allow_undefined_flag=' $wl-berok'
9619	  if test yes = "$with_gnu_ld"; then
9620	    # We only use this code for GNU lds that support --whole-archive.
9621	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9622	  else
9623	    # Exported symbols can be pulled into shared objects from archives
9624	    whole_archive_flag_spec='$convenience'
9625	  fi
9626	  archive_cmds_need_lc=yes
9627	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9628	  # -brtl affects multiple linker settings, -berok does not and is overridden later
9629	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9630	  if test svr4 != "$with_aix_soname"; then
9631	    # This is similar to how AIX traditionally builds its shared libraries.
9632	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9633	  fi
9634	  if test aix != "$with_aix_soname"; then
9635	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9636	  else
9637	    # used by -dlpreopen to get the symbols
9638	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
9639	  fi
9640	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9641	fi
9642      fi
9643      ;;
9644
9645    amigaos*)
9646      case $host_cpu in
9647      powerpc)
9648            # see comment about AmigaOS4 .so support
9649            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9650            archive_expsym_cmds=''
9651        ;;
9652      m68k)
9653            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)'
9654            hardcode_libdir_flag_spec='-L$libdir'
9655            hardcode_minus_L=yes
9656        ;;
9657      esac
9658      ;;
9659
9660    bsdi[45]*)
9661      export_dynamic_flag_spec=-rdynamic
9662      ;;
9663
9664    cygwin* | mingw* | pw32* | cegcc*)
9665      # When not using gcc, we currently assume that we are using
9666      # Microsoft Visual C++.
9667      # hardcode_libdir_flag_spec is actually meaningless, as there is
9668      # no search path for DLLs.
9669      case $cc_basename in
9670      cl*)
9671	# Native MSVC
9672	hardcode_libdir_flag_spec=' '
9673	allow_undefined_flag=unsupported
9674	always_export_symbols=yes
9675	file_list_spec='@'
9676	# Tell ltmain to make .lib files, not .a files.
9677	libext=lib
9678	# Tell ltmain to make .dll files, not .so files.
9679	shrext_cmds=.dll
9680	# FIXME: Setting linknames here is a bad hack.
9681	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9682	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9683            cp "$export_symbols" "$output_objdir/$soname.def";
9684            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9685          else
9686            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9687          fi~
9688          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9689          linknames='
9690	# The linker will not automatically build a static lib if we build a DLL.
9691	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9692	enable_shared_with_static_runtimes=yes
9693	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9694	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9695	# Don't use ranlib
9696	old_postinstall_cmds='chmod 644 $oldlib'
9697	postlink_cmds='lt_outputfile="@OUTPUT@"~
9698          lt_tool_outputfile="@TOOL_OUTPUT@"~
9699          case $lt_outputfile in
9700            *.exe|*.EXE) ;;
9701            *)
9702              lt_outputfile=$lt_outputfile.exe
9703              lt_tool_outputfile=$lt_tool_outputfile.exe
9704              ;;
9705          esac~
9706          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9707            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9708            $RM "$lt_outputfile.manifest";
9709          fi'
9710	;;
9711      *)
9712	# Assume MSVC wrapper
9713	hardcode_libdir_flag_spec=' '
9714	allow_undefined_flag=unsupported
9715	# Tell ltmain to make .lib files, not .a files.
9716	libext=lib
9717	# Tell ltmain to make .dll files, not .so files.
9718	shrext_cmds=.dll
9719	# FIXME: Setting linknames here is a bad hack.
9720	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9721	# The linker will automatically build a .lib file if we build a DLL.
9722	old_archive_from_new_cmds='true'
9723	# FIXME: Should let the user specify the lib program.
9724	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9725	enable_shared_with_static_runtimes=yes
9726	;;
9727      esac
9728      ;;
9729
9730    darwin* | rhapsody*)
9731
9732
9733  archive_cmds_need_lc=no
9734  hardcode_direct=no
9735  hardcode_automatic=yes
9736  hardcode_shlibpath_var=unsupported
9737  if test yes = "$lt_cv_ld_force_load"; then
9738    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\"`'
9739
9740  else
9741    whole_archive_flag_spec=''
9742  fi
9743  link_all_deplibs=yes
9744  allow_undefined_flag=$_lt_dar_allow_undefined
9745  case $cc_basename in
9746     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9747     *) _lt_dar_can_shared=$GCC ;;
9748  esac
9749  if test yes = "$_lt_dar_can_shared"; then
9750    output_verbose_link_cmd=func_echo_all
9751    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9752    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9753    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"
9754    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"
9755
9756  else
9757  ld_shlibs=no
9758  fi
9759
9760      ;;
9761
9762    dgux*)
9763      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9764      hardcode_libdir_flag_spec='-L$libdir'
9765      hardcode_shlibpath_var=no
9766      ;;
9767
9768    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9769    # support.  Future versions do this automatically, but an explicit c++rt0.o
9770    # does not break anything, and helps significantly (at the cost of a little
9771    # extra space).
9772    freebsd2.2*)
9773      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9774      hardcode_libdir_flag_spec='-R$libdir'
9775      hardcode_direct=yes
9776      hardcode_shlibpath_var=no
9777      ;;
9778
9779    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9780    freebsd2.*)
9781      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9782      hardcode_direct=yes
9783      hardcode_minus_L=yes
9784      hardcode_shlibpath_var=no
9785      ;;
9786
9787    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9788    freebsd* | dragonfly*)
9789      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9790      hardcode_libdir_flag_spec='-R$libdir'
9791      hardcode_direct=yes
9792      hardcode_shlibpath_var=no
9793      ;;
9794
9795    hpux9*)
9796      if test yes = "$GCC"; then
9797	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9798      else
9799	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9800      fi
9801      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9802      hardcode_libdir_separator=:
9803      hardcode_direct=yes
9804
9805      # hardcode_minus_L: Not really in the search PATH,
9806      # but as the default location of the library.
9807      hardcode_minus_L=yes
9808      export_dynamic_flag_spec='$wl-E'
9809      ;;
9810
9811    hpux10*)
9812      if test yes,no = "$GCC,$with_gnu_ld"; then
9813	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9814      else
9815	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9816      fi
9817      if test no = "$with_gnu_ld"; then
9818	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9819	hardcode_libdir_separator=:
9820	hardcode_direct=yes
9821	hardcode_direct_absolute=yes
9822	export_dynamic_flag_spec='$wl-E'
9823	# hardcode_minus_L: Not really in the search PATH,
9824	# but as the default location of the library.
9825	hardcode_minus_L=yes
9826      fi
9827      ;;
9828
9829    hpux11*)
9830      if test yes,no = "$GCC,$with_gnu_ld"; then
9831	case $host_cpu in
9832	hppa*64*)
9833	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9834	  ;;
9835	ia64*)
9836	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9837	  ;;
9838	*)
9839	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9840	  ;;
9841	esac
9842      else
9843	case $host_cpu in
9844	hppa*64*)
9845	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9846	  ;;
9847	ia64*)
9848	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9849	  ;;
9850	*)
9851
9852	  # Older versions of the 11.00 compiler do not understand -b yet
9853	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9854	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9855$as_echo_n "checking if $CC understands -b... " >&6; }
9856if ${lt_cv_prog_compiler__b+:} false; then :
9857  $as_echo_n "(cached) " >&6
9858else
9859  lt_cv_prog_compiler__b=no
9860   save_LDFLAGS=$LDFLAGS
9861   LDFLAGS="$LDFLAGS -b"
9862   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9863   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9864     # The linker can only warn and ignore the option if not recognized
9865     # So say no if there are warnings
9866     if test -s conftest.err; then
9867       # Append any errors to the config.log.
9868       cat conftest.err 1>&5
9869       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9870       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9871       if diff conftest.exp conftest.er2 >/dev/null; then
9872         lt_cv_prog_compiler__b=yes
9873       fi
9874     else
9875       lt_cv_prog_compiler__b=yes
9876     fi
9877   fi
9878   $RM -r conftest*
9879   LDFLAGS=$save_LDFLAGS
9880
9881fi
9882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9883$as_echo "$lt_cv_prog_compiler__b" >&6; }
9884
9885if test yes = "$lt_cv_prog_compiler__b"; then
9886    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9887else
9888    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9889fi
9890
9891	  ;;
9892	esac
9893      fi
9894      if test no = "$with_gnu_ld"; then
9895	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9896	hardcode_libdir_separator=:
9897
9898	case $host_cpu in
9899	hppa*64*|ia64*)
9900	  hardcode_direct=no
9901	  hardcode_shlibpath_var=no
9902	  ;;
9903	*)
9904	  hardcode_direct=yes
9905	  hardcode_direct_absolute=yes
9906	  export_dynamic_flag_spec='$wl-E'
9907
9908	  # hardcode_minus_L: Not really in the search PATH,
9909	  # but as the default location of the library.
9910	  hardcode_minus_L=yes
9911	  ;;
9912	esac
9913      fi
9914      ;;
9915
9916    irix5* | irix6* | nonstopux*)
9917      if test yes = "$GCC"; then
9918	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'
9919	# Try to use the -exported_symbol ld option, if it does not
9920	# work, assume that -exports_file does not work either and
9921	# implicitly export all symbols.
9922	# This should be the same for all languages, so no per-tag cache variable.
9923	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9924$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9925if ${lt_cv_irix_exported_symbol+:} false; then :
9926  $as_echo_n "(cached) " >&6
9927else
9928  save_LDFLAGS=$LDFLAGS
9929	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9930	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9931/* end confdefs.h.  */
9932int foo (void) { return 0; }
9933_ACEOF
9934if ac_fn_c_try_link "$LINENO"; then :
9935  lt_cv_irix_exported_symbol=yes
9936else
9937  lt_cv_irix_exported_symbol=no
9938fi
9939rm -f core conftest.err conftest.$ac_objext \
9940    conftest$ac_exeext conftest.$ac_ext
9941           LDFLAGS=$save_LDFLAGS
9942fi
9943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9944$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9945	if test yes = "$lt_cv_irix_exported_symbol"; then
9946          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'
9947	fi
9948	link_all_deplibs=no
9949      else
9950	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'
9951	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'
9952      fi
9953      archive_cmds_need_lc='no'
9954      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9955      hardcode_libdir_separator=:
9956      inherit_rpath=yes
9957      link_all_deplibs=yes
9958      ;;
9959
9960    linux*)
9961      case $cc_basename in
9962      tcc*)
9963	# Fabrice Bellard et al's Tiny C Compiler
9964	ld_shlibs=yes
9965	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9966	;;
9967      esac
9968      ;;
9969
9970    netbsd* | netbsdelf*-gnu)
9971      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9972	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9973      else
9974	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9975      fi
9976      hardcode_libdir_flag_spec='-R$libdir'
9977      hardcode_direct=yes
9978      hardcode_shlibpath_var=no
9979      ;;
9980
9981    newsos6)
9982      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9983      hardcode_direct=yes
9984      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9985      hardcode_libdir_separator=:
9986      hardcode_shlibpath_var=no
9987      ;;
9988
9989    *nto* | *qnx*)
9990      ;;
9991
9992    openbsd* | bitrig*)
9993      if test -f /usr/libexec/ld.so; then
9994	hardcode_direct=yes
9995	hardcode_shlibpath_var=no
9996	hardcode_direct_absolute=yes
9997	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9998	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9999	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10000	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10001	  export_dynamic_flag_spec='$wl-E'
10002	else
10003	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10004	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10005	fi
10006      else
10007	ld_shlibs=no
10008      fi
10009      ;;
10010
10011    os2*)
10012      hardcode_libdir_flag_spec='-L$libdir'
10013      hardcode_minus_L=yes
10014      allow_undefined_flag=unsupported
10015      shrext_cmds=.dll
10016      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10017	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10018	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10019	$ECHO EXPORTS >> $output_objdir/$libname.def~
10020	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10021	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10022	emximp -o $lib $output_objdir/$libname.def'
10023      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10024	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10025	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10026	$ECHO EXPORTS >> $output_objdir/$libname.def~
10027	prefix_cmds="$SED"~
10028	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10029	  prefix_cmds="$prefix_cmds -e 1d";
10030	fi~
10031	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10032	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10033	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10034	emximp -o $lib $output_objdir/$libname.def'
10035      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10036      enable_shared_with_static_runtimes=yes
10037      ;;
10038
10039    osf3*)
10040      if test yes = "$GCC"; then
10041	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10042	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'
10043      else
10044	allow_undefined_flag=' -expect_unresolved \*'
10045	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'
10046      fi
10047      archive_cmds_need_lc='no'
10048      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10049      hardcode_libdir_separator=:
10050      ;;
10051
10052    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10053      if test yes = "$GCC"; then
10054	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10055	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'
10056	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10057      else
10058	allow_undefined_flag=' -expect_unresolved \*'
10059	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'
10060	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~
10061          $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'
10062
10063	# Both c and cxx compiler support -rpath directly
10064	hardcode_libdir_flag_spec='-rpath $libdir'
10065      fi
10066      archive_cmds_need_lc='no'
10067      hardcode_libdir_separator=:
10068      ;;
10069
10070    solaris*)
10071      no_undefined_flag=' -z defs'
10072      if test yes = "$GCC"; then
10073	wlarc='$wl'
10074	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10075	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10076          $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'
10077      else
10078	case `$CC -V 2>&1` in
10079	*"Compilers 5.0"*)
10080	  wlarc=''
10081	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10082	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10083            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10084	  ;;
10085	*)
10086	  wlarc='$wl'
10087	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10088	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10089            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10090	  ;;
10091	esac
10092      fi
10093      hardcode_libdir_flag_spec='-R$libdir'
10094      hardcode_shlibpath_var=no
10095      case $host_os in
10096      solaris2.[0-5] | solaris2.[0-5].*) ;;
10097      *)
10098	# The compiler driver will combine and reorder linker options,
10099	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10100	# but is careful enough not to reorder.
10101	# Supported since Solaris 2.6 (maybe 2.5.1?)
10102	if test yes = "$GCC"; then
10103	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10104	else
10105	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10106	fi
10107	;;
10108      esac
10109      link_all_deplibs=yes
10110      ;;
10111
10112    sunos4*)
10113      if test sequent = "$host_vendor"; then
10114	# Use $CC to link under sequent, because it throws in some extra .o
10115	# files that make .init and .fini sections work.
10116	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10117      else
10118	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10119      fi
10120      hardcode_libdir_flag_spec='-L$libdir'
10121      hardcode_direct=yes
10122      hardcode_minus_L=yes
10123      hardcode_shlibpath_var=no
10124      ;;
10125
10126    sysv4)
10127      case $host_vendor in
10128	sni)
10129	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10130	  hardcode_direct=yes # is this really true???
10131	;;
10132	siemens)
10133	  ## LD is ld it makes a PLAMLIB
10134	  ## CC just makes a GrossModule.
10135	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10136	  reload_cmds='$CC -r -o $output$reload_objs'
10137	  hardcode_direct=no
10138        ;;
10139	motorola)
10140	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10141	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10142	;;
10143      esac
10144      runpath_var='LD_RUN_PATH'
10145      hardcode_shlibpath_var=no
10146      ;;
10147
10148    sysv4.3*)
10149      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10150      hardcode_shlibpath_var=no
10151      export_dynamic_flag_spec='-Bexport'
10152      ;;
10153
10154    sysv4*MP*)
10155      if test -d /usr/nec; then
10156	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10157	hardcode_shlibpath_var=no
10158	runpath_var=LD_RUN_PATH
10159	hardcode_runpath_var=yes
10160	ld_shlibs=yes
10161      fi
10162      ;;
10163
10164    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10165      no_undefined_flag='$wl-z,text'
10166      archive_cmds_need_lc=no
10167      hardcode_shlibpath_var=no
10168      runpath_var='LD_RUN_PATH'
10169
10170      if test yes = "$GCC"; then
10171	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10172	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10173      else
10174	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10175	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10176      fi
10177      ;;
10178
10179    sysv5* | sco3.2v5* | sco5v6*)
10180      # Note: We CANNOT use -z defs as we might desire, because we do not
10181      # link with -lc, and that would cause any symbols used from libc to
10182      # always be unresolved, which means just about no library would
10183      # ever link correctly.  If we're not using GNU ld we use -z text
10184      # though, which does catch some bad symbols but isn't as heavy-handed
10185      # as -z defs.
10186      no_undefined_flag='$wl-z,text'
10187      allow_undefined_flag='$wl-z,nodefs'
10188      archive_cmds_need_lc=no
10189      hardcode_shlibpath_var=no
10190      hardcode_libdir_flag_spec='$wl-R,$libdir'
10191      hardcode_libdir_separator=':'
10192      link_all_deplibs=yes
10193      export_dynamic_flag_spec='$wl-Bexport'
10194      runpath_var='LD_RUN_PATH'
10195
10196      if test yes = "$GCC"; then
10197	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10198	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10199      else
10200	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10201	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10202      fi
10203      ;;
10204
10205    uts4*)
10206      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10207      hardcode_libdir_flag_spec='-L$libdir'
10208      hardcode_shlibpath_var=no
10209      ;;
10210
10211    *)
10212      ld_shlibs=no
10213      ;;
10214    esac
10215
10216    if test sni = "$host_vendor"; then
10217      case $host in
10218      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10219	export_dynamic_flag_spec='$wl-Blargedynsym'
10220	;;
10221      esac
10222    fi
10223  fi
10224
10225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10226$as_echo "$ld_shlibs" >&6; }
10227test no = "$ld_shlibs" && can_build_shared=no
10228
10229with_gnu_ld=$with_gnu_ld
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245#
10246# Do we need to explicitly link libc?
10247#
10248case "x$archive_cmds_need_lc" in
10249x|xyes)
10250  # Assume -lc should be added
10251  archive_cmds_need_lc=yes
10252
10253  if test yes,yes = "$GCC,$enable_shared"; then
10254    case $archive_cmds in
10255    *'~'*)
10256      # FIXME: we may have to deal with multi-command sequences.
10257      ;;
10258    '$CC '*)
10259      # Test whether the compiler implicitly links with -lc since on some
10260      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10261      # to ld, don't add -lc before -lgcc.
10262      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10263$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10264if ${lt_cv_archive_cmds_need_lc+:} false; then :
10265  $as_echo_n "(cached) " >&6
10266else
10267  $RM conftest*
10268	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10269
10270	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10271  (eval $ac_compile) 2>&5
10272  ac_status=$?
10273  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10274  test $ac_status = 0; } 2>conftest.err; then
10275	  soname=conftest
10276	  lib=conftest
10277	  libobjs=conftest.$ac_objext
10278	  deplibs=
10279	  wl=$lt_prog_compiler_wl
10280	  pic_flag=$lt_prog_compiler_pic
10281	  compiler_flags=-v
10282	  linker_flags=-v
10283	  verstring=
10284	  output_objdir=.
10285	  libname=conftest
10286	  lt_save_allow_undefined_flag=$allow_undefined_flag
10287	  allow_undefined_flag=
10288	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10289  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10290  ac_status=$?
10291  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10292  test $ac_status = 0; }
10293	  then
10294	    lt_cv_archive_cmds_need_lc=no
10295	  else
10296	    lt_cv_archive_cmds_need_lc=yes
10297	  fi
10298	  allow_undefined_flag=$lt_save_allow_undefined_flag
10299	else
10300	  cat conftest.err 1>&5
10301	fi
10302	$RM conftest*
10303
10304fi
10305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10306$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10307      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10308      ;;
10309    esac
10310  fi
10311  ;;
10312esac
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10466$as_echo_n "checking dynamic linker characteristics... " >&6; }
10467
10468if test yes = "$GCC"; then
10469  case $host_os in
10470    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10471    *) lt_awk_arg='/^libraries:/' ;;
10472  esac
10473  case $host_os in
10474    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10475    *) lt_sed_strip_eq='s|=/|/|g' ;;
10476  esac
10477  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10478  case $lt_search_path_spec in
10479  *\;*)
10480    # if the path contains ";" then we assume it to be the separator
10481    # otherwise default to the standard path separator (i.e. ":") - it is
10482    # assumed that no part of a normal pathname contains ";" but that should
10483    # okay in the real world where ";" in dirpaths is itself problematic.
10484    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10485    ;;
10486  *)
10487    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10488    ;;
10489  esac
10490  # Ok, now we have the path, separated by spaces, we can step through it
10491  # and add multilib dir if necessary...
10492  lt_tmp_lt_search_path_spec=
10493  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10494  # ...but if some path component already ends with the multilib dir we assume
10495  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10496  case "$lt_multi_os_dir; $lt_search_path_spec " in
10497  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10498    lt_multi_os_dir=
10499    ;;
10500  esac
10501  for lt_sys_path in $lt_search_path_spec; do
10502    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10503      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10504    elif test -n "$lt_multi_os_dir"; then
10505      test -d "$lt_sys_path" && \
10506	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10507    fi
10508  done
10509  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10510BEGIN {RS = " "; FS = "/|\n";} {
10511  lt_foo = "";
10512  lt_count = 0;
10513  for (lt_i = NF; lt_i > 0; lt_i--) {
10514    if ($lt_i != "" && $lt_i != ".") {
10515      if ($lt_i == "..") {
10516        lt_count++;
10517      } else {
10518        if (lt_count == 0) {
10519          lt_foo = "/" $lt_i lt_foo;
10520        } else {
10521          lt_count--;
10522        }
10523      }
10524    }
10525  }
10526  if (lt_foo != "") { lt_freq[lt_foo]++; }
10527  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10528}'`
10529  # AWK program above erroneously prepends '/' to C:/dos/paths
10530  # for these hosts.
10531  case $host_os in
10532    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10533      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10534  esac
10535  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10536else
10537  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10538fi
10539library_names_spec=
10540libname_spec='lib$name'
10541soname_spec=
10542shrext_cmds=.so
10543postinstall_cmds=
10544postuninstall_cmds=
10545finish_cmds=
10546finish_eval=
10547shlibpath_var=
10548shlibpath_overrides_runpath=unknown
10549version_type=none
10550dynamic_linker="$host_os ld.so"
10551sys_lib_dlsearch_path_spec="/lib /usr/lib"
10552need_lib_prefix=unknown
10553hardcode_into_libs=no
10554
10555# when you set need_version to no, make sure it does not cause -set_version
10556# flags to be left without arguments
10557need_version=unknown
10558
10559
10560
10561case $host_os in
10562aix3*)
10563  version_type=linux # correct to gnu/linux during the next big refactor
10564  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10565  shlibpath_var=LIBPATH
10566
10567  # AIX 3 has no versioning support, so we append a major version to the name.
10568  soname_spec='$libname$release$shared_ext$major'
10569  ;;
10570
10571aix[4-9]*)
10572  version_type=linux # correct to gnu/linux during the next big refactor
10573  need_lib_prefix=no
10574  need_version=no
10575  hardcode_into_libs=yes
10576  if test ia64 = "$host_cpu"; then
10577    # AIX 5 supports IA64
10578    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10579    shlibpath_var=LD_LIBRARY_PATH
10580  else
10581    # With GCC up to 2.95.x, collect2 would create an import file
10582    # for dependence libraries.  The import file would start with
10583    # the line '#! .'.  This would cause the generated library to
10584    # depend on '.', always an invalid library.  This was fixed in
10585    # development snapshots of GCC prior to 3.0.
10586    case $host_os in
10587      aix4 | aix4.[01] | aix4.[01].*)
10588      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10589	   echo ' yes '
10590	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10591	:
10592      else
10593	can_build_shared=no
10594      fi
10595      ;;
10596    esac
10597    # Using Import Files as archive members, it is possible to support
10598    # filename-based versioning of shared library archives on AIX. While
10599    # this would work for both with and without runtime linking, it will
10600    # prevent static linking of such archives. So we do filename-based
10601    # shared library versioning with .so extension only, which is used
10602    # when both runtime linking and shared linking is enabled.
10603    # Unfortunately, runtime linking may impact performance, so we do
10604    # not want this to be the default eventually. Also, we use the
10605    # versioned .so libs for executables only if there is the -brtl
10606    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10607    # To allow for filename-based versioning support, we need to create
10608    # libNAME.so.V as an archive file, containing:
10609    # *) an Import File, referring to the versioned filename of the
10610    #    archive as well as the shared archive member, telling the
10611    #    bitwidth (32 or 64) of that shared object, and providing the
10612    #    list of exported symbols of that shared object, eventually
10613    #    decorated with the 'weak' keyword
10614    # *) the shared object with the F_LOADONLY flag set, to really avoid
10615    #    it being seen by the linker.
10616    # At run time we better use the real file rather than another symlink,
10617    # but for link time we create the symlink libNAME.so -> libNAME.so.V
10618
10619    case $with_aix_soname,$aix_use_runtimelinking in
10620    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10621    # soname into executable. Probably we can add versioning support to
10622    # collect2, so additional links can be useful in future.
10623    aix,yes) # traditional libtool
10624      dynamic_linker='AIX unversionable lib.so'
10625      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10626      # instead of lib<name>.a to let people know that these are not
10627      # typical AIX shared libraries.
10628      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10629      ;;
10630    aix,no) # traditional AIX only
10631      dynamic_linker='AIX lib.a(lib.so.V)'
10632      # We preserve .a as extension for shared libraries through AIX4.2
10633      # and later when we are not doing run time linking.
10634      library_names_spec='$libname$release.a $libname.a'
10635      soname_spec='$libname$release$shared_ext$major'
10636      ;;
10637    svr4,*) # full svr4 only
10638      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10639      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10640      # We do not specify a path in Import Files, so LIBPATH fires.
10641      shlibpath_overrides_runpath=yes
10642      ;;
10643    *,yes) # both, prefer svr4
10644      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10645      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10646      # unpreferred sharedlib libNAME.a needs extra handling
10647      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10648      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10649      # We do not specify a path in Import Files, so LIBPATH fires.
10650      shlibpath_overrides_runpath=yes
10651      ;;
10652    *,no) # both, prefer aix
10653      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10654      library_names_spec='$libname$release.a $libname.a'
10655      soname_spec='$libname$release$shared_ext$major'
10656      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10657      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10658      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10659      ;;
10660    esac
10661    shlibpath_var=LIBPATH
10662  fi
10663  ;;
10664
10665amigaos*)
10666  case $host_cpu in
10667  powerpc)
10668    # Since July 2007 AmigaOS4 officially supports .so libraries.
10669    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10670    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10671    ;;
10672  m68k)
10673    library_names_spec='$libname.ixlibrary $libname.a'
10674    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10675    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
10676    ;;
10677  esac
10678  ;;
10679
10680beos*)
10681  library_names_spec='$libname$shared_ext'
10682  dynamic_linker="$host_os ld.so"
10683  shlibpath_var=LIBRARY_PATH
10684  ;;
10685
10686bsdi[45]*)
10687  version_type=linux # correct to gnu/linux during the next big refactor
10688  need_version=no
10689  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10690  soname_spec='$libname$release$shared_ext$major'
10691  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10692  shlibpath_var=LD_LIBRARY_PATH
10693  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10694  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10695  # the default ld.so.conf also contains /usr/contrib/lib and
10696  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10697  # libtool to hard-code these into programs
10698  ;;
10699
10700cygwin* | mingw* | pw32* | cegcc*)
10701  version_type=windows
10702  shrext_cmds=.dll
10703  need_version=no
10704  need_lib_prefix=no
10705
10706  case $GCC,$cc_basename in
10707  yes,*)
10708    # gcc
10709    library_names_spec='$libname.dll.a'
10710    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10711    postinstall_cmds='base_file=`basename \$file`~
10712      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10713      dldir=$destdir/`dirname \$dlpath`~
10714      test -d \$dldir || mkdir -p \$dldir~
10715      $install_prog $dir/$dlname \$dldir/$dlname~
10716      chmod a+x \$dldir/$dlname~
10717      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10718        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10719      fi'
10720    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10721      dlpath=$dir/\$dldll~
10722       $RM \$dlpath'
10723    shlibpath_overrides_runpath=yes
10724
10725    case $host_os in
10726    cygwin*)
10727      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10728      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10729
10730      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10731      ;;
10732    mingw* | cegcc*)
10733      # MinGW DLLs use traditional 'lib' prefix
10734      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10735      ;;
10736    pw32*)
10737      # pw32 DLLs use 'pw' prefix rather than 'lib'
10738      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10739      ;;
10740    esac
10741    dynamic_linker='Win32 ld.exe'
10742    ;;
10743
10744  *,cl*)
10745    # Native MSVC
10746    libname_spec='$name'
10747    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10748    library_names_spec='$libname.dll.lib'
10749
10750    case $build_os in
10751    mingw*)
10752      sys_lib_search_path_spec=
10753      lt_save_ifs=$IFS
10754      IFS=';'
10755      for lt_path in $LIB
10756      do
10757        IFS=$lt_save_ifs
10758        # Let DOS variable expansion print the short 8.3 style file name.
10759        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10760        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10761      done
10762      IFS=$lt_save_ifs
10763      # Convert to MSYS style.
10764      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10765      ;;
10766    cygwin*)
10767      # Convert to unix form, then to dos form, then back to unix form
10768      # but this time dos style (no spaces!) so that the unix form looks
10769      # like /cygdrive/c/PROGRA~1:/cygdr...
10770      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10771      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10772      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10773      ;;
10774    *)
10775      sys_lib_search_path_spec=$LIB
10776      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10777        # It is most probably a Windows format PATH.
10778        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10779      else
10780        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10781      fi
10782      # FIXME: find the short name or the path components, as spaces are
10783      # common. (e.g. "Program Files" -> "PROGRA~1")
10784      ;;
10785    esac
10786
10787    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10788    postinstall_cmds='base_file=`basename \$file`~
10789      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10790      dldir=$destdir/`dirname \$dlpath`~
10791      test -d \$dldir || mkdir -p \$dldir~
10792      $install_prog $dir/$dlname \$dldir/$dlname'
10793    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10794      dlpath=$dir/\$dldll~
10795       $RM \$dlpath'
10796    shlibpath_overrides_runpath=yes
10797    dynamic_linker='Win32 link.exe'
10798    ;;
10799
10800  *)
10801    # Assume MSVC wrapper
10802    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10803    dynamic_linker='Win32 ld.exe'
10804    ;;
10805  esac
10806  # FIXME: first we should search . and the directory the executable is in
10807  shlibpath_var=PATH
10808  ;;
10809
10810darwin* | rhapsody*)
10811  dynamic_linker="$host_os dyld"
10812  version_type=darwin
10813  need_lib_prefix=no
10814  need_version=no
10815  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10816  soname_spec='$libname$release$major$shared_ext'
10817  shlibpath_overrides_runpath=yes
10818  shlibpath_var=DYLD_LIBRARY_PATH
10819  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10820
10821  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10822  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10823  ;;
10824
10825dgux*)
10826  version_type=linux # correct to gnu/linux during the next big refactor
10827  need_lib_prefix=no
10828  need_version=no
10829  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10830  soname_spec='$libname$release$shared_ext$major'
10831  shlibpath_var=LD_LIBRARY_PATH
10832  ;;
10833
10834freebsd* | dragonfly*)
10835  # DragonFly does not have aout.  When/if they implement a new
10836  # versioning mechanism, adjust this.
10837  if test -x /usr/bin/objformat; then
10838    objformat=`/usr/bin/objformat`
10839  else
10840    case $host_os in
10841    freebsd[23].*) objformat=aout ;;
10842    *) objformat=elf ;;
10843    esac
10844  fi
10845  version_type=freebsd-$objformat
10846  case $version_type in
10847    freebsd-elf*)
10848      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10849      soname_spec='$libname$release$shared_ext$major'
10850      need_version=no
10851      need_lib_prefix=no
10852      ;;
10853    freebsd-*)
10854      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10855      need_version=yes
10856      ;;
10857  esac
10858  shlibpath_var=LD_LIBRARY_PATH
10859  case $host_os in
10860  freebsd2.*)
10861    shlibpath_overrides_runpath=yes
10862    ;;
10863  freebsd3.[01]* | freebsdelf3.[01]*)
10864    shlibpath_overrides_runpath=yes
10865    hardcode_into_libs=yes
10866    ;;
10867  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10868  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10869    shlibpath_overrides_runpath=no
10870    hardcode_into_libs=yes
10871    ;;
10872  *) # from 4.6 on, and DragonFly
10873    shlibpath_overrides_runpath=yes
10874    hardcode_into_libs=yes
10875    ;;
10876  esac
10877  ;;
10878
10879haiku*)
10880  version_type=linux # correct to gnu/linux during the next big refactor
10881  need_lib_prefix=no
10882  need_version=no
10883  dynamic_linker="$host_os runtime_loader"
10884  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10885  soname_spec='$libname$release$shared_ext$major'
10886  shlibpath_var=LIBRARY_PATH
10887  shlibpath_overrides_runpath=no
10888  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10889  hardcode_into_libs=yes
10890  ;;
10891
10892hpux9* | hpux10* | hpux11*)
10893  # Give a soname corresponding to the major version so that dld.sl refuses to
10894  # link against other versions.
10895  version_type=sunos
10896  need_lib_prefix=no
10897  need_version=no
10898  case $host_cpu in
10899  ia64*)
10900    shrext_cmds='.so'
10901    hardcode_into_libs=yes
10902    dynamic_linker="$host_os dld.so"
10903    shlibpath_var=LD_LIBRARY_PATH
10904    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10905    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10906    soname_spec='$libname$release$shared_ext$major'
10907    if test 32 = "$HPUX_IA64_MODE"; then
10908      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10909      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10910    else
10911      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10912      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10913    fi
10914    ;;
10915  hppa*64*)
10916    shrext_cmds='.sl'
10917    hardcode_into_libs=yes
10918    dynamic_linker="$host_os dld.sl"
10919    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10920    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10921    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10922    soname_spec='$libname$release$shared_ext$major'
10923    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10924    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10925    ;;
10926  *)
10927    shrext_cmds='.sl'
10928    dynamic_linker="$host_os dld.sl"
10929    shlibpath_var=SHLIB_PATH
10930    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10931    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10932    soname_spec='$libname$release$shared_ext$major'
10933    ;;
10934  esac
10935  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10936  postinstall_cmds='chmod 555 $lib'
10937  # or fails outright, so override atomically:
10938  install_override_mode=555
10939  ;;
10940
10941interix[3-9]*)
10942  version_type=linux # correct to gnu/linux during the next big refactor
10943  need_lib_prefix=no
10944  need_version=no
10945  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10946  soname_spec='$libname$release$shared_ext$major'
10947  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10948  shlibpath_var=LD_LIBRARY_PATH
10949  shlibpath_overrides_runpath=no
10950  hardcode_into_libs=yes
10951  ;;
10952
10953irix5* | irix6* | nonstopux*)
10954  case $host_os in
10955    nonstopux*) version_type=nonstopux ;;
10956    *)
10957	if test yes = "$lt_cv_prog_gnu_ld"; then
10958		version_type=linux # correct to gnu/linux during the next big refactor
10959	else
10960		version_type=irix
10961	fi ;;
10962  esac
10963  need_lib_prefix=no
10964  need_version=no
10965  soname_spec='$libname$release$shared_ext$major'
10966  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10967  case $host_os in
10968  irix5* | nonstopux*)
10969    libsuff= shlibsuff=
10970    ;;
10971  *)
10972    case $LD in # libtool.m4 will add one of these switches to LD
10973    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10974      libsuff= shlibsuff= libmagic=32-bit;;
10975    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10976      libsuff=32 shlibsuff=N32 libmagic=N32;;
10977    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10978      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10979    *) libsuff= shlibsuff= libmagic=never-match;;
10980    esac
10981    ;;
10982  esac
10983  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10984  shlibpath_overrides_runpath=no
10985  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10986  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
10987  hardcode_into_libs=yes
10988  ;;
10989
10990# No shared lib support for Linux oldld, aout, or coff.
10991linux*oldld* | linux*aout* | linux*coff*)
10992  dynamic_linker=no
10993  ;;
10994
10995linux*android*)
10996  version_type=none # Android doesn't support versioned libraries.
10997  need_lib_prefix=no
10998  need_version=no
10999  library_names_spec='$libname$release$shared_ext'
11000  soname_spec='$libname$release$shared_ext'
11001  finish_cmds=
11002  shlibpath_var=LD_LIBRARY_PATH
11003  shlibpath_overrides_runpath=yes
11004
11005  # This implies no fast_install, which is unacceptable.
11006  # Some rework will be needed to allow for fast_install
11007  # before this can be enabled.
11008  hardcode_into_libs=yes
11009
11010  dynamic_linker='Android linker'
11011  # Don't embed -rpath directories since the linker doesn't support them.
11012  hardcode_libdir_flag_spec='-L$libdir'
11013  ;;
11014
11015# This must be glibc/ELF.
11016linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11017  version_type=linux # correct to gnu/linux during the next big refactor
11018  need_lib_prefix=no
11019  need_version=no
11020  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11021  soname_spec='$libname$release$shared_ext$major'
11022  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11023  shlibpath_var=LD_LIBRARY_PATH
11024  shlibpath_overrides_runpath=no
11025
11026  # Some binutils ld are patched to set DT_RUNPATH
11027  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11028  $as_echo_n "(cached) " >&6
11029else
11030  lt_cv_shlibpath_overrides_runpath=no
11031    save_LDFLAGS=$LDFLAGS
11032    save_libdir=$libdir
11033    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11034	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11035    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11036/* end confdefs.h.  */
11037
11038int
11039main ()
11040{
11041
11042  ;
11043  return 0;
11044}
11045_ACEOF
11046if ac_fn_c_try_link "$LINENO"; then :
11047  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11048  lt_cv_shlibpath_overrides_runpath=yes
11049fi
11050fi
11051rm -f core conftest.err conftest.$ac_objext \
11052    conftest$ac_exeext conftest.$ac_ext
11053    LDFLAGS=$save_LDFLAGS
11054    libdir=$save_libdir
11055
11056fi
11057
11058  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11059
11060  # This implies no fast_install, which is unacceptable.
11061  # Some rework will be needed to allow for fast_install
11062  # before this can be enabled.
11063  hardcode_into_libs=yes
11064
11065  # Ideally, we could use ldconfig to report *all* directores which are
11066  # searched for libraries, however this is still not possible.  Aside from not
11067  # being certain /sbin/ldconfig is available, command
11068  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11069  # even though it is searched at run-time.  Try to do the best guess by
11070  # appending ld.so.conf contents (and includes) to the search path.
11071  if test -f /etc/ld.so.conf; then
11072    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' ' '`
11073    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11074  fi
11075
11076  # We used to test for /lib/ld.so.1 and disable shared libraries on
11077  # powerpc, because MkLinux only supported shared libraries with the
11078  # GNU dynamic linker.  Since this was broken with cross compilers,
11079  # most powerpc-linux boxes support dynamic linking these days and
11080  # people can always --disable-shared, the test was removed, and we
11081  # assume the GNU/Linux dynamic linker is in use.
11082  dynamic_linker='GNU/Linux ld.so'
11083  ;;
11084
11085netbsdelf*-gnu)
11086  version_type=linux
11087  need_lib_prefix=no
11088  need_version=no
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  shlibpath_var=LD_LIBRARY_PATH
11092  shlibpath_overrides_runpath=no
11093  hardcode_into_libs=yes
11094  dynamic_linker='NetBSD ld.elf_so'
11095  ;;
11096
11097netbsd*)
11098  version_type=sunos
11099  need_lib_prefix=no
11100  need_version=no
11101  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11102    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11103    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11104    dynamic_linker='NetBSD (a.out) ld.so'
11105  else
11106    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11107    soname_spec='$libname$release$shared_ext$major'
11108    dynamic_linker='NetBSD ld.elf_so'
11109  fi
11110  shlibpath_var=LD_LIBRARY_PATH
11111  shlibpath_overrides_runpath=yes
11112  hardcode_into_libs=yes
11113  ;;
11114
11115newsos6)
11116  version_type=linux # correct to gnu/linux during the next big refactor
11117  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11118  shlibpath_var=LD_LIBRARY_PATH
11119  shlibpath_overrides_runpath=yes
11120  ;;
11121
11122*nto* | *qnx*)
11123  version_type=qnx
11124  need_lib_prefix=no
11125  need_version=no
11126  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11127  soname_spec='$libname$release$shared_ext$major'
11128  shlibpath_var=LD_LIBRARY_PATH
11129  shlibpath_overrides_runpath=no
11130  hardcode_into_libs=yes
11131  dynamic_linker='ldqnx.so'
11132  ;;
11133
11134openbsd* | bitrig*)
11135  version_type=sunos
11136  sys_lib_dlsearch_path_spec=/usr/lib
11137  need_lib_prefix=no
11138  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11139    need_version=no
11140  else
11141    need_version=yes
11142  fi
11143  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11144  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11145  shlibpath_var=LD_LIBRARY_PATH
11146  shlibpath_overrides_runpath=yes
11147  ;;
11148
11149os2*)
11150  libname_spec='$name'
11151  version_type=windows
11152  shrext_cmds=.dll
11153  need_version=no
11154  need_lib_prefix=no
11155  # OS/2 can only load a DLL with a base name of 8 characters or less.
11156  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11157    v=$($ECHO $release$versuffix | tr -d .-);
11158    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11159    $ECHO $n$v`$shared_ext'
11160  library_names_spec='${libname}_dll.$libext'
11161  dynamic_linker='OS/2 ld.exe'
11162  shlibpath_var=BEGINLIBPATH
11163  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11164  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11165  postinstall_cmds='base_file=`basename \$file`~
11166    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11167    dldir=$destdir/`dirname \$dlpath`~
11168    test -d \$dldir || mkdir -p \$dldir~
11169    $install_prog $dir/$dlname \$dldir/$dlname~
11170    chmod a+x \$dldir/$dlname~
11171    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11172      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11173    fi'
11174  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11175    dlpath=$dir/\$dldll~
11176    $RM \$dlpath'
11177  ;;
11178
11179osf3* | osf4* | osf5*)
11180  version_type=osf
11181  need_lib_prefix=no
11182  need_version=no
11183  soname_spec='$libname$release$shared_ext$major'
11184  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11185  shlibpath_var=LD_LIBRARY_PATH
11186  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11187  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11188  ;;
11189
11190rdos*)
11191  dynamic_linker=no
11192  ;;
11193
11194solaris*)
11195  version_type=linux # correct to gnu/linux during the next big refactor
11196  need_lib_prefix=no
11197  need_version=no
11198  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11199  soname_spec='$libname$release$shared_ext$major'
11200  shlibpath_var=LD_LIBRARY_PATH
11201  shlibpath_overrides_runpath=yes
11202  hardcode_into_libs=yes
11203  # ldd complains unless libraries are executable
11204  postinstall_cmds='chmod +x $lib'
11205  ;;
11206
11207sunos4*)
11208  version_type=sunos
11209  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11210  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11211  shlibpath_var=LD_LIBRARY_PATH
11212  shlibpath_overrides_runpath=yes
11213  if test yes = "$with_gnu_ld"; then
11214    need_lib_prefix=no
11215  fi
11216  need_version=yes
11217  ;;
11218
11219sysv4 | sysv4.3*)
11220  version_type=linux # correct to gnu/linux during the next big refactor
11221  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11222  soname_spec='$libname$release$shared_ext$major'
11223  shlibpath_var=LD_LIBRARY_PATH
11224  case $host_vendor in
11225    sni)
11226      shlibpath_overrides_runpath=no
11227      need_lib_prefix=no
11228      runpath_var=LD_RUN_PATH
11229      ;;
11230    siemens)
11231      need_lib_prefix=no
11232      ;;
11233    motorola)
11234      need_lib_prefix=no
11235      need_version=no
11236      shlibpath_overrides_runpath=no
11237      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11238      ;;
11239  esac
11240  ;;
11241
11242sysv4*MP*)
11243  if test -d /usr/nec; then
11244    version_type=linux # correct to gnu/linux during the next big refactor
11245    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11246    soname_spec='$libname$shared_ext.$major'
11247    shlibpath_var=LD_LIBRARY_PATH
11248  fi
11249  ;;
11250
11251sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11252  version_type=sco
11253  need_lib_prefix=no
11254  need_version=no
11255  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11256  soname_spec='$libname$release$shared_ext$major'
11257  shlibpath_var=LD_LIBRARY_PATH
11258  shlibpath_overrides_runpath=yes
11259  hardcode_into_libs=yes
11260  if test yes = "$with_gnu_ld"; then
11261    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11262  else
11263    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11264    case $host_os in
11265      sco3.2v5*)
11266        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11267	;;
11268    esac
11269  fi
11270  sys_lib_dlsearch_path_spec='/usr/lib'
11271  ;;
11272
11273tpf*)
11274  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11275  version_type=linux # correct to gnu/linux during the next big refactor
11276  need_lib_prefix=no
11277  need_version=no
11278  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11279  shlibpath_var=LD_LIBRARY_PATH
11280  shlibpath_overrides_runpath=no
11281  hardcode_into_libs=yes
11282  ;;
11283
11284uts4*)
11285  version_type=linux # correct to gnu/linux during the next big refactor
11286  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11287  soname_spec='$libname$release$shared_ext$major'
11288  shlibpath_var=LD_LIBRARY_PATH
11289  ;;
11290
11291*)
11292  dynamic_linker=no
11293  ;;
11294esac
11295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11296$as_echo "$dynamic_linker" >&6; }
11297test no = "$dynamic_linker" && can_build_shared=no
11298
11299variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11300if test yes = "$GCC"; then
11301  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11302fi
11303
11304if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11305  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11306fi
11307
11308if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11309  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11310fi
11311
11312# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11313configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11314
11315# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11316func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11317
11318# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11319configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11418$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11419hardcode_action=
11420if test -n "$hardcode_libdir_flag_spec" ||
11421   test -n "$runpath_var" ||
11422   test yes = "$hardcode_automatic"; then
11423
11424  # We can hardcode non-existent directories.
11425  if test no != "$hardcode_direct" &&
11426     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11427     # have to relink, otherwise we might link with an installed library
11428     # when we should be linking with a yet-to-be-installed one
11429     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11430     test no != "$hardcode_minus_L"; then
11431    # Linking always hardcodes the temporary library directory.
11432    hardcode_action=relink
11433  else
11434    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11435    hardcode_action=immediate
11436  fi
11437else
11438  # We cannot hardcode anything, or else we can only hardcode existing
11439  # directories.
11440  hardcode_action=unsupported
11441fi
11442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11443$as_echo "$hardcode_action" >&6; }
11444
11445if test relink = "$hardcode_action" ||
11446   test yes = "$inherit_rpath"; then
11447  # Fast installation is not supported
11448  enable_fast_install=no
11449elif test yes = "$shlibpath_overrides_runpath" ||
11450     test no = "$enable_shared"; then
11451  # Fast installation is not necessary
11452  enable_fast_install=needless
11453fi
11454
11455
11456
11457
11458
11459
11460  if test yes != "$enable_dlopen"; then
11461  enable_dlopen=unknown
11462  enable_dlopen_self=unknown
11463  enable_dlopen_self_static=unknown
11464else
11465  lt_cv_dlopen=no
11466  lt_cv_dlopen_libs=
11467
11468  case $host_os in
11469  beos*)
11470    lt_cv_dlopen=load_add_on
11471    lt_cv_dlopen_libs=
11472    lt_cv_dlopen_self=yes
11473    ;;
11474
11475  mingw* | pw32* | cegcc*)
11476    lt_cv_dlopen=LoadLibrary
11477    lt_cv_dlopen_libs=
11478    ;;
11479
11480  cygwin*)
11481    lt_cv_dlopen=dlopen
11482    lt_cv_dlopen_libs=
11483    ;;
11484
11485  darwin*)
11486    # if libdl is installed we need to link against it
11487    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11488$as_echo_n "checking for dlopen in -ldl... " >&6; }
11489if ${ac_cv_lib_dl_dlopen+:} false; then :
11490  $as_echo_n "(cached) " >&6
11491else
11492  ac_check_lib_save_LIBS=$LIBS
11493LIBS="-ldl  $LIBS"
11494cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11495/* end confdefs.h.  */
11496
11497/* Override any GCC internal prototype to avoid an error.
11498   Use char because int might match the return type of a GCC
11499   builtin and then its argument prototype would still apply.  */
11500#ifdef __cplusplus
11501extern "C"
11502#endif
11503char dlopen ();
11504int
11505main ()
11506{
11507return dlopen ();
11508  ;
11509  return 0;
11510}
11511_ACEOF
11512if ac_fn_c_try_link "$LINENO"; then :
11513  ac_cv_lib_dl_dlopen=yes
11514else
11515  ac_cv_lib_dl_dlopen=no
11516fi
11517rm -f core conftest.err conftest.$ac_objext \
11518    conftest$ac_exeext conftest.$ac_ext
11519LIBS=$ac_check_lib_save_LIBS
11520fi
11521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11522$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11523if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11524  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11525else
11526
11527    lt_cv_dlopen=dyld
11528    lt_cv_dlopen_libs=
11529    lt_cv_dlopen_self=yes
11530
11531fi
11532
11533    ;;
11534
11535  tpf*)
11536    # Don't try to run any link tests for TPF.  We know it's impossible
11537    # because TPF is a cross-compiler, and we know how we open DSOs.
11538    lt_cv_dlopen=dlopen
11539    lt_cv_dlopen_libs=
11540    lt_cv_dlopen_self=no
11541    ;;
11542
11543  *)
11544    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11545if test "x$ac_cv_func_shl_load" = xyes; then :
11546  lt_cv_dlopen=shl_load
11547else
11548  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11549$as_echo_n "checking for shl_load in -ldld... " >&6; }
11550if ${ac_cv_lib_dld_shl_load+:} false; then :
11551  $as_echo_n "(cached) " >&6
11552else
11553  ac_check_lib_save_LIBS=$LIBS
11554LIBS="-ldld  $LIBS"
11555cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11556/* end confdefs.h.  */
11557
11558/* Override any GCC internal prototype to avoid an error.
11559   Use char because int might match the return type of a GCC
11560   builtin and then its argument prototype would still apply.  */
11561#ifdef __cplusplus
11562extern "C"
11563#endif
11564char shl_load ();
11565int
11566main ()
11567{
11568return shl_load ();
11569  ;
11570  return 0;
11571}
11572_ACEOF
11573if ac_fn_c_try_link "$LINENO"; then :
11574  ac_cv_lib_dld_shl_load=yes
11575else
11576  ac_cv_lib_dld_shl_load=no
11577fi
11578rm -f core conftest.err conftest.$ac_objext \
11579    conftest$ac_exeext conftest.$ac_ext
11580LIBS=$ac_check_lib_save_LIBS
11581fi
11582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11583$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11584if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11585  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11586else
11587  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11588if test "x$ac_cv_func_dlopen" = xyes; then :
11589  lt_cv_dlopen=dlopen
11590else
11591  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11592$as_echo_n "checking for dlopen in -ldl... " >&6; }
11593if ${ac_cv_lib_dl_dlopen+:} false; then :
11594  $as_echo_n "(cached) " >&6
11595else
11596  ac_check_lib_save_LIBS=$LIBS
11597LIBS="-ldl  $LIBS"
11598cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11599/* end confdefs.h.  */
11600
11601/* Override any GCC internal prototype to avoid an error.
11602   Use char because int might match the return type of a GCC
11603   builtin and then its argument prototype would still apply.  */
11604#ifdef __cplusplus
11605extern "C"
11606#endif
11607char dlopen ();
11608int
11609main ()
11610{
11611return dlopen ();
11612  ;
11613  return 0;
11614}
11615_ACEOF
11616if ac_fn_c_try_link "$LINENO"; then :
11617  ac_cv_lib_dl_dlopen=yes
11618else
11619  ac_cv_lib_dl_dlopen=no
11620fi
11621rm -f core conftest.err conftest.$ac_objext \
11622    conftest$ac_exeext conftest.$ac_ext
11623LIBS=$ac_check_lib_save_LIBS
11624fi
11625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11626$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11627if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11628  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11629else
11630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11631$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11632if ${ac_cv_lib_svld_dlopen+:} false; then :
11633  $as_echo_n "(cached) " >&6
11634else
11635  ac_check_lib_save_LIBS=$LIBS
11636LIBS="-lsvld  $LIBS"
11637cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11638/* end confdefs.h.  */
11639
11640/* Override any GCC internal prototype to avoid an error.
11641   Use char because int might match the return type of a GCC
11642   builtin and then its argument prototype would still apply.  */
11643#ifdef __cplusplus
11644extern "C"
11645#endif
11646char dlopen ();
11647int
11648main ()
11649{
11650return dlopen ();
11651  ;
11652  return 0;
11653}
11654_ACEOF
11655if ac_fn_c_try_link "$LINENO"; then :
11656  ac_cv_lib_svld_dlopen=yes
11657else
11658  ac_cv_lib_svld_dlopen=no
11659fi
11660rm -f core conftest.err conftest.$ac_objext \
11661    conftest$ac_exeext conftest.$ac_ext
11662LIBS=$ac_check_lib_save_LIBS
11663fi
11664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11665$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11666if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11667  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11668else
11669  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11670$as_echo_n "checking for dld_link in -ldld... " >&6; }
11671if ${ac_cv_lib_dld_dld_link+:} false; then :
11672  $as_echo_n "(cached) " >&6
11673else
11674  ac_check_lib_save_LIBS=$LIBS
11675LIBS="-ldld  $LIBS"
11676cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11677/* end confdefs.h.  */
11678
11679/* Override any GCC internal prototype to avoid an error.
11680   Use char because int might match the return type of a GCC
11681   builtin and then its argument prototype would still apply.  */
11682#ifdef __cplusplus
11683extern "C"
11684#endif
11685char dld_link ();
11686int
11687main ()
11688{
11689return dld_link ();
11690  ;
11691  return 0;
11692}
11693_ACEOF
11694if ac_fn_c_try_link "$LINENO"; then :
11695  ac_cv_lib_dld_dld_link=yes
11696else
11697  ac_cv_lib_dld_dld_link=no
11698fi
11699rm -f core conftest.err conftest.$ac_objext \
11700    conftest$ac_exeext conftest.$ac_ext
11701LIBS=$ac_check_lib_save_LIBS
11702fi
11703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11704$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11705if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11706  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11707fi
11708
11709
11710fi
11711
11712
11713fi
11714
11715
11716fi
11717
11718
11719fi
11720
11721
11722fi
11723
11724    ;;
11725  esac
11726
11727  if test no = "$lt_cv_dlopen"; then
11728    enable_dlopen=no
11729  else
11730    enable_dlopen=yes
11731  fi
11732
11733  case $lt_cv_dlopen in
11734  dlopen)
11735    save_CPPFLAGS=$CPPFLAGS
11736    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11737
11738    save_LDFLAGS=$LDFLAGS
11739    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11740
11741    save_LIBS=$LIBS
11742    LIBS="$lt_cv_dlopen_libs $LIBS"
11743
11744    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11745$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11746if ${lt_cv_dlopen_self+:} false; then :
11747  $as_echo_n "(cached) " >&6
11748else
11749  	  if test yes = "$cross_compiling"; then :
11750  lt_cv_dlopen_self=cross
11751else
11752  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11753  lt_status=$lt_dlunknown
11754  cat > conftest.$ac_ext <<_LT_EOF
11755#line $LINENO "configure"
11756#include "confdefs.h"
11757
11758#if HAVE_DLFCN_H
11759#include <dlfcn.h>
11760#endif
11761
11762#include <stdio.h>
11763
11764#ifdef RTLD_GLOBAL
11765#  define LT_DLGLOBAL		RTLD_GLOBAL
11766#else
11767#  ifdef DL_GLOBAL
11768#    define LT_DLGLOBAL		DL_GLOBAL
11769#  else
11770#    define LT_DLGLOBAL		0
11771#  endif
11772#endif
11773
11774/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11775   find out it does not work in some platform. */
11776#ifndef LT_DLLAZY_OR_NOW
11777#  ifdef RTLD_LAZY
11778#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11779#  else
11780#    ifdef DL_LAZY
11781#      define LT_DLLAZY_OR_NOW		DL_LAZY
11782#    else
11783#      ifdef RTLD_NOW
11784#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11785#      else
11786#        ifdef DL_NOW
11787#          define LT_DLLAZY_OR_NOW	DL_NOW
11788#        else
11789#          define LT_DLLAZY_OR_NOW	0
11790#        endif
11791#      endif
11792#    endif
11793#  endif
11794#endif
11795
11796/* When -fvisibility=hidden is used, assume the code has been annotated
11797   correspondingly for the symbols needed.  */
11798#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11799int fnord () __attribute__((visibility("default")));
11800#endif
11801
11802int fnord () { return 42; }
11803int main ()
11804{
11805  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11806  int status = $lt_dlunknown;
11807
11808  if (self)
11809    {
11810      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11811      else
11812        {
11813	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11814          else puts (dlerror ());
11815	}
11816      /* dlclose (self); */
11817    }
11818  else
11819    puts (dlerror ());
11820
11821  return status;
11822}
11823_LT_EOF
11824  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11825  (eval $ac_link) 2>&5
11826  ac_status=$?
11827  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11828  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11829    (./conftest; exit; ) >&5 2>/dev/null
11830    lt_status=$?
11831    case x$lt_status in
11832      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11833      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11834      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11835    esac
11836  else :
11837    # compilation failed
11838    lt_cv_dlopen_self=no
11839  fi
11840fi
11841rm -fr conftest*
11842
11843
11844fi
11845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11846$as_echo "$lt_cv_dlopen_self" >&6; }
11847
11848    if test yes = "$lt_cv_dlopen_self"; then
11849      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11850      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11851$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11852if ${lt_cv_dlopen_self_static+:} false; then :
11853  $as_echo_n "(cached) " >&6
11854else
11855  	  if test yes = "$cross_compiling"; then :
11856  lt_cv_dlopen_self_static=cross
11857else
11858  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11859  lt_status=$lt_dlunknown
11860  cat > conftest.$ac_ext <<_LT_EOF
11861#line $LINENO "configure"
11862#include "confdefs.h"
11863
11864#if HAVE_DLFCN_H
11865#include <dlfcn.h>
11866#endif
11867
11868#include <stdio.h>
11869
11870#ifdef RTLD_GLOBAL
11871#  define LT_DLGLOBAL		RTLD_GLOBAL
11872#else
11873#  ifdef DL_GLOBAL
11874#    define LT_DLGLOBAL		DL_GLOBAL
11875#  else
11876#    define LT_DLGLOBAL		0
11877#  endif
11878#endif
11879
11880/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11881   find out it does not work in some platform. */
11882#ifndef LT_DLLAZY_OR_NOW
11883#  ifdef RTLD_LAZY
11884#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11885#  else
11886#    ifdef DL_LAZY
11887#      define LT_DLLAZY_OR_NOW		DL_LAZY
11888#    else
11889#      ifdef RTLD_NOW
11890#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11891#      else
11892#        ifdef DL_NOW
11893#          define LT_DLLAZY_OR_NOW	DL_NOW
11894#        else
11895#          define LT_DLLAZY_OR_NOW	0
11896#        endif
11897#      endif
11898#    endif
11899#  endif
11900#endif
11901
11902/* When -fvisibility=hidden is used, assume the code has been annotated
11903   correspondingly for the symbols needed.  */
11904#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11905int fnord () __attribute__((visibility("default")));
11906#endif
11907
11908int fnord () { return 42; }
11909int main ()
11910{
11911  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11912  int status = $lt_dlunknown;
11913
11914  if (self)
11915    {
11916      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11917      else
11918        {
11919	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11920          else puts (dlerror ());
11921	}
11922      /* dlclose (self); */
11923    }
11924  else
11925    puts (dlerror ());
11926
11927  return status;
11928}
11929_LT_EOF
11930  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11931  (eval $ac_link) 2>&5
11932  ac_status=$?
11933  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11934  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11935    (./conftest; exit; ) >&5 2>/dev/null
11936    lt_status=$?
11937    case x$lt_status in
11938      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11939      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11940      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11941    esac
11942  else :
11943    # compilation failed
11944    lt_cv_dlopen_self_static=no
11945  fi
11946fi
11947rm -fr conftest*
11948
11949
11950fi
11951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11952$as_echo "$lt_cv_dlopen_self_static" >&6; }
11953    fi
11954
11955    CPPFLAGS=$save_CPPFLAGS
11956    LDFLAGS=$save_LDFLAGS
11957    LIBS=$save_LIBS
11958    ;;
11959  esac
11960
11961  case $lt_cv_dlopen_self in
11962  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11963  *) enable_dlopen_self=unknown ;;
11964  esac
11965
11966  case $lt_cv_dlopen_self_static in
11967  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11968  *) enable_dlopen_self_static=unknown ;;
11969  esac
11970fi
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988striplib=
11989old_striplib=
11990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11991$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11992if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11993  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11994  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11995  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11996$as_echo "yes" >&6; }
11997else
11998# FIXME - insert some real tests, host_os isn't really good enough
11999  case $host_os in
12000  darwin*)
12001    if test -n "$STRIP"; then
12002      striplib="$STRIP -x"
12003      old_striplib="$STRIP -S"
12004      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12005$as_echo "yes" >&6; }
12006    else
12007      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12008$as_echo "no" >&6; }
12009    fi
12010    ;;
12011  *)
12012    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12013$as_echo "no" >&6; }
12014    ;;
12015  esac
12016fi
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029  # Report what library types will actually be built
12030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12031$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12032  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12033$as_echo "$can_build_shared" >&6; }
12034
12035  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12036$as_echo_n "checking whether to build shared libraries... " >&6; }
12037  test no = "$can_build_shared" && enable_shared=no
12038
12039  # On AIX, shared libraries and static libraries use the same namespace, and
12040  # are all built from PIC.
12041  case $host_os in
12042  aix3*)
12043    test yes = "$enable_shared" && enable_static=no
12044    if test -n "$RANLIB"; then
12045      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12046      postinstall_cmds='$RANLIB $lib'
12047    fi
12048    ;;
12049
12050  aix[4-9]*)
12051    if test ia64 != "$host_cpu"; then
12052      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12053      yes,aix,yes) ;;			# shared object as lib.so file only
12054      yes,svr4,*) ;;			# shared object as lib.so archive member only
12055      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12056      esac
12057    fi
12058    ;;
12059  esac
12060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12061$as_echo "$enable_shared" >&6; }
12062
12063  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12064$as_echo_n "checking whether to build static libraries... " >&6; }
12065  # Make sure either enable_shared or enable_static is yes.
12066  test yes = "$enable_shared" || enable_static=yes
12067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12068$as_echo "$enable_static" >&6; }
12069
12070
12071
12072
12073fi
12074ac_ext=c
12075ac_cpp='$CPP $CPPFLAGS'
12076ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12077ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12078ac_compiler_gnu=$ac_cv_c_compiler_gnu
12079
12080CC=$lt_save_CC
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096        ac_config_commands="$ac_config_commands libtool"
12097
12098
12099
12100
12101# Only expand once:
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12112	if test -n "$ac_tool_prefix"; then
12113  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12114set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12116$as_echo_n "checking for $ac_word... " >&6; }
12117if ${ac_cv_path_PKG_CONFIG+:} false; then :
12118  $as_echo_n "(cached) " >&6
12119else
12120  case $PKG_CONFIG in
12121  [\\/]* | ?:[\\/]*)
12122  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12123  ;;
12124  *)
12125  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12126for as_dir in $PATH
12127do
12128  IFS=$as_save_IFS
12129  test -z "$as_dir" && as_dir=.
12130    for ac_exec_ext in '' $ac_executable_extensions; do
12131  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12132    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12133    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12134    break 2
12135  fi
12136done
12137  done
12138IFS=$as_save_IFS
12139
12140  ;;
12141esac
12142fi
12143PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12144if test -n "$PKG_CONFIG"; then
12145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12146$as_echo "$PKG_CONFIG" >&6; }
12147else
12148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12149$as_echo "no" >&6; }
12150fi
12151
12152
12153fi
12154if test -z "$ac_cv_path_PKG_CONFIG"; then
12155  ac_pt_PKG_CONFIG=$PKG_CONFIG
12156  # Extract the first word of "pkg-config", so it can be a program name with args.
12157set dummy pkg-config; ac_word=$2
12158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12159$as_echo_n "checking for $ac_word... " >&6; }
12160if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12161  $as_echo_n "(cached) " >&6
12162else
12163  case $ac_pt_PKG_CONFIG in
12164  [\\/]* | ?:[\\/]*)
12165  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12166  ;;
12167  *)
12168  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12169for as_dir in $PATH
12170do
12171  IFS=$as_save_IFS
12172  test -z "$as_dir" && as_dir=.
12173    for ac_exec_ext in '' $ac_executable_extensions; do
12174  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12175    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12176    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12177    break 2
12178  fi
12179done
12180  done
12181IFS=$as_save_IFS
12182
12183  ;;
12184esac
12185fi
12186ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12187if test -n "$ac_pt_PKG_CONFIG"; then
12188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12189$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12190else
12191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12192$as_echo "no" >&6; }
12193fi
12194
12195  if test "x$ac_pt_PKG_CONFIG" = x; then
12196    PKG_CONFIG=""
12197  else
12198    case $cross_compiling:$ac_tool_warned in
12199yes:)
12200{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12201$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12202ac_tool_warned=yes ;;
12203esac
12204    PKG_CONFIG=$ac_pt_PKG_CONFIG
12205  fi
12206else
12207  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12208fi
12209
12210fi
12211if test -n "$PKG_CONFIG"; then
12212	_pkg_min_version=0.21
12213	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12214$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12215	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12216		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12217$as_echo "yes" >&6; }
12218	else
12219		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12220$as_echo "no" >&6; }
12221		PKG_CONFIG=""
12222	fi
12223fi
12224
12225for ac_prog in flex lex
12226do
12227  # Extract the first word of "$ac_prog", so it can be a program name with args.
12228set dummy $ac_prog; ac_word=$2
12229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12230$as_echo_n "checking for $ac_word... " >&6; }
12231if ${ac_cv_prog_LEX+:} false; then :
12232  $as_echo_n "(cached) " >&6
12233else
12234  if test -n "$LEX"; then
12235  ac_cv_prog_LEX="$LEX" # Let the user override the test.
12236else
12237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12238for as_dir in $PATH
12239do
12240  IFS=$as_save_IFS
12241  test -z "$as_dir" && as_dir=.
12242    for ac_exec_ext in '' $ac_executable_extensions; do
12243  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12244    ac_cv_prog_LEX="$ac_prog"
12245    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12246    break 2
12247  fi
12248done
12249  done
12250IFS=$as_save_IFS
12251
12252fi
12253fi
12254LEX=$ac_cv_prog_LEX
12255if test -n "$LEX"; then
12256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
12257$as_echo "$LEX" >&6; }
12258else
12259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12260$as_echo "no" >&6; }
12261fi
12262
12263
12264  test -n "$LEX" && break
12265done
12266test -n "$LEX" || LEX=":"
12267
12268if test "x$LEX" != "x:"; then
12269  cat >conftest.l <<_ACEOF
12270%%
12271a { ECHO; }
12272b { REJECT; }
12273c { yymore (); }
12274d { yyless (1); }
12275e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
12276    yyless ((input () != 0)); }
12277f { unput (yytext[0]); }
12278. { BEGIN INITIAL; }
12279%%
12280#ifdef YYTEXT_POINTER
12281extern char *yytext;
12282#endif
12283int
12284main (void)
12285{
12286  return ! yylex () + ! yywrap ();
12287}
12288_ACEOF
12289{ { ac_try="$LEX conftest.l"
12290case "(($ac_try" in
12291  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12292  *) ac_try_echo=$ac_try;;
12293esac
12294eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12295$as_echo "$ac_try_echo"; } >&5
12296  (eval "$LEX conftest.l") 2>&5
12297  ac_status=$?
12298  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12299  test $ac_status = 0; }
12300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
12301$as_echo_n "checking lex output file root... " >&6; }
12302if ${ac_cv_prog_lex_root+:} false; then :
12303  $as_echo_n "(cached) " >&6
12304else
12305
12306if test -f lex.yy.c; then
12307  ac_cv_prog_lex_root=lex.yy
12308elif test -f lexyy.c; then
12309  ac_cv_prog_lex_root=lexyy
12310else
12311  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
12312fi
12313fi
12314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
12315$as_echo "$ac_cv_prog_lex_root" >&6; }
12316LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
12317
12318if test -z "${LEXLIB+set}"; then
12319  { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
12320$as_echo_n "checking lex library... " >&6; }
12321if ${ac_cv_lib_lex+:} false; then :
12322  $as_echo_n "(cached) " >&6
12323else
12324
12325    ac_save_LIBS=$LIBS
12326    ac_cv_lib_lex='none needed'
12327    for ac_lib in '' -lfl -ll; do
12328      LIBS="$ac_lib $ac_save_LIBS"
12329      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12330/* end confdefs.h.  */
12331`cat $LEX_OUTPUT_ROOT.c`
12332_ACEOF
12333if ac_fn_c_try_link "$LINENO"; then :
12334  ac_cv_lib_lex=$ac_lib
12335fi
12336rm -f core conftest.err conftest.$ac_objext \
12337    conftest$ac_exeext conftest.$ac_ext
12338      test "$ac_cv_lib_lex" != 'none needed' && break
12339    done
12340    LIBS=$ac_save_LIBS
12341
12342fi
12343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
12344$as_echo "$ac_cv_lib_lex" >&6; }
12345  test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
12346fi
12347
12348
12349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
12350$as_echo_n "checking whether yytext is a pointer... " >&6; }
12351if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
12352  $as_echo_n "(cached) " >&6
12353else
12354  # POSIX says lex can declare yytext either as a pointer or an array; the
12355# default is implementation-dependent.  Figure out which it is, since
12356# not all implementations provide the %pointer and %array declarations.
12357ac_cv_prog_lex_yytext_pointer=no
12358ac_save_LIBS=$LIBS
12359LIBS="$LEXLIB $ac_save_LIBS"
12360cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12361/* end confdefs.h.  */
12362
12363  #define YYTEXT_POINTER 1
12364`cat $LEX_OUTPUT_ROOT.c`
12365_ACEOF
12366if ac_fn_c_try_link "$LINENO"; then :
12367  ac_cv_prog_lex_yytext_pointer=yes
12368fi
12369rm -f core conftest.err conftest.$ac_objext \
12370    conftest$ac_exeext conftest.$ac_ext
12371LIBS=$ac_save_LIBS
12372
12373fi
12374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
12375$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
12376if test $ac_cv_prog_lex_yytext_pointer = yes; then
12377
12378$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
12379
12380fi
12381rm -f conftest.l $LEX_OUTPUT_ROOT.c
12382
12383fi
12384if test "$LEX" = :; then
12385	as_fn_error $? "flex not found but required" "$LINENO" 5
12386fi
12387
12388for ac_prog in 'bison -y' byacc yacc
12389do
12390  # Extract the first word of "$ac_prog", so it can be a program name with args.
12391set dummy $ac_prog; ac_word=$2
12392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12393$as_echo_n "checking for $ac_word... " >&6; }
12394if ${ac_cv_prog_YACC+:} false; then :
12395  $as_echo_n "(cached) " >&6
12396else
12397  if test -n "$YACC"; then
12398  ac_cv_prog_YACC="$YACC" # Let the user override the test.
12399else
12400as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12401for as_dir in $PATH
12402do
12403  IFS=$as_save_IFS
12404  test -z "$as_dir" && as_dir=.
12405    for ac_exec_ext in '' $ac_executable_extensions; do
12406  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12407    ac_cv_prog_YACC="$ac_prog"
12408    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12409    break 2
12410  fi
12411done
12412  done
12413IFS=$as_save_IFS
12414
12415fi
12416fi
12417YACC=$ac_cv_prog_YACC
12418if test -n "$YACC"; then
12419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
12420$as_echo "$YACC" >&6; }
12421else
12422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12423$as_echo "no" >&6; }
12424fi
12425
12426
12427  test -n "$YACC" && break
12428done
12429test -n "$YACC" || YACC=":"
12430
12431if test "$YACC" = :; then
12432	as_fn_error $? "bison not found but required" "$LINENO" 5
12433fi
12434
12435# Extract the first word of "valac", so it can be a program name with args.
12436set dummy valac; ac_word=$2
12437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12438$as_echo_n "checking for $ac_word... " >&6; }
12439if ${ac_cv_path_VALAC+:} false; then :
12440  $as_echo_n "(cached) " >&6
12441else
12442  case $VALAC in
12443  [\\/]* | ?:[\\/]*)
12444  ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
12445  ;;
12446  *)
12447  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12448for as_dir in $PATH
12449do
12450  IFS=$as_save_IFS
12451  test -z "$as_dir" && as_dir=.
12452    for ac_exec_ext in '' $ac_executable_extensions; do
12453  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12454    ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
12455    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12456    break 2
12457  fi
12458done
12459  done
12460IFS=$as_save_IFS
12461
12462  test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac"
12463  ;;
12464esac
12465fi
12466VALAC=$ac_cv_path_VALAC
12467if test -n "$VALAC"; then
12468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
12469$as_echo "$VALAC" >&6; }
12470else
12471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12472$as_echo "no" >&6; }
12473fi
12474
12475
12476
12477
12478VALAC_BOOTSTRAP_REQUIRED=0.39.5.8
12479
12480if test "$VALAC" != valac; then :
12481  FOUND_VALAC_VERION=`$VALAC --version | sed 's/Vala  *//'`
12482	as_arg_v1="$VALAC_BOOTSTRAP_REQUIRED"
12483as_arg_v2="$FOUND_VALAC_VERION"
12484awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12485case $? in #(
12486  1) :
12487    enable_boostrap=yes ;; #(
12488  0) :
12489    enable_boostrap=yes ;; #(
12490  2) :
12491    enable_boostrap=no ;; #(
12492  *) :
12493     ;;
12494esac
12495fi
12496
12497VALAFLAGS="$VALAFLAGS --disable-version-header"
12498if test x$enable_boostrap = xyes; then
12499	VALAFLAGS="$VALAFLAGS --hide-internal --abi-stability"
12500fi
12501
12502# Check whether --enable-debug was given.
12503if test "${enable_debug+set}" = set; then :
12504  enableval=$enable_debug; enable_debug=$enableval
12505else
12506  enable_debug=no
12507fi
12508
12509if test "$enable_debug" = "yes"; then
12510	VALAFLAGS="$VALAFLAGS -g"
12511	CFLAGS="$CFLAGS -g -O0"
12512fi
12513
12514
12515
12516
12517
12518
12519# Check whether --enable-unversioned was given.
12520if test "${enable_unversioned+set}" = set; then :
12521  enableval=$enable_unversioned; enable_unversioned=$enableval
12522else
12523  enable_unversioned=yes
12524fi
12525
12526 if test x$enable_unversioned = xyes; then
12527  ENABLE_UNVERSIONED_TRUE=
12528  ENABLE_UNVERSIONED_FALSE='#'
12529else
12530  ENABLE_UNVERSIONED_TRUE='#'
12531  ENABLE_UNVERSIONED_FALSE=
12532fi
12533
12534
12535# Check whether --enable-coverage was given.
12536if test "${enable_coverage+set}" = set; then :
12537  enableval=$enable_coverage; enable_coverage=$enableval
12538else
12539  enable_coverage=no
12540fi
12541
12542 if test x$enable_coverage = xyes; then
12543  ENABLE_COVERAGE_TRUE=
12544  ENABLE_COVERAGE_FALSE='#'
12545else
12546  ENABLE_COVERAGE_TRUE='#'
12547  ENABLE_COVERAGE_FALSE=
12548fi
12549
12550
12551if test "$enable_coverage" = "yes"; then
12552	COVERAGE_VALAFLAGS="-g"
12553	COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
12554	COVERAGE_LIBS="-lgcov"
12555else
12556	COVERAGE_VALAFLAGS=
12557	COVERAGE_CFLAGS=
12558	COVERAGE_LIBS=
12559fi
12560
12561
12562
12563
12564
12565# Check supported compiler flags used in testrunner.sh
12566TEST_EXTRA_CFLAGS="-Werror=init-self \
12567-Werror=implicit \
12568-Werror=pointer-arith \
12569-Werror=redundant-decls \
12570-Werror=return-local-addr \
12571-Werror=return-stack-address \
12572-Werror=return-type \
12573-Werror=sequence-point \
12574-Werror=uninitialized \
12575-Werror=int-to-pointer-cast \
12576-Werror=pointer-to-int-cast \
12577-Werror=compare-distinct-pointer-types \
12578-Wformat=2 \
12579-Werror=format-security \
12580-Werror=format-nonliteral \
12581-Werror=int-conversion \
12582-Werror=duplicated-branches \
12583-Werror=duplicated-cond \
12584-Werror=declaration-after-statement \
12585-Werror=maybe-uninitialized \
12586-Werror=missing-prototypes \
12587-Werror=strict-prototypes \
12588-Werror=array-bounds \
12589-Werror=enum-conversion"
12590
12591TEST_CFLAGS=
12592for flag in $TEST_EXTRA_CFLAGS; do
12593	as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
12594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12595$as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12596if eval \${$as_CACHEVAR+:} false; then :
12597  $as_echo_n "(cached) " >&6
12598else
12599
12600  ax_check_save_flags=$CFLAGS
12601  CFLAGS="$CFLAGS  $flag"
12602  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12603/* end confdefs.h.  */
12604
12605int
12606main ()
12607{
12608
12609  ;
12610  return 0;
12611}
12612_ACEOF
12613if ac_fn_c_try_compile "$LINENO"; then :
12614  eval "$as_CACHEVAR=yes"
12615else
12616  eval "$as_CACHEVAR=no"
12617fi
12618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12619  CFLAGS=$ax_check_save_flags
12620fi
12621eval ac_res=\$$as_CACHEVAR
12622	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12623$as_echo "$ac_res" >&6; }
12624if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
12625  TEST_CFLAGS="$TEST_CFLAGS $flag"
12626else
12627  :
12628fi
12629
12630done
12631
12632
12633
12634
12635GLIB_REQUIRED=2.48.0
12636LIBGVC_REQUIRED=2.16
12637
12638
12639pkg_failed=no
12640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" >&5
12641$as_echo_n "checking for glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED... " >&6; }
12642
12643if test -n "$GLIB_CFLAGS"; then
12644    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12645 elif test -n "$PKG_CONFIG"; then
12646    if test -n "$PKG_CONFIG" && \
12647    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED\""; } >&5
12648  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED") 2>&5
12649  ac_status=$?
12650  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12651  test $ac_status = 0; }; then
12652  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
12653		      test "x$?" != "x0" && pkg_failed=yes
12654else
12655  pkg_failed=yes
12656fi
12657 else
12658    pkg_failed=untried
12659fi
12660if test -n "$GLIB_LIBS"; then
12661    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12662 elif test -n "$PKG_CONFIG"; then
12663    if test -n "$PKG_CONFIG" && \
12664    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED\""; } >&5
12665  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED") 2>&5
12666  ac_status=$?
12667  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12668  test $ac_status = 0; }; then
12669  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
12670		      test "x$?" != "x0" && pkg_failed=yes
12671else
12672  pkg_failed=yes
12673fi
12674 else
12675    pkg_failed=untried
12676fi
12677
12678
12679
12680if test $pkg_failed = yes; then
12681        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12682$as_echo "no" >&6; }
12683
12684if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12685        _pkg_short_errors_supported=yes
12686else
12687        _pkg_short_errors_supported=no
12688fi
12689        if test $_pkg_short_errors_supported = yes; then
12690	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>&1`
12691        else
12692	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>&1`
12693        fi
12694	# Put the nasty error message in config.log where it belongs
12695	echo "$GLIB_PKG_ERRORS" >&5
12696
12697	as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED) were not met:
12698
12699$GLIB_PKG_ERRORS
12700
12701Consider adjusting the PKG_CONFIG_PATH environment variable if you
12702installed software in a non-standard prefix.
12703
12704Alternatively, you may set the environment variables GLIB_CFLAGS
12705and GLIB_LIBS to avoid the need to call pkg-config.
12706See the pkg-config man page for more details." "$LINENO" 5
12707elif test $pkg_failed = untried; then
12708        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12709$as_echo "no" >&6; }
12710	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12711$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12712as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12713is in your PATH or set the PKG_CONFIG environment variable to the full
12714path to pkg-config.
12715
12716Alternatively, you may set the environment variables GLIB_CFLAGS
12717and GLIB_LIBS to avoid the need to call pkg-config.
12718See the pkg-config man page for more details.
12719
12720To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12721See \`config.log' for more details" "$LINENO" 5; }
12722else
12723	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12724	GLIB_LIBS=$pkg_cv_GLIB_LIBS
12725        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12726$as_echo "yes" >&6; }
12727
12728fi
12729
12730
12731
12732
12733
12734pkg_failed=no
12735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmodule-2.0 >= $GLIB_REQUIRED" >&5
12736$as_echo_n "checking for gmodule-2.0 >= $GLIB_REQUIRED... " >&6; }
12737
12738if test -n "$GMODULE_CFLAGS"; then
12739    pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
12740 elif test -n "$PKG_CONFIG"; then
12741    if test -n "$PKG_CONFIG" && \
12742    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= \$GLIB_REQUIRED\""; } >&5
12743  ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= $GLIB_REQUIRED") 2>&5
12744  ac_status=$?
12745  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12746  test $ac_status = 0; }; then
12747  pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
12748		      test "x$?" != "x0" && pkg_failed=yes
12749else
12750  pkg_failed=yes
12751fi
12752 else
12753    pkg_failed=untried
12754fi
12755if test -n "$GMODULE_LIBS"; then
12756    pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
12757 elif test -n "$PKG_CONFIG"; then
12758    if test -n "$PKG_CONFIG" && \
12759    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= \$GLIB_REQUIRED\""; } >&5
12760  ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= $GLIB_REQUIRED") 2>&5
12761  ac_status=$?
12762  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12763  test $ac_status = 0; }; then
12764  pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
12765		      test "x$?" != "x0" && pkg_failed=yes
12766else
12767  pkg_failed=yes
12768fi
12769 else
12770    pkg_failed=untried
12771fi
12772
12773
12774
12775if test $pkg_failed = yes; then
12776        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12777$as_echo "no" >&6; }
12778
12779if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12780        _pkg_short_errors_supported=yes
12781else
12782        _pkg_short_errors_supported=no
12783fi
12784        if test $_pkg_short_errors_supported = yes; then
12785	        GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0 >= $GLIB_REQUIRED" 2>&1`
12786        else
12787	        GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0 >= $GLIB_REQUIRED" 2>&1`
12788        fi
12789	# Put the nasty error message in config.log where it belongs
12790	echo "$GMODULE_PKG_ERRORS" >&5
12791
12792	as_fn_error $? "Package requirements (gmodule-2.0 >= $GLIB_REQUIRED) were not met:
12793
12794$GMODULE_PKG_ERRORS
12795
12796Consider adjusting the PKG_CONFIG_PATH environment variable if you
12797installed software in a non-standard prefix.
12798
12799Alternatively, you may set the environment variables GMODULE_CFLAGS
12800and GMODULE_LIBS to avoid the need to call pkg-config.
12801See the pkg-config man page for more details." "$LINENO" 5
12802elif test $pkg_failed = untried; then
12803        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12804$as_echo "no" >&6; }
12805	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12806$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12807as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12808is in your PATH or set the PKG_CONFIG environment variable to the full
12809path to pkg-config.
12810
12811Alternatively, you may set the environment variables GMODULE_CFLAGS
12812and GMODULE_LIBS to avoid the need to call pkg-config.
12813See the pkg-config man page for more details.
12814
12815To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12816See \`config.log' for more details" "$LINENO" 5; }
12817else
12818	GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
12819	GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
12820        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12821$as_echo "yes" >&6; }
12822
12823fi
12824
12825
12826
12827
12828
12829# Check whether --with-cgraph was given.
12830if test "${with_cgraph+set}" = set; then :
12831  withval=$with_cgraph;
12832else
12833  with_cgraph=check
12834fi
12835
12836# Check whether --enable-valadoc was given.
12837if test "${enable_valadoc+set}" = set; then :
12838  enableval=$enable_valadoc; enable_valadoc=$enableval
12839else
12840  enable_valadoc=yes
12841fi
12842
12843if test x$enable_valadoc = xyes; then
12844
12845pkg_failed=no
12846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgvc >= $LIBGVC_REQUIRED" >&5
12847$as_echo_n "checking for libgvc >= $LIBGVC_REQUIRED... " >&6; }
12848
12849if test -n "$LIBGVC_CFLAGS"; then
12850    pkg_cv_LIBGVC_CFLAGS="$LIBGVC_CFLAGS"
12851 elif test -n "$PKG_CONFIG"; then
12852    if test -n "$PKG_CONFIG" && \
12853    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgvc >= \$LIBGVC_REQUIRED\""; } >&5
12854  ($PKG_CONFIG --exists --print-errors "libgvc >= $LIBGVC_REQUIRED") 2>&5
12855  ac_status=$?
12856  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12857  test $ac_status = 0; }; then
12858  pkg_cv_LIBGVC_CFLAGS=`$PKG_CONFIG --cflags "libgvc >= $LIBGVC_REQUIRED" 2>/dev/null`
12859		      test "x$?" != "x0" && pkg_failed=yes
12860else
12861  pkg_failed=yes
12862fi
12863 else
12864    pkg_failed=untried
12865fi
12866if test -n "$LIBGVC_LIBS"; then
12867    pkg_cv_LIBGVC_LIBS="$LIBGVC_LIBS"
12868 elif test -n "$PKG_CONFIG"; then
12869    if test -n "$PKG_CONFIG" && \
12870    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgvc >= \$LIBGVC_REQUIRED\""; } >&5
12871  ($PKG_CONFIG --exists --print-errors "libgvc >= $LIBGVC_REQUIRED") 2>&5
12872  ac_status=$?
12873  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12874  test $ac_status = 0; }; then
12875  pkg_cv_LIBGVC_LIBS=`$PKG_CONFIG --libs "libgvc >= $LIBGVC_REQUIRED" 2>/dev/null`
12876		      test "x$?" != "x0" && pkg_failed=yes
12877else
12878  pkg_failed=yes
12879fi
12880 else
12881    pkg_failed=untried
12882fi
12883
12884
12885
12886if test $pkg_failed = yes; then
12887        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12888$as_echo "no" >&6; }
12889
12890if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12891        _pkg_short_errors_supported=yes
12892else
12893        _pkg_short_errors_supported=no
12894fi
12895        if test $_pkg_short_errors_supported = yes; then
12896	        LIBGVC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgvc >= $LIBGVC_REQUIRED" 2>&1`
12897        else
12898	        LIBGVC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgvc >= $LIBGVC_REQUIRED" 2>&1`
12899        fi
12900	# Put the nasty error message in config.log where it belongs
12901	echo "$LIBGVC_PKG_ERRORS" >&5
12902
12903	as_fn_error $? "Package requirements (libgvc >= $LIBGVC_REQUIRED) were not met:
12904
12905$LIBGVC_PKG_ERRORS
12906
12907Consider adjusting the PKG_CONFIG_PATH environment variable if you
12908installed software in a non-standard prefix.
12909
12910Alternatively, you may set the environment variables LIBGVC_CFLAGS
12911and LIBGVC_LIBS to avoid the need to call pkg-config.
12912See the pkg-config man page for more details." "$LINENO" 5
12913elif test $pkg_failed = untried; then
12914        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12915$as_echo "no" >&6; }
12916	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12917$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12918as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12919is in your PATH or set the PKG_CONFIG environment variable to the full
12920path to pkg-config.
12921
12922Alternatively, you may set the environment variables LIBGVC_CFLAGS
12923and LIBGVC_LIBS to avoid the need to call pkg-config.
12924See the pkg-config man page for more details.
12925
12926To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12927See \`config.log' for more details" "$LINENO" 5; }
12928else
12929	LIBGVC_CFLAGS=$pkg_cv_LIBGVC_CFLAGS
12930	LIBGVC_LIBS=$pkg_cv_LIBGVC_LIBS
12931        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12932$as_echo "yes" >&6; }
12933
12934fi
12935	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CGRAPH" >&5
12936$as_echo_n "checking for CGRAPH... " >&6; }
12937	cgraph_tmp_LIBADD="$LIBADD"
12938	cgraph_tmp_CFLAGS="$CFLAGS"
12939	LIBADD="$LIBADD $LIBGVC_LIBS"
12940	CFLAGS="$CFLAGS $LIBGVC_CFLAGS"
12941	if test "$cross_compiling" = yes; then :
12942
12943			if test x$with_cgraph = xcheck; then
12944				as_fn_error $? "--with-cgraph=yes/no is required for cross-compilation" "$LINENO" 5
12945			elif test x$with_cgraph = xyes; then
12946				{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12947$as_echo "yes" >&6; }
12948				VALAFLAGS="$VALAFLAGS -D WITH_CGRAPH"
12949				have_cgraph=yes
12950			else
12951				{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12952$as_echo "no" >&6; }
12953				have_cgraph=no
12954			fi
12955
12956
12957else
12958  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12959/* end confdefs.h.  */
12960
12961			#include <gvc.h>
12962			int main(void) {
12963				#ifdef WITH_CGRAPH
12964					return 0;
12965				#else
12966					return -1;
12967				#endif
12968			}
12969
12970_ACEOF
12971if ac_fn_c_try_run "$LINENO"; then :
12972
12973			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12974$as_echo "yes" >&6; }
12975			VALAFLAGS="$VALAFLAGS -D WITH_CGRAPH"
12976			have_cgraph=yes
12977
12978else
12979
12980			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12981$as_echo "no" >&6; }
12982			have_cgraph=no
12983
12984fi
12985rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12986  conftest.$ac_objext conftest.beam conftest.$ac_ext
12987fi
12988
12989	LIBADD="$cgraph_tmp_LIBADD"
12990	CFLAGS="$cgraph_tmp_CFLAGS"
12991fi
12992 if test "$have_cgraph" = "yes"; then
12993  HAVE_CGRAPH_TRUE=
12994  HAVE_CGRAPH_FALSE='#'
12995else
12996  HAVE_CGRAPH_TRUE='#'
12997  HAVE_CGRAPH_FALSE=
12998fi
12999
13000 if test x$enable_valadoc = xyes; then
13001  ENABLE_VALADOC_TRUE=
13002  ENABLE_VALADOC_FALSE='#'
13003else
13004  ENABLE_VALADOC_TRUE='#'
13005  ENABLE_VALADOC_FALSE=
13006fi
13007
13008
13009# Extract the first word of "g-ir-compiler", so it can be a program name with args.
13010set dummy g-ir-compiler; ac_word=$2
13011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13012$as_echo_n "checking for $ac_word... " >&6; }
13013if ${ac_cv_path_G_IR_COMPILER+:} false; then :
13014  $as_echo_n "(cached) " >&6
13015else
13016  case $G_IR_COMPILER in
13017  [\\/]* | ?:[\\/]*)
13018  ac_cv_path_G_IR_COMPILER="$G_IR_COMPILER" # Let the user override the test with a path.
13019  ;;
13020  *)
13021  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13022for as_dir in $PATH
13023do
13024  IFS=$as_save_IFS
13025  test -z "$as_dir" && as_dir=.
13026    for ac_exec_ext in '' $ac_executable_extensions; do
13027  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13028    ac_cv_path_G_IR_COMPILER="$as_dir/$ac_word$ac_exec_ext"
13029    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13030    break 2
13031  fi
13032done
13033  done
13034IFS=$as_save_IFS
13035
13036  test -z "$ac_cv_path_G_IR_COMPILER" && ac_cv_path_G_IR_COMPILER=":"
13037  ;;
13038esac
13039fi
13040G_IR_COMPILER=$ac_cv_path_G_IR_COMPILER
13041if test -n "$G_IR_COMPILER"; then
13042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $G_IR_COMPILER" >&5
13043$as_echo "$G_IR_COMPILER" >&6; }
13044else
13045  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13046$as_echo "no" >&6; }
13047fi
13048
13049
13050 if test "$G_IR_COMPILER" != :; then
13051  HAVE_G_IR_COMPILER_TRUE=
13052  HAVE_G_IR_COMPILER_FALSE='#'
13053else
13054  HAVE_G_IR_COMPILER_TRUE='#'
13055  HAVE_G_IR_COMPILER_FALSE=
13056fi
13057
13058
13059# Extract the first word of "xsltproc", so it can be a program name with args.
13060set dummy xsltproc; ac_word=$2
13061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13062$as_echo_n "checking for $ac_word... " >&6; }
13063if ${ac_cv_path_XSLTPROC+:} false; then :
13064  $as_echo_n "(cached) " >&6
13065else
13066  case $XSLTPROC in
13067  [\\/]* | ?:[\\/]*)
13068  ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
13069  ;;
13070  *)
13071  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13072for as_dir in $PATH
13073do
13074  IFS=$as_save_IFS
13075  test -z "$as_dir" && as_dir=.
13076    for ac_exec_ext in '' $ac_executable_extensions; do
13077  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13078    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
13079    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13080    break 2
13081  fi
13082done
13083  done
13084IFS=$as_save_IFS
13085
13086  test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC=":"
13087  ;;
13088esac
13089fi
13090XSLTPROC=$ac_cv_path_XSLTPROC
13091if test -n "$XSLTPROC"; then
13092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
13093$as_echo "$XSLTPROC" >&6; }
13094else
13095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13096$as_echo "no" >&6; }
13097fi
13098
13099
13100 if test "$XSLTPROC" != :; then
13101  HAVE_XSLTPROC_TRUE=
13102  HAVE_XSLTPROC_FALSE='#'
13103else
13104  HAVE_XSLTPROC_TRUE='#'
13105  HAVE_XSLTPROC_FALSE=
13106fi
13107
13108
13109# Extract the first word of "weasyprint", so it can be a program name with args.
13110set dummy weasyprint; ac_word=$2
13111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13112$as_echo_n "checking for $ac_word... " >&6; }
13113if ${ac_cv_prog_WEASYPRINT+:} false; then :
13114  $as_echo_n "(cached) " >&6
13115else
13116  if test -n "$WEASYPRINT"; then
13117  ac_cv_prog_WEASYPRINT="$WEASYPRINT" # Let the user override the test.
13118else
13119as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13120for as_dir in $PATH
13121do
13122  IFS=$as_save_IFS
13123  test -z "$as_dir" && as_dir=.
13124    for ac_exec_ext in '' $ac_executable_extensions; do
13125  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13126    ac_cv_prog_WEASYPRINT="weasyprint"
13127    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13128    break 2
13129  fi
13130done
13131  done
13132IFS=$as_save_IFS
13133
13134fi
13135fi
13136WEASYPRINT=$ac_cv_prog_WEASYPRINT
13137if test -n "$WEASYPRINT"; then
13138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WEASYPRINT" >&5
13139$as_echo "$WEASYPRINT" >&6; }
13140else
13141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13142$as_echo "no" >&6; }
13143fi
13144
13145
13146 if test x$WEASYPRINT = xweasyprint; then
13147  HAVE_WEASYPRINT_TRUE=
13148  HAVE_WEASYPRINT_FALSE='#'
13149else
13150  HAVE_WEASYPRINT_TRUE='#'
13151  HAVE_WEASYPRINT_FALSE=
13152fi
13153
13154
13155# Extract the first word of "help2man", so it can be a program name with args.
13156set dummy help2man; ac_word=$2
13157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13158$as_echo_n "checking for $ac_word... " >&6; }
13159if ${ac_cv_prog_HELP2MAN+:} false; then :
13160  $as_echo_n "(cached) " >&6
13161else
13162  if test -n "$HELP2MAN"; then
13163  ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
13164else
13165as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13166for as_dir in $PATH
13167do
13168  IFS=$as_save_IFS
13169  test -z "$as_dir" && as_dir=.
13170    for ac_exec_ext in '' $ac_executable_extensions; do
13171  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13172    ac_cv_prog_HELP2MAN="help2man"
13173    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13174    break 2
13175  fi
13176done
13177  done
13178IFS=$as_save_IFS
13179
13180fi
13181fi
13182HELP2MAN=$ac_cv_prog_HELP2MAN
13183if test -n "$HELP2MAN"; then
13184  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
13185$as_echo "$HELP2MAN" >&6; }
13186else
13187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13188$as_echo "no" >&6; }
13189fi
13190
13191
13192 if test x$HELP2MAN = xhelp2man; then
13193  HAVE_HELP2MAN_TRUE=
13194  HAVE_HELP2MAN_FALSE='#'
13195else
13196  HAVE_HELP2MAN_TRUE='#'
13197  HAVE_HELP2MAN_FALSE=
13198fi
13199
13200
13201# Check whether --enable-silent-rules was given.
13202if test "${enable_silent_rules+set}" = set; then :
13203  enableval=$enable_silent_rules;
13204fi
13205
13206case $enable_silent_rules in # (((
13207  yes) AM_DEFAULT_VERBOSITY=0;;
13208   no) AM_DEFAULT_VERBOSITY=1;;
13209    *) AM_DEFAULT_VERBOSITY=0;;
13210esac
13211am_make=${MAKE-make}
13212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13213$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
13214if ${am_cv_make_support_nested_variables+:} false; then :
13215  $as_echo_n "(cached) " >&6
13216else
13217  if $as_echo 'TRUE=$(BAR$(V))
13218BAR0=false
13219BAR1=true
13220V=1
13221am__doit:
13222	@$(TRUE)
13223.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
13224  am_cv_make_support_nested_variables=yes
13225else
13226  am_cv_make_support_nested_variables=no
13227fi
13228fi
13229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13230$as_echo "$am_cv_make_support_nested_variables" >&6; }
13231if test $am_cv_make_support_nested_variables = yes; then
13232    AM_V='$(V)'
13233  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
13234else
13235  AM_V=$AM_DEFAULT_VERBOSITY
13236  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
13237fi
13238AM_BACKSLASH='\'
13239
13240
13241ac_config_files="$ac_config_files Makefile libvala.pc gee/Makefile ccode/Makefile vala/Makefile codegen/Makefile compiler/Makefile vapi/Makefile tests/Makefile tests/fastvapi/Makefile tests/girwriter/Makefile tests/gtktemplate/Makefile doc/Makefile doc/manual/Makefile doc/manual/version.xml gobject-introspection/Makefile vapigen/vapigen.pc vapigen/Makefile vapigen/vala-gen-introspect/Makefile vapigen/vala-gen-introspect/vala-gen-introspect libvaladoc/valadoc.pc libvaladoc/valadoc.deps libvaladoc/Makefile valadoc/Makefile valadoc/doclets/Makefile valadoc/doclets/html/Makefile valadoc/doclets/devhelp/Makefile valadoc/doclets/gtkdoc/Makefile valadoc/icons/Makefile valadoc/tests/Makefile"
13242
13243
13244cat >confcache <<\_ACEOF
13245# This file is a shell script that caches the results of configure
13246# tests run on this system so they can be shared between configure
13247# scripts and configure runs, see configure's option --config-cache.
13248# It is not useful on other systems.  If it contains results you don't
13249# want to keep, you may remove or edit it.
13250#
13251# config.status only pays attention to the cache file if you give it
13252# the --recheck option to rerun configure.
13253#
13254# `ac_cv_env_foo' variables (set or unset) will be overridden when
13255# loading this file, other *unset* `ac_cv_foo' will be assigned the
13256# following values.
13257
13258_ACEOF
13259
13260# The following way of writing the cache mishandles newlines in values,
13261# but we know of no workaround that is simple, portable, and efficient.
13262# So, we kill variables containing newlines.
13263# Ultrix sh set writes to stderr and can't be redirected directly,
13264# and sets the high bit in the cache file unless we assign to the vars.
13265(
13266  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13267    eval ac_val=\$$ac_var
13268    case $ac_val in #(
13269    *${as_nl}*)
13270      case $ac_var in #(
13271      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13272$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13273      esac
13274      case $ac_var in #(
13275      _ | IFS | as_nl) ;; #(
13276      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13277      *) { eval $ac_var=; unset $ac_var;} ;;
13278      esac ;;
13279    esac
13280  done
13281
13282  (set) 2>&1 |
13283    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13284    *${as_nl}ac_space=\ *)
13285      # `set' does not quote correctly, so add quotes: double-quote
13286      # substitution turns \\\\ into \\, and sed turns \\ into \.
13287      sed -n \
13288	"s/'/'\\\\''/g;
13289	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13290      ;; #(
13291    *)
13292      # `set' quotes correctly as required by POSIX, so do not add quotes.
13293      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13294      ;;
13295    esac |
13296    sort
13297) |
13298  sed '
13299     /^ac_cv_env_/b end
13300     t clear
13301     :clear
13302     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13303     t end
13304     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13305     :end' >>confcache
13306if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13307  if test -w "$cache_file"; then
13308    if test "x$cache_file" != "x/dev/null"; then
13309      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13310$as_echo "$as_me: updating cache $cache_file" >&6;}
13311      if test ! -f "$cache_file" || test -h "$cache_file"; then
13312	cat confcache >"$cache_file"
13313      else
13314        case $cache_file in #(
13315        */* | ?:*)
13316	  mv -f confcache "$cache_file"$$ &&
13317	  mv -f "$cache_file"$$ "$cache_file" ;; #(
13318        *)
13319	  mv -f confcache "$cache_file" ;;
13320	esac
13321      fi
13322    fi
13323  else
13324    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13325$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13326  fi
13327fi
13328rm -f confcache
13329
13330test "x$prefix" = xNONE && prefix=$ac_default_prefix
13331# Let make expand exec_prefix.
13332test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13333
13334DEFS=-DHAVE_CONFIG_H
13335
13336ac_libobjs=
13337ac_ltlibobjs=
13338U=
13339for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13340  # 1. Remove the extension, and $U if already installed.
13341  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13342  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13343  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13344  #    will be set to the directory where LIBOBJS objects are built.
13345  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13346  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13347done
13348LIBOBJS=$ac_libobjs
13349
13350LTLIBOBJS=$ac_ltlibobjs
13351
13352
13353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13354$as_echo_n "checking that generated files are newer than configure... " >&6; }
13355   if test -n "$am_sleep_pid"; then
13356     # Hide warnings about reused PIDs.
13357     wait $am_sleep_pid 2>/dev/null
13358   fi
13359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13360$as_echo "done" >&6; }
13361 if test -n "$EXEEXT"; then
13362  am__EXEEXT_TRUE=
13363  am__EXEEXT_FALSE='#'
13364else
13365  am__EXEEXT_TRUE='#'
13366  am__EXEEXT_FALSE=
13367fi
13368
13369if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13370  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13371Usually this means the macro was only invoked conditionally." "$LINENO" 5
13372fi
13373if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13374  as_fn_error $? "conditional \"AMDEP\" was never defined.
13375Usually this means the macro was only invoked conditionally." "$LINENO" 5
13376fi
13377if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13378  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13379Usually this means the macro was only invoked conditionally." "$LINENO" 5
13380fi
13381if test -z "${HAVE_LINUX_TRUE}" && test -z "${HAVE_LINUX_FALSE}"; then
13382  as_fn_error $? "conditional \"HAVE_LINUX\" was never defined.
13383Usually this means the macro was only invoked conditionally." "$LINENO" 5
13384fi
13385if test -z "${ENABLE_UNVERSIONED_TRUE}" && test -z "${ENABLE_UNVERSIONED_FALSE}"; then
13386  as_fn_error $? "conditional \"ENABLE_UNVERSIONED\" was never defined.
13387Usually this means the macro was only invoked conditionally." "$LINENO" 5
13388fi
13389if test -z "${ENABLE_COVERAGE_TRUE}" && test -z "${ENABLE_COVERAGE_FALSE}"; then
13390  as_fn_error $? "conditional \"ENABLE_COVERAGE\" was never defined.
13391Usually this means the macro was only invoked conditionally." "$LINENO" 5
13392fi
13393if test -z "${HAVE_CGRAPH_TRUE}" && test -z "${HAVE_CGRAPH_FALSE}"; then
13394  as_fn_error $? "conditional \"HAVE_CGRAPH\" was never defined.
13395Usually this means the macro was only invoked conditionally." "$LINENO" 5
13396fi
13397if test -z "${ENABLE_VALADOC_TRUE}" && test -z "${ENABLE_VALADOC_FALSE}"; then
13398  as_fn_error $? "conditional \"ENABLE_VALADOC\" was never defined.
13399Usually this means the macro was only invoked conditionally." "$LINENO" 5
13400fi
13401if test -z "${HAVE_G_IR_COMPILER_TRUE}" && test -z "${HAVE_G_IR_COMPILER_FALSE}"; then
13402  as_fn_error $? "conditional \"HAVE_G_IR_COMPILER\" was never defined.
13403Usually this means the macro was only invoked conditionally." "$LINENO" 5
13404fi
13405if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
13406  as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
13407Usually this means the macro was only invoked conditionally." "$LINENO" 5
13408fi
13409if test -z "${HAVE_WEASYPRINT_TRUE}" && test -z "${HAVE_WEASYPRINT_FALSE}"; then
13410  as_fn_error $? "conditional \"HAVE_WEASYPRINT\" was never defined.
13411Usually this means the macro was only invoked conditionally." "$LINENO" 5
13412fi
13413if test -z "${HAVE_HELP2MAN_TRUE}" && test -z "${HAVE_HELP2MAN_FALSE}"; then
13414  as_fn_error $? "conditional \"HAVE_HELP2MAN\" was never defined.
13415Usually this means the macro was only invoked conditionally." "$LINENO" 5
13416fi
13417
13418: "${CONFIG_STATUS=./config.status}"
13419ac_write_fail=0
13420ac_clean_files_save=$ac_clean_files
13421ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13422{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13423$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13424as_write_fail=0
13425cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13426#! $SHELL
13427# Generated by $as_me.
13428# Run this file to recreate the current configuration.
13429# Compiler output produced by configure, useful for debugging
13430# configure, is in config.log if it exists.
13431
13432debug=false
13433ac_cs_recheck=false
13434ac_cs_silent=false
13435
13436SHELL=\${CONFIG_SHELL-$SHELL}
13437export SHELL
13438_ASEOF
13439cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13440## -------------------- ##
13441## M4sh Initialization. ##
13442## -------------------- ##
13443
13444# Be more Bourne compatible
13445DUALCASE=1; export DUALCASE # for MKS sh
13446if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13447  emulate sh
13448  NULLCMD=:
13449  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13450  # is contrary to our usage.  Disable this feature.
13451  alias -g '${1+"$@"}'='"$@"'
13452  setopt NO_GLOB_SUBST
13453else
13454  case `(set -o) 2>/dev/null` in #(
13455  *posix*) :
13456    set -o posix ;; #(
13457  *) :
13458     ;;
13459esac
13460fi
13461
13462
13463as_nl='
13464'
13465export as_nl
13466# Printing a long string crashes Solaris 7 /usr/bin/printf.
13467as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13468as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13469as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13470# Prefer a ksh shell builtin over an external printf program on Solaris,
13471# but without wasting forks for bash or zsh.
13472if test -z "$BASH_VERSION$ZSH_VERSION" \
13473    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13474  as_echo='print -r --'
13475  as_echo_n='print -rn --'
13476elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13477  as_echo='printf %s\n'
13478  as_echo_n='printf %s'
13479else
13480  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13481    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13482    as_echo_n='/usr/ucb/echo -n'
13483  else
13484    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13485    as_echo_n_body='eval
13486      arg=$1;
13487      case $arg in #(
13488      *"$as_nl"*)
13489	expr "X$arg" : "X\\(.*\\)$as_nl";
13490	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13491      esac;
13492      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13493    '
13494    export as_echo_n_body
13495    as_echo_n='sh -c $as_echo_n_body as_echo'
13496  fi
13497  export as_echo_body
13498  as_echo='sh -c $as_echo_body as_echo'
13499fi
13500
13501# The user is always right.
13502if test "${PATH_SEPARATOR+set}" != set; then
13503  PATH_SEPARATOR=:
13504  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13505    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13506      PATH_SEPARATOR=';'
13507  }
13508fi
13509
13510
13511# IFS
13512# We need space, tab and new line, in precisely that order.  Quoting is
13513# there to prevent editors from complaining about space-tab.
13514# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13515# splitting by setting IFS to empty value.)
13516IFS=" ""	$as_nl"
13517
13518# Find who we are.  Look in the path if we contain no directory separator.
13519as_myself=
13520case $0 in #((
13521  *[\\/]* ) as_myself=$0 ;;
13522  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13523for as_dir in $PATH
13524do
13525  IFS=$as_save_IFS
13526  test -z "$as_dir" && as_dir=.
13527    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13528  done
13529IFS=$as_save_IFS
13530
13531     ;;
13532esac
13533# We did not find ourselves, most probably we were run as `sh COMMAND'
13534# in which case we are not to be found in the path.
13535if test "x$as_myself" = x; then
13536  as_myself=$0
13537fi
13538if test ! -f "$as_myself"; then
13539  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13540  exit 1
13541fi
13542
13543# Unset variables that we do not need and which cause bugs (e.g. in
13544# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13545# suppresses any "Segmentation fault" message there.  '((' could
13546# trigger a bug in pdksh 5.2.14.
13547for as_var in BASH_ENV ENV MAIL MAILPATH
13548do eval test x\${$as_var+set} = xset \
13549  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13550done
13551PS1='$ '
13552PS2='> '
13553PS4='+ '
13554
13555# NLS nuisances.
13556LC_ALL=C
13557export LC_ALL
13558LANGUAGE=C
13559export LANGUAGE
13560
13561# CDPATH.
13562(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13563
13564
13565# as_fn_error STATUS ERROR [LINENO LOG_FD]
13566# ----------------------------------------
13567# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13568# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13569# script with STATUS, using 1 if that was 0.
13570as_fn_error ()
13571{
13572  as_status=$1; test $as_status -eq 0 && as_status=1
13573  if test "$4"; then
13574    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13575    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13576  fi
13577  $as_echo "$as_me: error: $2" >&2
13578  as_fn_exit $as_status
13579} # as_fn_error
13580
13581
13582# as_fn_set_status STATUS
13583# -----------------------
13584# Set $? to STATUS, without forking.
13585as_fn_set_status ()
13586{
13587  return $1
13588} # as_fn_set_status
13589
13590# as_fn_exit STATUS
13591# -----------------
13592# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13593as_fn_exit ()
13594{
13595  set +e
13596  as_fn_set_status $1
13597  exit $1
13598} # as_fn_exit
13599
13600# as_fn_unset VAR
13601# ---------------
13602# Portably unset VAR.
13603as_fn_unset ()
13604{
13605  { eval $1=; unset $1;}
13606}
13607as_unset=as_fn_unset
13608# as_fn_append VAR VALUE
13609# ----------------------
13610# Append the text in VALUE to the end of the definition contained in VAR. Take
13611# advantage of any shell optimizations that allow amortized linear growth over
13612# repeated appends, instead of the typical quadratic growth present in naive
13613# implementations.
13614if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13615  eval 'as_fn_append ()
13616  {
13617    eval $1+=\$2
13618  }'
13619else
13620  as_fn_append ()
13621  {
13622    eval $1=\$$1\$2
13623  }
13624fi # as_fn_append
13625
13626# as_fn_arith ARG...
13627# ------------------
13628# Perform arithmetic evaluation on the ARGs, and store the result in the
13629# global $as_val. Take advantage of shells that can avoid forks. The arguments
13630# must be portable across $(()) and expr.
13631if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13632  eval 'as_fn_arith ()
13633  {
13634    as_val=$(( $* ))
13635  }'
13636else
13637  as_fn_arith ()
13638  {
13639    as_val=`expr "$@" || test $? -eq 1`
13640  }
13641fi # as_fn_arith
13642
13643
13644if expr a : '\(a\)' >/dev/null 2>&1 &&
13645   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13646  as_expr=expr
13647else
13648  as_expr=false
13649fi
13650
13651if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13652  as_basename=basename
13653else
13654  as_basename=false
13655fi
13656
13657if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13658  as_dirname=dirname
13659else
13660  as_dirname=false
13661fi
13662
13663as_me=`$as_basename -- "$0" ||
13664$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13665	 X"$0" : 'X\(//\)$' \| \
13666	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13667$as_echo X/"$0" |
13668    sed '/^.*\/\([^/][^/]*\)\/*$/{
13669	    s//\1/
13670	    q
13671	  }
13672	  /^X\/\(\/\/\)$/{
13673	    s//\1/
13674	    q
13675	  }
13676	  /^X\/\(\/\).*/{
13677	    s//\1/
13678	    q
13679	  }
13680	  s/.*/./; q'`
13681
13682# Avoid depending upon Character Ranges.
13683as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13684as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13685as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13686as_cr_digits='0123456789'
13687as_cr_alnum=$as_cr_Letters$as_cr_digits
13688
13689ECHO_C= ECHO_N= ECHO_T=
13690case `echo -n x` in #(((((
13691-n*)
13692  case `echo 'xy\c'` in
13693  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13694  xy)  ECHO_C='\c';;
13695  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13696       ECHO_T='	';;
13697  esac;;
13698*)
13699  ECHO_N='-n';;
13700esac
13701
13702rm -f conf$$ conf$$.exe conf$$.file
13703if test -d conf$$.dir; then
13704  rm -f conf$$.dir/conf$$.file
13705else
13706  rm -f conf$$.dir
13707  mkdir conf$$.dir 2>/dev/null
13708fi
13709if (echo >conf$$.file) 2>/dev/null; then
13710  if ln -s conf$$.file conf$$ 2>/dev/null; then
13711    as_ln_s='ln -s'
13712    # ... but there are two gotchas:
13713    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13714    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13715    # In both cases, we have to default to `cp -pR'.
13716    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13717      as_ln_s='cp -pR'
13718  elif ln conf$$.file conf$$ 2>/dev/null; then
13719    as_ln_s=ln
13720  else
13721    as_ln_s='cp -pR'
13722  fi
13723else
13724  as_ln_s='cp -pR'
13725fi
13726rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13727rmdir conf$$.dir 2>/dev/null
13728
13729
13730# as_fn_mkdir_p
13731# -------------
13732# Create "$as_dir" as a directory, including parents if necessary.
13733as_fn_mkdir_p ()
13734{
13735
13736  case $as_dir in #(
13737  -*) as_dir=./$as_dir;;
13738  esac
13739  test -d "$as_dir" || eval $as_mkdir_p || {
13740    as_dirs=
13741    while :; do
13742      case $as_dir in #(
13743      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13744      *) as_qdir=$as_dir;;
13745      esac
13746      as_dirs="'$as_qdir' $as_dirs"
13747      as_dir=`$as_dirname -- "$as_dir" ||
13748$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13749	 X"$as_dir" : 'X\(//\)[^/]' \| \
13750	 X"$as_dir" : 'X\(//\)$' \| \
13751	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13752$as_echo X"$as_dir" |
13753    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13754	    s//\1/
13755	    q
13756	  }
13757	  /^X\(\/\/\)[^/].*/{
13758	    s//\1/
13759	    q
13760	  }
13761	  /^X\(\/\/\)$/{
13762	    s//\1/
13763	    q
13764	  }
13765	  /^X\(\/\).*/{
13766	    s//\1/
13767	    q
13768	  }
13769	  s/.*/./; q'`
13770      test -d "$as_dir" && break
13771    done
13772    test -z "$as_dirs" || eval "mkdir $as_dirs"
13773  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13774
13775
13776} # as_fn_mkdir_p
13777if mkdir -p . 2>/dev/null; then
13778  as_mkdir_p='mkdir -p "$as_dir"'
13779else
13780  test -d ./-p && rmdir ./-p
13781  as_mkdir_p=false
13782fi
13783
13784
13785# as_fn_executable_p FILE
13786# -----------------------
13787# Test if FILE is an executable regular file.
13788as_fn_executable_p ()
13789{
13790  test -f "$1" && test -x "$1"
13791} # as_fn_executable_p
13792as_test_x='test -x'
13793as_executable_p=as_fn_executable_p
13794
13795# Sed expression to map a string onto a valid CPP name.
13796as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13797
13798# Sed expression to map a string onto a valid variable name.
13799as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13800
13801
13802exec 6>&1
13803## ----------------------------------- ##
13804## Main body of $CONFIG_STATUS script. ##
13805## ----------------------------------- ##
13806_ASEOF
13807test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13808
13809cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13810# Save the log message, to keep $0 and so on meaningful, and to
13811# report actual input values of CONFIG_FILES etc. instead of their
13812# values after options handling.
13813ac_log="
13814This file was extended by vala $as_me 0.48.18, which was
13815generated by GNU Autoconf 2.69.  Invocation command line was
13816
13817  CONFIG_FILES    = $CONFIG_FILES
13818  CONFIG_HEADERS  = $CONFIG_HEADERS
13819  CONFIG_LINKS    = $CONFIG_LINKS
13820  CONFIG_COMMANDS = $CONFIG_COMMANDS
13821  $ $0 $@
13822
13823on `(hostname || uname -n) 2>/dev/null | sed 1q`
13824"
13825
13826_ACEOF
13827
13828case $ac_config_files in *"
13829"*) set x $ac_config_files; shift; ac_config_files=$*;;
13830esac
13831
13832case $ac_config_headers in *"
13833"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13834esac
13835
13836
13837cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13838# Files that config.status was made for.
13839config_files="$ac_config_files"
13840config_headers="$ac_config_headers"
13841config_commands="$ac_config_commands"
13842
13843_ACEOF
13844
13845cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13846ac_cs_usage="\
13847\`$as_me' instantiates files and other configuration actions
13848from templates according to the current configuration.  Unless the files
13849and actions are specified as TAGs, all are instantiated by default.
13850
13851Usage: $0 [OPTION]... [TAG]...
13852
13853  -h, --help       print this help, then exit
13854  -V, --version    print version number and configuration settings, then exit
13855      --config     print configuration, then exit
13856  -q, --quiet, --silent
13857                   do not print progress messages
13858  -d, --debug      don't remove temporary files
13859      --recheck    update $as_me by reconfiguring in the same conditions
13860      --file=FILE[:TEMPLATE]
13861                   instantiate the configuration file FILE
13862      --header=FILE[:TEMPLATE]
13863                   instantiate the configuration header FILE
13864
13865Configuration files:
13866$config_files
13867
13868Configuration headers:
13869$config_headers
13870
13871Configuration commands:
13872$config_commands
13873
13874Report bugs to <https://gitlab.gnome.org/GNOME/vala/issues>.
13875vala home page: <https://wiki.gnome.org/Projects/Vala>."
13876
13877_ACEOF
13878cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13879ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13880ac_cs_version="\\
13881vala config.status 0.48.18
13882configured by $0, generated by GNU Autoconf 2.69,
13883  with options \\"\$ac_cs_config\\"
13884
13885Copyright (C) 2012 Free Software Foundation, Inc.
13886This config.status script is free software; the Free Software Foundation
13887gives unlimited permission to copy, distribute and modify it."
13888
13889ac_pwd='$ac_pwd'
13890srcdir='$srcdir'
13891INSTALL='$INSTALL'
13892MKDIR_P='$MKDIR_P'
13893AWK='$AWK'
13894test -n "\$AWK" || AWK=awk
13895_ACEOF
13896
13897cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13898# The default lists apply if the user does not specify any file.
13899ac_need_defaults=:
13900while test $# != 0
13901do
13902  case $1 in
13903  --*=?*)
13904    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13905    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13906    ac_shift=:
13907    ;;
13908  --*=)
13909    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13910    ac_optarg=
13911    ac_shift=:
13912    ;;
13913  *)
13914    ac_option=$1
13915    ac_optarg=$2
13916    ac_shift=shift
13917    ;;
13918  esac
13919
13920  case $ac_option in
13921  # Handling of the options.
13922  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13923    ac_cs_recheck=: ;;
13924  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13925    $as_echo "$ac_cs_version"; exit ;;
13926  --config | --confi | --conf | --con | --co | --c )
13927    $as_echo "$ac_cs_config"; exit ;;
13928  --debug | --debu | --deb | --de | --d | -d )
13929    debug=: ;;
13930  --file | --fil | --fi | --f )
13931    $ac_shift
13932    case $ac_optarg in
13933    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13934    '') as_fn_error $? "missing file argument" ;;
13935    esac
13936    as_fn_append CONFIG_FILES " '$ac_optarg'"
13937    ac_need_defaults=false;;
13938  --header | --heade | --head | --hea )
13939    $ac_shift
13940    case $ac_optarg in
13941    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13942    esac
13943    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13944    ac_need_defaults=false;;
13945  --he | --h)
13946    # Conflict between --help and --header
13947    as_fn_error $? "ambiguous option: \`$1'
13948Try \`$0 --help' for more information.";;
13949  --help | --hel | -h )
13950    $as_echo "$ac_cs_usage"; exit ;;
13951  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13952  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13953    ac_cs_silent=: ;;
13954
13955  # This is an error.
13956  -*) as_fn_error $? "unrecognized option: \`$1'
13957Try \`$0 --help' for more information." ;;
13958
13959  *) as_fn_append ac_config_targets " $1"
13960     ac_need_defaults=false ;;
13961
13962  esac
13963  shift
13964done
13965
13966ac_configure_extra_args=
13967
13968if $ac_cs_silent; then
13969  exec 6>/dev/null
13970  ac_configure_extra_args="$ac_configure_extra_args --silent"
13971fi
13972
13973_ACEOF
13974cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13975if \$ac_cs_recheck; then
13976  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13977  shift
13978  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13979  CONFIG_SHELL='$SHELL'
13980  export CONFIG_SHELL
13981  exec "\$@"
13982fi
13983
13984_ACEOF
13985cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13986exec 5>>config.log
13987{
13988  echo
13989  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13990## Running $as_me. ##
13991_ASBOX
13992  $as_echo "$ac_log"
13993} >&5
13994
13995_ACEOF
13996cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13997#
13998# INIT-COMMANDS
13999#
14000AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
14001
14002
14003# The HP-UX ksh and POSIX shell print the target directory to stdout
14004# if CDPATH is set.
14005(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14006
14007sed_quote_subst='$sed_quote_subst'
14008double_quote_subst='$double_quote_subst'
14009delay_variable_subst='$delay_variable_subst'
14010macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14011macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14012enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14013enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14014pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14015enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14016shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14017SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14018ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14019PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14020host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14021host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14022host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14023build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14024build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14025build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14026SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14027Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14028GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14029EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14030FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14031LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14032NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14033LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14034max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14035ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14036exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14037lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14038lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14039lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14040lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14041lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14042reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14043reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14044OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14045deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14046file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14047file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14048want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14049DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14050sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14051AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14052AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14053archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14054STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14055RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14056old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14057old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14058old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14059lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14060CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14061CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14062compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14063GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14064lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14065lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14066lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14067lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14068lt_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"`'
14069lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14070nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14071lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14072lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14073objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14074MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14075lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14076lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14077lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14078lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14079lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14080need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14081MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14082DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14083NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14084LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14085OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14086OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14087libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14088shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14089extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14090archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14091enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14092export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14093whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14094compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14095old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14096old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14097archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14098archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14099module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14100module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14101with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14102allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14103no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14104hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14105hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14106hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14107hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14108hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14109hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14110hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14111inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14112link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14113always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14114export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14115exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14116include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14117prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14118postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14119file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14120variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14121need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14122need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14123version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14124runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14125shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14126shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14127libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14128library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14129soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14130install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14131postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14132postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14133finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14134finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14135hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14136sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14137configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14138configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14139hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14140enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14141enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14142enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14143old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14144striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14145
14146LTCC='$LTCC'
14147LTCFLAGS='$LTCFLAGS'
14148compiler='$compiler_DEFAULT'
14149
14150# A function that is used when there is no print builtin or printf.
14151func_fallback_echo ()
14152{
14153  eval 'cat <<_LTECHO_EOF
14154\$1
14155_LTECHO_EOF'
14156}
14157
14158# Quote evaled strings.
14159for var in SHELL \
14160ECHO \
14161PATH_SEPARATOR \
14162SED \
14163GREP \
14164EGREP \
14165FGREP \
14166LD \
14167NM \
14168LN_S \
14169lt_SP2NL \
14170lt_NL2SP \
14171reload_flag \
14172OBJDUMP \
14173deplibs_check_method \
14174file_magic_cmd \
14175file_magic_glob \
14176want_nocaseglob \
14177DLLTOOL \
14178sharedlib_from_linklib_cmd \
14179AR \
14180AR_FLAGS \
14181archiver_list_spec \
14182STRIP \
14183RANLIB \
14184CC \
14185CFLAGS \
14186compiler \
14187lt_cv_sys_global_symbol_pipe \
14188lt_cv_sys_global_symbol_to_cdecl \
14189lt_cv_sys_global_symbol_to_import \
14190lt_cv_sys_global_symbol_to_c_name_address \
14191lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14192lt_cv_nm_interface \
14193nm_file_list_spec \
14194lt_cv_truncate_bin \
14195lt_prog_compiler_no_builtin_flag \
14196lt_prog_compiler_pic \
14197lt_prog_compiler_wl \
14198lt_prog_compiler_static \
14199lt_cv_prog_compiler_c_o \
14200need_locks \
14201MANIFEST_TOOL \
14202DSYMUTIL \
14203NMEDIT \
14204LIPO \
14205OTOOL \
14206OTOOL64 \
14207shrext_cmds \
14208export_dynamic_flag_spec \
14209whole_archive_flag_spec \
14210compiler_needs_object \
14211with_gnu_ld \
14212allow_undefined_flag \
14213no_undefined_flag \
14214hardcode_libdir_flag_spec \
14215hardcode_libdir_separator \
14216exclude_expsyms \
14217include_expsyms \
14218file_list_spec \
14219variables_saved_for_relink \
14220libname_spec \
14221library_names_spec \
14222soname_spec \
14223install_override_mode \
14224finish_eval \
14225old_striplib \
14226striplib; do
14227    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14228    *[\\\\\\\`\\"\\\$]*)
14229      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14230      ;;
14231    *)
14232      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14233      ;;
14234    esac
14235done
14236
14237# Double-quote double-evaled strings.
14238for var in reload_cmds \
14239old_postinstall_cmds \
14240old_postuninstall_cmds \
14241old_archive_cmds \
14242extract_expsyms_cmds \
14243old_archive_from_new_cmds \
14244old_archive_from_expsyms_cmds \
14245archive_cmds \
14246archive_expsym_cmds \
14247module_cmds \
14248module_expsym_cmds \
14249export_symbols_cmds \
14250prelink_cmds \
14251postlink_cmds \
14252postinstall_cmds \
14253postuninstall_cmds \
14254finish_cmds \
14255sys_lib_search_path_spec \
14256configure_time_dlsearch_path \
14257configure_time_lt_sys_library_path; do
14258    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14259    *[\\\\\\\`\\"\\\$]*)
14260      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14261      ;;
14262    *)
14263      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14264      ;;
14265    esac
14266done
14267
14268ac_aux_dir='$ac_aux_dir'
14269
14270# See if we are running on zsh, and set the options that allow our
14271# commands through without removal of \ escapes INIT.
14272if test -n "\${ZSH_VERSION+set}"; then
14273   setopt NO_GLOB_SUBST
14274fi
14275
14276
14277    PACKAGE='$PACKAGE'
14278    VERSION='$VERSION'
14279    RM='$RM'
14280    ofile='$ofile'
14281
14282
14283
14284
14285_ACEOF
14286
14287cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14288
14289# Handling of arguments.
14290for ac_config_target in $ac_config_targets
14291do
14292  case $ac_config_target in
14293    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14294    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14295    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14296    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14297    "libvala.pc") CONFIG_FILES="$CONFIG_FILES libvala.pc" ;;
14298    "gee/Makefile") CONFIG_FILES="$CONFIG_FILES gee/Makefile" ;;
14299    "ccode/Makefile") CONFIG_FILES="$CONFIG_FILES ccode/Makefile" ;;
14300    "vala/Makefile") CONFIG_FILES="$CONFIG_FILES vala/Makefile" ;;
14301    "codegen/Makefile") CONFIG_FILES="$CONFIG_FILES codegen/Makefile" ;;
14302    "compiler/Makefile") CONFIG_FILES="$CONFIG_FILES compiler/Makefile" ;;
14303    "vapi/Makefile") CONFIG_FILES="$CONFIG_FILES vapi/Makefile" ;;
14304    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14305    "tests/fastvapi/Makefile") CONFIG_FILES="$CONFIG_FILES tests/fastvapi/Makefile" ;;
14306    "tests/girwriter/Makefile") CONFIG_FILES="$CONFIG_FILES tests/girwriter/Makefile" ;;
14307    "tests/gtktemplate/Makefile") CONFIG_FILES="$CONFIG_FILES tests/gtktemplate/Makefile" ;;
14308    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14309    "doc/manual/Makefile") CONFIG_FILES="$CONFIG_FILES doc/manual/Makefile" ;;
14310    "doc/manual/version.xml") CONFIG_FILES="$CONFIG_FILES doc/manual/version.xml" ;;
14311    "gobject-introspection/Makefile") CONFIG_FILES="$CONFIG_FILES gobject-introspection/Makefile" ;;
14312    "vapigen/vapigen.pc") CONFIG_FILES="$CONFIG_FILES vapigen/vapigen.pc" ;;
14313    "vapigen/Makefile") CONFIG_FILES="$CONFIG_FILES vapigen/Makefile" ;;
14314    "vapigen/vala-gen-introspect/Makefile") CONFIG_FILES="$CONFIG_FILES vapigen/vala-gen-introspect/Makefile" ;;
14315    "vapigen/vala-gen-introspect/vala-gen-introspect") CONFIG_FILES="$CONFIG_FILES vapigen/vala-gen-introspect/vala-gen-introspect" ;;
14316    "libvaladoc/valadoc.pc") CONFIG_FILES="$CONFIG_FILES libvaladoc/valadoc.pc" ;;
14317    "libvaladoc/valadoc.deps") CONFIG_FILES="$CONFIG_FILES libvaladoc/valadoc.deps" ;;
14318    "libvaladoc/Makefile") CONFIG_FILES="$CONFIG_FILES libvaladoc/Makefile" ;;
14319    "valadoc/Makefile") CONFIG_FILES="$CONFIG_FILES valadoc/Makefile" ;;
14320    "valadoc/doclets/Makefile") CONFIG_FILES="$CONFIG_FILES valadoc/doclets/Makefile" ;;
14321    "valadoc/doclets/html/Makefile") CONFIG_FILES="$CONFIG_FILES valadoc/doclets/html/Makefile" ;;
14322    "valadoc/doclets/devhelp/Makefile") CONFIG_FILES="$CONFIG_FILES valadoc/doclets/devhelp/Makefile" ;;
14323    "valadoc/doclets/gtkdoc/Makefile") CONFIG_FILES="$CONFIG_FILES valadoc/doclets/gtkdoc/Makefile" ;;
14324    "valadoc/icons/Makefile") CONFIG_FILES="$CONFIG_FILES valadoc/icons/Makefile" ;;
14325    "valadoc/tests/Makefile") CONFIG_FILES="$CONFIG_FILES valadoc/tests/Makefile" ;;
14326
14327  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14328  esac
14329done
14330
14331
14332# If the user did not use the arguments to specify the items to instantiate,
14333# then the envvar interface is used.  Set only those that are not.
14334# We use the long form for the default assignment because of an extremely
14335# bizarre bug on SunOS 4.1.3.
14336if $ac_need_defaults; then
14337  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14338  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14339  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14340fi
14341
14342# Have a temporary directory for convenience.  Make it in the build tree
14343# simply because there is no reason against having it here, and in addition,
14344# creating and moving files from /tmp can sometimes cause problems.
14345# Hook for its removal unless debugging.
14346# Note that there is a small window in which the directory will not be cleaned:
14347# after its creation but before its name has been assigned to `$tmp'.
14348$debug ||
14349{
14350  tmp= ac_tmp=
14351  trap 'exit_status=$?
14352  : "${ac_tmp:=$tmp}"
14353  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14354' 0
14355  trap 'as_fn_exit 1' 1 2 13 15
14356}
14357# Create a (secure) tmp directory for tmp files.
14358
14359{
14360  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14361  test -d "$tmp"
14362}  ||
14363{
14364  tmp=./conf$$-$RANDOM
14365  (umask 077 && mkdir "$tmp")
14366} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14367ac_tmp=$tmp
14368
14369# Set up the scripts for CONFIG_FILES section.
14370# No need to generate them if there are no CONFIG_FILES.
14371# This happens for instance with `./config.status config.h'.
14372if test -n "$CONFIG_FILES"; then
14373
14374
14375ac_cr=`echo X | tr X '\015'`
14376# On cygwin, bash can eat \r inside `` if the user requested igncr.
14377# But we know of no other shell where ac_cr would be empty at this
14378# point, so we can use a bashism as a fallback.
14379if test "x$ac_cr" = x; then
14380  eval ac_cr=\$\'\\r\'
14381fi
14382ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14383if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14384  ac_cs_awk_cr='\\r'
14385else
14386  ac_cs_awk_cr=$ac_cr
14387fi
14388
14389echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14390_ACEOF
14391
14392
14393{
14394  echo "cat >conf$$subs.awk <<_ACEOF" &&
14395  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14396  echo "_ACEOF"
14397} >conf$$subs.sh ||
14398  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14399ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14400ac_delim='%!_!# '
14401for ac_last_try in false false false false false :; do
14402  . ./conf$$subs.sh ||
14403    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14404
14405  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14406  if test $ac_delim_n = $ac_delim_num; then
14407    break
14408  elif $ac_last_try; then
14409    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14410  else
14411    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14412  fi
14413done
14414rm -f conf$$subs.sh
14415
14416cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14417cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14418_ACEOF
14419sed -n '
14420h
14421s/^/S["/; s/!.*/"]=/
14422p
14423g
14424s/^[^!]*!//
14425:repl
14426t repl
14427s/'"$ac_delim"'$//
14428t delim
14429:nl
14430h
14431s/\(.\{148\}\)..*/\1/
14432t more1
14433s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14434p
14435n
14436b repl
14437:more1
14438s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14439p
14440g
14441s/.\{148\}//
14442t nl
14443:delim
14444h
14445s/\(.\{148\}\)..*/\1/
14446t more2
14447s/["\\]/\\&/g; s/^/"/; s/$/"/
14448p
14449b
14450:more2
14451s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14452p
14453g
14454s/.\{148\}//
14455t delim
14456' <conf$$subs.awk | sed '
14457/^[^""]/{
14458  N
14459  s/\n//
14460}
14461' >>$CONFIG_STATUS || ac_write_fail=1
14462rm -f conf$$subs.awk
14463cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14464_ACAWK
14465cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14466  for (key in S) S_is_set[key] = 1
14467  FS = ""
14468
14469}
14470{
14471  line = $ 0
14472  nfields = split(line, field, "@")
14473  substed = 0
14474  len = length(field[1])
14475  for (i = 2; i < nfields; i++) {
14476    key = field[i]
14477    keylen = length(key)
14478    if (S_is_set[key]) {
14479      value = S[key]
14480      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14481      len += length(value) + length(field[++i])
14482      substed = 1
14483    } else
14484      len += 1 + keylen
14485  }
14486
14487  print line
14488}
14489
14490_ACAWK
14491_ACEOF
14492cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14493if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14494  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14495else
14496  cat
14497fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14498  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14499_ACEOF
14500
14501# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14502# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14503# trailing colons and then remove the whole line if VPATH becomes empty
14504# (actually we leave an empty line to preserve line numbers).
14505if test "x$srcdir" = x.; then
14506  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
14507h
14508s///
14509s/^/:/
14510s/[	 ]*$/:/
14511s/:\$(srcdir):/:/g
14512s/:\${srcdir}:/:/g
14513s/:@srcdir@:/:/g
14514s/^:*//
14515s/:*$//
14516x
14517s/\(=[	 ]*\).*/\1/
14518G
14519s/\n//
14520s/^[^=]*=[	 ]*$//
14521}'
14522fi
14523
14524cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14525fi # test -n "$CONFIG_FILES"
14526
14527# Set up the scripts for CONFIG_HEADERS section.
14528# No need to generate them if there are no CONFIG_HEADERS.
14529# This happens for instance with `./config.status Makefile'.
14530if test -n "$CONFIG_HEADERS"; then
14531cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14532BEGIN {
14533_ACEOF
14534
14535# Transform confdefs.h into an awk script `defines.awk', embedded as
14536# here-document in config.status, that substitutes the proper values into
14537# config.h.in to produce config.h.
14538
14539# Create a delimiter string that does not exist in confdefs.h, to ease
14540# handling of long lines.
14541ac_delim='%!_!# '
14542for ac_last_try in false false :; do
14543  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14544  if test -z "$ac_tt"; then
14545    break
14546  elif $ac_last_try; then
14547    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14548  else
14549    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14550  fi
14551done
14552
14553# For the awk script, D is an array of macro values keyed by name,
14554# likewise P contains macro parameters if any.  Preserve backslash
14555# newline sequences.
14556
14557ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14558sed -n '
14559s/.\{148\}/&'"$ac_delim"'/g
14560t rset
14561:rset
14562s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
14563t def
14564d
14565:def
14566s/\\$//
14567t bsnl
14568s/["\\]/\\&/g
14569s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14570D["\1"]=" \3"/p
14571s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
14572d
14573:bsnl
14574s/["\\]/\\&/g
14575s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14576D["\1"]=" \3\\\\\\n"\\/p
14577t cont
14578s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14579t cont
14580d
14581:cont
14582n
14583s/.\{148\}/&'"$ac_delim"'/g
14584t clear
14585:clear
14586s/\\$//
14587t bsnlc
14588s/["\\]/\\&/g; s/^/"/; s/$/"/p
14589d
14590:bsnlc
14591s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14592b cont
14593' <confdefs.h | sed '
14594s/'"$ac_delim"'/"\\\
14595"/g' >>$CONFIG_STATUS || ac_write_fail=1
14596
14597cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14598  for (key in D) D_is_set[key] = 1
14599  FS = ""
14600}
14601/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14602  line = \$ 0
14603  split(line, arg, " ")
14604  if (arg[1] == "#") {
14605    defundef = arg[2]
14606    mac1 = arg[3]
14607  } else {
14608    defundef = substr(arg[1], 2)
14609    mac1 = arg[2]
14610  }
14611  split(mac1, mac2, "(") #)
14612  macro = mac2[1]
14613  prefix = substr(line, 1, index(line, defundef) - 1)
14614  if (D_is_set[macro]) {
14615    # Preserve the white space surrounding the "#".
14616    print prefix "define", macro P[macro] D[macro]
14617    next
14618  } else {
14619    # Replace #undef with comments.  This is necessary, for example,
14620    # in the case of _POSIX_SOURCE, which is predefined and required
14621    # on some systems where configure will not decide to define it.
14622    if (defundef == "undef") {
14623      print "/*", prefix defundef, macro, "*/"
14624      next
14625    }
14626  }
14627}
14628{ print }
14629_ACAWK
14630_ACEOF
14631cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14632  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14633fi # test -n "$CONFIG_HEADERS"
14634
14635
14636eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14637shift
14638for ac_tag
14639do
14640  case $ac_tag in
14641  :[FHLC]) ac_mode=$ac_tag; continue;;
14642  esac
14643  case $ac_mode$ac_tag in
14644  :[FHL]*:*);;
14645  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14646  :[FH]-) ac_tag=-:-;;
14647  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14648  esac
14649  ac_save_IFS=$IFS
14650  IFS=:
14651  set x $ac_tag
14652  IFS=$ac_save_IFS
14653  shift
14654  ac_file=$1
14655  shift
14656
14657  case $ac_mode in
14658  :L) ac_source=$1;;
14659  :[FH])
14660    ac_file_inputs=
14661    for ac_f
14662    do
14663      case $ac_f in
14664      -) ac_f="$ac_tmp/stdin";;
14665      *) # Look for the file first in the build tree, then in the source tree
14666	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14667	 # because $ac_f cannot contain `:'.
14668	 test -f "$ac_f" ||
14669	   case $ac_f in
14670	   [\\/$]*) false;;
14671	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14672	   esac ||
14673	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14674      esac
14675      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14676      as_fn_append ac_file_inputs " '$ac_f'"
14677    done
14678
14679    # Let's still pretend it is `configure' which instantiates (i.e., don't
14680    # use $as_me), people would be surprised to read:
14681    #    /* config.h.  Generated by config.status.  */
14682    configure_input='Generated from '`
14683	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14684	`' by configure.'
14685    if test x"$ac_file" != x-; then
14686      configure_input="$ac_file.  $configure_input"
14687      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14688$as_echo "$as_me: creating $ac_file" >&6;}
14689    fi
14690    # Neutralize special characters interpreted by sed in replacement strings.
14691    case $configure_input in #(
14692    *\&* | *\|* | *\\* )
14693       ac_sed_conf_input=`$as_echo "$configure_input" |
14694       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14695    *) ac_sed_conf_input=$configure_input;;
14696    esac
14697
14698    case $ac_tag in
14699    *:-:* | *:-) cat >"$ac_tmp/stdin" \
14700      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14701    esac
14702    ;;
14703  esac
14704
14705  ac_dir=`$as_dirname -- "$ac_file" ||
14706$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14707	 X"$ac_file" : 'X\(//\)[^/]' \| \
14708	 X"$ac_file" : 'X\(//\)$' \| \
14709	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14710$as_echo X"$ac_file" |
14711    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14712	    s//\1/
14713	    q
14714	  }
14715	  /^X\(\/\/\)[^/].*/{
14716	    s//\1/
14717	    q
14718	  }
14719	  /^X\(\/\/\)$/{
14720	    s//\1/
14721	    q
14722	  }
14723	  /^X\(\/\).*/{
14724	    s//\1/
14725	    q
14726	  }
14727	  s/.*/./; q'`
14728  as_dir="$ac_dir"; as_fn_mkdir_p
14729  ac_builddir=.
14730
14731case "$ac_dir" in
14732.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14733*)
14734  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14735  # A ".." for each directory in $ac_dir_suffix.
14736  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14737  case $ac_top_builddir_sub in
14738  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14739  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14740  esac ;;
14741esac
14742ac_abs_top_builddir=$ac_pwd
14743ac_abs_builddir=$ac_pwd$ac_dir_suffix
14744# for backward compatibility:
14745ac_top_builddir=$ac_top_build_prefix
14746
14747case $srcdir in
14748  .)  # We are building in place.
14749    ac_srcdir=.
14750    ac_top_srcdir=$ac_top_builddir_sub
14751    ac_abs_top_srcdir=$ac_pwd ;;
14752  [\\/]* | ?:[\\/]* )  # Absolute name.
14753    ac_srcdir=$srcdir$ac_dir_suffix;
14754    ac_top_srcdir=$srcdir
14755    ac_abs_top_srcdir=$srcdir ;;
14756  *) # Relative name.
14757    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14758    ac_top_srcdir=$ac_top_build_prefix$srcdir
14759    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14760esac
14761ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14762
14763
14764  case $ac_mode in
14765  :F)
14766  #
14767  # CONFIG_FILE
14768  #
14769
14770  case $INSTALL in
14771  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14772  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14773  esac
14774  ac_MKDIR_P=$MKDIR_P
14775  case $MKDIR_P in
14776  [\\/$]* | ?:[\\/]* ) ;;
14777  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14778  esac
14779_ACEOF
14780
14781cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14782# If the template does not know about datarootdir, expand it.
14783# FIXME: This hack should be removed a few years after 2.60.
14784ac_datarootdir_hack=; ac_datarootdir_seen=
14785ac_sed_dataroot='
14786/datarootdir/ {
14787  p
14788  q
14789}
14790/@datadir@/p
14791/@docdir@/p
14792/@infodir@/p
14793/@localedir@/p
14794/@mandir@/p'
14795case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14796*datarootdir*) ac_datarootdir_seen=yes;;
14797*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14798  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14799$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14800_ACEOF
14801cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14802  ac_datarootdir_hack='
14803  s&@datadir@&$datadir&g
14804  s&@docdir@&$docdir&g
14805  s&@infodir@&$infodir&g
14806  s&@localedir@&$localedir&g
14807  s&@mandir@&$mandir&g
14808  s&\\\${datarootdir}&$datarootdir&g' ;;
14809esac
14810_ACEOF
14811
14812# Neutralize VPATH when `$srcdir' = `.'.
14813# Shell code in configure.ac might set extrasub.
14814# FIXME: do we really want to maintain this feature?
14815cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14816ac_sed_extra="$ac_vpsub
14817$extrasub
14818_ACEOF
14819cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14820:t
14821/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14822s|@configure_input@|$ac_sed_conf_input|;t t
14823s&@top_builddir@&$ac_top_builddir_sub&;t t
14824s&@top_build_prefix@&$ac_top_build_prefix&;t t
14825s&@srcdir@&$ac_srcdir&;t t
14826s&@abs_srcdir@&$ac_abs_srcdir&;t t
14827s&@top_srcdir@&$ac_top_srcdir&;t t
14828s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14829s&@builddir@&$ac_builddir&;t t
14830s&@abs_builddir@&$ac_abs_builddir&;t t
14831s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14832s&@INSTALL@&$ac_INSTALL&;t t
14833s&@MKDIR_P@&$ac_MKDIR_P&;t t
14834$ac_datarootdir_hack
14835"
14836eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14837  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14838
14839test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14840  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14841  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
14842      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14843  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14844which seems to be undefined.  Please make sure it is defined" >&5
14845$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14846which seems to be undefined.  Please make sure it is defined" >&2;}
14847
14848  rm -f "$ac_tmp/stdin"
14849  case $ac_file in
14850  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14851  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14852  esac \
14853  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14854 ;;
14855  :H)
14856  #
14857  # CONFIG_HEADER
14858  #
14859  if test x"$ac_file" != x-; then
14860    {
14861      $as_echo "/* $configure_input  */" \
14862      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14863    } >"$ac_tmp/config.h" \
14864      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14865    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14866      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14867$as_echo "$as_me: $ac_file is unchanged" >&6;}
14868    else
14869      rm -f "$ac_file"
14870      mv "$ac_tmp/config.h" "$ac_file" \
14871	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14872    fi
14873  else
14874    $as_echo "/* $configure_input  */" \
14875      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14876      || as_fn_error $? "could not create -" "$LINENO" 5
14877  fi
14878# Compute "$ac_file"'s index in $config_headers.
14879_am_arg="$ac_file"
14880_am_stamp_count=1
14881for _am_header in $config_headers :; do
14882  case $_am_header in
14883    $_am_arg | $_am_arg:* )
14884      break ;;
14885    * )
14886      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14887  esac
14888done
14889echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14890$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14891	 X"$_am_arg" : 'X\(//\)[^/]' \| \
14892	 X"$_am_arg" : 'X\(//\)$' \| \
14893	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14894$as_echo X"$_am_arg" |
14895    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14896	    s//\1/
14897	    q
14898	  }
14899	  /^X\(\/\/\)[^/].*/{
14900	    s//\1/
14901	    q
14902	  }
14903	  /^X\(\/\/\)$/{
14904	    s//\1/
14905	    q
14906	  }
14907	  /^X\(\/\).*/{
14908	    s//\1/
14909	    q
14910	  }
14911	  s/.*/./; q'`/stamp-h$_am_stamp_count
14912 ;;
14913
14914  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14915$as_echo "$as_me: executing $ac_file commands" >&6;}
14916 ;;
14917  esac
14918
14919
14920  case $ac_file$ac_mode in
14921    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14922  # Older Autoconf quotes --file arguments for eval, but not when files
14923  # are listed without --file.  Let's play safe and only enable the eval
14924  # if we detect the quoting.
14925  # TODO: see whether this extra hack can be removed once we start
14926  # requiring Autoconf 2.70 or later.
14927  case $CONFIG_FILES in #(
14928  *\'*) :
14929    eval set x "$CONFIG_FILES" ;; #(
14930  *) :
14931    set x $CONFIG_FILES ;; #(
14932  *) :
14933     ;;
14934esac
14935  shift
14936  # Used to flag and report bootstrapping failures.
14937  am_rc=0
14938  for am_mf
14939  do
14940    # Strip MF so we end up with the name of the file.
14941    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
14942    # Check whether this is an Automake generated Makefile which includes
14943    # dependency-tracking related rules and includes.
14944    # Grep'ing the whole file directly is not great: AIX grep has a line
14945    # limit of 2048, but all sed's we know have understand at least 4000.
14946    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
14947      || continue
14948    am_dirpart=`$as_dirname -- "$am_mf" ||
14949$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14950	 X"$am_mf" : 'X\(//\)[^/]' \| \
14951	 X"$am_mf" : 'X\(//\)$' \| \
14952	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14953$as_echo X"$am_mf" |
14954    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14955	    s//\1/
14956	    q
14957	  }
14958	  /^X\(\/\/\)[^/].*/{
14959	    s//\1/
14960	    q
14961	  }
14962	  /^X\(\/\/\)$/{
14963	    s//\1/
14964	    q
14965	  }
14966	  /^X\(\/\).*/{
14967	    s//\1/
14968	    q
14969	  }
14970	  s/.*/./; q'`
14971    am_filepart=`$as_basename -- "$am_mf" ||
14972$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
14973	 X"$am_mf" : 'X\(//\)$' \| \
14974	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14975$as_echo X/"$am_mf" |
14976    sed '/^.*\/\([^/][^/]*\)\/*$/{
14977	    s//\1/
14978	    q
14979	  }
14980	  /^X\/\(\/\/\)$/{
14981	    s//\1/
14982	    q
14983	  }
14984	  /^X\/\(\/\).*/{
14985	    s//\1/
14986	    q
14987	  }
14988	  s/.*/./; q'`
14989    { echo "$as_me:$LINENO: cd "$am_dirpart" \
14990      && sed -e '/# am--include-marker/d' "$am_filepart" \
14991        | $MAKE -f - am--depfiles" >&5
14992   (cd "$am_dirpart" \
14993      && sed -e '/# am--include-marker/d' "$am_filepart" \
14994        | $MAKE -f - am--depfiles) >&5 2>&5
14995   ac_status=$?
14996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997   (exit $ac_status); } || am_rc=$?
14998  done
14999  if test $am_rc -ne 0; then
15000    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15001$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15002as_fn_error $? "Something went wrong bootstrapping makefile fragments
15003    for automatic dependency tracking.  If GNU make was not used, consider
15004    re-running the configure script with MAKE=\"gmake\" (or whatever is
15005    necessary).  You can also try re-running configure with the
15006    '--disable-dependency-tracking' option to at least be able to build
15007    the package (albeit without support for automatic dependency tracking).
15008See \`config.log' for more details" "$LINENO" 5; }
15009  fi
15010  { am_dirpart=; unset am_dirpart;}
15011  { am_filepart=; unset am_filepart;}
15012  { am_mf=; unset am_mf;}
15013  { am_rc=; unset am_rc;}
15014  rm -f conftest-deps.mk
15015}
15016 ;;
15017    "libtool":C)
15018
15019    # See if we are running on zsh, and set the options that allow our
15020    # commands through without removal of \ escapes.
15021    if test -n "${ZSH_VERSION+set}"; then
15022      setopt NO_GLOB_SUBST
15023    fi
15024
15025    cfgfile=${ofile}T
15026    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15027    $RM "$cfgfile"
15028
15029    cat <<_LT_EOF >> "$cfgfile"
15030#! $SHELL
15031# Generated automatically by $as_me ($PACKAGE) $VERSION
15032# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15033
15034# Provide generalized library-building support services.
15035# Written by Gordon Matzigkeit, 1996
15036
15037# Copyright (C) 2014 Free Software Foundation, Inc.
15038# This is free software; see the source for copying conditions.  There is NO
15039# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15040
15041# GNU Libtool is free software; you can redistribute it and/or modify
15042# it under the terms of the GNU General Public License as published by
15043# the Free Software Foundation; either version 2 of of the License, or
15044# (at your option) any later version.
15045#
15046# As a special exception to the GNU General Public License, if you
15047# distribute this file as part of a program or library that is built
15048# using GNU Libtool, you may include this file under the  same
15049# distribution terms that you use for the rest of that program.
15050#
15051# GNU Libtool is distributed in the hope that it will be useful, but
15052# WITHOUT ANY WARRANTY; without even the implied warranty of
15053# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15054# GNU General Public License for more details.
15055#
15056# You should have received a copy of the GNU General Public License
15057# along with this program.  If not, see <http://www.gnu.org/licenses/>.
15058
15059
15060# The names of the tagged configurations supported by this script.
15061available_tags=''
15062
15063# Configured defaults for sys_lib_dlsearch_path munging.
15064: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
15065
15066# ### BEGIN LIBTOOL CONFIG
15067
15068# Which release of libtool.m4 was used?
15069macro_version=$macro_version
15070macro_revision=$macro_revision
15071
15072# Whether or not to build static libraries.
15073build_old_libs=$enable_static
15074
15075# Whether or not to build shared libraries.
15076build_libtool_libs=$enable_shared
15077
15078# What type of objects to build.
15079pic_mode=$pic_mode
15080
15081# Whether or not to optimize for fast installation.
15082fast_install=$enable_fast_install
15083
15084# Shared archive member basename,for filename based shared library versioning on AIX.
15085shared_archive_member_spec=$shared_archive_member_spec
15086
15087# Shell to use when invoking shell scripts.
15088SHELL=$lt_SHELL
15089
15090# An echo program that protects backslashes.
15091ECHO=$lt_ECHO
15092
15093# The PATH separator for the build system.
15094PATH_SEPARATOR=$lt_PATH_SEPARATOR
15095
15096# The host system.
15097host_alias=$host_alias
15098host=$host
15099host_os=$host_os
15100
15101# The build system.
15102build_alias=$build_alias
15103build=$build
15104build_os=$build_os
15105
15106# A sed program that does not truncate output.
15107SED=$lt_SED
15108
15109# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15110Xsed="\$SED -e 1s/^X//"
15111
15112# A grep program that handles long lines.
15113GREP=$lt_GREP
15114
15115# An ERE matcher.
15116EGREP=$lt_EGREP
15117
15118# A literal string matcher.
15119FGREP=$lt_FGREP
15120
15121# A BSD- or MS-compatible name lister.
15122NM=$lt_NM
15123
15124# Whether we need soft or hard links.
15125LN_S=$lt_LN_S
15126
15127# What is the maximum length of a command?
15128max_cmd_len=$max_cmd_len
15129
15130# Object file suffix (normally "o").
15131objext=$ac_objext
15132
15133# Executable file suffix (normally "").
15134exeext=$exeext
15135
15136# whether the shell understands "unset".
15137lt_unset=$lt_unset
15138
15139# turn spaces into newlines.
15140SP2NL=$lt_lt_SP2NL
15141
15142# turn newlines into spaces.
15143NL2SP=$lt_lt_NL2SP
15144
15145# convert \$build file names to \$host format.
15146to_host_file_cmd=$lt_cv_to_host_file_cmd
15147
15148# convert \$build files to toolchain format.
15149to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15150
15151# An object symbol dumper.
15152OBJDUMP=$lt_OBJDUMP
15153
15154# Method to check whether dependent libraries are shared objects.
15155deplibs_check_method=$lt_deplibs_check_method
15156
15157# Command to use when deplibs_check_method = "file_magic".
15158file_magic_cmd=$lt_file_magic_cmd
15159
15160# How to find potential files when deplibs_check_method = "file_magic".
15161file_magic_glob=$lt_file_magic_glob
15162
15163# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15164want_nocaseglob=$lt_want_nocaseglob
15165
15166# DLL creation program.
15167DLLTOOL=$lt_DLLTOOL
15168
15169# Command to associate shared and link libraries.
15170sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15171
15172# The archiver.
15173AR=$lt_AR
15174
15175# Flags to create an archive.
15176AR_FLAGS=$lt_AR_FLAGS
15177
15178# How to feed a file listing to the archiver.
15179archiver_list_spec=$lt_archiver_list_spec
15180
15181# A symbol stripping program.
15182STRIP=$lt_STRIP
15183
15184# Commands used to install an old-style archive.
15185RANLIB=$lt_RANLIB
15186old_postinstall_cmds=$lt_old_postinstall_cmds
15187old_postuninstall_cmds=$lt_old_postuninstall_cmds
15188
15189# Whether to use a lock for old archive extraction.
15190lock_old_archive_extraction=$lock_old_archive_extraction
15191
15192# A C compiler.
15193LTCC=$lt_CC
15194
15195# LTCC compiler flags.
15196LTCFLAGS=$lt_CFLAGS
15197
15198# Take the output of nm and produce a listing of raw symbols and C names.
15199global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15200
15201# Transform the output of nm in a proper C declaration.
15202global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15203
15204# Transform the output of nm into a list of symbols to manually relocate.
15205global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15206
15207# Transform the output of nm in a C name address pair.
15208global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15209
15210# Transform the output of nm in a C name address pair when lib prefix is needed.
15211global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15212
15213# The name lister interface.
15214nm_interface=$lt_lt_cv_nm_interface
15215
15216# Specify filename containing input files for \$NM.
15217nm_file_list_spec=$lt_nm_file_list_spec
15218
15219# The root where to search for dependent libraries,and where our libraries should be installed.
15220lt_sysroot=$lt_sysroot
15221
15222# Command to truncate a binary pipe.
15223lt_truncate_bin=$lt_lt_cv_truncate_bin
15224
15225# The name of the directory that contains temporary libtool files.
15226objdir=$objdir
15227
15228# Used to examine libraries when file_magic_cmd begins with "file".
15229MAGIC_CMD=$MAGIC_CMD
15230
15231# Must we lock files when doing compilation?
15232need_locks=$lt_need_locks
15233
15234# Manifest tool.
15235MANIFEST_TOOL=$lt_MANIFEST_TOOL
15236
15237# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15238DSYMUTIL=$lt_DSYMUTIL
15239
15240# Tool to change global to local symbols on Mac OS X.
15241NMEDIT=$lt_NMEDIT
15242
15243# Tool to manipulate fat objects and archives on Mac OS X.
15244LIPO=$lt_LIPO
15245
15246# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15247OTOOL=$lt_OTOOL
15248
15249# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15250OTOOL64=$lt_OTOOL64
15251
15252# Old archive suffix (normally "a").
15253libext=$libext
15254
15255# Shared library suffix (normally ".so").
15256shrext_cmds=$lt_shrext_cmds
15257
15258# The commands to extract the exported symbol list from a shared archive.
15259extract_expsyms_cmds=$lt_extract_expsyms_cmds
15260
15261# Variables whose values should be saved in libtool wrapper scripts and
15262# restored at link time.
15263variables_saved_for_relink=$lt_variables_saved_for_relink
15264
15265# Do we need the "lib" prefix for modules?
15266need_lib_prefix=$need_lib_prefix
15267
15268# Do we need a version for libraries?
15269need_version=$need_version
15270
15271# Library versioning type.
15272version_type=$version_type
15273
15274# Shared library runtime path variable.
15275runpath_var=$runpath_var
15276
15277# Shared library path variable.
15278shlibpath_var=$shlibpath_var
15279
15280# Is shlibpath searched before the hard-coded library search path?
15281shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15282
15283# Format of library name prefix.
15284libname_spec=$lt_libname_spec
15285
15286# List of archive names.  First name is the real one, the rest are links.
15287# The last name is the one that the linker finds with -lNAME
15288library_names_spec=$lt_library_names_spec
15289
15290# The coded name of the library, if different from the real name.
15291soname_spec=$lt_soname_spec
15292
15293# Permission mode override for installation of shared libraries.
15294install_override_mode=$lt_install_override_mode
15295
15296# Command to use after installation of a shared archive.
15297postinstall_cmds=$lt_postinstall_cmds
15298
15299# Command to use after uninstallation of a shared archive.
15300postuninstall_cmds=$lt_postuninstall_cmds
15301
15302# Commands used to finish a libtool library installation in a directory.
15303finish_cmds=$lt_finish_cmds
15304
15305# As "finish_cmds", except a single script fragment to be evaled but
15306# not shown.
15307finish_eval=$lt_finish_eval
15308
15309# Whether we should hardcode library paths into libraries.
15310hardcode_into_libs=$hardcode_into_libs
15311
15312# Compile-time system search path for libraries.
15313sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15314
15315# Detected run-time system search path for libraries.
15316sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15317
15318# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15319configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15320
15321# Whether dlopen is supported.
15322dlopen_support=$enable_dlopen
15323
15324# Whether dlopen of programs is supported.
15325dlopen_self=$enable_dlopen_self
15326
15327# Whether dlopen of statically linked programs is supported.
15328dlopen_self_static=$enable_dlopen_self_static
15329
15330# Commands to strip libraries.
15331old_striplib=$lt_old_striplib
15332striplib=$lt_striplib
15333
15334
15335# The linker used to build libraries.
15336LD=$lt_LD
15337
15338# How to create reloadable object files.
15339reload_flag=$lt_reload_flag
15340reload_cmds=$lt_reload_cmds
15341
15342# Commands used to build an old-style archive.
15343old_archive_cmds=$lt_old_archive_cmds
15344
15345# A language specific compiler.
15346CC=$lt_compiler
15347
15348# Is the compiler the GNU compiler?
15349with_gcc=$GCC
15350
15351# Compiler flag to turn off builtin functions.
15352no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15353
15354# Additional compiler flags for building library objects.
15355pic_flag=$lt_lt_prog_compiler_pic
15356
15357# How to pass a linker flag through the compiler.
15358wl=$lt_lt_prog_compiler_wl
15359
15360# Compiler flag to prevent dynamic linking.
15361link_static_flag=$lt_lt_prog_compiler_static
15362
15363# Does compiler simultaneously support -c and -o options?
15364compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15365
15366# Whether or not to add -lc for building shared libraries.
15367build_libtool_need_lc=$archive_cmds_need_lc
15368
15369# Whether or not to disallow shared libs when runtime libs are static.
15370allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15371
15372# Compiler flag to allow reflexive dlopens.
15373export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15374
15375# Compiler flag to generate shared objects directly from archives.
15376whole_archive_flag_spec=$lt_whole_archive_flag_spec
15377
15378# Whether the compiler copes with passing no objects directly.
15379compiler_needs_object=$lt_compiler_needs_object
15380
15381# Create an old-style archive from a shared archive.
15382old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15383
15384# Create a temporary old-style archive to link instead of a shared archive.
15385old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15386
15387# Commands used to build a shared archive.
15388archive_cmds=$lt_archive_cmds
15389archive_expsym_cmds=$lt_archive_expsym_cmds
15390
15391# Commands used to build a loadable module if different from building
15392# a shared archive.
15393module_cmds=$lt_module_cmds
15394module_expsym_cmds=$lt_module_expsym_cmds
15395
15396# Whether we are building with GNU ld or not.
15397with_gnu_ld=$lt_with_gnu_ld
15398
15399# Flag that allows shared libraries with undefined symbols to be built.
15400allow_undefined_flag=$lt_allow_undefined_flag
15401
15402# Flag that enforces no undefined symbols.
15403no_undefined_flag=$lt_no_undefined_flag
15404
15405# Flag to hardcode \$libdir into a binary during linking.
15406# This must work even if \$libdir does not exist
15407hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15408
15409# Whether we need a single "-rpath" flag with a separated argument.
15410hardcode_libdir_separator=$lt_hardcode_libdir_separator
15411
15412# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15413# DIR into the resulting binary.
15414hardcode_direct=$hardcode_direct
15415
15416# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15417# DIR into the resulting binary and the resulting library dependency is
15418# "absolute",i.e impossible to change by setting \$shlibpath_var if the
15419# library is relocated.
15420hardcode_direct_absolute=$hardcode_direct_absolute
15421
15422# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15423# into the resulting binary.
15424hardcode_minus_L=$hardcode_minus_L
15425
15426# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15427# into the resulting binary.
15428hardcode_shlibpath_var=$hardcode_shlibpath_var
15429
15430# Set to "yes" if building a shared library automatically hardcodes DIR
15431# into the library and all subsequent libraries and executables linked
15432# against it.
15433hardcode_automatic=$hardcode_automatic
15434
15435# Set to yes if linker adds runtime paths of dependent libraries
15436# to runtime path list.
15437inherit_rpath=$inherit_rpath
15438
15439# Whether libtool must link a program against all its dependency libraries.
15440link_all_deplibs=$link_all_deplibs
15441
15442# Set to "yes" if exported symbols are required.
15443always_export_symbols=$always_export_symbols
15444
15445# The commands to list exported symbols.
15446export_symbols_cmds=$lt_export_symbols_cmds
15447
15448# Symbols that should not be listed in the preloaded symbols.
15449exclude_expsyms=$lt_exclude_expsyms
15450
15451# Symbols that must always be exported.
15452include_expsyms=$lt_include_expsyms
15453
15454# Commands necessary for linking programs (against libraries) with templates.
15455prelink_cmds=$lt_prelink_cmds
15456
15457# Commands necessary for finishing linking programs.
15458postlink_cmds=$lt_postlink_cmds
15459
15460# Specify filename containing input files.
15461file_list_spec=$lt_file_list_spec
15462
15463# How to hardcode a shared library path into an executable.
15464hardcode_action=$hardcode_action
15465
15466# ### END LIBTOOL CONFIG
15467
15468_LT_EOF
15469
15470    cat <<'_LT_EOF' >> "$cfgfile"
15471
15472# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15473
15474# func_munge_path_list VARIABLE PATH
15475# -----------------------------------
15476# VARIABLE is name of variable containing _space_ separated list of
15477# directories to be munged by the contents of PATH, which is string
15478# having a format:
15479# "DIR[:DIR]:"
15480#       string "DIR[ DIR]" will be prepended to VARIABLE
15481# ":DIR[:DIR]"
15482#       string "DIR[ DIR]" will be appended to VARIABLE
15483# "DIRP[:DIRP]::[DIRA:]DIRA"
15484#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15485#       "DIRA[ DIRA]" will be appended to VARIABLE
15486# "DIR[:DIR]"
15487#       VARIABLE will be replaced by "DIR[ DIR]"
15488func_munge_path_list ()
15489{
15490    case x$2 in
15491    x)
15492        ;;
15493    *:)
15494        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
15495        ;;
15496    x:*)
15497        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
15498        ;;
15499    *::*)
15500        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
15501        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
15502        ;;
15503    *)
15504        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
15505        ;;
15506    esac
15507}
15508
15509
15510# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
15511func_cc_basename ()
15512{
15513    for cc_temp in $*""; do
15514      case $cc_temp in
15515        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15516        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15517        \-*) ;;
15518        *) break;;
15519      esac
15520    done
15521    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15522}
15523
15524
15525# ### END FUNCTIONS SHARED WITH CONFIGURE
15526
15527_LT_EOF
15528
15529  case $host_os in
15530  aix3*)
15531    cat <<\_LT_EOF >> "$cfgfile"
15532# AIX sometimes has problems with the GCC collect2 program.  For some
15533# reason, if we set the COLLECT_NAMES environment variable, the problems
15534# vanish in a puff of smoke.
15535if test set != "${COLLECT_NAMES+set}"; then
15536  COLLECT_NAMES=
15537  export COLLECT_NAMES
15538fi
15539_LT_EOF
15540    ;;
15541  esac
15542
15543
15544ltmain=$ac_aux_dir/ltmain.sh
15545
15546
15547  # We use sed instead of cat because bash on DJGPP gets confused if
15548  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15549  # text mode, it properly converts lines to CR/LF.  This bash problem
15550  # is reportedly fixed, but why not run on old versions too?
15551  sed '$q' "$ltmain" >> "$cfgfile" \
15552     || (rm -f "$cfgfile"; exit 1)
15553
15554   mv -f "$cfgfile" "$ofile" ||
15555    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15556  chmod +x "$ofile"
15557
15558 ;;
15559
15560  esac
15561done # for ac_tag
15562
15563
15564as_fn_exit 0
15565_ACEOF
15566ac_clean_files=$ac_clean_files_save
15567
15568test $ac_write_fail = 0 ||
15569  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15570
15571
15572# configure is writing to config.log, and then calls config.status.
15573# config.status does its own redirection, appending to config.log.
15574# Unfortunately, on DOS this fails, as config.log is still kept open
15575# by configure, so config.status won't be able to write to it; its
15576# output is simply discarded.  So we exec the FD to /dev/null,
15577# effectively closing config.log, so it can be properly (re)opened and
15578# appended to by config.status.  When coming back to configure, we
15579# need to make the FD available again.
15580if test "$no_create" != yes; then
15581  ac_cs_success=:
15582  ac_config_status_args=
15583  test "$silent" = yes &&
15584    ac_config_status_args="$ac_config_status_args --quiet"
15585  exec 5>/dev/null
15586  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15587  exec 5>>config.log
15588  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15589  # would make configure fail if this is the last instruction.
15590  $ac_cs_success || as_fn_exit 1
15591fi
15592if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15593  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15594$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15595fi
15596
15597