1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for usbmuxd 1.1.1.
4#
5# Report bugs to <https://github.com/libimobiledevice/usbmuxd/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://github.com/libimobiledevice/usbmuxd/issues
279$0: about your system, including any error possibly output
280$0: before this message. Then install a modern shell, or
281$0: manually run the script under such a shell if you do
282$0: have one."
283  fi
284  exit 1
285fi
286fi
287fi
288SHELL=${CONFIG_SHELL-/bin/sh}
289export SHELL
290# Unset more variables known to interfere with behavior of common tools.
291CLICOLOR_FORCE= GREP_OPTIONS=
292unset CLICOLOR_FORCE GREP_OPTIONS
293
294## --------------------- ##
295## M4sh Shell Functions. ##
296## --------------------- ##
297# as_fn_unset VAR
298# ---------------
299# Portably unset VAR.
300as_fn_unset ()
301{
302  { eval $1=; unset $1;}
303}
304as_unset=as_fn_unset
305
306# as_fn_set_status STATUS
307# -----------------------
308# Set $? to STATUS, without forking.
309as_fn_set_status ()
310{
311  return $1
312} # as_fn_set_status
313
314# as_fn_exit STATUS
315# -----------------
316# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317as_fn_exit ()
318{
319  set +e
320  as_fn_set_status $1
321  exit $1
322} # as_fn_exit
323
324# as_fn_mkdir_p
325# -------------
326# Create "$as_dir" as a directory, including parents if necessary.
327as_fn_mkdir_p ()
328{
329
330  case $as_dir in #(
331  -*) as_dir=./$as_dir;;
332  esac
333  test -d "$as_dir" || eval $as_mkdir_p || {
334    as_dirs=
335    while :; do
336      case $as_dir in #(
337      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338      *) as_qdir=$as_dir;;
339      esac
340      as_dirs="'$as_qdir' $as_dirs"
341      as_dir=`$as_dirname -- "$as_dir" ||
342$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343	 X"$as_dir" : 'X\(//\)[^/]' \| \
344	 X"$as_dir" : 'X\(//\)$' \| \
345	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346$as_echo X"$as_dir" |
347    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348	    s//\1/
349	    q
350	  }
351	  /^X\(\/\/\)[^/].*/{
352	    s//\1/
353	    q
354	  }
355	  /^X\(\/\/\)$/{
356	    s//\1/
357	    q
358	  }
359	  /^X\(\/\).*/{
360	    s//\1/
361	    q
362	  }
363	  s/.*/./; q'`
364      test -d "$as_dir" && break
365    done
366    test -z "$as_dirs" || eval "mkdir $as_dirs"
367  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370} # as_fn_mkdir_p
371
372# as_fn_executable_p FILE
373# -----------------------
374# Test if FILE is an executable regular file.
375as_fn_executable_p ()
376{
377  test -f "$1" && test -x "$1"
378} # as_fn_executable_p
379# as_fn_append VAR VALUE
380# ----------------------
381# Append the text in VALUE to the end of the definition contained in VAR. Take
382# advantage of any shell optimizations that allow amortized linear growth over
383# repeated appends, instead of the typical quadratic growth present in naive
384# implementations.
385if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386  eval 'as_fn_append ()
387  {
388    eval $1+=\$2
389  }'
390else
391  as_fn_append ()
392  {
393    eval $1=\$$1\$2
394  }
395fi # as_fn_append
396
397# as_fn_arith ARG...
398# ------------------
399# Perform arithmetic evaluation on the ARGs, and store the result in the
400# global $as_val. Take advantage of shells that can avoid forks. The arguments
401# must be portable across $(()) and expr.
402if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403  eval 'as_fn_arith ()
404  {
405    as_val=$(( $* ))
406  }'
407else
408  as_fn_arith ()
409  {
410    as_val=`expr "$@" || test $? -eq 1`
411  }
412fi # as_fn_arith
413
414
415# as_fn_error STATUS ERROR [LINENO LOG_FD]
416# ----------------------------------------
417# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419# script with STATUS, using 1 if that was 0.
420as_fn_error ()
421{
422  as_status=$1; test $as_status -eq 0 && as_status=1
423  if test "$4"; then
424    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426  fi
427  $as_echo "$as_me: error: $2" >&2
428  as_fn_exit $as_status
429} # as_fn_error
430
431if expr a : '\(a\)' >/dev/null 2>&1 &&
432   test "X`expr 00001 : '.*\(...\)'`" = X001; then
433  as_expr=expr
434else
435  as_expr=false
436fi
437
438if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439  as_basename=basename
440else
441  as_basename=false
442fi
443
444if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445  as_dirname=dirname
446else
447  as_dirname=false
448fi
449
450as_me=`$as_basename -- "$0" ||
451$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452	 X"$0" : 'X\(//\)$' \| \
453	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454$as_echo X/"$0" |
455    sed '/^.*\/\([^/][^/]*\)\/*$/{
456	    s//\1/
457	    q
458	  }
459	  /^X\/\(\/\/\)$/{
460	    s//\1/
461	    q
462	  }
463	  /^X\/\(\/\).*/{
464	    s//\1/
465	    q
466	  }
467	  s/.*/./; q'`
468
469# Avoid depending upon Character Ranges.
470as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473as_cr_digits='0123456789'
474as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477  as_lineno_1=$LINENO as_lineno_1a=$LINENO
478  as_lineno_2=$LINENO as_lineno_2a=$LINENO
479  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
482  sed -n '
483    p
484    /[$]LINENO/=
485  ' <$as_myself |
486    sed '
487      s/[$]LINENO.*/&-/
488      t lineno
489      b
490      :lineno
491      N
492      :loop
493      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494      t loop
495      s/-\n.*//
496    ' >$as_me.lineno &&
497  chmod +x "$as_me.lineno" ||
498    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501  # already done that, so ensure we don't try to do so again and fall
502  # in an infinite loop.  This has already happened in practice.
503  _as_can_reexec=no; export _as_can_reexec
504  # Don't try to exec as it changes $[0], causing all sort of problems
505  # (the dirname of $[0] is not the place where we might find the
506  # original and so on.  Autoconf is especially sensitive to this).
507  . "./$as_me.lineno"
508  # Exit status is that of the last command.
509  exit
510}
511
512ECHO_C= ECHO_N= ECHO_T=
513case `echo -n x` in #(((((
514-n*)
515  case `echo 'xy\c'` in
516  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
517  xy)  ECHO_C='\c';;
518  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
519       ECHO_T='	';;
520  esac;;
521*)
522  ECHO_N='-n';;
523esac
524
525rm -f conf$$ conf$$.exe conf$$.file
526if test -d conf$$.dir; then
527  rm -f conf$$.dir/conf$$.file
528else
529  rm -f conf$$.dir
530  mkdir conf$$.dir 2>/dev/null
531fi
532if (echo >conf$$.file) 2>/dev/null; then
533  if ln -s conf$$.file conf$$ 2>/dev/null; then
534    as_ln_s='ln -s'
535    # ... but there are two gotchas:
536    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538    # In both cases, we have to default to `cp -pR'.
539    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540      as_ln_s='cp -pR'
541  elif ln conf$$.file conf$$ 2>/dev/null; then
542    as_ln_s=ln
543  else
544    as_ln_s='cp -pR'
545  fi
546else
547  as_ln_s='cp -pR'
548fi
549rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550rmdir conf$$.dir 2>/dev/null
551
552if mkdir -p . 2>/dev/null; then
553  as_mkdir_p='mkdir -p "$as_dir"'
554else
555  test -d ./-p && rmdir ./-p
556  as_mkdir_p=false
557fi
558
559as_test_x='test -x'
560as_executable_p=as_fn_executable_p
561
562# Sed expression to map a string onto a valid CPP name.
563as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565# Sed expression to map a string onto a valid variable name.
566as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568SHELL=${CONFIG_SHELL-/bin/sh}
569
570
571test -n "$DJDIR" || exec 7<&0 </dev/null
572exec 6>&1
573
574# Name of the host.
575# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576# so uname gets run too.
577ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
579#
580# Initializations.
581#
582ac_default_prefix=/usr/local
583ac_clean_files=
584ac_config_libobj_dir=.
585LIBOBJS=
586cross_compiling=no
587subdirs=
588MFLAGS=
589MAKEFLAGS=
590
591# Identity of this package.
592PACKAGE_NAME='usbmuxd'
593PACKAGE_TARNAME='usbmuxd'
594PACKAGE_VERSION='1.1.1'
595PACKAGE_STRING='usbmuxd 1.1.1'
596PACKAGE_BUGREPORT='https://github.com/libimobiledevice/usbmuxd/issues'
597PACKAGE_URL='https://libimobiledevice.org'
598
599ac_unique_file="src/"
600# Factoring default headers for most tests.
601ac_includes_default="\
602#include <stdio.h>
603#ifdef HAVE_SYS_TYPES_H
604# include <sys/types.h>
605#endif
606#ifdef HAVE_SYS_STAT_H
607# include <sys/stat.h>
608#endif
609#ifdef STDC_HEADERS
610# include <stdlib.h>
611# include <stddef.h>
612#else
613# ifdef HAVE_STDLIB_H
614#  include <stdlib.h>
615# endif
616#endif
617#ifdef HAVE_STRING_H
618# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619#  include <memory.h>
620# endif
621# include <string.h>
622#endif
623#ifdef HAVE_STRINGS_H
624# include <strings.h>
625#endif
626#ifdef HAVE_INTTYPES_H
627# include <inttypes.h>
628#endif
629#ifdef HAVE_STDINT_H
630# include <stdint.h>
631#endif
632#ifdef HAVE_UNISTD_H
633# include <unistd.h>
634#endif"
635
636ac_subst_vars='am__EXEEXT_FALSE
637am__EXEEXT_TRUE
638LTLIBOBJS
639GLOBAL_CFLAGS
640SYSTEMD_SUB
641UDEV_SUB
642WIN32_FALSE
643WIN32_TRUE
644udevrulesdir
645WINDRES
646LIBOBJS
647udev_activation_rule
648WANT_SYSTEMD_FALSE
649WANT_SYSTEMD_TRUE
650systemdsystemunitdir
651libpthread_LIBS
652libimobiledevice_LIBS
653libimobiledevice_CFLAGS
654libplist_LIBS
655libplist_CFLAGS
656libusb_LIBS
657libusb_CFLAGS
658PKG_CONFIG_LIBDIR
659PKG_CONFIG_PATH
660PKG_CONFIG
661CXXCPP
662CPP
663LT_SYS_LIBRARY_PATH
664OTOOL64
665OTOOL
666LIPO
667NMEDIT
668DSYMUTIL
669MANIFEST_TOOL
670RANLIB
671ac_ct_AR
672AR
673DLLTOOL
674OBJDUMP
675LN_S
676NM
677ac_ct_DUMPBIN
678DUMPBIN
679LD
680FGREP
681EGREP
682GREP
683SED
684host_os
685host_vendor
686host_cpu
687host
688build_os
689build_vendor
690build_cpu
691build
692LIBTOOL
693am__fastdepCXX_FALSE
694am__fastdepCXX_TRUE
695CXXDEPMODE
696ac_ct_CXX
697CXXFLAGS
698CXX
699am__fastdepCC_FALSE
700am__fastdepCC_TRUE
701CCDEPMODE
702am__nodep
703AMDEPBACKSLASH
704AMDEP_FALSE
705AMDEP_TRUE
706am__include
707DEPDIR
708OBJEXT
709EXEEXT
710ac_ct_CC
711CPPFLAGS
712LDFLAGS
713CFLAGS
714CC
715AM_BACKSLASH
716AM_DEFAULT_VERBOSITY
717AM_DEFAULT_V
718AM_V
719am__untar
720am__tar
721AMTAR
722am__leading_dot
723SET_MAKE
724AWK
725mkdir_p
726MKDIR_P
727INSTALL_STRIP_PROGRAM
728STRIP
729install_sh
730MAKEINFO
731AUTOHEADER
732AUTOMAKE
733AUTOCONF
734ACLOCAL
735VERSION
736PACKAGE
737CYGPATH_W
738am__isrc
739INSTALL_DATA
740INSTALL_SCRIPT
741INSTALL_PROGRAM
742target_alias
743host_alias
744build_alias
745LIBS
746ECHO_T
747ECHO_N
748ECHO_C
749DEFS
750mandir
751localedir
752libdir
753psdir
754pdfdir
755dvidir
756htmldir
757infodir
758docdir
759oldincludedir
760includedir
761localstatedir
762sharedstatedir
763sysconfdir
764datadir
765datarootdir
766libexecdir
767sbindir
768bindir
769program_transform_name
770prefix
771exec_prefix
772PACKAGE_URL
773PACKAGE_BUGREPORT
774PACKAGE_STRING
775PACKAGE_VERSION
776PACKAGE_TARNAME
777PACKAGE_NAME
778PATH_SEPARATOR
779SHELL
780am__quote'
781ac_subst_files=''
782ac_user_opts='
783enable_option_checking
784enable_silent_rules
785enable_dependency_tracking
786enable_shared
787enable_static
788with_pic
789enable_fast_install
790with_aix_soname
791with_gnu_ld
792with_sysroot
793enable_libtool_lock
794with_preflight
795with_udevrulesdir
796with_systemd
797with_systemdsystemunitdir
798'
799      ac_precious_vars='build_alias
800host_alias
801target_alias
802CC
803CFLAGS
804LDFLAGS
805LIBS
806CPPFLAGS
807CXX
808CXXFLAGS
809CCC
810LT_SYS_LIBRARY_PATH
811CPP
812CXXCPP
813PKG_CONFIG
814PKG_CONFIG_PATH
815PKG_CONFIG_LIBDIR
816libusb_CFLAGS
817libusb_LIBS
818libplist_CFLAGS
819libplist_LIBS
820libimobiledevice_CFLAGS
821libimobiledevice_LIBS'
822
823
824# Initialize some variables set by options.
825ac_init_help=
826ac_init_version=false
827ac_unrecognized_opts=
828ac_unrecognized_sep=
829# The variables have the same names as the options, with
830# dashes changed to underlines.
831cache_file=/dev/null
832exec_prefix=NONE
833no_create=
834no_recursion=
835prefix=NONE
836program_prefix=NONE
837program_suffix=NONE
838program_transform_name=s,x,x,
839silent=
840site=
841srcdir=
842verbose=
843x_includes=NONE
844x_libraries=NONE
845
846# Installation directory options.
847# These are left unexpanded so users can "make install exec_prefix=/foo"
848# and all the variables that are supposed to be based on exec_prefix
849# by default will actually change.
850# Use braces instead of parens because sh, perl, etc. also accept them.
851# (The list follows the same order as the GNU Coding Standards.)
852bindir='${exec_prefix}/bin'
853sbindir='${exec_prefix}/sbin'
854libexecdir='${exec_prefix}/libexec'
855datarootdir='${prefix}/share'
856datadir='${datarootdir}'
857sysconfdir='${prefix}/etc'
858sharedstatedir='${prefix}/com'
859localstatedir='${prefix}/var'
860includedir='${prefix}/include'
861oldincludedir='/usr/include'
862docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
863infodir='${datarootdir}/info'
864htmldir='${docdir}'
865dvidir='${docdir}'
866pdfdir='${docdir}'
867psdir='${docdir}'
868libdir='${exec_prefix}/lib'
869localedir='${datarootdir}/locale'
870mandir='${datarootdir}/man'
871
872ac_prev=
873ac_dashdash=
874for ac_option
875do
876  # If the previous option needs an argument, assign it.
877  if test -n "$ac_prev"; then
878    eval $ac_prev=\$ac_option
879    ac_prev=
880    continue
881  fi
882
883  case $ac_option in
884  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
885  *=)   ac_optarg= ;;
886  *)    ac_optarg=yes ;;
887  esac
888
889  # Accept the important Cygnus configure options, so we can diagnose typos.
890
891  case $ac_dashdash$ac_option in
892  --)
893    ac_dashdash=yes ;;
894
895  -bindir | --bindir | --bindi | --bind | --bin | --bi)
896    ac_prev=bindir ;;
897  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
898    bindir=$ac_optarg ;;
899
900  -build | --build | --buil | --bui | --bu)
901    ac_prev=build_alias ;;
902  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
903    build_alias=$ac_optarg ;;
904
905  -cache-file | --cache-file | --cache-fil | --cache-fi \
906  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
907    ac_prev=cache_file ;;
908  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
909  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
910    cache_file=$ac_optarg ;;
911
912  --config-cache | -C)
913    cache_file=config.cache ;;
914
915  -datadir | --datadir | --datadi | --datad)
916    ac_prev=datadir ;;
917  -datadir=* | --datadir=* | --datadi=* | --datad=*)
918    datadir=$ac_optarg ;;
919
920  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
921  | --dataroo | --dataro | --datar)
922    ac_prev=datarootdir ;;
923  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
924  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
925    datarootdir=$ac_optarg ;;
926
927  -disable-* | --disable-*)
928    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
929    # Reject names that are not valid shell variable names.
930    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
931      as_fn_error $? "invalid feature name: $ac_useropt"
932    ac_useropt_orig=$ac_useropt
933    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
934    case $ac_user_opts in
935      *"
936"enable_$ac_useropt"
937"*) ;;
938      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
939	 ac_unrecognized_sep=', ';;
940    esac
941    eval enable_$ac_useropt=no ;;
942
943  -docdir | --docdir | --docdi | --doc | --do)
944    ac_prev=docdir ;;
945  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
946    docdir=$ac_optarg ;;
947
948  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
949    ac_prev=dvidir ;;
950  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
951    dvidir=$ac_optarg ;;
952
953  -enable-* | --enable-*)
954    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
955    # Reject names that are not valid shell variable names.
956    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
957      as_fn_error $? "invalid feature name: $ac_useropt"
958    ac_useropt_orig=$ac_useropt
959    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
960    case $ac_user_opts in
961      *"
962"enable_$ac_useropt"
963"*) ;;
964      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
965	 ac_unrecognized_sep=', ';;
966    esac
967    eval enable_$ac_useropt=\$ac_optarg ;;
968
969  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
970  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
971  | --exec | --exe | --ex)
972    ac_prev=exec_prefix ;;
973  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
974  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
975  | --exec=* | --exe=* | --ex=*)
976    exec_prefix=$ac_optarg ;;
977
978  -gas | --gas | --ga | --g)
979    # Obsolete; use --with-gas.
980    with_gas=yes ;;
981
982  -help | --help | --hel | --he | -h)
983    ac_init_help=long ;;
984  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
985    ac_init_help=recursive ;;
986  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
987    ac_init_help=short ;;
988
989  -host | --host | --hos | --ho)
990    ac_prev=host_alias ;;
991  -host=* | --host=* | --hos=* | --ho=*)
992    host_alias=$ac_optarg ;;
993
994  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
995    ac_prev=htmldir ;;
996  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
997  | --ht=*)
998    htmldir=$ac_optarg ;;
999
1000  -includedir | --includedir | --includedi | --included | --include \
1001  | --includ | --inclu | --incl | --inc)
1002    ac_prev=includedir ;;
1003  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1004  | --includ=* | --inclu=* | --incl=* | --inc=*)
1005    includedir=$ac_optarg ;;
1006
1007  -infodir | --infodir | --infodi | --infod | --info | --inf)
1008    ac_prev=infodir ;;
1009  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1010    infodir=$ac_optarg ;;
1011
1012  -libdir | --libdir | --libdi | --libd)
1013    ac_prev=libdir ;;
1014  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1015    libdir=$ac_optarg ;;
1016
1017  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1018  | --libexe | --libex | --libe)
1019    ac_prev=libexecdir ;;
1020  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1021  | --libexe=* | --libex=* | --libe=*)
1022    libexecdir=$ac_optarg ;;
1023
1024  -localedir | --localedir | --localedi | --localed | --locale)
1025    ac_prev=localedir ;;
1026  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1027    localedir=$ac_optarg ;;
1028
1029  -localstatedir | --localstatedir | --localstatedi | --localstated \
1030  | --localstate | --localstat | --localsta | --localst | --locals)
1031    ac_prev=localstatedir ;;
1032  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1033  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1034    localstatedir=$ac_optarg ;;
1035
1036  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1037    ac_prev=mandir ;;
1038  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1039    mandir=$ac_optarg ;;
1040
1041  -nfp | --nfp | --nf)
1042    # Obsolete; use --without-fp.
1043    with_fp=no ;;
1044
1045  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1046  | --no-cr | --no-c | -n)
1047    no_create=yes ;;
1048
1049  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1050  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1051    no_recursion=yes ;;
1052
1053  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1054  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1055  | --oldin | --oldi | --old | --ol | --o)
1056    ac_prev=oldincludedir ;;
1057  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1058  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1059  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1060    oldincludedir=$ac_optarg ;;
1061
1062  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1063    ac_prev=prefix ;;
1064  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1065    prefix=$ac_optarg ;;
1066
1067  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1068  | --program-pre | --program-pr | --program-p)
1069    ac_prev=program_prefix ;;
1070  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1071  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1072    program_prefix=$ac_optarg ;;
1073
1074  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1075  | --program-suf | --program-su | --program-s)
1076    ac_prev=program_suffix ;;
1077  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1078  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1079    program_suffix=$ac_optarg ;;
1080
1081  -program-transform-name | --program-transform-name \
1082  | --program-transform-nam | --program-transform-na \
1083  | --program-transform-n | --program-transform- \
1084  | --program-transform | --program-transfor \
1085  | --program-transfo | --program-transf \
1086  | --program-trans | --program-tran \
1087  | --progr-tra | --program-tr | --program-t)
1088    ac_prev=program_transform_name ;;
1089  -program-transform-name=* | --program-transform-name=* \
1090  | --program-transform-nam=* | --program-transform-na=* \
1091  | --program-transform-n=* | --program-transform-=* \
1092  | --program-transform=* | --program-transfor=* \
1093  | --program-transfo=* | --program-transf=* \
1094  | --program-trans=* | --program-tran=* \
1095  | --progr-tra=* | --program-tr=* | --program-t=*)
1096    program_transform_name=$ac_optarg ;;
1097
1098  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1099    ac_prev=pdfdir ;;
1100  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1101    pdfdir=$ac_optarg ;;
1102
1103  -psdir | --psdir | --psdi | --psd | --ps)
1104    ac_prev=psdir ;;
1105  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1106    psdir=$ac_optarg ;;
1107
1108  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1109  | -silent | --silent | --silen | --sile | --sil)
1110    silent=yes ;;
1111
1112  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1113    ac_prev=sbindir ;;
1114  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1115  | --sbi=* | --sb=*)
1116    sbindir=$ac_optarg ;;
1117
1118  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1119  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1120  | --sharedst | --shareds | --shared | --share | --shar \
1121  | --sha | --sh)
1122    ac_prev=sharedstatedir ;;
1123  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1124  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1125  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1126  | --sha=* | --sh=*)
1127    sharedstatedir=$ac_optarg ;;
1128
1129  -site | --site | --sit)
1130    ac_prev=site ;;
1131  -site=* | --site=* | --sit=*)
1132    site=$ac_optarg ;;
1133
1134  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1135    ac_prev=srcdir ;;
1136  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1137    srcdir=$ac_optarg ;;
1138
1139  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1140  | --syscon | --sysco | --sysc | --sys | --sy)
1141    ac_prev=sysconfdir ;;
1142  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1143  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1144    sysconfdir=$ac_optarg ;;
1145
1146  -target | --target | --targe | --targ | --tar | --ta | --t)
1147    ac_prev=target_alias ;;
1148  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1149    target_alias=$ac_optarg ;;
1150
1151  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1152    verbose=yes ;;
1153
1154  -version | --version | --versio | --versi | --vers | -V)
1155    ac_init_version=: ;;
1156
1157  -with-* | --with-*)
1158    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1159    # Reject names that are not valid shell variable names.
1160    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1161      as_fn_error $? "invalid package name: $ac_useropt"
1162    ac_useropt_orig=$ac_useropt
1163    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1164    case $ac_user_opts in
1165      *"
1166"with_$ac_useropt"
1167"*) ;;
1168      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1169	 ac_unrecognized_sep=', ';;
1170    esac
1171    eval with_$ac_useropt=\$ac_optarg ;;
1172
1173  -without-* | --without-*)
1174    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1175    # Reject names that are not valid shell variable names.
1176    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1177      as_fn_error $? "invalid package name: $ac_useropt"
1178    ac_useropt_orig=$ac_useropt
1179    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1180    case $ac_user_opts in
1181      *"
1182"with_$ac_useropt"
1183"*) ;;
1184      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1185	 ac_unrecognized_sep=', ';;
1186    esac
1187    eval with_$ac_useropt=no ;;
1188
1189  --x)
1190    # Obsolete; use --with-x.
1191    with_x=yes ;;
1192
1193  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1194  | --x-incl | --x-inc | --x-in | --x-i)
1195    ac_prev=x_includes ;;
1196  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1197  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1198    x_includes=$ac_optarg ;;
1199
1200  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1201  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1202    ac_prev=x_libraries ;;
1203  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1204  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1205    x_libraries=$ac_optarg ;;
1206
1207  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1208Try \`$0 --help' for more information"
1209    ;;
1210
1211  *=*)
1212    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1213    # Reject names that are not valid shell variable names.
1214    case $ac_envvar in #(
1215      '' | [0-9]* | *[!_$as_cr_alnum]* )
1216      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1217    esac
1218    eval $ac_envvar=\$ac_optarg
1219    export $ac_envvar ;;
1220
1221  *)
1222    # FIXME: should be removed in autoconf 3.0.
1223    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1224    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1225      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1226    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1227    ;;
1228
1229  esac
1230done
1231
1232if test -n "$ac_prev"; then
1233  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1234  as_fn_error $? "missing argument to $ac_option"
1235fi
1236
1237if test -n "$ac_unrecognized_opts"; then
1238  case $enable_option_checking in
1239    no) ;;
1240    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1241    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1242  esac
1243fi
1244
1245# Check all directory arguments for consistency.
1246for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1247		datadir sysconfdir sharedstatedir localstatedir includedir \
1248		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1249		libdir localedir mandir
1250do
1251  eval ac_val=\$$ac_var
1252  # Remove trailing slashes.
1253  case $ac_val in
1254    */ )
1255      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1256      eval $ac_var=\$ac_val;;
1257  esac
1258  # Be sure to have absolute directory names.
1259  case $ac_val in
1260    [\\/$]* | ?:[\\/]* )  continue;;
1261    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1262  esac
1263  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1264done
1265
1266# There might be people who depend on the old broken behavior: `$host'
1267# used to hold the argument of --host etc.
1268# FIXME: To remove some day.
1269build=$build_alias
1270host=$host_alias
1271target=$target_alias
1272
1273# FIXME: To remove some day.
1274if test "x$host_alias" != x; then
1275  if test "x$build_alias" = x; then
1276    cross_compiling=maybe
1277  elif test "x$build_alias" != "x$host_alias"; then
1278    cross_compiling=yes
1279  fi
1280fi
1281
1282ac_tool_prefix=
1283test -n "$host_alias" && ac_tool_prefix=$host_alias-
1284
1285test "$silent" = yes && exec 6>/dev/null
1286
1287
1288ac_pwd=`pwd` && test -n "$ac_pwd" &&
1289ac_ls_di=`ls -di .` &&
1290ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1291  as_fn_error $? "working directory cannot be determined"
1292test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1293  as_fn_error $? "pwd does not report name of working directory"
1294
1295
1296# Find the source files, if location was not specified.
1297if test -z "$srcdir"; then
1298  ac_srcdir_defaulted=yes
1299  # Try the directory containing this script, then the parent directory.
1300  ac_confdir=`$as_dirname -- "$as_myself" ||
1301$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1302	 X"$as_myself" : 'X\(//\)[^/]' \| \
1303	 X"$as_myself" : 'X\(//\)$' \| \
1304	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1305$as_echo X"$as_myself" |
1306    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1307	    s//\1/
1308	    q
1309	  }
1310	  /^X\(\/\/\)[^/].*/{
1311	    s//\1/
1312	    q
1313	  }
1314	  /^X\(\/\/\)$/{
1315	    s//\1/
1316	    q
1317	  }
1318	  /^X\(\/\).*/{
1319	    s//\1/
1320	    q
1321	  }
1322	  s/.*/./; q'`
1323  srcdir=$ac_confdir
1324  if test ! -r "$srcdir/$ac_unique_file"; then
1325    srcdir=..
1326  fi
1327else
1328  ac_srcdir_defaulted=no
1329fi
1330if test ! -r "$srcdir/$ac_unique_file"; then
1331  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1332  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1333fi
1334ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1335ac_abs_confdir=`(
1336	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1337	pwd)`
1338# When building in place, set srcdir=.
1339if test "$ac_abs_confdir" = "$ac_pwd"; then
1340  srcdir=.
1341fi
1342# Remove unnecessary trailing slashes from srcdir.
1343# Double slashes in file names in object file debugging info
1344# mess up M-x gdb in Emacs.
1345case $srcdir in
1346*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1347esac
1348for ac_var in $ac_precious_vars; do
1349  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1350  eval ac_env_${ac_var}_value=\$${ac_var}
1351  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1352  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1353done
1354
1355#
1356# Report the --help message.
1357#
1358if test "$ac_init_help" = "long"; then
1359  # Omit some internal or obsolete options to make the list less imposing.
1360  # This message is too long to be a string in the A/UX 3.1 sh.
1361  cat <<_ACEOF
1362\`configure' configures usbmuxd 1.1.1 to adapt to many kinds of systems.
1363
1364Usage: $0 [OPTION]... [VAR=VALUE]...
1365
1366To assign environment variables (e.g., CC, CFLAGS...), specify them as
1367VAR=VALUE.  See below for descriptions of some of the useful variables.
1368
1369Defaults for the options are specified in brackets.
1370
1371Configuration:
1372  -h, --help              display this help and exit
1373      --help=short        display options specific to this package
1374      --help=recursive    display the short help of all the included packages
1375  -V, --version           display version information and exit
1376  -q, --quiet, --silent   do not print \`checking ...' messages
1377      --cache-file=FILE   cache test results in FILE [disabled]
1378  -C, --config-cache      alias for \`--cache-file=config.cache'
1379  -n, --no-create         do not create output files
1380      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1381
1382Installation directories:
1383  --prefix=PREFIX         install architecture-independent files in PREFIX
1384                          [$ac_default_prefix]
1385  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1386                          [PREFIX]
1387
1388By default, \`make install' will install all the files in
1389\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1390an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1391for instance \`--prefix=\$HOME'.
1392
1393For better control, use the options below.
1394
1395Fine tuning of the installation directories:
1396  --bindir=DIR            user executables [EPREFIX/bin]
1397  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1398  --libexecdir=DIR        program executables [EPREFIX/libexec]
1399  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1400  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1401  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1402  --libdir=DIR            object code libraries [EPREFIX/lib]
1403  --includedir=DIR        C header files [PREFIX/include]
1404  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1405  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1406  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1407  --infodir=DIR           info documentation [DATAROOTDIR/info]
1408  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1409  --mandir=DIR            man documentation [DATAROOTDIR/man]
1410  --docdir=DIR            documentation root [DATAROOTDIR/doc/usbmuxd]
1411  --htmldir=DIR           html documentation [DOCDIR]
1412  --dvidir=DIR            dvi documentation [DOCDIR]
1413  --pdfdir=DIR            pdf documentation [DOCDIR]
1414  --psdir=DIR             ps documentation [DOCDIR]
1415_ACEOF
1416
1417  cat <<\_ACEOF
1418
1419Program names:
1420  --program-prefix=PREFIX            prepend PREFIX to installed program names
1421  --program-suffix=SUFFIX            append SUFFIX to installed program names
1422  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1423
1424System types:
1425  --build=BUILD     configure for building on BUILD [guessed]
1426  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1427_ACEOF
1428fi
1429
1430if test -n "$ac_init_help"; then
1431  case $ac_init_help in
1432     short | recursive ) echo "Configuration of usbmuxd 1.1.1:";;
1433   esac
1434  cat <<\_ACEOF
1435
1436Optional Features:
1437  --disable-option-checking  ignore unrecognized --enable/--with options
1438  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1439  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1440  --enable-silent-rules   less verbose build output (undo: "make V=1")
1441  --disable-silent-rules  verbose build output (undo: "make V=0")
1442  --enable-dependency-tracking
1443                          do not reject slow dependency extractors
1444  --disable-dependency-tracking
1445                          speeds up one-time build
1446  --enable-shared[=PKGS]  build shared libraries [default=yes]
1447  --enable-static[=PKGS]  build static libraries [default=yes]
1448  --enable-fast-install[=PKGS]
1449                          optimize for fast installation [default=yes]
1450  --disable-libtool-lock  avoid locking (might break parallel builds)
1451
1452Optional Packages:
1453  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1454  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1455  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1456                          both]
1457  --with-aix-soname=aix|svr4|both
1458                          shared library versioning (aka "SONAME") variant to
1459                          provide on AIX, [default=aix].
1460  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1461  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1462                          compiler's sysroot if not specified).
1463  --without-preflight     do not build with preflight worker support
1464                          [default=yes]
1465  --with-udevrulesdir=DIR Directory for udev rules
1466  --without-systemd       do not build with systemd support [default=yes]
1467  --with-systemdsystemunitdir=DIR
1468                          directory for systemd service files
1469
1470Some influential environment variables:
1471  CC          C compiler command
1472  CFLAGS      C compiler flags
1473  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1474              nonstandard directory <lib dir>
1475  LIBS        libraries to pass to the linker, e.g. -l<library>
1476  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1477              you have headers in a nonstandard directory <include dir>
1478  CXX         C++ compiler command
1479  CXXFLAGS    C++ compiler flags
1480  LT_SYS_LIBRARY_PATH
1481              User-defined run-time library search path.
1482  CPP         C preprocessor
1483  CXXCPP      C++ preprocessor
1484  PKG_CONFIG  path to pkg-config utility
1485  PKG_CONFIG_PATH
1486              directories to add to pkg-config's search path
1487  PKG_CONFIG_LIBDIR
1488              path overriding pkg-config's built-in search path
1489  libusb_CFLAGS
1490              C compiler flags for libusb, overriding pkg-config
1491  libusb_LIBS linker flags for libusb, overriding pkg-config
1492  libplist_CFLAGS
1493              C compiler flags for libplist, overriding pkg-config
1494  libplist_LIBS
1495              linker flags for libplist, overriding pkg-config
1496  libimobiledevice_CFLAGS
1497              C compiler flags for libimobiledevice, overriding pkg-config
1498  libimobiledevice_LIBS
1499              linker flags for libimobiledevice, overriding pkg-config
1500
1501Use these variables to override the choices made by `configure' or to help
1502it to find libraries and programs with nonstandard names/locations.
1503
1504Report bugs to <https://github.com/libimobiledevice/usbmuxd/issues>.
1505usbmuxd home page: <https://libimobiledevice.org>.
1506_ACEOF
1507ac_status=$?
1508fi
1509
1510if test "$ac_init_help" = "recursive"; then
1511  # If there are subdirs, report their specific --help.
1512  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1513    test -d "$ac_dir" ||
1514      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1515      continue
1516    ac_builddir=.
1517
1518case "$ac_dir" in
1519.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1520*)
1521  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1522  # A ".." for each directory in $ac_dir_suffix.
1523  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1524  case $ac_top_builddir_sub in
1525  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1526  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1527  esac ;;
1528esac
1529ac_abs_top_builddir=$ac_pwd
1530ac_abs_builddir=$ac_pwd$ac_dir_suffix
1531# for backward compatibility:
1532ac_top_builddir=$ac_top_build_prefix
1533
1534case $srcdir in
1535  .)  # We are building in place.
1536    ac_srcdir=.
1537    ac_top_srcdir=$ac_top_builddir_sub
1538    ac_abs_top_srcdir=$ac_pwd ;;
1539  [\\/]* | ?:[\\/]* )  # Absolute name.
1540    ac_srcdir=$srcdir$ac_dir_suffix;
1541    ac_top_srcdir=$srcdir
1542    ac_abs_top_srcdir=$srcdir ;;
1543  *) # Relative name.
1544    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1545    ac_top_srcdir=$ac_top_build_prefix$srcdir
1546    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1547esac
1548ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1549
1550    cd "$ac_dir" || { ac_status=$?; continue; }
1551    # Check for guested configure.
1552    if test -f "$ac_srcdir/configure.gnu"; then
1553      echo &&
1554      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1555    elif test -f "$ac_srcdir/configure"; then
1556      echo &&
1557      $SHELL "$ac_srcdir/configure" --help=recursive
1558    else
1559      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1560    fi || ac_status=$?
1561    cd "$ac_pwd" || { ac_status=$?; break; }
1562  done
1563fi
1564
1565test -n "$ac_init_help" && exit $ac_status
1566if $ac_init_version; then
1567  cat <<\_ACEOF
1568usbmuxd configure 1.1.1
1569generated by GNU Autoconf 2.69
1570
1571Copyright (C) 2012 Free Software Foundation, Inc.
1572This configure script is free software; the Free Software Foundation
1573gives unlimited permission to copy, distribute and modify it.
1574_ACEOF
1575  exit
1576fi
1577
1578## ------------------------ ##
1579## Autoconf initialization. ##
1580## ------------------------ ##
1581
1582# ac_fn_c_try_compile LINENO
1583# --------------------------
1584# Try to compile conftest.$ac_ext, and return whether this succeeded.
1585ac_fn_c_try_compile ()
1586{
1587  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588  rm -f conftest.$ac_objext
1589  if { { ac_try="$ac_compile"
1590case "(($ac_try" in
1591  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1592  *) ac_try_echo=$ac_try;;
1593esac
1594eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595$as_echo "$ac_try_echo"; } >&5
1596  (eval "$ac_compile") 2>conftest.err
1597  ac_status=$?
1598  if test -s conftest.err; then
1599    grep -v '^ *+' conftest.err >conftest.er1
1600    cat conftest.er1 >&5
1601    mv -f conftest.er1 conftest.err
1602  fi
1603  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1604  test $ac_status = 0; } && {
1605	 test -z "$ac_c_werror_flag" ||
1606	 test ! -s conftest.err
1607       } && test -s conftest.$ac_objext; then :
1608  ac_retval=0
1609else
1610  $as_echo "$as_me: failed program was:" >&5
1611sed 's/^/| /' conftest.$ac_ext >&5
1612
1613	ac_retval=1
1614fi
1615  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1616  as_fn_set_status $ac_retval
1617
1618} # ac_fn_c_try_compile
1619
1620# ac_fn_cxx_try_compile LINENO
1621# ----------------------------
1622# Try to compile conftest.$ac_ext, and return whether this succeeded.
1623ac_fn_cxx_try_compile ()
1624{
1625  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626  rm -f conftest.$ac_objext
1627  if { { ac_try="$ac_compile"
1628case "(($ac_try" in
1629  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630  *) ac_try_echo=$ac_try;;
1631esac
1632eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633$as_echo "$ac_try_echo"; } >&5
1634  (eval "$ac_compile") 2>conftest.err
1635  ac_status=$?
1636  if test -s conftest.err; then
1637    grep -v '^ *+' conftest.err >conftest.er1
1638    cat conftest.er1 >&5
1639    mv -f conftest.er1 conftest.err
1640  fi
1641  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642  test $ac_status = 0; } && {
1643	 test -z "$ac_cxx_werror_flag" ||
1644	 test ! -s conftest.err
1645       } && test -s conftest.$ac_objext; then :
1646  ac_retval=0
1647else
1648  $as_echo "$as_me: failed program was:" >&5
1649sed 's/^/| /' conftest.$ac_ext >&5
1650
1651	ac_retval=1
1652fi
1653  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654  as_fn_set_status $ac_retval
1655
1656} # ac_fn_cxx_try_compile
1657
1658# ac_fn_c_try_link LINENO
1659# -----------------------
1660# Try to link conftest.$ac_ext, and return whether this succeeded.
1661ac_fn_c_try_link ()
1662{
1663  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664  rm -f conftest.$ac_objext conftest$ac_exeext
1665  if { { ac_try="$ac_link"
1666case "(($ac_try" in
1667  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668  *) ac_try_echo=$ac_try;;
1669esac
1670eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671$as_echo "$ac_try_echo"; } >&5
1672  (eval "$ac_link") 2>conftest.err
1673  ac_status=$?
1674  if test -s conftest.err; then
1675    grep -v '^ *+' conftest.err >conftest.er1
1676    cat conftest.er1 >&5
1677    mv -f conftest.er1 conftest.err
1678  fi
1679  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680  test $ac_status = 0; } && {
1681	 test -z "$ac_c_werror_flag" ||
1682	 test ! -s conftest.err
1683       } && test -s conftest$ac_exeext && {
1684	 test "$cross_compiling" = yes ||
1685	 test -x conftest$ac_exeext
1686       }; then :
1687  ac_retval=0
1688else
1689  $as_echo "$as_me: failed program was:" >&5
1690sed 's/^/| /' conftest.$ac_ext >&5
1691
1692	ac_retval=1
1693fi
1694  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1695  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1696  # interfere with the next link command; also delete a directory that is
1697  # left behind by Apple's compiler.  We do this before executing the actions.
1698  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1699  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1700  as_fn_set_status $ac_retval
1701
1702} # ac_fn_c_try_link
1703
1704# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1705# -------------------------------------------------------
1706# Tests whether HEADER exists and can be compiled using the include files in
1707# INCLUDES, setting the cache variable VAR accordingly.
1708ac_fn_c_check_header_compile ()
1709{
1710  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1712$as_echo_n "checking for $2... " >&6; }
1713if eval \${$3+:} false; then :
1714  $as_echo_n "(cached) " >&6
1715else
1716  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1717/* end confdefs.h.  */
1718$4
1719#include <$2>
1720_ACEOF
1721if ac_fn_c_try_compile "$LINENO"; then :
1722  eval "$3=yes"
1723else
1724  eval "$3=no"
1725fi
1726rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1727fi
1728eval ac_res=\$$3
1729	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1730$as_echo "$ac_res" >&6; }
1731  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732
1733} # ac_fn_c_check_header_compile
1734
1735# ac_fn_c_try_cpp LINENO
1736# ----------------------
1737# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1738ac_fn_c_try_cpp ()
1739{
1740  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741  if { { ac_try="$ac_cpp conftest.$ac_ext"
1742case "(($ac_try" in
1743  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1744  *) ac_try_echo=$ac_try;;
1745esac
1746eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747$as_echo "$ac_try_echo"; } >&5
1748  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1749  ac_status=$?
1750  if test -s conftest.err; then
1751    grep -v '^ *+' conftest.err >conftest.er1
1752    cat conftest.er1 >&5
1753    mv -f conftest.er1 conftest.err
1754  fi
1755  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756  test $ac_status = 0; } > conftest.i && {
1757	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1758	 test ! -s conftest.err
1759       }; then :
1760  ac_retval=0
1761else
1762  $as_echo "$as_me: failed program was:" >&5
1763sed 's/^/| /' conftest.$ac_ext >&5
1764
1765    ac_retval=1
1766fi
1767  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1768  as_fn_set_status $ac_retval
1769
1770} # ac_fn_c_try_cpp
1771
1772# ac_fn_c_try_run LINENO
1773# ----------------------
1774# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1775# that executables *can* be run.
1776ac_fn_c_try_run ()
1777{
1778  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779  if { { ac_try="$ac_link"
1780case "(($ac_try" in
1781  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1782  *) ac_try_echo=$ac_try;;
1783esac
1784eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1785$as_echo "$ac_try_echo"; } >&5
1786  (eval "$ac_link") 2>&5
1787  ac_status=$?
1788  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1790  { { case "(($ac_try" in
1791  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792  *) ac_try_echo=$ac_try;;
1793esac
1794eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795$as_echo "$ac_try_echo"; } >&5
1796  (eval "$ac_try") 2>&5
1797  ac_status=$?
1798  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799  test $ac_status = 0; }; }; then :
1800  ac_retval=0
1801else
1802  $as_echo "$as_me: program exited with status $ac_status" >&5
1803       $as_echo "$as_me: failed program was:" >&5
1804sed 's/^/| /' conftest.$ac_ext >&5
1805
1806       ac_retval=$ac_status
1807fi
1808  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1809  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810  as_fn_set_status $ac_retval
1811
1812} # ac_fn_c_try_run
1813
1814# ac_fn_c_check_func LINENO FUNC VAR
1815# ----------------------------------
1816# Tests whether FUNC exists, setting the cache variable VAR accordingly
1817ac_fn_c_check_func ()
1818{
1819  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1821$as_echo_n "checking for $2... " >&6; }
1822if eval \${$3+:} false; then :
1823  $as_echo_n "(cached) " >&6
1824else
1825  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1826/* end confdefs.h.  */
1827/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1828   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1829#define $2 innocuous_$2
1830
1831/* System header to define __stub macros and hopefully few prototypes,
1832    which can conflict with char $2 (); below.
1833    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1834    <limits.h> exists even on freestanding compilers.  */
1835
1836#ifdef __STDC__
1837# include <limits.h>
1838#else
1839# include <assert.h>
1840#endif
1841
1842#undef $2
1843
1844/* Override any GCC internal prototype to avoid an error.
1845   Use char because int might match the return type of a GCC
1846   builtin and then its argument prototype would still apply.  */
1847#ifdef __cplusplus
1848extern "C"
1849#endif
1850char $2 ();
1851/* The GNU C library defines this for functions which it implements
1852    to always fail with ENOSYS.  Some functions are actually named
1853    something starting with __ and the normal name is an alias.  */
1854#if defined __stub_$2 || defined __stub___$2
1855choke me
1856#endif
1857
1858int
1859main ()
1860{
1861return $2 ();
1862  ;
1863  return 0;
1864}
1865_ACEOF
1866if ac_fn_c_try_link "$LINENO"; then :
1867  eval "$3=yes"
1868else
1869  eval "$3=no"
1870fi
1871rm -f core conftest.err conftest.$ac_objext \
1872    conftest$ac_exeext conftest.$ac_ext
1873fi
1874eval ac_res=\$$3
1875	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876$as_echo "$ac_res" >&6; }
1877  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1878
1879} # ac_fn_c_check_func
1880
1881# ac_fn_cxx_try_cpp LINENO
1882# ------------------------
1883# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1884ac_fn_cxx_try_cpp ()
1885{
1886  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887  if { { ac_try="$ac_cpp conftest.$ac_ext"
1888case "(($ac_try" in
1889  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1890  *) ac_try_echo=$ac_try;;
1891esac
1892eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1893$as_echo "$ac_try_echo"; } >&5
1894  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1895  ac_status=$?
1896  if test -s conftest.err; then
1897    grep -v '^ *+' conftest.err >conftest.er1
1898    cat conftest.er1 >&5
1899    mv -f conftest.er1 conftest.err
1900  fi
1901  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1902  test $ac_status = 0; } > conftest.i && {
1903	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1904	 test ! -s conftest.err
1905       }; then :
1906  ac_retval=0
1907else
1908  $as_echo "$as_me: failed program was:" >&5
1909sed 's/^/| /' conftest.$ac_ext >&5
1910
1911    ac_retval=1
1912fi
1913  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1914  as_fn_set_status $ac_retval
1915
1916} # ac_fn_cxx_try_cpp
1917
1918# ac_fn_cxx_try_link LINENO
1919# -------------------------
1920# Try to link conftest.$ac_ext, and return whether this succeeded.
1921ac_fn_cxx_try_link ()
1922{
1923  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924  rm -f conftest.$ac_objext conftest$ac_exeext
1925  if { { ac_try="$ac_link"
1926case "(($ac_try" in
1927  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1928  *) ac_try_echo=$ac_try;;
1929esac
1930eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1931$as_echo "$ac_try_echo"; } >&5
1932  (eval "$ac_link") 2>conftest.err
1933  ac_status=$?
1934  if test -s conftest.err; then
1935    grep -v '^ *+' conftest.err >conftest.er1
1936    cat conftest.er1 >&5
1937    mv -f conftest.er1 conftest.err
1938  fi
1939  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940  test $ac_status = 0; } && {
1941	 test -z "$ac_cxx_werror_flag" ||
1942	 test ! -s conftest.err
1943       } && test -s conftest$ac_exeext && {
1944	 test "$cross_compiling" = yes ||
1945	 test -x conftest$ac_exeext
1946       }; then :
1947  ac_retval=0
1948else
1949  $as_echo "$as_me: failed program was:" >&5
1950sed 's/^/| /' conftest.$ac_ext >&5
1951
1952	ac_retval=1
1953fi
1954  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1955  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1956  # interfere with the next link command; also delete a directory that is
1957  # left behind by Apple's compiler.  We do this before executing the actions.
1958  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1959  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1960  as_fn_set_status $ac_retval
1961
1962} # ac_fn_cxx_try_link
1963
1964# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1965# -------------------------------------------------------
1966# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1967# the include files in INCLUDES and setting the cache variable VAR
1968# accordingly.
1969ac_fn_c_check_header_mongrel ()
1970{
1971  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1972  if eval \${$3+:} false; then :
1973  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1974$as_echo_n "checking for $2... " >&6; }
1975if eval \${$3+:} false; then :
1976  $as_echo_n "(cached) " >&6
1977fi
1978eval ac_res=\$$3
1979	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1980$as_echo "$ac_res" >&6; }
1981else
1982  # Is the header compilable?
1983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1984$as_echo_n "checking $2 usability... " >&6; }
1985cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1986/* end confdefs.h.  */
1987$4
1988#include <$2>
1989_ACEOF
1990if ac_fn_c_try_compile "$LINENO"; then :
1991  ac_header_compiler=yes
1992else
1993  ac_header_compiler=no
1994fi
1995rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1997$as_echo "$ac_header_compiler" >&6; }
1998
1999# Is the header present?
2000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2001$as_echo_n "checking $2 presence... " >&6; }
2002cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2003/* end confdefs.h.  */
2004#include <$2>
2005_ACEOF
2006if ac_fn_c_try_cpp "$LINENO"; then :
2007  ac_header_preproc=yes
2008else
2009  ac_header_preproc=no
2010fi
2011rm -f conftest.err conftest.i conftest.$ac_ext
2012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2013$as_echo "$ac_header_preproc" >&6; }
2014
2015# So?  What about this header?
2016case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2017  yes:no: )
2018    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2019$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2020    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2021$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2022    ;;
2023  no:yes:* )
2024    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2025$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2026    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2027$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2028    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2029$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2030    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2031$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2032    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2033$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2034( $as_echo "## ----------------------------------------------------------------- ##
2035## Report this to https://github.com/libimobiledevice/usbmuxd/issues ##
2036## ----------------------------------------------------------------- ##"
2037     ) | sed "s/^/$as_me: WARNING:     /" >&2
2038    ;;
2039esac
2040  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2041$as_echo_n "checking for $2... " >&6; }
2042if eval \${$3+:} false; then :
2043  $as_echo_n "(cached) " >&6
2044else
2045  eval "$3=\$ac_header_compiler"
2046fi
2047eval ac_res=\$$3
2048	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2049$as_echo "$ac_res" >&6; }
2050fi
2051  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2052
2053} # ac_fn_c_check_header_mongrel
2054
2055# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2056# -------------------------------------------
2057# Tests whether TYPE exists after having included INCLUDES, setting cache
2058# variable VAR accordingly.
2059ac_fn_c_check_type ()
2060{
2061  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2062  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2063$as_echo_n "checking for $2... " >&6; }
2064if eval \${$3+:} false; then :
2065  $as_echo_n "(cached) " >&6
2066else
2067  eval "$3=no"
2068  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069/* end confdefs.h.  */
2070$4
2071int
2072main ()
2073{
2074if (sizeof ($2))
2075	 return 0;
2076  ;
2077  return 0;
2078}
2079_ACEOF
2080if ac_fn_c_try_compile "$LINENO"; then :
2081  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2082/* end confdefs.h.  */
2083$4
2084int
2085main ()
2086{
2087if (sizeof (($2)))
2088	    return 0;
2089  ;
2090  return 0;
2091}
2092_ACEOF
2093if ac_fn_c_try_compile "$LINENO"; then :
2094
2095else
2096  eval "$3=yes"
2097fi
2098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2099fi
2100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101fi
2102eval ac_res=\$$3
2103	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2104$as_echo "$ac_res" >&6; }
2105  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2106
2107} # ac_fn_c_check_type
2108
2109# ac_fn_c_find_uintX_t LINENO BITS VAR
2110# ------------------------------------
2111# Finds an unsigned integer type with width BITS, setting cache variable VAR
2112# accordingly.
2113ac_fn_c_find_uintX_t ()
2114{
2115  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2116  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2117$as_echo_n "checking for uint$2_t... " >&6; }
2118if eval \${$3+:} false; then :
2119  $as_echo_n "(cached) " >&6
2120else
2121  eval "$3=no"
2122     # Order is important - never check a type that is potentially smaller
2123     # than half of the expected target width.
2124     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2125	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2126       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2127/* end confdefs.h.  */
2128$ac_includes_default
2129int
2130main ()
2131{
2132static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2133test_array [0] = 0;
2134return test_array [0];
2135
2136  ;
2137  return 0;
2138}
2139_ACEOF
2140if ac_fn_c_try_compile "$LINENO"; then :
2141  case $ac_type in #(
2142  uint$2_t) :
2143    eval "$3=yes" ;; #(
2144  *) :
2145    eval "$3=\$ac_type" ;;
2146esac
2147fi
2148rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2149       if eval test \"x\$"$3"\" = x"no"; then :
2150
2151else
2152  break
2153fi
2154     done
2155fi
2156eval ac_res=\$$3
2157	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2158$as_echo "$ac_res" >&6; }
2159  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2160
2161} # ac_fn_c_find_uintX_t
2162cat >config.log <<_ACEOF
2163This file contains any messages produced by compilers while
2164running configure, to aid debugging if configure makes a mistake.
2165
2166It was created by usbmuxd $as_me 1.1.1, which was
2167generated by GNU Autoconf 2.69.  Invocation command line was
2168
2169  $ $0 $@
2170
2171_ACEOF
2172exec 5>>config.log
2173{
2174cat <<_ASUNAME
2175## --------- ##
2176## Platform. ##
2177## --------- ##
2178
2179hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2180uname -m = `(uname -m) 2>/dev/null || echo unknown`
2181uname -r = `(uname -r) 2>/dev/null || echo unknown`
2182uname -s = `(uname -s) 2>/dev/null || echo unknown`
2183uname -v = `(uname -v) 2>/dev/null || echo unknown`
2184
2185/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2186/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2187
2188/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2189/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2190/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2191/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2192/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2193/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2194/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2195
2196_ASUNAME
2197
2198as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2199for as_dir in $PATH
2200do
2201  IFS=$as_save_IFS
2202  test -z "$as_dir" && as_dir=.
2203    $as_echo "PATH: $as_dir"
2204  done
2205IFS=$as_save_IFS
2206
2207} >&5
2208
2209cat >&5 <<_ACEOF
2210
2211
2212## ----------- ##
2213## Core tests. ##
2214## ----------- ##
2215
2216_ACEOF
2217
2218
2219# Keep a trace of the command line.
2220# Strip out --no-create and --no-recursion so they do not pile up.
2221# Strip out --silent because we don't want to record it for future runs.
2222# Also quote any args containing shell meta-characters.
2223# Make two passes to allow for proper duplicate-argument suppression.
2224ac_configure_args=
2225ac_configure_args0=
2226ac_configure_args1=
2227ac_must_keep_next=false
2228for ac_pass in 1 2
2229do
2230  for ac_arg
2231  do
2232    case $ac_arg in
2233    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2234    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2235    | -silent | --silent | --silen | --sile | --sil)
2236      continue ;;
2237    *\'*)
2238      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2239    esac
2240    case $ac_pass in
2241    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2242    2)
2243      as_fn_append ac_configure_args1 " '$ac_arg'"
2244      if test $ac_must_keep_next = true; then
2245	ac_must_keep_next=false # Got value, back to normal.
2246      else
2247	case $ac_arg in
2248	  *=* | --config-cache | -C | -disable-* | --disable-* \
2249	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2250	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2251	  | -with-* | --with-* | -without-* | --without-* | --x)
2252	    case "$ac_configure_args0 " in
2253	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2254	    esac
2255	    ;;
2256	  -* ) ac_must_keep_next=true ;;
2257	esac
2258      fi
2259      as_fn_append ac_configure_args " '$ac_arg'"
2260      ;;
2261    esac
2262  done
2263done
2264{ ac_configure_args0=; unset ac_configure_args0;}
2265{ ac_configure_args1=; unset ac_configure_args1;}
2266
2267# When interrupted or exit'd, cleanup temporary files, and complete
2268# config.log.  We remove comments because anyway the quotes in there
2269# would cause problems or look ugly.
2270# WARNING: Use '\'' to represent an apostrophe within the trap.
2271# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2272trap 'exit_status=$?
2273  # Save into config.log some information that might help in debugging.
2274  {
2275    echo
2276
2277    $as_echo "## ---------------- ##
2278## Cache variables. ##
2279## ---------------- ##"
2280    echo
2281    # The following way of writing the cache mishandles newlines in values,
2282(
2283  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2284    eval ac_val=\$$ac_var
2285    case $ac_val in #(
2286    *${as_nl}*)
2287      case $ac_var in #(
2288      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2289$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2290      esac
2291      case $ac_var in #(
2292      _ | IFS | as_nl) ;; #(
2293      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2294      *) { eval $ac_var=; unset $ac_var;} ;;
2295      esac ;;
2296    esac
2297  done
2298  (set) 2>&1 |
2299    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2300    *${as_nl}ac_space=\ *)
2301      sed -n \
2302	"s/'\''/'\''\\\\'\'''\''/g;
2303	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2304      ;; #(
2305    *)
2306      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2307      ;;
2308    esac |
2309    sort
2310)
2311    echo
2312
2313    $as_echo "## ----------------- ##
2314## Output variables. ##
2315## ----------------- ##"
2316    echo
2317    for ac_var in $ac_subst_vars
2318    do
2319      eval ac_val=\$$ac_var
2320      case $ac_val in
2321      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2322      esac
2323      $as_echo "$ac_var='\''$ac_val'\''"
2324    done | sort
2325    echo
2326
2327    if test -n "$ac_subst_files"; then
2328      $as_echo "## ------------------- ##
2329## File substitutions. ##
2330## ------------------- ##"
2331      echo
2332      for ac_var in $ac_subst_files
2333      do
2334	eval ac_val=\$$ac_var
2335	case $ac_val in
2336	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2337	esac
2338	$as_echo "$ac_var='\''$ac_val'\''"
2339      done | sort
2340      echo
2341    fi
2342
2343    if test -s confdefs.h; then
2344      $as_echo "## ----------- ##
2345## confdefs.h. ##
2346## ----------- ##"
2347      echo
2348      cat confdefs.h
2349      echo
2350    fi
2351    test "$ac_signal" != 0 &&
2352      $as_echo "$as_me: caught signal $ac_signal"
2353    $as_echo "$as_me: exit $exit_status"
2354  } >&5
2355  rm -f core *.core core.conftest.* &&
2356    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2357    exit $exit_status
2358' 0
2359for ac_signal in 1 2 13 15; do
2360  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2361done
2362ac_signal=0
2363
2364# confdefs.h avoids OS command line length limits that DEFS can exceed.
2365rm -f -r conftest* confdefs.h
2366
2367$as_echo "/* confdefs.h */" > confdefs.h
2368
2369# Predefined preprocessor variables.
2370
2371cat >>confdefs.h <<_ACEOF
2372#define PACKAGE_NAME "$PACKAGE_NAME"
2373_ACEOF
2374
2375cat >>confdefs.h <<_ACEOF
2376#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2377_ACEOF
2378
2379cat >>confdefs.h <<_ACEOF
2380#define PACKAGE_VERSION "$PACKAGE_VERSION"
2381_ACEOF
2382
2383cat >>confdefs.h <<_ACEOF
2384#define PACKAGE_STRING "$PACKAGE_STRING"
2385_ACEOF
2386
2387cat >>confdefs.h <<_ACEOF
2388#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2389_ACEOF
2390
2391cat >>confdefs.h <<_ACEOF
2392#define PACKAGE_URL "$PACKAGE_URL"
2393_ACEOF
2394
2395
2396# Let the site file select an alternate cache file if it wants to.
2397# Prefer an explicitly selected file to automatically selected ones.
2398ac_site_file1=NONE
2399ac_site_file2=NONE
2400if test -n "$CONFIG_SITE"; then
2401  # We do not want a PATH search for config.site.
2402  case $CONFIG_SITE in #((
2403    -*)  ac_site_file1=./$CONFIG_SITE;;
2404    */*) ac_site_file1=$CONFIG_SITE;;
2405    *)   ac_site_file1=./$CONFIG_SITE;;
2406  esac
2407elif test "x$prefix" != xNONE; then
2408  ac_site_file1=$prefix/share/config.site
2409  ac_site_file2=$prefix/etc/config.site
2410else
2411  ac_site_file1=$ac_default_prefix/share/config.site
2412  ac_site_file2=$ac_default_prefix/etc/config.site
2413fi
2414for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2415do
2416  test "x$ac_site_file" = xNONE && continue
2417  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2418    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2419$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2420    sed 's/^/| /' "$ac_site_file" >&5
2421    . "$ac_site_file" \
2422      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2423$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2424as_fn_error $? "failed to load site script $ac_site_file
2425See \`config.log' for more details" "$LINENO" 5; }
2426  fi
2427done
2428
2429if test -r "$cache_file"; then
2430  # Some versions of bash will fail to source /dev/null (special files
2431  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2432  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2433    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2434$as_echo "$as_me: loading cache $cache_file" >&6;}
2435    case $cache_file in
2436      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2437      *)                      . "./$cache_file";;
2438    esac
2439  fi
2440else
2441  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2442$as_echo "$as_me: creating cache $cache_file" >&6;}
2443  >$cache_file
2444fi
2445
2446# Check that the precious variables saved in the cache have kept the same
2447# value.
2448ac_cache_corrupted=false
2449for ac_var in $ac_precious_vars; do
2450  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2451  eval ac_new_set=\$ac_env_${ac_var}_set
2452  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2453  eval ac_new_val=\$ac_env_${ac_var}_value
2454  case $ac_old_set,$ac_new_set in
2455    set,)
2456      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2457$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2458      ac_cache_corrupted=: ;;
2459    ,set)
2460      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2461$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2462      ac_cache_corrupted=: ;;
2463    ,);;
2464    *)
2465      if test "x$ac_old_val" != "x$ac_new_val"; then
2466	# differences in whitespace do not lead to failure.
2467	ac_old_val_w=`echo x $ac_old_val`
2468	ac_new_val_w=`echo x $ac_new_val`
2469	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2470	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2471$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2472	  ac_cache_corrupted=:
2473	else
2474	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2475$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2476	  eval $ac_var=\$ac_old_val
2477	fi
2478	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2479$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2480	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2481$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2482      fi;;
2483  esac
2484  # Pass precious variables to config.status.
2485  if test "$ac_new_set" = set; then
2486    case $ac_new_val in
2487    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2488    *) ac_arg=$ac_var=$ac_new_val ;;
2489    esac
2490    case " $ac_configure_args " in
2491      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2492      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2493    esac
2494  fi
2495done
2496if $ac_cache_corrupted; then
2497  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2498$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2499  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2500$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2501  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2502fi
2503## -------------------- ##
2504## Main body of script. ##
2505## -------------------- ##
2506
2507ac_ext=c
2508ac_cpp='$CPP $CPPFLAGS'
2509ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2510ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2511ac_compiler_gnu=$ac_cv_c_compiler_gnu
2512
2513
2514am__api_version='1.16'
2515
2516ac_aux_dir=
2517for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2518  if test -f "$ac_dir/install-sh"; then
2519    ac_aux_dir=$ac_dir
2520    ac_install_sh="$ac_aux_dir/install-sh -c"
2521    break
2522  elif test -f "$ac_dir/install.sh"; then
2523    ac_aux_dir=$ac_dir
2524    ac_install_sh="$ac_aux_dir/install.sh -c"
2525    break
2526  elif test -f "$ac_dir/shtool"; then
2527    ac_aux_dir=$ac_dir
2528    ac_install_sh="$ac_aux_dir/shtool install -c"
2529    break
2530  fi
2531done
2532if test -z "$ac_aux_dir"; then
2533  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2534fi
2535
2536# These three variables are undocumented and unsupported,
2537# and are intended to be withdrawn in a future Autoconf release.
2538# They can cause serious problems if a builder's source tree is in a directory
2539# whose full name contains unusual characters.
2540ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2541ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2542ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2543
2544
2545# Find a good install program.  We prefer a C program (faster),
2546# so one script is as good as another.  But avoid the broken or
2547# incompatible versions:
2548# SysV /etc/install, /usr/sbin/install
2549# SunOS /usr/etc/install
2550# IRIX /sbin/install
2551# AIX /bin/install
2552# AmigaOS /C/install, which installs bootblocks on floppy discs
2553# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2554# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2555# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2556# OS/2's system install, which has a completely different semantic
2557# ./install, which can be erroneously created by make from ./install.sh.
2558# Reject install programs that cannot install multiple files.
2559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2560$as_echo_n "checking for a BSD-compatible install... " >&6; }
2561if test -z "$INSTALL"; then
2562if ${ac_cv_path_install+:} false; then :
2563  $as_echo_n "(cached) " >&6
2564else
2565  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2566for as_dir in $PATH
2567do
2568  IFS=$as_save_IFS
2569  test -z "$as_dir" && as_dir=.
2570    # Account for people who put trailing slashes in PATH elements.
2571case $as_dir/ in #((
2572  ./ | .// | /[cC]/* | \
2573  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2574  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2575  /usr/ucb/* ) ;;
2576  *)
2577    # OSF1 and SCO ODT 3.0 have their own names for install.
2578    # Don't use installbsd from OSF since it installs stuff as root
2579    # by default.
2580    for ac_prog in ginstall scoinst install; do
2581      for ac_exec_ext in '' $ac_executable_extensions; do
2582	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2583	  if test $ac_prog = install &&
2584	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2585	    # AIX install.  It has an incompatible calling convention.
2586	    :
2587	  elif test $ac_prog = install &&
2588	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2589	    # program-specific install script used by HP pwplus--don't use.
2590	    :
2591	  else
2592	    rm -rf conftest.one conftest.two conftest.dir
2593	    echo one > conftest.one
2594	    echo two > conftest.two
2595	    mkdir conftest.dir
2596	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2597	      test -s conftest.one && test -s conftest.two &&
2598	      test -s conftest.dir/conftest.one &&
2599	      test -s conftest.dir/conftest.two
2600	    then
2601	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2602	      break 3
2603	    fi
2604	  fi
2605	fi
2606      done
2607    done
2608    ;;
2609esac
2610
2611  done
2612IFS=$as_save_IFS
2613
2614rm -rf conftest.one conftest.two conftest.dir
2615
2616fi
2617  if test "${ac_cv_path_install+set}" = set; then
2618    INSTALL=$ac_cv_path_install
2619  else
2620    # As a last resort, use the slow shell script.  Don't cache a
2621    # value for INSTALL within a source directory, because that will
2622    # break other packages using the cache if that directory is
2623    # removed, or if the value is a relative name.
2624    INSTALL=$ac_install_sh
2625  fi
2626fi
2627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2628$as_echo "$INSTALL" >&6; }
2629
2630# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2631# It thinks the first close brace ends the variable substitution.
2632test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2633
2634test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2635
2636test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2637
2638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2639$as_echo_n "checking whether build environment is sane... " >&6; }
2640# Reject unsafe characters in $srcdir or the absolute working directory
2641# name.  Accept space and tab only in the latter.
2642am_lf='
2643'
2644case `pwd` in
2645  *[\\\"\#\$\&\'\`$am_lf]*)
2646    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2647esac
2648case $srcdir in
2649  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2650    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2651esac
2652
2653# Do 'set' in a subshell so we don't clobber the current shell's
2654# arguments.  Must try -L first in case configure is actually a
2655# symlink; some systems play weird games with the mod time of symlinks
2656# (eg FreeBSD returns the mod time of the symlink's containing
2657# directory).
2658if (
2659   am_has_slept=no
2660   for am_try in 1 2; do
2661     echo "timestamp, slept: $am_has_slept" > conftest.file
2662     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2663     if test "$*" = "X"; then
2664	# -L didn't work.
2665	set X `ls -t "$srcdir/configure" conftest.file`
2666     fi
2667     if test "$*" != "X $srcdir/configure conftest.file" \
2668	&& test "$*" != "X conftest.file $srcdir/configure"; then
2669
2670	# If neither matched, then we have a broken ls.  This can happen
2671	# if, for instance, CONFIG_SHELL is bash and it inherits a
2672	# broken ls alias from the environment.  This has actually
2673	# happened.  Such a system could not be considered "sane".
2674	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2675  alias in your environment" "$LINENO" 5
2676     fi
2677     if test "$2" = conftest.file || test $am_try -eq 2; then
2678       break
2679     fi
2680     # Just in case.
2681     sleep 1
2682     am_has_slept=yes
2683   done
2684   test "$2" = conftest.file
2685   )
2686then
2687   # Ok.
2688   :
2689else
2690   as_fn_error $? "newly created file is older than distributed files!
2691Check your system clock" "$LINENO" 5
2692fi
2693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2694$as_echo "yes" >&6; }
2695# If we didn't sleep, we still need to ensure time stamps of config.status and
2696# generated files are strictly newer.
2697am_sleep_pid=
2698if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2699  ( sleep 1 ) &
2700  am_sleep_pid=$!
2701fi
2702
2703rm -f conftest.file
2704
2705test "$program_prefix" != NONE &&
2706  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2707# Use a double $ so make ignores it.
2708test "$program_suffix" != NONE &&
2709  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2710# Double any \ or $.
2711# By default was `s,x,x', remove it if useless.
2712ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2713program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2714
2715# Expand $ac_aux_dir to an absolute path.
2716am_aux_dir=`cd "$ac_aux_dir" && pwd`
2717
2718if test x"${MISSING+set}" != xset; then
2719  case $am_aux_dir in
2720  *\ * | *\	*)
2721    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2722  *)
2723    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2724  esac
2725fi
2726# Use eval to expand $SHELL
2727if eval "$MISSING --is-lightweight"; then
2728  am_missing_run="$MISSING "
2729else
2730  am_missing_run=
2731  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2732$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2733fi
2734
2735if test x"${install_sh+set}" != xset; then
2736  case $am_aux_dir in
2737  *\ * | *\	*)
2738    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2739  *)
2740    install_sh="\${SHELL} $am_aux_dir/install-sh"
2741  esac
2742fi
2743
2744# Installed binaries are usually stripped using 'strip' when the user
2745# run "make install-strip".  However 'strip' might not be the right
2746# tool to use in cross-compilation environments, therefore Automake
2747# will honor the 'STRIP' environment variable to overrule this program.
2748if test "$cross_compiling" != no; then
2749  if test -n "$ac_tool_prefix"; then
2750  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2751set dummy ${ac_tool_prefix}strip; ac_word=$2
2752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2753$as_echo_n "checking for $ac_word... " >&6; }
2754if ${ac_cv_prog_STRIP+:} false; then :
2755  $as_echo_n "(cached) " >&6
2756else
2757  if test -n "$STRIP"; then
2758  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2759else
2760as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2761for as_dir in $PATH
2762do
2763  IFS=$as_save_IFS
2764  test -z "$as_dir" && as_dir=.
2765    for ac_exec_ext in '' $ac_executable_extensions; do
2766  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2767    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2768    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2769    break 2
2770  fi
2771done
2772  done
2773IFS=$as_save_IFS
2774
2775fi
2776fi
2777STRIP=$ac_cv_prog_STRIP
2778if test -n "$STRIP"; then
2779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2780$as_echo "$STRIP" >&6; }
2781else
2782  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783$as_echo "no" >&6; }
2784fi
2785
2786
2787fi
2788if test -z "$ac_cv_prog_STRIP"; then
2789  ac_ct_STRIP=$STRIP
2790  # Extract the first word of "strip", so it can be a program name with args.
2791set dummy strip; ac_word=$2
2792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2793$as_echo_n "checking for $ac_word... " >&6; }
2794if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2795  $as_echo_n "(cached) " >&6
2796else
2797  if test -n "$ac_ct_STRIP"; then
2798  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2799else
2800as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2801for as_dir in $PATH
2802do
2803  IFS=$as_save_IFS
2804  test -z "$as_dir" && as_dir=.
2805    for ac_exec_ext in '' $ac_executable_extensions; do
2806  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2807    ac_cv_prog_ac_ct_STRIP="strip"
2808    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2809    break 2
2810  fi
2811done
2812  done
2813IFS=$as_save_IFS
2814
2815fi
2816fi
2817ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2818if test -n "$ac_ct_STRIP"; then
2819  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2820$as_echo "$ac_ct_STRIP" >&6; }
2821else
2822  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2823$as_echo "no" >&6; }
2824fi
2825
2826  if test "x$ac_ct_STRIP" = x; then
2827    STRIP=":"
2828  else
2829    case $cross_compiling:$ac_tool_warned in
2830yes:)
2831{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2832$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2833ac_tool_warned=yes ;;
2834esac
2835    STRIP=$ac_ct_STRIP
2836  fi
2837else
2838  STRIP="$ac_cv_prog_STRIP"
2839fi
2840
2841fi
2842INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2843
2844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2845$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2846if test -z "$MKDIR_P"; then
2847  if ${ac_cv_path_mkdir+:} false; then :
2848  $as_echo_n "(cached) " >&6
2849else
2850  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2852do
2853  IFS=$as_save_IFS
2854  test -z "$as_dir" && as_dir=.
2855    for ac_prog in mkdir gmkdir; do
2856	 for ac_exec_ext in '' $ac_executable_extensions; do
2857	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2858	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2859	     'mkdir (GNU coreutils) '* | \
2860	     'mkdir (coreutils) '* | \
2861	     'mkdir (fileutils) '4.1*)
2862	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2863	       break 3;;
2864	   esac
2865	 done
2866       done
2867  done
2868IFS=$as_save_IFS
2869
2870fi
2871
2872  test -d ./--version && rmdir ./--version
2873  if test "${ac_cv_path_mkdir+set}" = set; then
2874    MKDIR_P="$ac_cv_path_mkdir -p"
2875  else
2876    # As a last resort, use the slow shell script.  Don't cache a
2877    # value for MKDIR_P within a source directory, because that will
2878    # break other packages using the cache if that directory is
2879    # removed, or if the value is a relative name.
2880    MKDIR_P="$ac_install_sh -d"
2881  fi
2882fi
2883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2884$as_echo "$MKDIR_P" >&6; }
2885
2886for ac_prog in gawk mawk nawk awk
2887do
2888  # Extract the first word of "$ac_prog", so it can be a program name with args.
2889set dummy $ac_prog; ac_word=$2
2890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2891$as_echo_n "checking for $ac_word... " >&6; }
2892if ${ac_cv_prog_AWK+:} false; then :
2893  $as_echo_n "(cached) " >&6
2894else
2895  if test -n "$AWK"; then
2896  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2897else
2898as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2899for as_dir in $PATH
2900do
2901  IFS=$as_save_IFS
2902  test -z "$as_dir" && as_dir=.
2903    for ac_exec_ext in '' $ac_executable_extensions; do
2904  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2905    ac_cv_prog_AWK="$ac_prog"
2906    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907    break 2
2908  fi
2909done
2910  done
2911IFS=$as_save_IFS
2912
2913fi
2914fi
2915AWK=$ac_cv_prog_AWK
2916if test -n "$AWK"; then
2917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2918$as_echo "$AWK" >&6; }
2919else
2920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2921$as_echo "no" >&6; }
2922fi
2923
2924
2925  test -n "$AWK" && break
2926done
2927
2928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2929$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2930set x ${MAKE-make}
2931ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2932if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2933  $as_echo_n "(cached) " >&6
2934else
2935  cat >conftest.make <<\_ACEOF
2936SHELL = /bin/sh
2937all:
2938	@echo '@@@%%%=$(MAKE)=@@@%%%'
2939_ACEOF
2940# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2941case `${MAKE-make} -f conftest.make 2>/dev/null` in
2942  *@@@%%%=?*=@@@%%%*)
2943    eval ac_cv_prog_make_${ac_make}_set=yes;;
2944  *)
2945    eval ac_cv_prog_make_${ac_make}_set=no;;
2946esac
2947rm -f conftest.make
2948fi
2949if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2951$as_echo "yes" >&6; }
2952  SET_MAKE=
2953else
2954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2955$as_echo "no" >&6; }
2956  SET_MAKE="MAKE=${MAKE-make}"
2957fi
2958
2959rm -rf .tst 2>/dev/null
2960mkdir .tst 2>/dev/null
2961if test -d .tst; then
2962  am__leading_dot=.
2963else
2964  am__leading_dot=_
2965fi
2966rmdir .tst 2>/dev/null
2967
2968# Check whether --enable-silent-rules was given.
2969if test "${enable_silent_rules+set}" = set; then :
2970  enableval=$enable_silent_rules;
2971fi
2972
2973case $enable_silent_rules in # (((
2974  yes) AM_DEFAULT_VERBOSITY=0;;
2975   no) AM_DEFAULT_VERBOSITY=1;;
2976    *) AM_DEFAULT_VERBOSITY=1;;
2977esac
2978am_make=${MAKE-make}
2979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2980$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2981if ${am_cv_make_support_nested_variables+:} false; then :
2982  $as_echo_n "(cached) " >&6
2983else
2984  if $as_echo 'TRUE=$(BAR$(V))
2985BAR0=false
2986BAR1=true
2987V=1
2988am__doit:
2989	@$(TRUE)
2990.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2991  am_cv_make_support_nested_variables=yes
2992else
2993  am_cv_make_support_nested_variables=no
2994fi
2995fi
2996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2997$as_echo "$am_cv_make_support_nested_variables" >&6; }
2998if test $am_cv_make_support_nested_variables = yes; then
2999    AM_V='$(V)'
3000  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3001else
3002  AM_V=$AM_DEFAULT_VERBOSITY
3003  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3004fi
3005AM_BACKSLASH='\'
3006
3007if test "`cd $srcdir && pwd`" != "`pwd`"; then
3008  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3009  # is not polluted with repeated "-I."
3010  am__isrc=' -I$(srcdir)'
3011  # test to see if srcdir already configured
3012  if test -f $srcdir/config.status; then
3013    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3014  fi
3015fi
3016
3017# test whether we have cygpath
3018if test -z "$CYGPATH_W"; then
3019  if (cygpath --version) >/dev/null 2>/dev/null; then
3020    CYGPATH_W='cygpath -w'
3021  else
3022    CYGPATH_W=echo
3023  fi
3024fi
3025
3026
3027# Define the identity of the package.
3028 PACKAGE='usbmuxd'
3029 VERSION='1.1.1'
3030
3031
3032cat >>confdefs.h <<_ACEOF
3033#define PACKAGE "$PACKAGE"
3034_ACEOF
3035
3036
3037cat >>confdefs.h <<_ACEOF
3038#define VERSION "$VERSION"
3039_ACEOF
3040
3041# Some tools Automake needs.
3042
3043ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3044
3045
3046AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3047
3048
3049AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3050
3051
3052AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3053
3054
3055MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3056
3057# For better backward compatibility.  To be removed once Automake 1.9.x
3058# dies out for good.  For more background, see:
3059# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3060# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3061mkdir_p='$(MKDIR_P)'
3062
3063# We need awk for the "check" target (and possibly the TAP driver).  The
3064# system "awk" is bad on some platforms.
3065# Always define AMTAR for backward compatibility.  Yes, it's still used
3066# in the wild :-(  We should find a proper way to deprecate it ...
3067AMTAR='$${TAR-tar}'
3068
3069
3070# We'll loop over all known methods to create a tar archive until one works.
3071_am_tools='gnutar  pax cpio none'
3072
3073am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3074
3075
3076
3077
3078
3079
3080# POSIX will say in a future version that running "rm -f" with no argument
3081# is OK; and we want to be able to make that assumption in our Makefile
3082# recipes.  So use an aggressive probe to check that the usage we want is
3083# actually supported "in the wild" to an acceptable degree.
3084# See automake bug#10828.
3085# To make any issue more visible, cause the running configure to be aborted
3086# by default if the 'rm' program in use doesn't match our expectations; the
3087# user can still override this though.
3088if rm -f && rm -fr && rm -rf; then : OK; else
3089  cat >&2 <<'END'
3090Oops!
3091
3092Your 'rm' program seems unable to run without file operands specified
3093on the command line, even when the '-f' option is present.  This is contrary
3094to the behaviour of most rm programs out there, and not conforming with
3095the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3096
3097Please tell bug-automake@gnu.org about your system, including the value
3098of your $PATH and any error possibly output before this message.  This
3099can help us improve future automake versions.
3100
3101END
3102  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3103    echo 'Configuration will proceed anyway, since you have set the' >&2
3104    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3105    echo >&2
3106  else
3107    cat >&2 <<'END'
3108Aborting the configuration process, to ensure you take notice of the issue.
3109
3110You can download and install GNU coreutils to get an 'rm' implementation
3111that behaves properly: <https://www.gnu.org/software/coreutils/>.
3112
3113If you want to complete the configuration process using your problematic
3114'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3115to "yes", and re-run configure.
3116
3117END
3118    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3119  fi
3120fi
3121
3122# Check whether --enable-silent-rules was given.
3123if test "${enable_silent_rules+set}" = set; then :
3124  enableval=$enable_silent_rules;
3125fi
3126
3127case $enable_silent_rules in # (((
3128  yes) AM_DEFAULT_VERBOSITY=0;;
3129   no) AM_DEFAULT_VERBOSITY=1;;
3130    *) AM_DEFAULT_VERBOSITY=1;;
3131esac
3132am_make=${MAKE-make}
3133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3134$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3135if ${am_cv_make_support_nested_variables+:} false; then :
3136  $as_echo_n "(cached) " >&6
3137else
3138  if $as_echo 'TRUE=$(BAR$(V))
3139BAR0=false
3140BAR1=true
3141V=1
3142am__doit:
3143	@$(TRUE)
3144.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3145  am_cv_make_support_nested_variables=yes
3146else
3147  am_cv_make_support_nested_variables=no
3148fi
3149fi
3150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3151$as_echo "$am_cv_make_support_nested_variables" >&6; }
3152if test $am_cv_make_support_nested_variables = yes; then
3153    AM_V='$(V)'
3154  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3155else
3156  AM_V=$AM_DEFAULT_VERBOSITY
3157  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3158fi
3159AM_BACKSLASH='\'
3160
3161
3162ac_config_headers="$ac_config_headers config.h"
3163
3164
3165
3166# Checks for programs.
3167ac_ext=c
3168ac_cpp='$CPP $CPPFLAGS'
3169ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3170ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3171ac_compiler_gnu=$ac_cv_c_compiler_gnu
3172if test -n "$ac_tool_prefix"; then
3173  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3174set dummy ${ac_tool_prefix}gcc; ac_word=$2
3175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3176$as_echo_n "checking for $ac_word... " >&6; }
3177if ${ac_cv_prog_CC+:} false; then :
3178  $as_echo_n "(cached) " >&6
3179else
3180  if test -n "$CC"; then
3181  ac_cv_prog_CC="$CC" # Let the user override the test.
3182else
3183as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3184for as_dir in $PATH
3185do
3186  IFS=$as_save_IFS
3187  test -z "$as_dir" && as_dir=.
3188    for ac_exec_ext in '' $ac_executable_extensions; do
3189  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3190    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3191    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3192    break 2
3193  fi
3194done
3195  done
3196IFS=$as_save_IFS
3197
3198fi
3199fi
3200CC=$ac_cv_prog_CC
3201if test -n "$CC"; then
3202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3203$as_echo "$CC" >&6; }
3204else
3205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206$as_echo "no" >&6; }
3207fi
3208
3209
3210fi
3211if test -z "$ac_cv_prog_CC"; then
3212  ac_ct_CC=$CC
3213  # Extract the first word of "gcc", so it can be a program name with args.
3214set dummy gcc; ac_word=$2
3215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3216$as_echo_n "checking for $ac_word... " >&6; }
3217if ${ac_cv_prog_ac_ct_CC+:} false; then :
3218  $as_echo_n "(cached) " >&6
3219else
3220  if test -n "$ac_ct_CC"; then
3221  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3222else
3223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3224for as_dir in $PATH
3225do
3226  IFS=$as_save_IFS
3227  test -z "$as_dir" && as_dir=.
3228    for ac_exec_ext in '' $ac_executable_extensions; do
3229  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3230    ac_cv_prog_ac_ct_CC="gcc"
3231    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3232    break 2
3233  fi
3234done
3235  done
3236IFS=$as_save_IFS
3237
3238fi
3239fi
3240ac_ct_CC=$ac_cv_prog_ac_ct_CC
3241if test -n "$ac_ct_CC"; then
3242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3243$as_echo "$ac_ct_CC" >&6; }
3244else
3245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3246$as_echo "no" >&6; }
3247fi
3248
3249  if test "x$ac_ct_CC" = x; then
3250    CC=""
3251  else
3252    case $cross_compiling:$ac_tool_warned in
3253yes:)
3254{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3255$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3256ac_tool_warned=yes ;;
3257esac
3258    CC=$ac_ct_CC
3259  fi
3260else
3261  CC="$ac_cv_prog_CC"
3262fi
3263
3264if test -z "$CC"; then
3265          if test -n "$ac_tool_prefix"; then
3266    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3267set dummy ${ac_tool_prefix}cc; ac_word=$2
3268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269$as_echo_n "checking for $ac_word... " >&6; }
3270if ${ac_cv_prog_CC+:} false; then :
3271  $as_echo_n "(cached) " >&6
3272else
3273  if test -n "$CC"; then
3274  ac_cv_prog_CC="$CC" # Let the user override the test.
3275else
3276as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277for as_dir in $PATH
3278do
3279  IFS=$as_save_IFS
3280  test -z "$as_dir" && as_dir=.
3281    for ac_exec_ext in '' $ac_executable_extensions; do
3282  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3283    ac_cv_prog_CC="${ac_tool_prefix}cc"
3284    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285    break 2
3286  fi
3287done
3288  done
3289IFS=$as_save_IFS
3290
3291fi
3292fi
3293CC=$ac_cv_prog_CC
3294if test -n "$CC"; then
3295  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3296$as_echo "$CC" >&6; }
3297else
3298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299$as_echo "no" >&6; }
3300fi
3301
3302
3303  fi
3304fi
3305if test -z "$CC"; then
3306  # Extract the first word of "cc", so it can be a program name with args.
3307set dummy cc; ac_word=$2
3308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309$as_echo_n "checking for $ac_word... " >&6; }
3310if ${ac_cv_prog_CC+:} false; then :
3311  $as_echo_n "(cached) " >&6
3312else
3313  if test -n "$CC"; then
3314  ac_cv_prog_CC="$CC" # Let the user override the test.
3315else
3316  ac_prog_rejected=no
3317as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3318for as_dir in $PATH
3319do
3320  IFS=$as_save_IFS
3321  test -z "$as_dir" && as_dir=.
3322    for ac_exec_ext in '' $ac_executable_extensions; do
3323  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3324    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3325       ac_prog_rejected=yes
3326       continue
3327     fi
3328    ac_cv_prog_CC="cc"
3329    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3330    break 2
3331  fi
3332done
3333  done
3334IFS=$as_save_IFS
3335
3336if test $ac_prog_rejected = yes; then
3337  # We found a bogon in the path, so make sure we never use it.
3338  set dummy $ac_cv_prog_CC
3339  shift
3340  if test $# != 0; then
3341    # We chose a different compiler from the bogus one.
3342    # However, it has the same basename, so the bogon will be chosen
3343    # first if we set CC to just the basename; use the full file name.
3344    shift
3345    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3346  fi
3347fi
3348fi
3349fi
3350CC=$ac_cv_prog_CC
3351if test -n "$CC"; then
3352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3353$as_echo "$CC" >&6; }
3354else
3355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3356$as_echo "no" >&6; }
3357fi
3358
3359
3360fi
3361if test -z "$CC"; then
3362  if test -n "$ac_tool_prefix"; then
3363  for ac_prog in cl.exe
3364  do
3365    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3366set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3368$as_echo_n "checking for $ac_word... " >&6; }
3369if ${ac_cv_prog_CC+:} false; then :
3370  $as_echo_n "(cached) " >&6
3371else
3372  if test -n "$CC"; then
3373  ac_cv_prog_CC="$CC" # Let the user override the test.
3374else
3375as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3376for as_dir in $PATH
3377do
3378  IFS=$as_save_IFS
3379  test -z "$as_dir" && as_dir=.
3380    for ac_exec_ext in '' $ac_executable_extensions; do
3381  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3382    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3383    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3384    break 2
3385  fi
3386done
3387  done
3388IFS=$as_save_IFS
3389
3390fi
3391fi
3392CC=$ac_cv_prog_CC
3393if test -n "$CC"; then
3394  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3395$as_echo "$CC" >&6; }
3396else
3397  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3398$as_echo "no" >&6; }
3399fi
3400
3401
3402    test -n "$CC" && break
3403  done
3404fi
3405if test -z "$CC"; then
3406  ac_ct_CC=$CC
3407  for ac_prog in cl.exe
3408do
3409  # Extract the first word of "$ac_prog", so it can be a program name with args.
3410set dummy $ac_prog; ac_word=$2
3411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3412$as_echo_n "checking for $ac_word... " >&6; }
3413if ${ac_cv_prog_ac_ct_CC+:} false; then :
3414  $as_echo_n "(cached) " >&6
3415else
3416  if test -n "$ac_ct_CC"; then
3417  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3418else
3419as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3420for as_dir in $PATH
3421do
3422  IFS=$as_save_IFS
3423  test -z "$as_dir" && as_dir=.
3424    for ac_exec_ext in '' $ac_executable_extensions; do
3425  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3426    ac_cv_prog_ac_ct_CC="$ac_prog"
3427    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3428    break 2
3429  fi
3430done
3431  done
3432IFS=$as_save_IFS
3433
3434fi
3435fi
3436ac_ct_CC=$ac_cv_prog_ac_ct_CC
3437if test -n "$ac_ct_CC"; then
3438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3439$as_echo "$ac_ct_CC" >&6; }
3440else
3441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3442$as_echo "no" >&6; }
3443fi
3444
3445
3446  test -n "$ac_ct_CC" && break
3447done
3448
3449  if test "x$ac_ct_CC" = x; then
3450    CC=""
3451  else
3452    case $cross_compiling:$ac_tool_warned in
3453yes:)
3454{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3455$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3456ac_tool_warned=yes ;;
3457esac
3458    CC=$ac_ct_CC
3459  fi
3460fi
3461
3462fi
3463
3464
3465test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3466$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3467as_fn_error $? "no acceptable C compiler found in \$PATH
3468See \`config.log' for more details" "$LINENO" 5; }
3469
3470# Provide some information about the compiler.
3471$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3472set X $ac_compile
3473ac_compiler=$2
3474for ac_option in --version -v -V -qversion; do
3475  { { ac_try="$ac_compiler $ac_option >&5"
3476case "(($ac_try" in
3477  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3478  *) ac_try_echo=$ac_try;;
3479esac
3480eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3481$as_echo "$ac_try_echo"; } >&5
3482  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3483  ac_status=$?
3484  if test -s conftest.err; then
3485    sed '10a\
3486... rest of stderr output deleted ...
3487         10q' conftest.err >conftest.er1
3488    cat conftest.er1 >&5
3489  fi
3490  rm -f conftest.er1 conftest.err
3491  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3492  test $ac_status = 0; }
3493done
3494
3495cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496/* end confdefs.h.  */
3497
3498int
3499main ()
3500{
3501
3502  ;
3503  return 0;
3504}
3505_ACEOF
3506ac_clean_files_save=$ac_clean_files
3507ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3508# Try to create an executable without -o first, disregard a.out.
3509# It will help us diagnose broken compilers, and finding out an intuition
3510# of exeext.
3511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3512$as_echo_n "checking whether the C compiler works... " >&6; }
3513ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3514
3515# The possible output files:
3516ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3517
3518ac_rmfiles=
3519for ac_file in $ac_files
3520do
3521  case $ac_file in
3522    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3523    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3524  esac
3525done
3526rm -f $ac_rmfiles
3527
3528if { { ac_try="$ac_link_default"
3529case "(($ac_try" in
3530  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3531  *) ac_try_echo=$ac_try;;
3532esac
3533eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3534$as_echo "$ac_try_echo"; } >&5
3535  (eval "$ac_link_default") 2>&5
3536  ac_status=$?
3537  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3538  test $ac_status = 0; }; then :
3539  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3540# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3541# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3542# so that the user can short-circuit this test for compilers unknown to
3543# Autoconf.
3544for ac_file in $ac_files ''
3545do
3546  test -f "$ac_file" || continue
3547  case $ac_file in
3548    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3549	;;
3550    [ab].out )
3551	# We found the default executable, but exeext='' is most
3552	# certainly right.
3553	break;;
3554    *.* )
3555	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3556	then :; else
3557	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3558	fi
3559	# We set ac_cv_exeext here because the later test for it is not
3560	# safe: cross compilers may not add the suffix if given an `-o'
3561	# argument, so we may need to know it at that point already.
3562	# Even if this section looks crufty: it has the advantage of
3563	# actually working.
3564	break;;
3565    * )
3566	break;;
3567  esac
3568done
3569test "$ac_cv_exeext" = no && ac_cv_exeext=
3570
3571else
3572  ac_file=''
3573fi
3574if test -z "$ac_file"; then :
3575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576$as_echo "no" >&6; }
3577$as_echo "$as_me: failed program was:" >&5
3578sed 's/^/| /' conftest.$ac_ext >&5
3579
3580{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3581$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3582as_fn_error 77 "C compiler cannot create executables
3583See \`config.log' for more details" "$LINENO" 5; }
3584else
3585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3586$as_echo "yes" >&6; }
3587fi
3588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3589$as_echo_n "checking for C compiler default output file name... " >&6; }
3590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3591$as_echo "$ac_file" >&6; }
3592ac_exeext=$ac_cv_exeext
3593
3594rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3595ac_clean_files=$ac_clean_files_save
3596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3597$as_echo_n "checking for suffix of executables... " >&6; }
3598if { { ac_try="$ac_link"
3599case "(($ac_try" in
3600  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3601  *) ac_try_echo=$ac_try;;
3602esac
3603eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3604$as_echo "$ac_try_echo"; } >&5
3605  (eval "$ac_link") 2>&5
3606  ac_status=$?
3607  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3608  test $ac_status = 0; }; then :
3609  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3610# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3611# work properly (i.e., refer to `conftest.exe'), while it won't with
3612# `rm'.
3613for ac_file in conftest.exe conftest conftest.*; do
3614  test -f "$ac_file" || continue
3615  case $ac_file in
3616    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3617    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3618	  break;;
3619    * ) break;;
3620  esac
3621done
3622else
3623  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3624$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3625as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3626See \`config.log' for more details" "$LINENO" 5; }
3627fi
3628rm -f conftest conftest$ac_cv_exeext
3629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3630$as_echo "$ac_cv_exeext" >&6; }
3631
3632rm -f conftest.$ac_ext
3633EXEEXT=$ac_cv_exeext
3634ac_exeext=$EXEEXT
3635cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3636/* end confdefs.h.  */
3637#include <stdio.h>
3638int
3639main ()
3640{
3641FILE *f = fopen ("conftest.out", "w");
3642 return ferror (f) || fclose (f) != 0;
3643
3644  ;
3645  return 0;
3646}
3647_ACEOF
3648ac_clean_files="$ac_clean_files conftest.out"
3649# Check that the compiler produces executables we can run.  If not, either
3650# the compiler is broken, or we cross compile.
3651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3652$as_echo_n "checking whether we are cross compiling... " >&6; }
3653if test "$cross_compiling" != yes; then
3654  { { ac_try="$ac_link"
3655case "(($ac_try" in
3656  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3657  *) ac_try_echo=$ac_try;;
3658esac
3659eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3660$as_echo "$ac_try_echo"; } >&5
3661  (eval "$ac_link") 2>&5
3662  ac_status=$?
3663  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3664  test $ac_status = 0; }
3665  if { ac_try='./conftest$ac_cv_exeext'
3666  { { case "(($ac_try" in
3667  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3668  *) ac_try_echo=$ac_try;;
3669esac
3670eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3671$as_echo "$ac_try_echo"; } >&5
3672  (eval "$ac_try") 2>&5
3673  ac_status=$?
3674  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3675  test $ac_status = 0; }; }; then
3676    cross_compiling=no
3677  else
3678    if test "$cross_compiling" = maybe; then
3679	cross_compiling=yes
3680    else
3681	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3682$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3683as_fn_error $? "cannot run C compiled programs.
3684If you meant to cross compile, use \`--host'.
3685See \`config.log' for more details" "$LINENO" 5; }
3686    fi
3687  fi
3688fi
3689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3690$as_echo "$cross_compiling" >&6; }
3691
3692rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3693ac_clean_files=$ac_clean_files_save
3694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3695$as_echo_n "checking for suffix of object files... " >&6; }
3696if ${ac_cv_objext+:} false; then :
3697  $as_echo_n "(cached) " >&6
3698else
3699  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3700/* end confdefs.h.  */
3701
3702int
3703main ()
3704{
3705
3706  ;
3707  return 0;
3708}
3709_ACEOF
3710rm -f conftest.o conftest.obj
3711if { { ac_try="$ac_compile"
3712case "(($ac_try" in
3713  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3714  *) ac_try_echo=$ac_try;;
3715esac
3716eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3717$as_echo "$ac_try_echo"; } >&5
3718  (eval "$ac_compile") 2>&5
3719  ac_status=$?
3720  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3721  test $ac_status = 0; }; then :
3722  for ac_file in conftest.o conftest.obj conftest.*; do
3723  test -f "$ac_file" || continue;
3724  case $ac_file in
3725    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3726    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3727       break;;
3728  esac
3729done
3730else
3731  $as_echo "$as_me: failed program was:" >&5
3732sed 's/^/| /' conftest.$ac_ext >&5
3733
3734{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3735$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3736as_fn_error $? "cannot compute suffix of object files: cannot compile
3737See \`config.log' for more details" "$LINENO" 5; }
3738fi
3739rm -f conftest.$ac_cv_objext conftest.$ac_ext
3740fi
3741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3742$as_echo "$ac_cv_objext" >&6; }
3743OBJEXT=$ac_cv_objext
3744ac_objext=$OBJEXT
3745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3746$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3747if ${ac_cv_c_compiler_gnu+:} false; then :
3748  $as_echo_n "(cached) " >&6
3749else
3750  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3751/* end confdefs.h.  */
3752
3753int
3754main ()
3755{
3756#ifndef __GNUC__
3757       choke me
3758#endif
3759
3760  ;
3761  return 0;
3762}
3763_ACEOF
3764if ac_fn_c_try_compile "$LINENO"; then :
3765  ac_compiler_gnu=yes
3766else
3767  ac_compiler_gnu=no
3768fi
3769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3770ac_cv_c_compiler_gnu=$ac_compiler_gnu
3771
3772fi
3773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3774$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3775if test $ac_compiler_gnu = yes; then
3776  GCC=yes
3777else
3778  GCC=
3779fi
3780ac_test_CFLAGS=${CFLAGS+set}
3781ac_save_CFLAGS=$CFLAGS
3782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3783$as_echo_n "checking whether $CC accepts -g... " >&6; }
3784if ${ac_cv_prog_cc_g+:} false; then :
3785  $as_echo_n "(cached) " >&6
3786else
3787  ac_save_c_werror_flag=$ac_c_werror_flag
3788   ac_c_werror_flag=yes
3789   ac_cv_prog_cc_g=no
3790   CFLAGS="-g"
3791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792/* end confdefs.h.  */
3793
3794int
3795main ()
3796{
3797
3798  ;
3799  return 0;
3800}
3801_ACEOF
3802if ac_fn_c_try_compile "$LINENO"; then :
3803  ac_cv_prog_cc_g=yes
3804else
3805  CFLAGS=""
3806      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3807/* end confdefs.h.  */
3808
3809int
3810main ()
3811{
3812
3813  ;
3814  return 0;
3815}
3816_ACEOF
3817if ac_fn_c_try_compile "$LINENO"; then :
3818
3819else
3820  ac_c_werror_flag=$ac_save_c_werror_flag
3821	 CFLAGS="-g"
3822	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823/* end confdefs.h.  */
3824
3825int
3826main ()
3827{
3828
3829  ;
3830  return 0;
3831}
3832_ACEOF
3833if ac_fn_c_try_compile "$LINENO"; then :
3834  ac_cv_prog_cc_g=yes
3835fi
3836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3837fi
3838rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3839fi
3840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3841   ac_c_werror_flag=$ac_save_c_werror_flag
3842fi
3843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3844$as_echo "$ac_cv_prog_cc_g" >&6; }
3845if test "$ac_test_CFLAGS" = set; then
3846  CFLAGS=$ac_save_CFLAGS
3847elif test $ac_cv_prog_cc_g = yes; then
3848  if test "$GCC" = yes; then
3849    CFLAGS="-g -O2"
3850  else
3851    CFLAGS="-g"
3852  fi
3853else
3854  if test "$GCC" = yes; then
3855    CFLAGS="-O2"
3856  else
3857    CFLAGS=
3858  fi
3859fi
3860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3861$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3862if ${ac_cv_prog_cc_c89+:} false; then :
3863  $as_echo_n "(cached) " >&6
3864else
3865  ac_cv_prog_cc_c89=no
3866ac_save_CC=$CC
3867cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868/* end confdefs.h.  */
3869#include <stdarg.h>
3870#include <stdio.h>
3871struct stat;
3872/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3873struct buf { int x; };
3874FILE * (*rcsopen) (struct buf *, struct stat *, int);
3875static char *e (p, i)
3876     char **p;
3877     int i;
3878{
3879  return p[i];
3880}
3881static char *f (char * (*g) (char **, int), char **p, ...)
3882{
3883  char *s;
3884  va_list v;
3885  va_start (v,p);
3886  s = g (p, va_arg (v,int));
3887  va_end (v);
3888  return s;
3889}
3890
3891/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3892   function prototypes and stuff, but not '\xHH' hex character constants.
3893   These don't provoke an error unfortunately, instead are silently treated
3894   as 'x'.  The following induces an error, until -std is added to get
3895   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3896   array size at least.  It's necessary to write '\x00'==0 to get something
3897   that's true only with -std.  */
3898int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3899
3900/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3901   inside strings and character constants.  */
3902#define FOO(x) 'x'
3903int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3904
3905int test (int i, double x);
3906struct s1 {int (*f) (int a);};
3907struct s2 {int (*f) (double a);};
3908int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3909int argc;
3910char **argv;
3911int
3912main ()
3913{
3914return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3915  ;
3916  return 0;
3917}
3918_ACEOF
3919for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3920	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3921do
3922  CC="$ac_save_CC $ac_arg"
3923  if ac_fn_c_try_compile "$LINENO"; then :
3924  ac_cv_prog_cc_c89=$ac_arg
3925fi
3926rm -f core conftest.err conftest.$ac_objext
3927  test "x$ac_cv_prog_cc_c89" != "xno" && break
3928done
3929rm -f conftest.$ac_ext
3930CC=$ac_save_CC
3931
3932fi
3933# AC_CACHE_VAL
3934case "x$ac_cv_prog_cc_c89" in
3935  x)
3936    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3937$as_echo "none needed" >&6; } ;;
3938  xno)
3939    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3940$as_echo "unsupported" >&6; } ;;
3941  *)
3942    CC="$CC $ac_cv_prog_cc_c89"
3943    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3944$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3945esac
3946if test "x$ac_cv_prog_cc_c89" != xno; then :
3947
3948fi
3949
3950ac_ext=c
3951ac_cpp='$CPP $CPPFLAGS'
3952ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3953ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3954ac_compiler_gnu=$ac_cv_c_compiler_gnu
3955
3956ac_ext=c
3957ac_cpp='$CPP $CPPFLAGS'
3958ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3959ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3960ac_compiler_gnu=$ac_cv_c_compiler_gnu
3961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3962$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3963if ${am_cv_prog_cc_c_o+:} false; then :
3964  $as_echo_n "(cached) " >&6
3965else
3966  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3967/* end confdefs.h.  */
3968
3969int
3970main ()
3971{
3972
3973  ;
3974  return 0;
3975}
3976_ACEOF
3977  # Make sure it works both with $CC and with simple cc.
3978  # Following AC_PROG_CC_C_O, we do the test twice because some
3979  # compilers refuse to overwrite an existing .o file with -o,
3980  # though they will create one.
3981  am_cv_prog_cc_c_o=yes
3982  for am_i in 1 2; do
3983    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3984   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3985   ac_status=$?
3986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3987   (exit $ac_status); } \
3988         && test -f conftest2.$ac_objext; then
3989      : OK
3990    else
3991      am_cv_prog_cc_c_o=no
3992      break
3993    fi
3994  done
3995  rm -f core conftest*
3996  unset am_i
3997fi
3998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3999$as_echo "$am_cv_prog_cc_c_o" >&6; }
4000if test "$am_cv_prog_cc_c_o" != yes; then
4001   # Losing compiler, so override with the script.
4002   # FIXME: It is wrong to rewrite CC.
4003   # But if we don't then we get into trouble of one sort or another.
4004   # A longer-term fix would be to have automake use am__CC in this case,
4005   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4006   CC="$am_aux_dir/compile $CC"
4007fi
4008ac_ext=c
4009ac_cpp='$CPP $CPPFLAGS'
4010ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4011ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4012ac_compiler_gnu=$ac_cv_c_compiler_gnu
4013
4014DEPDIR="${am__leading_dot}deps"
4015
4016ac_config_commands="$ac_config_commands depfiles"
4017
4018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4019$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4020cat > confinc.mk << 'END'
4021am__doit:
4022	@echo this is the am__doit target >confinc.out
4023.PHONY: am__doit
4024END
4025am__include="#"
4026am__quote=
4027# BSD make does it like this.
4028echo '.include "confinc.mk" # ignored' > confmf.BSD
4029# Other make implementations (GNU, Solaris 10, AIX) do it like this.
4030echo 'include confinc.mk # ignored' > confmf.GNU
4031_am_result=no
4032for s in GNU BSD; do
4033  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4034   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4035   ac_status=$?
4036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037   (exit $ac_status); }
4038  case $?:`cat confinc.out 2>/dev/null` in #(
4039  '0:this is the am__doit target') :
4040    case $s in #(
4041  BSD) :
4042    am__include='.include' am__quote='"' ;; #(
4043  *) :
4044    am__include='include' am__quote='' ;;
4045esac ;; #(
4046  *) :
4047     ;;
4048esac
4049  if test "$am__include" != "#"; then
4050    _am_result="yes ($s style)"
4051    break
4052  fi
4053done
4054rm -f confinc.* confmf.*
4055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4056$as_echo "${_am_result}" >&6; }
4057
4058# Check whether --enable-dependency-tracking was given.
4059if test "${enable_dependency_tracking+set}" = set; then :
4060  enableval=$enable_dependency_tracking;
4061fi
4062
4063if test "x$enable_dependency_tracking" != xno; then
4064  am_depcomp="$ac_aux_dir/depcomp"
4065  AMDEPBACKSLASH='\'
4066  am__nodep='_no'
4067fi
4068 if test "x$enable_dependency_tracking" != xno; then
4069  AMDEP_TRUE=
4070  AMDEP_FALSE='#'
4071else
4072  AMDEP_TRUE='#'
4073  AMDEP_FALSE=
4074fi
4075
4076
4077
4078depcc="$CC"   am_compiler_list=
4079
4080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4081$as_echo_n "checking dependency style of $depcc... " >&6; }
4082if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4083  $as_echo_n "(cached) " >&6
4084else
4085  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4086  # We make a subdir and do the tests there.  Otherwise we can end up
4087  # making bogus files that we don't know about and never remove.  For
4088  # instance it was reported that on HP-UX the gcc test will end up
4089  # making a dummy file named 'D' -- because '-MD' means "put the output
4090  # in D".
4091  rm -rf conftest.dir
4092  mkdir conftest.dir
4093  # Copy depcomp to subdir because otherwise we won't find it if we're
4094  # using a relative directory.
4095  cp "$am_depcomp" conftest.dir
4096  cd conftest.dir
4097  # We will build objects and dependencies in a subdirectory because
4098  # it helps to detect inapplicable dependency modes.  For instance
4099  # both Tru64's cc and ICC support -MD to output dependencies as a
4100  # side effect of compilation, but ICC will put the dependencies in
4101  # the current directory while Tru64 will put them in the object
4102  # directory.
4103  mkdir sub
4104
4105  am_cv_CC_dependencies_compiler_type=none
4106  if test "$am_compiler_list" = ""; then
4107     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4108  fi
4109  am__universal=false
4110  case " $depcc " in #(
4111     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4112     esac
4113
4114  for depmode in $am_compiler_list; do
4115    # Setup a source with many dependencies, because some compilers
4116    # like to wrap large dependency lists on column 80 (with \), and
4117    # we should not choose a depcomp mode which is confused by this.
4118    #
4119    # We need to recreate these files for each test, as the compiler may
4120    # overwrite some of them when testing with obscure command lines.
4121    # This happens at least with the AIX C compiler.
4122    : > sub/conftest.c
4123    for i in 1 2 3 4 5 6; do
4124      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4125      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4126      # Solaris 10 /bin/sh.
4127      echo '/* dummy */' > sub/conftst$i.h
4128    done
4129    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4130
4131    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4132    # mode.  It turns out that the SunPro C++ compiler does not properly
4133    # handle '-M -o', and we need to detect this.  Also, some Intel
4134    # versions had trouble with output in subdirs.
4135    am__obj=sub/conftest.${OBJEXT-o}
4136    am__minus_obj="-o $am__obj"
4137    case $depmode in
4138    gcc)
4139      # This depmode causes a compiler race in universal mode.
4140      test "$am__universal" = false || continue
4141      ;;
4142    nosideeffect)
4143      # After this tag, mechanisms are not by side-effect, so they'll
4144      # only be used when explicitly requested.
4145      if test "x$enable_dependency_tracking" = xyes; then
4146	continue
4147      else
4148	break
4149      fi
4150      ;;
4151    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4152      # This compiler won't grok '-c -o', but also, the minuso test has
4153      # not run yet.  These depmodes are late enough in the game, and
4154      # so weak that their functioning should not be impacted.
4155      am__obj=conftest.${OBJEXT-o}
4156      am__minus_obj=
4157      ;;
4158    none) break ;;
4159    esac
4160    if depmode=$depmode \
4161       source=sub/conftest.c object=$am__obj \
4162       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4163       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4164         >/dev/null 2>conftest.err &&
4165       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4166       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4167       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4168       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4169      # icc doesn't choke on unknown options, it will just issue warnings
4170      # or remarks (even with -Werror).  So we grep stderr for any message
4171      # that says an option was ignored or not supported.
4172      # When given -MP, icc 7.0 and 7.1 complain thusly:
4173      #   icc: Command line warning: ignoring option '-M'; no argument required
4174      # The diagnosis changed in icc 8.0:
4175      #   icc: Command line remark: option '-MP' not supported
4176      if (grep 'ignoring option' conftest.err ||
4177          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4178        am_cv_CC_dependencies_compiler_type=$depmode
4179        break
4180      fi
4181    fi
4182  done
4183
4184  cd ..
4185  rm -rf conftest.dir
4186else
4187  am_cv_CC_dependencies_compiler_type=none
4188fi
4189
4190fi
4191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4192$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4193CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4194
4195 if
4196  test "x$enable_dependency_tracking" != xno \
4197  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4198  am__fastdepCC_TRUE=
4199  am__fastdepCC_FALSE='#'
4200else
4201  am__fastdepCC_TRUE='#'
4202  am__fastdepCC_FALSE=
4203fi
4204
4205
4206ac_ext=cpp
4207ac_cpp='$CXXCPP $CPPFLAGS'
4208ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4209ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4210ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4211if test -z "$CXX"; then
4212  if test -n "$CCC"; then
4213    CXX=$CCC
4214  else
4215    if test -n "$ac_tool_prefix"; then
4216  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4217  do
4218    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4219set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4221$as_echo_n "checking for $ac_word... " >&6; }
4222if ${ac_cv_prog_CXX+:} false; then :
4223  $as_echo_n "(cached) " >&6
4224else
4225  if test -n "$CXX"; then
4226  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4227else
4228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4229for as_dir in $PATH
4230do
4231  IFS=$as_save_IFS
4232  test -z "$as_dir" && as_dir=.
4233    for ac_exec_ext in '' $ac_executable_extensions; do
4234  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4235    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4236    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4237    break 2
4238  fi
4239done
4240  done
4241IFS=$as_save_IFS
4242
4243fi
4244fi
4245CXX=$ac_cv_prog_CXX
4246if test -n "$CXX"; then
4247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4248$as_echo "$CXX" >&6; }
4249else
4250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4251$as_echo "no" >&6; }
4252fi
4253
4254
4255    test -n "$CXX" && break
4256  done
4257fi
4258if test -z "$CXX"; then
4259  ac_ct_CXX=$CXX
4260  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4261do
4262  # Extract the first word of "$ac_prog", so it can be a program name with args.
4263set dummy $ac_prog; ac_word=$2
4264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4265$as_echo_n "checking for $ac_word... " >&6; }
4266if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4267  $as_echo_n "(cached) " >&6
4268else
4269  if test -n "$ac_ct_CXX"; then
4270  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4271else
4272as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4273for as_dir in $PATH
4274do
4275  IFS=$as_save_IFS
4276  test -z "$as_dir" && as_dir=.
4277    for ac_exec_ext in '' $ac_executable_extensions; do
4278  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4279    ac_cv_prog_ac_ct_CXX="$ac_prog"
4280    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4281    break 2
4282  fi
4283done
4284  done
4285IFS=$as_save_IFS
4286
4287fi
4288fi
4289ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4290if test -n "$ac_ct_CXX"; then
4291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4292$as_echo "$ac_ct_CXX" >&6; }
4293else
4294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4295$as_echo "no" >&6; }
4296fi
4297
4298
4299  test -n "$ac_ct_CXX" && break
4300done
4301
4302  if test "x$ac_ct_CXX" = x; then
4303    CXX="g++"
4304  else
4305    case $cross_compiling:$ac_tool_warned in
4306yes:)
4307{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4308$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4309ac_tool_warned=yes ;;
4310esac
4311    CXX=$ac_ct_CXX
4312  fi
4313fi
4314
4315  fi
4316fi
4317# Provide some information about the compiler.
4318$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4319set X $ac_compile
4320ac_compiler=$2
4321for ac_option in --version -v -V -qversion; do
4322  { { ac_try="$ac_compiler $ac_option >&5"
4323case "(($ac_try" in
4324  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4325  *) ac_try_echo=$ac_try;;
4326esac
4327eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4328$as_echo "$ac_try_echo"; } >&5
4329  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4330  ac_status=$?
4331  if test -s conftest.err; then
4332    sed '10a\
4333... rest of stderr output deleted ...
4334         10q' conftest.err >conftest.er1
4335    cat conftest.er1 >&5
4336  fi
4337  rm -f conftest.er1 conftest.err
4338  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4339  test $ac_status = 0; }
4340done
4341
4342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4343$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4344if ${ac_cv_cxx_compiler_gnu+:} false; then :
4345  $as_echo_n "(cached) " >&6
4346else
4347  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4348/* end confdefs.h.  */
4349
4350int
4351main ()
4352{
4353#ifndef __GNUC__
4354       choke me
4355#endif
4356
4357  ;
4358  return 0;
4359}
4360_ACEOF
4361if ac_fn_cxx_try_compile "$LINENO"; then :
4362  ac_compiler_gnu=yes
4363else
4364  ac_compiler_gnu=no
4365fi
4366rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4367ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4368
4369fi
4370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4371$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4372if test $ac_compiler_gnu = yes; then
4373  GXX=yes
4374else
4375  GXX=
4376fi
4377ac_test_CXXFLAGS=${CXXFLAGS+set}
4378ac_save_CXXFLAGS=$CXXFLAGS
4379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4380$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4381if ${ac_cv_prog_cxx_g+:} false; then :
4382  $as_echo_n "(cached) " >&6
4383else
4384  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4385   ac_cxx_werror_flag=yes
4386   ac_cv_prog_cxx_g=no
4387   CXXFLAGS="-g"
4388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4389/* end confdefs.h.  */
4390
4391int
4392main ()
4393{
4394
4395  ;
4396  return 0;
4397}
4398_ACEOF
4399if ac_fn_cxx_try_compile "$LINENO"; then :
4400  ac_cv_prog_cxx_g=yes
4401else
4402  CXXFLAGS=""
4403      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404/* end confdefs.h.  */
4405
4406int
4407main ()
4408{
4409
4410  ;
4411  return 0;
4412}
4413_ACEOF
4414if ac_fn_cxx_try_compile "$LINENO"; then :
4415
4416else
4417  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4418	 CXXFLAGS="-g"
4419	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4420/* end confdefs.h.  */
4421
4422int
4423main ()
4424{
4425
4426  ;
4427  return 0;
4428}
4429_ACEOF
4430if ac_fn_cxx_try_compile "$LINENO"; then :
4431  ac_cv_prog_cxx_g=yes
4432fi
4433rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4434fi
4435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4436fi
4437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4438   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4439fi
4440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4441$as_echo "$ac_cv_prog_cxx_g" >&6; }
4442if test "$ac_test_CXXFLAGS" = set; then
4443  CXXFLAGS=$ac_save_CXXFLAGS
4444elif test $ac_cv_prog_cxx_g = yes; then
4445  if test "$GXX" = yes; then
4446    CXXFLAGS="-g -O2"
4447  else
4448    CXXFLAGS="-g"
4449  fi
4450else
4451  if test "$GXX" = yes; then
4452    CXXFLAGS="-O2"
4453  else
4454    CXXFLAGS=
4455  fi
4456fi
4457ac_ext=c
4458ac_cpp='$CPP $CPPFLAGS'
4459ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4460ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4461ac_compiler_gnu=$ac_cv_c_compiler_gnu
4462
4463depcc="$CXX"  am_compiler_list=
4464
4465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4466$as_echo_n "checking dependency style of $depcc... " >&6; }
4467if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4468  $as_echo_n "(cached) " >&6
4469else
4470  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4471  # We make a subdir and do the tests there.  Otherwise we can end up
4472  # making bogus files that we don't know about and never remove.  For
4473  # instance it was reported that on HP-UX the gcc test will end up
4474  # making a dummy file named 'D' -- because '-MD' means "put the output
4475  # in D".
4476  rm -rf conftest.dir
4477  mkdir conftest.dir
4478  # Copy depcomp to subdir because otherwise we won't find it if we're
4479  # using a relative directory.
4480  cp "$am_depcomp" conftest.dir
4481  cd conftest.dir
4482  # We will build objects and dependencies in a subdirectory because
4483  # it helps to detect inapplicable dependency modes.  For instance
4484  # both Tru64's cc and ICC support -MD to output dependencies as a
4485  # side effect of compilation, but ICC will put the dependencies in
4486  # the current directory while Tru64 will put them in the object
4487  # directory.
4488  mkdir sub
4489
4490  am_cv_CXX_dependencies_compiler_type=none
4491  if test "$am_compiler_list" = ""; then
4492     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4493  fi
4494  am__universal=false
4495  case " $depcc " in #(
4496     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4497     esac
4498
4499  for depmode in $am_compiler_list; do
4500    # Setup a source with many dependencies, because some compilers
4501    # like to wrap large dependency lists on column 80 (with \), and
4502    # we should not choose a depcomp mode which is confused by this.
4503    #
4504    # We need to recreate these files for each test, as the compiler may
4505    # overwrite some of them when testing with obscure command lines.
4506    # This happens at least with the AIX C compiler.
4507    : > sub/conftest.c
4508    for i in 1 2 3 4 5 6; do
4509      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4510      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4511      # Solaris 10 /bin/sh.
4512      echo '/* dummy */' > sub/conftst$i.h
4513    done
4514    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4515
4516    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4517    # mode.  It turns out that the SunPro C++ compiler does not properly
4518    # handle '-M -o', and we need to detect this.  Also, some Intel
4519    # versions had trouble with output in subdirs.
4520    am__obj=sub/conftest.${OBJEXT-o}
4521    am__minus_obj="-o $am__obj"
4522    case $depmode in
4523    gcc)
4524      # This depmode causes a compiler race in universal mode.
4525      test "$am__universal" = false || continue
4526      ;;
4527    nosideeffect)
4528      # After this tag, mechanisms are not by side-effect, so they'll
4529      # only be used when explicitly requested.
4530      if test "x$enable_dependency_tracking" = xyes; then
4531	continue
4532      else
4533	break
4534      fi
4535      ;;
4536    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4537      # This compiler won't grok '-c -o', but also, the minuso test has
4538      # not run yet.  These depmodes are late enough in the game, and
4539      # so weak that their functioning should not be impacted.
4540      am__obj=conftest.${OBJEXT-o}
4541      am__minus_obj=
4542      ;;
4543    none) break ;;
4544    esac
4545    if depmode=$depmode \
4546       source=sub/conftest.c object=$am__obj \
4547       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4548       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4549         >/dev/null 2>conftest.err &&
4550       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4551       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4552       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4553       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4554      # icc doesn't choke on unknown options, it will just issue warnings
4555      # or remarks (even with -Werror).  So we grep stderr for any message
4556      # that says an option was ignored or not supported.
4557      # When given -MP, icc 7.0 and 7.1 complain thusly:
4558      #   icc: Command line warning: ignoring option '-M'; no argument required
4559      # The diagnosis changed in icc 8.0:
4560      #   icc: Command line remark: option '-MP' not supported
4561      if (grep 'ignoring option' conftest.err ||
4562          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4563        am_cv_CXX_dependencies_compiler_type=$depmode
4564        break
4565      fi
4566    fi
4567  done
4568
4569  cd ..
4570  rm -rf conftest.dir
4571else
4572  am_cv_CXX_dependencies_compiler_type=none
4573fi
4574
4575fi
4576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4577$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4578CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4579
4580 if
4581  test "x$enable_dependency_tracking" != xno \
4582  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4583  am__fastdepCXX_TRUE=
4584  am__fastdepCXX_FALSE='#'
4585else
4586  am__fastdepCXX_TRUE='#'
4587  am__fastdepCXX_FALSE=
4588fi
4589
4590
4591
4592case `pwd` in
4593  *\ * | *\	*)
4594    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4595$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4596esac
4597
4598
4599
4600macro_version='2.4.6'
4601macro_revision='2.4.6'
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615ltmain=$ac_aux_dir/ltmain.sh
4616
4617# Make sure we can run config.sub.
4618$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4619  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4620
4621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4622$as_echo_n "checking build system type... " >&6; }
4623if ${ac_cv_build+:} false; then :
4624  $as_echo_n "(cached) " >&6
4625else
4626  ac_build_alias=$build_alias
4627test "x$ac_build_alias" = x &&
4628  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4629test "x$ac_build_alias" = x &&
4630  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4631ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4632  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4633
4634fi
4635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4636$as_echo "$ac_cv_build" >&6; }
4637case $ac_cv_build in
4638*-*-*) ;;
4639*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4640esac
4641build=$ac_cv_build
4642ac_save_IFS=$IFS; IFS='-'
4643set x $ac_cv_build
4644shift
4645build_cpu=$1
4646build_vendor=$2
4647shift; shift
4648# Remember, the first character of IFS is used to create $*,
4649# except with old shells:
4650build_os=$*
4651IFS=$ac_save_IFS
4652case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4653
4654
4655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4656$as_echo_n "checking host system type... " >&6; }
4657if ${ac_cv_host+:} false; then :
4658  $as_echo_n "(cached) " >&6
4659else
4660  if test "x$host_alias" = x; then
4661  ac_cv_host=$ac_cv_build
4662else
4663  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4664    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4665fi
4666
4667fi
4668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4669$as_echo "$ac_cv_host" >&6; }
4670case $ac_cv_host in
4671*-*-*) ;;
4672*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4673esac
4674host=$ac_cv_host
4675ac_save_IFS=$IFS; IFS='-'
4676set x $ac_cv_host
4677shift
4678host_cpu=$1
4679host_vendor=$2
4680shift; shift
4681# Remember, the first character of IFS is used to create $*,
4682# except with old shells:
4683host_os=$*
4684IFS=$ac_save_IFS
4685case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4686
4687
4688# Backslashify metacharacters that are still active within
4689# double-quoted strings.
4690sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4691
4692# Same as above, but do not quote variable references.
4693double_quote_subst='s/\(["`\\]\)/\\\1/g'
4694
4695# Sed substitution to delay expansion of an escaped shell variable in a
4696# double_quote_subst'ed string.
4697delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4698
4699# Sed substitution to delay expansion of an escaped single quote.
4700delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4701
4702# Sed substitution to avoid accidental globbing in evaled expressions
4703no_glob_subst='s/\*/\\\*/g'
4704
4705ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4706ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4707ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4708
4709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4710$as_echo_n "checking how to print strings... " >&6; }
4711# Test print first, because it will be a builtin if present.
4712if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4713   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4714  ECHO='print -r --'
4715elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4716  ECHO='printf %s\n'
4717else
4718  # Use this function as a fallback that always works.
4719  func_fallback_echo ()
4720  {
4721    eval 'cat <<_LTECHO_EOF
4722$1
4723_LTECHO_EOF'
4724  }
4725  ECHO='func_fallback_echo'
4726fi
4727
4728# func_echo_all arg...
4729# Invoke $ECHO with all args, space-separated.
4730func_echo_all ()
4731{
4732    $ECHO ""
4733}
4734
4735case $ECHO in
4736  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4737$as_echo "printf" >&6; } ;;
4738  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4739$as_echo "print -r" >&6; } ;;
4740  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4741$as_echo "cat" >&6; } ;;
4742esac
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4758$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4759if ${ac_cv_path_SED+:} false; then :
4760  $as_echo_n "(cached) " >&6
4761else
4762            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4763     for ac_i in 1 2 3 4 5 6 7; do
4764       ac_script="$ac_script$as_nl$ac_script"
4765     done
4766     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4767     { ac_script=; unset ac_script;}
4768     if test -z "$SED"; then
4769  ac_path_SED_found=false
4770  # Loop through the user's path and test for each of PROGNAME-LIST
4771  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4772for as_dir in $PATH
4773do
4774  IFS=$as_save_IFS
4775  test -z "$as_dir" && as_dir=.
4776    for ac_prog in sed gsed; do
4777    for ac_exec_ext in '' $ac_executable_extensions; do
4778      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4779      as_fn_executable_p "$ac_path_SED" || continue
4780# Check for GNU ac_path_SED and select it if it is found.
4781  # Check for GNU $ac_path_SED
4782case `"$ac_path_SED" --version 2>&1` in
4783*GNU*)
4784  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4785*)
4786  ac_count=0
4787  $as_echo_n 0123456789 >"conftest.in"
4788  while :
4789  do
4790    cat "conftest.in" "conftest.in" >"conftest.tmp"
4791    mv "conftest.tmp" "conftest.in"
4792    cp "conftest.in" "conftest.nl"
4793    $as_echo '' >> "conftest.nl"
4794    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4795    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4796    as_fn_arith $ac_count + 1 && ac_count=$as_val
4797    if test $ac_count -gt ${ac_path_SED_max-0}; then
4798      # Best one so far, save it but keep looking for a better one
4799      ac_cv_path_SED="$ac_path_SED"
4800      ac_path_SED_max=$ac_count
4801    fi
4802    # 10*(2^10) chars as input seems more than enough
4803    test $ac_count -gt 10 && break
4804  done
4805  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4806esac
4807
4808      $ac_path_SED_found && break 3
4809    done
4810  done
4811  done
4812IFS=$as_save_IFS
4813  if test -z "$ac_cv_path_SED"; then
4814    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4815  fi
4816else
4817  ac_cv_path_SED=$SED
4818fi
4819
4820fi
4821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4822$as_echo "$ac_cv_path_SED" >&6; }
4823 SED="$ac_cv_path_SED"
4824  rm -f conftest.sed
4825
4826test -z "$SED" && SED=sed
4827Xsed="$SED -e 1s/^X//"
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4840$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4841if ${ac_cv_path_GREP+:} false; then :
4842  $as_echo_n "(cached) " >&6
4843else
4844  if test -z "$GREP"; then
4845  ac_path_GREP_found=false
4846  # Loop through the user's path and test for each of PROGNAME-LIST
4847  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4848for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4849do
4850  IFS=$as_save_IFS
4851  test -z "$as_dir" && as_dir=.
4852    for ac_prog in grep ggrep; do
4853    for ac_exec_ext in '' $ac_executable_extensions; do
4854      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4855      as_fn_executable_p "$ac_path_GREP" || continue
4856# Check for GNU ac_path_GREP and select it if it is found.
4857  # Check for GNU $ac_path_GREP
4858case `"$ac_path_GREP" --version 2>&1` in
4859*GNU*)
4860  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4861*)
4862  ac_count=0
4863  $as_echo_n 0123456789 >"conftest.in"
4864  while :
4865  do
4866    cat "conftest.in" "conftest.in" >"conftest.tmp"
4867    mv "conftest.tmp" "conftest.in"
4868    cp "conftest.in" "conftest.nl"
4869    $as_echo 'GREP' >> "conftest.nl"
4870    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4871    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4872    as_fn_arith $ac_count + 1 && ac_count=$as_val
4873    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4874      # Best one so far, save it but keep looking for a better one
4875      ac_cv_path_GREP="$ac_path_GREP"
4876      ac_path_GREP_max=$ac_count
4877    fi
4878    # 10*(2^10) chars as input seems more than enough
4879    test $ac_count -gt 10 && break
4880  done
4881  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4882esac
4883
4884      $ac_path_GREP_found && break 3
4885    done
4886  done
4887  done
4888IFS=$as_save_IFS
4889  if test -z "$ac_cv_path_GREP"; then
4890    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4891  fi
4892else
4893  ac_cv_path_GREP=$GREP
4894fi
4895
4896fi
4897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4898$as_echo "$ac_cv_path_GREP" >&6; }
4899 GREP="$ac_cv_path_GREP"
4900
4901
4902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4903$as_echo_n "checking for egrep... " >&6; }
4904if ${ac_cv_path_EGREP+:} false; then :
4905  $as_echo_n "(cached) " >&6
4906else
4907  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4908   then ac_cv_path_EGREP="$GREP -E"
4909   else
4910     if test -z "$EGREP"; then
4911  ac_path_EGREP_found=false
4912  # Loop through the user's path and test for each of PROGNAME-LIST
4913  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4914for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4915do
4916  IFS=$as_save_IFS
4917  test -z "$as_dir" && as_dir=.
4918    for ac_prog in egrep; do
4919    for ac_exec_ext in '' $ac_executable_extensions; do
4920      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4921      as_fn_executable_p "$ac_path_EGREP" || continue
4922# Check for GNU ac_path_EGREP and select it if it is found.
4923  # Check for GNU $ac_path_EGREP
4924case `"$ac_path_EGREP" --version 2>&1` in
4925*GNU*)
4926  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4927*)
4928  ac_count=0
4929  $as_echo_n 0123456789 >"conftest.in"
4930  while :
4931  do
4932    cat "conftest.in" "conftest.in" >"conftest.tmp"
4933    mv "conftest.tmp" "conftest.in"
4934    cp "conftest.in" "conftest.nl"
4935    $as_echo 'EGREP' >> "conftest.nl"
4936    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4937    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4938    as_fn_arith $ac_count + 1 && ac_count=$as_val
4939    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4940      # Best one so far, save it but keep looking for a better one
4941      ac_cv_path_EGREP="$ac_path_EGREP"
4942      ac_path_EGREP_max=$ac_count
4943    fi
4944    # 10*(2^10) chars as input seems more than enough
4945    test $ac_count -gt 10 && break
4946  done
4947  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4948esac
4949
4950      $ac_path_EGREP_found && break 3
4951    done
4952  done
4953  done
4954IFS=$as_save_IFS
4955  if test -z "$ac_cv_path_EGREP"; then
4956    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4957  fi
4958else
4959  ac_cv_path_EGREP=$EGREP
4960fi
4961
4962   fi
4963fi
4964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4965$as_echo "$ac_cv_path_EGREP" >&6; }
4966 EGREP="$ac_cv_path_EGREP"
4967
4968
4969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4970$as_echo_n "checking for fgrep... " >&6; }
4971if ${ac_cv_path_FGREP+:} false; then :
4972  $as_echo_n "(cached) " >&6
4973else
4974  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4975   then ac_cv_path_FGREP="$GREP -F"
4976   else
4977     if test -z "$FGREP"; then
4978  ac_path_FGREP_found=false
4979  # Loop through the user's path and test for each of PROGNAME-LIST
4980  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4981for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4982do
4983  IFS=$as_save_IFS
4984  test -z "$as_dir" && as_dir=.
4985    for ac_prog in fgrep; do
4986    for ac_exec_ext in '' $ac_executable_extensions; do
4987      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4988      as_fn_executable_p "$ac_path_FGREP" || continue
4989# Check for GNU ac_path_FGREP and select it if it is found.
4990  # Check for GNU $ac_path_FGREP
4991case `"$ac_path_FGREP" --version 2>&1` in
4992*GNU*)
4993  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4994*)
4995  ac_count=0
4996  $as_echo_n 0123456789 >"conftest.in"
4997  while :
4998  do
4999    cat "conftest.in" "conftest.in" >"conftest.tmp"
5000    mv "conftest.tmp" "conftest.in"
5001    cp "conftest.in" "conftest.nl"
5002    $as_echo 'FGREP' >> "conftest.nl"
5003    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5004    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5005    as_fn_arith $ac_count + 1 && ac_count=$as_val
5006    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5007      # Best one so far, save it but keep looking for a better one
5008      ac_cv_path_FGREP="$ac_path_FGREP"
5009      ac_path_FGREP_max=$ac_count
5010    fi
5011    # 10*(2^10) chars as input seems more than enough
5012    test $ac_count -gt 10 && break
5013  done
5014  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5015esac
5016
5017      $ac_path_FGREP_found && break 3
5018    done
5019  done
5020  done
5021IFS=$as_save_IFS
5022  if test -z "$ac_cv_path_FGREP"; then
5023    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5024  fi
5025else
5026  ac_cv_path_FGREP=$FGREP
5027fi
5028
5029   fi
5030fi
5031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5032$as_echo "$ac_cv_path_FGREP" >&6; }
5033 FGREP="$ac_cv_path_FGREP"
5034
5035
5036test -z "$GREP" && GREP=grep
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056# Check whether --with-gnu-ld was given.
5057if test "${with_gnu_ld+set}" = set; then :
5058  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5059else
5060  with_gnu_ld=no
5061fi
5062
5063ac_prog=ld
5064if test yes = "$GCC"; then
5065  # Check if gcc -print-prog-name=ld gives a path.
5066  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5067$as_echo_n "checking for ld used by $CC... " >&6; }
5068  case $host in
5069  *-*-mingw*)
5070    # gcc leaves a trailing carriage return, which upsets mingw
5071    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5072  *)
5073    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5074  esac
5075  case $ac_prog in
5076    # Accept absolute paths.
5077    [\\/]* | ?:[\\/]*)
5078      re_direlt='/[^/][^/]*/\.\./'
5079      # Canonicalize the pathname of ld
5080      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5081      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5082	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5083      done
5084      test -z "$LD" && LD=$ac_prog
5085      ;;
5086  "")
5087    # If it fails, then pretend we aren't using GCC.
5088    ac_prog=ld
5089    ;;
5090  *)
5091    # If it is relative, then search for the first ld in PATH.
5092    with_gnu_ld=unknown
5093    ;;
5094  esac
5095elif test yes = "$with_gnu_ld"; then
5096  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5097$as_echo_n "checking for GNU ld... " >&6; }
5098else
5099  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5100$as_echo_n "checking for non-GNU ld... " >&6; }
5101fi
5102if ${lt_cv_path_LD+:} false; then :
5103  $as_echo_n "(cached) " >&6
5104else
5105  if test -z "$LD"; then
5106  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5107  for ac_dir in $PATH; do
5108    IFS=$lt_save_ifs
5109    test -z "$ac_dir" && ac_dir=.
5110    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5111      lt_cv_path_LD=$ac_dir/$ac_prog
5112      # Check to see if the program is GNU ld.  I'd rather use --version,
5113      # but apparently some variants of GNU ld only accept -v.
5114      # Break only if it was the GNU/non-GNU ld that we prefer.
5115      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5116      *GNU* | *'with BFD'*)
5117	test no != "$with_gnu_ld" && break
5118	;;
5119      *)
5120	test yes != "$with_gnu_ld" && break
5121	;;
5122      esac
5123    fi
5124  done
5125  IFS=$lt_save_ifs
5126else
5127  lt_cv_path_LD=$LD # Let the user override the test with a path.
5128fi
5129fi
5130
5131LD=$lt_cv_path_LD
5132if test -n "$LD"; then
5133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5134$as_echo "$LD" >&6; }
5135else
5136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137$as_echo "no" >&6; }
5138fi
5139test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5141$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5142if ${lt_cv_prog_gnu_ld+:} false; then :
5143  $as_echo_n "(cached) " >&6
5144else
5145  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5146case `$LD -v 2>&1 </dev/null` in
5147*GNU* | *'with BFD'*)
5148  lt_cv_prog_gnu_ld=yes
5149  ;;
5150*)
5151  lt_cv_prog_gnu_ld=no
5152  ;;
5153esac
5154fi
5155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5156$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5157with_gnu_ld=$lt_cv_prog_gnu_ld
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5168$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5169if ${lt_cv_path_NM+:} false; then :
5170  $as_echo_n "(cached) " >&6
5171else
5172  if test -n "$NM"; then
5173  # Let the user override the test.
5174  lt_cv_path_NM=$NM
5175else
5176  lt_nm_to_check=${ac_tool_prefix}nm
5177  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5178    lt_nm_to_check="$lt_nm_to_check nm"
5179  fi
5180  for lt_tmp_nm in $lt_nm_to_check; do
5181    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5182    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5183      IFS=$lt_save_ifs
5184      test -z "$ac_dir" && ac_dir=.
5185      tmp_nm=$ac_dir/$lt_tmp_nm
5186      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5187	# Check to see if the nm accepts a BSD-compat flag.
5188	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5189	#   nm: unknown option "B" ignored
5190	# Tru64's nm complains that /dev/null is an invalid object file
5191	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5192	case $build_os in
5193	mingw*) lt_bad_file=conftest.nm/nofile ;;
5194	*) lt_bad_file=/dev/null ;;
5195	esac
5196	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5197	*$lt_bad_file* | *'Invalid file or object type'*)
5198	  lt_cv_path_NM="$tmp_nm -B"
5199	  break 2
5200	  ;;
5201	*)
5202	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5203	  */dev/null*)
5204	    lt_cv_path_NM="$tmp_nm -p"
5205	    break 2
5206	    ;;
5207	  *)
5208	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5209	    continue # so that we can try to find one that supports BSD flags
5210	    ;;
5211	  esac
5212	  ;;
5213	esac
5214      fi
5215    done
5216    IFS=$lt_save_ifs
5217  done
5218  : ${lt_cv_path_NM=no}
5219fi
5220fi
5221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5222$as_echo "$lt_cv_path_NM" >&6; }
5223if test no != "$lt_cv_path_NM"; then
5224  NM=$lt_cv_path_NM
5225else
5226  # Didn't find any BSD compatible name lister, look for dumpbin.
5227  if test -n "$DUMPBIN"; then :
5228    # Let the user override the test.
5229  else
5230    if test -n "$ac_tool_prefix"; then
5231  for ac_prog in dumpbin "link -dump"
5232  do
5233    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5234set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5236$as_echo_n "checking for $ac_word... " >&6; }
5237if ${ac_cv_prog_DUMPBIN+:} false; then :
5238  $as_echo_n "(cached) " >&6
5239else
5240  if test -n "$DUMPBIN"; then
5241  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5242else
5243as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5244for as_dir in $PATH
5245do
5246  IFS=$as_save_IFS
5247  test -z "$as_dir" && as_dir=.
5248    for ac_exec_ext in '' $ac_executable_extensions; do
5249  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5250    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5251    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5252    break 2
5253  fi
5254done
5255  done
5256IFS=$as_save_IFS
5257
5258fi
5259fi
5260DUMPBIN=$ac_cv_prog_DUMPBIN
5261if test -n "$DUMPBIN"; then
5262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5263$as_echo "$DUMPBIN" >&6; }
5264else
5265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5266$as_echo "no" >&6; }
5267fi
5268
5269
5270    test -n "$DUMPBIN" && break
5271  done
5272fi
5273if test -z "$DUMPBIN"; then
5274  ac_ct_DUMPBIN=$DUMPBIN
5275  for ac_prog in dumpbin "link -dump"
5276do
5277  # Extract the first word of "$ac_prog", so it can be a program name with args.
5278set dummy $ac_prog; ac_word=$2
5279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5280$as_echo_n "checking for $ac_word... " >&6; }
5281if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5282  $as_echo_n "(cached) " >&6
5283else
5284  if test -n "$ac_ct_DUMPBIN"; then
5285  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5286else
5287as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5288for as_dir in $PATH
5289do
5290  IFS=$as_save_IFS
5291  test -z "$as_dir" && as_dir=.
5292    for ac_exec_ext in '' $ac_executable_extensions; do
5293  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5294    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5295    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5296    break 2
5297  fi
5298done
5299  done
5300IFS=$as_save_IFS
5301
5302fi
5303fi
5304ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5305if test -n "$ac_ct_DUMPBIN"; then
5306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5307$as_echo "$ac_ct_DUMPBIN" >&6; }
5308else
5309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5310$as_echo "no" >&6; }
5311fi
5312
5313
5314  test -n "$ac_ct_DUMPBIN" && break
5315done
5316
5317  if test "x$ac_ct_DUMPBIN" = x; then
5318    DUMPBIN=":"
5319  else
5320    case $cross_compiling:$ac_tool_warned in
5321yes:)
5322{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5323$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5324ac_tool_warned=yes ;;
5325esac
5326    DUMPBIN=$ac_ct_DUMPBIN
5327  fi
5328fi
5329
5330    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5331    *COFF*)
5332      DUMPBIN="$DUMPBIN -symbols -headers"
5333      ;;
5334    *)
5335      DUMPBIN=:
5336      ;;
5337    esac
5338  fi
5339
5340  if test : != "$DUMPBIN"; then
5341    NM=$DUMPBIN
5342  fi
5343fi
5344test -z "$NM" && NM=nm
5345
5346
5347
5348
5349
5350
5351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5352$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5353if ${lt_cv_nm_interface+:} false; then :
5354  $as_echo_n "(cached) " >&6
5355else
5356  lt_cv_nm_interface="BSD nm"
5357  echo "int some_variable = 0;" > conftest.$ac_ext
5358  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5359  (eval "$ac_compile" 2>conftest.err)
5360  cat conftest.err >&5
5361  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5362  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5363  cat conftest.err >&5
5364  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5365  cat conftest.out >&5
5366  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5367    lt_cv_nm_interface="MS dumpbin"
5368  fi
5369  rm -f conftest*
5370fi
5371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5372$as_echo "$lt_cv_nm_interface" >&6; }
5373
5374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5375$as_echo_n "checking whether ln -s works... " >&6; }
5376LN_S=$as_ln_s
5377if test "$LN_S" = "ln -s"; then
5378  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5379$as_echo "yes" >&6; }
5380else
5381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5382$as_echo "no, using $LN_S" >&6; }
5383fi
5384
5385# find the maximum length of command line arguments
5386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5387$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5388if ${lt_cv_sys_max_cmd_len+:} false; then :
5389  $as_echo_n "(cached) " >&6
5390else
5391    i=0
5392  teststring=ABCD
5393
5394  case $build_os in
5395  msdosdjgpp*)
5396    # On DJGPP, this test can blow up pretty badly due to problems in libc
5397    # (any single argument exceeding 2000 bytes causes a buffer overrun
5398    # during glob expansion).  Even if it were fixed, the result of this
5399    # check would be larger than it should be.
5400    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5401    ;;
5402
5403  gnu*)
5404    # Under GNU Hurd, this test is not required because there is
5405    # no limit to the length of command line arguments.
5406    # Libtool will interpret -1 as no limit whatsoever
5407    lt_cv_sys_max_cmd_len=-1;
5408    ;;
5409
5410  cygwin* | mingw* | cegcc*)
5411    # On Win9x/ME, this test blows up -- it succeeds, but takes
5412    # about 5 minutes as the teststring grows exponentially.
5413    # Worse, since 9x/ME are not pre-emptively multitasking,
5414    # you end up with a "frozen" computer, even though with patience
5415    # the test eventually succeeds (with a max line length of 256k).
5416    # Instead, let's just punt: use the minimum linelength reported by
5417    # all of the supported platforms: 8192 (on NT/2K/XP).
5418    lt_cv_sys_max_cmd_len=8192;
5419    ;;
5420
5421  mint*)
5422    # On MiNT this can take a long time and run out of memory.
5423    lt_cv_sys_max_cmd_len=8192;
5424    ;;
5425
5426  amigaos*)
5427    # On AmigaOS with pdksh, this test takes hours, literally.
5428    # So we just punt and use a minimum line length of 8192.
5429    lt_cv_sys_max_cmd_len=8192;
5430    ;;
5431
5432  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5433    # This has been around since 386BSD, at least.  Likely further.
5434    if test -x /sbin/sysctl; then
5435      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5436    elif test -x /usr/sbin/sysctl; then
5437      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5438    else
5439      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5440    fi
5441    # And add a safety zone
5442    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5443    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5444    ;;
5445
5446  interix*)
5447    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5448    lt_cv_sys_max_cmd_len=196608
5449    ;;
5450
5451  os2*)
5452    # The test takes a long time on OS/2.
5453    lt_cv_sys_max_cmd_len=8192
5454    ;;
5455
5456  osf*)
5457    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5458    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5459    # nice to cause kernel panics so lets avoid the loop below.
5460    # First set a reasonable default.
5461    lt_cv_sys_max_cmd_len=16384
5462    #
5463    if test -x /sbin/sysconfig; then
5464      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5465        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5466      esac
5467    fi
5468    ;;
5469  sco3.2v5*)
5470    lt_cv_sys_max_cmd_len=102400
5471    ;;
5472  sysv5* | sco5v6* | sysv4.2uw2*)
5473    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5474    if test -n "$kargmax"; then
5475      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5476    else
5477      lt_cv_sys_max_cmd_len=32768
5478    fi
5479    ;;
5480  *)
5481    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5482    if test -n "$lt_cv_sys_max_cmd_len" && \
5483       test undefined != "$lt_cv_sys_max_cmd_len"; then
5484      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5485      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5486    else
5487      # Make teststring a little bigger before we do anything with it.
5488      # a 1K string should be a reasonable start.
5489      for i in 1 2 3 4 5 6 7 8; do
5490        teststring=$teststring$teststring
5491      done
5492      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5493      # If test is not a shell built-in, we'll probably end up computing a
5494      # maximum length that is only half of the actual maximum length, but
5495      # we can't tell.
5496      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5497	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5498	      test 17 != "$i" # 1/2 MB should be enough
5499      do
5500        i=`expr $i + 1`
5501        teststring=$teststring$teststring
5502      done
5503      # Only check the string length outside the loop.
5504      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5505      teststring=
5506      # Add a significant safety factor because C++ compilers can tack on
5507      # massive amounts of additional arguments before passing them to the
5508      # linker.  It appears as though 1/2 is a usable value.
5509      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5510    fi
5511    ;;
5512  esac
5513
5514fi
5515
5516if test -n "$lt_cv_sys_max_cmd_len"; then
5517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5518$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5519else
5520  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5521$as_echo "none" >&6; }
5522fi
5523max_cmd_len=$lt_cv_sys_max_cmd_len
5524
5525
5526
5527
5528
5529
5530: ${CP="cp -f"}
5531: ${MV="mv -f"}
5532: ${RM="rm -f"}
5533
5534if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5535  lt_unset=unset
5536else
5537  lt_unset=false
5538fi
5539
5540
5541
5542
5543
5544# test EBCDIC or ASCII
5545case `echo X|tr X '\101'` in
5546 A) # ASCII based system
5547    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5548  lt_SP2NL='tr \040 \012'
5549  lt_NL2SP='tr \015\012 \040\040'
5550  ;;
5551 *) # EBCDIC based system
5552  lt_SP2NL='tr \100 \n'
5553  lt_NL2SP='tr \r\n \100\100'
5554  ;;
5555esac
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5566$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5567if ${lt_cv_to_host_file_cmd+:} false; then :
5568  $as_echo_n "(cached) " >&6
5569else
5570  case $host in
5571  *-*-mingw* )
5572    case $build in
5573      *-*-mingw* ) # actually msys
5574        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5575        ;;
5576      *-*-cygwin* )
5577        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5578        ;;
5579      * ) # otherwise, assume *nix
5580        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5581        ;;
5582    esac
5583    ;;
5584  *-*-cygwin* )
5585    case $build in
5586      *-*-mingw* ) # actually msys
5587        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5588        ;;
5589      *-*-cygwin* )
5590        lt_cv_to_host_file_cmd=func_convert_file_noop
5591        ;;
5592      * ) # otherwise, assume *nix
5593        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5594        ;;
5595    esac
5596    ;;
5597  * ) # unhandled hosts (and "normal" native builds)
5598    lt_cv_to_host_file_cmd=func_convert_file_noop
5599    ;;
5600esac
5601
5602fi
5603
5604to_host_file_cmd=$lt_cv_to_host_file_cmd
5605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5606$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5607
5608
5609
5610
5611
5612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5613$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5614if ${lt_cv_to_tool_file_cmd+:} false; then :
5615  $as_echo_n "(cached) " >&6
5616else
5617  #assume ordinary cross tools, or native build.
5618lt_cv_to_tool_file_cmd=func_convert_file_noop
5619case $host in
5620  *-*-mingw* )
5621    case $build in
5622      *-*-mingw* ) # actually msys
5623        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5624        ;;
5625    esac
5626    ;;
5627esac
5628
5629fi
5630
5631to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5633$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5634
5635
5636
5637
5638
5639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5640$as_echo_n "checking for $LD option to reload object files... " >&6; }
5641if ${lt_cv_ld_reload_flag+:} false; then :
5642  $as_echo_n "(cached) " >&6
5643else
5644  lt_cv_ld_reload_flag='-r'
5645fi
5646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5647$as_echo "$lt_cv_ld_reload_flag" >&6; }
5648reload_flag=$lt_cv_ld_reload_flag
5649case $reload_flag in
5650"" | " "*) ;;
5651*) reload_flag=" $reload_flag" ;;
5652esac
5653reload_cmds='$LD$reload_flag -o $output$reload_objs'
5654case $host_os in
5655  cygwin* | mingw* | pw32* | cegcc*)
5656    if test yes != "$GCC"; then
5657      reload_cmds=false
5658    fi
5659    ;;
5660  darwin*)
5661    if test yes = "$GCC"; then
5662      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5663    else
5664      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5665    fi
5666    ;;
5667esac
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677if test -n "$ac_tool_prefix"; then
5678  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5679set dummy ${ac_tool_prefix}objdump; ac_word=$2
5680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5681$as_echo_n "checking for $ac_word... " >&6; }
5682if ${ac_cv_prog_OBJDUMP+:} false; then :
5683  $as_echo_n "(cached) " >&6
5684else
5685  if test -n "$OBJDUMP"; then
5686  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5687else
5688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5689for as_dir in $PATH
5690do
5691  IFS=$as_save_IFS
5692  test -z "$as_dir" && as_dir=.
5693    for ac_exec_ext in '' $ac_executable_extensions; do
5694  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5695    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5696    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5697    break 2
5698  fi
5699done
5700  done
5701IFS=$as_save_IFS
5702
5703fi
5704fi
5705OBJDUMP=$ac_cv_prog_OBJDUMP
5706if test -n "$OBJDUMP"; then
5707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5708$as_echo "$OBJDUMP" >&6; }
5709else
5710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5711$as_echo "no" >&6; }
5712fi
5713
5714
5715fi
5716if test -z "$ac_cv_prog_OBJDUMP"; then
5717  ac_ct_OBJDUMP=$OBJDUMP
5718  # Extract the first word of "objdump", so it can be a program name with args.
5719set dummy objdump; ac_word=$2
5720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5721$as_echo_n "checking for $ac_word... " >&6; }
5722if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5723  $as_echo_n "(cached) " >&6
5724else
5725  if test -n "$ac_ct_OBJDUMP"; then
5726  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5727else
5728as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5729for as_dir in $PATH
5730do
5731  IFS=$as_save_IFS
5732  test -z "$as_dir" && as_dir=.
5733    for ac_exec_ext in '' $ac_executable_extensions; do
5734  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5735    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5736    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5737    break 2
5738  fi
5739done
5740  done
5741IFS=$as_save_IFS
5742
5743fi
5744fi
5745ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5746if test -n "$ac_ct_OBJDUMP"; then
5747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5748$as_echo "$ac_ct_OBJDUMP" >&6; }
5749else
5750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5751$as_echo "no" >&6; }
5752fi
5753
5754  if test "x$ac_ct_OBJDUMP" = x; then
5755    OBJDUMP="false"
5756  else
5757    case $cross_compiling:$ac_tool_warned in
5758yes:)
5759{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5760$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5761ac_tool_warned=yes ;;
5762esac
5763    OBJDUMP=$ac_ct_OBJDUMP
5764  fi
5765else
5766  OBJDUMP="$ac_cv_prog_OBJDUMP"
5767fi
5768
5769test -z "$OBJDUMP" && OBJDUMP=objdump
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5780$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5781if ${lt_cv_deplibs_check_method+:} false; then :
5782  $as_echo_n "(cached) " >&6
5783else
5784  lt_cv_file_magic_cmd='$MAGIC_CMD'
5785lt_cv_file_magic_test_file=
5786lt_cv_deplibs_check_method='unknown'
5787# Need to set the preceding variable on all platforms that support
5788# interlibrary dependencies.
5789# 'none' -- dependencies not supported.
5790# 'unknown' -- same as none, but documents that we really don't know.
5791# 'pass_all' -- all dependencies passed with no checks.
5792# 'test_compile' -- check by making test program.
5793# 'file_magic [[regex]]' -- check by looking for files in library path
5794# that responds to the $file_magic_cmd with a given extended regex.
5795# If you have 'file' or equivalent on your system and you're not sure
5796# whether 'pass_all' will *always* work, you probably want this one.
5797
5798case $host_os in
5799aix[4-9]*)
5800  lt_cv_deplibs_check_method=pass_all
5801  ;;
5802
5803beos*)
5804  lt_cv_deplibs_check_method=pass_all
5805  ;;
5806
5807bsdi[45]*)
5808  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5809  lt_cv_file_magic_cmd='/usr/bin/file -L'
5810  lt_cv_file_magic_test_file=/shlib/libc.so
5811  ;;
5812
5813cygwin*)
5814  # func_win32_libid is a shell function defined in ltmain.sh
5815  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5816  lt_cv_file_magic_cmd='func_win32_libid'
5817  ;;
5818
5819mingw* | pw32*)
5820  # Base MSYS/MinGW do not provide the 'file' command needed by
5821  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5822  # unless we find 'file', for example because we are cross-compiling.
5823  if ( file / ) >/dev/null 2>&1; then
5824    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5825    lt_cv_file_magic_cmd='func_win32_libid'
5826  else
5827    # Keep this pattern in sync with the one in func_win32_libid.
5828    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5829    lt_cv_file_magic_cmd='$OBJDUMP -f'
5830  fi
5831  ;;
5832
5833cegcc*)
5834  # use the weaker test based on 'objdump'. See mingw*.
5835  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5836  lt_cv_file_magic_cmd='$OBJDUMP -f'
5837  ;;
5838
5839darwin* | rhapsody*)
5840  lt_cv_deplibs_check_method=pass_all
5841  ;;
5842
5843freebsd* | dragonfly*)
5844  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5845    case $host_cpu in
5846    i*86 )
5847      # Not sure whether the presence of OpenBSD here was a mistake.
5848      # Let's accept both of them until this is cleared up.
5849      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5850      lt_cv_file_magic_cmd=/usr/bin/file
5851      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5852      ;;
5853    esac
5854  else
5855    lt_cv_deplibs_check_method=pass_all
5856  fi
5857  ;;
5858
5859haiku*)
5860  lt_cv_deplibs_check_method=pass_all
5861  ;;
5862
5863hpux10.20* | hpux11*)
5864  lt_cv_file_magic_cmd=/usr/bin/file
5865  case $host_cpu in
5866  ia64*)
5867    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5868    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5869    ;;
5870  hppa*64*)
5871    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]'
5872    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5873    ;;
5874  *)
5875    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5876    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5877    ;;
5878  esac
5879  ;;
5880
5881interix[3-9]*)
5882  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5883  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5884  ;;
5885
5886irix5* | irix6* | nonstopux*)
5887  case $LD in
5888  *-32|*"-32 ") libmagic=32-bit;;
5889  *-n32|*"-n32 ") libmagic=N32;;
5890  *-64|*"-64 ") libmagic=64-bit;;
5891  *) libmagic=never-match;;
5892  esac
5893  lt_cv_deplibs_check_method=pass_all
5894  ;;
5895
5896# This must be glibc/ELF.
5897linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5898  lt_cv_deplibs_check_method=pass_all
5899  ;;
5900
5901netbsd*)
5902  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5903    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5904  else
5905    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5906  fi
5907  ;;
5908
5909newos6*)
5910  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5911  lt_cv_file_magic_cmd=/usr/bin/file
5912  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5913  ;;
5914
5915*nto* | *qnx*)
5916  lt_cv_deplibs_check_method=pass_all
5917  ;;
5918
5919openbsd* | bitrig*)
5920  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5921    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5922  else
5923    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5924  fi
5925  ;;
5926
5927osf3* | osf4* | osf5*)
5928  lt_cv_deplibs_check_method=pass_all
5929  ;;
5930
5931rdos*)
5932  lt_cv_deplibs_check_method=pass_all
5933  ;;
5934
5935solaris*)
5936  lt_cv_deplibs_check_method=pass_all
5937  ;;
5938
5939sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5940  lt_cv_deplibs_check_method=pass_all
5941  ;;
5942
5943sysv4 | sysv4.3*)
5944  case $host_vendor in
5945  motorola)
5946    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]'
5947    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5948    ;;
5949  ncr)
5950    lt_cv_deplibs_check_method=pass_all
5951    ;;
5952  sequent)
5953    lt_cv_file_magic_cmd='/bin/file'
5954    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5955    ;;
5956  sni)
5957    lt_cv_file_magic_cmd='/bin/file'
5958    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5959    lt_cv_file_magic_test_file=/lib/libc.so
5960    ;;
5961  siemens)
5962    lt_cv_deplibs_check_method=pass_all
5963    ;;
5964  pc)
5965    lt_cv_deplibs_check_method=pass_all
5966    ;;
5967  esac
5968  ;;
5969
5970tpf*)
5971  lt_cv_deplibs_check_method=pass_all
5972  ;;
5973os2*)
5974  lt_cv_deplibs_check_method=pass_all
5975  ;;
5976esac
5977
5978fi
5979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5980$as_echo "$lt_cv_deplibs_check_method" >&6; }
5981
5982file_magic_glob=
5983want_nocaseglob=no
5984if test "$build" = "$host"; then
5985  case $host_os in
5986  mingw* | pw32*)
5987    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5988      want_nocaseglob=yes
5989    else
5990      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5991    fi
5992    ;;
5993  esac
5994fi
5995
5996file_magic_cmd=$lt_cv_file_magic_cmd
5997deplibs_check_method=$lt_cv_deplibs_check_method
5998test -z "$deplibs_check_method" && deplibs_check_method=unknown
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021if test -n "$ac_tool_prefix"; then
6022  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6023set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6025$as_echo_n "checking for $ac_word... " >&6; }
6026if ${ac_cv_prog_DLLTOOL+:} false; then :
6027  $as_echo_n "(cached) " >&6
6028else
6029  if test -n "$DLLTOOL"; then
6030  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6031else
6032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6033for as_dir in $PATH
6034do
6035  IFS=$as_save_IFS
6036  test -z "$as_dir" && as_dir=.
6037    for ac_exec_ext in '' $ac_executable_extensions; do
6038  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6039    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6040    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6041    break 2
6042  fi
6043done
6044  done
6045IFS=$as_save_IFS
6046
6047fi
6048fi
6049DLLTOOL=$ac_cv_prog_DLLTOOL
6050if test -n "$DLLTOOL"; then
6051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6052$as_echo "$DLLTOOL" >&6; }
6053else
6054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6055$as_echo "no" >&6; }
6056fi
6057
6058
6059fi
6060if test -z "$ac_cv_prog_DLLTOOL"; then
6061  ac_ct_DLLTOOL=$DLLTOOL
6062  # Extract the first word of "dlltool", so it can be a program name with args.
6063set dummy dlltool; ac_word=$2
6064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065$as_echo_n "checking for $ac_word... " >&6; }
6066if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6067  $as_echo_n "(cached) " >&6
6068else
6069  if test -n "$ac_ct_DLLTOOL"; then
6070  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6071else
6072as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073for as_dir in $PATH
6074do
6075  IFS=$as_save_IFS
6076  test -z "$as_dir" && as_dir=.
6077    for ac_exec_ext in '' $ac_executable_extensions; do
6078  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6079    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6080    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6081    break 2
6082  fi
6083done
6084  done
6085IFS=$as_save_IFS
6086
6087fi
6088fi
6089ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6090if test -n "$ac_ct_DLLTOOL"; then
6091  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6092$as_echo "$ac_ct_DLLTOOL" >&6; }
6093else
6094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095$as_echo "no" >&6; }
6096fi
6097
6098  if test "x$ac_ct_DLLTOOL" = x; then
6099    DLLTOOL="false"
6100  else
6101    case $cross_compiling:$ac_tool_warned in
6102yes:)
6103{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6104$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6105ac_tool_warned=yes ;;
6106esac
6107    DLLTOOL=$ac_ct_DLLTOOL
6108  fi
6109else
6110  DLLTOOL="$ac_cv_prog_DLLTOOL"
6111fi
6112
6113test -z "$DLLTOOL" && DLLTOOL=dlltool
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6125$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6126if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6127  $as_echo_n "(cached) " >&6
6128else
6129  lt_cv_sharedlib_from_linklib_cmd='unknown'
6130
6131case $host_os in
6132cygwin* | mingw* | pw32* | cegcc*)
6133  # two different shell functions defined in ltmain.sh;
6134  # decide which one to use based on capabilities of $DLLTOOL
6135  case `$DLLTOOL --help 2>&1` in
6136  *--identify-strict*)
6137    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6138    ;;
6139  *)
6140    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6141    ;;
6142  esac
6143  ;;
6144*)
6145  # fallback: assume linklib IS sharedlib
6146  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6147  ;;
6148esac
6149
6150fi
6151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6152$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6153sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6154test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6155
6156
6157
6158
6159
6160
6161
6162
6163if test -n "$ac_tool_prefix"; then
6164  for ac_prog in ar
6165  do
6166    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6167set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6169$as_echo_n "checking for $ac_word... " >&6; }
6170if ${ac_cv_prog_AR+:} false; then :
6171  $as_echo_n "(cached) " >&6
6172else
6173  if test -n "$AR"; then
6174  ac_cv_prog_AR="$AR" # Let the user override the test.
6175else
6176as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6177for as_dir in $PATH
6178do
6179  IFS=$as_save_IFS
6180  test -z "$as_dir" && as_dir=.
6181    for ac_exec_ext in '' $ac_executable_extensions; do
6182  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6183    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6184    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6185    break 2
6186  fi
6187done
6188  done
6189IFS=$as_save_IFS
6190
6191fi
6192fi
6193AR=$ac_cv_prog_AR
6194if test -n "$AR"; then
6195  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6196$as_echo "$AR" >&6; }
6197else
6198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199$as_echo "no" >&6; }
6200fi
6201
6202
6203    test -n "$AR" && break
6204  done
6205fi
6206if test -z "$AR"; then
6207  ac_ct_AR=$AR
6208  for ac_prog in ar
6209do
6210  # Extract the first word of "$ac_prog", so it can be a program name with args.
6211set dummy $ac_prog; ac_word=$2
6212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6213$as_echo_n "checking for $ac_word... " >&6; }
6214if ${ac_cv_prog_ac_ct_AR+:} false; then :
6215  $as_echo_n "(cached) " >&6
6216else
6217  if test -n "$ac_ct_AR"; then
6218  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6219else
6220as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6221for as_dir in $PATH
6222do
6223  IFS=$as_save_IFS
6224  test -z "$as_dir" && as_dir=.
6225    for ac_exec_ext in '' $ac_executable_extensions; do
6226  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6227    ac_cv_prog_ac_ct_AR="$ac_prog"
6228    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6229    break 2
6230  fi
6231done
6232  done
6233IFS=$as_save_IFS
6234
6235fi
6236fi
6237ac_ct_AR=$ac_cv_prog_ac_ct_AR
6238if test -n "$ac_ct_AR"; then
6239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6240$as_echo "$ac_ct_AR" >&6; }
6241else
6242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6243$as_echo "no" >&6; }
6244fi
6245
6246
6247  test -n "$ac_ct_AR" && break
6248done
6249
6250  if test "x$ac_ct_AR" = x; then
6251    AR="false"
6252  else
6253    case $cross_compiling:$ac_tool_warned in
6254yes:)
6255{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6256$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6257ac_tool_warned=yes ;;
6258esac
6259    AR=$ac_ct_AR
6260  fi
6261fi
6262
6263: ${AR=ar}
6264: ${AR_FLAGS=cru}
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6277$as_echo_n "checking for archiver @FILE support... " >&6; }
6278if ${lt_cv_ar_at_file+:} false; then :
6279  $as_echo_n "(cached) " >&6
6280else
6281  lt_cv_ar_at_file=no
6282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6283/* end confdefs.h.  */
6284
6285int
6286main ()
6287{
6288
6289  ;
6290  return 0;
6291}
6292_ACEOF
6293if ac_fn_c_try_compile "$LINENO"; then :
6294  echo conftest.$ac_objext > conftest.lst
6295      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6296      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6297  (eval $lt_ar_try) 2>&5
6298  ac_status=$?
6299  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6300  test $ac_status = 0; }
6301      if test 0 -eq "$ac_status"; then
6302	# Ensure the archiver fails upon bogus file names.
6303	rm -f conftest.$ac_objext libconftest.a
6304	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6305  (eval $lt_ar_try) 2>&5
6306  ac_status=$?
6307  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6308  test $ac_status = 0; }
6309	if test 0 -ne "$ac_status"; then
6310          lt_cv_ar_at_file=@
6311        fi
6312      fi
6313      rm -f conftest.* libconftest.a
6314
6315fi
6316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6317
6318fi
6319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6320$as_echo "$lt_cv_ar_at_file" >&6; }
6321
6322if test no = "$lt_cv_ar_at_file"; then
6323  archiver_list_spec=
6324else
6325  archiver_list_spec=$lt_cv_ar_at_file
6326fi
6327
6328
6329
6330
6331
6332
6333
6334if test -n "$ac_tool_prefix"; then
6335  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6336set dummy ${ac_tool_prefix}strip; ac_word=$2
6337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6338$as_echo_n "checking for $ac_word... " >&6; }
6339if ${ac_cv_prog_STRIP+:} false; then :
6340  $as_echo_n "(cached) " >&6
6341else
6342  if test -n "$STRIP"; then
6343  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6344else
6345as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6346for as_dir in $PATH
6347do
6348  IFS=$as_save_IFS
6349  test -z "$as_dir" && as_dir=.
6350    for ac_exec_ext in '' $ac_executable_extensions; do
6351  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6352    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6353    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6354    break 2
6355  fi
6356done
6357  done
6358IFS=$as_save_IFS
6359
6360fi
6361fi
6362STRIP=$ac_cv_prog_STRIP
6363if test -n "$STRIP"; then
6364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6365$as_echo "$STRIP" >&6; }
6366else
6367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6368$as_echo "no" >&6; }
6369fi
6370
6371
6372fi
6373if test -z "$ac_cv_prog_STRIP"; then
6374  ac_ct_STRIP=$STRIP
6375  # Extract the first word of "strip", so it can be a program name with args.
6376set dummy strip; ac_word=$2
6377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6378$as_echo_n "checking for $ac_word... " >&6; }
6379if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6380  $as_echo_n "(cached) " >&6
6381else
6382  if test -n "$ac_ct_STRIP"; then
6383  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6384else
6385as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6386for as_dir in $PATH
6387do
6388  IFS=$as_save_IFS
6389  test -z "$as_dir" && as_dir=.
6390    for ac_exec_ext in '' $ac_executable_extensions; do
6391  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6392    ac_cv_prog_ac_ct_STRIP="strip"
6393    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6394    break 2
6395  fi
6396done
6397  done
6398IFS=$as_save_IFS
6399
6400fi
6401fi
6402ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6403if test -n "$ac_ct_STRIP"; then
6404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6405$as_echo "$ac_ct_STRIP" >&6; }
6406else
6407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6408$as_echo "no" >&6; }
6409fi
6410
6411  if test "x$ac_ct_STRIP" = x; then
6412    STRIP=":"
6413  else
6414    case $cross_compiling:$ac_tool_warned in
6415yes:)
6416{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6417$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6418ac_tool_warned=yes ;;
6419esac
6420    STRIP=$ac_ct_STRIP
6421  fi
6422else
6423  STRIP="$ac_cv_prog_STRIP"
6424fi
6425
6426test -z "$STRIP" && STRIP=:
6427
6428
6429
6430
6431
6432
6433if test -n "$ac_tool_prefix"; then
6434  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6435set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6437$as_echo_n "checking for $ac_word... " >&6; }
6438if ${ac_cv_prog_RANLIB+:} false; then :
6439  $as_echo_n "(cached) " >&6
6440else
6441  if test -n "$RANLIB"; then
6442  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6443else
6444as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445for as_dir in $PATH
6446do
6447  IFS=$as_save_IFS
6448  test -z "$as_dir" && as_dir=.
6449    for ac_exec_ext in '' $ac_executable_extensions; do
6450  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6451    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6452    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6453    break 2
6454  fi
6455done
6456  done
6457IFS=$as_save_IFS
6458
6459fi
6460fi
6461RANLIB=$ac_cv_prog_RANLIB
6462if test -n "$RANLIB"; then
6463  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6464$as_echo "$RANLIB" >&6; }
6465else
6466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6467$as_echo "no" >&6; }
6468fi
6469
6470
6471fi
6472if test -z "$ac_cv_prog_RANLIB"; then
6473  ac_ct_RANLIB=$RANLIB
6474  # Extract the first word of "ranlib", so it can be a program name with args.
6475set dummy ranlib; ac_word=$2
6476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6477$as_echo_n "checking for $ac_word... " >&6; }
6478if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6479  $as_echo_n "(cached) " >&6
6480else
6481  if test -n "$ac_ct_RANLIB"; then
6482  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6483else
6484as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6485for as_dir in $PATH
6486do
6487  IFS=$as_save_IFS
6488  test -z "$as_dir" && as_dir=.
6489    for ac_exec_ext in '' $ac_executable_extensions; do
6490  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6491    ac_cv_prog_ac_ct_RANLIB="ranlib"
6492    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6493    break 2
6494  fi
6495done
6496  done
6497IFS=$as_save_IFS
6498
6499fi
6500fi
6501ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6502if test -n "$ac_ct_RANLIB"; then
6503  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6504$as_echo "$ac_ct_RANLIB" >&6; }
6505else
6506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6507$as_echo "no" >&6; }
6508fi
6509
6510  if test "x$ac_ct_RANLIB" = x; then
6511    RANLIB=":"
6512  else
6513    case $cross_compiling:$ac_tool_warned in
6514yes:)
6515{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6516$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6517ac_tool_warned=yes ;;
6518esac
6519    RANLIB=$ac_ct_RANLIB
6520  fi
6521else
6522  RANLIB="$ac_cv_prog_RANLIB"
6523fi
6524
6525test -z "$RANLIB" && RANLIB=:
6526
6527
6528
6529
6530
6531
6532# Determine commands to create old-style static archives.
6533old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6534old_postinstall_cmds='chmod 644 $oldlib'
6535old_postuninstall_cmds=
6536
6537if test -n "$RANLIB"; then
6538  case $host_os in
6539  bitrig* | openbsd*)
6540    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6541    ;;
6542  *)
6543    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6544    ;;
6545  esac
6546  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6547fi
6548
6549case $host_os in
6550  darwin*)
6551    lock_old_archive_extraction=yes ;;
6552  *)
6553    lock_old_archive_extraction=no ;;
6554esac
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594# If no C compiler was specified, use CC.
6595LTCC=${LTCC-"$CC"}
6596
6597# If no C compiler flags were specified, use CFLAGS.
6598LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6599
6600# Allow CC to be a program name with arguments.
6601compiler=$CC
6602
6603
6604# Check for command to grab the raw symbol name followed by C symbol from nm.
6605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6606$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6607if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6608  $as_echo_n "(cached) " >&6
6609else
6610
6611# These are sane defaults that work on at least a few old systems.
6612# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6613
6614# Character class describing NM global symbol codes.
6615symcode='[BCDEGRST]'
6616
6617# Regexp to match symbols that can be accessed directly from C.
6618sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6619
6620# Define system-specific variables.
6621case $host_os in
6622aix*)
6623  symcode='[BCDT]'
6624  ;;
6625cygwin* | mingw* | pw32* | cegcc*)
6626  symcode='[ABCDGISTW]'
6627  ;;
6628hpux*)
6629  if test ia64 = "$host_cpu"; then
6630    symcode='[ABCDEGRST]'
6631  fi
6632  ;;
6633irix* | nonstopux*)
6634  symcode='[BCDEGRST]'
6635  ;;
6636osf*)
6637  symcode='[BCDEGQRST]'
6638  ;;
6639solaris*)
6640  symcode='[BDRT]'
6641  ;;
6642sco3.2v5*)
6643  symcode='[DT]'
6644  ;;
6645sysv4.2uw2*)
6646  symcode='[DT]'
6647  ;;
6648sysv5* | sco5v6* | unixware* | OpenUNIX*)
6649  symcode='[ABDT]'
6650  ;;
6651sysv4)
6652  symcode='[DFNSTU]'
6653  ;;
6654esac
6655
6656# If we're using GNU nm, then use its standard symbol codes.
6657case `$NM -V 2>&1` in
6658*GNU* | *'with BFD'*)
6659  symcode='[ABCDGIRSTW]' ;;
6660esac
6661
6662if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6663  # Gets list of data symbols to import.
6664  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6665  # Adjust the below global symbol transforms to fixup imported variables.
6666  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6667  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6668  lt_c_name_lib_hook="\
6669  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6670  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6671else
6672  # Disable hooks by default.
6673  lt_cv_sys_global_symbol_to_import=
6674  lt_cdecl_hook=
6675  lt_c_name_hook=
6676  lt_c_name_lib_hook=
6677fi
6678
6679# Transform an extracted symbol line into a proper C declaration.
6680# Some systems (esp. on ia64) link data and code symbols differently,
6681# so use this general approach.
6682lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6683$lt_cdecl_hook\
6684" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6685" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6686
6687# Transform an extracted symbol line into symbol name and symbol address
6688lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6689$lt_c_name_hook\
6690" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6691" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6692
6693# Transform an extracted symbol line into symbol name with lib prefix and
6694# symbol address.
6695lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6696$lt_c_name_lib_hook\
6697" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6698" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6699" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6700
6701# Handle CRLF in mingw tool chain
6702opt_cr=
6703case $build_os in
6704mingw*)
6705  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6706  ;;
6707esac
6708
6709# Try without a prefix underscore, then with it.
6710for ac_symprfx in "" "_"; do
6711
6712  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6713  symxfrm="\\1 $ac_symprfx\\2 \\2"
6714
6715  # Write the raw and C identifiers.
6716  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6717    # Fake it for dumpbin and say T for any non-static function,
6718    # D for any global variable and I for any imported variable.
6719    # Also find C++ and __fastcall symbols from MSVC++,
6720    # which start with @ or ?.
6721    lt_cv_sys_global_symbol_pipe="$AWK '"\
6722"     {last_section=section; section=\$ 3};"\
6723"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6724"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6725"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6726"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6727"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6728"     \$ 0!~/External *\|/{next};"\
6729"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6730"     {if(hide[section]) next};"\
6731"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6732"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6733"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6734"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6735"     ' prfx=^$ac_symprfx"
6736  else
6737    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6738  fi
6739  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6740
6741  # Check to see that the pipe works correctly.
6742  pipe_works=no
6743
6744  rm -f conftest*
6745  cat > conftest.$ac_ext <<_LT_EOF
6746#ifdef __cplusplus
6747extern "C" {
6748#endif
6749char nm_test_var;
6750void nm_test_func(void);
6751void nm_test_func(void){}
6752#ifdef __cplusplus
6753}
6754#endif
6755int main(){nm_test_var='a';nm_test_func();return(0);}
6756_LT_EOF
6757
6758  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6759  (eval $ac_compile) 2>&5
6760  ac_status=$?
6761  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6762  test $ac_status = 0; }; then
6763    # Now try to grab the symbols.
6764    nlist=conftest.nm
6765    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6766  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6767  ac_status=$?
6768  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6769  test $ac_status = 0; } && test -s "$nlist"; then
6770      # Try sorting and uniquifying the output.
6771      if sort "$nlist" | uniq > "$nlist"T; then
6772	mv -f "$nlist"T "$nlist"
6773      else
6774	rm -f "$nlist"T
6775      fi
6776
6777      # Make sure that we snagged all the symbols we need.
6778      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6779	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6780	  cat <<_LT_EOF > conftest.$ac_ext
6781/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6782#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6783/* DATA imports from DLLs on WIN32 can't be const, because runtime
6784   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6785# define LT_DLSYM_CONST
6786#elif defined __osf__
6787/* This system does not cope well with relocations in const data.  */
6788# define LT_DLSYM_CONST
6789#else
6790# define LT_DLSYM_CONST const
6791#endif
6792
6793#ifdef __cplusplus
6794extern "C" {
6795#endif
6796
6797_LT_EOF
6798	  # Now generate the symbol file.
6799	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6800
6801	  cat <<_LT_EOF >> conftest.$ac_ext
6802
6803/* The mapping between symbol names and symbols.  */
6804LT_DLSYM_CONST struct {
6805  const char *name;
6806  void       *address;
6807}
6808lt__PROGRAM__LTX_preloaded_symbols[] =
6809{
6810  { "@PROGRAM@", (void *) 0 },
6811_LT_EOF
6812	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6813	  cat <<\_LT_EOF >> conftest.$ac_ext
6814  {0, (void *) 0}
6815};
6816
6817/* This works around a problem in FreeBSD linker */
6818#ifdef FREEBSD_WORKAROUND
6819static const void *lt_preloaded_setup() {
6820  return lt__PROGRAM__LTX_preloaded_symbols;
6821}
6822#endif
6823
6824#ifdef __cplusplus
6825}
6826#endif
6827_LT_EOF
6828	  # Now try linking the two files.
6829	  mv conftest.$ac_objext conftstm.$ac_objext
6830	  lt_globsym_save_LIBS=$LIBS
6831	  lt_globsym_save_CFLAGS=$CFLAGS
6832	  LIBS=conftstm.$ac_objext
6833	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6834	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6835  (eval $ac_link) 2>&5
6836  ac_status=$?
6837  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6838  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6839	    pipe_works=yes
6840	  fi
6841	  LIBS=$lt_globsym_save_LIBS
6842	  CFLAGS=$lt_globsym_save_CFLAGS
6843	else
6844	  echo "cannot find nm_test_func in $nlist" >&5
6845	fi
6846      else
6847	echo "cannot find nm_test_var in $nlist" >&5
6848      fi
6849    else
6850      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6851    fi
6852  else
6853    echo "$progname: failed program was:" >&5
6854    cat conftest.$ac_ext >&5
6855  fi
6856  rm -rf conftest* conftst*
6857
6858  # Do not use the global_symbol_pipe unless it works.
6859  if test yes = "$pipe_works"; then
6860    break
6861  else
6862    lt_cv_sys_global_symbol_pipe=
6863  fi
6864done
6865
6866fi
6867
6868if test -z "$lt_cv_sys_global_symbol_pipe"; then
6869  lt_cv_sys_global_symbol_to_cdecl=
6870fi
6871if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6873$as_echo "failed" >&6; }
6874else
6875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6876$as_echo "ok" >&6; }
6877fi
6878
6879# Response file support.
6880if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6881  nm_file_list_spec='@'
6882elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6883  nm_file_list_spec='@'
6884fi
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6923$as_echo_n "checking for sysroot... " >&6; }
6924
6925# Check whether --with-sysroot was given.
6926if test "${with_sysroot+set}" = set; then :
6927  withval=$with_sysroot;
6928else
6929  with_sysroot=no
6930fi
6931
6932
6933lt_sysroot=
6934case $with_sysroot in #(
6935 yes)
6936   if test yes = "$GCC"; then
6937     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6938   fi
6939   ;; #(
6940 /*)
6941   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6942   ;; #(
6943 no|'')
6944   ;; #(
6945 *)
6946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6947$as_echo "$with_sysroot" >&6; }
6948   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6949   ;;
6950esac
6951
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6953$as_echo "${lt_sysroot:-no}" >&6; }
6954
6955
6956
6957
6958
6959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6960$as_echo_n "checking for a working dd... " >&6; }
6961if ${ac_cv_path_lt_DD+:} false; then :
6962  $as_echo_n "(cached) " >&6
6963else
6964  printf 0123456789abcdef0123456789abcdef >conftest.i
6965cat conftest.i conftest.i >conftest2.i
6966: ${lt_DD:=$DD}
6967if test -z "$lt_DD"; then
6968  ac_path_lt_DD_found=false
6969  # Loop through the user's path and test for each of PROGNAME-LIST
6970  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6971for as_dir in $PATH
6972do
6973  IFS=$as_save_IFS
6974  test -z "$as_dir" && as_dir=.
6975    for ac_prog in dd; do
6976    for ac_exec_ext in '' $ac_executable_extensions; do
6977      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6978      as_fn_executable_p "$ac_path_lt_DD" || continue
6979if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6980  cmp -s conftest.i conftest.out \
6981  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6982fi
6983      $ac_path_lt_DD_found && break 3
6984    done
6985  done
6986  done
6987IFS=$as_save_IFS
6988  if test -z "$ac_cv_path_lt_DD"; then
6989    :
6990  fi
6991else
6992  ac_cv_path_lt_DD=$lt_DD
6993fi
6994
6995rm -f conftest.i conftest2.i conftest.out
6996fi
6997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6998$as_echo "$ac_cv_path_lt_DD" >&6; }
6999
7000
7001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7002$as_echo_n "checking how to truncate binary pipes... " >&6; }
7003if ${lt_cv_truncate_bin+:} false; then :
7004  $as_echo_n "(cached) " >&6
7005else
7006  printf 0123456789abcdef0123456789abcdef >conftest.i
7007cat conftest.i conftest.i >conftest2.i
7008lt_cv_truncate_bin=
7009if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7010  cmp -s conftest.i conftest.out \
7011  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7012fi
7013rm -f conftest.i conftest2.i conftest.out
7014test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7015fi
7016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7017$as_echo "$lt_cv_truncate_bin" >&6; }
7018
7019
7020
7021
7022
7023
7024
7025# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7026func_cc_basename ()
7027{
7028    for cc_temp in $*""; do
7029      case $cc_temp in
7030        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7031        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7032        \-*) ;;
7033        *) break;;
7034      esac
7035    done
7036    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7037}
7038
7039# Check whether --enable-libtool-lock was given.
7040if test "${enable_libtool_lock+set}" = set; then :
7041  enableval=$enable_libtool_lock;
7042fi
7043
7044test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7045
7046# Some flags need to be propagated to the compiler or linker for good
7047# libtool support.
7048case $host in
7049ia64-*-hpux*)
7050  # Find out what ABI is being produced by ac_compile, and set mode
7051  # options accordingly.
7052  echo 'int i;' > conftest.$ac_ext
7053  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7054  (eval $ac_compile) 2>&5
7055  ac_status=$?
7056  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7057  test $ac_status = 0; }; then
7058    case `/usr/bin/file conftest.$ac_objext` in
7059      *ELF-32*)
7060	HPUX_IA64_MODE=32
7061	;;
7062      *ELF-64*)
7063	HPUX_IA64_MODE=64
7064	;;
7065    esac
7066  fi
7067  rm -rf conftest*
7068  ;;
7069*-*-irix6*)
7070  # Find out what ABI is being produced by ac_compile, and set linker
7071  # options accordingly.
7072  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7073  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7074  (eval $ac_compile) 2>&5
7075  ac_status=$?
7076  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7077  test $ac_status = 0; }; then
7078    if test yes = "$lt_cv_prog_gnu_ld"; then
7079      case `/usr/bin/file conftest.$ac_objext` in
7080	*32-bit*)
7081	  LD="${LD-ld} -melf32bsmip"
7082	  ;;
7083	*N32*)
7084	  LD="${LD-ld} -melf32bmipn32"
7085	  ;;
7086	*64-bit*)
7087	  LD="${LD-ld} -melf64bmip"
7088	;;
7089      esac
7090    else
7091      case `/usr/bin/file conftest.$ac_objext` in
7092	*32-bit*)
7093	  LD="${LD-ld} -32"
7094	  ;;
7095	*N32*)
7096	  LD="${LD-ld} -n32"
7097	  ;;
7098	*64-bit*)
7099	  LD="${LD-ld} -64"
7100	  ;;
7101      esac
7102    fi
7103  fi
7104  rm -rf conftest*
7105  ;;
7106
7107mips64*-*linux*)
7108  # Find out what ABI is being produced by ac_compile, and set linker
7109  # options accordingly.
7110  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7111  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7112  (eval $ac_compile) 2>&5
7113  ac_status=$?
7114  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7115  test $ac_status = 0; }; then
7116    emul=elf
7117    case `/usr/bin/file conftest.$ac_objext` in
7118      *32-bit*)
7119	emul="${emul}32"
7120	;;
7121      *64-bit*)
7122	emul="${emul}64"
7123	;;
7124    esac
7125    case `/usr/bin/file conftest.$ac_objext` in
7126      *MSB*)
7127	emul="${emul}btsmip"
7128	;;
7129      *LSB*)
7130	emul="${emul}ltsmip"
7131	;;
7132    esac
7133    case `/usr/bin/file conftest.$ac_objext` in
7134      *N32*)
7135	emul="${emul}n32"
7136	;;
7137    esac
7138    LD="${LD-ld} -m $emul"
7139  fi
7140  rm -rf conftest*
7141  ;;
7142
7143x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7144s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7145  # Find out what ABI is being produced by ac_compile, and set linker
7146  # options accordingly.  Note that the listed cases only cover the
7147  # situations where additional linker options are needed (such as when
7148  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7149  # vice versa); the common cases where no linker options are needed do
7150  # not appear in the list.
7151  echo 'int i;' > conftest.$ac_ext
7152  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7153  (eval $ac_compile) 2>&5
7154  ac_status=$?
7155  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7156  test $ac_status = 0; }; then
7157    case `/usr/bin/file conftest.o` in
7158      *32-bit*)
7159	case $host in
7160	  x86_64-*kfreebsd*-gnu)
7161	    LD="${LD-ld} -m elf_i386_fbsd"
7162	    ;;
7163	  x86_64-*linux*)
7164	    case `/usr/bin/file conftest.o` in
7165	      *x86-64*)
7166		LD="${LD-ld} -m elf32_x86_64"
7167		;;
7168	      *)
7169		LD="${LD-ld} -m elf_i386"
7170		;;
7171	    esac
7172	    ;;
7173	  powerpc64le-*linux*)
7174	    LD="${LD-ld} -m elf32lppclinux"
7175	    ;;
7176	  powerpc64-*linux*)
7177	    LD="${LD-ld} -m elf32ppclinux"
7178	    ;;
7179	  s390x-*linux*)
7180	    LD="${LD-ld} -m elf_s390"
7181	    ;;
7182	  sparc64-*linux*)
7183	    LD="${LD-ld} -m elf32_sparc"
7184	    ;;
7185	esac
7186	;;
7187      *64-bit*)
7188	case $host in
7189	  x86_64-*kfreebsd*-gnu)
7190	    LD="${LD-ld} -m elf_x86_64_fbsd"
7191	    ;;
7192	  x86_64-*linux*)
7193	    LD="${LD-ld} -m elf_x86_64"
7194	    ;;
7195	  powerpcle-*linux*)
7196	    LD="${LD-ld} -m elf64lppc"
7197	    ;;
7198	  powerpc-*linux*)
7199	    LD="${LD-ld} -m elf64ppc"
7200	    ;;
7201	  s390*-*linux*|s390*-*tpf*)
7202	    LD="${LD-ld} -m elf64_s390"
7203	    ;;
7204	  sparc*-*linux*)
7205	    LD="${LD-ld} -m elf64_sparc"
7206	    ;;
7207	esac
7208	;;
7209    esac
7210  fi
7211  rm -rf conftest*
7212  ;;
7213
7214*-*-sco3.2v5*)
7215  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7216  SAVE_CFLAGS=$CFLAGS
7217  CFLAGS="$CFLAGS -belf"
7218  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7219$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7220if ${lt_cv_cc_needs_belf+:} false; then :
7221  $as_echo_n "(cached) " >&6
7222else
7223  ac_ext=c
7224ac_cpp='$CPP $CPPFLAGS'
7225ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7226ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7227ac_compiler_gnu=$ac_cv_c_compiler_gnu
7228
7229     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7230/* end confdefs.h.  */
7231
7232int
7233main ()
7234{
7235
7236  ;
7237  return 0;
7238}
7239_ACEOF
7240if ac_fn_c_try_link "$LINENO"; then :
7241  lt_cv_cc_needs_belf=yes
7242else
7243  lt_cv_cc_needs_belf=no
7244fi
7245rm -f core conftest.err conftest.$ac_objext \
7246    conftest$ac_exeext conftest.$ac_ext
7247     ac_ext=c
7248ac_cpp='$CPP $CPPFLAGS'
7249ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7250ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7251ac_compiler_gnu=$ac_cv_c_compiler_gnu
7252
7253fi
7254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7255$as_echo "$lt_cv_cc_needs_belf" >&6; }
7256  if test yes != "$lt_cv_cc_needs_belf"; then
7257    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7258    CFLAGS=$SAVE_CFLAGS
7259  fi
7260  ;;
7261*-*solaris*)
7262  # Find out what ABI is being produced by ac_compile, and set linker
7263  # options accordingly.
7264  echo 'int i;' > conftest.$ac_ext
7265  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7266  (eval $ac_compile) 2>&5
7267  ac_status=$?
7268  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7269  test $ac_status = 0; }; then
7270    case `/usr/bin/file conftest.o` in
7271    *64-bit*)
7272      case $lt_cv_prog_gnu_ld in
7273      yes*)
7274        case $host in
7275        i?86-*-solaris*|x86_64-*-solaris*)
7276          LD="${LD-ld} -m elf_x86_64"
7277          ;;
7278        sparc*-*-solaris*)
7279          LD="${LD-ld} -m elf64_sparc"
7280          ;;
7281        esac
7282        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7283        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7284          LD=${LD-ld}_sol2
7285        fi
7286        ;;
7287      *)
7288	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7289	  LD="${LD-ld} -64"
7290	fi
7291	;;
7292      esac
7293      ;;
7294    esac
7295  fi
7296  rm -rf conftest*
7297  ;;
7298esac
7299
7300need_locks=$enable_libtool_lock
7301
7302if test -n "$ac_tool_prefix"; then
7303  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7304set dummy ${ac_tool_prefix}mt; ac_word=$2
7305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7306$as_echo_n "checking for $ac_word... " >&6; }
7307if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7308  $as_echo_n "(cached) " >&6
7309else
7310  if test -n "$MANIFEST_TOOL"; then
7311  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7312else
7313as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7314for as_dir in $PATH
7315do
7316  IFS=$as_save_IFS
7317  test -z "$as_dir" && as_dir=.
7318    for ac_exec_ext in '' $ac_executable_extensions; do
7319  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7320    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7321    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7322    break 2
7323  fi
7324done
7325  done
7326IFS=$as_save_IFS
7327
7328fi
7329fi
7330MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7331if test -n "$MANIFEST_TOOL"; then
7332  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7333$as_echo "$MANIFEST_TOOL" >&6; }
7334else
7335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7336$as_echo "no" >&6; }
7337fi
7338
7339
7340fi
7341if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7342  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7343  # Extract the first word of "mt", so it can be a program name with args.
7344set dummy mt; ac_word=$2
7345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7346$as_echo_n "checking for $ac_word... " >&6; }
7347if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7348  $as_echo_n "(cached) " >&6
7349else
7350  if test -n "$ac_ct_MANIFEST_TOOL"; then
7351  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7352else
7353as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7354for as_dir in $PATH
7355do
7356  IFS=$as_save_IFS
7357  test -z "$as_dir" && as_dir=.
7358    for ac_exec_ext in '' $ac_executable_extensions; do
7359  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7360    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7361    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7362    break 2
7363  fi
7364done
7365  done
7366IFS=$as_save_IFS
7367
7368fi
7369fi
7370ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7371if test -n "$ac_ct_MANIFEST_TOOL"; then
7372  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7373$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7374else
7375  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7376$as_echo "no" >&6; }
7377fi
7378
7379  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7380    MANIFEST_TOOL=":"
7381  else
7382    case $cross_compiling:$ac_tool_warned in
7383yes:)
7384{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7385$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7386ac_tool_warned=yes ;;
7387esac
7388    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7389  fi
7390else
7391  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7392fi
7393
7394test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7396$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7397if ${lt_cv_path_mainfest_tool+:} false; then :
7398  $as_echo_n "(cached) " >&6
7399else
7400  lt_cv_path_mainfest_tool=no
7401  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7402  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7403  cat conftest.err >&5
7404  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7405    lt_cv_path_mainfest_tool=yes
7406  fi
7407  rm -f conftest*
7408fi
7409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7410$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7411if test yes != "$lt_cv_path_mainfest_tool"; then
7412  MANIFEST_TOOL=:
7413fi
7414
7415
7416
7417
7418
7419
7420  case $host_os in
7421    rhapsody* | darwin*)
7422    if test -n "$ac_tool_prefix"; then
7423  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7424set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7426$as_echo_n "checking for $ac_word... " >&6; }
7427if ${ac_cv_prog_DSYMUTIL+:} false; then :
7428  $as_echo_n "(cached) " >&6
7429else
7430  if test -n "$DSYMUTIL"; then
7431  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7432else
7433as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7434for as_dir in $PATH
7435do
7436  IFS=$as_save_IFS
7437  test -z "$as_dir" && as_dir=.
7438    for ac_exec_ext in '' $ac_executable_extensions; do
7439  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7440    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7441    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7442    break 2
7443  fi
7444done
7445  done
7446IFS=$as_save_IFS
7447
7448fi
7449fi
7450DSYMUTIL=$ac_cv_prog_DSYMUTIL
7451if test -n "$DSYMUTIL"; then
7452  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7453$as_echo "$DSYMUTIL" >&6; }
7454else
7455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456$as_echo "no" >&6; }
7457fi
7458
7459
7460fi
7461if test -z "$ac_cv_prog_DSYMUTIL"; then
7462  ac_ct_DSYMUTIL=$DSYMUTIL
7463  # Extract the first word of "dsymutil", so it can be a program name with args.
7464set dummy dsymutil; ac_word=$2
7465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7466$as_echo_n "checking for $ac_word... " >&6; }
7467if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7468  $as_echo_n "(cached) " >&6
7469else
7470  if test -n "$ac_ct_DSYMUTIL"; then
7471  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7472else
7473as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7474for as_dir in $PATH
7475do
7476  IFS=$as_save_IFS
7477  test -z "$as_dir" && as_dir=.
7478    for ac_exec_ext in '' $ac_executable_extensions; do
7479  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7480    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7481    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7482    break 2
7483  fi
7484done
7485  done
7486IFS=$as_save_IFS
7487
7488fi
7489fi
7490ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7491if test -n "$ac_ct_DSYMUTIL"; then
7492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7493$as_echo "$ac_ct_DSYMUTIL" >&6; }
7494else
7495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7496$as_echo "no" >&6; }
7497fi
7498
7499  if test "x$ac_ct_DSYMUTIL" = x; then
7500    DSYMUTIL=":"
7501  else
7502    case $cross_compiling:$ac_tool_warned in
7503yes:)
7504{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7505$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7506ac_tool_warned=yes ;;
7507esac
7508    DSYMUTIL=$ac_ct_DSYMUTIL
7509  fi
7510else
7511  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7512fi
7513
7514    if test -n "$ac_tool_prefix"; then
7515  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7516set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7518$as_echo_n "checking for $ac_word... " >&6; }
7519if ${ac_cv_prog_NMEDIT+:} false; then :
7520  $as_echo_n "(cached) " >&6
7521else
7522  if test -n "$NMEDIT"; then
7523  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7524else
7525as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7526for as_dir in $PATH
7527do
7528  IFS=$as_save_IFS
7529  test -z "$as_dir" && as_dir=.
7530    for ac_exec_ext in '' $ac_executable_extensions; do
7531  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7532    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7533    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7534    break 2
7535  fi
7536done
7537  done
7538IFS=$as_save_IFS
7539
7540fi
7541fi
7542NMEDIT=$ac_cv_prog_NMEDIT
7543if test -n "$NMEDIT"; then
7544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7545$as_echo "$NMEDIT" >&6; }
7546else
7547  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7548$as_echo "no" >&6; }
7549fi
7550
7551
7552fi
7553if test -z "$ac_cv_prog_NMEDIT"; then
7554  ac_ct_NMEDIT=$NMEDIT
7555  # Extract the first word of "nmedit", so it can be a program name with args.
7556set dummy nmedit; ac_word=$2
7557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7558$as_echo_n "checking for $ac_word... " >&6; }
7559if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7560  $as_echo_n "(cached) " >&6
7561else
7562  if test -n "$ac_ct_NMEDIT"; then
7563  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7564else
7565as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7566for as_dir in $PATH
7567do
7568  IFS=$as_save_IFS
7569  test -z "$as_dir" && as_dir=.
7570    for ac_exec_ext in '' $ac_executable_extensions; do
7571  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7572    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7573    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7574    break 2
7575  fi
7576done
7577  done
7578IFS=$as_save_IFS
7579
7580fi
7581fi
7582ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7583if test -n "$ac_ct_NMEDIT"; then
7584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7585$as_echo "$ac_ct_NMEDIT" >&6; }
7586else
7587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7588$as_echo "no" >&6; }
7589fi
7590
7591  if test "x$ac_ct_NMEDIT" = x; then
7592    NMEDIT=":"
7593  else
7594    case $cross_compiling:$ac_tool_warned in
7595yes:)
7596{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7597$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7598ac_tool_warned=yes ;;
7599esac
7600    NMEDIT=$ac_ct_NMEDIT
7601  fi
7602else
7603  NMEDIT="$ac_cv_prog_NMEDIT"
7604fi
7605
7606    if test -n "$ac_tool_prefix"; then
7607  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7608set dummy ${ac_tool_prefix}lipo; ac_word=$2
7609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7610$as_echo_n "checking for $ac_word... " >&6; }
7611if ${ac_cv_prog_LIPO+:} false; then :
7612  $as_echo_n "(cached) " >&6
7613else
7614  if test -n "$LIPO"; then
7615  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7616else
7617as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7618for as_dir in $PATH
7619do
7620  IFS=$as_save_IFS
7621  test -z "$as_dir" && as_dir=.
7622    for ac_exec_ext in '' $ac_executable_extensions; do
7623  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7624    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7625    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7626    break 2
7627  fi
7628done
7629  done
7630IFS=$as_save_IFS
7631
7632fi
7633fi
7634LIPO=$ac_cv_prog_LIPO
7635if test -n "$LIPO"; then
7636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7637$as_echo "$LIPO" >&6; }
7638else
7639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7640$as_echo "no" >&6; }
7641fi
7642
7643
7644fi
7645if test -z "$ac_cv_prog_LIPO"; then
7646  ac_ct_LIPO=$LIPO
7647  # Extract the first word of "lipo", so it can be a program name with args.
7648set dummy lipo; ac_word=$2
7649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7650$as_echo_n "checking for $ac_word... " >&6; }
7651if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7652  $as_echo_n "(cached) " >&6
7653else
7654  if test -n "$ac_ct_LIPO"; then
7655  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7656else
7657as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7658for as_dir in $PATH
7659do
7660  IFS=$as_save_IFS
7661  test -z "$as_dir" && as_dir=.
7662    for ac_exec_ext in '' $ac_executable_extensions; do
7663  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7664    ac_cv_prog_ac_ct_LIPO="lipo"
7665    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7666    break 2
7667  fi
7668done
7669  done
7670IFS=$as_save_IFS
7671
7672fi
7673fi
7674ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7675if test -n "$ac_ct_LIPO"; then
7676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7677$as_echo "$ac_ct_LIPO" >&6; }
7678else
7679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7680$as_echo "no" >&6; }
7681fi
7682
7683  if test "x$ac_ct_LIPO" = x; then
7684    LIPO=":"
7685  else
7686    case $cross_compiling:$ac_tool_warned in
7687yes:)
7688{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7689$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7690ac_tool_warned=yes ;;
7691esac
7692    LIPO=$ac_ct_LIPO
7693  fi
7694else
7695  LIPO="$ac_cv_prog_LIPO"
7696fi
7697
7698    if test -n "$ac_tool_prefix"; then
7699  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7700set dummy ${ac_tool_prefix}otool; ac_word=$2
7701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7702$as_echo_n "checking for $ac_word... " >&6; }
7703if ${ac_cv_prog_OTOOL+:} false; then :
7704  $as_echo_n "(cached) " >&6
7705else
7706  if test -n "$OTOOL"; then
7707  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7708else
7709as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7710for as_dir in $PATH
7711do
7712  IFS=$as_save_IFS
7713  test -z "$as_dir" && as_dir=.
7714    for ac_exec_ext in '' $ac_executable_extensions; do
7715  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7716    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7717    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7718    break 2
7719  fi
7720done
7721  done
7722IFS=$as_save_IFS
7723
7724fi
7725fi
7726OTOOL=$ac_cv_prog_OTOOL
7727if test -n "$OTOOL"; then
7728  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7729$as_echo "$OTOOL" >&6; }
7730else
7731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7732$as_echo "no" >&6; }
7733fi
7734
7735
7736fi
7737if test -z "$ac_cv_prog_OTOOL"; then
7738  ac_ct_OTOOL=$OTOOL
7739  # Extract the first word of "otool", so it can be a program name with args.
7740set dummy otool; ac_word=$2
7741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7742$as_echo_n "checking for $ac_word... " >&6; }
7743if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7744  $as_echo_n "(cached) " >&6
7745else
7746  if test -n "$ac_ct_OTOOL"; then
7747  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7748else
7749as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7750for as_dir in $PATH
7751do
7752  IFS=$as_save_IFS
7753  test -z "$as_dir" && as_dir=.
7754    for ac_exec_ext in '' $ac_executable_extensions; do
7755  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7756    ac_cv_prog_ac_ct_OTOOL="otool"
7757    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7758    break 2
7759  fi
7760done
7761  done
7762IFS=$as_save_IFS
7763
7764fi
7765fi
7766ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7767if test -n "$ac_ct_OTOOL"; then
7768  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7769$as_echo "$ac_ct_OTOOL" >&6; }
7770else
7771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7772$as_echo "no" >&6; }
7773fi
7774
7775  if test "x$ac_ct_OTOOL" = x; then
7776    OTOOL=":"
7777  else
7778    case $cross_compiling:$ac_tool_warned in
7779yes:)
7780{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7781$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7782ac_tool_warned=yes ;;
7783esac
7784    OTOOL=$ac_ct_OTOOL
7785  fi
7786else
7787  OTOOL="$ac_cv_prog_OTOOL"
7788fi
7789
7790    if test -n "$ac_tool_prefix"; then
7791  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7792set dummy ${ac_tool_prefix}otool64; ac_word=$2
7793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7794$as_echo_n "checking for $ac_word... " >&6; }
7795if ${ac_cv_prog_OTOOL64+:} false; then :
7796  $as_echo_n "(cached) " >&6
7797else
7798  if test -n "$OTOOL64"; then
7799  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7800else
7801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7802for as_dir in $PATH
7803do
7804  IFS=$as_save_IFS
7805  test -z "$as_dir" && as_dir=.
7806    for ac_exec_ext in '' $ac_executable_extensions; do
7807  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7808    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7809    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7810    break 2
7811  fi
7812done
7813  done
7814IFS=$as_save_IFS
7815
7816fi
7817fi
7818OTOOL64=$ac_cv_prog_OTOOL64
7819if test -n "$OTOOL64"; then
7820  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7821$as_echo "$OTOOL64" >&6; }
7822else
7823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7824$as_echo "no" >&6; }
7825fi
7826
7827
7828fi
7829if test -z "$ac_cv_prog_OTOOL64"; then
7830  ac_ct_OTOOL64=$OTOOL64
7831  # Extract the first word of "otool64", so it can be a program name with args.
7832set dummy otool64; ac_word=$2
7833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7834$as_echo_n "checking for $ac_word... " >&6; }
7835if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7836  $as_echo_n "(cached) " >&6
7837else
7838  if test -n "$ac_ct_OTOOL64"; then
7839  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7840else
7841as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7842for as_dir in $PATH
7843do
7844  IFS=$as_save_IFS
7845  test -z "$as_dir" && as_dir=.
7846    for ac_exec_ext in '' $ac_executable_extensions; do
7847  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7848    ac_cv_prog_ac_ct_OTOOL64="otool64"
7849    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7850    break 2
7851  fi
7852done
7853  done
7854IFS=$as_save_IFS
7855
7856fi
7857fi
7858ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7859if test -n "$ac_ct_OTOOL64"; then
7860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7861$as_echo "$ac_ct_OTOOL64" >&6; }
7862else
7863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7864$as_echo "no" >&6; }
7865fi
7866
7867  if test "x$ac_ct_OTOOL64" = x; then
7868    OTOOL64=":"
7869  else
7870    case $cross_compiling:$ac_tool_warned in
7871yes:)
7872{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7873$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7874ac_tool_warned=yes ;;
7875esac
7876    OTOOL64=$ac_ct_OTOOL64
7877  fi
7878else
7879  OTOOL64="$ac_cv_prog_OTOOL64"
7880fi
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7909$as_echo_n "checking for -single_module linker flag... " >&6; }
7910if ${lt_cv_apple_cc_single_mod+:} false; then :
7911  $as_echo_n "(cached) " >&6
7912else
7913  lt_cv_apple_cc_single_mod=no
7914      if test -z "$LT_MULTI_MODULE"; then
7915	# By default we will add the -single_module flag. You can override
7916	# by either setting the environment variable LT_MULTI_MODULE
7917	# non-empty at configure time, or by adding -multi_module to the
7918	# link flags.
7919	rm -rf libconftest.dylib*
7920	echo "int foo(void){return 1;}" > conftest.c
7921	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7922-dynamiclib -Wl,-single_module conftest.c" >&5
7923	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7924	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7925        _lt_result=$?
7926	# If there is a non-empty error log, and "single_module"
7927	# appears in it, assume the flag caused a linker warning
7928        if test -s conftest.err && $GREP single_module conftest.err; then
7929	  cat conftest.err >&5
7930	# Otherwise, if the output was created with a 0 exit code from
7931	# the compiler, it worked.
7932	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7933	  lt_cv_apple_cc_single_mod=yes
7934	else
7935	  cat conftest.err >&5
7936	fi
7937	rm -rf libconftest.dylib*
7938	rm -f conftest.*
7939      fi
7940fi
7941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7942$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7943
7944    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7945$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7946if ${lt_cv_ld_exported_symbols_list+:} false; then :
7947  $as_echo_n "(cached) " >&6
7948else
7949  lt_cv_ld_exported_symbols_list=no
7950      save_LDFLAGS=$LDFLAGS
7951      echo "_main" > conftest.sym
7952      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7953      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7954/* end confdefs.h.  */
7955
7956int
7957main ()
7958{
7959
7960  ;
7961  return 0;
7962}
7963_ACEOF
7964if ac_fn_c_try_link "$LINENO"; then :
7965  lt_cv_ld_exported_symbols_list=yes
7966else
7967  lt_cv_ld_exported_symbols_list=no
7968fi
7969rm -f core conftest.err conftest.$ac_objext \
7970    conftest$ac_exeext conftest.$ac_ext
7971	LDFLAGS=$save_LDFLAGS
7972
7973fi
7974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7975$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7976
7977    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7978$as_echo_n "checking for -force_load linker flag... " >&6; }
7979if ${lt_cv_ld_force_load+:} false; then :
7980  $as_echo_n "(cached) " >&6
7981else
7982  lt_cv_ld_force_load=no
7983      cat > conftest.c << _LT_EOF
7984int forced_loaded() { return 2;}
7985_LT_EOF
7986      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7987      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7988      echo "$AR cru libconftest.a conftest.o" >&5
7989      $AR cru libconftest.a conftest.o 2>&5
7990      echo "$RANLIB libconftest.a" >&5
7991      $RANLIB libconftest.a 2>&5
7992      cat > conftest.c << _LT_EOF
7993int main() { return 0;}
7994_LT_EOF
7995      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7996      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7997      _lt_result=$?
7998      if test -s conftest.err && $GREP force_load conftest.err; then
7999	cat conftest.err >&5
8000      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8001	lt_cv_ld_force_load=yes
8002      else
8003	cat conftest.err >&5
8004      fi
8005        rm -f conftest.err libconftest.a conftest conftest.c
8006        rm -rf conftest.dSYM
8007
8008fi
8009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8010$as_echo "$lt_cv_ld_force_load" >&6; }
8011    case $host_os in
8012    rhapsody* | darwin1.[012])
8013      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8014    darwin1.*)
8015      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8016    darwin*) # darwin 5.x on
8017      # if running on 10.5 or later, the deployment target defaults
8018      # to the OS version, if on x86, and 10.4, the deployment
8019      # target defaults to 10.4. Don't you love it?
8020      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8021	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8022	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8023	10.[012][,.]*)
8024	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8025	10.*)
8026	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8027      esac
8028    ;;
8029  esac
8030    if test yes = "$lt_cv_apple_cc_single_mod"; then
8031      _lt_dar_single_mod='$single_module'
8032    fi
8033    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8034      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8035    else
8036      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8037    fi
8038    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8039      _lt_dsymutil='~$DSYMUTIL $lib || :'
8040    else
8041      _lt_dsymutil=
8042    fi
8043    ;;
8044  esac
8045
8046# func_munge_path_list VARIABLE PATH
8047# -----------------------------------
8048# VARIABLE is name of variable containing _space_ separated list of
8049# directories to be munged by the contents of PATH, which is string
8050# having a format:
8051# "DIR[:DIR]:"
8052#       string "DIR[ DIR]" will be prepended to VARIABLE
8053# ":DIR[:DIR]"
8054#       string "DIR[ DIR]" will be appended to VARIABLE
8055# "DIRP[:DIRP]::[DIRA:]DIRA"
8056#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8057#       "DIRA[ DIRA]" will be appended to VARIABLE
8058# "DIR[:DIR]"
8059#       VARIABLE will be replaced by "DIR[ DIR]"
8060func_munge_path_list ()
8061{
8062    case x$2 in
8063    x)
8064        ;;
8065    *:)
8066        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8067        ;;
8068    x:*)
8069        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8070        ;;
8071    *::*)
8072        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8073        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8074        ;;
8075    *)
8076        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8077        ;;
8078    esac
8079}
8080
8081ac_ext=c
8082ac_cpp='$CPP $CPPFLAGS'
8083ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8084ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8085ac_compiler_gnu=$ac_cv_c_compiler_gnu
8086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8087$as_echo_n "checking how to run the C preprocessor... " >&6; }
8088# On Suns, sometimes $CPP names a directory.
8089if test -n "$CPP" && test -d "$CPP"; then
8090  CPP=
8091fi
8092if test -z "$CPP"; then
8093  if ${ac_cv_prog_CPP+:} false; then :
8094  $as_echo_n "(cached) " >&6
8095else
8096      # Double quotes because CPP needs to be expanded
8097    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8098    do
8099      ac_preproc_ok=false
8100for ac_c_preproc_warn_flag in '' yes
8101do
8102  # Use a header file that comes with gcc, so configuring glibc
8103  # with a fresh cross-compiler works.
8104  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8105  # <limits.h> exists even on freestanding compilers.
8106  # On the NeXT, cc -E runs the code through the compiler's parser,
8107  # not just through cpp. "Syntax error" is here to catch this case.
8108  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8109/* end confdefs.h.  */
8110#ifdef __STDC__
8111# include <limits.h>
8112#else
8113# include <assert.h>
8114#endif
8115		     Syntax error
8116_ACEOF
8117if ac_fn_c_try_cpp "$LINENO"; then :
8118
8119else
8120  # Broken: fails on valid input.
8121continue
8122fi
8123rm -f conftest.err conftest.i conftest.$ac_ext
8124
8125  # OK, works on sane cases.  Now check whether nonexistent headers
8126  # can be detected and how.
8127  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8128/* end confdefs.h.  */
8129#include <ac_nonexistent.h>
8130_ACEOF
8131if ac_fn_c_try_cpp "$LINENO"; then :
8132  # Broken: success on invalid input.
8133continue
8134else
8135  # Passes both tests.
8136ac_preproc_ok=:
8137break
8138fi
8139rm -f conftest.err conftest.i conftest.$ac_ext
8140
8141done
8142# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8143rm -f conftest.i conftest.err conftest.$ac_ext
8144if $ac_preproc_ok; then :
8145  break
8146fi
8147
8148    done
8149    ac_cv_prog_CPP=$CPP
8150
8151fi
8152  CPP=$ac_cv_prog_CPP
8153else
8154  ac_cv_prog_CPP=$CPP
8155fi
8156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8157$as_echo "$CPP" >&6; }
8158ac_preproc_ok=false
8159for ac_c_preproc_warn_flag in '' yes
8160do
8161  # Use a header file that comes with gcc, so configuring glibc
8162  # with a fresh cross-compiler works.
8163  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8164  # <limits.h> exists even on freestanding compilers.
8165  # On the NeXT, cc -E runs the code through the compiler's parser,
8166  # not just through cpp. "Syntax error" is here to catch this case.
8167  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8168/* end confdefs.h.  */
8169#ifdef __STDC__
8170# include <limits.h>
8171#else
8172# include <assert.h>
8173#endif
8174		     Syntax error
8175_ACEOF
8176if ac_fn_c_try_cpp "$LINENO"; then :
8177
8178else
8179  # Broken: fails on valid input.
8180continue
8181fi
8182rm -f conftest.err conftest.i conftest.$ac_ext
8183
8184  # OK, works on sane cases.  Now check whether nonexistent headers
8185  # can be detected and how.
8186  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8187/* end confdefs.h.  */
8188#include <ac_nonexistent.h>
8189_ACEOF
8190if ac_fn_c_try_cpp "$LINENO"; then :
8191  # Broken: success on invalid input.
8192continue
8193else
8194  # Passes both tests.
8195ac_preproc_ok=:
8196break
8197fi
8198rm -f conftest.err conftest.i conftest.$ac_ext
8199
8200done
8201# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8202rm -f conftest.i conftest.err conftest.$ac_ext
8203if $ac_preproc_ok; then :
8204
8205else
8206  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8207$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8208as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8209See \`config.log' for more details" "$LINENO" 5; }
8210fi
8211
8212ac_ext=c
8213ac_cpp='$CPP $CPPFLAGS'
8214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8216ac_compiler_gnu=$ac_cv_c_compiler_gnu
8217
8218
8219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8220$as_echo_n "checking for ANSI C header files... " >&6; }
8221if ${ac_cv_header_stdc+:} false; then :
8222  $as_echo_n "(cached) " >&6
8223else
8224  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8225/* end confdefs.h.  */
8226#include <stdlib.h>
8227#include <stdarg.h>
8228#include <string.h>
8229#include <float.h>
8230
8231int
8232main ()
8233{
8234
8235  ;
8236  return 0;
8237}
8238_ACEOF
8239if ac_fn_c_try_compile "$LINENO"; then :
8240  ac_cv_header_stdc=yes
8241else
8242  ac_cv_header_stdc=no
8243fi
8244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8245
8246if test $ac_cv_header_stdc = yes; then
8247  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8248  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8249/* end confdefs.h.  */
8250#include <string.h>
8251
8252_ACEOF
8253if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8254  $EGREP "memchr" >/dev/null 2>&1; then :
8255
8256else
8257  ac_cv_header_stdc=no
8258fi
8259rm -f conftest*
8260
8261fi
8262
8263if test $ac_cv_header_stdc = yes; then
8264  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8265  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8266/* end confdefs.h.  */
8267#include <stdlib.h>
8268
8269_ACEOF
8270if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8271  $EGREP "free" >/dev/null 2>&1; then :
8272
8273else
8274  ac_cv_header_stdc=no
8275fi
8276rm -f conftest*
8277
8278fi
8279
8280if test $ac_cv_header_stdc = yes; then
8281  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8282  if test "$cross_compiling" = yes; then :
8283  :
8284else
8285  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8286/* end confdefs.h.  */
8287#include <ctype.h>
8288#include <stdlib.h>
8289#if ((' ' & 0x0FF) == 0x020)
8290# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8291# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8292#else
8293# define ISLOWER(c) \
8294		   (('a' <= (c) && (c) <= 'i') \
8295		     || ('j' <= (c) && (c) <= 'r') \
8296		     || ('s' <= (c) && (c) <= 'z'))
8297# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8298#endif
8299
8300#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8301int
8302main ()
8303{
8304  int i;
8305  for (i = 0; i < 256; i++)
8306    if (XOR (islower (i), ISLOWER (i))
8307	|| toupper (i) != TOUPPER (i))
8308      return 2;
8309  return 0;
8310}
8311_ACEOF
8312if ac_fn_c_try_run "$LINENO"; then :
8313
8314else
8315  ac_cv_header_stdc=no
8316fi
8317rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8318  conftest.$ac_objext conftest.beam conftest.$ac_ext
8319fi
8320
8321fi
8322fi
8323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8324$as_echo "$ac_cv_header_stdc" >&6; }
8325if test $ac_cv_header_stdc = yes; then
8326
8327$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8328
8329fi
8330
8331# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8332for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8333		  inttypes.h stdint.h unistd.h
8334do :
8335  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8336ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8337"
8338if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8339  cat >>confdefs.h <<_ACEOF
8340#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8341_ACEOF
8342
8343fi
8344
8345done
8346
8347
8348for ac_header in dlfcn.h
8349do :
8350  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8351"
8352if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8353  cat >>confdefs.h <<_ACEOF
8354#define HAVE_DLFCN_H 1
8355_ACEOF
8356
8357fi
8358
8359done
8360
8361
8362
8363
8364func_stripname_cnf ()
8365{
8366  case $2 in
8367  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
8368  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
8369  esac
8370} # func_stripname_cnf
8371
8372
8373
8374
8375
8376# Set options
8377
8378
8379
8380        enable_dlopen=no
8381
8382
8383  enable_win32_dll=no
8384
8385
8386            # Check whether --enable-shared was given.
8387if test "${enable_shared+set}" = set; then :
8388  enableval=$enable_shared; p=${PACKAGE-default}
8389    case $enableval in
8390    yes) enable_shared=yes ;;
8391    no) enable_shared=no ;;
8392    *)
8393      enable_shared=no
8394      # Look at the argument we got.  We use all the common list separators.
8395      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8396      for pkg in $enableval; do
8397	IFS=$lt_save_ifs
8398	if test "X$pkg" = "X$p"; then
8399	  enable_shared=yes
8400	fi
8401      done
8402      IFS=$lt_save_ifs
8403      ;;
8404    esac
8405else
8406  enable_shared=yes
8407fi
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417  # Check whether --enable-static was given.
8418if test "${enable_static+set}" = set; then :
8419  enableval=$enable_static; p=${PACKAGE-default}
8420    case $enableval in
8421    yes) enable_static=yes ;;
8422    no) enable_static=no ;;
8423    *)
8424     enable_static=no
8425      # Look at the argument we got.  We use all the common list separators.
8426      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8427      for pkg in $enableval; do
8428	IFS=$lt_save_ifs
8429	if test "X$pkg" = "X$p"; then
8430	  enable_static=yes
8431	fi
8432      done
8433      IFS=$lt_save_ifs
8434      ;;
8435    esac
8436else
8437  enable_static=yes
8438fi
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449# Check whether --with-pic was given.
8450if test "${with_pic+set}" = set; then :
8451  withval=$with_pic; lt_p=${PACKAGE-default}
8452    case $withval in
8453    yes|no) pic_mode=$withval ;;
8454    *)
8455      pic_mode=default
8456      # Look at the argument we got.  We use all the common list separators.
8457      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8458      for lt_pkg in $withval; do
8459	IFS=$lt_save_ifs
8460	if test "X$lt_pkg" = "X$lt_p"; then
8461	  pic_mode=yes
8462	fi
8463      done
8464      IFS=$lt_save_ifs
8465      ;;
8466    esac
8467else
8468  pic_mode=default
8469fi
8470
8471
8472
8473
8474
8475
8476
8477
8478  # Check whether --enable-fast-install was given.
8479if test "${enable_fast_install+set}" = set; then :
8480  enableval=$enable_fast_install; p=${PACKAGE-default}
8481    case $enableval in
8482    yes) enable_fast_install=yes ;;
8483    no) enable_fast_install=no ;;
8484    *)
8485      enable_fast_install=no
8486      # Look at the argument we got.  We use all the common list separators.
8487      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8488      for pkg in $enableval; do
8489	IFS=$lt_save_ifs
8490	if test "X$pkg" = "X$p"; then
8491	  enable_fast_install=yes
8492	fi
8493      done
8494      IFS=$lt_save_ifs
8495      ;;
8496    esac
8497else
8498  enable_fast_install=yes
8499fi
8500
8501
8502
8503
8504
8505
8506
8507
8508  shared_archive_member_spec=
8509case $host,$enable_shared in
8510power*-*-aix[5-9]*,yes)
8511  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8512$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8513
8514# Check whether --with-aix-soname was given.
8515if test "${with_aix_soname+set}" = set; then :
8516  withval=$with_aix_soname; case $withval in
8517    aix|svr4|both)
8518      ;;
8519    *)
8520      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8521      ;;
8522    esac
8523    lt_cv_with_aix_soname=$with_aix_soname
8524else
8525  if ${lt_cv_with_aix_soname+:} false; then :
8526  $as_echo_n "(cached) " >&6
8527else
8528  lt_cv_with_aix_soname=aix
8529fi
8530
8531    with_aix_soname=$lt_cv_with_aix_soname
8532fi
8533
8534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8535$as_echo "$with_aix_soname" >&6; }
8536  if test aix != "$with_aix_soname"; then
8537    # For the AIX way of multilib, we name the shared archive member
8538    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8539    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8540    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8541    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8542    if test 64 = "${OBJECT_MODE-32}"; then
8543      shared_archive_member_spec=shr_64
8544    else
8545      shared_archive_member_spec=shr
8546    fi
8547  fi
8548  ;;
8549*)
8550  with_aix_soname=aix
8551  ;;
8552esac
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563# This can be used to rebuild libtool when needed
8564LIBTOOL_DEPS=$ltmain
8565
8566# Always use our own libtool.
8567LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598test -z "$LN_S" && LN_S="ln -s"
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613if test -n "${ZSH_VERSION+set}"; then
8614   setopt NO_GLOB_SUBST
8615fi
8616
8617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8618$as_echo_n "checking for objdir... " >&6; }
8619if ${lt_cv_objdir+:} false; then :
8620  $as_echo_n "(cached) " >&6
8621else
8622  rm -f .libs 2>/dev/null
8623mkdir .libs 2>/dev/null
8624if test -d .libs; then
8625  lt_cv_objdir=.libs
8626else
8627  # MS-DOS does not allow filenames that begin with a dot.
8628  lt_cv_objdir=_libs
8629fi
8630rmdir .libs 2>/dev/null
8631fi
8632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8633$as_echo "$lt_cv_objdir" >&6; }
8634objdir=$lt_cv_objdir
8635
8636
8637
8638
8639
8640cat >>confdefs.h <<_ACEOF
8641#define LT_OBJDIR "$lt_cv_objdir/"
8642_ACEOF
8643
8644
8645
8646
8647case $host_os in
8648aix3*)
8649  # AIX sometimes has problems with the GCC collect2 program.  For some
8650  # reason, if we set the COLLECT_NAMES environment variable, the problems
8651  # vanish in a puff of smoke.
8652  if test set != "${COLLECT_NAMES+set}"; then
8653    COLLECT_NAMES=
8654    export COLLECT_NAMES
8655  fi
8656  ;;
8657esac
8658
8659# Global variables:
8660ofile=libtool
8661can_build_shared=yes
8662
8663# All known linkers require a '.a' archive for static linking (except MSVC,
8664# which needs '.lib').
8665libext=a
8666
8667with_gnu_ld=$lt_cv_prog_gnu_ld
8668
8669old_CC=$CC
8670old_CFLAGS=$CFLAGS
8671
8672# Set sane defaults for various variables
8673test -z "$CC" && CC=cc
8674test -z "$LTCC" && LTCC=$CC
8675test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8676test -z "$LD" && LD=ld
8677test -z "$ac_objext" && ac_objext=o
8678
8679func_cc_basename $compiler
8680cc_basename=$func_cc_basename_result
8681
8682
8683# Only perform the check for file, if the check method requires it
8684test -z "$MAGIC_CMD" && MAGIC_CMD=file
8685case $deplibs_check_method in
8686file_magic*)
8687  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8688    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8689$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8690if ${lt_cv_path_MAGIC_CMD+:} false; then :
8691  $as_echo_n "(cached) " >&6
8692else
8693  case $MAGIC_CMD in
8694[\\/*] |  ?:[\\/]*)
8695  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8696  ;;
8697*)
8698  lt_save_MAGIC_CMD=$MAGIC_CMD
8699  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8700  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8701  for ac_dir in $ac_dummy; do
8702    IFS=$lt_save_ifs
8703    test -z "$ac_dir" && ac_dir=.
8704    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8705      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8706      if test -n "$file_magic_test_file"; then
8707	case $deplibs_check_method in
8708	"file_magic "*)
8709	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8710	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8711	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8712	    $EGREP "$file_magic_regex" > /dev/null; then
8713	    :
8714	  else
8715	    cat <<_LT_EOF 1>&2
8716
8717*** Warning: the command libtool uses to detect shared libraries,
8718*** $file_magic_cmd, produces output that libtool cannot recognize.
8719*** The result is that libtool may fail to recognize shared libraries
8720*** as such.  This will affect the creation of libtool libraries that
8721*** depend on shared libraries, but programs linked with such libtool
8722*** libraries will work regardless of this problem.  Nevertheless, you
8723*** may want to report the problem to your system manager and/or to
8724*** bug-libtool@gnu.org
8725
8726_LT_EOF
8727	  fi ;;
8728	esac
8729      fi
8730      break
8731    fi
8732  done
8733  IFS=$lt_save_ifs
8734  MAGIC_CMD=$lt_save_MAGIC_CMD
8735  ;;
8736esac
8737fi
8738
8739MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8740if test -n "$MAGIC_CMD"; then
8741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8742$as_echo "$MAGIC_CMD" >&6; }
8743else
8744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8745$as_echo "no" >&6; }
8746fi
8747
8748
8749
8750
8751
8752if test -z "$lt_cv_path_MAGIC_CMD"; then
8753  if test -n "$ac_tool_prefix"; then
8754    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8755$as_echo_n "checking for file... " >&6; }
8756if ${lt_cv_path_MAGIC_CMD+:} false; then :
8757  $as_echo_n "(cached) " >&6
8758else
8759  case $MAGIC_CMD in
8760[\\/*] |  ?:[\\/]*)
8761  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8762  ;;
8763*)
8764  lt_save_MAGIC_CMD=$MAGIC_CMD
8765  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8766  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8767  for ac_dir in $ac_dummy; do
8768    IFS=$lt_save_ifs
8769    test -z "$ac_dir" && ac_dir=.
8770    if test -f "$ac_dir/file"; then
8771      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8772      if test -n "$file_magic_test_file"; then
8773	case $deplibs_check_method in
8774	"file_magic "*)
8775	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8776	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8777	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8778	    $EGREP "$file_magic_regex" > /dev/null; then
8779	    :
8780	  else
8781	    cat <<_LT_EOF 1>&2
8782
8783*** Warning: the command libtool uses to detect shared libraries,
8784*** $file_magic_cmd, produces output that libtool cannot recognize.
8785*** The result is that libtool may fail to recognize shared libraries
8786*** as such.  This will affect the creation of libtool libraries that
8787*** depend on shared libraries, but programs linked with such libtool
8788*** libraries will work regardless of this problem.  Nevertheless, you
8789*** may want to report the problem to your system manager and/or to
8790*** bug-libtool@gnu.org
8791
8792_LT_EOF
8793	  fi ;;
8794	esac
8795      fi
8796      break
8797    fi
8798  done
8799  IFS=$lt_save_ifs
8800  MAGIC_CMD=$lt_save_MAGIC_CMD
8801  ;;
8802esac
8803fi
8804
8805MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8806if test -n "$MAGIC_CMD"; then
8807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8808$as_echo "$MAGIC_CMD" >&6; }
8809else
8810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8811$as_echo "no" >&6; }
8812fi
8813
8814
8815  else
8816    MAGIC_CMD=:
8817  fi
8818fi
8819
8820  fi
8821  ;;
8822esac
8823
8824# Use C for the default configuration in the libtool script
8825
8826lt_save_CC=$CC
8827ac_ext=c
8828ac_cpp='$CPP $CPPFLAGS'
8829ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8830ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8831ac_compiler_gnu=$ac_cv_c_compiler_gnu
8832
8833
8834# Source file extension for C test sources.
8835ac_ext=c
8836
8837# Object file extension for compiled C test sources.
8838objext=o
8839objext=$objext
8840
8841# Code to be used in simple compile tests
8842lt_simple_compile_test_code="int some_variable = 0;"
8843
8844# Code to be used in simple link tests
8845lt_simple_link_test_code='int main(){return(0);}'
8846
8847
8848
8849
8850
8851
8852
8853# If no C compiler was specified, use CC.
8854LTCC=${LTCC-"$CC"}
8855
8856# If no C compiler flags were specified, use CFLAGS.
8857LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8858
8859# Allow CC to be a program name with arguments.
8860compiler=$CC
8861
8862# Save the default compiler, since it gets overwritten when the other
8863# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8864compiler_DEFAULT=$CC
8865
8866# save warnings/boilerplate of simple test code
8867ac_outfile=conftest.$ac_objext
8868echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8869eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8870_lt_compiler_boilerplate=`cat conftest.err`
8871$RM conftest*
8872
8873ac_outfile=conftest.$ac_objext
8874echo "$lt_simple_link_test_code" >conftest.$ac_ext
8875eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8876_lt_linker_boilerplate=`cat conftest.err`
8877$RM -r conftest*
8878
8879
8880## CAVEAT EMPTOR:
8881## There is no encapsulation within the following macros, do not change
8882## the running order or otherwise move them around unless you know exactly
8883## what you are doing...
8884if test -n "$compiler"; then
8885
8886lt_prog_compiler_no_builtin_flag=
8887
8888if test yes = "$GCC"; then
8889  case $cc_basename in
8890  nvcc*)
8891    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8892  *)
8893    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8894  esac
8895
8896  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8897$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8898if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8899  $as_echo_n "(cached) " >&6
8900else
8901  lt_cv_prog_compiler_rtti_exceptions=no
8902   ac_outfile=conftest.$ac_objext
8903   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8904   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8905   # Insert the option either (1) after the last *FLAGS variable, or
8906   # (2) before a word containing "conftest.", or (3) at the end.
8907   # Note that $ac_compile itself does not contain backslashes and begins
8908   # with a dollar sign (not a hyphen), so the echo should work correctly.
8909   # The option is referenced via a variable to avoid confusing sed.
8910   lt_compile=`echo "$ac_compile" | $SED \
8911   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8912   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8913   -e 's:$: $lt_compiler_flag:'`
8914   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8915   (eval "$lt_compile" 2>conftest.err)
8916   ac_status=$?
8917   cat conftest.err >&5
8918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8919   if (exit $ac_status) && test -s "$ac_outfile"; then
8920     # The compiler can only warn and ignore the option if not recognized
8921     # So say no if there are warnings other than the usual output.
8922     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8923     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8924     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8925       lt_cv_prog_compiler_rtti_exceptions=yes
8926     fi
8927   fi
8928   $RM conftest*
8929
8930fi
8931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8932$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8933
8934if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8935    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8936else
8937    :
8938fi
8939
8940fi
8941
8942
8943
8944
8945
8946
8947  lt_prog_compiler_wl=
8948lt_prog_compiler_pic=
8949lt_prog_compiler_static=
8950
8951
8952  if test yes = "$GCC"; then
8953    lt_prog_compiler_wl='-Wl,'
8954    lt_prog_compiler_static='-static'
8955
8956    case $host_os in
8957      aix*)
8958      # All AIX code is PIC.
8959      if test ia64 = "$host_cpu"; then
8960	# AIX 5 now supports IA64 processor
8961	lt_prog_compiler_static='-Bstatic'
8962      fi
8963      lt_prog_compiler_pic='-fPIC'
8964      ;;
8965
8966    amigaos*)
8967      case $host_cpu in
8968      powerpc)
8969            # see comment about AmigaOS4 .so support
8970            lt_prog_compiler_pic='-fPIC'
8971        ;;
8972      m68k)
8973            # FIXME: we need at least 68020 code to build shared libraries, but
8974            # adding the '-m68020' flag to GCC prevents building anything better,
8975            # like '-m68040'.
8976            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8977        ;;
8978      esac
8979      ;;
8980
8981    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8982      # PIC is the default for these OSes.
8983      ;;
8984
8985    mingw* | cygwin* | pw32* | os2* | cegcc*)
8986      # This hack is so that the source file can tell whether it is being
8987      # built for inclusion in a dll (and should export symbols for example).
8988      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8989      # (--disable-auto-import) libraries
8990      lt_prog_compiler_pic='-DDLL_EXPORT'
8991      case $host_os in
8992      os2*)
8993	lt_prog_compiler_static='$wl-static'
8994	;;
8995      esac
8996      ;;
8997
8998    darwin* | rhapsody*)
8999      # PIC is the default on this platform
9000      # Common symbols not allowed in MH_DYLIB files
9001      lt_prog_compiler_pic='-fno-common'
9002      ;;
9003
9004    haiku*)
9005      # PIC is the default for Haiku.
9006      # The "-static" flag exists, but is broken.
9007      lt_prog_compiler_static=
9008      ;;
9009
9010    hpux*)
9011      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9012      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9013      # sets the default TLS model and affects inlining.
9014      case $host_cpu in
9015      hppa*64*)
9016	# +Z the default
9017	;;
9018      *)
9019	lt_prog_compiler_pic='-fPIC'
9020	;;
9021      esac
9022      ;;
9023
9024    interix[3-9]*)
9025      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9026      # Instead, we relocate shared libraries at runtime.
9027      ;;
9028
9029    msdosdjgpp*)
9030      # Just because we use GCC doesn't mean we suddenly get shared libraries
9031      # on systems that don't support them.
9032      lt_prog_compiler_can_build_shared=no
9033      enable_shared=no
9034      ;;
9035
9036    *nto* | *qnx*)
9037      # QNX uses GNU C++, but need to define -shared option too, otherwise
9038      # it will coredump.
9039      lt_prog_compiler_pic='-fPIC -shared'
9040      ;;
9041
9042    sysv4*MP*)
9043      if test -d /usr/nec; then
9044	lt_prog_compiler_pic=-Kconform_pic
9045      fi
9046      ;;
9047
9048    *)
9049      lt_prog_compiler_pic='-fPIC'
9050      ;;
9051    esac
9052
9053    case $cc_basename in
9054    nvcc*) # Cuda Compiler Driver 2.2
9055      lt_prog_compiler_wl='-Xlinker '
9056      if test -n "$lt_prog_compiler_pic"; then
9057        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9058      fi
9059      ;;
9060    esac
9061  else
9062    # PORTME Check for flag to pass linker flags through the system compiler.
9063    case $host_os in
9064    aix*)
9065      lt_prog_compiler_wl='-Wl,'
9066      if test ia64 = "$host_cpu"; then
9067	# AIX 5 now supports IA64 processor
9068	lt_prog_compiler_static='-Bstatic'
9069      else
9070	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9071      fi
9072      ;;
9073
9074    darwin* | rhapsody*)
9075      # PIC is the default on this platform
9076      # Common symbols not allowed in MH_DYLIB files
9077      lt_prog_compiler_pic='-fno-common'
9078      case $cc_basename in
9079      nagfor*)
9080        # NAG Fortran compiler
9081        lt_prog_compiler_wl='-Wl,-Wl,,'
9082        lt_prog_compiler_pic='-PIC'
9083        lt_prog_compiler_static='-Bstatic'
9084        ;;
9085      esac
9086      ;;
9087
9088    mingw* | cygwin* | pw32* | os2* | cegcc*)
9089      # This hack is so that the source file can tell whether it is being
9090      # built for inclusion in a dll (and should export symbols for example).
9091      lt_prog_compiler_pic='-DDLL_EXPORT'
9092      case $host_os in
9093      os2*)
9094	lt_prog_compiler_static='$wl-static'
9095	;;
9096      esac
9097      ;;
9098
9099    hpux9* | hpux10* | hpux11*)
9100      lt_prog_compiler_wl='-Wl,'
9101      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9102      # not for PA HP-UX.
9103      case $host_cpu in
9104      hppa*64*|ia64*)
9105	# +Z the default
9106	;;
9107      *)
9108	lt_prog_compiler_pic='+Z'
9109	;;
9110      esac
9111      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9112      lt_prog_compiler_static='$wl-a ${wl}archive'
9113      ;;
9114
9115    irix5* | irix6* | nonstopux*)
9116      lt_prog_compiler_wl='-Wl,'
9117      # PIC (with -KPIC) is the default.
9118      lt_prog_compiler_static='-non_shared'
9119      ;;
9120
9121    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9122      case $cc_basename in
9123      # old Intel for x86_64, which still supported -KPIC.
9124      ecc*)
9125	lt_prog_compiler_wl='-Wl,'
9126	lt_prog_compiler_pic='-KPIC'
9127	lt_prog_compiler_static='-static'
9128        ;;
9129      # icc used to be incompatible with GCC.
9130      # ICC 10 doesn't accept -KPIC any more.
9131      icc* | ifort*)
9132	lt_prog_compiler_wl='-Wl,'
9133	lt_prog_compiler_pic='-fPIC'
9134	lt_prog_compiler_static='-static'
9135        ;;
9136      # Lahey Fortran 8.1.
9137      lf95*)
9138	lt_prog_compiler_wl='-Wl,'
9139	lt_prog_compiler_pic='--shared'
9140	lt_prog_compiler_static='--static'
9141	;;
9142      nagfor*)
9143	# NAG Fortran compiler
9144	lt_prog_compiler_wl='-Wl,-Wl,,'
9145	lt_prog_compiler_pic='-PIC'
9146	lt_prog_compiler_static='-Bstatic'
9147	;;
9148      tcc*)
9149	# Fabrice Bellard et al's Tiny C Compiler
9150	lt_prog_compiler_wl='-Wl,'
9151	lt_prog_compiler_pic='-fPIC'
9152	lt_prog_compiler_static='-static'
9153	;;
9154      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9155        # Portland Group compilers (*not* the Pentium gcc compiler,
9156	# which looks to be a dead project)
9157	lt_prog_compiler_wl='-Wl,'
9158	lt_prog_compiler_pic='-fpic'
9159	lt_prog_compiler_static='-Bstatic'
9160        ;;
9161      ccc*)
9162        lt_prog_compiler_wl='-Wl,'
9163        # All Alpha code is PIC.
9164        lt_prog_compiler_static='-non_shared'
9165        ;;
9166      xl* | bgxl* | bgf* | mpixl*)
9167	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9168	lt_prog_compiler_wl='-Wl,'
9169	lt_prog_compiler_pic='-qpic'
9170	lt_prog_compiler_static='-qstaticlink'
9171	;;
9172      *)
9173	case `$CC -V 2>&1 | sed 5q` in
9174	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9175	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9176	  lt_prog_compiler_pic='-KPIC'
9177	  lt_prog_compiler_static='-Bstatic'
9178	  lt_prog_compiler_wl=''
9179	  ;;
9180	*Sun\ F* | *Sun*Fortran*)
9181	  lt_prog_compiler_pic='-KPIC'
9182	  lt_prog_compiler_static='-Bstatic'
9183	  lt_prog_compiler_wl='-Qoption ld '
9184	  ;;
9185	*Sun\ C*)
9186	  # Sun C 5.9
9187	  lt_prog_compiler_pic='-KPIC'
9188	  lt_prog_compiler_static='-Bstatic'
9189	  lt_prog_compiler_wl='-Wl,'
9190	  ;;
9191        *Intel*\ [CF]*Compiler*)
9192	  lt_prog_compiler_wl='-Wl,'
9193	  lt_prog_compiler_pic='-fPIC'
9194	  lt_prog_compiler_static='-static'
9195	  ;;
9196	*Portland\ Group*)
9197	  lt_prog_compiler_wl='-Wl,'
9198	  lt_prog_compiler_pic='-fpic'
9199	  lt_prog_compiler_static='-Bstatic'
9200	  ;;
9201	esac
9202	;;
9203      esac
9204      ;;
9205
9206    newsos6)
9207      lt_prog_compiler_pic='-KPIC'
9208      lt_prog_compiler_static='-Bstatic'
9209      ;;
9210
9211    *nto* | *qnx*)
9212      # QNX uses GNU C++, but need to define -shared option too, otherwise
9213      # it will coredump.
9214      lt_prog_compiler_pic='-fPIC -shared'
9215      ;;
9216
9217    osf3* | osf4* | osf5*)
9218      lt_prog_compiler_wl='-Wl,'
9219      # All OSF/1 code is PIC.
9220      lt_prog_compiler_static='-non_shared'
9221      ;;
9222
9223    rdos*)
9224      lt_prog_compiler_static='-non_shared'
9225      ;;
9226
9227    solaris*)
9228      lt_prog_compiler_pic='-KPIC'
9229      lt_prog_compiler_static='-Bstatic'
9230      case $cc_basename in
9231      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9232	lt_prog_compiler_wl='-Qoption ld ';;
9233      *)
9234	lt_prog_compiler_wl='-Wl,';;
9235      esac
9236      ;;
9237
9238    sunos4*)
9239      lt_prog_compiler_wl='-Qoption ld '
9240      lt_prog_compiler_pic='-PIC'
9241      lt_prog_compiler_static='-Bstatic'
9242      ;;
9243
9244    sysv4 | sysv4.2uw2* | sysv4.3*)
9245      lt_prog_compiler_wl='-Wl,'
9246      lt_prog_compiler_pic='-KPIC'
9247      lt_prog_compiler_static='-Bstatic'
9248      ;;
9249
9250    sysv4*MP*)
9251      if test -d /usr/nec; then
9252	lt_prog_compiler_pic='-Kconform_pic'
9253	lt_prog_compiler_static='-Bstatic'
9254      fi
9255      ;;
9256
9257    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9258      lt_prog_compiler_wl='-Wl,'
9259      lt_prog_compiler_pic='-KPIC'
9260      lt_prog_compiler_static='-Bstatic'
9261      ;;
9262
9263    unicos*)
9264      lt_prog_compiler_wl='-Wl,'
9265      lt_prog_compiler_can_build_shared=no
9266      ;;
9267
9268    uts4*)
9269      lt_prog_compiler_pic='-pic'
9270      lt_prog_compiler_static='-Bstatic'
9271      ;;
9272
9273    *)
9274      lt_prog_compiler_can_build_shared=no
9275      ;;
9276    esac
9277  fi
9278
9279case $host_os in
9280  # For platforms that do not support PIC, -DPIC is meaningless:
9281  *djgpp*)
9282    lt_prog_compiler_pic=
9283    ;;
9284  *)
9285    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9286    ;;
9287esac
9288
9289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9290$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9291if ${lt_cv_prog_compiler_pic+:} false; then :
9292  $as_echo_n "(cached) " >&6
9293else
9294  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9295fi
9296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9297$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9298lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9299
9300#
9301# Check to make sure the PIC flag actually works.
9302#
9303if test -n "$lt_prog_compiler_pic"; then
9304  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9305$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9306if ${lt_cv_prog_compiler_pic_works+:} false; then :
9307  $as_echo_n "(cached) " >&6
9308else
9309  lt_cv_prog_compiler_pic_works=no
9310   ac_outfile=conftest.$ac_objext
9311   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9312   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9313   # Insert the option either (1) after the last *FLAGS variable, or
9314   # (2) before a word containing "conftest.", or (3) at the end.
9315   # Note that $ac_compile itself does not contain backslashes and begins
9316   # with a dollar sign (not a hyphen), so the echo should work correctly.
9317   # The option is referenced via a variable to avoid confusing sed.
9318   lt_compile=`echo "$ac_compile" | $SED \
9319   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9320   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9321   -e 's:$: $lt_compiler_flag:'`
9322   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9323   (eval "$lt_compile" 2>conftest.err)
9324   ac_status=$?
9325   cat conftest.err >&5
9326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9327   if (exit $ac_status) && test -s "$ac_outfile"; then
9328     # The compiler can only warn and ignore the option if not recognized
9329     # So say no if there are warnings other than the usual output.
9330     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9331     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9332     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9333       lt_cv_prog_compiler_pic_works=yes
9334     fi
9335   fi
9336   $RM conftest*
9337
9338fi
9339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9340$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9341
9342if test yes = "$lt_cv_prog_compiler_pic_works"; then
9343    case $lt_prog_compiler_pic in
9344     "" | " "*) ;;
9345     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9346     esac
9347else
9348    lt_prog_compiler_pic=
9349     lt_prog_compiler_can_build_shared=no
9350fi
9351
9352fi
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364#
9365# Check to make sure the static flag actually works.
9366#
9367wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9369$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9370if ${lt_cv_prog_compiler_static_works+:} false; then :
9371  $as_echo_n "(cached) " >&6
9372else
9373  lt_cv_prog_compiler_static_works=no
9374   save_LDFLAGS=$LDFLAGS
9375   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9376   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9377   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9378     # The linker can only warn and ignore the option if not recognized
9379     # So say no if there are warnings
9380     if test -s conftest.err; then
9381       # Append any errors to the config.log.
9382       cat conftest.err 1>&5
9383       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9384       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9385       if diff conftest.exp conftest.er2 >/dev/null; then
9386         lt_cv_prog_compiler_static_works=yes
9387       fi
9388     else
9389       lt_cv_prog_compiler_static_works=yes
9390     fi
9391   fi
9392   $RM -r conftest*
9393   LDFLAGS=$save_LDFLAGS
9394
9395fi
9396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9397$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9398
9399if test yes = "$lt_cv_prog_compiler_static_works"; then
9400    :
9401else
9402    lt_prog_compiler_static=
9403fi
9404
9405
9406
9407
9408
9409
9410
9411  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9412$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9413if ${lt_cv_prog_compiler_c_o+:} false; then :
9414  $as_echo_n "(cached) " >&6
9415else
9416  lt_cv_prog_compiler_c_o=no
9417   $RM -r conftest 2>/dev/null
9418   mkdir conftest
9419   cd conftest
9420   mkdir out
9421   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9422
9423   lt_compiler_flag="-o out/conftest2.$ac_objext"
9424   # Insert the option either (1) after the last *FLAGS variable, or
9425   # (2) before a word containing "conftest.", or (3) at the end.
9426   # Note that $ac_compile itself does not contain backslashes and begins
9427   # with a dollar sign (not a hyphen), so the echo should work correctly.
9428   lt_compile=`echo "$ac_compile" | $SED \
9429   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9430   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9431   -e 's:$: $lt_compiler_flag:'`
9432   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9433   (eval "$lt_compile" 2>out/conftest.err)
9434   ac_status=$?
9435   cat out/conftest.err >&5
9436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9437   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9438   then
9439     # The compiler can only warn and ignore the option if not recognized
9440     # So say no if there are warnings
9441     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9442     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9443     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9444       lt_cv_prog_compiler_c_o=yes
9445     fi
9446   fi
9447   chmod u+w . 2>&5
9448   $RM conftest*
9449   # SGI C++ compiler will create directory out/ii_files/ for
9450   # template instantiation
9451   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9452   $RM out/* && rmdir out
9453   cd ..
9454   $RM -r conftest
9455   $RM conftest*
9456
9457fi
9458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9459$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9460
9461
9462
9463
9464
9465
9466  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9467$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9468if ${lt_cv_prog_compiler_c_o+:} false; then :
9469  $as_echo_n "(cached) " >&6
9470else
9471  lt_cv_prog_compiler_c_o=no
9472   $RM -r conftest 2>/dev/null
9473   mkdir conftest
9474   cd conftest
9475   mkdir out
9476   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9477
9478   lt_compiler_flag="-o out/conftest2.$ac_objext"
9479   # Insert the option either (1) after the last *FLAGS variable, or
9480   # (2) before a word containing "conftest.", or (3) at the end.
9481   # Note that $ac_compile itself does not contain backslashes and begins
9482   # with a dollar sign (not a hyphen), so the echo should work correctly.
9483   lt_compile=`echo "$ac_compile" | $SED \
9484   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9485   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9486   -e 's:$: $lt_compiler_flag:'`
9487   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9488   (eval "$lt_compile" 2>out/conftest.err)
9489   ac_status=$?
9490   cat out/conftest.err >&5
9491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9492   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9493   then
9494     # The compiler can only warn and ignore the option if not recognized
9495     # So say no if there are warnings
9496     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9497     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9498     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9499       lt_cv_prog_compiler_c_o=yes
9500     fi
9501   fi
9502   chmod u+w . 2>&5
9503   $RM conftest*
9504   # SGI C++ compiler will create directory out/ii_files/ for
9505   # template instantiation
9506   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9507   $RM out/* && rmdir out
9508   cd ..
9509   $RM -r conftest
9510   $RM conftest*
9511
9512fi
9513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9514$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9515
9516
9517
9518
9519hard_links=nottested
9520if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9521  # do not overwrite the value of need_locks provided by the user
9522  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9523$as_echo_n "checking if we can lock with hard links... " >&6; }
9524  hard_links=yes
9525  $RM conftest*
9526  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9527  touch conftest.a
9528  ln conftest.a conftest.b 2>&5 || hard_links=no
9529  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9531$as_echo "$hard_links" >&6; }
9532  if test no = "$hard_links"; then
9533    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9534$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9535    need_locks=warn
9536  fi
9537else
9538  need_locks=no
9539fi
9540
9541
9542
9543
9544
9545
9546  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9547$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9548
9549  runpath_var=
9550  allow_undefined_flag=
9551  always_export_symbols=no
9552  archive_cmds=
9553  archive_expsym_cmds=
9554  compiler_needs_object=no
9555  enable_shared_with_static_runtimes=no
9556  export_dynamic_flag_spec=
9557  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9558  hardcode_automatic=no
9559  hardcode_direct=no
9560  hardcode_direct_absolute=no
9561  hardcode_libdir_flag_spec=
9562  hardcode_libdir_separator=
9563  hardcode_minus_L=no
9564  hardcode_shlibpath_var=unsupported
9565  inherit_rpath=no
9566  link_all_deplibs=unknown
9567  module_cmds=
9568  module_expsym_cmds=
9569  old_archive_from_new_cmds=
9570  old_archive_from_expsyms_cmds=
9571  thread_safe_flag_spec=
9572  whole_archive_flag_spec=
9573  # include_expsyms should be a list of space-separated symbols to be *always*
9574  # included in the symbol list
9575  include_expsyms=
9576  # exclude_expsyms can be an extended regexp of symbols to exclude
9577  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9578  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9579  # as well as any symbol that contains 'd'.
9580  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9581  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9582  # platforms (ab)use it in PIC code, but their linkers get confused if
9583  # the symbol is explicitly referenced.  Since portable code cannot
9584  # rely on this symbol name, it's probably fine to never include it in
9585  # preloaded symbol tables.
9586  # Exclude shared library initialization/finalization symbols.
9587  extract_expsyms_cmds=
9588
9589  case $host_os in
9590  cygwin* | mingw* | pw32* | cegcc*)
9591    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9592    # When not using gcc, we currently assume that we are using
9593    # Microsoft Visual C++.
9594    if test yes != "$GCC"; then
9595      with_gnu_ld=no
9596    fi
9597    ;;
9598  interix*)
9599    # we just hope/assume this is gcc and not c89 (= MSVC++)
9600    with_gnu_ld=yes
9601    ;;
9602  openbsd* | bitrig*)
9603    with_gnu_ld=no
9604    ;;
9605  esac
9606
9607  ld_shlibs=yes
9608
9609  # On some targets, GNU ld is compatible enough with the native linker
9610  # that we're better off using the native interface for both.
9611  lt_use_gnu_ld_interface=no
9612  if test yes = "$with_gnu_ld"; then
9613    case $host_os in
9614      aix*)
9615	# The AIX port of GNU ld has always aspired to compatibility
9616	# with the native linker.  However, as the warning in the GNU ld
9617	# block says, versions before 2.19.5* couldn't really create working
9618	# shared libraries, regardless of the interface used.
9619	case `$LD -v 2>&1` in
9620	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9621	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9622	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9623	  *)
9624	    lt_use_gnu_ld_interface=yes
9625	    ;;
9626	esac
9627	;;
9628      *)
9629	lt_use_gnu_ld_interface=yes
9630	;;
9631    esac
9632  fi
9633
9634  if test yes = "$lt_use_gnu_ld_interface"; then
9635    # If archive_cmds runs LD, not CC, wlarc should be empty
9636    wlarc='$wl'
9637
9638    # Set some defaults for GNU ld with shared library support. These
9639    # are reset later if shared libraries are not supported. Putting them
9640    # here allows them to be overridden if necessary.
9641    runpath_var=LD_RUN_PATH
9642    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9643    export_dynamic_flag_spec='$wl--export-dynamic'
9644    # ancient GNU ld didn't support --whole-archive et. al.
9645    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9646      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9647    else
9648      whole_archive_flag_spec=
9649    fi
9650    supports_anon_versioning=no
9651    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9652      *GNU\ gold*) supports_anon_versioning=yes ;;
9653      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9654      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9655      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9656      *\ 2.11.*) ;; # other 2.11 versions
9657      *) supports_anon_versioning=yes ;;
9658    esac
9659
9660    # See if GNU ld supports shared libraries.
9661    case $host_os in
9662    aix[3-9]*)
9663      # On AIX/PPC, the GNU linker is very broken
9664      if test ia64 != "$host_cpu"; then
9665	ld_shlibs=no
9666	cat <<_LT_EOF 1>&2
9667
9668*** Warning: the GNU linker, at least up to release 2.19, is reported
9669*** to be unable to reliably create shared libraries on AIX.
9670*** Therefore, libtool is disabling shared libraries support.  If you
9671*** really care for shared libraries, you may want to install binutils
9672*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9673*** You will then need to restart the configuration process.
9674
9675_LT_EOF
9676      fi
9677      ;;
9678
9679    amigaos*)
9680      case $host_cpu in
9681      powerpc)
9682            # see comment about AmigaOS4 .so support
9683            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9684            archive_expsym_cmds=''
9685        ;;
9686      m68k)
9687            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)'
9688            hardcode_libdir_flag_spec='-L$libdir'
9689            hardcode_minus_L=yes
9690        ;;
9691      esac
9692      ;;
9693
9694    beos*)
9695      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9696	allow_undefined_flag=unsupported
9697	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9698	# support --undefined.  This deserves some investigation.  FIXME
9699	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9700      else
9701	ld_shlibs=no
9702      fi
9703      ;;
9704
9705    cygwin* | mingw* | pw32* | cegcc*)
9706      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9707      # as there is no search path for DLLs.
9708      hardcode_libdir_flag_spec='-L$libdir'
9709      export_dynamic_flag_spec='$wl--export-all-symbols'
9710      allow_undefined_flag=unsupported
9711      always_export_symbols=no
9712      enable_shared_with_static_runtimes=yes
9713      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'
9714      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9715
9716      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9717        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9718	# If the export-symbols file already is a .def file, use it as
9719	# is; otherwise, prepend EXPORTS...
9720	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9721          cp $export_symbols $output_objdir/$soname.def;
9722        else
9723          echo EXPORTS > $output_objdir/$soname.def;
9724          cat $export_symbols >> $output_objdir/$soname.def;
9725        fi~
9726        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9727      else
9728	ld_shlibs=no
9729      fi
9730      ;;
9731
9732    haiku*)
9733      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9734      link_all_deplibs=yes
9735      ;;
9736
9737    os2*)
9738      hardcode_libdir_flag_spec='-L$libdir'
9739      hardcode_minus_L=yes
9740      allow_undefined_flag=unsupported
9741      shrext_cmds=.dll
9742      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9743	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9744	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9745	$ECHO EXPORTS >> $output_objdir/$libname.def~
9746	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9747	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9748	emximp -o $lib $output_objdir/$libname.def'
9749      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9750	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9751	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9752	$ECHO EXPORTS >> $output_objdir/$libname.def~
9753	prefix_cmds="$SED"~
9754	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9755	  prefix_cmds="$prefix_cmds -e 1d";
9756	fi~
9757	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9758	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9759	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9760	emximp -o $lib $output_objdir/$libname.def'
9761      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9762      enable_shared_with_static_runtimes=yes
9763      ;;
9764
9765    interix[3-9]*)
9766      hardcode_direct=no
9767      hardcode_shlibpath_var=no
9768      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9769      export_dynamic_flag_spec='$wl-E'
9770      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9771      # Instead, shared libraries are loaded at an image base (0x10000000 by
9772      # default) and relocated if they conflict, which is a slow very memory
9773      # consuming and fragmenting process.  To avoid this, we pick a random,
9774      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9775      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9776      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9777      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'
9778      ;;
9779
9780    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9781      tmp_diet=no
9782      if test linux-dietlibc = "$host_os"; then
9783	case $cc_basename in
9784	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9785	esac
9786      fi
9787      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9788	 && test no = "$tmp_diet"
9789      then
9790	tmp_addflag=' $pic_flag'
9791	tmp_sharedflag='-shared'
9792	case $cc_basename,$host_cpu in
9793        pgcc*)				# Portland Group C compiler
9794	  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'
9795	  tmp_addflag=' $pic_flag'
9796	  ;;
9797	pgf77* | pgf90* | pgf95* | pgfortran*)
9798					# Portland Group f77 and f90 compilers
9799	  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'
9800	  tmp_addflag=' $pic_flag -Mnomain' ;;
9801	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9802	  tmp_addflag=' -i_dynamic' ;;
9803	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9804	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9805	ifc* | ifort*)			# Intel Fortran compiler
9806	  tmp_addflag=' -nofor_main' ;;
9807	lf95*)				# Lahey Fortran 8.1
9808	  whole_archive_flag_spec=
9809	  tmp_sharedflag='--shared' ;;
9810        nagfor*)                        # NAGFOR 5.3
9811          tmp_sharedflag='-Wl,-shared' ;;
9812	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9813	  tmp_sharedflag='-qmkshrobj'
9814	  tmp_addflag= ;;
9815	nvcc*)	# Cuda Compiler Driver 2.2
9816	  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'
9817	  compiler_needs_object=yes
9818	  ;;
9819	esac
9820	case `$CC -V 2>&1 | sed 5q` in
9821	*Sun\ C*)			# Sun C 5.9
9822	  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'
9823	  compiler_needs_object=yes
9824	  tmp_sharedflag='-G' ;;
9825	*Sun\ F*)			# Sun Fortran 8.3
9826	  tmp_sharedflag='-G' ;;
9827	esac
9828	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9829
9830        if test yes = "$supports_anon_versioning"; then
9831          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9832            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9833            echo "local: *; };" >> $output_objdir/$libname.ver~
9834            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9835        fi
9836
9837	case $cc_basename in
9838	tcc*)
9839	  export_dynamic_flag_spec='-rdynamic'
9840	  ;;
9841	xlf* | bgf* | bgxlf* | mpixlf*)
9842	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9843	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9844	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9845	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9846	  if test yes = "$supports_anon_versioning"; then
9847	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9848              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9849              echo "local: *; };" >> $output_objdir/$libname.ver~
9850              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9851	  fi
9852	  ;;
9853	esac
9854      else
9855        ld_shlibs=no
9856      fi
9857      ;;
9858
9859    netbsd*)
9860      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9861	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9862	wlarc=
9863      else
9864	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9865	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9866      fi
9867      ;;
9868
9869    solaris*)
9870      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9871	ld_shlibs=no
9872	cat <<_LT_EOF 1>&2
9873
9874*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9875*** create shared libraries on Solaris systems.  Therefore, libtool
9876*** is disabling shared libraries support.  We urge you to upgrade GNU
9877*** binutils to release 2.9.1 or newer.  Another option is to modify
9878*** your PATH or compiler configuration so that the native linker is
9879*** used, and then restart.
9880
9881_LT_EOF
9882      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9883	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9884	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9885      else
9886	ld_shlibs=no
9887      fi
9888      ;;
9889
9890    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9891      case `$LD -v 2>&1` in
9892        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9893	ld_shlibs=no
9894	cat <<_LT_EOF 1>&2
9895
9896*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9897*** reliably create shared libraries on SCO systems.  Therefore, libtool
9898*** is disabling shared libraries support.  We urge you to upgrade GNU
9899*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9900*** your PATH or compiler configuration so that the native linker is
9901*** used, and then restart.
9902
9903_LT_EOF
9904	;;
9905	*)
9906	  # For security reasons, it is highly recommended that you always
9907	  # use absolute paths for naming shared libraries, and exclude the
9908	  # DT_RUNPATH tag from executables and libraries.  But doing so
9909	  # requires that you compile everything twice, which is a pain.
9910	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9911	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9912	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9913	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9914	  else
9915	    ld_shlibs=no
9916	  fi
9917	;;
9918      esac
9919      ;;
9920
9921    sunos4*)
9922      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9923      wlarc=
9924      hardcode_direct=yes
9925      hardcode_shlibpath_var=no
9926      ;;
9927
9928    *)
9929      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9930	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9931	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9932      else
9933	ld_shlibs=no
9934      fi
9935      ;;
9936    esac
9937
9938    if test no = "$ld_shlibs"; then
9939      runpath_var=
9940      hardcode_libdir_flag_spec=
9941      export_dynamic_flag_spec=
9942      whole_archive_flag_spec=
9943    fi
9944  else
9945    # PORTME fill in a description of your system's linker (not GNU ld)
9946    case $host_os in
9947    aix3*)
9948      allow_undefined_flag=unsupported
9949      always_export_symbols=yes
9950      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'
9951      # Note: this linker hardcodes the directories in LIBPATH if there
9952      # are no directories specified by -L.
9953      hardcode_minus_L=yes
9954      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9955	# Neither direct hardcoding nor static linking is supported with a
9956	# broken collect2.
9957	hardcode_direct=unsupported
9958      fi
9959      ;;
9960
9961    aix[4-9]*)
9962      if test ia64 = "$host_cpu"; then
9963	# On IA64, the linker does run time linking by default, so we don't
9964	# have to do anything special.
9965	aix_use_runtimelinking=no
9966	exp_sym_flag='-Bexport'
9967	no_entry_flag=
9968      else
9969	# If we're using GNU nm, then we don't want the "-C" option.
9970	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9971	# Without the "-l" option, or with the "-B" option, AIX nm treats
9972	# weak defined symbols like other global defined symbols, whereas
9973	# GNU nm marks them as "W".
9974	# While the 'weak' keyword is ignored in the Export File, we need
9975	# it in the Import File for the 'aix-soname' feature, so we have
9976	# to replace the "-B" option with "-P" for AIX nm.
9977	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9978	  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'
9979	else
9980	  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'
9981	fi
9982	aix_use_runtimelinking=no
9983
9984	# Test if we are trying to use run time linking or normal
9985	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9986	# have runtime linking enabled, and use it for executables.
9987	# For shared libraries, we enable/disable runtime linking
9988	# depending on the kind of the shared library created -
9989	# when "with_aix_soname,aix_use_runtimelinking" is:
9990	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9991	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9992	#            lib.a           static archive
9993	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9994	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9995	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9996	#            lib.a(lib.so.V) shared, rtl:no
9997	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9998	#            lib.a           static archive
9999	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10000	  for ld_flag in $LDFLAGS; do
10001	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10002	    aix_use_runtimelinking=yes
10003	    break
10004	  fi
10005	  done
10006	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10007	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10008	    # so we don't have lib.a shared libs to link our executables.
10009	    # We have to force runtime linking in this case.
10010	    aix_use_runtimelinking=yes
10011	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10012	  fi
10013	  ;;
10014	esac
10015
10016	exp_sym_flag='-bexport'
10017	no_entry_flag='-bnoentry'
10018      fi
10019
10020      # When large executables or shared objects are built, AIX ld can
10021      # have problems creating the table of contents.  If linking a library
10022      # or program results in "error TOC overflow" add -mminimal-toc to
10023      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10024      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10025
10026      archive_cmds=''
10027      hardcode_direct=yes
10028      hardcode_direct_absolute=yes
10029      hardcode_libdir_separator=':'
10030      link_all_deplibs=yes
10031      file_list_spec='$wl-f,'
10032      case $with_aix_soname,$aix_use_runtimelinking in
10033      aix,*) ;; # traditional, no import file
10034      svr4,* | *,yes) # use import file
10035	# The Import File defines what to hardcode.
10036	hardcode_direct=no
10037	hardcode_direct_absolute=no
10038	;;
10039      esac
10040
10041      if test yes = "$GCC"; then
10042	case $host_os in aix4.[012]|aix4.[012].*)
10043	# We only want to do this on AIX 4.2 and lower, the check
10044	# below for broken collect2 doesn't work under 4.3+
10045	  collect2name=`$CC -print-prog-name=collect2`
10046	  if test -f "$collect2name" &&
10047	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10048	  then
10049	  # We have reworked collect2
10050	  :
10051	  else
10052	  # We have old collect2
10053	  hardcode_direct=unsupported
10054	  # It fails to find uninstalled libraries when the uninstalled
10055	  # path is not listed in the libpath.  Setting hardcode_minus_L
10056	  # to unsupported forces relinking
10057	  hardcode_minus_L=yes
10058	  hardcode_libdir_flag_spec='-L$libdir'
10059	  hardcode_libdir_separator=
10060	  fi
10061	  ;;
10062	esac
10063	shared_flag='-shared'
10064	if test yes = "$aix_use_runtimelinking"; then
10065	  shared_flag="$shared_flag "'$wl-G'
10066	fi
10067	# Need to ensure runtime linking is disabled for the traditional
10068	# shared library, or the linker may eventually find shared libraries
10069	# /with/ Import File - we do not want to mix them.
10070	shared_flag_aix='-shared'
10071	shared_flag_svr4='-shared $wl-G'
10072      else
10073	# not using gcc
10074	if test ia64 = "$host_cpu"; then
10075	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10076	# chokes on -Wl,-G. The following line is correct:
10077	  shared_flag='-G'
10078	else
10079	  if test yes = "$aix_use_runtimelinking"; then
10080	    shared_flag='$wl-G'
10081	  else
10082	    shared_flag='$wl-bM:SRE'
10083	  fi
10084	  shared_flag_aix='$wl-bM:SRE'
10085	  shared_flag_svr4='$wl-G'
10086	fi
10087      fi
10088
10089      export_dynamic_flag_spec='$wl-bexpall'
10090      # It seems that -bexpall does not export symbols beginning with
10091      # underscore (_), so it is better to generate a list of symbols to export.
10092      always_export_symbols=yes
10093      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10094	# Warning - without using the other runtime loading flags (-brtl),
10095	# -berok will link without error, but may produce a broken library.
10096	allow_undefined_flag='-berok'
10097        # Determine the default libpath from the value encoded in an
10098        # empty executable.
10099        if test set = "${lt_cv_aix_libpath+set}"; then
10100  aix_libpath=$lt_cv_aix_libpath
10101else
10102  if ${lt_cv_aix_libpath_+:} false; then :
10103  $as_echo_n "(cached) " >&6
10104else
10105  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10106/* end confdefs.h.  */
10107
10108int
10109main ()
10110{
10111
10112  ;
10113  return 0;
10114}
10115_ACEOF
10116if ac_fn_c_try_link "$LINENO"; then :
10117
10118  lt_aix_libpath_sed='
10119      /Import File Strings/,/^$/ {
10120	  /^0/ {
10121	      s/^0  *\([^ ]*\) *$/\1/
10122	      p
10123	  }
10124      }'
10125  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10126  # Check for a 64-bit object if we didn't find anything.
10127  if test -z "$lt_cv_aix_libpath_"; then
10128    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10129  fi
10130fi
10131rm -f core conftest.err conftest.$ac_objext \
10132    conftest$ac_exeext conftest.$ac_ext
10133  if test -z "$lt_cv_aix_libpath_"; then
10134    lt_cv_aix_libpath_=/usr/lib:/lib
10135  fi
10136
10137fi
10138
10139  aix_libpath=$lt_cv_aix_libpath_
10140fi
10141
10142        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10143        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
10144      else
10145	if test ia64 = "$host_cpu"; then
10146	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10147	  allow_undefined_flag="-z nodefs"
10148	  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"
10149	else
10150	 # Determine the default libpath from the value encoded in an
10151	 # empty executable.
10152	 if test set = "${lt_cv_aix_libpath+set}"; then
10153  aix_libpath=$lt_cv_aix_libpath
10154else
10155  if ${lt_cv_aix_libpath_+:} false; then :
10156  $as_echo_n "(cached) " >&6
10157else
10158  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10159/* end confdefs.h.  */
10160
10161int
10162main ()
10163{
10164
10165  ;
10166  return 0;
10167}
10168_ACEOF
10169if ac_fn_c_try_link "$LINENO"; then :
10170
10171  lt_aix_libpath_sed='
10172      /Import File Strings/,/^$/ {
10173	  /^0/ {
10174	      s/^0  *\([^ ]*\) *$/\1/
10175	      p
10176	  }
10177      }'
10178  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10179  # Check for a 64-bit object if we didn't find anything.
10180  if test -z "$lt_cv_aix_libpath_"; then
10181    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10182  fi
10183fi
10184rm -f core conftest.err conftest.$ac_objext \
10185    conftest$ac_exeext conftest.$ac_ext
10186  if test -z "$lt_cv_aix_libpath_"; then
10187    lt_cv_aix_libpath_=/usr/lib:/lib
10188  fi
10189
10190fi
10191
10192  aix_libpath=$lt_cv_aix_libpath_
10193fi
10194
10195	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10196	  # Warning - without using the other run time loading flags,
10197	  # -berok will link without error, but may produce a broken library.
10198	  no_undefined_flag=' $wl-bernotok'
10199	  allow_undefined_flag=' $wl-berok'
10200	  if test yes = "$with_gnu_ld"; then
10201	    # We only use this code for GNU lds that support --whole-archive.
10202	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10203	  else
10204	    # Exported symbols can be pulled into shared objects from archives
10205	    whole_archive_flag_spec='$convenience'
10206	  fi
10207	  archive_cmds_need_lc=yes
10208	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10209	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10210	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10211	  if test svr4 != "$with_aix_soname"; then
10212	    # This is similar to how AIX traditionally builds its shared libraries.
10213	    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'
10214	  fi
10215	  if test aix != "$with_aix_soname"; then
10216	    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'
10217	  else
10218	    # used by -dlpreopen to get the symbols
10219	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10220	  fi
10221	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10222	fi
10223      fi
10224      ;;
10225
10226    amigaos*)
10227      case $host_cpu in
10228      powerpc)
10229            # see comment about AmigaOS4 .so support
10230            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10231            archive_expsym_cmds=''
10232        ;;
10233      m68k)
10234            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)'
10235            hardcode_libdir_flag_spec='-L$libdir'
10236            hardcode_minus_L=yes
10237        ;;
10238      esac
10239      ;;
10240
10241    bsdi[45]*)
10242      export_dynamic_flag_spec=-rdynamic
10243      ;;
10244
10245    cygwin* | mingw* | pw32* | cegcc*)
10246      # When not using gcc, we currently assume that we are using
10247      # Microsoft Visual C++.
10248      # hardcode_libdir_flag_spec is actually meaningless, as there is
10249      # no search path for DLLs.
10250      case $cc_basename in
10251      cl*)
10252	# Native MSVC
10253	hardcode_libdir_flag_spec=' '
10254	allow_undefined_flag=unsupported
10255	always_export_symbols=yes
10256	file_list_spec='@'
10257	# Tell ltmain to make .lib files, not .a files.
10258	libext=lib
10259	# Tell ltmain to make .dll files, not .so files.
10260	shrext_cmds=.dll
10261	# FIXME: Setting linknames here is a bad hack.
10262	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10263	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10264            cp "$export_symbols" "$output_objdir/$soname.def";
10265            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10266          else
10267            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10268          fi~
10269          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10270          linknames='
10271	# The linker will not automatically build a static lib if we build a DLL.
10272	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10273	enable_shared_with_static_runtimes=yes
10274	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10275	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10276	# Don't use ranlib
10277	old_postinstall_cmds='chmod 644 $oldlib'
10278	postlink_cmds='lt_outputfile="@OUTPUT@"~
10279          lt_tool_outputfile="@TOOL_OUTPUT@"~
10280          case $lt_outputfile in
10281            *.exe|*.EXE) ;;
10282            *)
10283              lt_outputfile=$lt_outputfile.exe
10284              lt_tool_outputfile=$lt_tool_outputfile.exe
10285              ;;
10286          esac~
10287          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10288            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10289            $RM "$lt_outputfile.manifest";
10290          fi'
10291	;;
10292      *)
10293	# Assume MSVC wrapper
10294	hardcode_libdir_flag_spec=' '
10295	allow_undefined_flag=unsupported
10296	# Tell ltmain to make .lib files, not .a files.
10297	libext=lib
10298	# Tell ltmain to make .dll files, not .so files.
10299	shrext_cmds=.dll
10300	# FIXME: Setting linknames here is a bad hack.
10301	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10302	# The linker will automatically build a .lib file if we build a DLL.
10303	old_archive_from_new_cmds='true'
10304	# FIXME: Should let the user specify the lib program.
10305	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10306	enable_shared_with_static_runtimes=yes
10307	;;
10308      esac
10309      ;;
10310
10311    darwin* | rhapsody*)
10312
10313
10314  archive_cmds_need_lc=no
10315  hardcode_direct=no
10316  hardcode_automatic=yes
10317  hardcode_shlibpath_var=unsupported
10318  if test yes = "$lt_cv_ld_force_load"; then
10319    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\"`'
10320
10321  else
10322    whole_archive_flag_spec=''
10323  fi
10324  link_all_deplibs=yes
10325  allow_undefined_flag=$_lt_dar_allow_undefined
10326  case $cc_basename in
10327     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10328     *) _lt_dar_can_shared=$GCC ;;
10329  esac
10330  if test yes = "$_lt_dar_can_shared"; then
10331    output_verbose_link_cmd=func_echo_all
10332    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10333    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10334    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"
10335    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"
10336
10337  else
10338  ld_shlibs=no
10339  fi
10340
10341      ;;
10342
10343    dgux*)
10344      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10345      hardcode_libdir_flag_spec='-L$libdir'
10346      hardcode_shlibpath_var=no
10347      ;;
10348
10349    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10350    # support.  Future versions do this automatically, but an explicit c++rt0.o
10351    # does not break anything, and helps significantly (at the cost of a little
10352    # extra space).
10353    freebsd2.2*)
10354      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10355      hardcode_libdir_flag_spec='-R$libdir'
10356      hardcode_direct=yes
10357      hardcode_shlibpath_var=no
10358      ;;
10359
10360    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10361    freebsd2.*)
10362      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10363      hardcode_direct=yes
10364      hardcode_minus_L=yes
10365      hardcode_shlibpath_var=no
10366      ;;
10367
10368    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10369    freebsd* | dragonfly*)
10370      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10371      hardcode_libdir_flag_spec='-R$libdir'
10372      hardcode_direct=yes
10373      hardcode_shlibpath_var=no
10374      ;;
10375
10376    hpux9*)
10377      if test yes = "$GCC"; then
10378	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'
10379      else
10380	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'
10381      fi
10382      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10383      hardcode_libdir_separator=:
10384      hardcode_direct=yes
10385
10386      # hardcode_minus_L: Not really in the search PATH,
10387      # but as the default location of the library.
10388      hardcode_minus_L=yes
10389      export_dynamic_flag_spec='$wl-E'
10390      ;;
10391
10392    hpux10*)
10393      if test yes,no = "$GCC,$with_gnu_ld"; then
10394	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10395      else
10396	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10397      fi
10398      if test no = "$with_gnu_ld"; then
10399	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10400	hardcode_libdir_separator=:
10401	hardcode_direct=yes
10402	hardcode_direct_absolute=yes
10403	export_dynamic_flag_spec='$wl-E'
10404	# hardcode_minus_L: Not really in the search PATH,
10405	# but as the default location of the library.
10406	hardcode_minus_L=yes
10407      fi
10408      ;;
10409
10410    hpux11*)
10411      if test yes,no = "$GCC,$with_gnu_ld"; then
10412	case $host_cpu in
10413	hppa*64*)
10414	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10415	  ;;
10416	ia64*)
10417	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10418	  ;;
10419	*)
10420	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10421	  ;;
10422	esac
10423      else
10424	case $host_cpu in
10425	hppa*64*)
10426	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10427	  ;;
10428	ia64*)
10429	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10430	  ;;
10431	*)
10432
10433	  # Older versions of the 11.00 compiler do not understand -b yet
10434	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10435	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10436$as_echo_n "checking if $CC understands -b... " >&6; }
10437if ${lt_cv_prog_compiler__b+:} false; then :
10438  $as_echo_n "(cached) " >&6
10439else
10440  lt_cv_prog_compiler__b=no
10441   save_LDFLAGS=$LDFLAGS
10442   LDFLAGS="$LDFLAGS -b"
10443   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10444   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10445     # The linker can only warn and ignore the option if not recognized
10446     # So say no if there are warnings
10447     if test -s conftest.err; then
10448       # Append any errors to the config.log.
10449       cat conftest.err 1>&5
10450       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10451       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10452       if diff conftest.exp conftest.er2 >/dev/null; then
10453         lt_cv_prog_compiler__b=yes
10454       fi
10455     else
10456       lt_cv_prog_compiler__b=yes
10457     fi
10458   fi
10459   $RM -r conftest*
10460   LDFLAGS=$save_LDFLAGS
10461
10462fi
10463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10464$as_echo "$lt_cv_prog_compiler__b" >&6; }
10465
10466if test yes = "$lt_cv_prog_compiler__b"; then
10467    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10468else
10469    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10470fi
10471
10472	  ;;
10473	esac
10474      fi
10475      if test no = "$with_gnu_ld"; then
10476	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10477	hardcode_libdir_separator=:
10478
10479	case $host_cpu in
10480	hppa*64*|ia64*)
10481	  hardcode_direct=no
10482	  hardcode_shlibpath_var=no
10483	  ;;
10484	*)
10485	  hardcode_direct=yes
10486	  hardcode_direct_absolute=yes
10487	  export_dynamic_flag_spec='$wl-E'
10488
10489	  # hardcode_minus_L: Not really in the search PATH,
10490	  # but as the default location of the library.
10491	  hardcode_minus_L=yes
10492	  ;;
10493	esac
10494      fi
10495      ;;
10496
10497    irix5* | irix6* | nonstopux*)
10498      if test yes = "$GCC"; then
10499	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'
10500	# Try to use the -exported_symbol ld option, if it does not
10501	# work, assume that -exports_file does not work either and
10502	# implicitly export all symbols.
10503	# This should be the same for all languages, so no per-tag cache variable.
10504	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10505$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10506if ${lt_cv_irix_exported_symbol+:} false; then :
10507  $as_echo_n "(cached) " >&6
10508else
10509  save_LDFLAGS=$LDFLAGS
10510	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10511	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10512/* end confdefs.h.  */
10513int foo (void) { return 0; }
10514_ACEOF
10515if ac_fn_c_try_link "$LINENO"; then :
10516  lt_cv_irix_exported_symbol=yes
10517else
10518  lt_cv_irix_exported_symbol=no
10519fi
10520rm -f core conftest.err conftest.$ac_objext \
10521    conftest$ac_exeext conftest.$ac_ext
10522           LDFLAGS=$save_LDFLAGS
10523fi
10524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10525$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10526	if test yes = "$lt_cv_irix_exported_symbol"; then
10527          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'
10528	fi
10529      else
10530	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'
10531	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'
10532      fi
10533      archive_cmds_need_lc='no'
10534      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10535      hardcode_libdir_separator=:
10536      inherit_rpath=yes
10537      link_all_deplibs=yes
10538      ;;
10539
10540    linux*)
10541      case $cc_basename in
10542      tcc*)
10543	# Fabrice Bellard et al's Tiny C Compiler
10544	ld_shlibs=yes
10545	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10546	;;
10547      esac
10548      ;;
10549
10550    netbsd*)
10551      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10552	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10553      else
10554	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10555      fi
10556      hardcode_libdir_flag_spec='-R$libdir'
10557      hardcode_direct=yes
10558      hardcode_shlibpath_var=no
10559      ;;
10560
10561    newsos6)
10562      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10563      hardcode_direct=yes
10564      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10565      hardcode_libdir_separator=:
10566      hardcode_shlibpath_var=no
10567      ;;
10568
10569    *nto* | *qnx*)
10570      ;;
10571
10572    openbsd* | bitrig*)
10573      if test -f /usr/libexec/ld.so; then
10574	hardcode_direct=yes
10575	hardcode_shlibpath_var=no
10576	hardcode_direct_absolute=yes
10577	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10578	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10579	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10580	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10581	  export_dynamic_flag_spec='$wl-E'
10582	else
10583	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10584	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10585	fi
10586      else
10587	ld_shlibs=no
10588      fi
10589      ;;
10590
10591    os2*)
10592      hardcode_libdir_flag_spec='-L$libdir'
10593      hardcode_minus_L=yes
10594      allow_undefined_flag=unsupported
10595      shrext_cmds=.dll
10596      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10597	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10598	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10599	$ECHO EXPORTS >> $output_objdir/$libname.def~
10600	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10601	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10602	emximp -o $lib $output_objdir/$libname.def'
10603      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10604	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10605	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10606	$ECHO EXPORTS >> $output_objdir/$libname.def~
10607	prefix_cmds="$SED"~
10608	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10609	  prefix_cmds="$prefix_cmds -e 1d";
10610	fi~
10611	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10612	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10613	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10614	emximp -o $lib $output_objdir/$libname.def'
10615      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10616      enable_shared_with_static_runtimes=yes
10617      ;;
10618
10619    osf3*)
10620      if test yes = "$GCC"; then
10621	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10622	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'
10623      else
10624	allow_undefined_flag=' -expect_unresolved \*'
10625	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'
10626      fi
10627      archive_cmds_need_lc='no'
10628      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10629      hardcode_libdir_separator=:
10630      ;;
10631
10632    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10633      if test yes = "$GCC"; then
10634	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10635	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'
10636	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10637      else
10638	allow_undefined_flag=' -expect_unresolved \*'
10639	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'
10640	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~
10641          $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'
10642
10643	# Both c and cxx compiler support -rpath directly
10644	hardcode_libdir_flag_spec='-rpath $libdir'
10645      fi
10646      archive_cmds_need_lc='no'
10647      hardcode_libdir_separator=:
10648      ;;
10649
10650    solaris*)
10651      no_undefined_flag=' -z defs'
10652      if test yes = "$GCC"; then
10653	wlarc='$wl'
10654	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10655	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10656          $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'
10657      else
10658	case `$CC -V 2>&1` in
10659	*"Compilers 5.0"*)
10660	  wlarc=''
10661	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10662	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10663            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10664	  ;;
10665	*)
10666	  wlarc='$wl'
10667	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10668	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10669            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10670	  ;;
10671	esac
10672      fi
10673      hardcode_libdir_flag_spec='-R$libdir'
10674      hardcode_shlibpath_var=no
10675      case $host_os in
10676      solaris2.[0-5] | solaris2.[0-5].*) ;;
10677      *)
10678	# The compiler driver will combine and reorder linker options,
10679	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10680	# but is careful enough not to reorder.
10681	# Supported since Solaris 2.6 (maybe 2.5.1?)
10682	if test yes = "$GCC"; then
10683	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10684	else
10685	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10686	fi
10687	;;
10688      esac
10689      link_all_deplibs=yes
10690      ;;
10691
10692    sunos4*)
10693      if test sequent = "$host_vendor"; then
10694	# Use $CC to link under sequent, because it throws in some extra .o
10695	# files that make .init and .fini sections work.
10696	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10697      else
10698	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10699      fi
10700      hardcode_libdir_flag_spec='-L$libdir'
10701      hardcode_direct=yes
10702      hardcode_minus_L=yes
10703      hardcode_shlibpath_var=no
10704      ;;
10705
10706    sysv4)
10707      case $host_vendor in
10708	sni)
10709	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10710	  hardcode_direct=yes # is this really true???
10711	;;
10712	siemens)
10713	  ## LD is ld it makes a PLAMLIB
10714	  ## CC just makes a GrossModule.
10715	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10716	  reload_cmds='$CC -r -o $output$reload_objs'
10717	  hardcode_direct=no
10718        ;;
10719	motorola)
10720	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10721	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10722	;;
10723      esac
10724      runpath_var='LD_RUN_PATH'
10725      hardcode_shlibpath_var=no
10726      ;;
10727
10728    sysv4.3*)
10729      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10730      hardcode_shlibpath_var=no
10731      export_dynamic_flag_spec='-Bexport'
10732      ;;
10733
10734    sysv4*MP*)
10735      if test -d /usr/nec; then
10736	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10737	hardcode_shlibpath_var=no
10738	runpath_var=LD_RUN_PATH
10739	hardcode_runpath_var=yes
10740	ld_shlibs=yes
10741      fi
10742      ;;
10743
10744    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10745      no_undefined_flag='$wl-z,text'
10746      archive_cmds_need_lc=no
10747      hardcode_shlibpath_var=no
10748      runpath_var='LD_RUN_PATH'
10749
10750      if test yes = "$GCC"; then
10751	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10752	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10753      else
10754	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10755	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10756      fi
10757      ;;
10758
10759    sysv5* | sco3.2v5* | sco5v6*)
10760      # Note: We CANNOT use -z defs as we might desire, because we do not
10761      # link with -lc, and that would cause any symbols used from libc to
10762      # always be unresolved, which means just about no library would
10763      # ever link correctly.  If we're not using GNU ld we use -z text
10764      # though, which does catch some bad symbols but isn't as heavy-handed
10765      # as -z defs.
10766      no_undefined_flag='$wl-z,text'
10767      allow_undefined_flag='$wl-z,nodefs'
10768      archive_cmds_need_lc=no
10769      hardcode_shlibpath_var=no
10770      hardcode_libdir_flag_spec='$wl-R,$libdir'
10771      hardcode_libdir_separator=':'
10772      link_all_deplibs=yes
10773      export_dynamic_flag_spec='$wl-Bexport'
10774      runpath_var='LD_RUN_PATH'
10775
10776      if test yes = "$GCC"; then
10777	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10778	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10779      else
10780	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10781	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10782      fi
10783      ;;
10784
10785    uts4*)
10786      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10787      hardcode_libdir_flag_spec='-L$libdir'
10788      hardcode_shlibpath_var=no
10789      ;;
10790
10791    *)
10792      ld_shlibs=no
10793      ;;
10794    esac
10795
10796    if test sni = "$host_vendor"; then
10797      case $host in
10798      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10799	export_dynamic_flag_spec='$wl-Blargedynsym'
10800	;;
10801      esac
10802    fi
10803  fi
10804
10805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10806$as_echo "$ld_shlibs" >&6; }
10807test no = "$ld_shlibs" && can_build_shared=no
10808
10809with_gnu_ld=$with_gnu_ld
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825#
10826# Do we need to explicitly link libc?
10827#
10828case "x$archive_cmds_need_lc" in
10829x|xyes)
10830  # Assume -lc should be added
10831  archive_cmds_need_lc=yes
10832
10833  if test yes,yes = "$GCC,$enable_shared"; then
10834    case $archive_cmds in
10835    *'~'*)
10836      # FIXME: we may have to deal with multi-command sequences.
10837      ;;
10838    '$CC '*)
10839      # Test whether the compiler implicitly links with -lc since on some
10840      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10841      # to ld, don't add -lc before -lgcc.
10842      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10843$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10844if ${lt_cv_archive_cmds_need_lc+:} false; then :
10845  $as_echo_n "(cached) " >&6
10846else
10847  $RM conftest*
10848	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10849
10850	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10851  (eval $ac_compile) 2>&5
10852  ac_status=$?
10853  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10854  test $ac_status = 0; } 2>conftest.err; then
10855	  soname=conftest
10856	  lib=conftest
10857	  libobjs=conftest.$ac_objext
10858	  deplibs=
10859	  wl=$lt_prog_compiler_wl
10860	  pic_flag=$lt_prog_compiler_pic
10861	  compiler_flags=-v
10862	  linker_flags=-v
10863	  verstring=
10864	  output_objdir=.
10865	  libname=conftest
10866	  lt_save_allow_undefined_flag=$allow_undefined_flag
10867	  allow_undefined_flag=
10868	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10869  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10870  ac_status=$?
10871  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10872  test $ac_status = 0; }
10873	  then
10874	    lt_cv_archive_cmds_need_lc=no
10875	  else
10876	    lt_cv_archive_cmds_need_lc=yes
10877	  fi
10878	  allow_undefined_flag=$lt_save_allow_undefined_flag
10879	else
10880	  cat conftest.err 1>&5
10881	fi
10882	$RM conftest*
10883
10884fi
10885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10886$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10887      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10888      ;;
10889    esac
10890  fi
10891  ;;
10892esac
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11046$as_echo_n "checking dynamic linker characteristics... " >&6; }
11047
11048if test yes = "$GCC"; then
11049  case $host_os in
11050    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11051    *) lt_awk_arg='/^libraries:/' ;;
11052  esac
11053  case $host_os in
11054    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11055    *) lt_sed_strip_eq='s|=/|/|g' ;;
11056  esac
11057  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11058  case $lt_search_path_spec in
11059  *\;*)
11060    # if the path contains ";" then we assume it to be the separator
11061    # otherwise default to the standard path separator (i.e. ":") - it is
11062    # assumed that no part of a normal pathname contains ";" but that should
11063    # okay in the real world where ";" in dirpaths is itself problematic.
11064    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11065    ;;
11066  *)
11067    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11068    ;;
11069  esac
11070  # Ok, now we have the path, separated by spaces, we can step through it
11071  # and add multilib dir if necessary...
11072  lt_tmp_lt_search_path_spec=
11073  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11074  # ...but if some path component already ends with the multilib dir we assume
11075  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11076  case "$lt_multi_os_dir; $lt_search_path_spec " in
11077  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11078    lt_multi_os_dir=
11079    ;;
11080  esac
11081  for lt_sys_path in $lt_search_path_spec; do
11082    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11083      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11084    elif test -n "$lt_multi_os_dir"; then
11085      test -d "$lt_sys_path" && \
11086	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11087    fi
11088  done
11089  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11090BEGIN {RS = " "; FS = "/|\n";} {
11091  lt_foo = "";
11092  lt_count = 0;
11093  for (lt_i = NF; lt_i > 0; lt_i--) {
11094    if ($lt_i != "" && $lt_i != ".") {
11095      if ($lt_i == "..") {
11096        lt_count++;
11097      } else {
11098        if (lt_count == 0) {
11099          lt_foo = "/" $lt_i lt_foo;
11100        } else {
11101          lt_count--;
11102        }
11103      }
11104    }
11105  }
11106  if (lt_foo != "") { lt_freq[lt_foo]++; }
11107  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11108}'`
11109  # AWK program above erroneously prepends '/' to C:/dos/paths
11110  # for these hosts.
11111  case $host_os in
11112    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11113      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11114  esac
11115  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11116else
11117  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11118fi
11119library_names_spec=
11120libname_spec='lib$name'
11121soname_spec=
11122shrext_cmds=.so
11123postinstall_cmds=
11124postuninstall_cmds=
11125finish_cmds=
11126finish_eval=
11127shlibpath_var=
11128shlibpath_overrides_runpath=unknown
11129version_type=none
11130dynamic_linker="$host_os ld.so"
11131sys_lib_dlsearch_path_spec="/lib /usr/lib"
11132need_lib_prefix=unknown
11133hardcode_into_libs=no
11134
11135# when you set need_version to no, make sure it does not cause -set_version
11136# flags to be left without arguments
11137need_version=unknown
11138
11139
11140
11141case $host_os in
11142aix3*)
11143  version_type=linux # correct to gnu/linux during the next big refactor
11144  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11145  shlibpath_var=LIBPATH
11146
11147  # AIX 3 has no versioning support, so we append a major version to the name.
11148  soname_spec='$libname$release$shared_ext$major'
11149  ;;
11150
11151aix[4-9]*)
11152  version_type=linux # correct to gnu/linux during the next big refactor
11153  need_lib_prefix=no
11154  need_version=no
11155  hardcode_into_libs=yes
11156  if test ia64 = "$host_cpu"; then
11157    # AIX 5 supports IA64
11158    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11159    shlibpath_var=LD_LIBRARY_PATH
11160  else
11161    # With GCC up to 2.95.x, collect2 would create an import file
11162    # for dependence libraries.  The import file would start with
11163    # the line '#! .'.  This would cause the generated library to
11164    # depend on '.', always an invalid library.  This was fixed in
11165    # development snapshots of GCC prior to 3.0.
11166    case $host_os in
11167      aix4 | aix4.[01] | aix4.[01].*)
11168      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11169	   echo ' yes '
11170	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11171	:
11172      else
11173	can_build_shared=no
11174      fi
11175      ;;
11176    esac
11177    # Using Import Files as archive members, it is possible to support
11178    # filename-based versioning of shared library archives on AIX. While
11179    # this would work for both with and without runtime linking, it will
11180    # prevent static linking of such archives. So we do filename-based
11181    # shared library versioning with .so extension only, which is used
11182    # when both runtime linking and shared linking is enabled.
11183    # Unfortunately, runtime linking may impact performance, so we do
11184    # not want this to be the default eventually. Also, we use the
11185    # versioned .so libs for executables only if there is the -brtl
11186    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11187    # To allow for filename-based versioning support, we need to create
11188    # libNAME.so.V as an archive file, containing:
11189    # *) an Import File, referring to the versioned filename of the
11190    #    archive as well as the shared archive member, telling the
11191    #    bitwidth (32 or 64) of that shared object, and providing the
11192    #    list of exported symbols of that shared object, eventually
11193    #    decorated with the 'weak' keyword
11194    # *) the shared object with the F_LOADONLY flag set, to really avoid
11195    #    it being seen by the linker.
11196    # At run time we better use the real file rather than another symlink,
11197    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11198
11199    case $with_aix_soname,$aix_use_runtimelinking in
11200    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11201    # soname into executable. Probably we can add versioning support to
11202    # collect2, so additional links can be useful in future.
11203    aix,yes) # traditional libtool
11204      dynamic_linker='AIX unversionable lib.so'
11205      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11206      # instead of lib<name>.a to let people know that these are not
11207      # typical AIX shared libraries.
11208      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11209      ;;
11210    aix,no) # traditional AIX only
11211      dynamic_linker='AIX lib.a(lib.so.V)'
11212      # We preserve .a as extension for shared libraries through AIX4.2
11213      # and later when we are not doing run time linking.
11214      library_names_spec='$libname$release.a $libname.a'
11215      soname_spec='$libname$release$shared_ext$major'
11216      ;;
11217    svr4,*) # full svr4 only
11218      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11219      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11220      # We do not specify a path in Import Files, so LIBPATH fires.
11221      shlibpath_overrides_runpath=yes
11222      ;;
11223    *,yes) # both, prefer svr4
11224      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11225      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11226      # unpreferred sharedlib libNAME.a needs extra handling
11227      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"'
11228      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"'
11229      # We do not specify a path in Import Files, so LIBPATH fires.
11230      shlibpath_overrides_runpath=yes
11231      ;;
11232    *,no) # both, prefer aix
11233      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11234      library_names_spec='$libname$release.a $libname.a'
11235      soname_spec='$libname$release$shared_ext$major'
11236      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11237      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)'
11238      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"'
11239      ;;
11240    esac
11241    shlibpath_var=LIBPATH
11242  fi
11243  ;;
11244
11245amigaos*)
11246  case $host_cpu in
11247  powerpc)
11248    # Since July 2007 AmigaOS4 officially supports .so libraries.
11249    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11250    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11251    ;;
11252  m68k)
11253    library_names_spec='$libname.ixlibrary $libname.a'
11254    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11255    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'
11256    ;;
11257  esac
11258  ;;
11259
11260beos*)
11261  library_names_spec='$libname$shared_ext'
11262  dynamic_linker="$host_os ld.so"
11263  shlibpath_var=LIBRARY_PATH
11264  ;;
11265
11266bsdi[45]*)
11267  version_type=linux # correct to gnu/linux during the next big refactor
11268  need_version=no
11269  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11270  soname_spec='$libname$release$shared_ext$major'
11271  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11272  shlibpath_var=LD_LIBRARY_PATH
11273  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11274  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11275  # the default ld.so.conf also contains /usr/contrib/lib and
11276  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11277  # libtool to hard-code these into programs
11278  ;;
11279
11280cygwin* | mingw* | pw32* | cegcc*)
11281  version_type=windows
11282  shrext_cmds=.dll
11283  need_version=no
11284  need_lib_prefix=no
11285
11286  case $GCC,$cc_basename in
11287  yes,*)
11288    # gcc
11289    library_names_spec='$libname.dll.a'
11290    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11291    postinstall_cmds='base_file=`basename \$file`~
11292      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11293      dldir=$destdir/`dirname \$dlpath`~
11294      test -d \$dldir || mkdir -p \$dldir~
11295      $install_prog $dir/$dlname \$dldir/$dlname~
11296      chmod a+x \$dldir/$dlname~
11297      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11298        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11299      fi'
11300    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11301      dlpath=$dir/\$dldll~
11302       $RM \$dlpath'
11303    shlibpath_overrides_runpath=yes
11304
11305    case $host_os in
11306    cygwin*)
11307      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11308      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11309
11310      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11311      ;;
11312    mingw* | cegcc*)
11313      # MinGW DLLs use traditional 'lib' prefix
11314      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11315      ;;
11316    pw32*)
11317      # pw32 DLLs use 'pw' prefix rather than 'lib'
11318      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11319      ;;
11320    esac
11321    dynamic_linker='Win32 ld.exe'
11322    ;;
11323
11324  *,cl*)
11325    # Native MSVC
11326    libname_spec='$name'
11327    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11328    library_names_spec='$libname.dll.lib'
11329
11330    case $build_os in
11331    mingw*)
11332      sys_lib_search_path_spec=
11333      lt_save_ifs=$IFS
11334      IFS=';'
11335      for lt_path in $LIB
11336      do
11337        IFS=$lt_save_ifs
11338        # Let DOS variable expansion print the short 8.3 style file name.
11339        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11340        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11341      done
11342      IFS=$lt_save_ifs
11343      # Convert to MSYS style.
11344      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11345      ;;
11346    cygwin*)
11347      # Convert to unix form, then to dos form, then back to unix form
11348      # but this time dos style (no spaces!) so that the unix form looks
11349      # like /cygdrive/c/PROGRA~1:/cygdr...
11350      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11351      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11352      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11353      ;;
11354    *)
11355      sys_lib_search_path_spec=$LIB
11356      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11357        # It is most probably a Windows format PATH.
11358        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11359      else
11360        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11361      fi
11362      # FIXME: find the short name or the path components, as spaces are
11363      # common. (e.g. "Program Files" -> "PROGRA~1")
11364      ;;
11365    esac
11366
11367    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11368    postinstall_cmds='base_file=`basename \$file`~
11369      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11370      dldir=$destdir/`dirname \$dlpath`~
11371      test -d \$dldir || mkdir -p \$dldir~
11372      $install_prog $dir/$dlname \$dldir/$dlname'
11373    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11374      dlpath=$dir/\$dldll~
11375       $RM \$dlpath'
11376    shlibpath_overrides_runpath=yes
11377    dynamic_linker='Win32 link.exe'
11378    ;;
11379
11380  *)
11381    # Assume MSVC wrapper
11382    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11383    dynamic_linker='Win32 ld.exe'
11384    ;;
11385  esac
11386  # FIXME: first we should search . and the directory the executable is in
11387  shlibpath_var=PATH
11388  ;;
11389
11390darwin* | rhapsody*)
11391  dynamic_linker="$host_os dyld"
11392  version_type=darwin
11393  need_lib_prefix=no
11394  need_version=no
11395  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11396  soname_spec='$libname$release$major$shared_ext'
11397  shlibpath_overrides_runpath=yes
11398  shlibpath_var=DYLD_LIBRARY_PATH
11399  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11400
11401  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11402  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11403  ;;
11404
11405dgux*)
11406  version_type=linux # correct to gnu/linux during the next big refactor
11407  need_lib_prefix=no
11408  need_version=no
11409  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11410  soname_spec='$libname$release$shared_ext$major'
11411  shlibpath_var=LD_LIBRARY_PATH
11412  ;;
11413
11414freebsd* | dragonfly*)
11415  # DragonFly does not have aout.  When/if they implement a new
11416  # versioning mechanism, adjust this.
11417  if test -x /usr/bin/objformat; then
11418    objformat=`/usr/bin/objformat`
11419  else
11420    case $host_os in
11421    freebsd[23].*) objformat=aout ;;
11422    *) objformat=elf ;;
11423    esac
11424  fi
11425  version_type=freebsd-$objformat
11426  case $version_type in
11427    freebsd-elf*)
11428      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11429      soname_spec='$libname$release$shared_ext$major'
11430      need_version=no
11431      need_lib_prefix=no
11432      ;;
11433    freebsd-*)
11434      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11435      need_version=yes
11436      ;;
11437  esac
11438  shlibpath_var=LD_LIBRARY_PATH
11439  case $host_os in
11440  freebsd2.*)
11441    shlibpath_overrides_runpath=yes
11442    ;;
11443  freebsd3.[01]* | freebsdelf3.[01]*)
11444    shlibpath_overrides_runpath=yes
11445    hardcode_into_libs=yes
11446    ;;
11447  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11448  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11449    shlibpath_overrides_runpath=no
11450    hardcode_into_libs=yes
11451    ;;
11452  *) # from 4.6 on, and DragonFly
11453    shlibpath_overrides_runpath=yes
11454    hardcode_into_libs=yes
11455    ;;
11456  esac
11457  ;;
11458
11459haiku*)
11460  version_type=linux # correct to gnu/linux during the next big refactor
11461  need_lib_prefix=no
11462  need_version=no
11463  dynamic_linker="$host_os runtime_loader"
11464  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11465  soname_spec='$libname$release$shared_ext$major'
11466  shlibpath_var=LIBRARY_PATH
11467  shlibpath_overrides_runpath=no
11468  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11469  hardcode_into_libs=yes
11470  ;;
11471
11472hpux9* | hpux10* | hpux11*)
11473  # Give a soname corresponding to the major version so that dld.sl refuses to
11474  # link against other versions.
11475  version_type=sunos
11476  need_lib_prefix=no
11477  need_version=no
11478  case $host_cpu in
11479  ia64*)
11480    shrext_cmds='.so'
11481    hardcode_into_libs=yes
11482    dynamic_linker="$host_os dld.so"
11483    shlibpath_var=LD_LIBRARY_PATH
11484    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11485    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11486    soname_spec='$libname$release$shared_ext$major'
11487    if test 32 = "$HPUX_IA64_MODE"; then
11488      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11489      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11490    else
11491      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11492      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11493    fi
11494    ;;
11495  hppa*64*)
11496    shrext_cmds='.sl'
11497    hardcode_into_libs=yes
11498    dynamic_linker="$host_os dld.sl"
11499    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11500    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11501    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11502    soname_spec='$libname$release$shared_ext$major'
11503    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11504    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11505    ;;
11506  *)
11507    shrext_cmds='.sl'
11508    dynamic_linker="$host_os dld.sl"
11509    shlibpath_var=SHLIB_PATH
11510    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11511    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11512    soname_spec='$libname$release$shared_ext$major'
11513    ;;
11514  esac
11515  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11516  postinstall_cmds='chmod 555 $lib'
11517  # or fails outright, so override atomically:
11518  install_override_mode=555
11519  ;;
11520
11521interix[3-9]*)
11522  version_type=linux # correct to gnu/linux during the next big refactor
11523  need_lib_prefix=no
11524  need_version=no
11525  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11526  soname_spec='$libname$release$shared_ext$major'
11527  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11528  shlibpath_var=LD_LIBRARY_PATH
11529  shlibpath_overrides_runpath=no
11530  hardcode_into_libs=yes
11531  ;;
11532
11533irix5* | irix6* | nonstopux*)
11534  case $host_os in
11535    nonstopux*) version_type=nonstopux ;;
11536    *)
11537	if test yes = "$lt_cv_prog_gnu_ld"; then
11538		version_type=linux # correct to gnu/linux during the next big refactor
11539	else
11540		version_type=irix
11541	fi ;;
11542  esac
11543  need_lib_prefix=no
11544  need_version=no
11545  soname_spec='$libname$release$shared_ext$major'
11546  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11547  case $host_os in
11548  irix5* | nonstopux*)
11549    libsuff= shlibsuff=
11550    ;;
11551  *)
11552    case $LD in # libtool.m4 will add one of these switches to LD
11553    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11554      libsuff= shlibsuff= libmagic=32-bit;;
11555    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11556      libsuff=32 shlibsuff=N32 libmagic=N32;;
11557    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11558      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11559    *) libsuff= shlibsuff= libmagic=never-match;;
11560    esac
11561    ;;
11562  esac
11563  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11564  shlibpath_overrides_runpath=no
11565  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11566  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11567  hardcode_into_libs=yes
11568  ;;
11569
11570# No shared lib support for Linux oldld, aout, or coff.
11571linux*oldld* | linux*aout* | linux*coff*)
11572  dynamic_linker=no
11573  ;;
11574
11575linux*android*)
11576  version_type=none # Android doesn't support versioned libraries.
11577  need_lib_prefix=no
11578  need_version=no
11579  library_names_spec='$libname$release$shared_ext'
11580  soname_spec='$libname$release$shared_ext'
11581  finish_cmds=
11582  shlibpath_var=LD_LIBRARY_PATH
11583  shlibpath_overrides_runpath=yes
11584
11585  # This implies no fast_install, which is unacceptable.
11586  # Some rework will be needed to allow for fast_install
11587  # before this can be enabled.
11588  hardcode_into_libs=yes
11589
11590  dynamic_linker='Android linker'
11591  # Don't embed -rpath directories since the linker doesn't support them.
11592  hardcode_libdir_flag_spec='-L$libdir'
11593  ;;
11594
11595# This must be glibc/ELF.
11596linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11597  version_type=linux # correct to gnu/linux during the next big refactor
11598  need_lib_prefix=no
11599  need_version=no
11600  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11601  soname_spec='$libname$release$shared_ext$major'
11602  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11603  shlibpath_var=LD_LIBRARY_PATH
11604  shlibpath_overrides_runpath=no
11605
11606  # Some binutils ld are patched to set DT_RUNPATH
11607  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11608  $as_echo_n "(cached) " >&6
11609else
11610  lt_cv_shlibpath_overrides_runpath=no
11611    save_LDFLAGS=$LDFLAGS
11612    save_libdir=$libdir
11613    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11614	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11615    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11616/* end confdefs.h.  */
11617
11618int
11619main ()
11620{
11621
11622  ;
11623  return 0;
11624}
11625_ACEOF
11626if ac_fn_c_try_link "$LINENO"; then :
11627  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11628  lt_cv_shlibpath_overrides_runpath=yes
11629fi
11630fi
11631rm -f core conftest.err conftest.$ac_objext \
11632    conftest$ac_exeext conftest.$ac_ext
11633    LDFLAGS=$save_LDFLAGS
11634    libdir=$save_libdir
11635
11636fi
11637
11638  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11639
11640  # This implies no fast_install, which is unacceptable.
11641  # Some rework will be needed to allow for fast_install
11642  # before this can be enabled.
11643  hardcode_into_libs=yes
11644
11645  # Ideally, we could use ldconfig to report *all* directores which are
11646  # searched for libraries, however this is still not possible.  Aside from not
11647  # being certain /sbin/ldconfig is available, command
11648  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11649  # even though it is searched at run-time.  Try to do the best guess by
11650  # appending ld.so.conf contents (and includes) to the search path.
11651  if test -f /etc/ld.so.conf; then
11652    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' ' '`
11653    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11654  fi
11655
11656  # We used to test for /lib/ld.so.1 and disable shared libraries on
11657  # powerpc, because MkLinux only supported shared libraries with the
11658  # GNU dynamic linker.  Since this was broken with cross compilers,
11659  # most powerpc-linux boxes support dynamic linking these days and
11660  # people can always --disable-shared, the test was removed, and we
11661  # assume the GNU/Linux dynamic linker is in use.
11662  dynamic_linker='GNU/Linux ld.so'
11663  ;;
11664
11665netbsd*)
11666  version_type=sunos
11667  need_lib_prefix=no
11668  need_version=no
11669  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11670    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11671    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11672    dynamic_linker='NetBSD (a.out) ld.so'
11673  else
11674    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11675    soname_spec='$libname$release$shared_ext$major'
11676    dynamic_linker='NetBSD ld.elf_so'
11677  fi
11678  shlibpath_var=LD_LIBRARY_PATH
11679  shlibpath_overrides_runpath=yes
11680  hardcode_into_libs=yes
11681  ;;
11682
11683newsos6)
11684  version_type=linux # correct to gnu/linux during the next big refactor
11685  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11686  shlibpath_var=LD_LIBRARY_PATH
11687  shlibpath_overrides_runpath=yes
11688  ;;
11689
11690*nto* | *qnx*)
11691  version_type=qnx
11692  need_lib_prefix=no
11693  need_version=no
11694  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11695  soname_spec='$libname$release$shared_ext$major'
11696  shlibpath_var=LD_LIBRARY_PATH
11697  shlibpath_overrides_runpath=no
11698  hardcode_into_libs=yes
11699  dynamic_linker='ldqnx.so'
11700  ;;
11701
11702openbsd* | bitrig*)
11703  version_type=sunos
11704  sys_lib_dlsearch_path_spec=/usr/lib
11705  need_lib_prefix=no
11706  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11707    need_version=no
11708  else
11709    need_version=yes
11710  fi
11711  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11712  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11713  shlibpath_var=LD_LIBRARY_PATH
11714  shlibpath_overrides_runpath=yes
11715  ;;
11716
11717os2*)
11718  libname_spec='$name'
11719  version_type=windows
11720  shrext_cmds=.dll
11721  need_version=no
11722  need_lib_prefix=no
11723  # OS/2 can only load a DLL with a base name of 8 characters or less.
11724  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11725    v=$($ECHO $release$versuffix | tr -d .-);
11726    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11727    $ECHO $n$v`$shared_ext'
11728  library_names_spec='${libname}_dll.$libext'
11729  dynamic_linker='OS/2 ld.exe'
11730  shlibpath_var=BEGINLIBPATH
11731  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11732  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11733  postinstall_cmds='base_file=`basename \$file`~
11734    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11735    dldir=$destdir/`dirname \$dlpath`~
11736    test -d \$dldir || mkdir -p \$dldir~
11737    $install_prog $dir/$dlname \$dldir/$dlname~
11738    chmod a+x \$dldir/$dlname~
11739    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11740      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11741    fi'
11742  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11743    dlpath=$dir/\$dldll~
11744    $RM \$dlpath'
11745  ;;
11746
11747osf3* | osf4* | osf5*)
11748  version_type=osf
11749  need_lib_prefix=no
11750  need_version=no
11751  soname_spec='$libname$release$shared_ext$major'
11752  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11753  shlibpath_var=LD_LIBRARY_PATH
11754  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11755  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11756  ;;
11757
11758rdos*)
11759  dynamic_linker=no
11760  ;;
11761
11762solaris*)
11763  version_type=linux # correct to gnu/linux during the next big refactor
11764  need_lib_prefix=no
11765  need_version=no
11766  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11767  soname_spec='$libname$release$shared_ext$major'
11768  shlibpath_var=LD_LIBRARY_PATH
11769  shlibpath_overrides_runpath=yes
11770  hardcode_into_libs=yes
11771  # ldd complains unless libraries are executable
11772  postinstall_cmds='chmod +x $lib'
11773  ;;
11774
11775sunos4*)
11776  version_type=sunos
11777  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11778  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11779  shlibpath_var=LD_LIBRARY_PATH
11780  shlibpath_overrides_runpath=yes
11781  if test yes = "$with_gnu_ld"; then
11782    need_lib_prefix=no
11783  fi
11784  need_version=yes
11785  ;;
11786
11787sysv4 | sysv4.3*)
11788  version_type=linux # correct to gnu/linux during the next big refactor
11789  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11790  soname_spec='$libname$release$shared_ext$major'
11791  shlibpath_var=LD_LIBRARY_PATH
11792  case $host_vendor in
11793    sni)
11794      shlibpath_overrides_runpath=no
11795      need_lib_prefix=no
11796      runpath_var=LD_RUN_PATH
11797      ;;
11798    siemens)
11799      need_lib_prefix=no
11800      ;;
11801    motorola)
11802      need_lib_prefix=no
11803      need_version=no
11804      shlibpath_overrides_runpath=no
11805      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11806      ;;
11807  esac
11808  ;;
11809
11810sysv4*MP*)
11811  if test -d /usr/nec; then
11812    version_type=linux # correct to gnu/linux during the next big refactor
11813    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11814    soname_spec='$libname$shared_ext.$major'
11815    shlibpath_var=LD_LIBRARY_PATH
11816  fi
11817  ;;
11818
11819sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11820  version_type=sco
11821  need_lib_prefix=no
11822  need_version=no
11823  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11824  soname_spec='$libname$release$shared_ext$major'
11825  shlibpath_var=LD_LIBRARY_PATH
11826  shlibpath_overrides_runpath=yes
11827  hardcode_into_libs=yes
11828  if test yes = "$with_gnu_ld"; then
11829    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11830  else
11831    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11832    case $host_os in
11833      sco3.2v5*)
11834        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11835	;;
11836    esac
11837  fi
11838  sys_lib_dlsearch_path_spec='/usr/lib'
11839  ;;
11840
11841tpf*)
11842  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11843  version_type=linux # correct to gnu/linux during the next big refactor
11844  need_lib_prefix=no
11845  need_version=no
11846  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11847  shlibpath_var=LD_LIBRARY_PATH
11848  shlibpath_overrides_runpath=no
11849  hardcode_into_libs=yes
11850  ;;
11851
11852uts4*)
11853  version_type=linux # correct to gnu/linux during the next big refactor
11854  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11855  soname_spec='$libname$release$shared_ext$major'
11856  shlibpath_var=LD_LIBRARY_PATH
11857  ;;
11858
11859*)
11860  dynamic_linker=no
11861  ;;
11862esac
11863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11864$as_echo "$dynamic_linker" >&6; }
11865test no = "$dynamic_linker" && can_build_shared=no
11866
11867variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11868if test yes = "$GCC"; then
11869  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11870fi
11871
11872if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11873  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11874fi
11875
11876if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11877  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11878fi
11879
11880# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11881configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11882
11883# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11884func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11885
11886# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11887configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11986$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11987hardcode_action=
11988if test -n "$hardcode_libdir_flag_spec" ||
11989   test -n "$runpath_var" ||
11990   test yes = "$hardcode_automatic"; then
11991
11992  # We can hardcode non-existent directories.
11993  if test no != "$hardcode_direct" &&
11994     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11995     # have to relink, otherwise we might link with an installed library
11996     # when we should be linking with a yet-to-be-installed one
11997     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11998     test no != "$hardcode_minus_L"; then
11999    # Linking always hardcodes the temporary library directory.
12000    hardcode_action=relink
12001  else
12002    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12003    hardcode_action=immediate
12004  fi
12005else
12006  # We cannot hardcode anything, or else we can only hardcode existing
12007  # directories.
12008  hardcode_action=unsupported
12009fi
12010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12011$as_echo "$hardcode_action" >&6; }
12012
12013if test relink = "$hardcode_action" ||
12014   test yes = "$inherit_rpath"; then
12015  # Fast installation is not supported
12016  enable_fast_install=no
12017elif test yes = "$shlibpath_overrides_runpath" ||
12018     test no = "$enable_shared"; then
12019  # Fast installation is not necessary
12020  enable_fast_install=needless
12021fi
12022
12023
12024
12025
12026
12027
12028  if test yes != "$enable_dlopen"; then
12029  enable_dlopen=unknown
12030  enable_dlopen_self=unknown
12031  enable_dlopen_self_static=unknown
12032else
12033  lt_cv_dlopen=no
12034  lt_cv_dlopen_libs=
12035
12036  case $host_os in
12037  beos*)
12038    lt_cv_dlopen=load_add_on
12039    lt_cv_dlopen_libs=
12040    lt_cv_dlopen_self=yes
12041    ;;
12042
12043  mingw* | pw32* | cegcc*)
12044    lt_cv_dlopen=LoadLibrary
12045    lt_cv_dlopen_libs=
12046    ;;
12047
12048  cygwin*)
12049    lt_cv_dlopen=dlopen
12050    lt_cv_dlopen_libs=
12051    ;;
12052
12053  darwin*)
12054    # if libdl is installed we need to link against it
12055    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12056$as_echo_n "checking for dlopen in -ldl... " >&6; }
12057if ${ac_cv_lib_dl_dlopen+:} false; then :
12058  $as_echo_n "(cached) " >&6
12059else
12060  ac_check_lib_save_LIBS=$LIBS
12061LIBS="-ldl  $LIBS"
12062cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12063/* end confdefs.h.  */
12064
12065/* Override any GCC internal prototype to avoid an error.
12066   Use char because int might match the return type of a GCC
12067   builtin and then its argument prototype would still apply.  */
12068#ifdef __cplusplus
12069extern "C"
12070#endif
12071char dlopen ();
12072int
12073main ()
12074{
12075return dlopen ();
12076  ;
12077  return 0;
12078}
12079_ACEOF
12080if ac_fn_c_try_link "$LINENO"; then :
12081  ac_cv_lib_dl_dlopen=yes
12082else
12083  ac_cv_lib_dl_dlopen=no
12084fi
12085rm -f core conftest.err conftest.$ac_objext \
12086    conftest$ac_exeext conftest.$ac_ext
12087LIBS=$ac_check_lib_save_LIBS
12088fi
12089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12090$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12091if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12092  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12093else
12094
12095    lt_cv_dlopen=dyld
12096    lt_cv_dlopen_libs=
12097    lt_cv_dlopen_self=yes
12098
12099fi
12100
12101    ;;
12102
12103  tpf*)
12104    # Don't try to run any link tests for TPF.  We know it's impossible
12105    # because TPF is a cross-compiler, and we know how we open DSOs.
12106    lt_cv_dlopen=dlopen
12107    lt_cv_dlopen_libs=
12108    lt_cv_dlopen_self=no
12109    ;;
12110
12111  *)
12112    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12113if test "x$ac_cv_func_shl_load" = xyes; then :
12114  lt_cv_dlopen=shl_load
12115else
12116  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12117$as_echo_n "checking for shl_load in -ldld... " >&6; }
12118if ${ac_cv_lib_dld_shl_load+:} false; then :
12119  $as_echo_n "(cached) " >&6
12120else
12121  ac_check_lib_save_LIBS=$LIBS
12122LIBS="-ldld  $LIBS"
12123cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12124/* end confdefs.h.  */
12125
12126/* Override any GCC internal prototype to avoid an error.
12127   Use char because int might match the return type of a GCC
12128   builtin and then its argument prototype would still apply.  */
12129#ifdef __cplusplus
12130extern "C"
12131#endif
12132char shl_load ();
12133int
12134main ()
12135{
12136return shl_load ();
12137  ;
12138  return 0;
12139}
12140_ACEOF
12141if ac_fn_c_try_link "$LINENO"; then :
12142  ac_cv_lib_dld_shl_load=yes
12143else
12144  ac_cv_lib_dld_shl_load=no
12145fi
12146rm -f core conftest.err conftest.$ac_objext \
12147    conftest$ac_exeext conftest.$ac_ext
12148LIBS=$ac_check_lib_save_LIBS
12149fi
12150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12151$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12152if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12153  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12154else
12155  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12156if test "x$ac_cv_func_dlopen" = xyes; then :
12157  lt_cv_dlopen=dlopen
12158else
12159  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12160$as_echo_n "checking for dlopen in -ldl... " >&6; }
12161if ${ac_cv_lib_dl_dlopen+:} false; then :
12162  $as_echo_n "(cached) " >&6
12163else
12164  ac_check_lib_save_LIBS=$LIBS
12165LIBS="-ldl  $LIBS"
12166cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12167/* end confdefs.h.  */
12168
12169/* Override any GCC internal prototype to avoid an error.
12170   Use char because int might match the return type of a GCC
12171   builtin and then its argument prototype would still apply.  */
12172#ifdef __cplusplus
12173extern "C"
12174#endif
12175char dlopen ();
12176int
12177main ()
12178{
12179return dlopen ();
12180  ;
12181  return 0;
12182}
12183_ACEOF
12184if ac_fn_c_try_link "$LINENO"; then :
12185  ac_cv_lib_dl_dlopen=yes
12186else
12187  ac_cv_lib_dl_dlopen=no
12188fi
12189rm -f core conftest.err conftest.$ac_objext \
12190    conftest$ac_exeext conftest.$ac_ext
12191LIBS=$ac_check_lib_save_LIBS
12192fi
12193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12194$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12195if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12196  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12197else
12198  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12199$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12200if ${ac_cv_lib_svld_dlopen+:} false; then :
12201  $as_echo_n "(cached) " >&6
12202else
12203  ac_check_lib_save_LIBS=$LIBS
12204LIBS="-lsvld  $LIBS"
12205cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206/* end confdefs.h.  */
12207
12208/* Override any GCC internal prototype to avoid an error.
12209   Use char because int might match the return type of a GCC
12210   builtin and then its argument prototype would still apply.  */
12211#ifdef __cplusplus
12212extern "C"
12213#endif
12214char dlopen ();
12215int
12216main ()
12217{
12218return dlopen ();
12219  ;
12220  return 0;
12221}
12222_ACEOF
12223if ac_fn_c_try_link "$LINENO"; then :
12224  ac_cv_lib_svld_dlopen=yes
12225else
12226  ac_cv_lib_svld_dlopen=no
12227fi
12228rm -f core conftest.err conftest.$ac_objext \
12229    conftest$ac_exeext conftest.$ac_ext
12230LIBS=$ac_check_lib_save_LIBS
12231fi
12232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12233$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12234if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12235  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12236else
12237  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12238$as_echo_n "checking for dld_link in -ldld... " >&6; }
12239if ${ac_cv_lib_dld_dld_link+:} false; then :
12240  $as_echo_n "(cached) " >&6
12241else
12242  ac_check_lib_save_LIBS=$LIBS
12243LIBS="-ldld  $LIBS"
12244cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12245/* end confdefs.h.  */
12246
12247/* Override any GCC internal prototype to avoid an error.
12248   Use char because int might match the return type of a GCC
12249   builtin and then its argument prototype would still apply.  */
12250#ifdef __cplusplus
12251extern "C"
12252#endif
12253char dld_link ();
12254int
12255main ()
12256{
12257return dld_link ();
12258  ;
12259  return 0;
12260}
12261_ACEOF
12262if ac_fn_c_try_link "$LINENO"; then :
12263  ac_cv_lib_dld_dld_link=yes
12264else
12265  ac_cv_lib_dld_dld_link=no
12266fi
12267rm -f core conftest.err conftest.$ac_objext \
12268    conftest$ac_exeext conftest.$ac_ext
12269LIBS=$ac_check_lib_save_LIBS
12270fi
12271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12272$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12273if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12274  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12275fi
12276
12277
12278fi
12279
12280
12281fi
12282
12283
12284fi
12285
12286
12287fi
12288
12289
12290fi
12291
12292    ;;
12293  esac
12294
12295  if test no = "$lt_cv_dlopen"; then
12296    enable_dlopen=no
12297  else
12298    enable_dlopen=yes
12299  fi
12300
12301  case $lt_cv_dlopen in
12302  dlopen)
12303    save_CPPFLAGS=$CPPFLAGS
12304    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12305
12306    save_LDFLAGS=$LDFLAGS
12307    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12308
12309    save_LIBS=$LIBS
12310    LIBS="$lt_cv_dlopen_libs $LIBS"
12311
12312    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12313$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12314if ${lt_cv_dlopen_self+:} false; then :
12315  $as_echo_n "(cached) " >&6
12316else
12317  	  if test yes = "$cross_compiling"; then :
12318  lt_cv_dlopen_self=cross
12319else
12320  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12321  lt_status=$lt_dlunknown
12322  cat > conftest.$ac_ext <<_LT_EOF
12323#line $LINENO "configure"
12324#include "confdefs.h"
12325
12326#if HAVE_DLFCN_H
12327#include <dlfcn.h>
12328#endif
12329
12330#include <stdio.h>
12331
12332#ifdef RTLD_GLOBAL
12333#  define LT_DLGLOBAL		RTLD_GLOBAL
12334#else
12335#  ifdef DL_GLOBAL
12336#    define LT_DLGLOBAL		DL_GLOBAL
12337#  else
12338#    define LT_DLGLOBAL		0
12339#  endif
12340#endif
12341
12342/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12343   find out it does not work in some platform. */
12344#ifndef LT_DLLAZY_OR_NOW
12345#  ifdef RTLD_LAZY
12346#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12347#  else
12348#    ifdef DL_LAZY
12349#      define LT_DLLAZY_OR_NOW		DL_LAZY
12350#    else
12351#      ifdef RTLD_NOW
12352#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12353#      else
12354#        ifdef DL_NOW
12355#          define LT_DLLAZY_OR_NOW	DL_NOW
12356#        else
12357#          define LT_DLLAZY_OR_NOW	0
12358#        endif
12359#      endif
12360#    endif
12361#  endif
12362#endif
12363
12364/* When -fvisibility=hidden is used, assume the code has been annotated
12365   correspondingly for the symbols needed.  */
12366#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12367int fnord () __attribute__((visibility("default")));
12368#endif
12369
12370int fnord () { return 42; }
12371int main ()
12372{
12373  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12374  int status = $lt_dlunknown;
12375
12376  if (self)
12377    {
12378      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12379      else
12380        {
12381	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12382          else puts (dlerror ());
12383	}
12384      /* dlclose (self); */
12385    }
12386  else
12387    puts (dlerror ());
12388
12389  return status;
12390}
12391_LT_EOF
12392  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12393  (eval $ac_link) 2>&5
12394  ac_status=$?
12395  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12396  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12397    (./conftest; exit; ) >&5 2>/dev/null
12398    lt_status=$?
12399    case x$lt_status in
12400      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12401      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12402      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12403    esac
12404  else :
12405    # compilation failed
12406    lt_cv_dlopen_self=no
12407  fi
12408fi
12409rm -fr conftest*
12410
12411
12412fi
12413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12414$as_echo "$lt_cv_dlopen_self" >&6; }
12415
12416    if test yes = "$lt_cv_dlopen_self"; then
12417      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12418      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12419$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12420if ${lt_cv_dlopen_self_static+:} false; then :
12421  $as_echo_n "(cached) " >&6
12422else
12423  	  if test yes = "$cross_compiling"; then :
12424  lt_cv_dlopen_self_static=cross
12425else
12426  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12427  lt_status=$lt_dlunknown
12428  cat > conftest.$ac_ext <<_LT_EOF
12429#line $LINENO "configure"
12430#include "confdefs.h"
12431
12432#if HAVE_DLFCN_H
12433#include <dlfcn.h>
12434#endif
12435
12436#include <stdio.h>
12437
12438#ifdef RTLD_GLOBAL
12439#  define LT_DLGLOBAL		RTLD_GLOBAL
12440#else
12441#  ifdef DL_GLOBAL
12442#    define LT_DLGLOBAL		DL_GLOBAL
12443#  else
12444#    define LT_DLGLOBAL		0
12445#  endif
12446#endif
12447
12448/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12449   find out it does not work in some platform. */
12450#ifndef LT_DLLAZY_OR_NOW
12451#  ifdef RTLD_LAZY
12452#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12453#  else
12454#    ifdef DL_LAZY
12455#      define LT_DLLAZY_OR_NOW		DL_LAZY
12456#    else
12457#      ifdef RTLD_NOW
12458#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12459#      else
12460#        ifdef DL_NOW
12461#          define LT_DLLAZY_OR_NOW	DL_NOW
12462#        else
12463#          define LT_DLLAZY_OR_NOW	0
12464#        endif
12465#      endif
12466#    endif
12467#  endif
12468#endif
12469
12470/* When -fvisibility=hidden is used, assume the code has been annotated
12471   correspondingly for the symbols needed.  */
12472#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12473int fnord () __attribute__((visibility("default")));
12474#endif
12475
12476int fnord () { return 42; }
12477int main ()
12478{
12479  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12480  int status = $lt_dlunknown;
12481
12482  if (self)
12483    {
12484      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12485      else
12486        {
12487	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12488          else puts (dlerror ());
12489	}
12490      /* dlclose (self); */
12491    }
12492  else
12493    puts (dlerror ());
12494
12495  return status;
12496}
12497_LT_EOF
12498  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12499  (eval $ac_link) 2>&5
12500  ac_status=$?
12501  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12502  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12503    (./conftest; exit; ) >&5 2>/dev/null
12504    lt_status=$?
12505    case x$lt_status in
12506      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12507      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12508      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12509    esac
12510  else :
12511    # compilation failed
12512    lt_cv_dlopen_self_static=no
12513  fi
12514fi
12515rm -fr conftest*
12516
12517
12518fi
12519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12520$as_echo "$lt_cv_dlopen_self_static" >&6; }
12521    fi
12522
12523    CPPFLAGS=$save_CPPFLAGS
12524    LDFLAGS=$save_LDFLAGS
12525    LIBS=$save_LIBS
12526    ;;
12527  esac
12528
12529  case $lt_cv_dlopen_self in
12530  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12531  *) enable_dlopen_self=unknown ;;
12532  esac
12533
12534  case $lt_cv_dlopen_self_static in
12535  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12536  *) enable_dlopen_self_static=unknown ;;
12537  esac
12538fi
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556striplib=
12557old_striplib=
12558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12559$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12560if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12561  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12562  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12564$as_echo "yes" >&6; }
12565else
12566# FIXME - insert some real tests, host_os isn't really good enough
12567  case $host_os in
12568  darwin*)
12569    if test -n "$STRIP"; then
12570      striplib="$STRIP -x"
12571      old_striplib="$STRIP -S"
12572      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12573$as_echo "yes" >&6; }
12574    else
12575      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12576$as_echo "no" >&6; }
12577    fi
12578    ;;
12579  *)
12580    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12581$as_echo "no" >&6; }
12582    ;;
12583  esac
12584fi
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597  # Report what library types will actually be built
12598  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12599$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12601$as_echo "$can_build_shared" >&6; }
12602
12603  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12604$as_echo_n "checking whether to build shared libraries... " >&6; }
12605  test no = "$can_build_shared" && enable_shared=no
12606
12607  # On AIX, shared libraries and static libraries use the same namespace, and
12608  # are all built from PIC.
12609  case $host_os in
12610  aix3*)
12611    test yes = "$enable_shared" && enable_static=no
12612    if test -n "$RANLIB"; then
12613      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12614      postinstall_cmds='$RANLIB $lib'
12615    fi
12616    ;;
12617
12618  aix[4-9]*)
12619    if test ia64 != "$host_cpu"; then
12620      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12621      yes,aix,yes) ;;			# shared object as lib.so file only
12622      yes,svr4,*) ;;			# shared object as lib.so archive member only
12623      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12624      esac
12625    fi
12626    ;;
12627  esac
12628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12629$as_echo "$enable_shared" >&6; }
12630
12631  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12632$as_echo_n "checking whether to build static libraries... " >&6; }
12633  # Make sure either enable_shared or enable_static is yes.
12634  test yes = "$enable_shared" || enable_static=yes
12635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12636$as_echo "$enable_static" >&6; }
12637
12638
12639
12640
12641fi
12642ac_ext=c
12643ac_cpp='$CPP $CPPFLAGS'
12644ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12645ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12646ac_compiler_gnu=$ac_cv_c_compiler_gnu
12647
12648CC=$lt_save_CC
12649
12650      if test -n "$CXX" && ( test no != "$CXX" &&
12651    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
12652    (test g++ != "$CXX"))); then
12653  ac_ext=cpp
12654ac_cpp='$CXXCPP $CPPFLAGS'
12655ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12656ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12657ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12659$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12660if test -z "$CXXCPP"; then
12661  if ${ac_cv_prog_CXXCPP+:} false; then :
12662  $as_echo_n "(cached) " >&6
12663else
12664      # Double quotes because CXXCPP needs to be expanded
12665    for CXXCPP in "$CXX -E" "/lib/cpp"
12666    do
12667      ac_preproc_ok=false
12668for ac_cxx_preproc_warn_flag in '' yes
12669do
12670  # Use a header file that comes with gcc, so configuring glibc
12671  # with a fresh cross-compiler works.
12672  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12673  # <limits.h> exists even on freestanding compilers.
12674  # On the NeXT, cc -E runs the code through the compiler's parser,
12675  # not just through cpp. "Syntax error" is here to catch this case.
12676  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12677/* end confdefs.h.  */
12678#ifdef __STDC__
12679# include <limits.h>
12680#else
12681# include <assert.h>
12682#endif
12683		     Syntax error
12684_ACEOF
12685if ac_fn_cxx_try_cpp "$LINENO"; then :
12686
12687else
12688  # Broken: fails on valid input.
12689continue
12690fi
12691rm -f conftest.err conftest.i conftest.$ac_ext
12692
12693  # OK, works on sane cases.  Now check whether nonexistent headers
12694  # can be detected and how.
12695  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12696/* end confdefs.h.  */
12697#include <ac_nonexistent.h>
12698_ACEOF
12699if ac_fn_cxx_try_cpp "$LINENO"; then :
12700  # Broken: success on invalid input.
12701continue
12702else
12703  # Passes both tests.
12704ac_preproc_ok=:
12705break
12706fi
12707rm -f conftest.err conftest.i conftest.$ac_ext
12708
12709done
12710# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12711rm -f conftest.i conftest.err conftest.$ac_ext
12712if $ac_preproc_ok; then :
12713  break
12714fi
12715
12716    done
12717    ac_cv_prog_CXXCPP=$CXXCPP
12718
12719fi
12720  CXXCPP=$ac_cv_prog_CXXCPP
12721else
12722  ac_cv_prog_CXXCPP=$CXXCPP
12723fi
12724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12725$as_echo "$CXXCPP" >&6; }
12726ac_preproc_ok=false
12727for ac_cxx_preproc_warn_flag in '' yes
12728do
12729  # Use a header file that comes with gcc, so configuring glibc
12730  # with a fresh cross-compiler works.
12731  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12732  # <limits.h> exists even on freestanding compilers.
12733  # On the NeXT, cc -E runs the code through the compiler's parser,
12734  # not just through cpp. "Syntax error" is here to catch this case.
12735  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12736/* end confdefs.h.  */
12737#ifdef __STDC__
12738# include <limits.h>
12739#else
12740# include <assert.h>
12741#endif
12742		     Syntax error
12743_ACEOF
12744if ac_fn_cxx_try_cpp "$LINENO"; then :
12745
12746else
12747  # Broken: fails on valid input.
12748continue
12749fi
12750rm -f conftest.err conftest.i conftest.$ac_ext
12751
12752  # OK, works on sane cases.  Now check whether nonexistent headers
12753  # can be detected and how.
12754  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12755/* end confdefs.h.  */
12756#include <ac_nonexistent.h>
12757_ACEOF
12758if ac_fn_cxx_try_cpp "$LINENO"; then :
12759  # Broken: success on invalid input.
12760continue
12761else
12762  # Passes both tests.
12763ac_preproc_ok=:
12764break
12765fi
12766rm -f conftest.err conftest.i conftest.$ac_ext
12767
12768done
12769# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12770rm -f conftest.i conftest.err conftest.$ac_ext
12771if $ac_preproc_ok; then :
12772
12773else
12774  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12775$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12776as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12777See \`config.log' for more details" "$LINENO" 5; }
12778fi
12779
12780ac_ext=c
12781ac_cpp='$CPP $CPPFLAGS'
12782ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12783ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12784ac_compiler_gnu=$ac_cv_c_compiler_gnu
12785
12786else
12787  _lt_caught_CXX_error=yes
12788fi
12789
12790ac_ext=cpp
12791ac_cpp='$CXXCPP $CPPFLAGS'
12792ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12793ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12794ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12795
12796archive_cmds_need_lc_CXX=no
12797allow_undefined_flag_CXX=
12798always_export_symbols_CXX=no
12799archive_expsym_cmds_CXX=
12800compiler_needs_object_CXX=no
12801export_dynamic_flag_spec_CXX=
12802hardcode_direct_CXX=no
12803hardcode_direct_absolute_CXX=no
12804hardcode_libdir_flag_spec_CXX=
12805hardcode_libdir_separator_CXX=
12806hardcode_minus_L_CXX=no
12807hardcode_shlibpath_var_CXX=unsupported
12808hardcode_automatic_CXX=no
12809inherit_rpath_CXX=no
12810module_cmds_CXX=
12811module_expsym_cmds_CXX=
12812link_all_deplibs_CXX=unknown
12813old_archive_cmds_CXX=$old_archive_cmds
12814reload_flag_CXX=$reload_flag
12815reload_cmds_CXX=$reload_cmds
12816no_undefined_flag_CXX=
12817whole_archive_flag_spec_CXX=
12818enable_shared_with_static_runtimes_CXX=no
12819
12820# Source file extension for C++ test sources.
12821ac_ext=cpp
12822
12823# Object file extension for compiled C++ test sources.
12824objext=o
12825objext_CXX=$objext
12826
12827# No sense in running all these tests if we already determined that
12828# the CXX compiler isn't working.  Some variables (like enable_shared)
12829# are currently assumed to apply to all compilers on this platform,
12830# and will be corrupted by setting them based on a non-working compiler.
12831if test yes != "$_lt_caught_CXX_error"; then
12832  # Code to be used in simple compile tests
12833  lt_simple_compile_test_code="int some_variable = 0;"
12834
12835  # Code to be used in simple link tests
12836  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12837
12838  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12839
12840
12841
12842
12843
12844
12845# If no C compiler was specified, use CC.
12846LTCC=${LTCC-"$CC"}
12847
12848# If no C compiler flags were specified, use CFLAGS.
12849LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12850
12851# Allow CC to be a program name with arguments.
12852compiler=$CC
12853
12854
12855  # save warnings/boilerplate of simple test code
12856  ac_outfile=conftest.$ac_objext
12857echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12858eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12859_lt_compiler_boilerplate=`cat conftest.err`
12860$RM conftest*
12861
12862  ac_outfile=conftest.$ac_objext
12863echo "$lt_simple_link_test_code" >conftest.$ac_ext
12864eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12865_lt_linker_boilerplate=`cat conftest.err`
12866$RM -r conftest*
12867
12868
12869  # Allow CC to be a program name with arguments.
12870  lt_save_CC=$CC
12871  lt_save_CFLAGS=$CFLAGS
12872  lt_save_LD=$LD
12873  lt_save_GCC=$GCC
12874  GCC=$GXX
12875  lt_save_with_gnu_ld=$with_gnu_ld
12876  lt_save_path_LD=$lt_cv_path_LD
12877  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12878    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12879  else
12880    $as_unset lt_cv_prog_gnu_ld
12881  fi
12882  if test -n "${lt_cv_path_LDCXX+set}"; then
12883    lt_cv_path_LD=$lt_cv_path_LDCXX
12884  else
12885    $as_unset lt_cv_path_LD
12886  fi
12887  test -z "${LDCXX+set}" || LD=$LDCXX
12888  CC=${CXX-"c++"}
12889  CFLAGS=$CXXFLAGS
12890  compiler=$CC
12891  compiler_CXX=$CC
12892  func_cc_basename $compiler
12893cc_basename=$func_cc_basename_result
12894
12895
12896  if test -n "$compiler"; then
12897    # We don't want -fno-exception when compiling C++ code, so set the
12898    # no_builtin_flag separately
12899    if test yes = "$GXX"; then
12900      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12901    else
12902      lt_prog_compiler_no_builtin_flag_CXX=
12903    fi
12904
12905    if test yes = "$GXX"; then
12906      # Set up default GNU C++ configuration
12907
12908
12909
12910# Check whether --with-gnu-ld was given.
12911if test "${with_gnu_ld+set}" = set; then :
12912  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
12913else
12914  with_gnu_ld=no
12915fi
12916
12917ac_prog=ld
12918if test yes = "$GCC"; then
12919  # Check if gcc -print-prog-name=ld gives a path.
12920  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12921$as_echo_n "checking for ld used by $CC... " >&6; }
12922  case $host in
12923  *-*-mingw*)
12924    # gcc leaves a trailing carriage return, which upsets mingw
12925    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12926  *)
12927    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12928  esac
12929  case $ac_prog in
12930    # Accept absolute paths.
12931    [\\/]* | ?:[\\/]*)
12932      re_direlt='/[^/][^/]*/\.\./'
12933      # Canonicalize the pathname of ld
12934      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12935      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12936	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12937      done
12938      test -z "$LD" && LD=$ac_prog
12939      ;;
12940  "")
12941    # If it fails, then pretend we aren't using GCC.
12942    ac_prog=ld
12943    ;;
12944  *)
12945    # If it is relative, then search for the first ld in PATH.
12946    with_gnu_ld=unknown
12947    ;;
12948  esac
12949elif test yes = "$with_gnu_ld"; then
12950  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12951$as_echo_n "checking for GNU ld... " >&6; }
12952else
12953  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12954$as_echo_n "checking for non-GNU ld... " >&6; }
12955fi
12956if ${lt_cv_path_LD+:} false; then :
12957  $as_echo_n "(cached) " >&6
12958else
12959  if test -z "$LD"; then
12960  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
12961  for ac_dir in $PATH; do
12962    IFS=$lt_save_ifs
12963    test -z "$ac_dir" && ac_dir=.
12964    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12965      lt_cv_path_LD=$ac_dir/$ac_prog
12966      # Check to see if the program is GNU ld.  I'd rather use --version,
12967      # but apparently some variants of GNU ld only accept -v.
12968      # Break only if it was the GNU/non-GNU ld that we prefer.
12969      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12970      *GNU* | *'with BFD'*)
12971	test no != "$with_gnu_ld" && break
12972	;;
12973      *)
12974	test yes != "$with_gnu_ld" && break
12975	;;
12976      esac
12977    fi
12978  done
12979  IFS=$lt_save_ifs
12980else
12981  lt_cv_path_LD=$LD # Let the user override the test with a path.
12982fi
12983fi
12984
12985LD=$lt_cv_path_LD
12986if test -n "$LD"; then
12987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12988$as_echo "$LD" >&6; }
12989else
12990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12991$as_echo "no" >&6; }
12992fi
12993test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12995$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12996if ${lt_cv_prog_gnu_ld+:} false; then :
12997  $as_echo_n "(cached) " >&6
12998else
12999  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13000case `$LD -v 2>&1 </dev/null` in
13001*GNU* | *'with BFD'*)
13002  lt_cv_prog_gnu_ld=yes
13003  ;;
13004*)
13005  lt_cv_prog_gnu_ld=no
13006  ;;
13007esac
13008fi
13009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13010$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13011with_gnu_ld=$lt_cv_prog_gnu_ld
13012
13013
13014
13015
13016
13017
13018
13019      # Check if GNU C++ uses GNU ld as the underlying linker, since the
13020      # archiving commands below assume that GNU ld is being used.
13021      if test yes = "$with_gnu_ld"; then
13022        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13023        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
13024
13025        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13026        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13027
13028        # If archive_cmds runs LD, not CC, wlarc should be empty
13029        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13030        #     investigate it a little bit more. (MM)
13031        wlarc='$wl'
13032
13033        # ancient GNU ld didn't support --whole-archive et. al.
13034        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13035	  $GREP 'no-whole-archive' > /dev/null; then
13036          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13037        else
13038          whole_archive_flag_spec_CXX=
13039        fi
13040      else
13041        with_gnu_ld=no
13042        wlarc=
13043
13044        # A generic and very simple default shared library creation
13045        # command for GNU C++ for the case where it uses the native
13046        # linker, instead of GNU ld.  If possible, this setting should
13047        # overridden to take advantage of the native linker features on
13048        # the platform it is being used on.
13049        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13050      fi
13051
13052      # Commands to make compiler produce verbose output that lists
13053      # what "hidden" libraries, object files and flags are used when
13054      # linking a shared library.
13055      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13056
13057    else
13058      GXX=no
13059      with_gnu_ld=no
13060      wlarc=
13061    fi
13062
13063    # PORTME: fill in a description of your system's C++ link characteristics
13064    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13065$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13066    ld_shlibs_CXX=yes
13067    case $host_os in
13068      aix3*)
13069        # FIXME: insert proper C++ library support
13070        ld_shlibs_CXX=no
13071        ;;
13072      aix[4-9]*)
13073        if test ia64 = "$host_cpu"; then
13074          # On IA64, the linker does run time linking by default, so we don't
13075          # have to do anything special.
13076          aix_use_runtimelinking=no
13077          exp_sym_flag='-Bexport'
13078          no_entry_flag=
13079        else
13080          aix_use_runtimelinking=no
13081
13082          # Test if we are trying to use run time linking or normal
13083          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13084          # have runtime linking enabled, and use it for executables.
13085          # For shared libraries, we enable/disable runtime linking
13086          # depending on the kind of the shared library created -
13087          # when "with_aix_soname,aix_use_runtimelinking" is:
13088          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
13089          # "aix,yes"  lib.so          shared, rtl:yes, for executables
13090          #            lib.a           static archive
13091          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
13092          #            lib.a(lib.so.V) shared, rtl:no,  for executables
13093          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13094          #            lib.a(lib.so.V) shared, rtl:no
13095          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
13096          #            lib.a           static archive
13097          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13098	    for ld_flag in $LDFLAGS; do
13099	      case $ld_flag in
13100	      *-brtl*)
13101	        aix_use_runtimelinking=yes
13102	        break
13103	        ;;
13104	      esac
13105	    done
13106	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13107	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
13108	      # so we don't have lib.a shared libs to link our executables.
13109	      # We have to force runtime linking in this case.
13110	      aix_use_runtimelinking=yes
13111	      LDFLAGS="$LDFLAGS -Wl,-brtl"
13112	    fi
13113	    ;;
13114          esac
13115
13116          exp_sym_flag='-bexport'
13117          no_entry_flag='-bnoentry'
13118        fi
13119
13120        # When large executables or shared objects are built, AIX ld can
13121        # have problems creating the table of contents.  If linking a library
13122        # or program results in "error TOC overflow" add -mminimal-toc to
13123        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13124        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13125
13126        archive_cmds_CXX=''
13127        hardcode_direct_CXX=yes
13128        hardcode_direct_absolute_CXX=yes
13129        hardcode_libdir_separator_CXX=':'
13130        link_all_deplibs_CXX=yes
13131        file_list_spec_CXX='$wl-f,'
13132        case $with_aix_soname,$aix_use_runtimelinking in
13133        aix,*) ;;	# no import file
13134        svr4,* | *,yes) # use import file
13135          # The Import File defines what to hardcode.
13136          hardcode_direct_CXX=no
13137          hardcode_direct_absolute_CXX=no
13138          ;;
13139        esac
13140
13141        if test yes = "$GXX"; then
13142          case $host_os in aix4.[012]|aix4.[012].*)
13143          # We only want to do this on AIX 4.2 and lower, the check
13144          # below for broken collect2 doesn't work under 4.3+
13145	  collect2name=`$CC -print-prog-name=collect2`
13146	  if test -f "$collect2name" &&
13147	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13148	  then
13149	    # We have reworked collect2
13150	    :
13151	  else
13152	    # We have old collect2
13153	    hardcode_direct_CXX=unsupported
13154	    # It fails to find uninstalled libraries when the uninstalled
13155	    # path is not listed in the libpath.  Setting hardcode_minus_L
13156	    # to unsupported forces relinking
13157	    hardcode_minus_L_CXX=yes
13158	    hardcode_libdir_flag_spec_CXX='-L$libdir'
13159	    hardcode_libdir_separator_CXX=
13160	  fi
13161          esac
13162          shared_flag='-shared'
13163	  if test yes = "$aix_use_runtimelinking"; then
13164	    shared_flag=$shared_flag' $wl-G'
13165	  fi
13166	  # Need to ensure runtime linking is disabled for the traditional
13167	  # shared library, or the linker may eventually find shared libraries
13168	  # /with/ Import File - we do not want to mix them.
13169	  shared_flag_aix='-shared'
13170	  shared_flag_svr4='-shared $wl-G'
13171        else
13172          # not using gcc
13173          if test ia64 = "$host_cpu"; then
13174	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13175	  # chokes on -Wl,-G. The following line is correct:
13176	  shared_flag='-G'
13177          else
13178	    if test yes = "$aix_use_runtimelinking"; then
13179	      shared_flag='$wl-G'
13180	    else
13181	      shared_flag='$wl-bM:SRE'
13182	    fi
13183	    shared_flag_aix='$wl-bM:SRE'
13184	    shared_flag_svr4='$wl-G'
13185          fi
13186        fi
13187
13188        export_dynamic_flag_spec_CXX='$wl-bexpall'
13189        # It seems that -bexpall does not export symbols beginning with
13190        # underscore (_), so it is better to generate a list of symbols to
13191	# export.
13192        always_export_symbols_CXX=yes
13193	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13194          # Warning - without using the other runtime loading flags (-brtl),
13195          # -berok will link without error, but may produce a broken library.
13196          # The "-G" linker flag allows undefined symbols.
13197          no_undefined_flag_CXX='-bernotok'
13198          # Determine the default libpath from the value encoded in an empty
13199          # executable.
13200          if test set = "${lt_cv_aix_libpath+set}"; then
13201  aix_libpath=$lt_cv_aix_libpath
13202else
13203  if ${lt_cv_aix_libpath__CXX+:} false; then :
13204  $as_echo_n "(cached) " >&6
13205else
13206  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13207/* end confdefs.h.  */
13208
13209int
13210main ()
13211{
13212
13213  ;
13214  return 0;
13215}
13216_ACEOF
13217if ac_fn_cxx_try_link "$LINENO"; then :
13218
13219  lt_aix_libpath_sed='
13220      /Import File Strings/,/^$/ {
13221	  /^0/ {
13222	      s/^0  *\([^ ]*\) *$/\1/
13223	      p
13224	  }
13225      }'
13226  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13227  # Check for a 64-bit object if we didn't find anything.
13228  if test -z "$lt_cv_aix_libpath__CXX"; then
13229    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13230  fi
13231fi
13232rm -f core conftest.err conftest.$ac_objext \
13233    conftest$ac_exeext conftest.$ac_ext
13234  if test -z "$lt_cv_aix_libpath__CXX"; then
13235    lt_cv_aix_libpath__CXX=/usr/lib:/lib
13236  fi
13237
13238fi
13239
13240  aix_libpath=$lt_cv_aix_libpath__CXX
13241fi
13242
13243          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13244
13245          archive_expsym_cmds_CXX='$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
13246        else
13247          if test ia64 = "$host_cpu"; then
13248	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
13249	    allow_undefined_flag_CXX="-z nodefs"
13250	    archive_expsym_cmds_CXX="\$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"
13251          else
13252	    # Determine the default libpath from the value encoded in an
13253	    # empty executable.
13254	    if test set = "${lt_cv_aix_libpath+set}"; then
13255  aix_libpath=$lt_cv_aix_libpath
13256else
13257  if ${lt_cv_aix_libpath__CXX+:} false; then :
13258  $as_echo_n "(cached) " >&6
13259else
13260  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13261/* end confdefs.h.  */
13262
13263int
13264main ()
13265{
13266
13267  ;
13268  return 0;
13269}
13270_ACEOF
13271if ac_fn_cxx_try_link "$LINENO"; then :
13272
13273  lt_aix_libpath_sed='
13274      /Import File Strings/,/^$/ {
13275	  /^0/ {
13276	      s/^0  *\([^ ]*\) *$/\1/
13277	      p
13278	  }
13279      }'
13280  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13281  # Check for a 64-bit object if we didn't find anything.
13282  if test -z "$lt_cv_aix_libpath__CXX"; then
13283    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13284  fi
13285fi
13286rm -f core conftest.err conftest.$ac_objext \
13287    conftest$ac_exeext conftest.$ac_ext
13288  if test -z "$lt_cv_aix_libpath__CXX"; then
13289    lt_cv_aix_libpath__CXX=/usr/lib:/lib
13290  fi
13291
13292fi
13293
13294  aix_libpath=$lt_cv_aix_libpath__CXX
13295fi
13296
13297	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13298	    # Warning - without using the other run time loading flags,
13299	    # -berok will link without error, but may produce a broken library.
13300	    no_undefined_flag_CXX=' $wl-bernotok'
13301	    allow_undefined_flag_CXX=' $wl-berok'
13302	    if test yes = "$with_gnu_ld"; then
13303	      # We only use this code for GNU lds that support --whole-archive.
13304	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
13305	    else
13306	      # Exported symbols can be pulled into shared objects from archives
13307	      whole_archive_flag_spec_CXX='$convenience'
13308	    fi
13309	    archive_cmds_need_lc_CXX=yes
13310	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13311	    # -brtl affects multiple linker settings, -berok does not and is overridden later
13312	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13313	    if test svr4 != "$with_aix_soname"; then
13314	      # This is similar to how AIX traditionally builds its shared
13315	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13316	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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'
13317	    fi
13318	    if test aix != "$with_aix_soname"; then
13319	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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'
13320	    else
13321	      # used by -dlpreopen to get the symbols
13322	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
13323	    fi
13324	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13325          fi
13326        fi
13327        ;;
13328
13329      beos*)
13330	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13331	  allow_undefined_flag_CXX=unsupported
13332	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13333	  # support --undefined.  This deserves some investigation.  FIXME
13334	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13335	else
13336	  ld_shlibs_CXX=no
13337	fi
13338	;;
13339
13340      chorus*)
13341        case $cc_basename in
13342          *)
13343	  # FIXME: insert proper C++ library support
13344	  ld_shlibs_CXX=no
13345	  ;;
13346        esac
13347        ;;
13348
13349      cygwin* | mingw* | pw32* | cegcc*)
13350	case $GXX,$cc_basename in
13351	,cl* | no,cl*)
13352	  # Native MSVC
13353	  # hardcode_libdir_flag_spec is actually meaningless, as there is
13354	  # no search path for DLLs.
13355	  hardcode_libdir_flag_spec_CXX=' '
13356	  allow_undefined_flag_CXX=unsupported
13357	  always_export_symbols_CXX=yes
13358	  file_list_spec_CXX='@'
13359	  # Tell ltmain to make .lib files, not .a files.
13360	  libext=lib
13361	  # Tell ltmain to make .dll files, not .so files.
13362	  shrext_cmds=.dll
13363	  # FIXME: Setting linknames here is a bad hack.
13364	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13365	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
13366              cp "$export_symbols" "$output_objdir/$soname.def";
13367              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13368            else
13369              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13370            fi~
13371            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13372            linknames='
13373	  # The linker will not automatically build a static lib if we build a DLL.
13374	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13375	  enable_shared_with_static_runtimes_CXX=yes
13376	  # Don't use ranlib
13377	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
13378	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13379            lt_tool_outputfile="@TOOL_OUTPUT@"~
13380            case $lt_outputfile in
13381              *.exe|*.EXE) ;;
13382              *)
13383                lt_outputfile=$lt_outputfile.exe
13384                lt_tool_outputfile=$lt_tool_outputfile.exe
13385                ;;
13386            esac~
13387            func_to_tool_file "$lt_outputfile"~
13388            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13389              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13390              $RM "$lt_outputfile.manifest";
13391            fi'
13392	  ;;
13393	*)
13394	  # g++
13395	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13396	  # as there is no search path for DLLs.
13397	  hardcode_libdir_flag_spec_CXX='-L$libdir'
13398	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
13399	  allow_undefined_flag_CXX=unsupported
13400	  always_export_symbols_CXX=no
13401	  enable_shared_with_static_runtimes_CXX=yes
13402
13403	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13404	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13405	    # If the export-symbols file already is a .def file, use it as
13406	    # is; otherwise, prepend EXPORTS...
13407	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
13408              cp $export_symbols $output_objdir/$soname.def;
13409            else
13410              echo EXPORTS > $output_objdir/$soname.def;
13411              cat $export_symbols >> $output_objdir/$soname.def;
13412            fi~
13413            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13414	  else
13415	    ld_shlibs_CXX=no
13416	  fi
13417	  ;;
13418	esac
13419	;;
13420      darwin* | rhapsody*)
13421
13422
13423  archive_cmds_need_lc_CXX=no
13424  hardcode_direct_CXX=no
13425  hardcode_automatic_CXX=yes
13426  hardcode_shlibpath_var_CXX=unsupported
13427  if test yes = "$lt_cv_ld_force_load"; then
13428    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13429
13430  else
13431    whole_archive_flag_spec_CXX=''
13432  fi
13433  link_all_deplibs_CXX=yes
13434  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
13435  case $cc_basename in
13436     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
13437     *) _lt_dar_can_shared=$GCC ;;
13438  esac
13439  if test yes = "$_lt_dar_can_shared"; then
13440    output_verbose_link_cmd=func_echo_all
13441    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
13442    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13443    archive_expsym_cmds_CXX="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"
13444    module_expsym_cmds_CXX="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"
13445       if test yes != "$lt_cv_apple_cc_single_mod"; then
13446      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
13447      archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
13448    fi
13449
13450  else
13451  ld_shlibs_CXX=no
13452  fi
13453
13454	;;
13455
13456      os2*)
13457	hardcode_libdir_flag_spec_CXX='-L$libdir'
13458	hardcode_minus_L_CXX=yes
13459	allow_undefined_flag_CXX=unsupported
13460	shrext_cmds=.dll
13461	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13462	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13463	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13464	  $ECHO EXPORTS >> $output_objdir/$libname.def~
13465	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13466	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13467	  emximp -o $lib $output_objdir/$libname.def'
13468	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13469	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13470	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13471	  $ECHO EXPORTS >> $output_objdir/$libname.def~
13472	  prefix_cmds="$SED"~
13473	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
13474	    prefix_cmds="$prefix_cmds -e 1d";
13475	  fi~
13476	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13477	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13478	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13479	  emximp -o $lib $output_objdir/$libname.def'
13480	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13481	enable_shared_with_static_runtimes_CXX=yes
13482	;;
13483
13484      dgux*)
13485        case $cc_basename in
13486          ec++*)
13487	    # FIXME: insert proper C++ library support
13488	    ld_shlibs_CXX=no
13489	    ;;
13490          ghcx*)
13491	    # Green Hills C++ Compiler
13492	    # FIXME: insert proper C++ library support
13493	    ld_shlibs_CXX=no
13494	    ;;
13495          *)
13496	    # FIXME: insert proper C++ library support
13497	    ld_shlibs_CXX=no
13498	    ;;
13499        esac
13500        ;;
13501
13502      freebsd2.*)
13503        # C++ shared libraries reported to be fairly broken before
13504	# switch to ELF
13505        ld_shlibs_CXX=no
13506        ;;
13507
13508      freebsd-elf*)
13509        archive_cmds_need_lc_CXX=no
13510        ;;
13511
13512      freebsd* | dragonfly*)
13513        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13514        # conventions
13515        ld_shlibs_CXX=yes
13516        ;;
13517
13518      haiku*)
13519        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13520        link_all_deplibs_CXX=yes
13521        ;;
13522
13523      hpux9*)
13524        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
13525        hardcode_libdir_separator_CXX=:
13526        export_dynamic_flag_spec_CXX='$wl-E'
13527        hardcode_direct_CXX=yes
13528        hardcode_minus_L_CXX=yes # Not in the search PATH,
13529				             # but as the default
13530				             # location of the library.
13531
13532        case $cc_basename in
13533          CC*)
13534            # FIXME: insert proper C++ library support
13535            ld_shlibs_CXX=no
13536            ;;
13537          aCC*)
13538            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
13539            # Commands to make compiler produce verbose output that lists
13540            # what "hidden" libraries, object files and flags are used when
13541            # linking a shared library.
13542            #
13543            # There doesn't appear to be a way to prevent this compiler from
13544            # explicitly linking system object files so we need to strip them
13545            # from the output so that they don't get included in the library
13546            # dependencies.
13547            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13548            ;;
13549          *)
13550            if test yes = "$GXX"; then
13551              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
13552            else
13553              # FIXME: insert proper C++ library support
13554              ld_shlibs_CXX=no
13555            fi
13556            ;;
13557        esac
13558        ;;
13559
13560      hpux10*|hpux11*)
13561        if test no = "$with_gnu_ld"; then
13562	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
13563	  hardcode_libdir_separator_CXX=:
13564
13565          case $host_cpu in
13566            hppa*64*|ia64*)
13567              ;;
13568            *)
13569	      export_dynamic_flag_spec_CXX='$wl-E'
13570              ;;
13571          esac
13572        fi
13573        case $host_cpu in
13574          hppa*64*|ia64*)
13575            hardcode_direct_CXX=no
13576            hardcode_shlibpath_var_CXX=no
13577            ;;
13578          *)
13579            hardcode_direct_CXX=yes
13580            hardcode_direct_absolute_CXX=yes
13581            hardcode_minus_L_CXX=yes # Not in the search PATH,
13582					         # but as the default
13583					         # location of the library.
13584            ;;
13585        esac
13586
13587        case $cc_basename in
13588          CC*)
13589	    # FIXME: insert proper C++ library support
13590	    ld_shlibs_CXX=no
13591	    ;;
13592          aCC*)
13593	    case $host_cpu in
13594	      hppa*64*)
13595	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13596	        ;;
13597	      ia64*)
13598	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13599	        ;;
13600	      *)
13601	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13602	        ;;
13603	    esac
13604	    # Commands to make compiler produce verbose output that lists
13605	    # what "hidden" libraries, object files and flags are used when
13606	    # linking a shared library.
13607	    #
13608	    # There doesn't appear to be a way to prevent this compiler from
13609	    # explicitly linking system object files so we need to strip them
13610	    # from the output so that they don't get included in the library
13611	    # dependencies.
13612	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13613	    ;;
13614          *)
13615	    if test yes = "$GXX"; then
13616	      if test no = "$with_gnu_ld"; then
13617	        case $host_cpu in
13618	          hppa*64*)
13619	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13620	            ;;
13621	          ia64*)
13622	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13623	            ;;
13624	          *)
13625	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13626	            ;;
13627	        esac
13628	      fi
13629	    else
13630	      # FIXME: insert proper C++ library support
13631	      ld_shlibs_CXX=no
13632	    fi
13633	    ;;
13634        esac
13635        ;;
13636
13637      interix[3-9]*)
13638	hardcode_direct_CXX=no
13639	hardcode_shlibpath_var_CXX=no
13640	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13641	export_dynamic_flag_spec_CXX='$wl-E'
13642	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13643	# Instead, shared libraries are loaded at an image base (0x10000000 by
13644	# default) and relocated if they conflict, which is a slow very memory
13645	# consuming and fragmenting process.  To avoid this, we pick a random,
13646	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13647	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13648	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13649	archive_expsym_cmds_CXX='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'
13650	;;
13651      irix5* | irix6*)
13652        case $cc_basename in
13653          CC*)
13654	    # SGI C++
13655	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
13656
13657	    # Archives containing C++ object files must be created using
13658	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13659	    # necessary to make sure instantiated templates are included
13660	    # in the archive.
13661	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13662	    ;;
13663          *)
13664	    if test yes = "$GXX"; then
13665	      if test no = "$with_gnu_ld"; then
13666	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
13667	      else
13668	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
13669	      fi
13670	    fi
13671	    link_all_deplibs_CXX=yes
13672	    ;;
13673        esac
13674        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13675        hardcode_libdir_separator_CXX=:
13676        inherit_rpath_CXX=yes
13677        ;;
13678
13679      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13680        case $cc_basename in
13681          KCC*)
13682	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13683
13684	    # KCC will only create a shared library if the output file
13685	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13686	    # to its proper name (with version) after linking.
13687	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13688	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
13689	    # Commands to make compiler produce verbose output that lists
13690	    # what "hidden" libraries, object files and flags are used when
13691	    # linking a shared library.
13692	    #
13693	    # There doesn't appear to be a way to prevent this compiler from
13694	    # explicitly linking system object files so we need to strip them
13695	    # from the output so that they don't get included in the library
13696	    # dependencies.
13697	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13698
13699	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13700	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13701
13702	    # Archives containing C++ object files must be created using
13703	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13704	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13705	    ;;
13706	  icpc* | ecpc* )
13707	    # Intel C++
13708	    with_gnu_ld=yes
13709	    # version 8.0 and above of icpc choke on multiply defined symbols
13710	    # if we add $predep_objects and $postdep_objects, however 7.1 and
13711	    # earlier do not add the objects themselves.
13712	    case `$CC -V 2>&1` in
13713	      *"Version 7."*)
13714	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13715		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
13716		;;
13717	      *)  # Version 8.0 or newer
13718	        tmp_idyn=
13719	        case $host_cpu in
13720		  ia64*) tmp_idyn=' -i_dynamic';;
13721		esac
13722	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13723		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
13724		;;
13725	    esac
13726	    archive_cmds_need_lc_CXX=no
13727	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13728	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13729	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
13730	    ;;
13731          pgCC* | pgcpp*)
13732            # Portland Group C++ compiler
13733	    case `$CC -V` in
13734	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13735	      prelink_cmds_CXX='tpldir=Template.dir~
13736               rm -rf $tpldir~
13737               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13738               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13739	      old_archive_cmds_CXX='tpldir=Template.dir~
13740                rm -rf $tpldir~
13741                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13742                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13743                $RANLIB $oldlib'
13744	      archive_cmds_CXX='tpldir=Template.dir~
13745                rm -rf $tpldir~
13746                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13747                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13748	      archive_expsym_cmds_CXX='tpldir=Template.dir~
13749                rm -rf $tpldir~
13750                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13751                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
13752	      ;;
13753	    *) # Version 6 and above use weak symbols
13754	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13755	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
13756	      ;;
13757	    esac
13758
13759	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
13760	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13761	    whole_archive_flag_spec_CXX='$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'
13762            ;;
13763	  cxx*)
13764	    # Compaq C++
13765	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13766	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-retain-symbols-file $wl$export_symbols'
13767
13768	    runpath_var=LD_RUN_PATH
13769	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13770	    hardcode_libdir_separator_CXX=:
13771
13772	    # Commands to make compiler produce verbose output that lists
13773	    # what "hidden" libraries, object files and flags are used when
13774	    # linking a shared library.
13775	    #
13776	    # There doesn't appear to be a way to prevent this compiler from
13777	    # explicitly linking system object files so we need to strip them
13778	    # from the output so that they don't get included in the library
13779	    # dependencies.
13780	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13781	    ;;
13782	  xl* | mpixl* | bgxl*)
13783	    # IBM XL 8.0 on PPC, with GNU ld
13784	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13785	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13786	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13787	    if test yes = "$supports_anon_versioning"; then
13788	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13789                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13790                echo "local: *; };" >> $output_objdir/$libname.ver~
13791                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
13792	    fi
13793	    ;;
13794	  *)
13795	    case `$CC -V 2>&1 | sed 5q` in
13796	    *Sun\ C*)
13797	      # Sun C++ 5.9
13798	      no_undefined_flag_CXX=' -zdefs'
13799	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13800	      archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
13801	      hardcode_libdir_flag_spec_CXX='-R$libdir'
13802	      whole_archive_flag_spec_CXX='$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'
13803	      compiler_needs_object_CXX=yes
13804
13805	      # Not sure whether something based on
13806	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13807	      # would be better.
13808	      output_verbose_link_cmd='func_echo_all'
13809
13810	      # Archives containing C++ object files must be created using
13811	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13812	      # necessary to make sure instantiated templates are included
13813	      # in the archive.
13814	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13815	      ;;
13816	    esac
13817	    ;;
13818	esac
13819	;;
13820
13821      lynxos*)
13822        # FIXME: insert proper C++ library support
13823	ld_shlibs_CXX=no
13824	;;
13825
13826      m88k*)
13827        # FIXME: insert proper C++ library support
13828        ld_shlibs_CXX=no
13829	;;
13830
13831      mvs*)
13832        case $cc_basename in
13833          cxx*)
13834	    # FIXME: insert proper C++ library support
13835	    ld_shlibs_CXX=no
13836	    ;;
13837	  *)
13838	    # FIXME: insert proper C++ library support
13839	    ld_shlibs_CXX=no
13840	    ;;
13841	esac
13842	;;
13843
13844      netbsd*)
13845        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13846	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13847	  wlarc=
13848	  hardcode_libdir_flag_spec_CXX='-R$libdir'
13849	  hardcode_direct_CXX=yes
13850	  hardcode_shlibpath_var_CXX=no
13851	fi
13852	# Workaround some broken pre-1.5 toolchains
13853	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13854	;;
13855
13856      *nto* | *qnx*)
13857        ld_shlibs_CXX=yes
13858	;;
13859
13860      openbsd* | bitrig*)
13861	if test -f /usr/libexec/ld.so; then
13862	  hardcode_direct_CXX=yes
13863	  hardcode_shlibpath_var_CXX=no
13864	  hardcode_direct_absolute_CXX=yes
13865	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13866	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13867	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
13868	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
13869	    export_dynamic_flag_spec_CXX='$wl-E'
13870	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13871	  fi
13872	  output_verbose_link_cmd=func_echo_all
13873	else
13874	  ld_shlibs_CXX=no
13875	fi
13876	;;
13877
13878      osf3* | osf4* | osf5*)
13879        case $cc_basename in
13880          KCC*)
13881	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13882
13883	    # KCC will only create a shared library if the output file
13884	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13885	    # to its proper name (with version) after linking.
13886	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13887
13888	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13889	    hardcode_libdir_separator_CXX=:
13890
13891	    # Archives containing C++ object files must be created using
13892	    # the KAI C++ compiler.
13893	    case $host in
13894	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13895	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13896	    esac
13897	    ;;
13898          RCC*)
13899	    # Rational C++ 2.4.1
13900	    # FIXME: insert proper C++ library support
13901	    ld_shlibs_CXX=no
13902	    ;;
13903          cxx*)
13904	    case $host in
13905	      osf3*)
13906	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
13907	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
13908	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13909		;;
13910	      *)
13911	        allow_undefined_flag_CXX=' -expect_unresolved \*'
13912	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
13913	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13914                  echo "-hidden">> $lib.exp~
13915                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
13916                  $RM $lib.exp'
13917	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13918		;;
13919	    esac
13920
13921	    hardcode_libdir_separator_CXX=:
13922
13923	    # Commands to make compiler produce verbose output that lists
13924	    # what "hidden" libraries, object files and flags are used when
13925	    # linking a shared library.
13926	    #
13927	    # There doesn't appear to be a way to prevent this compiler from
13928	    # explicitly linking system object files so we need to strip them
13929	    # from the output so that they don't get included in the library
13930	    # dependencies.
13931	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13932	    ;;
13933	  *)
13934	    if test yes,no = "$GXX,$with_gnu_ld"; then
13935	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
13936	      case $host in
13937	        osf3*)
13938	          archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
13939		  ;;
13940	        *)
13941	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
13942		  ;;
13943	      esac
13944
13945	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13946	      hardcode_libdir_separator_CXX=:
13947
13948	      # Commands to make compiler produce verbose output that lists
13949	      # what "hidden" libraries, object files and flags are used when
13950	      # linking a shared library.
13951	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13952
13953	    else
13954	      # FIXME: insert proper C++ library support
13955	      ld_shlibs_CXX=no
13956	    fi
13957	    ;;
13958        esac
13959        ;;
13960
13961      psos*)
13962        # FIXME: insert proper C++ library support
13963        ld_shlibs_CXX=no
13964        ;;
13965
13966      sunos4*)
13967        case $cc_basename in
13968          CC*)
13969	    # Sun C++ 4.x
13970	    # FIXME: insert proper C++ library support
13971	    ld_shlibs_CXX=no
13972	    ;;
13973          lcc*)
13974	    # Lucid
13975	    # FIXME: insert proper C++ library support
13976	    ld_shlibs_CXX=no
13977	    ;;
13978          *)
13979	    # FIXME: insert proper C++ library support
13980	    ld_shlibs_CXX=no
13981	    ;;
13982        esac
13983        ;;
13984
13985      solaris*)
13986        case $cc_basename in
13987          CC* | sunCC*)
13988	    # Sun C++ 4.2, 5.x and Centerline C++
13989            archive_cmds_need_lc_CXX=yes
13990	    no_undefined_flag_CXX=' -zdefs'
13991	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13992	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13993              $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13994
13995	    hardcode_libdir_flag_spec_CXX='-R$libdir'
13996	    hardcode_shlibpath_var_CXX=no
13997	    case $host_os in
13998	      solaris2.[0-5] | solaris2.[0-5].*) ;;
13999	      *)
14000		# The compiler driver will combine and reorder linker options,
14001		# but understands '-z linker_flag'.
14002	        # Supported since Solaris 2.6 (maybe 2.5.1?)
14003		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14004	        ;;
14005	    esac
14006	    link_all_deplibs_CXX=yes
14007
14008	    output_verbose_link_cmd='func_echo_all'
14009
14010	    # Archives containing C++ object files must be created using
14011	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14012	    # necessary to make sure instantiated templates are included
14013	    # in the archive.
14014	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14015	    ;;
14016          gcx*)
14017	    # Green Hills C++ Compiler
14018	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14019
14020	    # The C++ compiler must be used to create the archive.
14021	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14022	    ;;
14023          *)
14024	    # GNU C++ compiler with Solaris linker
14025	    if test yes,no = "$GXX,$with_gnu_ld"; then
14026	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
14027	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14028	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14029	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14030                  $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14031
14032	        # Commands to make compiler produce verbose output that lists
14033	        # what "hidden" libraries, object files and flags are used when
14034	        # linking a shared library.
14035	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14036	      else
14037	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
14038	        # platform.
14039	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14040	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14041                  $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14042
14043	        # Commands to make compiler produce verbose output that lists
14044	        # what "hidden" libraries, object files and flags are used when
14045	        # linking a shared library.
14046	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14047	      fi
14048
14049	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14050	      case $host_os in
14051		solaris2.[0-5] | solaris2.[0-5].*) ;;
14052		*)
14053		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14054		  ;;
14055	      esac
14056	    fi
14057	    ;;
14058        esac
14059        ;;
14060
14061    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14062      no_undefined_flag_CXX='$wl-z,text'
14063      archive_cmds_need_lc_CXX=no
14064      hardcode_shlibpath_var_CXX=no
14065      runpath_var='LD_RUN_PATH'
14066
14067      case $cc_basename in
14068        CC*)
14069	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14070	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14071	  ;;
14072	*)
14073	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14074	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14075	  ;;
14076      esac
14077      ;;
14078
14079      sysv5* | sco3.2v5* | sco5v6*)
14080	# Note: We CANNOT use -z defs as we might desire, because we do not
14081	# link with -lc, and that would cause any symbols used from libc to
14082	# always be unresolved, which means just about no library would
14083	# ever link correctly.  If we're not using GNU ld we use -z text
14084	# though, which does catch some bad symbols but isn't as heavy-handed
14085	# as -z defs.
14086	no_undefined_flag_CXX='$wl-z,text'
14087	allow_undefined_flag_CXX='$wl-z,nodefs'
14088	archive_cmds_need_lc_CXX=no
14089	hardcode_shlibpath_var_CXX=no
14090	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
14091	hardcode_libdir_separator_CXX=':'
14092	link_all_deplibs_CXX=yes
14093	export_dynamic_flag_spec_CXX='$wl-Bexport'
14094	runpath_var='LD_RUN_PATH'
14095
14096	case $cc_basename in
14097          CC*)
14098	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14099	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14100	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14101              '"$old_archive_cmds_CXX"
14102	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14103              '"$reload_cmds_CXX"
14104	    ;;
14105	  *)
14106	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14107	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14108	    ;;
14109	esac
14110      ;;
14111
14112      tandem*)
14113        case $cc_basename in
14114          NCC*)
14115	    # NonStop-UX NCC 3.20
14116	    # FIXME: insert proper C++ library support
14117	    ld_shlibs_CXX=no
14118	    ;;
14119          *)
14120	    # FIXME: insert proper C++ library support
14121	    ld_shlibs_CXX=no
14122	    ;;
14123        esac
14124        ;;
14125
14126      vxworks*)
14127        # FIXME: insert proper C++ library support
14128        ld_shlibs_CXX=no
14129        ;;
14130
14131      *)
14132        # FIXME: insert proper C++ library support
14133        ld_shlibs_CXX=no
14134        ;;
14135    esac
14136
14137    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14138$as_echo "$ld_shlibs_CXX" >&6; }
14139    test no = "$ld_shlibs_CXX" && can_build_shared=no
14140
14141    GCC_CXX=$GXX
14142    LD_CXX=$LD
14143
14144    ## CAVEAT EMPTOR:
14145    ## There is no encapsulation within the following macros, do not change
14146    ## the running order or otherwise move them around unless you know exactly
14147    ## what you are doing...
14148    # Dependencies to place before and after the object being linked:
14149predep_objects_CXX=
14150postdep_objects_CXX=
14151predeps_CXX=
14152postdeps_CXX=
14153compiler_lib_search_path_CXX=
14154
14155cat > conftest.$ac_ext <<_LT_EOF
14156class Foo
14157{
14158public:
14159  Foo (void) { a = 0; }
14160private:
14161  int a;
14162};
14163_LT_EOF
14164
14165
14166_lt_libdeps_save_CFLAGS=$CFLAGS
14167case "$CC $CFLAGS " in #(
14168*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14169*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14170*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14171esac
14172
14173if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14174  (eval $ac_compile) 2>&5
14175  ac_status=$?
14176  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14177  test $ac_status = 0; }; then
14178  # Parse the compiler output and extract the necessary
14179  # objects, libraries and library flags.
14180
14181  # Sentinel used to keep track of whether or not we are before
14182  # the conftest object file.
14183  pre_test_object_deps_done=no
14184
14185  for p in `eval "$output_verbose_link_cmd"`; do
14186    case $prev$p in
14187
14188    -L* | -R* | -l*)
14189       # Some compilers place space between "-{L,R}" and the path.
14190       # Remove the space.
14191       if test x-L = "$p" ||
14192          test x-R = "$p"; then
14193	 prev=$p
14194	 continue
14195       fi
14196
14197       # Expand the sysroot to ease extracting the directories later.
14198       if test -z "$prev"; then
14199         case $p in
14200         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14201         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14202         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14203         esac
14204       fi
14205       case $p in
14206       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14207       esac
14208       if test no = "$pre_test_object_deps_done"; then
14209	 case $prev in
14210	 -L | -R)
14211	   # Internal compiler library paths should come after those
14212	   # provided the user.  The postdeps already come after the
14213	   # user supplied libs so there is no need to process them.
14214	   if test -z "$compiler_lib_search_path_CXX"; then
14215	     compiler_lib_search_path_CXX=$prev$p
14216	   else
14217	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
14218	   fi
14219	   ;;
14220	 # The "-l" case would never come before the object being
14221	 # linked, so don't bother handling this case.
14222	 esac
14223       else
14224	 if test -z "$postdeps_CXX"; then
14225	   postdeps_CXX=$prev$p
14226	 else
14227	   postdeps_CXX="${postdeps_CXX} $prev$p"
14228	 fi
14229       fi
14230       prev=
14231       ;;
14232
14233    *.lto.$objext) ;; # Ignore GCC LTO objects
14234    *.$objext)
14235       # This assumes that the test object file only shows up
14236       # once in the compiler output.
14237       if test "$p" = "conftest.$objext"; then
14238	 pre_test_object_deps_done=yes
14239	 continue
14240       fi
14241
14242       if test no = "$pre_test_object_deps_done"; then
14243	 if test -z "$predep_objects_CXX"; then
14244	   predep_objects_CXX=$p
14245	 else
14246	   predep_objects_CXX="$predep_objects_CXX $p"
14247	 fi
14248       else
14249	 if test -z "$postdep_objects_CXX"; then
14250	   postdep_objects_CXX=$p
14251	 else
14252	   postdep_objects_CXX="$postdep_objects_CXX $p"
14253	 fi
14254       fi
14255       ;;
14256
14257    *) ;; # Ignore the rest.
14258
14259    esac
14260  done
14261
14262  # Clean up.
14263  rm -f a.out a.exe
14264else
14265  echo "libtool.m4: error: problem compiling CXX test program"
14266fi
14267
14268$RM -f confest.$objext
14269CFLAGS=$_lt_libdeps_save_CFLAGS
14270
14271# PORTME: override above test on systems where it is broken
14272case $host_os in
14273interix[3-9]*)
14274  # Interix 3.5 installs completely hosed .la files for C++, so rather than
14275  # hack all around it, let's just trust "g++" to DTRT.
14276  predep_objects_CXX=
14277  postdep_objects_CXX=
14278  postdeps_CXX=
14279  ;;
14280esac
14281
14282
14283case " $postdeps_CXX " in
14284*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14285esac
14286 compiler_lib_search_dirs_CXX=
14287if test -n "${compiler_lib_search_path_CXX}"; then
14288 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14289fi
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321    lt_prog_compiler_wl_CXX=
14322lt_prog_compiler_pic_CXX=
14323lt_prog_compiler_static_CXX=
14324
14325
14326  # C++ specific cases for pic, static, wl, etc.
14327  if test yes = "$GXX"; then
14328    lt_prog_compiler_wl_CXX='-Wl,'
14329    lt_prog_compiler_static_CXX='-static'
14330
14331    case $host_os in
14332    aix*)
14333      # All AIX code is PIC.
14334      if test ia64 = "$host_cpu"; then
14335	# AIX 5 now supports IA64 processor
14336	lt_prog_compiler_static_CXX='-Bstatic'
14337      fi
14338      lt_prog_compiler_pic_CXX='-fPIC'
14339      ;;
14340
14341    amigaos*)
14342      case $host_cpu in
14343      powerpc)
14344            # see comment about AmigaOS4 .so support
14345            lt_prog_compiler_pic_CXX='-fPIC'
14346        ;;
14347      m68k)
14348            # FIXME: we need at least 68020 code to build shared libraries, but
14349            # adding the '-m68020' flag to GCC prevents building anything better,
14350            # like '-m68040'.
14351            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14352        ;;
14353      esac
14354      ;;
14355
14356    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14357      # PIC is the default for these OSes.
14358      ;;
14359    mingw* | cygwin* | os2* | pw32* | cegcc*)
14360      # This hack is so that the source file can tell whether it is being
14361      # built for inclusion in a dll (and should export symbols for example).
14362      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14363      # (--disable-auto-import) libraries
14364      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14365      case $host_os in
14366      os2*)
14367	lt_prog_compiler_static_CXX='$wl-static'
14368	;;
14369      esac
14370      ;;
14371    darwin* | rhapsody*)
14372      # PIC is the default on this platform
14373      # Common symbols not allowed in MH_DYLIB files
14374      lt_prog_compiler_pic_CXX='-fno-common'
14375      ;;
14376    *djgpp*)
14377      # DJGPP does not support shared libraries at all
14378      lt_prog_compiler_pic_CXX=
14379      ;;
14380    haiku*)
14381      # PIC is the default for Haiku.
14382      # The "-static" flag exists, but is broken.
14383      lt_prog_compiler_static_CXX=
14384      ;;
14385    interix[3-9]*)
14386      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14387      # Instead, we relocate shared libraries at runtime.
14388      ;;
14389    sysv4*MP*)
14390      if test -d /usr/nec; then
14391	lt_prog_compiler_pic_CXX=-Kconform_pic
14392      fi
14393      ;;
14394    hpux*)
14395      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14396      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14397      # sets the default TLS model and affects inlining.
14398      case $host_cpu in
14399      hppa*64*)
14400	;;
14401      *)
14402	lt_prog_compiler_pic_CXX='-fPIC'
14403	;;
14404      esac
14405      ;;
14406    *qnx* | *nto*)
14407      # QNX uses GNU C++, but need to define -shared option too, otherwise
14408      # it will coredump.
14409      lt_prog_compiler_pic_CXX='-fPIC -shared'
14410      ;;
14411    *)
14412      lt_prog_compiler_pic_CXX='-fPIC'
14413      ;;
14414    esac
14415  else
14416    case $host_os in
14417      aix[4-9]*)
14418	# All AIX code is PIC.
14419	if test ia64 = "$host_cpu"; then
14420	  # AIX 5 now supports IA64 processor
14421	  lt_prog_compiler_static_CXX='-Bstatic'
14422	else
14423	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14424	fi
14425	;;
14426      chorus*)
14427	case $cc_basename in
14428	cxch68*)
14429	  # Green Hills C++ Compiler
14430	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14431	  ;;
14432	esac
14433	;;
14434      mingw* | cygwin* | os2* | pw32* | cegcc*)
14435	# This hack is so that the source file can tell whether it is being
14436	# built for inclusion in a dll (and should export symbols for example).
14437	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14438	;;
14439      dgux*)
14440	case $cc_basename in
14441	  ec++*)
14442	    lt_prog_compiler_pic_CXX='-KPIC'
14443	    ;;
14444	  ghcx*)
14445	    # Green Hills C++ Compiler
14446	    lt_prog_compiler_pic_CXX='-pic'
14447	    ;;
14448	  *)
14449	    ;;
14450	esac
14451	;;
14452      freebsd* | dragonfly*)
14453	# FreeBSD uses GNU C++
14454	;;
14455      hpux9* | hpux10* | hpux11*)
14456	case $cc_basename in
14457	  CC*)
14458	    lt_prog_compiler_wl_CXX='-Wl,'
14459	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14460	    if test ia64 != "$host_cpu"; then
14461	      lt_prog_compiler_pic_CXX='+Z'
14462	    fi
14463	    ;;
14464	  aCC*)
14465	    lt_prog_compiler_wl_CXX='-Wl,'
14466	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14467	    case $host_cpu in
14468	    hppa*64*|ia64*)
14469	      # +Z the default
14470	      ;;
14471	    *)
14472	      lt_prog_compiler_pic_CXX='+Z'
14473	      ;;
14474	    esac
14475	    ;;
14476	  *)
14477	    ;;
14478	esac
14479	;;
14480      interix*)
14481	# This is c89, which is MS Visual C++ (no shared libs)
14482	# Anyone wants to do a port?
14483	;;
14484      irix5* | irix6* | nonstopux*)
14485	case $cc_basename in
14486	  CC*)
14487	    lt_prog_compiler_wl_CXX='-Wl,'
14488	    lt_prog_compiler_static_CXX='-non_shared'
14489	    # CC pic flag -KPIC is the default.
14490	    ;;
14491	  *)
14492	    ;;
14493	esac
14494	;;
14495      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14496	case $cc_basename in
14497	  KCC*)
14498	    # KAI C++ Compiler
14499	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14500	    lt_prog_compiler_pic_CXX='-fPIC'
14501	    ;;
14502	  ecpc* )
14503	    # old Intel C++ for x86_64, which still supported -KPIC.
14504	    lt_prog_compiler_wl_CXX='-Wl,'
14505	    lt_prog_compiler_pic_CXX='-KPIC'
14506	    lt_prog_compiler_static_CXX='-static'
14507	    ;;
14508	  icpc* )
14509	    # Intel C++, used to be incompatible with GCC.
14510	    # ICC 10 doesn't accept -KPIC any more.
14511	    lt_prog_compiler_wl_CXX='-Wl,'
14512	    lt_prog_compiler_pic_CXX='-fPIC'
14513	    lt_prog_compiler_static_CXX='-static'
14514	    ;;
14515	  pgCC* | pgcpp*)
14516	    # Portland Group C++ compiler
14517	    lt_prog_compiler_wl_CXX='-Wl,'
14518	    lt_prog_compiler_pic_CXX='-fpic'
14519	    lt_prog_compiler_static_CXX='-Bstatic'
14520	    ;;
14521	  cxx*)
14522	    # Compaq C++
14523	    # Make sure the PIC flag is empty.  It appears that all Alpha
14524	    # Linux and Compaq Tru64 Unix objects are PIC.
14525	    lt_prog_compiler_pic_CXX=
14526	    lt_prog_compiler_static_CXX='-non_shared'
14527	    ;;
14528	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14529	    # IBM XL 8.0, 9.0 on PPC and BlueGene
14530	    lt_prog_compiler_wl_CXX='-Wl,'
14531	    lt_prog_compiler_pic_CXX='-qpic'
14532	    lt_prog_compiler_static_CXX='-qstaticlink'
14533	    ;;
14534	  *)
14535	    case `$CC -V 2>&1 | sed 5q` in
14536	    *Sun\ C*)
14537	      # Sun C++ 5.9
14538	      lt_prog_compiler_pic_CXX='-KPIC'
14539	      lt_prog_compiler_static_CXX='-Bstatic'
14540	      lt_prog_compiler_wl_CXX='-Qoption ld '
14541	      ;;
14542	    esac
14543	    ;;
14544	esac
14545	;;
14546      lynxos*)
14547	;;
14548      m88k*)
14549	;;
14550      mvs*)
14551	case $cc_basename in
14552	  cxx*)
14553	    lt_prog_compiler_pic_CXX='-W c,exportall'
14554	    ;;
14555	  *)
14556	    ;;
14557	esac
14558	;;
14559      netbsd*)
14560	;;
14561      *qnx* | *nto*)
14562        # QNX uses GNU C++, but need to define -shared option too, otherwise
14563        # it will coredump.
14564        lt_prog_compiler_pic_CXX='-fPIC -shared'
14565        ;;
14566      osf3* | osf4* | osf5*)
14567	case $cc_basename in
14568	  KCC*)
14569	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14570	    ;;
14571	  RCC*)
14572	    # Rational C++ 2.4.1
14573	    lt_prog_compiler_pic_CXX='-pic'
14574	    ;;
14575	  cxx*)
14576	    # Digital/Compaq C++
14577	    lt_prog_compiler_wl_CXX='-Wl,'
14578	    # Make sure the PIC flag is empty.  It appears that all Alpha
14579	    # Linux and Compaq Tru64 Unix objects are PIC.
14580	    lt_prog_compiler_pic_CXX=
14581	    lt_prog_compiler_static_CXX='-non_shared'
14582	    ;;
14583	  *)
14584	    ;;
14585	esac
14586	;;
14587      psos*)
14588	;;
14589      solaris*)
14590	case $cc_basename in
14591	  CC* | sunCC*)
14592	    # Sun C++ 4.2, 5.x and Centerline C++
14593	    lt_prog_compiler_pic_CXX='-KPIC'
14594	    lt_prog_compiler_static_CXX='-Bstatic'
14595	    lt_prog_compiler_wl_CXX='-Qoption ld '
14596	    ;;
14597	  gcx*)
14598	    # Green Hills C++ Compiler
14599	    lt_prog_compiler_pic_CXX='-PIC'
14600	    ;;
14601	  *)
14602	    ;;
14603	esac
14604	;;
14605      sunos4*)
14606	case $cc_basename in
14607	  CC*)
14608	    # Sun C++ 4.x
14609	    lt_prog_compiler_pic_CXX='-pic'
14610	    lt_prog_compiler_static_CXX='-Bstatic'
14611	    ;;
14612	  lcc*)
14613	    # Lucid
14614	    lt_prog_compiler_pic_CXX='-pic'
14615	    ;;
14616	  *)
14617	    ;;
14618	esac
14619	;;
14620      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14621	case $cc_basename in
14622	  CC*)
14623	    lt_prog_compiler_wl_CXX='-Wl,'
14624	    lt_prog_compiler_pic_CXX='-KPIC'
14625	    lt_prog_compiler_static_CXX='-Bstatic'
14626	    ;;
14627	esac
14628	;;
14629      tandem*)
14630	case $cc_basename in
14631	  NCC*)
14632	    # NonStop-UX NCC 3.20
14633	    lt_prog_compiler_pic_CXX='-KPIC'
14634	    ;;
14635	  *)
14636	    ;;
14637	esac
14638	;;
14639      vxworks*)
14640	;;
14641      *)
14642	lt_prog_compiler_can_build_shared_CXX=no
14643	;;
14644    esac
14645  fi
14646
14647case $host_os in
14648  # For platforms that do not support PIC, -DPIC is meaningless:
14649  *djgpp*)
14650    lt_prog_compiler_pic_CXX=
14651    ;;
14652  *)
14653    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14654    ;;
14655esac
14656
14657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14658$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14659if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14660  $as_echo_n "(cached) " >&6
14661else
14662  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14663fi
14664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14665$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14666lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14667
14668#
14669# Check to make sure the PIC flag actually works.
14670#
14671if test -n "$lt_prog_compiler_pic_CXX"; then
14672  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14673$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14674if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14675  $as_echo_n "(cached) " >&6
14676else
14677  lt_cv_prog_compiler_pic_works_CXX=no
14678   ac_outfile=conftest.$ac_objext
14679   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14680   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
14681   # Insert the option either (1) after the last *FLAGS variable, or
14682   # (2) before a word containing "conftest.", or (3) at the end.
14683   # Note that $ac_compile itself does not contain backslashes and begins
14684   # with a dollar sign (not a hyphen), so the echo should work correctly.
14685   # The option is referenced via a variable to avoid confusing sed.
14686   lt_compile=`echo "$ac_compile" | $SED \
14687   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14688   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14689   -e 's:$: $lt_compiler_flag:'`
14690   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14691   (eval "$lt_compile" 2>conftest.err)
14692   ac_status=$?
14693   cat conftest.err >&5
14694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695   if (exit $ac_status) && test -s "$ac_outfile"; then
14696     # The compiler can only warn and ignore the option if not recognized
14697     # So say no if there are warnings other than the usual output.
14698     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14699     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14700     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14701       lt_cv_prog_compiler_pic_works_CXX=yes
14702     fi
14703   fi
14704   $RM conftest*
14705
14706fi
14707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14708$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14709
14710if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
14711    case $lt_prog_compiler_pic_CXX in
14712     "" | " "*) ;;
14713     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14714     esac
14715else
14716    lt_prog_compiler_pic_CXX=
14717     lt_prog_compiler_can_build_shared_CXX=no
14718fi
14719
14720fi
14721
14722
14723
14724
14725
14726#
14727# Check to make sure the static flag actually works.
14728#
14729wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14731$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14732if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14733  $as_echo_n "(cached) " >&6
14734else
14735  lt_cv_prog_compiler_static_works_CXX=no
14736   save_LDFLAGS=$LDFLAGS
14737   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14738   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14739   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14740     # The linker can only warn and ignore the option if not recognized
14741     # So say no if there are warnings
14742     if test -s conftest.err; then
14743       # Append any errors to the config.log.
14744       cat conftest.err 1>&5
14745       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14746       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14747       if diff conftest.exp conftest.er2 >/dev/null; then
14748         lt_cv_prog_compiler_static_works_CXX=yes
14749       fi
14750     else
14751       lt_cv_prog_compiler_static_works_CXX=yes
14752     fi
14753   fi
14754   $RM -r conftest*
14755   LDFLAGS=$save_LDFLAGS
14756
14757fi
14758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14759$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14760
14761if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
14762    :
14763else
14764    lt_prog_compiler_static_CXX=
14765fi
14766
14767
14768
14769
14770    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14771$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14772if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14773  $as_echo_n "(cached) " >&6
14774else
14775  lt_cv_prog_compiler_c_o_CXX=no
14776   $RM -r conftest 2>/dev/null
14777   mkdir conftest
14778   cd conftest
14779   mkdir out
14780   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14781
14782   lt_compiler_flag="-o out/conftest2.$ac_objext"
14783   # Insert the option either (1) after the last *FLAGS variable, or
14784   # (2) before a word containing "conftest.", or (3) at the end.
14785   # Note that $ac_compile itself does not contain backslashes and begins
14786   # with a dollar sign (not a hyphen), so the echo should work correctly.
14787   lt_compile=`echo "$ac_compile" | $SED \
14788   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14789   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14790   -e 's:$: $lt_compiler_flag:'`
14791   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14792   (eval "$lt_compile" 2>out/conftest.err)
14793   ac_status=$?
14794   cat out/conftest.err >&5
14795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14797   then
14798     # The compiler can only warn and ignore the option if not recognized
14799     # So say no if there are warnings
14800     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14801     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14802     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14803       lt_cv_prog_compiler_c_o_CXX=yes
14804     fi
14805   fi
14806   chmod u+w . 2>&5
14807   $RM conftest*
14808   # SGI C++ compiler will create directory out/ii_files/ for
14809   # template instantiation
14810   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14811   $RM out/* && rmdir out
14812   cd ..
14813   $RM -r conftest
14814   $RM conftest*
14815
14816fi
14817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14818$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14819
14820
14821
14822    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14823$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14824if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14825  $as_echo_n "(cached) " >&6
14826else
14827  lt_cv_prog_compiler_c_o_CXX=no
14828   $RM -r conftest 2>/dev/null
14829   mkdir conftest
14830   cd conftest
14831   mkdir out
14832   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14833
14834   lt_compiler_flag="-o out/conftest2.$ac_objext"
14835   # Insert the option either (1) after the last *FLAGS variable, or
14836   # (2) before a word containing "conftest.", or (3) at the end.
14837   # Note that $ac_compile itself does not contain backslashes and begins
14838   # with a dollar sign (not a hyphen), so the echo should work correctly.
14839   lt_compile=`echo "$ac_compile" | $SED \
14840   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14841   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14842   -e 's:$: $lt_compiler_flag:'`
14843   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14844   (eval "$lt_compile" 2>out/conftest.err)
14845   ac_status=$?
14846   cat out/conftest.err >&5
14847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14848   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14849   then
14850     # The compiler can only warn and ignore the option if not recognized
14851     # So say no if there are warnings
14852     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14853     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14854     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14855       lt_cv_prog_compiler_c_o_CXX=yes
14856     fi
14857   fi
14858   chmod u+w . 2>&5
14859   $RM conftest*
14860   # SGI C++ compiler will create directory out/ii_files/ for
14861   # template instantiation
14862   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14863   $RM out/* && rmdir out
14864   cd ..
14865   $RM -r conftest
14866   $RM conftest*
14867
14868fi
14869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14870$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14871
14872
14873
14874
14875hard_links=nottested
14876if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
14877  # do not overwrite the value of need_locks provided by the user
14878  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14879$as_echo_n "checking if we can lock with hard links... " >&6; }
14880  hard_links=yes
14881  $RM conftest*
14882  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14883  touch conftest.a
14884  ln conftest.a conftest.b 2>&5 || hard_links=no
14885  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14887$as_echo "$hard_links" >&6; }
14888  if test no = "$hard_links"; then
14889    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
14890$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
14891    need_locks=warn
14892  fi
14893else
14894  need_locks=no
14895fi
14896
14897
14898
14899    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14900$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14901
14902  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14903  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14904  case $host_os in
14905  aix[4-9]*)
14906    # If we're using GNU nm, then we don't want the "-C" option.
14907    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
14908    # Without the "-l" option, or with the "-B" option, AIX nm treats
14909    # weak defined symbols like other global defined symbols, whereas
14910    # GNU nm marks them as "W".
14911    # While the 'weak' keyword is ignored in the Export File, we need
14912    # it in the Import File for the 'aix-soname' feature, so we have
14913    # to replace the "-B" option with "-P" for AIX nm.
14914    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14915      export_symbols_cmds_CXX='$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'
14916    else
14917      export_symbols_cmds_CXX='`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'
14918    fi
14919    ;;
14920  pw32*)
14921    export_symbols_cmds_CXX=$ltdll_cmds
14922    ;;
14923  cygwin* | mingw* | cegcc*)
14924    case $cc_basename in
14925    cl*)
14926      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14927      ;;
14928    *)
14929      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14930      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14931      ;;
14932    esac
14933    ;;
14934  *)
14935    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14936    ;;
14937  esac
14938
14939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14940$as_echo "$ld_shlibs_CXX" >&6; }
14941test no = "$ld_shlibs_CXX" && can_build_shared=no
14942
14943with_gnu_ld_CXX=$with_gnu_ld
14944
14945
14946
14947
14948
14949
14950#
14951# Do we need to explicitly link libc?
14952#
14953case "x$archive_cmds_need_lc_CXX" in
14954x|xyes)
14955  # Assume -lc should be added
14956  archive_cmds_need_lc_CXX=yes
14957
14958  if test yes,yes = "$GCC,$enable_shared"; then
14959    case $archive_cmds_CXX in
14960    *'~'*)
14961      # FIXME: we may have to deal with multi-command sequences.
14962      ;;
14963    '$CC '*)
14964      # Test whether the compiler implicitly links with -lc since on some
14965      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14966      # to ld, don't add -lc before -lgcc.
14967      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14968$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14969if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14970  $as_echo_n "(cached) " >&6
14971else
14972  $RM conftest*
14973	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14974
14975	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14976  (eval $ac_compile) 2>&5
14977  ac_status=$?
14978  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14979  test $ac_status = 0; } 2>conftest.err; then
14980	  soname=conftest
14981	  lib=conftest
14982	  libobjs=conftest.$ac_objext
14983	  deplibs=
14984	  wl=$lt_prog_compiler_wl_CXX
14985	  pic_flag=$lt_prog_compiler_pic_CXX
14986	  compiler_flags=-v
14987	  linker_flags=-v
14988	  verstring=
14989	  output_objdir=.
14990	  libname=conftest
14991	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14992	  allow_undefined_flag_CXX=
14993	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14994  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14995  ac_status=$?
14996  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14997  test $ac_status = 0; }
14998	  then
14999	    lt_cv_archive_cmds_need_lc_CXX=no
15000	  else
15001	    lt_cv_archive_cmds_need_lc_CXX=yes
15002	  fi
15003	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15004	else
15005	  cat conftest.err 1>&5
15006	fi
15007	$RM conftest*
15008
15009fi
15010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15011$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15012      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15013      ;;
15014    esac
15015  fi
15016  ;;
15017esac
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15081$as_echo_n "checking dynamic linker characteristics... " >&6; }
15082
15083library_names_spec=
15084libname_spec='lib$name'
15085soname_spec=
15086shrext_cmds=.so
15087postinstall_cmds=
15088postuninstall_cmds=
15089finish_cmds=
15090finish_eval=
15091shlibpath_var=
15092shlibpath_overrides_runpath=unknown
15093version_type=none
15094dynamic_linker="$host_os ld.so"
15095sys_lib_dlsearch_path_spec="/lib /usr/lib"
15096need_lib_prefix=unknown
15097hardcode_into_libs=no
15098
15099# when you set need_version to no, make sure it does not cause -set_version
15100# flags to be left without arguments
15101need_version=unknown
15102
15103
15104
15105case $host_os in
15106aix3*)
15107  version_type=linux # correct to gnu/linux during the next big refactor
15108  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15109  shlibpath_var=LIBPATH
15110
15111  # AIX 3 has no versioning support, so we append a major version to the name.
15112  soname_spec='$libname$release$shared_ext$major'
15113  ;;
15114
15115aix[4-9]*)
15116  version_type=linux # correct to gnu/linux during the next big refactor
15117  need_lib_prefix=no
15118  need_version=no
15119  hardcode_into_libs=yes
15120  if test ia64 = "$host_cpu"; then
15121    # AIX 5 supports IA64
15122    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15123    shlibpath_var=LD_LIBRARY_PATH
15124  else
15125    # With GCC up to 2.95.x, collect2 would create an import file
15126    # for dependence libraries.  The import file would start with
15127    # the line '#! .'.  This would cause the generated library to
15128    # depend on '.', always an invalid library.  This was fixed in
15129    # development snapshots of GCC prior to 3.0.
15130    case $host_os in
15131      aix4 | aix4.[01] | aix4.[01].*)
15132      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15133	   echo ' yes '
15134	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15135	:
15136      else
15137	can_build_shared=no
15138      fi
15139      ;;
15140    esac
15141    # Using Import Files as archive members, it is possible to support
15142    # filename-based versioning of shared library archives on AIX. While
15143    # this would work for both with and without runtime linking, it will
15144    # prevent static linking of such archives. So we do filename-based
15145    # shared library versioning with .so extension only, which is used
15146    # when both runtime linking and shared linking is enabled.
15147    # Unfortunately, runtime linking may impact performance, so we do
15148    # not want this to be the default eventually. Also, we use the
15149    # versioned .so libs for executables only if there is the -brtl
15150    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15151    # To allow for filename-based versioning support, we need to create
15152    # libNAME.so.V as an archive file, containing:
15153    # *) an Import File, referring to the versioned filename of the
15154    #    archive as well as the shared archive member, telling the
15155    #    bitwidth (32 or 64) of that shared object, and providing the
15156    #    list of exported symbols of that shared object, eventually
15157    #    decorated with the 'weak' keyword
15158    # *) the shared object with the F_LOADONLY flag set, to really avoid
15159    #    it being seen by the linker.
15160    # At run time we better use the real file rather than another symlink,
15161    # but for link time we create the symlink libNAME.so -> libNAME.so.V
15162
15163    case $with_aix_soname,$aix_use_runtimelinking in
15164    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15165    # soname into executable. Probably we can add versioning support to
15166    # collect2, so additional links can be useful in future.
15167    aix,yes) # traditional libtool
15168      dynamic_linker='AIX unversionable lib.so'
15169      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15170      # instead of lib<name>.a to let people know that these are not
15171      # typical AIX shared libraries.
15172      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15173      ;;
15174    aix,no) # traditional AIX only
15175      dynamic_linker='AIX lib.a(lib.so.V)'
15176      # We preserve .a as extension for shared libraries through AIX4.2
15177      # and later when we are not doing run time linking.
15178      library_names_spec='$libname$release.a $libname.a'
15179      soname_spec='$libname$release$shared_ext$major'
15180      ;;
15181    svr4,*) # full svr4 only
15182      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
15183      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15184      # We do not specify a path in Import Files, so LIBPATH fires.
15185      shlibpath_overrides_runpath=yes
15186      ;;
15187    *,yes) # both, prefer svr4
15188      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15189      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15190      # unpreferred sharedlib libNAME.a needs extra handling
15191      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"'
15192      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"'
15193      # We do not specify a path in Import Files, so LIBPATH fires.
15194      shlibpath_overrides_runpath=yes
15195      ;;
15196    *,no) # both, prefer aix
15197      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15198      library_names_spec='$libname$release.a $libname.a'
15199      soname_spec='$libname$release$shared_ext$major'
15200      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15201      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)'
15202      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"'
15203      ;;
15204    esac
15205    shlibpath_var=LIBPATH
15206  fi
15207  ;;
15208
15209amigaos*)
15210  case $host_cpu in
15211  powerpc)
15212    # Since July 2007 AmigaOS4 officially supports .so libraries.
15213    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15214    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15215    ;;
15216  m68k)
15217    library_names_spec='$libname.ixlibrary $libname.a'
15218    # Create ${libname}_ixlibrary.a entries in /sys/libs.
15219    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'
15220    ;;
15221  esac
15222  ;;
15223
15224beos*)
15225  library_names_spec='$libname$shared_ext'
15226  dynamic_linker="$host_os ld.so"
15227  shlibpath_var=LIBRARY_PATH
15228  ;;
15229
15230bsdi[45]*)
15231  version_type=linux # correct to gnu/linux during the next big refactor
15232  need_version=no
15233  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15234  soname_spec='$libname$release$shared_ext$major'
15235  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15236  shlibpath_var=LD_LIBRARY_PATH
15237  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15238  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15239  # the default ld.so.conf also contains /usr/contrib/lib and
15240  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15241  # libtool to hard-code these into programs
15242  ;;
15243
15244cygwin* | mingw* | pw32* | cegcc*)
15245  version_type=windows
15246  shrext_cmds=.dll
15247  need_version=no
15248  need_lib_prefix=no
15249
15250  case $GCC,$cc_basename in
15251  yes,*)
15252    # gcc
15253    library_names_spec='$libname.dll.a'
15254    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15255    postinstall_cmds='base_file=`basename \$file`~
15256      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15257      dldir=$destdir/`dirname \$dlpath`~
15258      test -d \$dldir || mkdir -p \$dldir~
15259      $install_prog $dir/$dlname \$dldir/$dlname~
15260      chmod a+x \$dldir/$dlname~
15261      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15262        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15263      fi'
15264    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15265      dlpath=$dir/\$dldll~
15266       $RM \$dlpath'
15267    shlibpath_overrides_runpath=yes
15268
15269    case $host_os in
15270    cygwin*)
15271      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15272      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15273
15274      ;;
15275    mingw* | cegcc*)
15276      # MinGW DLLs use traditional 'lib' prefix
15277      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15278      ;;
15279    pw32*)
15280      # pw32 DLLs use 'pw' prefix rather than 'lib'
15281      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15282      ;;
15283    esac
15284    dynamic_linker='Win32 ld.exe'
15285    ;;
15286
15287  *,cl*)
15288    # Native MSVC
15289    libname_spec='$name'
15290    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15291    library_names_spec='$libname.dll.lib'
15292
15293    case $build_os in
15294    mingw*)
15295      sys_lib_search_path_spec=
15296      lt_save_ifs=$IFS
15297      IFS=';'
15298      for lt_path in $LIB
15299      do
15300        IFS=$lt_save_ifs
15301        # Let DOS variable expansion print the short 8.3 style file name.
15302        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15303        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15304      done
15305      IFS=$lt_save_ifs
15306      # Convert to MSYS style.
15307      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15308      ;;
15309    cygwin*)
15310      # Convert to unix form, then to dos form, then back to unix form
15311      # but this time dos style (no spaces!) so that the unix form looks
15312      # like /cygdrive/c/PROGRA~1:/cygdr...
15313      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15314      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15315      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15316      ;;
15317    *)
15318      sys_lib_search_path_spec=$LIB
15319      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15320        # It is most probably a Windows format PATH.
15321        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15322      else
15323        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15324      fi
15325      # FIXME: find the short name or the path components, as spaces are
15326      # common. (e.g. "Program Files" -> "PROGRA~1")
15327      ;;
15328    esac
15329
15330    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15331    postinstall_cmds='base_file=`basename \$file`~
15332      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15333      dldir=$destdir/`dirname \$dlpath`~
15334      test -d \$dldir || mkdir -p \$dldir~
15335      $install_prog $dir/$dlname \$dldir/$dlname'
15336    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15337      dlpath=$dir/\$dldll~
15338       $RM \$dlpath'
15339    shlibpath_overrides_runpath=yes
15340    dynamic_linker='Win32 link.exe'
15341    ;;
15342
15343  *)
15344    # Assume MSVC wrapper
15345    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
15346    dynamic_linker='Win32 ld.exe'
15347    ;;
15348  esac
15349  # FIXME: first we should search . and the directory the executable is in
15350  shlibpath_var=PATH
15351  ;;
15352
15353darwin* | rhapsody*)
15354  dynamic_linker="$host_os dyld"
15355  version_type=darwin
15356  need_lib_prefix=no
15357  need_version=no
15358  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
15359  soname_spec='$libname$release$major$shared_ext'
15360  shlibpath_overrides_runpath=yes
15361  shlibpath_var=DYLD_LIBRARY_PATH
15362  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15363
15364  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15365  ;;
15366
15367dgux*)
15368  version_type=linux # correct to gnu/linux during the next big refactor
15369  need_lib_prefix=no
15370  need_version=no
15371  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15372  soname_spec='$libname$release$shared_ext$major'
15373  shlibpath_var=LD_LIBRARY_PATH
15374  ;;
15375
15376freebsd* | dragonfly*)
15377  # DragonFly does not have aout.  When/if they implement a new
15378  # versioning mechanism, adjust this.
15379  if test -x /usr/bin/objformat; then
15380    objformat=`/usr/bin/objformat`
15381  else
15382    case $host_os in
15383    freebsd[23].*) objformat=aout ;;
15384    *) objformat=elf ;;
15385    esac
15386  fi
15387  version_type=freebsd-$objformat
15388  case $version_type in
15389    freebsd-elf*)
15390      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15391      soname_spec='$libname$release$shared_ext$major'
15392      need_version=no
15393      need_lib_prefix=no
15394      ;;
15395    freebsd-*)
15396      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15397      need_version=yes
15398      ;;
15399  esac
15400  shlibpath_var=LD_LIBRARY_PATH
15401  case $host_os in
15402  freebsd2.*)
15403    shlibpath_overrides_runpath=yes
15404    ;;
15405  freebsd3.[01]* | freebsdelf3.[01]*)
15406    shlibpath_overrides_runpath=yes
15407    hardcode_into_libs=yes
15408    ;;
15409  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15410  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15411    shlibpath_overrides_runpath=no
15412    hardcode_into_libs=yes
15413    ;;
15414  *) # from 4.6 on, and DragonFly
15415    shlibpath_overrides_runpath=yes
15416    hardcode_into_libs=yes
15417    ;;
15418  esac
15419  ;;
15420
15421haiku*)
15422  version_type=linux # correct to gnu/linux during the next big refactor
15423  need_lib_prefix=no
15424  need_version=no
15425  dynamic_linker="$host_os runtime_loader"
15426  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15427  soname_spec='$libname$release$shared_ext$major'
15428  shlibpath_var=LIBRARY_PATH
15429  shlibpath_overrides_runpath=no
15430  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15431  hardcode_into_libs=yes
15432  ;;
15433
15434hpux9* | hpux10* | hpux11*)
15435  # Give a soname corresponding to the major version so that dld.sl refuses to
15436  # link against other versions.
15437  version_type=sunos
15438  need_lib_prefix=no
15439  need_version=no
15440  case $host_cpu in
15441  ia64*)
15442    shrext_cmds='.so'
15443    hardcode_into_libs=yes
15444    dynamic_linker="$host_os dld.so"
15445    shlibpath_var=LD_LIBRARY_PATH
15446    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15447    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15448    soname_spec='$libname$release$shared_ext$major'
15449    if test 32 = "$HPUX_IA64_MODE"; then
15450      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15451      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
15452    else
15453      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15454      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
15455    fi
15456    ;;
15457  hppa*64*)
15458    shrext_cmds='.sl'
15459    hardcode_into_libs=yes
15460    dynamic_linker="$host_os dld.sl"
15461    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15462    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15463    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15464    soname_spec='$libname$release$shared_ext$major'
15465    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15466    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15467    ;;
15468  *)
15469    shrext_cmds='.sl'
15470    dynamic_linker="$host_os dld.sl"
15471    shlibpath_var=SHLIB_PATH
15472    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15473    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15474    soname_spec='$libname$release$shared_ext$major'
15475    ;;
15476  esac
15477  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15478  postinstall_cmds='chmod 555 $lib'
15479  # or fails outright, so override atomically:
15480  install_override_mode=555
15481  ;;
15482
15483interix[3-9]*)
15484  version_type=linux # correct to gnu/linux during the next big refactor
15485  need_lib_prefix=no
15486  need_version=no
15487  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15488  soname_spec='$libname$release$shared_ext$major'
15489  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15490  shlibpath_var=LD_LIBRARY_PATH
15491  shlibpath_overrides_runpath=no
15492  hardcode_into_libs=yes
15493  ;;
15494
15495irix5* | irix6* | nonstopux*)
15496  case $host_os in
15497    nonstopux*) version_type=nonstopux ;;
15498    *)
15499	if test yes = "$lt_cv_prog_gnu_ld"; then
15500		version_type=linux # correct to gnu/linux during the next big refactor
15501	else
15502		version_type=irix
15503	fi ;;
15504  esac
15505  need_lib_prefix=no
15506  need_version=no
15507  soname_spec='$libname$release$shared_ext$major'
15508  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
15509  case $host_os in
15510  irix5* | nonstopux*)
15511    libsuff= shlibsuff=
15512    ;;
15513  *)
15514    case $LD in # libtool.m4 will add one of these switches to LD
15515    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15516      libsuff= shlibsuff= libmagic=32-bit;;
15517    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15518      libsuff=32 shlibsuff=N32 libmagic=N32;;
15519    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15520      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15521    *) libsuff= shlibsuff= libmagic=never-match;;
15522    esac
15523    ;;
15524  esac
15525  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15526  shlibpath_overrides_runpath=no
15527  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
15528  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
15529  hardcode_into_libs=yes
15530  ;;
15531
15532# No shared lib support for Linux oldld, aout, or coff.
15533linux*oldld* | linux*aout* | linux*coff*)
15534  dynamic_linker=no
15535  ;;
15536
15537linux*android*)
15538  version_type=none # Android doesn't support versioned libraries.
15539  need_lib_prefix=no
15540  need_version=no
15541  library_names_spec='$libname$release$shared_ext'
15542  soname_spec='$libname$release$shared_ext'
15543  finish_cmds=
15544  shlibpath_var=LD_LIBRARY_PATH
15545  shlibpath_overrides_runpath=yes
15546
15547  # This implies no fast_install, which is unacceptable.
15548  # Some rework will be needed to allow for fast_install
15549  # before this can be enabled.
15550  hardcode_into_libs=yes
15551
15552  dynamic_linker='Android linker'
15553  # Don't embed -rpath directories since the linker doesn't support them.
15554  hardcode_libdir_flag_spec_CXX='-L$libdir'
15555  ;;
15556
15557# This must be glibc/ELF.
15558linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15559  version_type=linux # correct to gnu/linux during the next big refactor
15560  need_lib_prefix=no
15561  need_version=no
15562  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15563  soname_spec='$libname$release$shared_ext$major'
15564  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15565  shlibpath_var=LD_LIBRARY_PATH
15566  shlibpath_overrides_runpath=no
15567
15568  # Some binutils ld are patched to set DT_RUNPATH
15569  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15570  $as_echo_n "(cached) " >&6
15571else
15572  lt_cv_shlibpath_overrides_runpath=no
15573    save_LDFLAGS=$LDFLAGS
15574    save_libdir=$libdir
15575    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15576	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15577    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15578/* end confdefs.h.  */
15579
15580int
15581main ()
15582{
15583
15584  ;
15585  return 0;
15586}
15587_ACEOF
15588if ac_fn_cxx_try_link "$LINENO"; then :
15589  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15590  lt_cv_shlibpath_overrides_runpath=yes
15591fi
15592fi
15593rm -f core conftest.err conftest.$ac_objext \
15594    conftest$ac_exeext conftest.$ac_ext
15595    LDFLAGS=$save_LDFLAGS
15596    libdir=$save_libdir
15597
15598fi
15599
15600  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15601
15602  # This implies no fast_install, which is unacceptable.
15603  # Some rework will be needed to allow for fast_install
15604  # before this can be enabled.
15605  hardcode_into_libs=yes
15606
15607  # Ideally, we could use ldconfig to report *all* directores which are
15608  # searched for libraries, however this is still not possible.  Aside from not
15609  # being certain /sbin/ldconfig is available, command
15610  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
15611  # even though it is searched at run-time.  Try to do the best guess by
15612  # appending ld.so.conf contents (and includes) to the search path.
15613  if test -f /etc/ld.so.conf; then
15614    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' ' '`
15615    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15616  fi
15617
15618  # We used to test for /lib/ld.so.1 and disable shared libraries on
15619  # powerpc, because MkLinux only supported shared libraries with the
15620  # GNU dynamic linker.  Since this was broken with cross compilers,
15621  # most powerpc-linux boxes support dynamic linking these days and
15622  # people can always --disable-shared, the test was removed, and we
15623  # assume the GNU/Linux dynamic linker is in use.
15624  dynamic_linker='GNU/Linux ld.so'
15625  ;;
15626
15627netbsd*)
15628  version_type=sunos
15629  need_lib_prefix=no
15630  need_version=no
15631  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15632    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15633    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15634    dynamic_linker='NetBSD (a.out) ld.so'
15635  else
15636    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15637    soname_spec='$libname$release$shared_ext$major'
15638    dynamic_linker='NetBSD ld.elf_so'
15639  fi
15640  shlibpath_var=LD_LIBRARY_PATH
15641  shlibpath_overrides_runpath=yes
15642  hardcode_into_libs=yes
15643  ;;
15644
15645newsos6)
15646  version_type=linux # correct to gnu/linux during the next big refactor
15647  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15648  shlibpath_var=LD_LIBRARY_PATH
15649  shlibpath_overrides_runpath=yes
15650  ;;
15651
15652*nto* | *qnx*)
15653  version_type=qnx
15654  need_lib_prefix=no
15655  need_version=no
15656  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15657  soname_spec='$libname$release$shared_ext$major'
15658  shlibpath_var=LD_LIBRARY_PATH
15659  shlibpath_overrides_runpath=no
15660  hardcode_into_libs=yes
15661  dynamic_linker='ldqnx.so'
15662  ;;
15663
15664openbsd* | bitrig*)
15665  version_type=sunos
15666  sys_lib_dlsearch_path_spec=/usr/lib
15667  need_lib_prefix=no
15668  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
15669    need_version=no
15670  else
15671    need_version=yes
15672  fi
15673  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15674  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15675  shlibpath_var=LD_LIBRARY_PATH
15676  shlibpath_overrides_runpath=yes
15677  ;;
15678
15679os2*)
15680  libname_spec='$name'
15681  version_type=windows
15682  shrext_cmds=.dll
15683  need_version=no
15684  need_lib_prefix=no
15685  # OS/2 can only load a DLL with a base name of 8 characters or less.
15686  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
15687    v=$($ECHO $release$versuffix | tr -d .-);
15688    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
15689    $ECHO $n$v`$shared_ext'
15690  library_names_spec='${libname}_dll.$libext'
15691  dynamic_linker='OS/2 ld.exe'
15692  shlibpath_var=BEGINLIBPATH
15693  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15694  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15695  postinstall_cmds='base_file=`basename \$file`~
15696    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
15697    dldir=$destdir/`dirname \$dlpath`~
15698    test -d \$dldir || mkdir -p \$dldir~
15699    $install_prog $dir/$dlname \$dldir/$dlname~
15700    chmod a+x \$dldir/$dlname~
15701    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15702      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15703    fi'
15704  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
15705    dlpath=$dir/\$dldll~
15706    $RM \$dlpath'
15707  ;;
15708
15709osf3* | osf4* | osf5*)
15710  version_type=osf
15711  need_lib_prefix=no
15712  need_version=no
15713  soname_spec='$libname$release$shared_ext$major'
15714  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15715  shlibpath_var=LD_LIBRARY_PATH
15716  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15717  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15718  ;;
15719
15720rdos*)
15721  dynamic_linker=no
15722  ;;
15723
15724solaris*)
15725  version_type=linux # correct to gnu/linux during the next big refactor
15726  need_lib_prefix=no
15727  need_version=no
15728  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15729  soname_spec='$libname$release$shared_ext$major'
15730  shlibpath_var=LD_LIBRARY_PATH
15731  shlibpath_overrides_runpath=yes
15732  hardcode_into_libs=yes
15733  # ldd complains unless libraries are executable
15734  postinstall_cmds='chmod +x $lib'
15735  ;;
15736
15737sunos4*)
15738  version_type=sunos
15739  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15740  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15741  shlibpath_var=LD_LIBRARY_PATH
15742  shlibpath_overrides_runpath=yes
15743  if test yes = "$with_gnu_ld"; then
15744    need_lib_prefix=no
15745  fi
15746  need_version=yes
15747  ;;
15748
15749sysv4 | sysv4.3*)
15750  version_type=linux # correct to gnu/linux during the next big refactor
15751  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15752  soname_spec='$libname$release$shared_ext$major'
15753  shlibpath_var=LD_LIBRARY_PATH
15754  case $host_vendor in
15755    sni)
15756      shlibpath_overrides_runpath=no
15757      need_lib_prefix=no
15758      runpath_var=LD_RUN_PATH
15759      ;;
15760    siemens)
15761      need_lib_prefix=no
15762      ;;
15763    motorola)
15764      need_lib_prefix=no
15765      need_version=no
15766      shlibpath_overrides_runpath=no
15767      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15768      ;;
15769  esac
15770  ;;
15771
15772sysv4*MP*)
15773  if test -d /usr/nec; then
15774    version_type=linux # correct to gnu/linux during the next big refactor
15775    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
15776    soname_spec='$libname$shared_ext.$major'
15777    shlibpath_var=LD_LIBRARY_PATH
15778  fi
15779  ;;
15780
15781sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15782  version_type=sco
15783  need_lib_prefix=no
15784  need_version=no
15785  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
15786  soname_spec='$libname$release$shared_ext$major'
15787  shlibpath_var=LD_LIBRARY_PATH
15788  shlibpath_overrides_runpath=yes
15789  hardcode_into_libs=yes
15790  if test yes = "$with_gnu_ld"; then
15791    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15792  else
15793    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15794    case $host_os in
15795      sco3.2v5*)
15796        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15797	;;
15798    esac
15799  fi
15800  sys_lib_dlsearch_path_spec='/usr/lib'
15801  ;;
15802
15803tpf*)
15804  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15805  version_type=linux # correct to gnu/linux during the next big refactor
15806  need_lib_prefix=no
15807  need_version=no
15808  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15809  shlibpath_var=LD_LIBRARY_PATH
15810  shlibpath_overrides_runpath=no
15811  hardcode_into_libs=yes
15812  ;;
15813
15814uts4*)
15815  version_type=linux # correct to gnu/linux during the next big refactor
15816  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15817  soname_spec='$libname$release$shared_ext$major'
15818  shlibpath_var=LD_LIBRARY_PATH
15819  ;;
15820
15821*)
15822  dynamic_linker=no
15823  ;;
15824esac
15825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15826$as_echo "$dynamic_linker" >&6; }
15827test no = "$dynamic_linker" && can_build_shared=no
15828
15829variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15830if test yes = "$GCC"; then
15831  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15832fi
15833
15834if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
15835  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
15836fi
15837
15838if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
15839  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
15840fi
15841
15842# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
15843configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
15844
15845# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
15846func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
15847
15848# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
15849configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15891$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15892hardcode_action_CXX=
15893if test -n "$hardcode_libdir_flag_spec_CXX" ||
15894   test -n "$runpath_var_CXX" ||
15895   test yes = "$hardcode_automatic_CXX"; then
15896
15897  # We can hardcode non-existent directories.
15898  if test no != "$hardcode_direct_CXX" &&
15899     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15900     # have to relink, otherwise we might link with an installed library
15901     # when we should be linking with a yet-to-be-installed one
15902     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
15903     test no != "$hardcode_minus_L_CXX"; then
15904    # Linking always hardcodes the temporary library directory.
15905    hardcode_action_CXX=relink
15906  else
15907    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15908    hardcode_action_CXX=immediate
15909  fi
15910else
15911  # We cannot hardcode anything, or else we can only hardcode existing
15912  # directories.
15913  hardcode_action_CXX=unsupported
15914fi
15915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15916$as_echo "$hardcode_action_CXX" >&6; }
15917
15918if test relink = "$hardcode_action_CXX" ||
15919   test yes = "$inherit_rpath_CXX"; then
15920  # Fast installation is not supported
15921  enable_fast_install=no
15922elif test yes = "$shlibpath_overrides_runpath" ||
15923     test no = "$enable_shared"; then
15924  # Fast installation is not necessary
15925  enable_fast_install=needless
15926fi
15927
15928
15929
15930
15931
15932
15933
15934  fi # test -n "$compiler"
15935
15936  CC=$lt_save_CC
15937  CFLAGS=$lt_save_CFLAGS
15938  LDCXX=$LD
15939  LD=$lt_save_LD
15940  GCC=$lt_save_GCC
15941  with_gnu_ld=$lt_save_with_gnu_ld
15942  lt_cv_path_LDCXX=$lt_cv_path_LD
15943  lt_cv_path_LD=$lt_save_path_LD
15944  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15945  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15946fi # test yes != "$_lt_caught_CXX_error"
15947
15948ac_ext=c
15949ac_cpp='$CPP $CPPFLAGS'
15950ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15951ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15952ac_compiler_gnu=$ac_cv_c_compiler_gnu
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968        ac_config_commands="$ac_config_commands libtool"
15969
15970
15971
15972
15973# Only expand once:
15974
15975
15976
15977# Checks for libraries.
15978
15979
15980
15981
15982
15983
15984
15985if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15986	if test -n "$ac_tool_prefix"; then
15987  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15988set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15990$as_echo_n "checking for $ac_word... " >&6; }
15991if ${ac_cv_path_PKG_CONFIG+:} false; then :
15992  $as_echo_n "(cached) " >&6
15993else
15994  case $PKG_CONFIG in
15995  [\\/]* | ?:[\\/]*)
15996  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15997  ;;
15998  *)
15999  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16000for as_dir in $PATH
16001do
16002  IFS=$as_save_IFS
16003  test -z "$as_dir" && as_dir=.
16004    for ac_exec_ext in '' $ac_executable_extensions; do
16005  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16006    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16007    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16008    break 2
16009  fi
16010done
16011  done
16012IFS=$as_save_IFS
16013
16014  ;;
16015esac
16016fi
16017PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16018if test -n "$PKG_CONFIG"; then
16019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16020$as_echo "$PKG_CONFIG" >&6; }
16021else
16022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16023$as_echo "no" >&6; }
16024fi
16025
16026
16027fi
16028if test -z "$ac_cv_path_PKG_CONFIG"; then
16029  ac_pt_PKG_CONFIG=$PKG_CONFIG
16030  # Extract the first word of "pkg-config", so it can be a program name with args.
16031set dummy pkg-config; ac_word=$2
16032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16033$as_echo_n "checking for $ac_word... " >&6; }
16034if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16035  $as_echo_n "(cached) " >&6
16036else
16037  case $ac_pt_PKG_CONFIG in
16038  [\\/]* | ?:[\\/]*)
16039  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16040  ;;
16041  *)
16042  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16043for as_dir in $PATH
16044do
16045  IFS=$as_save_IFS
16046  test -z "$as_dir" && as_dir=.
16047    for ac_exec_ext in '' $ac_executable_extensions; do
16048  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16049    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16050    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16051    break 2
16052  fi
16053done
16054  done
16055IFS=$as_save_IFS
16056
16057  ;;
16058esac
16059fi
16060ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16061if test -n "$ac_pt_PKG_CONFIG"; then
16062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16063$as_echo "$ac_pt_PKG_CONFIG" >&6; }
16064else
16065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16066$as_echo "no" >&6; }
16067fi
16068
16069  if test "x$ac_pt_PKG_CONFIG" = x; then
16070    PKG_CONFIG=""
16071  else
16072    case $cross_compiling:$ac_tool_warned in
16073yes:)
16074{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16075$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16076ac_tool_warned=yes ;;
16077esac
16078    PKG_CONFIG=$ac_pt_PKG_CONFIG
16079  fi
16080else
16081  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16082fi
16083
16084fi
16085if test -n "$PKG_CONFIG"; then
16086	_pkg_min_version=0.9.0
16087	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16088$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16089	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16090		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16091$as_echo "yes" >&6; }
16092	else
16093		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16094$as_echo "no" >&6; }
16095		PKG_CONFIG=""
16096	fi
16097fi
16098
16099pkg_failed=no
16100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb" >&5
16101$as_echo_n "checking for libusb... " >&6; }
16102
16103if test -n "$libusb_CFLAGS"; then
16104    pkg_cv_libusb_CFLAGS="$libusb_CFLAGS"
16105 elif test -n "$PKG_CONFIG"; then
16106    if test -n "$PKG_CONFIG" && \
16107    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-1.0 >= 1.0.9\""; } >&5
16108  ($PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.9") 2>&5
16109  ac_status=$?
16110  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16111  test $ac_status = 0; }; then
16112  pkg_cv_libusb_CFLAGS=`$PKG_CONFIG --cflags "libusb-1.0 >= 1.0.9" 2>/dev/null`
16113		      test "x$?" != "x0" && pkg_failed=yes
16114else
16115  pkg_failed=yes
16116fi
16117 else
16118    pkg_failed=untried
16119fi
16120if test -n "$libusb_LIBS"; then
16121    pkg_cv_libusb_LIBS="$libusb_LIBS"
16122 elif test -n "$PKG_CONFIG"; then
16123    if test -n "$PKG_CONFIG" && \
16124    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-1.0 >= 1.0.9\""; } >&5
16125  ($PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.9") 2>&5
16126  ac_status=$?
16127  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16128  test $ac_status = 0; }; then
16129  pkg_cv_libusb_LIBS=`$PKG_CONFIG --libs "libusb-1.0 >= 1.0.9" 2>/dev/null`
16130		      test "x$?" != "x0" && pkg_failed=yes
16131else
16132  pkg_failed=yes
16133fi
16134 else
16135    pkg_failed=untried
16136fi
16137
16138
16139
16140if test $pkg_failed = yes; then
16141   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16142$as_echo "no" >&6; }
16143
16144if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16145        _pkg_short_errors_supported=yes
16146else
16147        _pkg_short_errors_supported=no
16148fi
16149        if test $_pkg_short_errors_supported = yes; then
16150	        libusb_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libusb-1.0 >= 1.0.9" 2>&1`
16151        else
16152	        libusb_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libusb-1.0 >= 1.0.9" 2>&1`
16153        fi
16154	# Put the nasty error message in config.log where it belongs
16155	echo "$libusb_PKG_ERRORS" >&5
16156
16157	as_fn_error $? "Package requirements (libusb-1.0 >= 1.0.9) were not met:
16158
16159$libusb_PKG_ERRORS
16160
16161Consider adjusting the PKG_CONFIG_PATH environment variable if you
16162installed software in a non-standard prefix.
16163
16164Alternatively, you may set the environment variables libusb_CFLAGS
16165and libusb_LIBS to avoid the need to call pkg-config.
16166See the pkg-config man page for more details." "$LINENO" 5
16167elif test $pkg_failed = untried; then
16168     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16169$as_echo "no" >&6; }
16170	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16171$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16172as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16173is in your PATH or set the PKG_CONFIG environment variable to the full
16174path to pkg-config.
16175
16176Alternatively, you may set the environment variables libusb_CFLAGS
16177and libusb_LIBS to avoid the need to call pkg-config.
16178See the pkg-config man page for more details.
16179
16180To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16181See \`config.log' for more details" "$LINENO" 5; }
16182else
16183	libusb_CFLAGS=$pkg_cv_libusb_CFLAGS
16184	libusb_LIBS=$pkg_cv_libusb_LIBS
16185        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16186$as_echo "yes" >&6; }
16187
16188fi
16189
16190pkg_failed=no
16191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libplist" >&5
16192$as_echo_n "checking for libplist... " >&6; }
16193
16194if test -n "$libplist_CFLAGS"; then
16195    pkg_cv_libplist_CFLAGS="$libplist_CFLAGS"
16196 elif test -n "$PKG_CONFIG"; then
16197    if test -n "$PKG_CONFIG" && \
16198    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libplist-2.0 >= 2.2.0\""; } >&5
16199  ($PKG_CONFIG --exists --print-errors "libplist-2.0 >= 2.2.0") 2>&5
16200  ac_status=$?
16201  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16202  test $ac_status = 0; }; then
16203  pkg_cv_libplist_CFLAGS=`$PKG_CONFIG --cflags "libplist-2.0 >= 2.2.0" 2>/dev/null`
16204		      test "x$?" != "x0" && pkg_failed=yes
16205else
16206  pkg_failed=yes
16207fi
16208 else
16209    pkg_failed=untried
16210fi
16211if test -n "$libplist_LIBS"; then
16212    pkg_cv_libplist_LIBS="$libplist_LIBS"
16213 elif test -n "$PKG_CONFIG"; then
16214    if test -n "$PKG_CONFIG" && \
16215    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libplist-2.0 >= 2.2.0\""; } >&5
16216  ($PKG_CONFIG --exists --print-errors "libplist-2.0 >= 2.2.0") 2>&5
16217  ac_status=$?
16218  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16219  test $ac_status = 0; }; then
16220  pkg_cv_libplist_LIBS=`$PKG_CONFIG --libs "libplist-2.0 >= 2.2.0" 2>/dev/null`
16221		      test "x$?" != "x0" && pkg_failed=yes
16222else
16223  pkg_failed=yes
16224fi
16225 else
16226    pkg_failed=untried
16227fi
16228
16229
16230
16231if test $pkg_failed = yes; then
16232   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16233$as_echo "no" >&6; }
16234
16235if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16236        _pkg_short_errors_supported=yes
16237else
16238        _pkg_short_errors_supported=no
16239fi
16240        if test $_pkg_short_errors_supported = yes; then
16241	        libplist_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libplist-2.0 >= 2.2.0" 2>&1`
16242        else
16243	        libplist_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libplist-2.0 >= 2.2.0" 2>&1`
16244        fi
16245	# Put the nasty error message in config.log where it belongs
16246	echo "$libplist_PKG_ERRORS" >&5
16247
16248	as_fn_error $? "Package requirements (libplist-2.0 >= 2.2.0) were not met:
16249
16250$libplist_PKG_ERRORS
16251
16252Consider adjusting the PKG_CONFIG_PATH environment variable if you
16253installed software in a non-standard prefix.
16254
16255Alternatively, you may set the environment variables libplist_CFLAGS
16256and libplist_LIBS to avoid the need to call pkg-config.
16257See the pkg-config man page for more details." "$LINENO" 5
16258elif test $pkg_failed = untried; then
16259     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16260$as_echo "no" >&6; }
16261	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16262$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16263as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16264is in your PATH or set the PKG_CONFIG environment variable to the full
16265path to pkg-config.
16266
16267Alternatively, you may set the environment variables libplist_CFLAGS
16268and libplist_LIBS to avoid the need to call pkg-config.
16269See the pkg-config man page for more details.
16270
16271To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16272See \`config.log' for more details" "$LINENO" 5; }
16273else
16274	libplist_CFLAGS=$pkg_cv_libplist_CFLAGS
16275	libplist_LIBS=$pkg_cv_libplist_LIBS
16276        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16277$as_echo "yes" >&6; }
16278
16279fi
16280
16281pkg_failed=no
16282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libimobiledevice" >&5
16283$as_echo_n "checking for libimobiledevice... " >&6; }
16284
16285if test -n "$libimobiledevice_CFLAGS"; then
16286    pkg_cv_libimobiledevice_CFLAGS="$libimobiledevice_CFLAGS"
16287 elif test -n "$PKG_CONFIG"; then
16288    if test -n "$PKG_CONFIG" && \
16289    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libimobiledevice-1.0 >= 1.3.0\""; } >&5
16290  ($PKG_CONFIG --exists --print-errors "libimobiledevice-1.0 >= 1.3.0") 2>&5
16291  ac_status=$?
16292  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16293  test $ac_status = 0; }; then
16294  pkg_cv_libimobiledevice_CFLAGS=`$PKG_CONFIG --cflags "libimobiledevice-1.0 >= 1.3.0" 2>/dev/null`
16295		      test "x$?" != "x0" && pkg_failed=yes
16296else
16297  pkg_failed=yes
16298fi
16299 else
16300    pkg_failed=untried
16301fi
16302if test -n "$libimobiledevice_LIBS"; then
16303    pkg_cv_libimobiledevice_LIBS="$libimobiledevice_LIBS"
16304 elif test -n "$PKG_CONFIG"; then
16305    if test -n "$PKG_CONFIG" && \
16306    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libimobiledevice-1.0 >= 1.3.0\""; } >&5
16307  ($PKG_CONFIG --exists --print-errors "libimobiledevice-1.0 >= 1.3.0") 2>&5
16308  ac_status=$?
16309  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16310  test $ac_status = 0; }; then
16311  pkg_cv_libimobiledevice_LIBS=`$PKG_CONFIG --libs "libimobiledevice-1.0 >= 1.3.0" 2>/dev/null`
16312		      test "x$?" != "x0" && pkg_failed=yes
16313else
16314  pkg_failed=yes
16315fi
16316 else
16317    pkg_failed=untried
16318fi
16319
16320
16321
16322if test $pkg_failed = yes; then
16323   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16324$as_echo "no" >&6; }
16325
16326if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16327        _pkg_short_errors_supported=yes
16328else
16329        _pkg_short_errors_supported=no
16330fi
16331        if test $_pkg_short_errors_supported = yes; then
16332	        libimobiledevice_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libimobiledevice-1.0 >= 1.3.0" 2>&1`
16333        else
16334	        libimobiledevice_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libimobiledevice-1.0 >= 1.3.0" 2>&1`
16335        fi
16336	# Put the nasty error message in config.log where it belongs
16337	echo "$libimobiledevice_PKG_ERRORS" >&5
16338
16339	have_limd=no
16340elif test $pkg_failed = untried; then
16341     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16342$as_echo "no" >&6; }
16343	have_limd=no
16344else
16345	libimobiledevice_CFLAGS=$pkg_cv_libimobiledevice_CFLAGS
16346	libimobiledevice_LIBS=$pkg_cv_libimobiledevice_LIBS
16347        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16348$as_echo "yes" >&6; }
16349	have_limd=yes
16350fi
16351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create, pthread_mutex_lock in -lpthread" >&5
16352$as_echo_n "checking for pthread_create, pthread_mutex_lock in -lpthread... " >&6; }
16353if ${ac_cv_lib_pthread_pthread_create__pthread_mutex_lock+:} false; then :
16354  $as_echo_n "(cached) " >&6
16355else
16356  ac_check_lib_save_LIBS=$LIBS
16357LIBS="-lpthread  $LIBS"
16358cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16359/* end confdefs.h.  */
16360
16361/* Override any GCC internal prototype to avoid an error.
16362   Use char because int might match the return type of a GCC
16363   builtin and then its argument prototype would still apply.  */
16364#ifdef __cplusplus
16365extern "C"
16366#endif
16367char pthread_create, pthread_mutex_lock ();
16368int
16369main ()
16370{
16371return pthread_create, pthread_mutex_lock ();
16372  ;
16373  return 0;
16374}
16375_ACEOF
16376if ac_fn_c_try_link "$LINENO"; then :
16377  ac_cv_lib_pthread_pthread_create__pthread_mutex_lock=yes
16378else
16379  ac_cv_lib_pthread_pthread_create__pthread_mutex_lock=no
16380fi
16381rm -f core conftest.err conftest.$ac_objext \
16382    conftest$ac_exeext conftest.$ac_ext
16383LIBS=$ac_check_lib_save_LIBS
16384fi
16385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create__pthread_mutex_lock" >&5
16386$as_echo "$ac_cv_lib_pthread_pthread_create__pthread_mutex_lock" >&6; }
16387if test "x$ac_cv_lib_pthread_pthread_create__pthread_mutex_lock" = xyes; then :
16388  libpthread_LIBS=-lpthread
16389
16390else
16391  as_fn_error $? "libpthread is required to build usbmuxd" "$LINENO" 5
16392fi
16393
16394
16395
16396# Check whether --with-preflight was given.
16397if test "${with_preflight+set}" = set; then :
16398  withval=$with_preflight; with_preflight=no
16399else
16400  with_preflight=yes
16401fi
16402
16403
16404if test "x$have_limd" = "xyes"; then
16405  if test "x$with_preflight" != "xyes"; then
16406    have_limd=no
16407    echo "*** Note: preflight worker support has been disabled ***"
16408  else
16409
16410$as_echo "#define HAVE_LIBIMOBILEDEVICE 1" >>confdefs.h
16411
16412
16413
16414    CACHED_CFLAGS="$CFLAGS"
16415    CFLAGS+=" $libimobiledevice_CFLAGS"
16416    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enum idevice_connection_type" >&5
16417$as_echo_n "checking for enum idevice_connection_type... " >&6; }
16418if ${ac_cv_enum_idevice_connection_type+:} false; then :
16419  $as_echo_n "(cached) " >&6
16420else
16421  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16422/* end confdefs.h.  */
16423
16424        #include <libimobiledevice/libimobiledevice.h>
16425
16426int
16427main ()
16428{
16429
16430        enum idevice_connection_type conn_type = CONNECTION_USBMUXD;
16431
16432  ;
16433  return 0;
16434}
16435_ACEOF
16436if ac_fn_c_try_compile "$LINENO"; then :
16437  ac_cv_enum_idevice_connection_type=yes
16438else
16439  ac_cv_enum_idevice_connection_type=no
16440fi
16441rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16442fi
16443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enum_idevice_connection_type" >&5
16444$as_echo "$ac_cv_enum_idevice_connection_type" >&6; }
16445    CFLAGS="$CACHED_CFLAGS"
16446    if (test "$ac_cv_enum_idevice_connection_type" = "yes"); then
16447
16448$as_echo "#define HAVE_ENUM_IDEVICE_CONNECTION_TYPE 1" >>confdefs.h
16449
16450    fi
16451  fi
16452else
16453  if test "x$with_preflight" == "xyes"; then
16454    as_fn_error $? "preflight worker support requested but libimobiledevice could not be found" "$LINENO" 5
16455  fi
16456fi
16457
16458
16459# Check whether --with-udevrulesdir was given.
16460if test "${with_udevrulesdir+set}" = set; then :
16461  withval=$with_udevrulesdir;
16462else
16463  with_udevrulesdir=auto
16464fi
16465
16466if test "x$with_udevrulesdir" = "xauto"; then
16467  udevdir=$($PKG_CONFIG --variable=udevdir udev)
16468  if test "x$udevdir" != "x"; then
16469    with_udevrulesdir=$udevdir"/rules.d"
16470  else
16471    with_udevrulesdir=$prefix/lib/udev/rules.d
16472  fi
16473fi
16474
16475
16476# Check whether --with-systemd was given.
16477if test "${with_systemd+set}" = set; then :
16478  withval=$with_systemd;
16479else
16480  with_systemd=yes
16481fi
16482
16483
16484
16485# Check whether --with-systemdsystemunitdir was given.
16486if test "${with_systemdsystemunitdir+set}" = set; then :
16487  withval=$with_systemdsystemunitdir; with_systemdsystemunitdir=$withval
16488else
16489  with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
16490fi
16491
16492
16493if test "x$with_systemdsystemunitdir" != xno; then
16494  systemdsystemunitdir=$with_systemdsystemunitdir
16495
16496fi
16497 if test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno -a "x$with_systemd" = "xyes" ; then
16498  WANT_SYSTEMD_TRUE=
16499  WANT_SYSTEMD_FALSE='#'
16500else
16501  WANT_SYSTEMD_TRUE='#'
16502  WANT_SYSTEMD_FALSE=
16503fi
16504
16505
16506if test "x$with_systemd" = xyes; then
16507  udev_activation_rule="ENV{SYSTEMD_WANTS}=\"usbmuxd.service\""
16508else
16509  udev_activation_rule="RUN+=\"@sbindir@/usbmuxd --user usbmux --udev\""
16510fi
16511
16512
16513# Checks for header files.
16514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16515$as_echo_n "checking for ANSI C header files... " >&6; }
16516if ${ac_cv_header_stdc+:} false; then :
16517  $as_echo_n "(cached) " >&6
16518else
16519  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16520/* end confdefs.h.  */
16521#include <stdlib.h>
16522#include <stdarg.h>
16523#include <string.h>
16524#include <float.h>
16525
16526int
16527main ()
16528{
16529
16530  ;
16531  return 0;
16532}
16533_ACEOF
16534if ac_fn_c_try_compile "$LINENO"; then :
16535  ac_cv_header_stdc=yes
16536else
16537  ac_cv_header_stdc=no
16538fi
16539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16540
16541if test $ac_cv_header_stdc = yes; then
16542  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16543  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16544/* end confdefs.h.  */
16545#include <string.h>
16546
16547_ACEOF
16548if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16549  $EGREP "memchr" >/dev/null 2>&1; then :
16550
16551else
16552  ac_cv_header_stdc=no
16553fi
16554rm -f conftest*
16555
16556fi
16557
16558if test $ac_cv_header_stdc = yes; then
16559  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16560  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16561/* end confdefs.h.  */
16562#include <stdlib.h>
16563
16564_ACEOF
16565if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16566  $EGREP "free" >/dev/null 2>&1; then :
16567
16568else
16569  ac_cv_header_stdc=no
16570fi
16571rm -f conftest*
16572
16573fi
16574
16575if test $ac_cv_header_stdc = yes; then
16576  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16577  if test "$cross_compiling" = yes; then :
16578  :
16579else
16580  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16581/* end confdefs.h.  */
16582#include <ctype.h>
16583#include <stdlib.h>
16584#if ((' ' & 0x0FF) == 0x020)
16585# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16586# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16587#else
16588# define ISLOWER(c) \
16589		   (('a' <= (c) && (c) <= 'i') \
16590		     || ('j' <= (c) && (c) <= 'r') \
16591		     || ('s' <= (c) && (c) <= 'z'))
16592# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16593#endif
16594
16595#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16596int
16597main ()
16598{
16599  int i;
16600  for (i = 0; i < 256; i++)
16601    if (XOR (islower (i), ISLOWER (i))
16602	|| toupper (i) != TOUPPER (i))
16603      return 2;
16604  return 0;
16605}
16606_ACEOF
16607if ac_fn_c_try_run "$LINENO"; then :
16608
16609else
16610  ac_cv_header_stdc=no
16611fi
16612rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16613  conftest.$ac_objext conftest.beam conftest.$ac_ext
16614fi
16615
16616fi
16617fi
16618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16619$as_echo "$ac_cv_header_stdc" >&6; }
16620if test $ac_cv_header_stdc = yes; then
16621
16622$as_echo "#define STDC_HEADERS 1" >>confdefs.h
16623
16624fi
16625
16626for ac_header in stdint.h stdlib.h string.h
16627do :
16628  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16629ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16630if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16631  cat >>confdefs.h <<_ACEOF
16632#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16633_ACEOF
16634
16635fi
16636
16637done
16638
16639
16640# Checks for typedefs, structures, and compiler characteristics.
16641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
16642$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16643if ${ac_cv_c_const+:} false; then :
16644  $as_echo_n "(cached) " >&6
16645else
16646  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16647/* end confdefs.h.  */
16648
16649int
16650main ()
16651{
16652
16653#ifndef __cplusplus
16654  /* Ultrix mips cc rejects this sort of thing.  */
16655  typedef int charset[2];
16656  const charset cs = { 0, 0 };
16657  /* SunOS 4.1.1 cc rejects this.  */
16658  char const *const *pcpcc;
16659  char **ppc;
16660  /* NEC SVR4.0.2 mips cc rejects this.  */
16661  struct point {int x, y;};
16662  static struct point const zero = {0,0};
16663  /* AIX XL C 1.02.0.0 rejects this.
16664     It does not let you subtract one const X* pointer from another in
16665     an arm of an if-expression whose if-part is not a constant
16666     expression */
16667  const char *g = "string";
16668  pcpcc = &g + (g ? g-g : 0);
16669  /* HPUX 7.0 cc rejects these. */
16670  ++pcpcc;
16671  ppc = (char**) pcpcc;
16672  pcpcc = (char const *const *) ppc;
16673  { /* SCO 3.2v4 cc rejects this sort of thing.  */
16674    char tx;
16675    char *t = &tx;
16676    char const *s = 0 ? (char *) 0 : (char const *) 0;
16677
16678    *t++ = 0;
16679    if (s) return 0;
16680  }
16681  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
16682    int x[] = {25, 17};
16683    const int *foo = &x[0];
16684    ++foo;
16685  }
16686  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16687    typedef const int *iptr;
16688    iptr p = 0;
16689    ++p;
16690  }
16691  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
16692       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16693    struct s { int j; const int *ap[3]; } bx;
16694    struct s *b = &bx; b->j = 5;
16695  }
16696  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16697    const int foo = 10;
16698    if (!foo) return 0;
16699  }
16700  return !cs[0] && !zero.x;
16701#endif
16702
16703  ;
16704  return 0;
16705}
16706_ACEOF
16707if ac_fn_c_try_compile "$LINENO"; then :
16708  ac_cv_c_const=yes
16709else
16710  ac_cv_c_const=no
16711fi
16712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16713fi
16714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
16715$as_echo "$ac_cv_c_const" >&6; }
16716if test $ac_cv_c_const = no; then
16717
16718$as_echo "#define const /**/" >>confdefs.h
16719
16720fi
16721
16722ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16723if test "x$ac_cv_type_size_t" = xyes; then :
16724
16725else
16726
16727cat >>confdefs.h <<_ACEOF
16728#define size_t unsigned int
16729_ACEOF
16730
16731fi
16732
16733ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16734if test "x$ac_cv_type_ssize_t" = xyes; then :
16735
16736else
16737
16738cat >>confdefs.h <<_ACEOF
16739#define ssize_t int
16740_ACEOF
16741
16742fi
16743
16744ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
16745case $ac_cv_c_uint16_t in #(
16746  no|yes) ;; #(
16747  *)
16748
16749
16750cat >>confdefs.h <<_ACEOF
16751#define uint16_t $ac_cv_c_uint16_t
16752_ACEOF
16753;;
16754  esac
16755
16756ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
16757case $ac_cv_c_uint32_t in #(
16758  no|yes) ;; #(
16759  *)
16760
16761$as_echo "#define _UINT32_T 1" >>confdefs.h
16762
16763
16764cat >>confdefs.h <<_ACEOF
16765#define uint32_t $ac_cv_c_uint32_t
16766_ACEOF
16767;;
16768  esac
16769
16770ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
16771case $ac_cv_c_uint8_t in #(
16772  no|yes) ;; #(
16773  *)
16774
16775$as_echo "#define _UINT8_T 1" >>confdefs.h
16776
16777
16778cat >>confdefs.h <<_ACEOF
16779#define uint8_t $ac_cv_c_uint8_t
16780_ACEOF
16781;;
16782  esac
16783
16784
16785# Check if clock_gettime requires -lrt (old GNU systems)
16786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16787$as_echo_n "checking for library containing clock_gettime... " >&6; }
16788if ${ac_cv_search_clock_gettime+:} false; then :
16789  $as_echo_n "(cached) " >&6
16790else
16791  ac_func_search_save_LIBS=$LIBS
16792cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16793/* end confdefs.h.  */
16794
16795/* Override any GCC internal prototype to avoid an error.
16796   Use char because int might match the return type of a GCC
16797   builtin and then its argument prototype would still apply.  */
16798#ifdef __cplusplus
16799extern "C"
16800#endif
16801char clock_gettime ();
16802int
16803main ()
16804{
16805return clock_gettime ();
16806  ;
16807  return 0;
16808}
16809_ACEOF
16810for ac_lib in '' rt posix4; do
16811  if test -z "$ac_lib"; then
16812    ac_res="none required"
16813  else
16814    ac_res=-l$ac_lib
16815    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16816  fi
16817  if ac_fn_c_try_link "$LINENO"; then :
16818  ac_cv_search_clock_gettime=$ac_res
16819fi
16820rm -f core conftest.err conftest.$ac_objext \
16821    conftest$ac_exeext
16822  if ${ac_cv_search_clock_gettime+:} false; then :
16823  break
16824fi
16825done
16826if ${ac_cv_search_clock_gettime+:} false; then :
16827
16828else
16829  ac_cv_search_clock_gettime=no
16830fi
16831rm conftest.$ac_ext
16832LIBS=$ac_func_search_save_LIBS
16833fi
16834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16835$as_echo "$ac_cv_search_clock_gettime" >&6; }
16836ac_res=$ac_cv_search_clock_gettime
16837if test "$ac_res" != no; then :
16838  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16839
16840fi
16841
16842
16843# Checks for library functions.
16844for ac_header in stdlib.h
16845do :
16846  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
16847if test "x$ac_cv_header_stdlib_h" = xyes; then :
16848  cat >>confdefs.h <<_ACEOF
16849#define HAVE_STDLIB_H 1
16850_ACEOF
16851
16852fi
16853
16854done
16855
16856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
16857$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
16858if ${ac_cv_func_malloc_0_nonnull+:} false; then :
16859  $as_echo_n "(cached) " >&6
16860else
16861  if test "$cross_compiling" = yes; then :
16862  ac_cv_func_malloc_0_nonnull=no
16863else
16864  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16865/* end confdefs.h.  */
16866#if defined STDC_HEADERS || defined HAVE_STDLIB_H
16867# include <stdlib.h>
16868#else
16869char *malloc ();
16870#endif
16871
16872int
16873main ()
16874{
16875return ! malloc (0);
16876  ;
16877  return 0;
16878}
16879_ACEOF
16880if ac_fn_c_try_run "$LINENO"; then :
16881  ac_cv_func_malloc_0_nonnull=yes
16882else
16883  ac_cv_func_malloc_0_nonnull=no
16884fi
16885rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16886  conftest.$ac_objext conftest.beam conftest.$ac_ext
16887fi
16888
16889fi
16890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
16891$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
16892if test $ac_cv_func_malloc_0_nonnull = yes; then :
16893
16894$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
16895
16896else
16897  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
16898
16899   case " $LIBOBJS " in
16900  *" malloc.$ac_objext "* ) ;;
16901  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
16902 ;;
16903esac
16904
16905
16906$as_echo "#define malloc rpl_malloc" >>confdefs.h
16907
16908fi
16909
16910
16911for ac_header in stdlib.h
16912do :
16913  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
16914if test "x$ac_cv_header_stdlib_h" = xyes; then :
16915  cat >>confdefs.h <<_ACEOF
16916#define HAVE_STDLIB_H 1
16917_ACEOF
16918
16919fi
16920
16921done
16922
16923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
16924$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
16925if ${ac_cv_func_realloc_0_nonnull+:} false; then :
16926  $as_echo_n "(cached) " >&6
16927else
16928  if test "$cross_compiling" = yes; then :
16929  ac_cv_func_realloc_0_nonnull=no
16930else
16931  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16932/* end confdefs.h.  */
16933#if defined STDC_HEADERS || defined HAVE_STDLIB_H
16934# include <stdlib.h>
16935#else
16936char *realloc ();
16937#endif
16938
16939int
16940main ()
16941{
16942return ! realloc (0, 0);
16943  ;
16944  return 0;
16945}
16946_ACEOF
16947if ac_fn_c_try_run "$LINENO"; then :
16948  ac_cv_func_realloc_0_nonnull=yes
16949else
16950  ac_cv_func_realloc_0_nonnull=no
16951fi
16952rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16953  conftest.$ac_objext conftest.beam conftest.$ac_ext
16954fi
16955
16956fi
16957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
16958$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
16959if test $ac_cv_func_realloc_0_nonnull = yes; then :
16960
16961$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
16962
16963else
16964  $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
16965
16966   case " $LIBOBJS " in
16967  *" realloc.$ac_objext "* ) ;;
16968  *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
16969 ;;
16970esac
16971
16972
16973$as_echo "#define realloc rpl_realloc" >>confdefs.h
16974
16975fi
16976
16977
16978for ac_func in strcasecmp strdup strerror strndup stpcpy
16979do :
16980  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16981ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16982if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16983  cat >>confdefs.h <<_ACEOF
16984#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16985_ACEOF
16986
16987fi
16988done
16989
16990for ac_func in ppoll clock_gettime localtime_r
16991do :
16992  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16993ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16994if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16995  cat >>confdefs.h <<_ACEOF
16996#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16997_ACEOF
16998
16999fi
17000done
17001
17002
17003# Check for operating system
17004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable WIN32 build settings" >&5
17005$as_echo_n "checking whether to enable WIN32 build settings... " >&6; }
17006UDEV_SUB=
17007SYSTEMD_SUB=
17008case ${host_os} in
17009  *mingw32*|*cygwin*)
17010    win32=true
17011    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17012$as_echo "yes" >&6; }
17013    if test -n "$ac_tool_prefix"; then
17014  # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
17015set dummy ${ac_tool_prefix}windres; ac_word=$2
17016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17017$as_echo_n "checking for $ac_word... " >&6; }
17018if ${ac_cv_prog_WINDRES+:} false; then :
17019  $as_echo_n "(cached) " >&6
17020else
17021  if test -n "$WINDRES"; then
17022  ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
17023else
17024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17025for as_dir in $PATH
17026do
17027  IFS=$as_save_IFS
17028  test -z "$as_dir" && as_dir=.
17029    for ac_exec_ext in '' $ac_executable_extensions; do
17030  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17031    ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
17032    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17033    break 2
17034  fi
17035done
17036  done
17037IFS=$as_save_IFS
17038
17039fi
17040fi
17041WINDRES=$ac_cv_prog_WINDRES
17042if test -n "$WINDRES"; then
17043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
17044$as_echo "$WINDRES" >&6; }
17045else
17046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17047$as_echo "no" >&6; }
17048fi
17049
17050
17051fi
17052if test -z "$ac_cv_prog_WINDRES"; then
17053  ac_ct_WINDRES=$WINDRES
17054  # Extract the first word of "windres", so it can be a program name with args.
17055set dummy windres; ac_word=$2
17056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17057$as_echo_n "checking for $ac_word... " >&6; }
17058if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
17059  $as_echo_n "(cached) " >&6
17060else
17061  if test -n "$ac_ct_WINDRES"; then
17062  ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
17063else
17064as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17065for as_dir in $PATH
17066do
17067  IFS=$as_save_IFS
17068  test -z "$as_dir" && as_dir=.
17069    for ac_exec_ext in '' $ac_executable_extensions; do
17070  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17071    ac_cv_prog_ac_ct_WINDRES="windres"
17072    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17073    break 2
17074  fi
17075done
17076  done
17077IFS=$as_save_IFS
17078
17079fi
17080fi
17081ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
17082if test -n "$ac_ct_WINDRES"; then
17083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
17084$as_echo "$ac_ct_WINDRES" >&6; }
17085else
17086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17087$as_echo "no" >&6; }
17088fi
17089
17090  if test "x$ac_ct_WINDRES" = x; then
17091    WINDRES="as_fn_error $? "windres not found" "$LINENO" 5"
17092  else
17093    case $cross_compiling:$ac_tool_warned in
17094yes:)
17095{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17096$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17097ac_tool_warned=yes ;;
17098esac
17099    WINDRES=$ac_ct_WINDRES
17100  fi
17101else
17102  WINDRES="$ac_cv_prog_WINDRES"
17103fi
17104
17105
17106    activation_method="manual"
17107    ;;
17108  darwin*)
17109    win32=false
17110    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17111$as_echo "no" >&6; }
17112    # No support for launchd yet
17113    activation_method="manual"
17114    ;;
17115  *)
17116    win32=false
17117    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17118$as_echo "no" >&6; }
17119    UDEV_SUB=udev
17120    udevrulesdir=$with_udevrulesdir
17121
17122
17123$as_echo "#define HAVE_UDEV 1" >>confdefs.h
17124
17125    activation_method="systemd"
17126    if test "x$with_systemd" != "xyes"; then
17127      echo "*** Note: support for systemd activation has been disabled, using udev activation instead ***"
17128      activation_method="udev"
17129    else
17130
17131$as_echo "#define HAVE_SYSTEMD 1" >>confdefs.h
17132
17133      SYSTEMD_SUB=systemd
17134    fi
17135    ;;
17136esac
17137 if test x$win32 = xtrue; then
17138  WIN32_TRUE=
17139  WIN32_FALSE='#'
17140else
17141  WIN32_TRUE='#'
17142  WIN32_FALSE=
17143fi
17144
17145
17146
17147
17148
17149
17150  list="-g -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith  -Wwrite-strings -Wswitch-default -Wno-unused-parameter"
17151  flags_supported=""
17152  flags_unsupported=""
17153  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported compiler flags" >&5
17154$as_echo_n "checking for supported compiler flags... " >&6; }
17155  for each in $list
17156  do
17157    save_CFLAGS="$CFLAGS"
17158    CFLAGS="$CFLAGS $each"
17159    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160/* end confdefs.h.  */
17161
17162int
17163main ()
17164{
17165
17166  ;
17167  return 0;
17168}
17169_ACEOF
17170if ac_fn_c_try_compile "$LINENO"; then :
17171  flag_ok=yes
17172else
17173  flag_ok=no
17174fi
17175rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17176    CFLAGS="$save_CFLAGS"
17177
17178    if test "X$flag_ok" = Xyes ; then
17179      flags_supported="$flags_supported $each"
17180    else
17181      flags_unsupported="$flags_unsupported $each"
17182    fi
17183  done
17184  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flags_supported" >&5
17185$as_echo "$flags_supported" >&6; }
17186  if test "X$flags_unsupported" != X ; then
17187    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsupported compiler flags: $flags_unsupported" >&5
17188$as_echo "$as_me: WARNING: unsupported compiler flags: $flags_unsupported" >&2;}
17189  fi
17190  GLOBAL_CFLAGS="$GLOBAL_CFLAGS $flags_supported"
17191
17192
17193
17194# Check whether --enable-silent-rules was given.
17195if test "${enable_silent_rules+set}" = set; then :
17196  enableval=$enable_silent_rules;
17197fi
17198
17199case $enable_silent_rules in # (((
17200  yes) AM_DEFAULT_VERBOSITY=0;;
17201   no) AM_DEFAULT_VERBOSITY=1;;
17202    *) AM_DEFAULT_VERBOSITY=0;;
17203esac
17204am_make=${MAKE-make}
17205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
17206$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
17207if ${am_cv_make_support_nested_variables+:} false; then :
17208  $as_echo_n "(cached) " >&6
17209else
17210  if $as_echo 'TRUE=$(BAR$(V))
17211BAR0=false
17212BAR1=true
17213V=1
17214am__doit:
17215	@$(TRUE)
17216.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
17217  am_cv_make_support_nested_variables=yes
17218else
17219  am_cv_make_support_nested_variables=no
17220fi
17221fi
17222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
17223$as_echo "$am_cv_make_support_nested_variables" >&6; }
17224if test $am_cv_make_support_nested_variables = yes; then
17225    AM_V='$(V)'
17226  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
17227else
17228  AM_V=$AM_DEFAULT_VERBOSITY
17229  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
17230fi
17231AM_BACKSLASH='\'
17232
17233
17234ac_config_files="$ac_config_files Makefile src/Makefile udev/Makefile systemd/Makefile docs/Makefile"
17235
17236cat >confcache <<\_ACEOF
17237# This file is a shell script that caches the results of configure
17238# tests run on this system so they can be shared between configure
17239# scripts and configure runs, see configure's option --config-cache.
17240# It is not useful on other systems.  If it contains results you don't
17241# want to keep, you may remove or edit it.
17242#
17243# config.status only pays attention to the cache file if you give it
17244# the --recheck option to rerun configure.
17245#
17246# `ac_cv_env_foo' variables (set or unset) will be overridden when
17247# loading this file, other *unset* `ac_cv_foo' will be assigned the
17248# following values.
17249
17250_ACEOF
17251
17252# The following way of writing the cache mishandles newlines in values,
17253# but we know of no workaround that is simple, portable, and efficient.
17254# So, we kill variables containing newlines.
17255# Ultrix sh set writes to stderr and can't be redirected directly,
17256# and sets the high bit in the cache file unless we assign to the vars.
17257(
17258  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17259    eval ac_val=\$$ac_var
17260    case $ac_val in #(
17261    *${as_nl}*)
17262      case $ac_var in #(
17263      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17264$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17265      esac
17266      case $ac_var in #(
17267      _ | IFS | as_nl) ;; #(
17268      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17269      *) { eval $ac_var=; unset $ac_var;} ;;
17270      esac ;;
17271    esac
17272  done
17273
17274  (set) 2>&1 |
17275    case $as_nl`(ac_space=' '; set) 2>&1` in #(
17276    *${as_nl}ac_space=\ *)
17277      # `set' does not quote correctly, so add quotes: double-quote
17278      # substitution turns \\\\ into \\, and sed turns \\ into \.
17279      sed -n \
17280	"s/'/'\\\\''/g;
17281	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17282      ;; #(
17283    *)
17284      # `set' quotes correctly as required by POSIX, so do not add quotes.
17285      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17286      ;;
17287    esac |
17288    sort
17289) |
17290  sed '
17291     /^ac_cv_env_/b end
17292     t clear
17293     :clear
17294     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17295     t end
17296     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17297     :end' >>confcache
17298if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17299  if test -w "$cache_file"; then
17300    if test "x$cache_file" != "x/dev/null"; then
17301      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17302$as_echo "$as_me: updating cache $cache_file" >&6;}
17303      if test ! -f "$cache_file" || test -h "$cache_file"; then
17304	cat confcache >"$cache_file"
17305      else
17306        case $cache_file in #(
17307        */* | ?:*)
17308	  mv -f confcache "$cache_file"$$ &&
17309	  mv -f "$cache_file"$$ "$cache_file" ;; #(
17310        *)
17311	  mv -f confcache "$cache_file" ;;
17312	esac
17313      fi
17314    fi
17315  else
17316    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17317$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17318  fi
17319fi
17320rm -f confcache
17321
17322test "x$prefix" = xNONE && prefix=$ac_default_prefix
17323# Let make expand exec_prefix.
17324test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17325
17326DEFS=-DHAVE_CONFIG_H
17327
17328ac_libobjs=
17329ac_ltlibobjs=
17330U=
17331for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17332  # 1. Remove the extension, and $U if already installed.
17333  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17334  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17335  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17336  #    will be set to the directory where LIBOBJS objects are built.
17337  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17338  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17339done
17340LIBOBJS=$ac_libobjs
17341
17342LTLIBOBJS=$ac_ltlibobjs
17343
17344
17345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17346$as_echo_n "checking that generated files are newer than configure... " >&6; }
17347   if test -n "$am_sleep_pid"; then
17348     # Hide warnings about reused PIDs.
17349     wait $am_sleep_pid 2>/dev/null
17350   fi
17351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17352$as_echo "done" >&6; }
17353 if test -n "$EXEEXT"; then
17354  am__EXEEXT_TRUE=
17355  am__EXEEXT_FALSE='#'
17356else
17357  am__EXEEXT_TRUE='#'
17358  am__EXEEXT_FALSE=
17359fi
17360
17361if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17362  as_fn_error $? "conditional \"AMDEP\" was never defined.
17363Usually this means the macro was only invoked conditionally." "$LINENO" 5
17364fi
17365if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17366  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17367Usually this means the macro was only invoked conditionally." "$LINENO" 5
17368fi
17369if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17370  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17371Usually this means the macro was only invoked conditionally." "$LINENO" 5
17372fi
17373if test -z "${WANT_SYSTEMD_TRUE}" && test -z "${WANT_SYSTEMD_FALSE}"; then
17374  as_fn_error $? "conditional \"WANT_SYSTEMD\" was never defined.
17375Usually this means the macro was only invoked conditionally." "$LINENO" 5
17376fi
17377if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
17378  as_fn_error $? "conditional \"WIN32\" was never defined.
17379Usually this means the macro was only invoked conditionally." "$LINENO" 5
17380fi
17381
17382: "${CONFIG_STATUS=./config.status}"
17383ac_write_fail=0
17384ac_clean_files_save=$ac_clean_files
17385ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17386{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17387$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17388as_write_fail=0
17389cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17390#! $SHELL
17391# Generated by $as_me.
17392# Run this file to recreate the current configuration.
17393# Compiler output produced by configure, useful for debugging
17394# configure, is in config.log if it exists.
17395
17396debug=false
17397ac_cs_recheck=false
17398ac_cs_silent=false
17399
17400SHELL=\${CONFIG_SHELL-$SHELL}
17401export SHELL
17402_ASEOF
17403cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17404## -------------------- ##
17405## M4sh Initialization. ##
17406## -------------------- ##
17407
17408# Be more Bourne compatible
17409DUALCASE=1; export DUALCASE # for MKS sh
17410if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17411  emulate sh
17412  NULLCMD=:
17413  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17414  # is contrary to our usage.  Disable this feature.
17415  alias -g '${1+"$@"}'='"$@"'
17416  setopt NO_GLOB_SUBST
17417else
17418  case `(set -o) 2>/dev/null` in #(
17419  *posix*) :
17420    set -o posix ;; #(
17421  *) :
17422     ;;
17423esac
17424fi
17425
17426
17427as_nl='
17428'
17429export as_nl
17430# Printing a long string crashes Solaris 7 /usr/bin/printf.
17431as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17432as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17433as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17434# Prefer a ksh shell builtin over an external printf program on Solaris,
17435# but without wasting forks for bash or zsh.
17436if test -z "$BASH_VERSION$ZSH_VERSION" \
17437    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17438  as_echo='print -r --'
17439  as_echo_n='print -rn --'
17440elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17441  as_echo='printf %s\n'
17442  as_echo_n='printf %s'
17443else
17444  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17445    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17446    as_echo_n='/usr/ucb/echo -n'
17447  else
17448    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17449    as_echo_n_body='eval
17450      arg=$1;
17451      case $arg in #(
17452      *"$as_nl"*)
17453	expr "X$arg" : "X\\(.*\\)$as_nl";
17454	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17455      esac;
17456      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17457    '
17458    export as_echo_n_body
17459    as_echo_n='sh -c $as_echo_n_body as_echo'
17460  fi
17461  export as_echo_body
17462  as_echo='sh -c $as_echo_body as_echo'
17463fi
17464
17465# The user is always right.
17466if test "${PATH_SEPARATOR+set}" != set; then
17467  PATH_SEPARATOR=:
17468  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17469    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17470      PATH_SEPARATOR=';'
17471  }
17472fi
17473
17474
17475# IFS
17476# We need space, tab and new line, in precisely that order.  Quoting is
17477# there to prevent editors from complaining about space-tab.
17478# (If _AS_PATH_WALK were called with IFS unset, it would disable word
17479# splitting by setting IFS to empty value.)
17480IFS=" ""	$as_nl"
17481
17482# Find who we are.  Look in the path if we contain no directory separator.
17483as_myself=
17484case $0 in #((
17485  *[\\/]* ) as_myself=$0 ;;
17486  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17487for as_dir in $PATH
17488do
17489  IFS=$as_save_IFS
17490  test -z "$as_dir" && as_dir=.
17491    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17492  done
17493IFS=$as_save_IFS
17494
17495     ;;
17496esac
17497# We did not find ourselves, most probably we were run as `sh COMMAND'
17498# in which case we are not to be found in the path.
17499if test "x$as_myself" = x; then
17500  as_myself=$0
17501fi
17502if test ! -f "$as_myself"; then
17503  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17504  exit 1
17505fi
17506
17507# Unset variables that we do not need and which cause bugs (e.g. in
17508# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17509# suppresses any "Segmentation fault" message there.  '((' could
17510# trigger a bug in pdksh 5.2.14.
17511for as_var in BASH_ENV ENV MAIL MAILPATH
17512do eval test x\${$as_var+set} = xset \
17513  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17514done
17515PS1='$ '
17516PS2='> '
17517PS4='+ '
17518
17519# NLS nuisances.
17520LC_ALL=C
17521export LC_ALL
17522LANGUAGE=C
17523export LANGUAGE
17524
17525# CDPATH.
17526(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17527
17528
17529# as_fn_error STATUS ERROR [LINENO LOG_FD]
17530# ----------------------------------------
17531# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17532# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17533# script with STATUS, using 1 if that was 0.
17534as_fn_error ()
17535{
17536  as_status=$1; test $as_status -eq 0 && as_status=1
17537  if test "$4"; then
17538    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17539    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17540  fi
17541  $as_echo "$as_me: error: $2" >&2
17542  as_fn_exit $as_status
17543} # as_fn_error
17544
17545
17546# as_fn_set_status STATUS
17547# -----------------------
17548# Set $? to STATUS, without forking.
17549as_fn_set_status ()
17550{
17551  return $1
17552} # as_fn_set_status
17553
17554# as_fn_exit STATUS
17555# -----------------
17556# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17557as_fn_exit ()
17558{
17559  set +e
17560  as_fn_set_status $1
17561  exit $1
17562} # as_fn_exit
17563
17564# as_fn_unset VAR
17565# ---------------
17566# Portably unset VAR.
17567as_fn_unset ()
17568{
17569  { eval $1=; unset $1;}
17570}
17571as_unset=as_fn_unset
17572# as_fn_append VAR VALUE
17573# ----------------------
17574# Append the text in VALUE to the end of the definition contained in VAR. Take
17575# advantage of any shell optimizations that allow amortized linear growth over
17576# repeated appends, instead of the typical quadratic growth present in naive
17577# implementations.
17578if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17579  eval 'as_fn_append ()
17580  {
17581    eval $1+=\$2
17582  }'
17583else
17584  as_fn_append ()
17585  {
17586    eval $1=\$$1\$2
17587  }
17588fi # as_fn_append
17589
17590# as_fn_arith ARG...
17591# ------------------
17592# Perform arithmetic evaluation on the ARGs, and store the result in the
17593# global $as_val. Take advantage of shells that can avoid forks. The arguments
17594# must be portable across $(()) and expr.
17595if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17596  eval 'as_fn_arith ()
17597  {
17598    as_val=$(( $* ))
17599  }'
17600else
17601  as_fn_arith ()
17602  {
17603    as_val=`expr "$@" || test $? -eq 1`
17604  }
17605fi # as_fn_arith
17606
17607
17608if expr a : '\(a\)' >/dev/null 2>&1 &&
17609   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17610  as_expr=expr
17611else
17612  as_expr=false
17613fi
17614
17615if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17616  as_basename=basename
17617else
17618  as_basename=false
17619fi
17620
17621if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17622  as_dirname=dirname
17623else
17624  as_dirname=false
17625fi
17626
17627as_me=`$as_basename -- "$0" ||
17628$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17629	 X"$0" : 'X\(//\)$' \| \
17630	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17631$as_echo X/"$0" |
17632    sed '/^.*\/\([^/][^/]*\)\/*$/{
17633	    s//\1/
17634	    q
17635	  }
17636	  /^X\/\(\/\/\)$/{
17637	    s//\1/
17638	    q
17639	  }
17640	  /^X\/\(\/\).*/{
17641	    s//\1/
17642	    q
17643	  }
17644	  s/.*/./; q'`
17645
17646# Avoid depending upon Character Ranges.
17647as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17648as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17649as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17650as_cr_digits='0123456789'
17651as_cr_alnum=$as_cr_Letters$as_cr_digits
17652
17653ECHO_C= ECHO_N= ECHO_T=
17654case `echo -n x` in #(((((
17655-n*)
17656  case `echo 'xy\c'` in
17657  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
17658  xy)  ECHO_C='\c';;
17659  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17660       ECHO_T='	';;
17661  esac;;
17662*)
17663  ECHO_N='-n';;
17664esac
17665
17666rm -f conf$$ conf$$.exe conf$$.file
17667if test -d conf$$.dir; then
17668  rm -f conf$$.dir/conf$$.file
17669else
17670  rm -f conf$$.dir
17671  mkdir conf$$.dir 2>/dev/null
17672fi
17673if (echo >conf$$.file) 2>/dev/null; then
17674  if ln -s conf$$.file conf$$ 2>/dev/null; then
17675    as_ln_s='ln -s'
17676    # ... but there are two gotchas:
17677    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17678    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17679    # In both cases, we have to default to `cp -pR'.
17680    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17681      as_ln_s='cp -pR'
17682  elif ln conf$$.file conf$$ 2>/dev/null; then
17683    as_ln_s=ln
17684  else
17685    as_ln_s='cp -pR'
17686  fi
17687else
17688  as_ln_s='cp -pR'
17689fi
17690rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17691rmdir conf$$.dir 2>/dev/null
17692
17693
17694# as_fn_mkdir_p
17695# -------------
17696# Create "$as_dir" as a directory, including parents if necessary.
17697as_fn_mkdir_p ()
17698{
17699
17700  case $as_dir in #(
17701  -*) as_dir=./$as_dir;;
17702  esac
17703  test -d "$as_dir" || eval $as_mkdir_p || {
17704    as_dirs=
17705    while :; do
17706      case $as_dir in #(
17707      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17708      *) as_qdir=$as_dir;;
17709      esac
17710      as_dirs="'$as_qdir' $as_dirs"
17711      as_dir=`$as_dirname -- "$as_dir" ||
17712$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17713	 X"$as_dir" : 'X\(//\)[^/]' \| \
17714	 X"$as_dir" : 'X\(//\)$' \| \
17715	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17716$as_echo X"$as_dir" |
17717    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17718	    s//\1/
17719	    q
17720	  }
17721	  /^X\(\/\/\)[^/].*/{
17722	    s//\1/
17723	    q
17724	  }
17725	  /^X\(\/\/\)$/{
17726	    s//\1/
17727	    q
17728	  }
17729	  /^X\(\/\).*/{
17730	    s//\1/
17731	    q
17732	  }
17733	  s/.*/./; q'`
17734      test -d "$as_dir" && break
17735    done
17736    test -z "$as_dirs" || eval "mkdir $as_dirs"
17737  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17738
17739
17740} # as_fn_mkdir_p
17741if mkdir -p . 2>/dev/null; then
17742  as_mkdir_p='mkdir -p "$as_dir"'
17743else
17744  test -d ./-p && rmdir ./-p
17745  as_mkdir_p=false
17746fi
17747
17748
17749# as_fn_executable_p FILE
17750# -----------------------
17751# Test if FILE is an executable regular file.
17752as_fn_executable_p ()
17753{
17754  test -f "$1" && test -x "$1"
17755} # as_fn_executable_p
17756as_test_x='test -x'
17757as_executable_p=as_fn_executable_p
17758
17759# Sed expression to map a string onto a valid CPP name.
17760as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17761
17762# Sed expression to map a string onto a valid variable name.
17763as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17764
17765
17766exec 6>&1
17767## ----------------------------------- ##
17768## Main body of $CONFIG_STATUS script. ##
17769## ----------------------------------- ##
17770_ASEOF
17771test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17772
17773cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17774# Save the log message, to keep $0 and so on meaningful, and to
17775# report actual input values of CONFIG_FILES etc. instead of their
17776# values after options handling.
17777ac_log="
17778This file was extended by usbmuxd $as_me 1.1.1, which was
17779generated by GNU Autoconf 2.69.  Invocation command line was
17780
17781  CONFIG_FILES    = $CONFIG_FILES
17782  CONFIG_HEADERS  = $CONFIG_HEADERS
17783  CONFIG_LINKS    = $CONFIG_LINKS
17784  CONFIG_COMMANDS = $CONFIG_COMMANDS
17785  $ $0 $@
17786
17787on `(hostname || uname -n) 2>/dev/null | sed 1q`
17788"
17789
17790_ACEOF
17791
17792case $ac_config_files in *"
17793"*) set x $ac_config_files; shift; ac_config_files=$*;;
17794esac
17795
17796case $ac_config_headers in *"
17797"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17798esac
17799
17800
17801cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17802# Files that config.status was made for.
17803config_files="$ac_config_files"
17804config_headers="$ac_config_headers"
17805config_commands="$ac_config_commands"
17806
17807_ACEOF
17808
17809cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17810ac_cs_usage="\
17811\`$as_me' instantiates files and other configuration actions
17812from templates according to the current configuration.  Unless the files
17813and actions are specified as TAGs, all are instantiated by default.
17814
17815Usage: $0 [OPTION]... [TAG]...
17816
17817  -h, --help       print this help, then exit
17818  -V, --version    print version number and configuration settings, then exit
17819      --config     print configuration, then exit
17820  -q, --quiet, --silent
17821                   do not print progress messages
17822  -d, --debug      don't remove temporary files
17823      --recheck    update $as_me by reconfiguring in the same conditions
17824      --file=FILE[:TEMPLATE]
17825                   instantiate the configuration file FILE
17826      --header=FILE[:TEMPLATE]
17827                   instantiate the configuration header FILE
17828
17829Configuration files:
17830$config_files
17831
17832Configuration headers:
17833$config_headers
17834
17835Configuration commands:
17836$config_commands
17837
17838Report bugs to <https://github.com/libimobiledevice/usbmuxd/issues>.
17839usbmuxd home page: <https://libimobiledevice.org>."
17840
17841_ACEOF
17842cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17843ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17844ac_cs_version="\\
17845usbmuxd config.status 1.1.1
17846configured by $0, generated by GNU Autoconf 2.69,
17847  with options \\"\$ac_cs_config\\"
17848
17849Copyright (C) 2012 Free Software Foundation, Inc.
17850This config.status script is free software; the Free Software Foundation
17851gives unlimited permission to copy, distribute and modify it."
17852
17853ac_pwd='$ac_pwd'
17854srcdir='$srcdir'
17855INSTALL='$INSTALL'
17856MKDIR_P='$MKDIR_P'
17857AWK='$AWK'
17858test -n "\$AWK" || AWK=awk
17859_ACEOF
17860
17861cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17862# The default lists apply if the user does not specify any file.
17863ac_need_defaults=:
17864while test $# != 0
17865do
17866  case $1 in
17867  --*=?*)
17868    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17869    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17870    ac_shift=:
17871    ;;
17872  --*=)
17873    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17874    ac_optarg=
17875    ac_shift=:
17876    ;;
17877  *)
17878    ac_option=$1
17879    ac_optarg=$2
17880    ac_shift=shift
17881    ;;
17882  esac
17883
17884  case $ac_option in
17885  # Handling of the options.
17886  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17887    ac_cs_recheck=: ;;
17888  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17889    $as_echo "$ac_cs_version"; exit ;;
17890  --config | --confi | --conf | --con | --co | --c )
17891    $as_echo "$ac_cs_config"; exit ;;
17892  --debug | --debu | --deb | --de | --d | -d )
17893    debug=: ;;
17894  --file | --fil | --fi | --f )
17895    $ac_shift
17896    case $ac_optarg in
17897    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17898    '') as_fn_error $? "missing file argument" ;;
17899    esac
17900    as_fn_append CONFIG_FILES " '$ac_optarg'"
17901    ac_need_defaults=false;;
17902  --header | --heade | --head | --hea )
17903    $ac_shift
17904    case $ac_optarg in
17905    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17906    esac
17907    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17908    ac_need_defaults=false;;
17909  --he | --h)
17910    # Conflict between --help and --header
17911    as_fn_error $? "ambiguous option: \`$1'
17912Try \`$0 --help' for more information.";;
17913  --help | --hel | -h )
17914    $as_echo "$ac_cs_usage"; exit ;;
17915  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17916  | -silent | --silent | --silen | --sile | --sil | --si | --s)
17917    ac_cs_silent=: ;;
17918
17919  # This is an error.
17920  -*) as_fn_error $? "unrecognized option: \`$1'
17921Try \`$0 --help' for more information." ;;
17922
17923  *) as_fn_append ac_config_targets " $1"
17924     ac_need_defaults=false ;;
17925
17926  esac
17927  shift
17928done
17929
17930ac_configure_extra_args=
17931
17932if $ac_cs_silent; then
17933  exec 6>/dev/null
17934  ac_configure_extra_args="$ac_configure_extra_args --silent"
17935fi
17936
17937_ACEOF
17938cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17939if \$ac_cs_recheck; then
17940  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17941  shift
17942  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17943  CONFIG_SHELL='$SHELL'
17944  export CONFIG_SHELL
17945  exec "\$@"
17946fi
17947
17948_ACEOF
17949cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17950exec 5>>config.log
17951{
17952  echo
17953  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17954## Running $as_me. ##
17955_ASBOX
17956  $as_echo "$ac_log"
17957} >&5
17958
17959_ACEOF
17960cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17961#
17962# INIT-COMMANDS
17963#
17964AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
17965
17966
17967# The HP-UX ksh and POSIX shell print the target directory to stdout
17968# if CDPATH is set.
17969(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17970
17971sed_quote_subst='$sed_quote_subst'
17972double_quote_subst='$double_quote_subst'
17973delay_variable_subst='$delay_variable_subst'
17974macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17975macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17976enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17977enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17978pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17979enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17980shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17981SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17982ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17983PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17984host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17985host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17986host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17987build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17988build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17989build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17990SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17991Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17992GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17993EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17994FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17995LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17996NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17997LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17998max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17999ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18000exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18001lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18002lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18003lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18004lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18005lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18006reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18007reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18008OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18009deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18010file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18011file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18012want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18013DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18014sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18015AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18016AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18017archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18018STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18019RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18020old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18021old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18022old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18023lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18024CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18025CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18026compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18027GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18028lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18029lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18030lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18031lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18032lt_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"`'
18033lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18034nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18035lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18036lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18037objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18038MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18039lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18040lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18041lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18042lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18043lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18044need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18045MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18046DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18047NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18048LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18049OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18050OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18051libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18052shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18053extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18054archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18055enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18056export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18057whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18058compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18059old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18060old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18061archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18062archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18063module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18064module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18065with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18066allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18067no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18068hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18069hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18070hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18071hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18072hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18073hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18074hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18075inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18076link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18077always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18078export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18079exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18080include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18081prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18082postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18083file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18084variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18085need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18086need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18087version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18088runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18089shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18090shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18091libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18092library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18093soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18094install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18095postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18096postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18097finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18098finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18099hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18100sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18101configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18102configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18103hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18104enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18105enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18106enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18107old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18108striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18109compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18110predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18111postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18112predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18113postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18114compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18115LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18116reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18117reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18118old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18119compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18120GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18121lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18122lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18123lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18124lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18125lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18126archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18127enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18128export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18129whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18130compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18131old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18132old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18133archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18134archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18135module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18136module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18137with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18138allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18139no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18140hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18141hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18142hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18143hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18144hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18145hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18146hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18147inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18148link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18149always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18150export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18151exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18152include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18153prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18154postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18155file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18156hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18157compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18158predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18159postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18160predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18161postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18162compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18163
18164LTCC='$LTCC'
18165LTCFLAGS='$LTCFLAGS'
18166compiler='$compiler_DEFAULT'
18167
18168# A function that is used when there is no print builtin or printf.
18169func_fallback_echo ()
18170{
18171  eval 'cat <<_LTECHO_EOF
18172\$1
18173_LTECHO_EOF'
18174}
18175
18176# Quote evaled strings.
18177for var in SHELL \
18178ECHO \
18179PATH_SEPARATOR \
18180SED \
18181GREP \
18182EGREP \
18183FGREP \
18184LD \
18185NM \
18186LN_S \
18187lt_SP2NL \
18188lt_NL2SP \
18189reload_flag \
18190OBJDUMP \
18191deplibs_check_method \
18192file_magic_cmd \
18193file_magic_glob \
18194want_nocaseglob \
18195DLLTOOL \
18196sharedlib_from_linklib_cmd \
18197AR \
18198AR_FLAGS \
18199archiver_list_spec \
18200STRIP \
18201RANLIB \
18202CC \
18203CFLAGS \
18204compiler \
18205lt_cv_sys_global_symbol_pipe \
18206lt_cv_sys_global_symbol_to_cdecl \
18207lt_cv_sys_global_symbol_to_import \
18208lt_cv_sys_global_symbol_to_c_name_address \
18209lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18210lt_cv_nm_interface \
18211nm_file_list_spec \
18212lt_cv_truncate_bin \
18213lt_prog_compiler_no_builtin_flag \
18214lt_prog_compiler_pic \
18215lt_prog_compiler_wl \
18216lt_prog_compiler_static \
18217lt_cv_prog_compiler_c_o \
18218need_locks \
18219MANIFEST_TOOL \
18220DSYMUTIL \
18221NMEDIT \
18222LIPO \
18223OTOOL \
18224OTOOL64 \
18225shrext_cmds \
18226export_dynamic_flag_spec \
18227whole_archive_flag_spec \
18228compiler_needs_object \
18229with_gnu_ld \
18230allow_undefined_flag \
18231no_undefined_flag \
18232hardcode_libdir_flag_spec \
18233hardcode_libdir_separator \
18234exclude_expsyms \
18235include_expsyms \
18236file_list_spec \
18237variables_saved_for_relink \
18238libname_spec \
18239library_names_spec \
18240soname_spec \
18241install_override_mode \
18242finish_eval \
18243old_striplib \
18244striplib \
18245compiler_lib_search_dirs \
18246predep_objects \
18247postdep_objects \
18248predeps \
18249postdeps \
18250compiler_lib_search_path \
18251LD_CXX \
18252reload_flag_CXX \
18253compiler_CXX \
18254lt_prog_compiler_no_builtin_flag_CXX \
18255lt_prog_compiler_pic_CXX \
18256lt_prog_compiler_wl_CXX \
18257lt_prog_compiler_static_CXX \
18258lt_cv_prog_compiler_c_o_CXX \
18259export_dynamic_flag_spec_CXX \
18260whole_archive_flag_spec_CXX \
18261compiler_needs_object_CXX \
18262with_gnu_ld_CXX \
18263allow_undefined_flag_CXX \
18264no_undefined_flag_CXX \
18265hardcode_libdir_flag_spec_CXX \
18266hardcode_libdir_separator_CXX \
18267exclude_expsyms_CXX \
18268include_expsyms_CXX \
18269file_list_spec_CXX \
18270compiler_lib_search_dirs_CXX \
18271predep_objects_CXX \
18272postdep_objects_CXX \
18273predeps_CXX \
18274postdeps_CXX \
18275compiler_lib_search_path_CXX; do
18276    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18277    *[\\\\\\\`\\"\\\$]*)
18278      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18279      ;;
18280    *)
18281      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18282      ;;
18283    esac
18284done
18285
18286# Double-quote double-evaled strings.
18287for var in reload_cmds \
18288old_postinstall_cmds \
18289old_postuninstall_cmds \
18290old_archive_cmds \
18291extract_expsyms_cmds \
18292old_archive_from_new_cmds \
18293old_archive_from_expsyms_cmds \
18294archive_cmds \
18295archive_expsym_cmds \
18296module_cmds \
18297module_expsym_cmds \
18298export_symbols_cmds \
18299prelink_cmds \
18300postlink_cmds \
18301postinstall_cmds \
18302postuninstall_cmds \
18303finish_cmds \
18304sys_lib_search_path_spec \
18305configure_time_dlsearch_path \
18306configure_time_lt_sys_library_path \
18307reload_cmds_CXX \
18308old_archive_cmds_CXX \
18309old_archive_from_new_cmds_CXX \
18310old_archive_from_expsyms_cmds_CXX \
18311archive_cmds_CXX \
18312archive_expsym_cmds_CXX \
18313module_cmds_CXX \
18314module_expsym_cmds_CXX \
18315export_symbols_cmds_CXX \
18316prelink_cmds_CXX \
18317postlink_cmds_CXX; do
18318    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18319    *[\\\\\\\`\\"\\\$]*)
18320      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18321      ;;
18322    *)
18323      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18324      ;;
18325    esac
18326done
18327
18328ac_aux_dir='$ac_aux_dir'
18329
18330# See if we are running on zsh, and set the options that allow our
18331# commands through without removal of \ escapes INIT.
18332if test -n "\${ZSH_VERSION+set}"; then
18333   setopt NO_GLOB_SUBST
18334fi
18335
18336
18337    PACKAGE='$PACKAGE'
18338    VERSION='$VERSION'
18339    RM='$RM'
18340    ofile='$ofile'
18341
18342
18343
18344
18345
18346
18347_ACEOF
18348
18349cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18350
18351# Handling of arguments.
18352for ac_config_target in $ac_config_targets
18353do
18354  case $ac_config_target in
18355    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18356    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18357    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18358    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18359    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18360    "udev/Makefile") CONFIG_FILES="$CONFIG_FILES udev/Makefile" ;;
18361    "systemd/Makefile") CONFIG_FILES="$CONFIG_FILES systemd/Makefile" ;;
18362    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
18363
18364  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18365  esac
18366done
18367
18368
18369# If the user did not use the arguments to specify the items to instantiate,
18370# then the envvar interface is used.  Set only those that are not.
18371# We use the long form for the default assignment because of an extremely
18372# bizarre bug on SunOS 4.1.3.
18373if $ac_need_defaults; then
18374  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18375  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18376  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18377fi
18378
18379# Have a temporary directory for convenience.  Make it in the build tree
18380# simply because there is no reason against having it here, and in addition,
18381# creating and moving files from /tmp can sometimes cause problems.
18382# Hook for its removal unless debugging.
18383# Note that there is a small window in which the directory will not be cleaned:
18384# after its creation but before its name has been assigned to `$tmp'.
18385$debug ||
18386{
18387  tmp= ac_tmp=
18388  trap 'exit_status=$?
18389  : "${ac_tmp:=$tmp}"
18390  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18391' 0
18392  trap 'as_fn_exit 1' 1 2 13 15
18393}
18394# Create a (secure) tmp directory for tmp files.
18395
18396{
18397  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18398  test -d "$tmp"
18399}  ||
18400{
18401  tmp=./conf$$-$RANDOM
18402  (umask 077 && mkdir "$tmp")
18403} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18404ac_tmp=$tmp
18405
18406# Set up the scripts for CONFIG_FILES section.
18407# No need to generate them if there are no CONFIG_FILES.
18408# This happens for instance with `./config.status config.h'.
18409if test -n "$CONFIG_FILES"; then
18410
18411
18412ac_cr=`echo X | tr X '\015'`
18413# On cygwin, bash can eat \r inside `` if the user requested igncr.
18414# But we know of no other shell where ac_cr would be empty at this
18415# point, so we can use a bashism as a fallback.
18416if test "x$ac_cr" = x; then
18417  eval ac_cr=\$\'\\r\'
18418fi
18419ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18420if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18421  ac_cs_awk_cr='\\r'
18422else
18423  ac_cs_awk_cr=$ac_cr
18424fi
18425
18426echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18427_ACEOF
18428
18429
18430{
18431  echo "cat >conf$$subs.awk <<_ACEOF" &&
18432  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18433  echo "_ACEOF"
18434} >conf$$subs.sh ||
18435  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18436ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18437ac_delim='%!_!# '
18438for ac_last_try in false false false false false :; do
18439  . ./conf$$subs.sh ||
18440    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18441
18442  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18443  if test $ac_delim_n = $ac_delim_num; then
18444    break
18445  elif $ac_last_try; then
18446    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18447  else
18448    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18449  fi
18450done
18451rm -f conf$$subs.sh
18452
18453cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18454cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18455_ACEOF
18456sed -n '
18457h
18458s/^/S["/; s/!.*/"]=/
18459p
18460g
18461s/^[^!]*!//
18462:repl
18463t repl
18464s/'"$ac_delim"'$//
18465t delim
18466:nl
18467h
18468s/\(.\{148\}\)..*/\1/
18469t more1
18470s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18471p
18472n
18473b repl
18474:more1
18475s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18476p
18477g
18478s/.\{148\}//
18479t nl
18480:delim
18481h
18482s/\(.\{148\}\)..*/\1/
18483t more2
18484s/["\\]/\\&/g; s/^/"/; s/$/"/
18485p
18486b
18487:more2
18488s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18489p
18490g
18491s/.\{148\}//
18492t delim
18493' <conf$$subs.awk | sed '
18494/^[^""]/{
18495  N
18496  s/\n//
18497}
18498' >>$CONFIG_STATUS || ac_write_fail=1
18499rm -f conf$$subs.awk
18500cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18501_ACAWK
18502cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18503  for (key in S) S_is_set[key] = 1
18504  FS = ""
18505
18506}
18507{
18508  line = $ 0
18509  nfields = split(line, field, "@")
18510  substed = 0
18511  len = length(field[1])
18512  for (i = 2; i < nfields; i++) {
18513    key = field[i]
18514    keylen = length(key)
18515    if (S_is_set[key]) {
18516      value = S[key]
18517      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18518      len += length(value) + length(field[++i])
18519      substed = 1
18520    } else
18521      len += 1 + keylen
18522  }
18523
18524  print line
18525}
18526
18527_ACAWK
18528_ACEOF
18529cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18530if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18531  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18532else
18533  cat
18534fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18535  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18536_ACEOF
18537
18538# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18539# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18540# trailing colons and then remove the whole line if VPATH becomes empty
18541# (actually we leave an empty line to preserve line numbers).
18542if test "x$srcdir" = x.; then
18543  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
18544h
18545s///
18546s/^/:/
18547s/[	 ]*$/:/
18548s/:\$(srcdir):/:/g
18549s/:\${srcdir}:/:/g
18550s/:@srcdir@:/:/g
18551s/^:*//
18552s/:*$//
18553x
18554s/\(=[	 ]*\).*/\1/
18555G
18556s/\n//
18557s/^[^=]*=[	 ]*$//
18558}'
18559fi
18560
18561cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18562fi # test -n "$CONFIG_FILES"
18563
18564# Set up the scripts for CONFIG_HEADERS section.
18565# No need to generate them if there are no CONFIG_HEADERS.
18566# This happens for instance with `./config.status Makefile'.
18567if test -n "$CONFIG_HEADERS"; then
18568cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18569BEGIN {
18570_ACEOF
18571
18572# Transform confdefs.h into an awk script `defines.awk', embedded as
18573# here-document in config.status, that substitutes the proper values into
18574# config.h.in to produce config.h.
18575
18576# Create a delimiter string that does not exist in confdefs.h, to ease
18577# handling of long lines.
18578ac_delim='%!_!# '
18579for ac_last_try in false false :; do
18580  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18581  if test -z "$ac_tt"; then
18582    break
18583  elif $ac_last_try; then
18584    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18585  else
18586    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18587  fi
18588done
18589
18590# For the awk script, D is an array of macro values keyed by name,
18591# likewise P contains macro parameters if any.  Preserve backslash
18592# newline sequences.
18593
18594ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18595sed -n '
18596s/.\{148\}/&'"$ac_delim"'/g
18597t rset
18598:rset
18599s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
18600t def
18601d
18602:def
18603s/\\$//
18604t bsnl
18605s/["\\]/\\&/g
18606s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18607D["\1"]=" \3"/p
18608s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
18609d
18610:bsnl
18611s/["\\]/\\&/g
18612s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18613D["\1"]=" \3\\\\\\n"\\/p
18614t cont
18615s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18616t cont
18617d
18618:cont
18619n
18620s/.\{148\}/&'"$ac_delim"'/g
18621t clear
18622:clear
18623s/\\$//
18624t bsnlc
18625s/["\\]/\\&/g; s/^/"/; s/$/"/p
18626d
18627:bsnlc
18628s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18629b cont
18630' <confdefs.h | sed '
18631s/'"$ac_delim"'/"\\\
18632"/g' >>$CONFIG_STATUS || ac_write_fail=1
18633
18634cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18635  for (key in D) D_is_set[key] = 1
18636  FS = ""
18637}
18638/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18639  line = \$ 0
18640  split(line, arg, " ")
18641  if (arg[1] == "#") {
18642    defundef = arg[2]
18643    mac1 = arg[3]
18644  } else {
18645    defundef = substr(arg[1], 2)
18646    mac1 = arg[2]
18647  }
18648  split(mac1, mac2, "(") #)
18649  macro = mac2[1]
18650  prefix = substr(line, 1, index(line, defundef) - 1)
18651  if (D_is_set[macro]) {
18652    # Preserve the white space surrounding the "#".
18653    print prefix "define", macro P[macro] D[macro]
18654    next
18655  } else {
18656    # Replace #undef with comments.  This is necessary, for example,
18657    # in the case of _POSIX_SOURCE, which is predefined and required
18658    # on some systems where configure will not decide to define it.
18659    if (defundef == "undef") {
18660      print "/*", prefix defundef, macro, "*/"
18661      next
18662    }
18663  }
18664}
18665{ print }
18666_ACAWK
18667_ACEOF
18668cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18669  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18670fi # test -n "$CONFIG_HEADERS"
18671
18672
18673eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18674shift
18675for ac_tag
18676do
18677  case $ac_tag in
18678  :[FHLC]) ac_mode=$ac_tag; continue;;
18679  esac
18680  case $ac_mode$ac_tag in
18681  :[FHL]*:*);;
18682  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18683  :[FH]-) ac_tag=-:-;;
18684  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18685  esac
18686  ac_save_IFS=$IFS
18687  IFS=:
18688  set x $ac_tag
18689  IFS=$ac_save_IFS
18690  shift
18691  ac_file=$1
18692  shift
18693
18694  case $ac_mode in
18695  :L) ac_source=$1;;
18696  :[FH])
18697    ac_file_inputs=
18698    for ac_f
18699    do
18700      case $ac_f in
18701      -) ac_f="$ac_tmp/stdin";;
18702      *) # Look for the file first in the build tree, then in the source tree
18703	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
18704	 # because $ac_f cannot contain `:'.
18705	 test -f "$ac_f" ||
18706	   case $ac_f in
18707	   [\\/$]*) false;;
18708	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18709	   esac ||
18710	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18711      esac
18712      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18713      as_fn_append ac_file_inputs " '$ac_f'"
18714    done
18715
18716    # Let's still pretend it is `configure' which instantiates (i.e., don't
18717    # use $as_me), people would be surprised to read:
18718    #    /* config.h.  Generated by config.status.  */
18719    configure_input='Generated from '`
18720	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18721	`' by configure.'
18722    if test x"$ac_file" != x-; then
18723      configure_input="$ac_file.  $configure_input"
18724      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18725$as_echo "$as_me: creating $ac_file" >&6;}
18726    fi
18727    # Neutralize special characters interpreted by sed in replacement strings.
18728    case $configure_input in #(
18729    *\&* | *\|* | *\\* )
18730       ac_sed_conf_input=`$as_echo "$configure_input" |
18731       sed 's/[\\\\&|]/\\\\&/g'`;; #(
18732    *) ac_sed_conf_input=$configure_input;;
18733    esac
18734
18735    case $ac_tag in
18736    *:-:* | *:-) cat >"$ac_tmp/stdin" \
18737      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18738    esac
18739    ;;
18740  esac
18741
18742  ac_dir=`$as_dirname -- "$ac_file" ||
18743$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18744	 X"$ac_file" : 'X\(//\)[^/]' \| \
18745	 X"$ac_file" : 'X\(//\)$' \| \
18746	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18747$as_echo X"$ac_file" |
18748    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18749	    s//\1/
18750	    q
18751	  }
18752	  /^X\(\/\/\)[^/].*/{
18753	    s//\1/
18754	    q
18755	  }
18756	  /^X\(\/\/\)$/{
18757	    s//\1/
18758	    q
18759	  }
18760	  /^X\(\/\).*/{
18761	    s//\1/
18762	    q
18763	  }
18764	  s/.*/./; q'`
18765  as_dir="$ac_dir"; as_fn_mkdir_p
18766  ac_builddir=.
18767
18768case "$ac_dir" in
18769.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18770*)
18771  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18772  # A ".." for each directory in $ac_dir_suffix.
18773  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18774  case $ac_top_builddir_sub in
18775  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18776  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18777  esac ;;
18778esac
18779ac_abs_top_builddir=$ac_pwd
18780ac_abs_builddir=$ac_pwd$ac_dir_suffix
18781# for backward compatibility:
18782ac_top_builddir=$ac_top_build_prefix
18783
18784case $srcdir in
18785  .)  # We are building in place.
18786    ac_srcdir=.
18787    ac_top_srcdir=$ac_top_builddir_sub
18788    ac_abs_top_srcdir=$ac_pwd ;;
18789  [\\/]* | ?:[\\/]* )  # Absolute name.
18790    ac_srcdir=$srcdir$ac_dir_suffix;
18791    ac_top_srcdir=$srcdir
18792    ac_abs_top_srcdir=$srcdir ;;
18793  *) # Relative name.
18794    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18795    ac_top_srcdir=$ac_top_build_prefix$srcdir
18796    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18797esac
18798ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18799
18800
18801  case $ac_mode in
18802  :F)
18803  #
18804  # CONFIG_FILE
18805  #
18806
18807  case $INSTALL in
18808  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18809  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18810  esac
18811  ac_MKDIR_P=$MKDIR_P
18812  case $MKDIR_P in
18813  [\\/$]* | ?:[\\/]* ) ;;
18814  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18815  esac
18816_ACEOF
18817
18818cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18819# If the template does not know about datarootdir, expand it.
18820# FIXME: This hack should be removed a few years after 2.60.
18821ac_datarootdir_hack=; ac_datarootdir_seen=
18822ac_sed_dataroot='
18823/datarootdir/ {
18824  p
18825  q
18826}
18827/@datadir@/p
18828/@docdir@/p
18829/@infodir@/p
18830/@localedir@/p
18831/@mandir@/p'
18832case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18833*datarootdir*) ac_datarootdir_seen=yes;;
18834*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18835  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18836$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18837_ACEOF
18838cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18839  ac_datarootdir_hack='
18840  s&@datadir@&$datadir&g
18841  s&@docdir@&$docdir&g
18842  s&@infodir@&$infodir&g
18843  s&@localedir@&$localedir&g
18844  s&@mandir@&$mandir&g
18845  s&\\\${datarootdir}&$datarootdir&g' ;;
18846esac
18847_ACEOF
18848
18849# Neutralize VPATH when `$srcdir' = `.'.
18850# Shell code in configure.ac might set extrasub.
18851# FIXME: do we really want to maintain this feature?
18852cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18853ac_sed_extra="$ac_vpsub
18854$extrasub
18855_ACEOF
18856cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18857:t
18858/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18859s|@configure_input@|$ac_sed_conf_input|;t t
18860s&@top_builddir@&$ac_top_builddir_sub&;t t
18861s&@top_build_prefix@&$ac_top_build_prefix&;t t
18862s&@srcdir@&$ac_srcdir&;t t
18863s&@abs_srcdir@&$ac_abs_srcdir&;t t
18864s&@top_srcdir@&$ac_top_srcdir&;t t
18865s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18866s&@builddir@&$ac_builddir&;t t
18867s&@abs_builddir@&$ac_abs_builddir&;t t
18868s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18869s&@INSTALL@&$ac_INSTALL&;t t
18870s&@MKDIR_P@&$ac_MKDIR_P&;t t
18871$ac_datarootdir_hack
18872"
18873eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18874  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18875
18876test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18877  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18878  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
18879      "$ac_tmp/out"`; test -z "$ac_out"; } &&
18880  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18881which seems to be undefined.  Please make sure it is defined" >&5
18882$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18883which seems to be undefined.  Please make sure it is defined" >&2;}
18884
18885  rm -f "$ac_tmp/stdin"
18886  case $ac_file in
18887  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18888  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18889  esac \
18890  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18891 ;;
18892  :H)
18893  #
18894  # CONFIG_HEADER
18895  #
18896  if test x"$ac_file" != x-; then
18897    {
18898      $as_echo "/* $configure_input  */" \
18899      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18900    } >"$ac_tmp/config.h" \
18901      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18902    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18903      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18904$as_echo "$as_me: $ac_file is unchanged" >&6;}
18905    else
18906      rm -f "$ac_file"
18907      mv "$ac_tmp/config.h" "$ac_file" \
18908	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
18909    fi
18910  else
18911    $as_echo "/* $configure_input  */" \
18912      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18913      || as_fn_error $? "could not create -" "$LINENO" 5
18914  fi
18915# Compute "$ac_file"'s index in $config_headers.
18916_am_arg="$ac_file"
18917_am_stamp_count=1
18918for _am_header in $config_headers :; do
18919  case $_am_header in
18920    $_am_arg | $_am_arg:* )
18921      break ;;
18922    * )
18923      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18924  esac
18925done
18926echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18927$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18928	 X"$_am_arg" : 'X\(//\)[^/]' \| \
18929	 X"$_am_arg" : 'X\(//\)$' \| \
18930	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18931$as_echo X"$_am_arg" |
18932    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18933	    s//\1/
18934	    q
18935	  }
18936	  /^X\(\/\/\)[^/].*/{
18937	    s//\1/
18938	    q
18939	  }
18940	  /^X\(\/\/\)$/{
18941	    s//\1/
18942	    q
18943	  }
18944	  /^X\(\/\).*/{
18945	    s//\1/
18946	    q
18947	  }
18948	  s/.*/./; q'`/stamp-h$_am_stamp_count
18949 ;;
18950
18951  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18952$as_echo "$as_me: executing $ac_file commands" >&6;}
18953 ;;
18954  esac
18955
18956
18957  case $ac_file$ac_mode in
18958    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18959  # Older Autoconf quotes --file arguments for eval, but not when files
18960  # are listed without --file.  Let's play safe and only enable the eval
18961  # if we detect the quoting.
18962  # TODO: see whether this extra hack can be removed once we start
18963  # requiring Autoconf 2.70 or later.
18964  case $CONFIG_FILES in #(
18965  *\'*) :
18966    eval set x "$CONFIG_FILES" ;; #(
18967  *) :
18968    set x $CONFIG_FILES ;; #(
18969  *) :
18970     ;;
18971esac
18972  shift
18973  # Used to flag and report bootstrapping failures.
18974  am_rc=0
18975  for am_mf
18976  do
18977    # Strip MF so we end up with the name of the file.
18978    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
18979    # Check whether this is an Automake generated Makefile which includes
18980    # dependency-tracking related rules and includes.
18981    # Grep'ing the whole file directly is not great: AIX grep has a line
18982    # limit of 2048, but all sed's we know have understand at least 4000.
18983    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
18984      || continue
18985    am_dirpart=`$as_dirname -- "$am_mf" ||
18986$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18987	 X"$am_mf" : 'X\(//\)[^/]' \| \
18988	 X"$am_mf" : 'X\(//\)$' \| \
18989	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18990$as_echo X"$am_mf" |
18991    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18992	    s//\1/
18993	    q
18994	  }
18995	  /^X\(\/\/\)[^/].*/{
18996	    s//\1/
18997	    q
18998	  }
18999	  /^X\(\/\/\)$/{
19000	    s//\1/
19001	    q
19002	  }
19003	  /^X\(\/\).*/{
19004	    s//\1/
19005	    q
19006	  }
19007	  s/.*/./; q'`
19008    am_filepart=`$as_basename -- "$am_mf" ||
19009$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
19010	 X"$am_mf" : 'X\(//\)$' \| \
19011	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19012$as_echo X/"$am_mf" |
19013    sed '/^.*\/\([^/][^/]*\)\/*$/{
19014	    s//\1/
19015	    q
19016	  }
19017	  /^X\/\(\/\/\)$/{
19018	    s//\1/
19019	    q
19020	  }
19021	  /^X\/\(\/\).*/{
19022	    s//\1/
19023	    q
19024	  }
19025	  s/.*/./; q'`
19026    { echo "$as_me:$LINENO: cd "$am_dirpart" \
19027      && sed -e '/# am--include-marker/d' "$am_filepart" \
19028        | $MAKE -f - am--depfiles" >&5
19029   (cd "$am_dirpart" \
19030      && sed -e '/# am--include-marker/d' "$am_filepart" \
19031        | $MAKE -f - am--depfiles) >&5 2>&5
19032   ac_status=$?
19033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19034   (exit $ac_status); } || am_rc=$?
19035  done
19036  if test $am_rc -ne 0; then
19037    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19038$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19039as_fn_error $? "Something went wrong bootstrapping makefile fragments
19040    for automatic dependency tracking.  Try re-running configure with the
19041    '--disable-dependency-tracking' option to at least be able to build
19042    the package (albeit without support for automatic dependency tracking).
19043See \`config.log' for more details" "$LINENO" 5; }
19044  fi
19045  { am_dirpart=; unset am_dirpart;}
19046  { am_filepart=; unset am_filepart;}
19047  { am_mf=; unset am_mf;}
19048  { am_rc=; unset am_rc;}
19049  rm -f conftest-deps.mk
19050}
19051 ;;
19052    "libtool":C)
19053
19054    # See if we are running on zsh, and set the options that allow our
19055    # commands through without removal of \ escapes.
19056    if test -n "${ZSH_VERSION+set}"; then
19057      setopt NO_GLOB_SUBST
19058    fi
19059
19060    cfgfile=${ofile}T
19061    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19062    $RM "$cfgfile"
19063
19064    cat <<_LT_EOF >> "$cfgfile"
19065#! $SHELL
19066# Generated automatically by $as_me ($PACKAGE) $VERSION
19067# NOTE: Changes made to this file will be lost: look at ltmain.sh.
19068
19069# Provide generalized library-building support services.
19070# Written by Gordon Matzigkeit, 1996
19071
19072# Copyright (C) 2014 Free Software Foundation, Inc.
19073# This is free software; see the source for copying conditions.  There is NO
19074# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19075
19076# GNU Libtool is free software; you can redistribute it and/or modify
19077# it under the terms of the GNU General Public License as published by
19078# the Free Software Foundation; either version 2 of of the License, or
19079# (at your option) any later version.
19080#
19081# As a special exception to the GNU General Public License, if you
19082# distribute this file as part of a program or library that is built
19083# using GNU Libtool, you may include this file under the  same
19084# distribution terms that you use for the rest of that program.
19085#
19086# GNU Libtool is distributed in the hope that it will be useful, but
19087# WITHOUT ANY WARRANTY; without even the implied warranty of
19088# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19089# GNU General Public License for more details.
19090#
19091# You should have received a copy of the GNU General Public License
19092# along with this program.  If not, see <http://www.gnu.org/licenses/>.
19093
19094
19095# The names of the tagged configurations supported by this script.
19096available_tags='CXX '
19097
19098# Configured defaults for sys_lib_dlsearch_path munging.
19099: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19100
19101# ### BEGIN LIBTOOL CONFIG
19102
19103# Which release of libtool.m4 was used?
19104macro_version=$macro_version
19105macro_revision=$macro_revision
19106
19107# Whether or not to build shared libraries.
19108build_libtool_libs=$enable_shared
19109
19110# Whether or not to build static libraries.
19111build_old_libs=$enable_static
19112
19113# What type of objects to build.
19114pic_mode=$pic_mode
19115
19116# Whether or not to optimize for fast installation.
19117fast_install=$enable_fast_install
19118
19119# Shared archive member basename,for filename based shared library versioning on AIX.
19120shared_archive_member_spec=$shared_archive_member_spec
19121
19122# Shell to use when invoking shell scripts.
19123SHELL=$lt_SHELL
19124
19125# An echo program that protects backslashes.
19126ECHO=$lt_ECHO
19127
19128# The PATH separator for the build system.
19129PATH_SEPARATOR=$lt_PATH_SEPARATOR
19130
19131# The host system.
19132host_alias=$host_alias
19133host=$host
19134host_os=$host_os
19135
19136# The build system.
19137build_alias=$build_alias
19138build=$build
19139build_os=$build_os
19140
19141# A sed program that does not truncate output.
19142SED=$lt_SED
19143
19144# Sed that helps us avoid accidentally triggering echo(1) options like -n.
19145Xsed="\$SED -e 1s/^X//"
19146
19147# A grep program that handles long lines.
19148GREP=$lt_GREP
19149
19150# An ERE matcher.
19151EGREP=$lt_EGREP
19152
19153# A literal string matcher.
19154FGREP=$lt_FGREP
19155
19156# A BSD- or MS-compatible name lister.
19157NM=$lt_NM
19158
19159# Whether we need soft or hard links.
19160LN_S=$lt_LN_S
19161
19162# What is the maximum length of a command?
19163max_cmd_len=$max_cmd_len
19164
19165# Object file suffix (normally "o").
19166objext=$ac_objext
19167
19168# Executable file suffix (normally "").
19169exeext=$exeext
19170
19171# whether the shell understands "unset".
19172lt_unset=$lt_unset
19173
19174# turn spaces into newlines.
19175SP2NL=$lt_lt_SP2NL
19176
19177# turn newlines into spaces.
19178NL2SP=$lt_lt_NL2SP
19179
19180# convert \$build file names to \$host format.
19181to_host_file_cmd=$lt_cv_to_host_file_cmd
19182
19183# convert \$build files to toolchain format.
19184to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19185
19186# An object symbol dumper.
19187OBJDUMP=$lt_OBJDUMP
19188
19189# Method to check whether dependent libraries are shared objects.
19190deplibs_check_method=$lt_deplibs_check_method
19191
19192# Command to use when deplibs_check_method = "file_magic".
19193file_magic_cmd=$lt_file_magic_cmd
19194
19195# How to find potential files when deplibs_check_method = "file_magic".
19196file_magic_glob=$lt_file_magic_glob
19197
19198# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19199want_nocaseglob=$lt_want_nocaseglob
19200
19201# DLL creation program.
19202DLLTOOL=$lt_DLLTOOL
19203
19204# Command to associate shared and link libraries.
19205sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19206
19207# The archiver.
19208AR=$lt_AR
19209
19210# Flags to create an archive.
19211AR_FLAGS=$lt_AR_FLAGS
19212
19213# How to feed a file listing to the archiver.
19214archiver_list_spec=$lt_archiver_list_spec
19215
19216# A symbol stripping program.
19217STRIP=$lt_STRIP
19218
19219# Commands used to install an old-style archive.
19220RANLIB=$lt_RANLIB
19221old_postinstall_cmds=$lt_old_postinstall_cmds
19222old_postuninstall_cmds=$lt_old_postuninstall_cmds
19223
19224# Whether to use a lock for old archive extraction.
19225lock_old_archive_extraction=$lock_old_archive_extraction
19226
19227# A C compiler.
19228LTCC=$lt_CC
19229
19230# LTCC compiler flags.
19231LTCFLAGS=$lt_CFLAGS
19232
19233# Take the output of nm and produce a listing of raw symbols and C names.
19234global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19235
19236# Transform the output of nm in a proper C declaration.
19237global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19238
19239# Transform the output of nm into a list of symbols to manually relocate.
19240global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19241
19242# Transform the output of nm in a C name address pair.
19243global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19244
19245# Transform the output of nm in a C name address pair when lib prefix is needed.
19246global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19247
19248# The name lister interface.
19249nm_interface=$lt_lt_cv_nm_interface
19250
19251# Specify filename containing input files for \$NM.
19252nm_file_list_spec=$lt_nm_file_list_spec
19253
19254# The root where to search for dependent libraries,and where our libraries should be installed.
19255lt_sysroot=$lt_sysroot
19256
19257# Command to truncate a binary pipe.
19258lt_truncate_bin=$lt_lt_cv_truncate_bin
19259
19260# The name of the directory that contains temporary libtool files.
19261objdir=$objdir
19262
19263# Used to examine libraries when file_magic_cmd begins with "file".
19264MAGIC_CMD=$MAGIC_CMD
19265
19266# Must we lock files when doing compilation?
19267need_locks=$lt_need_locks
19268
19269# Manifest tool.
19270MANIFEST_TOOL=$lt_MANIFEST_TOOL
19271
19272# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19273DSYMUTIL=$lt_DSYMUTIL
19274
19275# Tool to change global to local symbols on Mac OS X.
19276NMEDIT=$lt_NMEDIT
19277
19278# Tool to manipulate fat objects and archives on Mac OS X.
19279LIPO=$lt_LIPO
19280
19281# ldd/readelf like tool for Mach-O binaries on Mac OS X.
19282OTOOL=$lt_OTOOL
19283
19284# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19285OTOOL64=$lt_OTOOL64
19286
19287# Old archive suffix (normally "a").
19288libext=$libext
19289
19290# Shared library suffix (normally ".so").
19291shrext_cmds=$lt_shrext_cmds
19292
19293# The commands to extract the exported symbol list from a shared archive.
19294extract_expsyms_cmds=$lt_extract_expsyms_cmds
19295
19296# Variables whose values should be saved in libtool wrapper scripts and
19297# restored at link time.
19298variables_saved_for_relink=$lt_variables_saved_for_relink
19299
19300# Do we need the "lib" prefix for modules?
19301need_lib_prefix=$need_lib_prefix
19302
19303# Do we need a version for libraries?
19304need_version=$need_version
19305
19306# Library versioning type.
19307version_type=$version_type
19308
19309# Shared library runtime path variable.
19310runpath_var=$runpath_var
19311
19312# Shared library path variable.
19313shlibpath_var=$shlibpath_var
19314
19315# Is shlibpath searched before the hard-coded library search path?
19316shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19317
19318# Format of library name prefix.
19319libname_spec=$lt_libname_spec
19320
19321# List of archive names.  First name is the real one, the rest are links.
19322# The last name is the one that the linker finds with -lNAME
19323library_names_spec=$lt_library_names_spec
19324
19325# The coded name of the library, if different from the real name.
19326soname_spec=$lt_soname_spec
19327
19328# Permission mode override for installation of shared libraries.
19329install_override_mode=$lt_install_override_mode
19330
19331# Command to use after installation of a shared archive.
19332postinstall_cmds=$lt_postinstall_cmds
19333
19334# Command to use after uninstallation of a shared archive.
19335postuninstall_cmds=$lt_postuninstall_cmds
19336
19337# Commands used to finish a libtool library installation in a directory.
19338finish_cmds=$lt_finish_cmds
19339
19340# As "finish_cmds", except a single script fragment to be evaled but
19341# not shown.
19342finish_eval=$lt_finish_eval
19343
19344# Whether we should hardcode library paths into libraries.
19345hardcode_into_libs=$hardcode_into_libs
19346
19347# Compile-time system search path for libraries.
19348sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19349
19350# Detected run-time system search path for libraries.
19351sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19352
19353# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19354configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19355
19356# Whether dlopen is supported.
19357dlopen_support=$enable_dlopen
19358
19359# Whether dlopen of programs is supported.
19360dlopen_self=$enable_dlopen_self
19361
19362# Whether dlopen of statically linked programs is supported.
19363dlopen_self_static=$enable_dlopen_self_static
19364
19365# Commands to strip libraries.
19366old_striplib=$lt_old_striplib
19367striplib=$lt_striplib
19368
19369
19370# The linker used to build libraries.
19371LD=$lt_LD
19372
19373# How to create reloadable object files.
19374reload_flag=$lt_reload_flag
19375reload_cmds=$lt_reload_cmds
19376
19377# Commands used to build an old-style archive.
19378old_archive_cmds=$lt_old_archive_cmds
19379
19380# A language specific compiler.
19381CC=$lt_compiler
19382
19383# Is the compiler the GNU compiler?
19384with_gcc=$GCC
19385
19386# Compiler flag to turn off builtin functions.
19387no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19388
19389# Additional compiler flags for building library objects.
19390pic_flag=$lt_lt_prog_compiler_pic
19391
19392# How to pass a linker flag through the compiler.
19393wl=$lt_lt_prog_compiler_wl
19394
19395# Compiler flag to prevent dynamic linking.
19396link_static_flag=$lt_lt_prog_compiler_static
19397
19398# Does compiler simultaneously support -c and -o options?
19399compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19400
19401# Whether or not to add -lc for building shared libraries.
19402build_libtool_need_lc=$archive_cmds_need_lc
19403
19404# Whether or not to disallow shared libs when runtime libs are static.
19405allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19406
19407# Compiler flag to allow reflexive dlopens.
19408export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19409
19410# Compiler flag to generate shared objects directly from archives.
19411whole_archive_flag_spec=$lt_whole_archive_flag_spec
19412
19413# Whether the compiler copes with passing no objects directly.
19414compiler_needs_object=$lt_compiler_needs_object
19415
19416# Create an old-style archive from a shared archive.
19417old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19418
19419# Create a temporary old-style archive to link instead of a shared archive.
19420old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19421
19422# Commands used to build a shared archive.
19423archive_cmds=$lt_archive_cmds
19424archive_expsym_cmds=$lt_archive_expsym_cmds
19425
19426# Commands used to build a loadable module if different from building
19427# a shared archive.
19428module_cmds=$lt_module_cmds
19429module_expsym_cmds=$lt_module_expsym_cmds
19430
19431# Whether we are building with GNU ld or not.
19432with_gnu_ld=$lt_with_gnu_ld
19433
19434# Flag that allows shared libraries with undefined symbols to be built.
19435allow_undefined_flag=$lt_allow_undefined_flag
19436
19437# Flag that enforces no undefined symbols.
19438no_undefined_flag=$lt_no_undefined_flag
19439
19440# Flag to hardcode \$libdir into a binary during linking.
19441# This must work even if \$libdir does not exist
19442hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19443
19444# Whether we need a single "-rpath" flag with a separated argument.
19445hardcode_libdir_separator=$lt_hardcode_libdir_separator
19446
19447# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19448# DIR into the resulting binary.
19449hardcode_direct=$hardcode_direct
19450
19451# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19452# DIR into the resulting binary and the resulting library dependency is
19453# "absolute",i.e impossible to change by setting \$shlibpath_var if the
19454# library is relocated.
19455hardcode_direct_absolute=$hardcode_direct_absolute
19456
19457# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19458# into the resulting binary.
19459hardcode_minus_L=$hardcode_minus_L
19460
19461# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19462# into the resulting binary.
19463hardcode_shlibpath_var=$hardcode_shlibpath_var
19464
19465# Set to "yes" if building a shared library automatically hardcodes DIR
19466# into the library and all subsequent libraries and executables linked
19467# against it.
19468hardcode_automatic=$hardcode_automatic
19469
19470# Set to yes if linker adds runtime paths of dependent libraries
19471# to runtime path list.
19472inherit_rpath=$inherit_rpath
19473
19474# Whether libtool must link a program against all its dependency libraries.
19475link_all_deplibs=$link_all_deplibs
19476
19477# Set to "yes" if exported symbols are required.
19478always_export_symbols=$always_export_symbols
19479
19480# The commands to list exported symbols.
19481export_symbols_cmds=$lt_export_symbols_cmds
19482
19483# Symbols that should not be listed in the preloaded symbols.
19484exclude_expsyms=$lt_exclude_expsyms
19485
19486# Symbols that must always be exported.
19487include_expsyms=$lt_include_expsyms
19488
19489# Commands necessary for linking programs (against libraries) with templates.
19490prelink_cmds=$lt_prelink_cmds
19491
19492# Commands necessary for finishing linking programs.
19493postlink_cmds=$lt_postlink_cmds
19494
19495# Specify filename containing input files.
19496file_list_spec=$lt_file_list_spec
19497
19498# How to hardcode a shared library path into an executable.
19499hardcode_action=$hardcode_action
19500
19501# The directories searched by this compiler when creating a shared library.
19502compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19503
19504# Dependencies to place before and after the objects being linked to
19505# create a shared library.
19506predep_objects=$lt_predep_objects
19507postdep_objects=$lt_postdep_objects
19508predeps=$lt_predeps
19509postdeps=$lt_postdeps
19510
19511# The library search path used internally by the compiler when linking
19512# a shared library.
19513compiler_lib_search_path=$lt_compiler_lib_search_path
19514
19515# ### END LIBTOOL CONFIG
19516
19517_LT_EOF
19518
19519    cat <<'_LT_EOF' >> "$cfgfile"
19520
19521# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19522
19523# func_munge_path_list VARIABLE PATH
19524# -----------------------------------
19525# VARIABLE is name of variable containing _space_ separated list of
19526# directories to be munged by the contents of PATH, which is string
19527# having a format:
19528# "DIR[:DIR]:"
19529#       string "DIR[ DIR]" will be prepended to VARIABLE
19530# ":DIR[:DIR]"
19531#       string "DIR[ DIR]" will be appended to VARIABLE
19532# "DIRP[:DIRP]::[DIRA:]DIRA"
19533#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19534#       "DIRA[ DIRA]" will be appended to VARIABLE
19535# "DIR[:DIR]"
19536#       VARIABLE will be replaced by "DIR[ DIR]"
19537func_munge_path_list ()
19538{
19539    case x$2 in
19540    x)
19541        ;;
19542    *:)
19543        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19544        ;;
19545    x:*)
19546        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19547        ;;
19548    *::*)
19549        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19550        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19551        ;;
19552    *)
19553        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19554        ;;
19555    esac
19556}
19557
19558
19559# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
19560func_cc_basename ()
19561{
19562    for cc_temp in $*""; do
19563      case $cc_temp in
19564        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19565        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19566        \-*) ;;
19567        *) break;;
19568      esac
19569    done
19570    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19571}
19572
19573
19574# ### END FUNCTIONS SHARED WITH CONFIGURE
19575
19576_LT_EOF
19577
19578  case $host_os in
19579  aix3*)
19580    cat <<\_LT_EOF >> "$cfgfile"
19581# AIX sometimes has problems with the GCC collect2 program.  For some
19582# reason, if we set the COLLECT_NAMES environment variable, the problems
19583# vanish in a puff of smoke.
19584if test set != "${COLLECT_NAMES+set}"; then
19585  COLLECT_NAMES=
19586  export COLLECT_NAMES
19587fi
19588_LT_EOF
19589    ;;
19590  esac
19591
19592
19593ltmain=$ac_aux_dir/ltmain.sh
19594
19595
19596  # We use sed instead of cat because bash on DJGPP gets confused if
19597  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19598  # text mode, it properly converts lines to CR/LF.  This bash problem
19599  # is reportedly fixed, but why not run on old versions too?
19600  sed '$q' "$ltmain" >> "$cfgfile" \
19601     || (rm -f "$cfgfile"; exit 1)
19602
19603   mv -f "$cfgfile" "$ofile" ||
19604    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19605  chmod +x "$ofile"
19606
19607
19608    cat <<_LT_EOF >> "$ofile"
19609
19610# ### BEGIN LIBTOOL TAG CONFIG: CXX
19611
19612# The linker used to build libraries.
19613LD=$lt_LD_CXX
19614
19615# How to create reloadable object files.
19616reload_flag=$lt_reload_flag_CXX
19617reload_cmds=$lt_reload_cmds_CXX
19618
19619# Commands used to build an old-style archive.
19620old_archive_cmds=$lt_old_archive_cmds_CXX
19621
19622# A language specific compiler.
19623CC=$lt_compiler_CXX
19624
19625# Is the compiler the GNU compiler?
19626with_gcc=$GCC_CXX
19627
19628# Compiler flag to turn off builtin functions.
19629no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19630
19631# Additional compiler flags for building library objects.
19632pic_flag=$lt_lt_prog_compiler_pic_CXX
19633
19634# How to pass a linker flag through the compiler.
19635wl=$lt_lt_prog_compiler_wl_CXX
19636
19637# Compiler flag to prevent dynamic linking.
19638link_static_flag=$lt_lt_prog_compiler_static_CXX
19639
19640# Does compiler simultaneously support -c and -o options?
19641compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19642
19643# Whether or not to add -lc for building shared libraries.
19644build_libtool_need_lc=$archive_cmds_need_lc_CXX
19645
19646# Whether or not to disallow shared libs when runtime libs are static.
19647allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19648
19649# Compiler flag to allow reflexive dlopens.
19650export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19651
19652# Compiler flag to generate shared objects directly from archives.
19653whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19654
19655# Whether the compiler copes with passing no objects directly.
19656compiler_needs_object=$lt_compiler_needs_object_CXX
19657
19658# Create an old-style archive from a shared archive.
19659old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19660
19661# Create a temporary old-style archive to link instead of a shared archive.
19662old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19663
19664# Commands used to build a shared archive.
19665archive_cmds=$lt_archive_cmds_CXX
19666archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19667
19668# Commands used to build a loadable module if different from building
19669# a shared archive.
19670module_cmds=$lt_module_cmds_CXX
19671module_expsym_cmds=$lt_module_expsym_cmds_CXX
19672
19673# Whether we are building with GNU ld or not.
19674with_gnu_ld=$lt_with_gnu_ld_CXX
19675
19676# Flag that allows shared libraries with undefined symbols to be built.
19677allow_undefined_flag=$lt_allow_undefined_flag_CXX
19678
19679# Flag that enforces no undefined symbols.
19680no_undefined_flag=$lt_no_undefined_flag_CXX
19681
19682# Flag to hardcode \$libdir into a binary during linking.
19683# This must work even if \$libdir does not exist
19684hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19685
19686# Whether we need a single "-rpath" flag with a separated argument.
19687hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19688
19689# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19690# DIR into the resulting binary.
19691hardcode_direct=$hardcode_direct_CXX
19692
19693# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19694# DIR into the resulting binary and the resulting library dependency is
19695# "absolute",i.e impossible to change by setting \$shlibpath_var if the
19696# library is relocated.
19697hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19698
19699# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19700# into the resulting binary.
19701hardcode_minus_L=$hardcode_minus_L_CXX
19702
19703# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19704# into the resulting binary.
19705hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19706
19707# Set to "yes" if building a shared library automatically hardcodes DIR
19708# into the library and all subsequent libraries and executables linked
19709# against it.
19710hardcode_automatic=$hardcode_automatic_CXX
19711
19712# Set to yes if linker adds runtime paths of dependent libraries
19713# to runtime path list.
19714inherit_rpath=$inherit_rpath_CXX
19715
19716# Whether libtool must link a program against all its dependency libraries.
19717link_all_deplibs=$link_all_deplibs_CXX
19718
19719# Set to "yes" if exported symbols are required.
19720always_export_symbols=$always_export_symbols_CXX
19721
19722# The commands to list exported symbols.
19723export_symbols_cmds=$lt_export_symbols_cmds_CXX
19724
19725# Symbols that should not be listed in the preloaded symbols.
19726exclude_expsyms=$lt_exclude_expsyms_CXX
19727
19728# Symbols that must always be exported.
19729include_expsyms=$lt_include_expsyms_CXX
19730
19731# Commands necessary for linking programs (against libraries) with templates.
19732prelink_cmds=$lt_prelink_cmds_CXX
19733
19734# Commands necessary for finishing linking programs.
19735postlink_cmds=$lt_postlink_cmds_CXX
19736
19737# Specify filename containing input files.
19738file_list_spec=$lt_file_list_spec_CXX
19739
19740# How to hardcode a shared library path into an executable.
19741hardcode_action=$hardcode_action_CXX
19742
19743# The directories searched by this compiler when creating a shared library.
19744compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19745
19746# Dependencies to place before and after the objects being linked to
19747# create a shared library.
19748predep_objects=$lt_predep_objects_CXX
19749postdep_objects=$lt_postdep_objects_CXX
19750predeps=$lt_predeps_CXX
19751postdeps=$lt_postdeps_CXX
19752
19753# The library search path used internally by the compiler when linking
19754# a shared library.
19755compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19756
19757# ### END LIBTOOL TAG CONFIG: CXX
19758_LT_EOF
19759
19760 ;;
19761
19762  esac
19763done # for ac_tag
19764
19765
19766as_fn_exit 0
19767_ACEOF
19768ac_clean_files=$ac_clean_files_save
19769
19770test $ac_write_fail = 0 ||
19771  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19772
19773
19774# configure is writing to config.log, and then calls config.status.
19775# config.status does its own redirection, appending to config.log.
19776# Unfortunately, on DOS this fails, as config.log is still kept open
19777# by configure, so config.status won't be able to write to it; its
19778# output is simply discarded.  So we exec the FD to /dev/null,
19779# effectively closing config.log, so it can be properly (re)opened and
19780# appended to by config.status.  When coming back to configure, we
19781# need to make the FD available again.
19782if test "$no_create" != yes; then
19783  ac_cs_success=:
19784  ac_config_status_args=
19785  test "$silent" = yes &&
19786    ac_config_status_args="$ac_config_status_args --quiet"
19787  exec 5>/dev/null
19788  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19789  exec 5>>config.log
19790  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19791  # would make configure fail if this is the last instruction.
19792  $ac_cs_success || as_fn_exit 1
19793fi
19794if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19795  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19796$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19797fi
19798
19799
19800echo "
19801Configuration for $PACKAGE $VERSION:
19802-------------------------------------------
19803
19804  install prefix ............: $prefix
19805  preflight worker support ..: $have_limd
19806  activation method .........: $activation_method"
19807
19808if test "x$activation_method" = "xsystemd"; then
19809  echo "  systemd unit directory ....: ${systemdsystemunitdir}"
19810fi
19811
19812if test -n "$udevrulesdir"; then
19813  echo "  udev rules directory ......: ${udevrulesdir}"
19814fi
19815
19816echo "  compiler ..................: ${CC}
19817
19818  Now type 'make' to build $PACKAGE $VERSION,
19819  and then 'make install' for installation.
19820"
19821