1#! /bin/sh
2# From configure.ac 0f7a259.
3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.69 for Xfmpc 0.3.0.
5#
6# Report bugs to <http://bugzilla.xfce.org/>.
7#
8# Copyright (c) 2008
9#         The Xfce development team. All rights reserved.
10#
11#
12# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
13#
14#
15# This configure script is free software; the Free Software Foundation
16# gives unlimited permission to copy, distribute and modify it.
17## -------------------- ##
18## M4sh Initialization. ##
19## -------------------- ##
20
21# Be more Bourne compatible
22DUALCASE=1; export DUALCASE # for MKS sh
23if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24  emulate sh
25  NULLCMD=:
26  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27  # is contrary to our usage.  Disable this feature.
28  alias -g '${1+"$@"}'='"$@"'
29  setopt NO_GLOB_SUBST
30else
31  case `(set -o) 2>/dev/null` in #(
32  *posix*) :
33    set -o posix ;; #(
34  *) :
35     ;;
36esac
37fi
38
39
40as_nl='
41'
42export as_nl
43# Printing a long string crashes Solaris 7 /usr/bin/printf.
44as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47# Prefer a ksh shell builtin over an external printf program on Solaris,
48# but without wasting forks for bash or zsh.
49if test -z "$BASH_VERSION$ZSH_VERSION" \
50    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51  as_echo='print -r --'
52  as_echo_n='print -rn --'
53elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54  as_echo='printf %s\n'
55  as_echo_n='printf %s'
56else
57  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
58    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59    as_echo_n='/usr/ucb/echo -n'
60  else
61    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62    as_echo_n_body='eval
63      arg=$1;
64      case $arg in #(
65      *"$as_nl"*)
66	expr "X$arg" : "X\\(.*\\)$as_nl";
67	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68      esac;
69      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70    '
71    export as_echo_n_body
72    as_echo_n='sh -c $as_echo_n_body as_echo'
73  fi
74  export as_echo_body
75  as_echo='sh -c $as_echo_body as_echo'
76fi
77
78# The user is always right.
79if test "${PATH_SEPARATOR+set}" != set; then
80  PATH_SEPARATOR=:
81  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83      PATH_SEPARATOR=';'
84  }
85fi
86
87
88# IFS
89# We need space, tab and new line, in precisely that order.  Quoting is
90# there to prevent editors from complaining about space-tab.
91# (If _AS_PATH_WALK were called with IFS unset, it would disable word
92# splitting by setting IFS to empty value.)
93IFS=" ""	$as_nl"
94
95# Find who we are.  Look in the path if we contain no directory separator.
96as_myself=
97case $0 in #((
98  *[\\/]* ) as_myself=$0 ;;
99  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100for as_dir in $PATH
101do
102  IFS=$as_save_IFS
103  test -z "$as_dir" && as_dir=.
104    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105  done
106IFS=$as_save_IFS
107
108     ;;
109esac
110# We did not find ourselves, most probably we were run as `sh COMMAND'
111# in which case we are not to be found in the path.
112if test "x$as_myself" = x; then
113  as_myself=$0
114fi
115if test ! -f "$as_myself"; then
116  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117  exit 1
118fi
119
120# Unset variables that we do not need and which cause bugs (e.g. in
121# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
122# suppresses any "Segmentation fault" message there.  '((' could
123# trigger a bug in pdksh 5.2.14.
124for as_var in BASH_ENV ENV MAIL MAILPATH
125do eval test x\${$as_var+set} = xset \
126  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
127done
128PS1='$ '
129PS2='> '
130PS4='+ '
131
132# NLS nuisances.
133LC_ALL=C
134export LC_ALL
135LANGUAGE=C
136export LANGUAGE
137
138# CDPATH.
139(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
140
141# Use a proper internal environment variable to ensure we don't fall
142  # into an infinite loop, continuously re-executing ourselves.
143  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
144    _as_can_reexec=no; export _as_can_reexec;
145    # We cannot yet assume a decent shell, so we have to provide a
146# neutralization value for shells without unset; and this also
147# works around shells that cannot unset nonexistent variables.
148# Preserve -v and -x to the replacement shell.
149BASH_ENV=/dev/null
150ENV=/dev/null
151(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
152case $- in # ((((
153  *v*x* | *x*v* ) as_opts=-vx ;;
154  *v* ) as_opts=-v ;;
155  *x* ) as_opts=-x ;;
156  * ) as_opts= ;;
157esac
158exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
159# Admittedly, this is quite paranoid, since all the known shells bail
160# out after a failed `exec'.
161$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
162as_fn_exit 255
163  fi
164  # We don't want this to propagate to other subprocesses.
165          { _as_can_reexec=; unset _as_can_reexec;}
166if test "x$CONFIG_SHELL" = x; then
167  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
168  emulate sh
169  NULLCMD=:
170  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
171  # is contrary to our usage.  Disable this feature.
172  alias -g '\${1+\"\$@\"}'='\"\$@\"'
173  setopt NO_GLOB_SUBST
174else
175  case \`(set -o) 2>/dev/null\` in #(
176  *posix*) :
177    set -o posix ;; #(
178  *) :
179     ;;
180esac
181fi
182"
183  as_required="as_fn_return () { (exit \$1); }
184as_fn_success () { as_fn_return 0; }
185as_fn_failure () { as_fn_return 1; }
186as_fn_ret_success () { return 0; }
187as_fn_ret_failure () { return 1; }
188
189exitcode=0
190as_fn_success || { exitcode=1; echo as_fn_success failed.; }
191as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
192as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
193as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
194if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
195
196else
197  exitcode=1; echo positional parameters were not saved.
198fi
199test x\$exitcode = x0 || exit 1
200test -x / || exit 1"
201  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
202  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
203  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
204  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
205test \$(( 1 + 1 )) = 2 || exit 1
206
207  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
208    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
209    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
210    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
211    PATH=/empty FPATH=/empty; export PATH FPATH
212    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
213      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
214  if (eval "$as_required") 2>/dev/null; then :
215  as_have_required=yes
216else
217  as_have_required=no
218fi
219  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
220
221else
222  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
223as_found=false
224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225do
226  IFS=$as_save_IFS
227  test -z "$as_dir" && as_dir=.
228  as_found=:
229  case $as_dir in #(
230	 /*)
231	   for as_base in sh bash ksh sh5; do
232	     # Try only shells that exist, to save several forks.
233	     as_shell=$as_dir/$as_base
234	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
236  CONFIG_SHELL=$as_shell as_have_required=yes
237		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
238  break 2
239fi
240fi
241	   done;;
242       esac
243  as_found=false
244done
245$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
246	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
247  CONFIG_SHELL=$SHELL as_have_required=yes
248fi; }
249IFS=$as_save_IFS
250
251
252      if test "x$CONFIG_SHELL" != x; then :
253  export CONFIG_SHELL
254             # We cannot yet assume a decent shell, so we have to provide a
255# neutralization value for shells without unset; and this also
256# works around shells that cannot unset nonexistent variables.
257# Preserve -v and -x to the replacement shell.
258BASH_ENV=/dev/null
259ENV=/dev/null
260(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
261case $- in # ((((
262  *v*x* | *x*v* ) as_opts=-vx ;;
263  *v* ) as_opts=-v ;;
264  *x* ) as_opts=-x ;;
265  * ) as_opts= ;;
266esac
267exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
268# Admittedly, this is quite paranoid, since all the known shells bail
269# out after a failed `exec'.
270$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
271exit 255
272fi
273
274    if test x$as_have_required = xno; then :
275  $as_echo "$0: This script requires a shell more modern than all"
276  $as_echo "$0: the shells that I found on your system."
277  if test x${ZSH_VERSION+set} = xset ; then
278    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
279    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
280  else
281    $as_echo "$0: Please tell bug-autoconf@gnu.org and
282$0: http://bugzilla.xfce.org/ about your system, including
283$0: any error possibly output before this message. Then
284$0: install a modern shell, or manually run the script
285$0: under such a shell if you do have one."
286  fi
287  exit 1
288fi
289fi
290fi
291SHELL=${CONFIG_SHELL-/bin/sh}
292export SHELL
293# Unset more variables known to interfere with behavior of common tools.
294CLICOLOR_FORCE= GREP_OPTIONS=
295unset CLICOLOR_FORCE GREP_OPTIONS
296
297## --------------------- ##
298## M4sh Shell Functions. ##
299## --------------------- ##
300# as_fn_unset VAR
301# ---------------
302# Portably unset VAR.
303as_fn_unset ()
304{
305  { eval $1=; unset $1;}
306}
307as_unset=as_fn_unset
308
309# as_fn_set_status STATUS
310# -----------------------
311# Set $? to STATUS, without forking.
312as_fn_set_status ()
313{
314  return $1
315} # as_fn_set_status
316
317# as_fn_exit STATUS
318# -----------------
319# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
320as_fn_exit ()
321{
322  set +e
323  as_fn_set_status $1
324  exit $1
325} # as_fn_exit
326
327# as_fn_mkdir_p
328# -------------
329# Create "$as_dir" as a directory, including parents if necessary.
330as_fn_mkdir_p ()
331{
332
333  case $as_dir in #(
334  -*) as_dir=./$as_dir;;
335  esac
336  test -d "$as_dir" || eval $as_mkdir_p || {
337    as_dirs=
338    while :; do
339      case $as_dir in #(
340      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341      *) as_qdir=$as_dir;;
342      esac
343      as_dirs="'$as_qdir' $as_dirs"
344      as_dir=`$as_dirname -- "$as_dir" ||
345$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
346	 X"$as_dir" : 'X\(//\)[^/]' \| \
347	 X"$as_dir" : 'X\(//\)$' \| \
348	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
349$as_echo X"$as_dir" |
350    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)[^/].*/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\/\)$/{
359	    s//\1/
360	    q
361	  }
362	  /^X\(\/\).*/{
363	    s//\1/
364	    q
365	  }
366	  s/.*/./; q'`
367      test -d "$as_dir" && break
368    done
369    test -z "$as_dirs" || eval "mkdir $as_dirs"
370  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371
372
373} # as_fn_mkdir_p
374
375# as_fn_executable_p FILE
376# -----------------------
377# Test if FILE is an executable regular file.
378as_fn_executable_p ()
379{
380  test -f "$1" && test -x "$1"
381} # as_fn_executable_p
382# as_fn_append VAR VALUE
383# ----------------------
384# Append the text in VALUE to the end of the definition contained in VAR. Take
385# advantage of any shell optimizations that allow amortized linear growth over
386# repeated appends, instead of the typical quadratic growth present in naive
387# implementations.
388if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
389  eval 'as_fn_append ()
390  {
391    eval $1+=\$2
392  }'
393else
394  as_fn_append ()
395  {
396    eval $1=\$$1\$2
397  }
398fi # as_fn_append
399
400# as_fn_arith ARG...
401# ------------------
402# Perform arithmetic evaluation on the ARGs, and store the result in the
403# global $as_val. Take advantage of shells that can avoid forks. The arguments
404# must be portable across $(()) and expr.
405if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
406  eval 'as_fn_arith ()
407  {
408    as_val=$(( $* ))
409  }'
410else
411  as_fn_arith ()
412  {
413    as_val=`expr "$@" || test $? -eq 1`
414  }
415fi # as_fn_arith
416
417
418# as_fn_error STATUS ERROR [LINENO LOG_FD]
419# ----------------------------------------
420# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
421# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
422# script with STATUS, using 1 if that was 0.
423as_fn_error ()
424{
425  as_status=$1; test $as_status -eq 0 && as_status=1
426  if test "$4"; then
427    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
428    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
429  fi
430  $as_echo "$as_me: error: $2" >&2
431  as_fn_exit $as_status
432} # as_fn_error
433
434if expr a : '\(a\)' >/dev/null 2>&1 &&
435   test "X`expr 00001 : '.*\(...\)'`" = X001; then
436  as_expr=expr
437else
438  as_expr=false
439fi
440
441if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
442  as_basename=basename
443else
444  as_basename=false
445fi
446
447if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
448  as_dirname=dirname
449else
450  as_dirname=false
451fi
452
453as_me=`$as_basename -- "$0" ||
454$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
455	 X"$0" : 'X\(//\)$' \| \
456	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
457$as_echo X/"$0" |
458    sed '/^.*\/\([^/][^/]*\)\/*$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\/\)$/{
463	    s//\1/
464	    q
465	  }
466	  /^X\/\(\/\).*/{
467	    s//\1/
468	    q
469	  }
470	  s/.*/./; q'`
471
472# Avoid depending upon Character Ranges.
473as_cr_letters='abcdefghijklmnopqrstuvwxyz'
474as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
475as_cr_Letters=$as_cr_letters$as_cr_LETTERS
476as_cr_digits='0123456789'
477as_cr_alnum=$as_cr_Letters$as_cr_digits
478
479
480  as_lineno_1=$LINENO as_lineno_1a=$LINENO
481  as_lineno_2=$LINENO as_lineno_2a=$LINENO
482  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
483  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
484  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
485  sed -n '
486    p
487    /[$]LINENO/=
488  ' <$as_myself |
489    sed '
490      s/[$]LINENO.*/&-/
491      t lineno
492      b
493      :lineno
494      N
495      :loop
496      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497      t loop
498      s/-\n.*//
499    ' >$as_me.lineno &&
500  chmod +x "$as_me.lineno" ||
501    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
502
503  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
504  # already done that, so ensure we don't try to do so again and fall
505  # in an infinite loop.  This has already happened in practice.
506  _as_can_reexec=no; export _as_can_reexec
507  # Don't try to exec as it changes $[0], causing all sort of problems
508  # (the dirname of $[0] is not the place where we might find the
509  # original and so on.  Autoconf is especially sensitive to this).
510  . "./$as_me.lineno"
511  # Exit status is that of the last command.
512  exit
513}
514
515ECHO_C= ECHO_N= ECHO_T=
516case `echo -n x` in #(((((
517-n*)
518  case `echo 'xy\c'` in
519  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
520  xy)  ECHO_C='\c';;
521  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
522       ECHO_T='	';;
523  esac;;
524*)
525  ECHO_N='-n';;
526esac
527
528rm -f conf$$ conf$$.exe conf$$.file
529if test -d conf$$.dir; then
530  rm -f conf$$.dir/conf$$.file
531else
532  rm -f conf$$.dir
533  mkdir conf$$.dir 2>/dev/null
534fi
535if (echo >conf$$.file) 2>/dev/null; then
536  if ln -s conf$$.file conf$$ 2>/dev/null; then
537    as_ln_s='ln -s'
538    # ... but there are two gotchas:
539    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
540    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
541    # In both cases, we have to default to `cp -pR'.
542    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
543      as_ln_s='cp -pR'
544  elif ln conf$$.file conf$$ 2>/dev/null; then
545    as_ln_s=ln
546  else
547    as_ln_s='cp -pR'
548  fi
549else
550  as_ln_s='cp -pR'
551fi
552rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
553rmdir conf$$.dir 2>/dev/null
554
555if mkdir -p . 2>/dev/null; then
556  as_mkdir_p='mkdir -p "$as_dir"'
557else
558  test -d ./-p && rmdir ./-p
559  as_mkdir_p=false
560fi
561
562as_test_x='test -x'
563as_executable_p=as_fn_executable_p
564
565# Sed expression to map a string onto a valid CPP name.
566as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
567
568# Sed expression to map a string onto a valid variable name.
569as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
570
571SHELL=${CONFIG_SHELL-/bin/sh}
572
573as_awk_strverscmp='
574  # Use only awk features that work with 7th edition Unix awk (1978).
575  # My, what an old awk you have, Mr. Solaris!
576  END {
577    while (length(v1) && length(v2)) {
578      # Set d1 to be the next thing to compare from v1, and likewise for d2.
579      # Normally this is a single character, but if v1 and v2 contain digits,
580      # compare them as integers and fractions as strverscmp does.
581      if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
582	# Split v1 and v2 into their leading digit string components d1 and d2,
583	# and advance v1 and v2 past the leading digit strings.
584	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
585	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
586	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
587	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
588	if (d1 ~ /^0/) {
589	  if (d2 ~ /^0/) {
590	    # Compare two fractions.
591	    while (d1 ~ /^0/ && d2 ~ /^0/) {
592	      d1 = substr(d1, 2); len1--
593	      d2 = substr(d2, 2); len2--
594	    }
595	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
596	      # The two components differ in length, and the common prefix
597	      # contains only leading zeros.  Consider the longer to be less.
598	      d1 = -len1
599	      d2 = -len2
600	    } else {
601	      # Otherwise, compare as strings.
602	      d1 = "x" d1
603	      d2 = "x" d2
604	    }
605	  } else {
606	    # A fraction is less than an integer.
607	    exit 1
608	  }
609	} else {
610	  if (d2 ~ /^0/) {
611	    # An integer is greater than a fraction.
612	    exit 2
613	  } else {
614	    # Compare two integers.
615	    d1 += 0
616	    d2 += 0
617	  }
618	}
619      } else {
620	# The normal case, without worrying about digits.
621	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
622	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
623      }
624      if (d1 < d2) exit 1
625      if (d1 > d2) exit 2
626    }
627    # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
628    # which mishandles some comparisons of empty strings to integers.
629    if (length(v2)) exit 1
630    if (length(v1)) exit 2
631  }
632'
633
634test -n "$DJDIR" || exec 7<&0 </dev/null
635exec 6>&1
636
637# Name of the host.
638# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
639# so uname gets run too.
640ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
641
642#
643# Initializations.
644#
645ac_default_prefix=/usr/local
646ac_clean_files=
647ac_config_libobj_dir=.
648LIBOBJS=
649cross_compiling=no
650subdirs=
651MFLAGS=
652MAKEFLAGS=
653
654# Identity of this package.
655PACKAGE_NAME='Xfmpc'
656PACKAGE_TARNAME='xfmpc'
657PACKAGE_VERSION='0.3.0'
658PACKAGE_STRING='Xfmpc 0.3.0'
659PACKAGE_BUGREPORT='http://bugzilla.xfce.org/'
660PACKAGE_URL='http://goodies.xfce.org/projects/applications/xfmpc'
661
662# Factoring default headers for most tests.
663ac_includes_default="\
664#include <stdio.h>
665#ifdef HAVE_SYS_TYPES_H
666# include <sys/types.h>
667#endif
668#ifdef HAVE_SYS_STAT_H
669# include <sys/stat.h>
670#endif
671#ifdef STDC_HEADERS
672# include <stdlib.h>
673# include <stddef.h>
674#else
675# ifdef HAVE_STDLIB_H
676#  include <stdlib.h>
677# endif
678#endif
679#ifdef HAVE_STRING_H
680# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
681#  include <memory.h>
682# endif
683# include <string.h>
684#endif
685#ifdef HAVE_STRINGS_H
686# include <strings.h>
687#endif
688#ifdef HAVE_INTTYPES_H
689# include <inttypes.h>
690#endif
691#ifdef HAVE_STDINT_H
692# include <stdint.h>
693#endif
694#ifdef HAVE_UNISTD_H
695# include <unistd.h>
696#endif"
697
698ac_subst_vars='am__EXEEXT_FALSE
699am__EXEEXT_TRUE
700LTLIBOBJS
701LIBOBJS
702XGETTEXT_ARGS
703MKINSTALLDIRS
704POSUB
705POFILES
706PO_IN_DATADIR_FALSE
707PO_IN_DATADIR_TRUE
708INTLLIBS
709INSTOBJEXT
710GMOFILES
711DATADIRNAME
712CATOBJEXT
713CATALOGS
714MSGFMT_OPTS
715INTL_MACOSX_LIBS
716GETTEXT_PACKAGE
717VALAC
718LIBMPD_REQUIRED_VERSION
719LIBMPD_LIBS
720LIBMPD_CFLAGS
721LIBMPD_VERSION
722LIBXFCE4UTIL_REQUIRED_VERSION
723LIBXFCE4UTIL_LIBS
724LIBXFCE4UTIL_CFLAGS
725LIBXFCE4UTIL_VERSION
726LIBXFCE4UI_REQUIRED_VERSION
727LIBXFCE4UI_LIBS
728LIBXFCE4UI_CFLAGS
729LIBXFCE4UI_VERSION
730GTHREAD_REQUIRED_VERSION
731GTHREAD_LIBS
732GTHREAD_CFLAGS
733GTHREAD_VERSION
734GTK_REQUIRED_VERSION
735GTK_LIBS
736GTK_CFLAGS
737GTK_VERSION
738PKG_CONFIG_LIBDIR
739PKG_CONFIG_PATH
740PKG_CONFIG
741LIBX11_LIBS
742LIBX11_LDFLAGS
743LIBX11_CFLAGS
744X_EXTRA_LIBS
745X_LIBS
746X_PRE_LIBS
747X_CFLAGS
748XMKMF
749CPP
750LT_SYS_LIBRARY_PATH
751OTOOL64
752OTOOL
753LIPO
754NMEDIT
755DSYMUTIL
756MANIFEST_TOOL
757RANLIB
758ac_ct_AR
759AR
760DLLTOOL
761OBJDUMP
762LN_S
763NM
764ac_ct_DUMPBIN
765DUMPBIN
766LIBTOOL
767ALL_LINGUAS
768INTLTOOL_PERL
769GMSGFMT
770MSGFMT
771MSGMERGE
772XGETTEXT
773INTLTOOL_POLICY_RULE
774INTLTOOL_SERVICE_RULE
775INTLTOOL_THEME_RULE
776INTLTOOL_SCHEMAS_RULE
777INTLTOOL_CAVES_RULE
778INTLTOOL_XML_NOMERGE_RULE
779INTLTOOL_XML_RULE
780INTLTOOL_KBD_RULE
781INTLTOOL_XAM_RULE
782INTLTOOL_UI_RULE
783INTLTOOL_SOUNDLIST_RULE
784INTLTOOL_SHEET_RULE
785INTLTOOL_SERVER_RULE
786INTLTOOL_PONG_RULE
787INTLTOOL_OAF_RULE
788INTLTOOL_PROP_RULE
789INTLTOOL_KEYS_RULE
790INTLTOOL_DIRECTORY_RULE
791INTLTOOL_DESKTOP_RULE
792intltool__v_merge_options_0
793intltool__v_merge_options_
794INTLTOOL_V_MERGE_OPTIONS
795INTLTOOL__v_MERGE_0
796INTLTOOL__v_MERGE_
797INTLTOOL_V_MERGE
798INTLTOOL_EXTRACT
799INTLTOOL_MERGE
800INTLTOOL_UPDATE
801USE_NLS
802LD
803FGREP
804EGREP
805GREP
806SED
807am__fastdepCC_FALSE
808am__fastdepCC_TRUE
809CCDEPMODE
810am__nodep
811AMDEPBACKSLASH
812AMDEP_FALSE
813AMDEP_TRUE
814am__include
815DEPDIR
816OBJEXT
817EXEEXT
818ac_ct_CC
819CPPFLAGS
820LDFLAGS
821CFLAGS
822CC
823MAINT
824MAINTAINER_MODE_FALSE
825MAINTAINER_MODE_TRUE
826AM_BACKSLASH
827AM_DEFAULT_VERBOSITY
828AM_DEFAULT_V
829AM_V
830am__untar
831am__tar
832AMTAR
833am__leading_dot
834SET_MAKE
835AWK
836mkdir_p
837MKDIR_P
838INSTALL_STRIP_PROGRAM
839STRIP
840install_sh
841MAKEINFO
842AUTOHEADER
843AUTOMAKE
844AUTOCONF
845ACLOCAL
846VERSION
847PACKAGE
848CYGPATH_W
849am__isrc
850INSTALL_DATA
851INSTALL_SCRIPT
852INSTALL_PROGRAM
853target_os
854target_vendor
855target_cpu
856target
857host_os
858host_vendor
859host_cpu
860host
861build_os
862build_vendor
863build_cpu
864build
865target_alias
866host_alias
867build_alias
868LIBS
869ECHO_T
870ECHO_N
871ECHO_C
872DEFS
873mandir
874localedir
875libdir
876psdir
877pdfdir
878dvidir
879htmldir
880infodir
881docdir
882oldincludedir
883includedir
884localstatedir
885sharedstatedir
886sysconfdir
887datadir
888datarootdir
889libexecdir
890sbindir
891bindir
892program_transform_name
893prefix
894exec_prefix
895PACKAGE_URL
896PACKAGE_BUGREPORT
897PACKAGE_STRING
898PACKAGE_VERSION
899PACKAGE_TARNAME
900PACKAGE_NAME
901PATH_SEPARATOR
902SHELL
903am__quote'
904ac_subst_files=''
905ac_user_opts='
906enable_option_checking
907enable_silent_rules
908enable_maintainer_mode
909enable_dependency_tracking
910with_gnu_ld
911enable_nls
912enable_static
913enable_shared
914with_pic
915enable_fast_install
916with_aix_soname
917with_sysroot
918enable_libtool_lock
919with_x
920with_locales_dir
921enable_debug
922'
923      ac_precious_vars='build_alias
924host_alias
925target_alias
926CC
927CFLAGS
928LDFLAGS
929LIBS
930CPPFLAGS
931LT_SYS_LIBRARY_PATH
932CPP
933XMKMF
934PKG_CONFIG
935PKG_CONFIG_PATH
936PKG_CONFIG_LIBDIR'
937
938
939# Initialize some variables set by options.
940ac_init_help=
941ac_init_version=false
942ac_unrecognized_opts=
943ac_unrecognized_sep=
944# The variables have the same names as the options, with
945# dashes changed to underlines.
946cache_file=/dev/null
947exec_prefix=NONE
948no_create=
949no_recursion=
950prefix=NONE
951program_prefix=NONE
952program_suffix=NONE
953program_transform_name=s,x,x,
954silent=
955site=
956srcdir=
957verbose=
958x_includes=NONE
959x_libraries=NONE
960
961# Installation directory options.
962# These are left unexpanded so users can "make install exec_prefix=/foo"
963# and all the variables that are supposed to be based on exec_prefix
964# by default will actually change.
965# Use braces instead of parens because sh, perl, etc. also accept them.
966# (The list follows the same order as the GNU Coding Standards.)
967bindir='${exec_prefix}/bin'
968sbindir='${exec_prefix}/sbin'
969libexecdir='${exec_prefix}/libexec'
970datarootdir='${prefix}/share'
971datadir='${datarootdir}'
972sysconfdir='${prefix}/etc'
973sharedstatedir='${prefix}/com'
974localstatedir='${prefix}/var'
975includedir='${prefix}/include'
976oldincludedir='/usr/include'
977docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
978infodir='${datarootdir}/info'
979htmldir='${docdir}'
980dvidir='${docdir}'
981pdfdir='${docdir}'
982psdir='${docdir}'
983libdir='${exec_prefix}/lib'
984localedir='${datarootdir}/locale'
985mandir='${datarootdir}/man'
986
987ac_prev=
988ac_dashdash=
989for ac_option
990do
991  # If the previous option needs an argument, assign it.
992  if test -n "$ac_prev"; then
993    eval $ac_prev=\$ac_option
994    ac_prev=
995    continue
996  fi
997
998  case $ac_option in
999  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1000  *=)   ac_optarg= ;;
1001  *)    ac_optarg=yes ;;
1002  esac
1003
1004  # Accept the important Cygnus configure options, so we can diagnose typos.
1005
1006  case $ac_dashdash$ac_option in
1007  --)
1008    ac_dashdash=yes ;;
1009
1010  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1011    ac_prev=bindir ;;
1012  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1013    bindir=$ac_optarg ;;
1014
1015  -build | --build | --buil | --bui | --bu)
1016    ac_prev=build_alias ;;
1017  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1018    build_alias=$ac_optarg ;;
1019
1020  -cache-file | --cache-file | --cache-fil | --cache-fi \
1021  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1022    ac_prev=cache_file ;;
1023  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1024  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1025    cache_file=$ac_optarg ;;
1026
1027  --config-cache | -C)
1028    cache_file=config.cache ;;
1029
1030  -datadir | --datadir | --datadi | --datad)
1031    ac_prev=datadir ;;
1032  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1033    datadir=$ac_optarg ;;
1034
1035  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1036  | --dataroo | --dataro | --datar)
1037    ac_prev=datarootdir ;;
1038  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1039  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1040    datarootdir=$ac_optarg ;;
1041
1042  -disable-* | --disable-*)
1043    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1044    # Reject names that are not valid shell variable names.
1045    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046      as_fn_error $? "invalid feature name: $ac_useropt"
1047    ac_useropt_orig=$ac_useropt
1048    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049    case $ac_user_opts in
1050      *"
1051"enable_$ac_useropt"
1052"*) ;;
1053      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1054	 ac_unrecognized_sep=', ';;
1055    esac
1056    eval enable_$ac_useropt=no ;;
1057
1058  -docdir | --docdir | --docdi | --doc | --do)
1059    ac_prev=docdir ;;
1060  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1061    docdir=$ac_optarg ;;
1062
1063  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1064    ac_prev=dvidir ;;
1065  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1066    dvidir=$ac_optarg ;;
1067
1068  -enable-* | --enable-*)
1069    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1070    # Reject names that are not valid shell variable names.
1071    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1072      as_fn_error $? "invalid feature name: $ac_useropt"
1073    ac_useropt_orig=$ac_useropt
1074    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075    case $ac_user_opts in
1076      *"
1077"enable_$ac_useropt"
1078"*) ;;
1079      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1080	 ac_unrecognized_sep=', ';;
1081    esac
1082    eval enable_$ac_useropt=\$ac_optarg ;;
1083
1084  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1085  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1086  | --exec | --exe | --ex)
1087    ac_prev=exec_prefix ;;
1088  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1089  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1090  | --exec=* | --exe=* | --ex=*)
1091    exec_prefix=$ac_optarg ;;
1092
1093  -gas | --gas | --ga | --g)
1094    # Obsolete; use --with-gas.
1095    with_gas=yes ;;
1096
1097  -help | --help | --hel | --he | -h)
1098    ac_init_help=long ;;
1099  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1100    ac_init_help=recursive ;;
1101  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1102    ac_init_help=short ;;
1103
1104  -host | --host | --hos | --ho)
1105    ac_prev=host_alias ;;
1106  -host=* | --host=* | --hos=* | --ho=*)
1107    host_alias=$ac_optarg ;;
1108
1109  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1110    ac_prev=htmldir ;;
1111  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1112  | --ht=*)
1113    htmldir=$ac_optarg ;;
1114
1115  -includedir | --includedir | --includedi | --included | --include \
1116  | --includ | --inclu | --incl | --inc)
1117    ac_prev=includedir ;;
1118  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1119  | --includ=* | --inclu=* | --incl=* | --inc=*)
1120    includedir=$ac_optarg ;;
1121
1122  -infodir | --infodir | --infodi | --infod | --info | --inf)
1123    ac_prev=infodir ;;
1124  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1125    infodir=$ac_optarg ;;
1126
1127  -libdir | --libdir | --libdi | --libd)
1128    ac_prev=libdir ;;
1129  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1130    libdir=$ac_optarg ;;
1131
1132  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1133  | --libexe | --libex | --libe)
1134    ac_prev=libexecdir ;;
1135  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1136  | --libexe=* | --libex=* | --libe=*)
1137    libexecdir=$ac_optarg ;;
1138
1139  -localedir | --localedir | --localedi | --localed | --locale)
1140    ac_prev=localedir ;;
1141  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1142    localedir=$ac_optarg ;;
1143
1144  -localstatedir | --localstatedir | --localstatedi | --localstated \
1145  | --localstate | --localstat | --localsta | --localst | --locals)
1146    ac_prev=localstatedir ;;
1147  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1148  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1149    localstatedir=$ac_optarg ;;
1150
1151  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1152    ac_prev=mandir ;;
1153  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1154    mandir=$ac_optarg ;;
1155
1156  -nfp | --nfp | --nf)
1157    # Obsolete; use --without-fp.
1158    with_fp=no ;;
1159
1160  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1161  | --no-cr | --no-c | -n)
1162    no_create=yes ;;
1163
1164  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1165  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1166    no_recursion=yes ;;
1167
1168  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1169  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1170  | --oldin | --oldi | --old | --ol | --o)
1171    ac_prev=oldincludedir ;;
1172  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1173  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1174  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1175    oldincludedir=$ac_optarg ;;
1176
1177  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1178    ac_prev=prefix ;;
1179  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1180    prefix=$ac_optarg ;;
1181
1182  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1183  | --program-pre | --program-pr | --program-p)
1184    ac_prev=program_prefix ;;
1185  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1186  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1187    program_prefix=$ac_optarg ;;
1188
1189  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1190  | --program-suf | --program-su | --program-s)
1191    ac_prev=program_suffix ;;
1192  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1193  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1194    program_suffix=$ac_optarg ;;
1195
1196  -program-transform-name | --program-transform-name \
1197  | --program-transform-nam | --program-transform-na \
1198  | --program-transform-n | --program-transform- \
1199  | --program-transform | --program-transfor \
1200  | --program-transfo | --program-transf \
1201  | --program-trans | --program-tran \
1202  | --progr-tra | --program-tr | --program-t)
1203    ac_prev=program_transform_name ;;
1204  -program-transform-name=* | --program-transform-name=* \
1205  | --program-transform-nam=* | --program-transform-na=* \
1206  | --program-transform-n=* | --program-transform-=* \
1207  | --program-transform=* | --program-transfor=* \
1208  | --program-transfo=* | --program-transf=* \
1209  | --program-trans=* | --program-tran=* \
1210  | --progr-tra=* | --program-tr=* | --program-t=*)
1211    program_transform_name=$ac_optarg ;;
1212
1213  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1214    ac_prev=pdfdir ;;
1215  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1216    pdfdir=$ac_optarg ;;
1217
1218  -psdir | --psdir | --psdi | --psd | --ps)
1219    ac_prev=psdir ;;
1220  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1221    psdir=$ac_optarg ;;
1222
1223  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1224  | -silent | --silent | --silen | --sile | --sil)
1225    silent=yes ;;
1226
1227  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1228    ac_prev=sbindir ;;
1229  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1230  | --sbi=* | --sb=*)
1231    sbindir=$ac_optarg ;;
1232
1233  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1234  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1235  | --sharedst | --shareds | --shared | --share | --shar \
1236  | --sha | --sh)
1237    ac_prev=sharedstatedir ;;
1238  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1239  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1240  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1241  | --sha=* | --sh=*)
1242    sharedstatedir=$ac_optarg ;;
1243
1244  -site | --site | --sit)
1245    ac_prev=site ;;
1246  -site=* | --site=* | --sit=*)
1247    site=$ac_optarg ;;
1248
1249  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1250    ac_prev=srcdir ;;
1251  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1252    srcdir=$ac_optarg ;;
1253
1254  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1255  | --syscon | --sysco | --sysc | --sys | --sy)
1256    ac_prev=sysconfdir ;;
1257  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1258  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1259    sysconfdir=$ac_optarg ;;
1260
1261  -target | --target | --targe | --targ | --tar | --ta | --t)
1262    ac_prev=target_alias ;;
1263  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1264    target_alias=$ac_optarg ;;
1265
1266  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1267    verbose=yes ;;
1268
1269  -version | --version | --versio | --versi | --vers | -V)
1270    ac_init_version=: ;;
1271
1272  -with-* | --with-*)
1273    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1274    # Reject names that are not valid shell variable names.
1275    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1276      as_fn_error $? "invalid package name: $ac_useropt"
1277    ac_useropt_orig=$ac_useropt
1278    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1279    case $ac_user_opts in
1280      *"
1281"with_$ac_useropt"
1282"*) ;;
1283      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1284	 ac_unrecognized_sep=', ';;
1285    esac
1286    eval with_$ac_useropt=\$ac_optarg ;;
1287
1288  -without-* | --without-*)
1289    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1290    # Reject names that are not valid shell variable names.
1291    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1292      as_fn_error $? "invalid package name: $ac_useropt"
1293    ac_useropt_orig=$ac_useropt
1294    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1295    case $ac_user_opts in
1296      *"
1297"with_$ac_useropt"
1298"*) ;;
1299      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1300	 ac_unrecognized_sep=', ';;
1301    esac
1302    eval with_$ac_useropt=no ;;
1303
1304  --x)
1305    # Obsolete; use --with-x.
1306    with_x=yes ;;
1307
1308  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1309  | --x-incl | --x-inc | --x-in | --x-i)
1310    ac_prev=x_includes ;;
1311  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1312  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1313    x_includes=$ac_optarg ;;
1314
1315  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1316  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1317    ac_prev=x_libraries ;;
1318  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1319  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1320    x_libraries=$ac_optarg ;;
1321
1322  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1323Try \`$0 --help' for more information"
1324    ;;
1325
1326  *=*)
1327    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1328    # Reject names that are not valid shell variable names.
1329    case $ac_envvar in #(
1330      '' | [0-9]* | *[!_$as_cr_alnum]* )
1331      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1332    esac
1333    eval $ac_envvar=\$ac_optarg
1334    export $ac_envvar ;;
1335
1336  *)
1337    # FIXME: should be removed in autoconf 3.0.
1338    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1339    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1340      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1341    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1342    ;;
1343
1344  esac
1345done
1346
1347if test -n "$ac_prev"; then
1348  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1349  as_fn_error $? "missing argument to $ac_option"
1350fi
1351
1352if test -n "$ac_unrecognized_opts"; then
1353  case $enable_option_checking in
1354    no) ;;
1355    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1356    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1357  esac
1358fi
1359
1360# Check all directory arguments for consistency.
1361for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1362		datadir sysconfdir sharedstatedir localstatedir includedir \
1363		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1364		libdir localedir mandir
1365do
1366  eval ac_val=\$$ac_var
1367  # Remove trailing slashes.
1368  case $ac_val in
1369    */ )
1370      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1371      eval $ac_var=\$ac_val;;
1372  esac
1373  # Be sure to have absolute directory names.
1374  case $ac_val in
1375    [\\/$]* | ?:[\\/]* )  continue;;
1376    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1377  esac
1378  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1379done
1380
1381# There might be people who depend on the old broken behavior: `$host'
1382# used to hold the argument of --host etc.
1383# FIXME: To remove some day.
1384build=$build_alias
1385host=$host_alias
1386target=$target_alias
1387
1388# FIXME: To remove some day.
1389if test "x$host_alias" != x; then
1390  if test "x$build_alias" = x; then
1391    cross_compiling=maybe
1392  elif test "x$build_alias" != "x$host_alias"; then
1393    cross_compiling=yes
1394  fi
1395fi
1396
1397ac_tool_prefix=
1398test -n "$host_alias" && ac_tool_prefix=$host_alias-
1399
1400test "$silent" = yes && exec 6>/dev/null
1401
1402
1403ac_pwd=`pwd` && test -n "$ac_pwd" &&
1404ac_ls_di=`ls -di .` &&
1405ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1406  as_fn_error $? "working directory cannot be determined"
1407test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1408  as_fn_error $? "pwd does not report name of working directory"
1409
1410
1411# Find the source files, if location was not specified.
1412if test -z "$srcdir"; then
1413  ac_srcdir_defaulted=yes
1414  # Try the directory containing this script, then the parent directory.
1415  ac_confdir=`$as_dirname -- "$as_myself" ||
1416$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1417	 X"$as_myself" : 'X\(//\)[^/]' \| \
1418	 X"$as_myself" : 'X\(//\)$' \| \
1419	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1420$as_echo X"$as_myself" |
1421    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1422	    s//\1/
1423	    q
1424	  }
1425	  /^X\(\/\/\)[^/].*/{
1426	    s//\1/
1427	    q
1428	  }
1429	  /^X\(\/\/\)$/{
1430	    s//\1/
1431	    q
1432	  }
1433	  /^X\(\/\).*/{
1434	    s//\1/
1435	    q
1436	  }
1437	  s/.*/./; q'`
1438  srcdir=$ac_confdir
1439  if test ! -r "$srcdir/$ac_unique_file"; then
1440    srcdir=..
1441  fi
1442else
1443  ac_srcdir_defaulted=no
1444fi
1445if test ! -r "$srcdir/$ac_unique_file"; then
1446  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1447  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1448fi
1449ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1450ac_abs_confdir=`(
1451	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1452	pwd)`
1453# When building in place, set srcdir=.
1454if test "$ac_abs_confdir" = "$ac_pwd"; then
1455  srcdir=.
1456fi
1457# Remove unnecessary trailing slashes from srcdir.
1458# Double slashes in file names in object file debugging info
1459# mess up M-x gdb in Emacs.
1460case $srcdir in
1461*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1462esac
1463for ac_var in $ac_precious_vars; do
1464  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1465  eval ac_env_${ac_var}_value=\$${ac_var}
1466  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1467  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1468done
1469
1470#
1471# Report the --help message.
1472#
1473if test "$ac_init_help" = "long"; then
1474  # Omit some internal or obsolete options to make the list less imposing.
1475  # This message is too long to be a string in the A/UX 3.1 sh.
1476  cat <<_ACEOF
1477\`configure' configures Xfmpc 0.3.0 to adapt to many kinds of systems.
1478
1479Usage: $0 [OPTION]... [VAR=VALUE]...
1480
1481To assign environment variables (e.g., CC, CFLAGS...), specify them as
1482VAR=VALUE.  See below for descriptions of some of the useful variables.
1483
1484Defaults for the options are specified in brackets.
1485
1486Configuration:
1487  -h, --help              display this help and exit
1488      --help=short        display options specific to this package
1489      --help=recursive    display the short help of all the included packages
1490  -V, --version           display version information and exit
1491  -q, --quiet, --silent   do not print \`checking ...' messages
1492      --cache-file=FILE   cache test results in FILE [disabled]
1493  -C, --config-cache      alias for \`--cache-file=config.cache'
1494  -n, --no-create         do not create output files
1495      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1496
1497Installation directories:
1498  --prefix=PREFIX         install architecture-independent files in PREFIX
1499                          [$ac_default_prefix]
1500  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1501                          [PREFIX]
1502
1503By default, \`make install' will install all the files in
1504\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1505an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1506for instance \`--prefix=\$HOME'.
1507
1508For better control, use the options below.
1509
1510Fine tuning of the installation directories:
1511  --bindir=DIR            user executables [EPREFIX/bin]
1512  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1513  --libexecdir=DIR        program executables [EPREFIX/libexec]
1514  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1515  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1516  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1517  --libdir=DIR            object code libraries [EPREFIX/lib]
1518  --includedir=DIR        C header files [PREFIX/include]
1519  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1520  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1521  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1522  --infodir=DIR           info documentation [DATAROOTDIR/info]
1523  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1524  --mandir=DIR            man documentation [DATAROOTDIR/man]
1525  --docdir=DIR            documentation root [DATAROOTDIR/doc/xfmpc]
1526  --htmldir=DIR           html documentation [DOCDIR]
1527  --dvidir=DIR            dvi documentation [DOCDIR]
1528  --pdfdir=DIR            pdf documentation [DOCDIR]
1529  --psdir=DIR             ps documentation [DOCDIR]
1530_ACEOF
1531
1532  cat <<\_ACEOF
1533
1534Program names:
1535  --program-prefix=PREFIX            prepend PREFIX to installed program names
1536  --program-suffix=SUFFIX            append SUFFIX to installed program names
1537  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1538
1539X features:
1540  --x-includes=DIR    X include files are in DIR
1541  --x-libraries=DIR   X library files are in DIR
1542
1543System types:
1544  --build=BUILD     configure for building on BUILD [guessed]
1545  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1546  --target=TARGET   configure for building compilers for TARGET [HOST]
1547_ACEOF
1548fi
1549
1550if test -n "$ac_init_help"; then
1551  case $ac_init_help in
1552     short | recursive ) echo "Configuration of Xfmpc 0.3.0:";;
1553   esac
1554  cat <<\_ACEOF
1555
1556Optional Features:
1557  --disable-option-checking  ignore unrecognized --enable/--with options
1558  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1559  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1560  --enable-silent-rules   less verbose build output (undo: "make V=1")
1561  --disable-silent-rules  verbose build output (undo: "make V=0")
1562  --enable-maintainer-mode
1563                          enable make rules and dependencies not useful (and
1564                          sometimes confusing) to the casual installer
1565  --enable-dependency-tracking
1566                          do not reject slow dependency extractors
1567  --disable-dependency-tracking
1568                          speeds up one-time build
1569  --disable-nls           do not use Native Language Support
1570  --enable-static[=PKGS]  build static libraries [default=no]
1571  --enable-shared[=PKGS]  build shared libraries [default=yes]
1572  --enable-fast-install[=PKGS]
1573                          optimize for fast installation [default=yes]
1574  --disable-libtool-lock  avoid locking (might break parallel builds)
1575  --enable-debug[=no|minimum|yes|full]
1576                          Build with debugging support [default=[]]
1577  --disable-debug         Include no debugging support
1578
1579Optional Packages:
1580  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1581  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1582  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1583  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1584                          both]
1585  --with-aix-soname=aix|svr4|both
1586                          shared library versioning (aka "SONAME") variant to
1587                          provide on AIX, [default=aix].
1588  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1589                          compiler's sysroot if not specified).
1590  --with-x                use the X Window System
1591
1592      --with-locales-dir=DIR  Install locales into DIR
1593
1594
1595Some influential environment variables:
1596  CC          C compiler command
1597  CFLAGS      C compiler flags
1598  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1599              nonstandard directory <lib dir>
1600  LIBS        libraries to pass to the linker, e.g. -l<library>
1601  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1602              you have headers in a nonstandard directory <include dir>
1603  LT_SYS_LIBRARY_PATH
1604              User-defined run-time library search path.
1605  CPP         C preprocessor
1606  XMKMF       Path to xmkmf, Makefile generator for X Window System
1607  PKG_CONFIG  path to pkg-config utility
1608  PKG_CONFIG_PATH
1609              directories to add to pkg-config's search path
1610  PKG_CONFIG_LIBDIR
1611              path overriding pkg-config's built-in search path
1612
1613Use these variables to override the choices made by `configure' or to help
1614it to find libraries and programs with nonstandard names/locations.
1615
1616Report bugs to <http://bugzilla.xfce.org/>.
1617Xfmpc home page: <http://goodies.xfce.org/projects/applications/xfmpc>.
1618_ACEOF
1619ac_status=$?
1620fi
1621
1622if test "$ac_init_help" = "recursive"; then
1623  # If there are subdirs, report their specific --help.
1624  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1625    test -d "$ac_dir" ||
1626      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1627      continue
1628    ac_builddir=.
1629
1630case "$ac_dir" in
1631.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1632*)
1633  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1634  # A ".." for each directory in $ac_dir_suffix.
1635  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1636  case $ac_top_builddir_sub in
1637  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1638  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1639  esac ;;
1640esac
1641ac_abs_top_builddir=$ac_pwd
1642ac_abs_builddir=$ac_pwd$ac_dir_suffix
1643# for backward compatibility:
1644ac_top_builddir=$ac_top_build_prefix
1645
1646case $srcdir in
1647  .)  # We are building in place.
1648    ac_srcdir=.
1649    ac_top_srcdir=$ac_top_builddir_sub
1650    ac_abs_top_srcdir=$ac_pwd ;;
1651  [\\/]* | ?:[\\/]* )  # Absolute name.
1652    ac_srcdir=$srcdir$ac_dir_suffix;
1653    ac_top_srcdir=$srcdir
1654    ac_abs_top_srcdir=$srcdir ;;
1655  *) # Relative name.
1656    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1657    ac_top_srcdir=$ac_top_build_prefix$srcdir
1658    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1659esac
1660ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1661
1662    cd "$ac_dir" || { ac_status=$?; continue; }
1663    # Check for guested configure.
1664    if test -f "$ac_srcdir/configure.gnu"; then
1665      echo &&
1666      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1667    elif test -f "$ac_srcdir/configure"; then
1668      echo &&
1669      $SHELL "$ac_srcdir/configure" --help=recursive
1670    else
1671      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1672    fi || ac_status=$?
1673    cd "$ac_pwd" || { ac_status=$?; break; }
1674  done
1675fi
1676
1677test -n "$ac_init_help" && exit $ac_status
1678if $ac_init_version; then
1679  cat <<\_ACEOF
1680Xfmpc configure 0.3.0
1681generated by GNU Autoconf 2.69
1682
1683Copyright (C) 2012 Free Software Foundation, Inc.
1684This configure script is free software; the Free Software Foundation
1685gives unlimited permission to copy, distribute and modify it.
1686
1687Copyright (c) 2008
1688        The Xfce development team. All rights reserved.
1689_ACEOF
1690  exit
1691fi
1692
1693## ------------------------ ##
1694## Autoconf initialization. ##
1695## ------------------------ ##
1696
1697# ac_fn_c_try_compile LINENO
1698# --------------------------
1699# Try to compile conftest.$ac_ext, and return whether this succeeded.
1700ac_fn_c_try_compile ()
1701{
1702  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703  rm -f conftest.$ac_objext
1704  if { { ac_try="$ac_compile"
1705case "(($ac_try" in
1706  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1707  *) ac_try_echo=$ac_try;;
1708esac
1709eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1710$as_echo "$ac_try_echo"; } >&5
1711  (eval "$ac_compile") 2>conftest.err
1712  ac_status=$?
1713  if test -s conftest.err; then
1714    grep -v '^ *+' conftest.err >conftest.er1
1715    cat conftest.er1 >&5
1716    mv -f conftest.er1 conftest.err
1717  fi
1718  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1719  test $ac_status = 0; } && {
1720	 test -z "$ac_c_werror_flag" ||
1721	 test ! -s conftest.err
1722       } && test -s conftest.$ac_objext; then :
1723  ac_retval=0
1724else
1725  $as_echo "$as_me: failed program was:" >&5
1726sed 's/^/| /' conftest.$ac_ext >&5
1727
1728	ac_retval=1
1729fi
1730  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1731  as_fn_set_status $ac_retval
1732
1733} # ac_fn_c_try_compile
1734
1735# ac_fn_c_try_link LINENO
1736# -----------------------
1737# Try to link conftest.$ac_ext, and return whether this succeeded.
1738ac_fn_c_try_link ()
1739{
1740  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741  rm -f conftest.$ac_objext conftest$ac_exeext
1742  if { { ac_try="$ac_link"
1743case "(($ac_try" in
1744  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1745  *) ac_try_echo=$ac_try;;
1746esac
1747eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1748$as_echo "$ac_try_echo"; } >&5
1749  (eval "$ac_link") 2>conftest.err
1750  ac_status=$?
1751  if test -s conftest.err; then
1752    grep -v '^ *+' conftest.err >conftest.er1
1753    cat conftest.er1 >&5
1754    mv -f conftest.er1 conftest.err
1755  fi
1756  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1757  test $ac_status = 0; } && {
1758	 test -z "$ac_c_werror_flag" ||
1759	 test ! -s conftest.err
1760       } && test -s conftest$ac_exeext && {
1761	 test "$cross_compiling" = yes ||
1762	 test -x conftest$ac_exeext
1763       }; then :
1764  ac_retval=0
1765else
1766  $as_echo "$as_me: failed program was:" >&5
1767sed 's/^/| /' conftest.$ac_ext >&5
1768
1769	ac_retval=1
1770fi
1771  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1772  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1773  # interfere with the next link command; also delete a directory that is
1774  # left behind by Apple's compiler.  We do this before executing the actions.
1775  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1776  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777  as_fn_set_status $ac_retval
1778
1779} # ac_fn_c_try_link
1780
1781# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1782# -------------------------------------------------------
1783# Tests whether HEADER exists and can be compiled using the include files in
1784# INCLUDES, setting the cache variable VAR accordingly.
1785ac_fn_c_check_header_compile ()
1786{
1787  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1789$as_echo_n "checking for $2... " >&6; }
1790if eval \${$3+:} false; then :
1791  $as_echo_n "(cached) " >&6
1792else
1793  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1794/* end confdefs.h.  */
1795$4
1796#include <$2>
1797_ACEOF
1798if ac_fn_c_try_compile "$LINENO"; then :
1799  eval "$3=yes"
1800else
1801  eval "$3=no"
1802fi
1803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1804fi
1805eval ac_res=\$$3
1806	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1807$as_echo "$ac_res" >&6; }
1808  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1809
1810} # ac_fn_c_check_header_compile
1811
1812# ac_fn_c_try_cpp LINENO
1813# ----------------------
1814# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1815ac_fn_c_try_cpp ()
1816{
1817  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818  if { { ac_try="$ac_cpp conftest.$ac_ext"
1819case "(($ac_try" in
1820  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1821  *) ac_try_echo=$ac_try;;
1822esac
1823eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824$as_echo "$ac_try_echo"; } >&5
1825  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1826  ac_status=$?
1827  if test -s conftest.err; then
1828    grep -v '^ *+' conftest.err >conftest.er1
1829    cat conftest.er1 >&5
1830    mv -f conftest.er1 conftest.err
1831  fi
1832  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833  test $ac_status = 0; } > conftest.i && {
1834	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1835	 test ! -s conftest.err
1836       }; then :
1837  ac_retval=0
1838else
1839  $as_echo "$as_me: failed program was:" >&5
1840sed 's/^/| /' conftest.$ac_ext >&5
1841
1842    ac_retval=1
1843fi
1844  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1845  as_fn_set_status $ac_retval
1846
1847} # ac_fn_c_try_cpp
1848
1849# ac_fn_c_try_run LINENO
1850# ----------------------
1851# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1852# that executables *can* be run.
1853ac_fn_c_try_run ()
1854{
1855  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1856  if { { ac_try="$ac_link"
1857case "(($ac_try" in
1858  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1859  *) ac_try_echo=$ac_try;;
1860esac
1861eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1862$as_echo "$ac_try_echo"; } >&5
1863  (eval "$ac_link") 2>&5
1864  ac_status=$?
1865  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1867  { { case "(($ac_try" in
1868  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1869  *) ac_try_echo=$ac_try;;
1870esac
1871eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872$as_echo "$ac_try_echo"; } >&5
1873  (eval "$ac_try") 2>&5
1874  ac_status=$?
1875  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1876  test $ac_status = 0; }; }; then :
1877  ac_retval=0
1878else
1879  $as_echo "$as_me: program exited with status $ac_status" >&5
1880       $as_echo "$as_me: failed program was:" >&5
1881sed 's/^/| /' conftest.$ac_ext >&5
1882
1883       ac_retval=$ac_status
1884fi
1885  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1886  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887  as_fn_set_status $ac_retval
1888
1889} # ac_fn_c_try_run
1890
1891# ac_fn_c_check_func LINENO FUNC VAR
1892# ----------------------------------
1893# Tests whether FUNC exists, setting the cache variable VAR accordingly
1894ac_fn_c_check_func ()
1895{
1896  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898$as_echo_n "checking for $2... " >&6; }
1899if eval \${$3+:} false; then :
1900  $as_echo_n "(cached) " >&6
1901else
1902  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903/* end confdefs.h.  */
1904/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1905   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1906#define $2 innocuous_$2
1907
1908/* System header to define __stub macros and hopefully few prototypes,
1909    which can conflict with char $2 (); below.
1910    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1911    <limits.h> exists even on freestanding compilers.  */
1912
1913#ifdef __STDC__
1914# include <limits.h>
1915#else
1916# include <assert.h>
1917#endif
1918
1919#undef $2
1920
1921/* Override any GCC internal prototype to avoid an error.
1922   Use char because int might match the return type of a GCC
1923   builtin and then its argument prototype would still apply.  */
1924#ifdef __cplusplus
1925extern "C"
1926#endif
1927char $2 ();
1928/* The GNU C library defines this for functions which it implements
1929    to always fail with ENOSYS.  Some functions are actually named
1930    something starting with __ and the normal name is an alias.  */
1931#if defined __stub_$2 || defined __stub___$2
1932choke me
1933#endif
1934
1935int
1936main ()
1937{
1938return $2 ();
1939  ;
1940  return 0;
1941}
1942_ACEOF
1943if ac_fn_c_try_link "$LINENO"; then :
1944  eval "$3=yes"
1945else
1946  eval "$3=no"
1947fi
1948rm -f core conftest.err conftest.$ac_objext \
1949    conftest$ac_exeext conftest.$ac_ext
1950fi
1951eval ac_res=\$$3
1952	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1953$as_echo "$ac_res" >&6; }
1954  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955
1956} # ac_fn_c_check_func
1957
1958# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1959# -------------------------------------------------------
1960# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1961# the include files in INCLUDES and setting the cache variable VAR
1962# accordingly.
1963ac_fn_c_check_header_mongrel ()
1964{
1965  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1966  if eval \${$3+:} false; then :
1967  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1968$as_echo_n "checking for $2... " >&6; }
1969if eval \${$3+:} false; then :
1970  $as_echo_n "(cached) " >&6
1971fi
1972eval ac_res=\$$3
1973	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974$as_echo "$ac_res" >&6; }
1975else
1976  # Is the header compilable?
1977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1978$as_echo_n "checking $2 usability... " >&6; }
1979cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1980/* end confdefs.h.  */
1981$4
1982#include <$2>
1983_ACEOF
1984if ac_fn_c_try_compile "$LINENO"; then :
1985  ac_header_compiler=yes
1986else
1987  ac_header_compiler=no
1988fi
1989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1991$as_echo "$ac_header_compiler" >&6; }
1992
1993# Is the header present?
1994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1995$as_echo_n "checking $2 presence... " >&6; }
1996cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1997/* end confdefs.h.  */
1998#include <$2>
1999_ACEOF
2000if ac_fn_c_try_cpp "$LINENO"; then :
2001  ac_header_preproc=yes
2002else
2003  ac_header_preproc=no
2004fi
2005rm -f conftest.err conftest.i conftest.$ac_ext
2006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2007$as_echo "$ac_header_preproc" >&6; }
2008
2009# So?  What about this header?
2010case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2011  yes:no: )
2012    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2013$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2014    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2015$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2016    ;;
2017  no:yes:* )
2018    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2019$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2020    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2021$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2022    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2023$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2024    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2025$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2026    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2027$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2028( $as_echo "## ---------------------------------------- ##
2029## Report this to http://bugzilla.xfce.org/ ##
2030## ---------------------------------------- ##"
2031     ) | sed "s/^/$as_me: WARNING:     /" >&2
2032    ;;
2033esac
2034  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2035$as_echo_n "checking for $2... " >&6; }
2036if eval \${$3+:} false; then :
2037  $as_echo_n "(cached) " >&6
2038else
2039  eval "$3=\$ac_header_compiler"
2040fi
2041eval ac_res=\$$3
2042	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2043$as_echo "$ac_res" >&6; }
2044fi
2045  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2046
2047} # ac_fn_c_check_header_mongrel
2048cat >config.log <<_ACEOF
2049This file contains any messages produced by compilers while
2050running configure, to aid debugging if configure makes a mistake.
2051
2052It was created by Xfmpc $as_me 0.3.0, which was
2053generated by GNU Autoconf 2.69.  Invocation command line was
2054
2055  $ $0 $@
2056
2057_ACEOF
2058exec 5>>config.log
2059{
2060cat <<_ASUNAME
2061## --------- ##
2062## Platform. ##
2063## --------- ##
2064
2065hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2066uname -m = `(uname -m) 2>/dev/null || echo unknown`
2067uname -r = `(uname -r) 2>/dev/null || echo unknown`
2068uname -s = `(uname -s) 2>/dev/null || echo unknown`
2069uname -v = `(uname -v) 2>/dev/null || echo unknown`
2070
2071/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2072/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2073
2074/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2075/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2076/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2077/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2078/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2079/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2080/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2081
2082_ASUNAME
2083
2084as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085for as_dir in $PATH
2086do
2087  IFS=$as_save_IFS
2088  test -z "$as_dir" && as_dir=.
2089    $as_echo "PATH: $as_dir"
2090  done
2091IFS=$as_save_IFS
2092
2093} >&5
2094
2095cat >&5 <<_ACEOF
2096
2097
2098## ----------- ##
2099## Core tests. ##
2100## ----------- ##
2101
2102_ACEOF
2103
2104
2105# Keep a trace of the command line.
2106# Strip out --no-create and --no-recursion so they do not pile up.
2107# Strip out --silent because we don't want to record it for future runs.
2108# Also quote any args containing shell meta-characters.
2109# Make two passes to allow for proper duplicate-argument suppression.
2110ac_configure_args=
2111ac_configure_args0=
2112ac_configure_args1=
2113ac_must_keep_next=false
2114for ac_pass in 1 2
2115do
2116  for ac_arg
2117  do
2118    case $ac_arg in
2119    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2120    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2121    | -silent | --silent | --silen | --sile | --sil)
2122      continue ;;
2123    *\'*)
2124      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2125    esac
2126    case $ac_pass in
2127    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2128    2)
2129      as_fn_append ac_configure_args1 " '$ac_arg'"
2130      if test $ac_must_keep_next = true; then
2131	ac_must_keep_next=false # Got value, back to normal.
2132      else
2133	case $ac_arg in
2134	  *=* | --config-cache | -C | -disable-* | --disable-* \
2135	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2136	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2137	  | -with-* | --with-* | -without-* | --without-* | --x)
2138	    case "$ac_configure_args0 " in
2139	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2140	    esac
2141	    ;;
2142	  -* ) ac_must_keep_next=true ;;
2143	esac
2144      fi
2145      as_fn_append ac_configure_args " '$ac_arg'"
2146      ;;
2147    esac
2148  done
2149done
2150{ ac_configure_args0=; unset ac_configure_args0;}
2151{ ac_configure_args1=; unset ac_configure_args1;}
2152
2153# When interrupted or exit'd, cleanup temporary files, and complete
2154# config.log.  We remove comments because anyway the quotes in there
2155# would cause problems or look ugly.
2156# WARNING: Use '\'' to represent an apostrophe within the trap.
2157# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2158trap 'exit_status=$?
2159  # Save into config.log some information that might help in debugging.
2160  {
2161    echo
2162
2163    $as_echo "## ---------------- ##
2164## Cache variables. ##
2165## ---------------- ##"
2166    echo
2167    # The following way of writing the cache mishandles newlines in values,
2168(
2169  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2170    eval ac_val=\$$ac_var
2171    case $ac_val in #(
2172    *${as_nl}*)
2173      case $ac_var in #(
2174      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2175$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2176      esac
2177      case $ac_var in #(
2178      _ | IFS | as_nl) ;; #(
2179      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2180      *) { eval $ac_var=; unset $ac_var;} ;;
2181      esac ;;
2182    esac
2183  done
2184  (set) 2>&1 |
2185    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2186    *${as_nl}ac_space=\ *)
2187      sed -n \
2188	"s/'\''/'\''\\\\'\'''\''/g;
2189	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2190      ;; #(
2191    *)
2192      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2193      ;;
2194    esac |
2195    sort
2196)
2197    echo
2198
2199    $as_echo "## ----------------- ##
2200## Output variables. ##
2201## ----------------- ##"
2202    echo
2203    for ac_var in $ac_subst_vars
2204    do
2205      eval ac_val=\$$ac_var
2206      case $ac_val in
2207      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2208      esac
2209      $as_echo "$ac_var='\''$ac_val'\''"
2210    done | sort
2211    echo
2212
2213    if test -n "$ac_subst_files"; then
2214      $as_echo "## ------------------- ##
2215## File substitutions. ##
2216## ------------------- ##"
2217      echo
2218      for ac_var in $ac_subst_files
2219      do
2220	eval ac_val=\$$ac_var
2221	case $ac_val in
2222	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2223	esac
2224	$as_echo "$ac_var='\''$ac_val'\''"
2225      done | sort
2226      echo
2227    fi
2228
2229    if test -s confdefs.h; then
2230      $as_echo "## ----------- ##
2231## confdefs.h. ##
2232## ----------- ##"
2233      echo
2234      cat confdefs.h
2235      echo
2236    fi
2237    test "$ac_signal" != 0 &&
2238      $as_echo "$as_me: caught signal $ac_signal"
2239    $as_echo "$as_me: exit $exit_status"
2240  } >&5
2241  rm -f core *.core core.conftest.* &&
2242    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2243    exit $exit_status
2244' 0
2245for ac_signal in 1 2 13 15; do
2246  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2247done
2248ac_signal=0
2249
2250# confdefs.h avoids OS command line length limits that DEFS can exceed.
2251rm -f -r conftest* confdefs.h
2252
2253$as_echo "/* confdefs.h */" > confdefs.h
2254
2255# Predefined preprocessor variables.
2256
2257cat >>confdefs.h <<_ACEOF
2258#define PACKAGE_NAME "$PACKAGE_NAME"
2259_ACEOF
2260
2261cat >>confdefs.h <<_ACEOF
2262#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2263_ACEOF
2264
2265cat >>confdefs.h <<_ACEOF
2266#define PACKAGE_VERSION "$PACKAGE_VERSION"
2267_ACEOF
2268
2269cat >>confdefs.h <<_ACEOF
2270#define PACKAGE_STRING "$PACKAGE_STRING"
2271_ACEOF
2272
2273cat >>confdefs.h <<_ACEOF
2274#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2275_ACEOF
2276
2277cat >>confdefs.h <<_ACEOF
2278#define PACKAGE_URL "$PACKAGE_URL"
2279_ACEOF
2280
2281
2282# Let the site file select an alternate cache file if it wants to.
2283# Prefer an explicitly selected file to automatically selected ones.
2284ac_site_file1=NONE
2285ac_site_file2=NONE
2286if test -n "$CONFIG_SITE"; then
2287  # We do not want a PATH search for config.site.
2288  case $CONFIG_SITE in #((
2289    -*)  ac_site_file1=./$CONFIG_SITE;;
2290    */*) ac_site_file1=$CONFIG_SITE;;
2291    *)   ac_site_file1=./$CONFIG_SITE;;
2292  esac
2293elif test "x$prefix" != xNONE; then
2294  ac_site_file1=$prefix/share/config.site
2295  ac_site_file2=$prefix/etc/config.site
2296else
2297  ac_site_file1=$ac_default_prefix/share/config.site
2298  ac_site_file2=$ac_default_prefix/etc/config.site
2299fi
2300for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2301do
2302  test "x$ac_site_file" = xNONE && continue
2303  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2304    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2305$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2306    sed 's/^/| /' "$ac_site_file" >&5
2307    . "$ac_site_file" \
2308      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2309$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2310as_fn_error $? "failed to load site script $ac_site_file
2311See \`config.log' for more details" "$LINENO" 5; }
2312  fi
2313done
2314
2315if test -r "$cache_file"; then
2316  # Some versions of bash will fail to source /dev/null (special files
2317  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2318  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2319    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2320$as_echo "$as_me: loading cache $cache_file" >&6;}
2321    case $cache_file in
2322      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2323      *)                      . "./$cache_file";;
2324    esac
2325  fi
2326else
2327  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2328$as_echo "$as_me: creating cache $cache_file" >&6;}
2329  >$cache_file
2330fi
2331
2332# Check that the precious variables saved in the cache have kept the same
2333# value.
2334ac_cache_corrupted=false
2335for ac_var in $ac_precious_vars; do
2336  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2337  eval ac_new_set=\$ac_env_${ac_var}_set
2338  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2339  eval ac_new_val=\$ac_env_${ac_var}_value
2340  case $ac_old_set,$ac_new_set in
2341    set,)
2342      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2343$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2344      ac_cache_corrupted=: ;;
2345    ,set)
2346      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2347$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2348      ac_cache_corrupted=: ;;
2349    ,);;
2350    *)
2351      if test "x$ac_old_val" != "x$ac_new_val"; then
2352	# differences in whitespace do not lead to failure.
2353	ac_old_val_w=`echo x $ac_old_val`
2354	ac_new_val_w=`echo x $ac_new_val`
2355	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2356	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2357$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2358	  ac_cache_corrupted=:
2359	else
2360	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2361$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2362	  eval $ac_var=\$ac_old_val
2363	fi
2364	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2365$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2366	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2367$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2368      fi;;
2369  esac
2370  # Pass precious variables to config.status.
2371  if test "$ac_new_set" = set; then
2372    case $ac_new_val in
2373    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2374    *) ac_arg=$ac_var=$ac_new_val ;;
2375    esac
2376    case " $ac_configure_args " in
2377      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2378      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2379    esac
2380  fi
2381done
2382if $ac_cache_corrupted; then
2383  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2384$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2385  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2386$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2387  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2388fi
2389## -------------------- ##
2390## Main body of script. ##
2391## -------------------- ##
2392
2393ac_ext=c
2394ac_cpp='$CPP $CPPFLAGS'
2395ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2396ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2397ac_compiler_gnu=$ac_cv_c_compiler_gnu
2398
2399
2400
2401
2402ac_aux_dir=
2403for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2404  if test -f "$ac_dir/install-sh"; then
2405    ac_aux_dir=$ac_dir
2406    ac_install_sh="$ac_aux_dir/install-sh -c"
2407    break
2408  elif test -f "$ac_dir/install.sh"; then
2409    ac_aux_dir=$ac_dir
2410    ac_install_sh="$ac_aux_dir/install.sh -c"
2411    break
2412  elif test -f "$ac_dir/shtool"; then
2413    ac_aux_dir=$ac_dir
2414    ac_install_sh="$ac_aux_dir/shtool install -c"
2415    break
2416  fi
2417done
2418if test -z "$ac_aux_dir"; then
2419  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2420fi
2421
2422# These three variables are undocumented and unsupported,
2423# and are intended to be withdrawn in a future Autoconf release.
2424# They can cause serious problems if a builder's source tree is in a directory
2425# whose full name contains unusual characters.
2426ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2427ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2428ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2429
2430
2431# Make sure we can run config.sub.
2432$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2433  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2434
2435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2436$as_echo_n "checking build system type... " >&6; }
2437if ${ac_cv_build+:} false; then :
2438  $as_echo_n "(cached) " >&6
2439else
2440  ac_build_alias=$build_alias
2441test "x$ac_build_alias" = x &&
2442  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2443test "x$ac_build_alias" = x &&
2444  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2445ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2446  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2447
2448fi
2449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2450$as_echo "$ac_cv_build" >&6; }
2451case $ac_cv_build in
2452*-*-*) ;;
2453*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2454esac
2455build=$ac_cv_build
2456ac_save_IFS=$IFS; IFS='-'
2457set x $ac_cv_build
2458shift
2459build_cpu=$1
2460build_vendor=$2
2461shift; shift
2462# Remember, the first character of IFS is used to create $*,
2463# except with old shells:
2464build_os=$*
2465IFS=$ac_save_IFS
2466case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2467
2468
2469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2470$as_echo_n "checking host system type... " >&6; }
2471if ${ac_cv_host+:} false; then :
2472  $as_echo_n "(cached) " >&6
2473else
2474  if test "x$host_alias" = x; then
2475  ac_cv_host=$ac_cv_build
2476else
2477  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2478    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2479fi
2480
2481fi
2482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2483$as_echo "$ac_cv_host" >&6; }
2484case $ac_cv_host in
2485*-*-*) ;;
2486*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2487esac
2488host=$ac_cv_host
2489ac_save_IFS=$IFS; IFS='-'
2490set x $ac_cv_host
2491shift
2492host_cpu=$1
2493host_vendor=$2
2494shift; shift
2495# Remember, the first character of IFS is used to create $*,
2496# except with old shells:
2497host_os=$*
2498IFS=$ac_save_IFS
2499case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2500
2501
2502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2503$as_echo_n "checking target system type... " >&6; }
2504if ${ac_cv_target+:} false; then :
2505  $as_echo_n "(cached) " >&6
2506else
2507  if test "x$target_alias" = x; then
2508  ac_cv_target=$ac_cv_host
2509else
2510  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2511    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2512fi
2513
2514fi
2515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2516$as_echo "$ac_cv_target" >&6; }
2517case $ac_cv_target in
2518*-*-*) ;;
2519*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2520esac
2521target=$ac_cv_target
2522ac_save_IFS=$IFS; IFS='-'
2523set x $ac_cv_target
2524shift
2525target_cpu=$1
2526target_vendor=$2
2527shift; shift
2528# Remember, the first character of IFS is used to create $*,
2529# except with old shells:
2530target_os=$*
2531IFS=$ac_save_IFS
2532case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2533
2534
2535# The aliases save the names the user supplied, while $host etc.
2536# will get canonicalized.
2537test -n "$target_alias" &&
2538  test "$program_prefix$program_suffix$program_transform_name" = \
2539    NONENONEs,x,x, &&
2540  program_prefix=${target_alias}-
2541
2542
2543am__api_version='1.16'
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='xfmpc'
3029 VERSION='0.3.0'
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
3122ac_config_headers="$ac_config_headers config.h"
3123
3124
3125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3126$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3127    # Check whether --enable-maintainer-mode was given.
3128if test "${enable_maintainer_mode+set}" = set; then :
3129  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3130else
3131  USE_MAINTAINER_MODE=no
3132fi
3133
3134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3135$as_echo "$USE_MAINTAINER_MODE" >&6; }
3136   if test $USE_MAINTAINER_MODE = yes; then
3137  MAINTAINER_MODE_TRUE=
3138  MAINTAINER_MODE_FALSE='#'
3139else
3140  MAINTAINER_MODE_TRUE='#'
3141  MAINTAINER_MODE_FALSE=
3142fi
3143
3144  MAINT=$MAINTAINER_MODE_TRUE
3145
3146
3147# Check whether --enable-silent-rules was given.
3148if test "${enable_silent_rules+set}" = set; then :
3149  enableval=$enable_silent_rules;
3150fi
3151
3152case $enable_silent_rules in # (((
3153  yes) AM_DEFAULT_VERBOSITY=0;;
3154   no) AM_DEFAULT_VERBOSITY=1;;
3155    *) AM_DEFAULT_VERBOSITY=0;;
3156esac
3157am_make=${MAKE-make}
3158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3159$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3160if ${am_cv_make_support_nested_variables+:} false; then :
3161  $as_echo_n "(cached) " >&6
3162else
3163  if $as_echo 'TRUE=$(BAR$(V))
3164BAR0=false
3165BAR1=true
3166V=1
3167am__doit:
3168	@$(TRUE)
3169.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3170  am_cv_make_support_nested_variables=yes
3171else
3172  am_cv_make_support_nested_variables=no
3173fi
3174fi
3175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3176$as_echo "$am_cv_make_support_nested_variables" >&6; }
3177if test $am_cv_make_support_nested_variables = yes; then
3178    AM_V='$(V)'
3179  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3180else
3181  AM_V=$AM_DEFAULT_VERBOSITY
3182  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3183fi
3184AM_BACKSLASH='\'
3185
3186
3187ac_ext=c
3188ac_cpp='$CPP $CPPFLAGS'
3189ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3190ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3191ac_compiler_gnu=$ac_cv_c_compiler_gnu
3192if test -n "$ac_tool_prefix"; then
3193  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3194set dummy ${ac_tool_prefix}gcc; ac_word=$2
3195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196$as_echo_n "checking for $ac_word... " >&6; }
3197if ${ac_cv_prog_CC+:} false; then :
3198  $as_echo_n "(cached) " >&6
3199else
3200  if test -n "$CC"; then
3201  ac_cv_prog_CC="$CC" # Let the user override the test.
3202else
3203as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3204for as_dir in $PATH
3205do
3206  IFS=$as_save_IFS
3207  test -z "$as_dir" && as_dir=.
3208    for ac_exec_ext in '' $ac_executable_extensions; do
3209  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3210    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3211    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212    break 2
3213  fi
3214done
3215  done
3216IFS=$as_save_IFS
3217
3218fi
3219fi
3220CC=$ac_cv_prog_CC
3221if test -n "$CC"; then
3222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3223$as_echo "$CC" >&6; }
3224else
3225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226$as_echo "no" >&6; }
3227fi
3228
3229
3230fi
3231if test -z "$ac_cv_prog_CC"; then
3232  ac_ct_CC=$CC
3233  # Extract the first word of "gcc", so it can be a program name with args.
3234set dummy gcc; ac_word=$2
3235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3236$as_echo_n "checking for $ac_word... " >&6; }
3237if ${ac_cv_prog_ac_ct_CC+:} false; then :
3238  $as_echo_n "(cached) " >&6
3239else
3240  if test -n "$ac_ct_CC"; then
3241  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3242else
3243as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3244for as_dir in $PATH
3245do
3246  IFS=$as_save_IFS
3247  test -z "$as_dir" && as_dir=.
3248    for ac_exec_ext in '' $ac_executable_extensions; do
3249  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3250    ac_cv_prog_ac_ct_CC="gcc"
3251    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3252    break 2
3253  fi
3254done
3255  done
3256IFS=$as_save_IFS
3257
3258fi
3259fi
3260ac_ct_CC=$ac_cv_prog_ac_ct_CC
3261if test -n "$ac_ct_CC"; then
3262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3263$as_echo "$ac_ct_CC" >&6; }
3264else
3265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3266$as_echo "no" >&6; }
3267fi
3268
3269  if test "x$ac_ct_CC" = x; then
3270    CC=""
3271  else
3272    case $cross_compiling:$ac_tool_warned in
3273yes:)
3274{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3275$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3276ac_tool_warned=yes ;;
3277esac
3278    CC=$ac_ct_CC
3279  fi
3280else
3281  CC="$ac_cv_prog_CC"
3282fi
3283
3284if test -z "$CC"; then
3285          if test -n "$ac_tool_prefix"; then
3286    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3287set dummy ${ac_tool_prefix}cc; ac_word=$2
3288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3289$as_echo_n "checking for $ac_word... " >&6; }
3290if ${ac_cv_prog_CC+:} false; then :
3291  $as_echo_n "(cached) " >&6
3292else
3293  if test -n "$CC"; then
3294  ac_cv_prog_CC="$CC" # Let the user override the test.
3295else
3296as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3297for as_dir in $PATH
3298do
3299  IFS=$as_save_IFS
3300  test -z "$as_dir" && as_dir=.
3301    for ac_exec_ext in '' $ac_executable_extensions; do
3302  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3303    ac_cv_prog_CC="${ac_tool_prefix}cc"
3304    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3305    break 2
3306  fi
3307done
3308  done
3309IFS=$as_save_IFS
3310
3311fi
3312fi
3313CC=$ac_cv_prog_CC
3314if test -n "$CC"; then
3315  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3316$as_echo "$CC" >&6; }
3317else
3318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3319$as_echo "no" >&6; }
3320fi
3321
3322
3323  fi
3324fi
3325if test -z "$CC"; then
3326  # Extract the first word of "cc", so it can be a program name with args.
3327set dummy cc; ac_word=$2
3328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3329$as_echo_n "checking for $ac_word... " >&6; }
3330if ${ac_cv_prog_CC+:} false; then :
3331  $as_echo_n "(cached) " >&6
3332else
3333  if test -n "$CC"; then
3334  ac_cv_prog_CC="$CC" # Let the user override the test.
3335else
3336  ac_prog_rejected=no
3337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3338for as_dir in $PATH
3339do
3340  IFS=$as_save_IFS
3341  test -z "$as_dir" && as_dir=.
3342    for ac_exec_ext in '' $ac_executable_extensions; do
3343  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3344    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3345       ac_prog_rejected=yes
3346       continue
3347     fi
3348    ac_cv_prog_CC="cc"
3349    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3350    break 2
3351  fi
3352done
3353  done
3354IFS=$as_save_IFS
3355
3356if test $ac_prog_rejected = yes; then
3357  # We found a bogon in the path, so make sure we never use it.
3358  set dummy $ac_cv_prog_CC
3359  shift
3360  if test $# != 0; then
3361    # We chose a different compiler from the bogus one.
3362    # However, it has the same basename, so the bogon will be chosen
3363    # first if we set CC to just the basename; use the full file name.
3364    shift
3365    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3366  fi
3367fi
3368fi
3369fi
3370CC=$ac_cv_prog_CC
3371if test -n "$CC"; then
3372  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3373$as_echo "$CC" >&6; }
3374else
3375  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376$as_echo "no" >&6; }
3377fi
3378
3379
3380fi
3381if test -z "$CC"; then
3382  if test -n "$ac_tool_prefix"; then
3383  for ac_prog in cl.exe
3384  do
3385    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3386set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3388$as_echo_n "checking for $ac_word... " >&6; }
3389if ${ac_cv_prog_CC+:} false; then :
3390  $as_echo_n "(cached) " >&6
3391else
3392  if test -n "$CC"; then
3393  ac_cv_prog_CC="$CC" # Let the user override the test.
3394else
3395as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3396for as_dir in $PATH
3397do
3398  IFS=$as_save_IFS
3399  test -z "$as_dir" && as_dir=.
3400    for ac_exec_ext in '' $ac_executable_extensions; do
3401  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3402    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3403    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3404    break 2
3405  fi
3406done
3407  done
3408IFS=$as_save_IFS
3409
3410fi
3411fi
3412CC=$ac_cv_prog_CC
3413if test -n "$CC"; then
3414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3415$as_echo "$CC" >&6; }
3416else
3417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3418$as_echo "no" >&6; }
3419fi
3420
3421
3422    test -n "$CC" && break
3423  done
3424fi
3425if test -z "$CC"; then
3426  ac_ct_CC=$CC
3427  for ac_prog in cl.exe
3428do
3429  # Extract the first word of "$ac_prog", so it can be a program name with args.
3430set dummy $ac_prog; ac_word=$2
3431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3432$as_echo_n "checking for $ac_word... " >&6; }
3433if ${ac_cv_prog_ac_ct_CC+:} false; then :
3434  $as_echo_n "(cached) " >&6
3435else
3436  if test -n "$ac_ct_CC"; then
3437  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3438else
3439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3440for as_dir in $PATH
3441do
3442  IFS=$as_save_IFS
3443  test -z "$as_dir" && as_dir=.
3444    for ac_exec_ext in '' $ac_executable_extensions; do
3445  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3446    ac_cv_prog_ac_ct_CC="$ac_prog"
3447    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3448    break 2
3449  fi
3450done
3451  done
3452IFS=$as_save_IFS
3453
3454fi
3455fi
3456ac_ct_CC=$ac_cv_prog_ac_ct_CC
3457if test -n "$ac_ct_CC"; then
3458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3459$as_echo "$ac_ct_CC" >&6; }
3460else
3461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3462$as_echo "no" >&6; }
3463fi
3464
3465
3466  test -n "$ac_ct_CC" && break
3467done
3468
3469  if test "x$ac_ct_CC" = x; then
3470    CC=""
3471  else
3472    case $cross_compiling:$ac_tool_warned in
3473yes:)
3474{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3475$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3476ac_tool_warned=yes ;;
3477esac
3478    CC=$ac_ct_CC
3479  fi
3480fi
3481
3482fi
3483
3484
3485test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3486$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3487as_fn_error $? "no acceptable C compiler found in \$PATH
3488See \`config.log' for more details" "$LINENO" 5; }
3489
3490# Provide some information about the compiler.
3491$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3492set X $ac_compile
3493ac_compiler=$2
3494for ac_option in --version -v -V -qversion; do
3495  { { ac_try="$ac_compiler $ac_option >&5"
3496case "(($ac_try" in
3497  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3498  *) ac_try_echo=$ac_try;;
3499esac
3500eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3501$as_echo "$ac_try_echo"; } >&5
3502  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3503  ac_status=$?
3504  if test -s conftest.err; then
3505    sed '10a\
3506... rest of stderr output deleted ...
3507         10q' conftest.err >conftest.er1
3508    cat conftest.er1 >&5
3509  fi
3510  rm -f conftest.er1 conftest.err
3511  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3512  test $ac_status = 0; }
3513done
3514
3515cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3516/* end confdefs.h.  */
3517
3518int
3519main ()
3520{
3521
3522  ;
3523  return 0;
3524}
3525_ACEOF
3526ac_clean_files_save=$ac_clean_files
3527ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3528# Try to create an executable without -o first, disregard a.out.
3529# It will help us diagnose broken compilers, and finding out an intuition
3530# of exeext.
3531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3532$as_echo_n "checking whether the C compiler works... " >&6; }
3533ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3534
3535# The possible output files:
3536ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3537
3538ac_rmfiles=
3539for ac_file in $ac_files
3540do
3541  case $ac_file in
3542    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3543    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3544  esac
3545done
3546rm -f $ac_rmfiles
3547
3548if { { ac_try="$ac_link_default"
3549case "(($ac_try" in
3550  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3551  *) ac_try_echo=$ac_try;;
3552esac
3553eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3554$as_echo "$ac_try_echo"; } >&5
3555  (eval "$ac_link_default") 2>&5
3556  ac_status=$?
3557  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3558  test $ac_status = 0; }; then :
3559  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3560# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3561# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3562# so that the user can short-circuit this test for compilers unknown to
3563# Autoconf.
3564for ac_file in $ac_files ''
3565do
3566  test -f "$ac_file" || continue
3567  case $ac_file in
3568    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3569	;;
3570    [ab].out )
3571	# We found the default executable, but exeext='' is most
3572	# certainly right.
3573	break;;
3574    *.* )
3575	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3576	then :; else
3577	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3578	fi
3579	# We set ac_cv_exeext here because the later test for it is not
3580	# safe: cross compilers may not add the suffix if given an `-o'
3581	# argument, so we may need to know it at that point already.
3582	# Even if this section looks crufty: it has the advantage of
3583	# actually working.
3584	break;;
3585    * )
3586	break;;
3587  esac
3588done
3589test "$ac_cv_exeext" = no && ac_cv_exeext=
3590
3591else
3592  ac_file=''
3593fi
3594if test -z "$ac_file"; then :
3595  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3596$as_echo "no" >&6; }
3597$as_echo "$as_me: failed program was:" >&5
3598sed 's/^/| /' conftest.$ac_ext >&5
3599
3600{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3601$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3602as_fn_error 77 "C compiler cannot create executables
3603See \`config.log' for more details" "$LINENO" 5; }
3604else
3605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3606$as_echo "yes" >&6; }
3607fi
3608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3609$as_echo_n "checking for C compiler default output file name... " >&6; }
3610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3611$as_echo "$ac_file" >&6; }
3612ac_exeext=$ac_cv_exeext
3613
3614rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3615ac_clean_files=$ac_clean_files_save
3616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3617$as_echo_n "checking for suffix of executables... " >&6; }
3618if { { ac_try="$ac_link"
3619case "(($ac_try" in
3620  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3621  *) ac_try_echo=$ac_try;;
3622esac
3623eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3624$as_echo "$ac_try_echo"; } >&5
3625  (eval "$ac_link") 2>&5
3626  ac_status=$?
3627  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3628  test $ac_status = 0; }; then :
3629  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3630# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3631# work properly (i.e., refer to `conftest.exe'), while it won't with
3632# `rm'.
3633for ac_file in conftest.exe conftest conftest.*; do
3634  test -f "$ac_file" || continue
3635  case $ac_file in
3636    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3637    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3638	  break;;
3639    * ) break;;
3640  esac
3641done
3642else
3643  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3644$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3645as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3646See \`config.log' for more details" "$LINENO" 5; }
3647fi
3648rm -f conftest conftest$ac_cv_exeext
3649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3650$as_echo "$ac_cv_exeext" >&6; }
3651
3652rm -f conftest.$ac_ext
3653EXEEXT=$ac_cv_exeext
3654ac_exeext=$EXEEXT
3655cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3656/* end confdefs.h.  */
3657#include <stdio.h>
3658int
3659main ()
3660{
3661FILE *f = fopen ("conftest.out", "w");
3662 return ferror (f) || fclose (f) != 0;
3663
3664  ;
3665  return 0;
3666}
3667_ACEOF
3668ac_clean_files="$ac_clean_files conftest.out"
3669# Check that the compiler produces executables we can run.  If not, either
3670# the compiler is broken, or we cross compile.
3671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3672$as_echo_n "checking whether we are cross compiling... " >&6; }
3673if test "$cross_compiling" != yes; then
3674  { { ac_try="$ac_link"
3675case "(($ac_try" in
3676  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3677  *) ac_try_echo=$ac_try;;
3678esac
3679eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3680$as_echo "$ac_try_echo"; } >&5
3681  (eval "$ac_link") 2>&5
3682  ac_status=$?
3683  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3684  test $ac_status = 0; }
3685  if { ac_try='./conftest$ac_cv_exeext'
3686  { { case "(($ac_try" in
3687  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3688  *) ac_try_echo=$ac_try;;
3689esac
3690eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3691$as_echo "$ac_try_echo"; } >&5
3692  (eval "$ac_try") 2>&5
3693  ac_status=$?
3694  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3695  test $ac_status = 0; }; }; then
3696    cross_compiling=no
3697  else
3698    if test "$cross_compiling" = maybe; then
3699	cross_compiling=yes
3700    else
3701	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3702$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3703as_fn_error $? "cannot run C compiled programs.
3704If you meant to cross compile, use \`--host'.
3705See \`config.log' for more details" "$LINENO" 5; }
3706    fi
3707  fi
3708fi
3709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3710$as_echo "$cross_compiling" >&6; }
3711
3712rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3713ac_clean_files=$ac_clean_files_save
3714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3715$as_echo_n "checking for suffix of object files... " >&6; }
3716if ${ac_cv_objext+:} false; then :
3717  $as_echo_n "(cached) " >&6
3718else
3719  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720/* end confdefs.h.  */
3721
3722int
3723main ()
3724{
3725
3726  ;
3727  return 0;
3728}
3729_ACEOF
3730rm -f conftest.o conftest.obj
3731if { { ac_try="$ac_compile"
3732case "(($ac_try" in
3733  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3734  *) ac_try_echo=$ac_try;;
3735esac
3736eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3737$as_echo "$ac_try_echo"; } >&5
3738  (eval "$ac_compile") 2>&5
3739  ac_status=$?
3740  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3741  test $ac_status = 0; }; then :
3742  for ac_file in conftest.o conftest.obj conftest.*; do
3743  test -f "$ac_file" || continue;
3744  case $ac_file in
3745    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3746    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3747       break;;
3748  esac
3749done
3750else
3751  $as_echo "$as_me: failed program was:" >&5
3752sed 's/^/| /' conftest.$ac_ext >&5
3753
3754{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3755$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3756as_fn_error $? "cannot compute suffix of object files: cannot compile
3757See \`config.log' for more details" "$LINENO" 5; }
3758fi
3759rm -f conftest.$ac_cv_objext conftest.$ac_ext
3760fi
3761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3762$as_echo "$ac_cv_objext" >&6; }
3763OBJEXT=$ac_cv_objext
3764ac_objext=$OBJEXT
3765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3766$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3767if ${ac_cv_c_compiler_gnu+:} false; then :
3768  $as_echo_n "(cached) " >&6
3769else
3770  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3771/* end confdefs.h.  */
3772
3773int
3774main ()
3775{
3776#ifndef __GNUC__
3777       choke me
3778#endif
3779
3780  ;
3781  return 0;
3782}
3783_ACEOF
3784if ac_fn_c_try_compile "$LINENO"; then :
3785  ac_compiler_gnu=yes
3786else
3787  ac_compiler_gnu=no
3788fi
3789rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3790ac_cv_c_compiler_gnu=$ac_compiler_gnu
3791
3792fi
3793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3794$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3795if test $ac_compiler_gnu = yes; then
3796  GCC=yes
3797else
3798  GCC=
3799fi
3800ac_test_CFLAGS=${CFLAGS+set}
3801ac_save_CFLAGS=$CFLAGS
3802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3803$as_echo_n "checking whether $CC accepts -g... " >&6; }
3804if ${ac_cv_prog_cc_g+:} false; then :
3805  $as_echo_n "(cached) " >&6
3806else
3807  ac_save_c_werror_flag=$ac_c_werror_flag
3808   ac_c_werror_flag=yes
3809   ac_cv_prog_cc_g=no
3810   CFLAGS="-g"
3811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3812/* end confdefs.h.  */
3813
3814int
3815main ()
3816{
3817
3818  ;
3819  return 0;
3820}
3821_ACEOF
3822if ac_fn_c_try_compile "$LINENO"; then :
3823  ac_cv_prog_cc_g=yes
3824else
3825  CFLAGS=""
3826      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827/* end confdefs.h.  */
3828
3829int
3830main ()
3831{
3832
3833  ;
3834  return 0;
3835}
3836_ACEOF
3837if ac_fn_c_try_compile "$LINENO"; then :
3838
3839else
3840  ac_c_werror_flag=$ac_save_c_werror_flag
3841	 CFLAGS="-g"
3842	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3843/* end confdefs.h.  */
3844
3845int
3846main ()
3847{
3848
3849  ;
3850  return 0;
3851}
3852_ACEOF
3853if ac_fn_c_try_compile "$LINENO"; then :
3854  ac_cv_prog_cc_g=yes
3855fi
3856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3857fi
3858rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3859fi
3860rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3861   ac_c_werror_flag=$ac_save_c_werror_flag
3862fi
3863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3864$as_echo "$ac_cv_prog_cc_g" >&6; }
3865if test "$ac_test_CFLAGS" = set; then
3866  CFLAGS=$ac_save_CFLAGS
3867elif test $ac_cv_prog_cc_g = yes; then
3868  if test "$GCC" = yes; then
3869    CFLAGS="-g -O2"
3870  else
3871    CFLAGS="-g"
3872  fi
3873else
3874  if test "$GCC" = yes; then
3875    CFLAGS="-O2"
3876  else
3877    CFLAGS=
3878  fi
3879fi
3880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3881$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3882if ${ac_cv_prog_cc_c89+:} false; then :
3883  $as_echo_n "(cached) " >&6
3884else
3885  ac_cv_prog_cc_c89=no
3886ac_save_CC=$CC
3887cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888/* end confdefs.h.  */
3889#include <stdarg.h>
3890#include <stdio.h>
3891struct stat;
3892/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3893struct buf { int x; };
3894FILE * (*rcsopen) (struct buf *, struct stat *, int);
3895static char *e (p, i)
3896     char **p;
3897     int i;
3898{
3899  return p[i];
3900}
3901static char *f (char * (*g) (char **, int), char **p, ...)
3902{
3903  char *s;
3904  va_list v;
3905  va_start (v,p);
3906  s = g (p, va_arg (v,int));
3907  va_end (v);
3908  return s;
3909}
3910
3911/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3912   function prototypes and stuff, but not '\xHH' hex character constants.
3913   These don't provoke an error unfortunately, instead are silently treated
3914   as 'x'.  The following induces an error, until -std is added to get
3915   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3916   array size at least.  It's necessary to write '\x00'==0 to get something
3917   that's true only with -std.  */
3918int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3919
3920/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3921   inside strings and character constants.  */
3922#define FOO(x) 'x'
3923int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3924
3925int test (int i, double x);
3926struct s1 {int (*f) (int a);};
3927struct s2 {int (*f) (double a);};
3928int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3929int argc;
3930char **argv;
3931int
3932main ()
3933{
3934return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3935  ;
3936  return 0;
3937}
3938_ACEOF
3939for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3940	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3941do
3942  CC="$ac_save_CC $ac_arg"
3943  if ac_fn_c_try_compile "$LINENO"; then :
3944  ac_cv_prog_cc_c89=$ac_arg
3945fi
3946rm -f core conftest.err conftest.$ac_objext
3947  test "x$ac_cv_prog_cc_c89" != "xno" && break
3948done
3949rm -f conftest.$ac_ext
3950CC=$ac_save_CC
3951
3952fi
3953# AC_CACHE_VAL
3954case "x$ac_cv_prog_cc_c89" in
3955  x)
3956    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3957$as_echo "none needed" >&6; } ;;
3958  xno)
3959    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3960$as_echo "unsupported" >&6; } ;;
3961  *)
3962    CC="$CC $ac_cv_prog_cc_c89"
3963    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3964$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3965esac
3966if test "x$ac_cv_prog_cc_c89" != xno; then :
3967
3968fi
3969
3970ac_ext=c
3971ac_cpp='$CPP $CPPFLAGS'
3972ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3973ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3974ac_compiler_gnu=$ac_cv_c_compiler_gnu
3975
3976ac_ext=c
3977ac_cpp='$CPP $CPPFLAGS'
3978ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3979ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3980ac_compiler_gnu=$ac_cv_c_compiler_gnu
3981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3982$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3983if ${am_cv_prog_cc_c_o+:} false; then :
3984  $as_echo_n "(cached) " >&6
3985else
3986  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987/* end confdefs.h.  */
3988
3989int
3990main ()
3991{
3992
3993  ;
3994  return 0;
3995}
3996_ACEOF
3997  # Make sure it works both with $CC and with simple cc.
3998  # Following AC_PROG_CC_C_O, we do the test twice because some
3999  # compilers refuse to overwrite an existing .o file with -o,
4000  # though they will create one.
4001  am_cv_prog_cc_c_o=yes
4002  for am_i in 1 2; do
4003    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4004   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4005   ac_status=$?
4006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007   (exit $ac_status); } \
4008         && test -f conftest2.$ac_objext; then
4009      : OK
4010    else
4011      am_cv_prog_cc_c_o=no
4012      break
4013    fi
4014  done
4015  rm -f core conftest*
4016  unset am_i
4017fi
4018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4019$as_echo "$am_cv_prog_cc_c_o" >&6; }
4020if test "$am_cv_prog_cc_c_o" != yes; then
4021   # Losing compiler, so override with the script.
4022   # FIXME: It is wrong to rewrite CC.
4023   # But if we don't then we get into trouble of one sort or another.
4024   # A longer-term fix would be to have automake use am__CC in this case,
4025   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4026   CC="$am_aux_dir/compile $CC"
4027fi
4028ac_ext=c
4029ac_cpp='$CPP $CPPFLAGS'
4030ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4031ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4032ac_compiler_gnu=$ac_cv_c_compiler_gnu
4033
4034DEPDIR="${am__leading_dot}deps"
4035
4036ac_config_commands="$ac_config_commands depfiles"
4037
4038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4039$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4040cat > confinc.mk << 'END'
4041am__doit:
4042	@echo this is the am__doit target >confinc.out
4043.PHONY: am__doit
4044END
4045am__include="#"
4046am__quote=
4047# BSD make does it like this.
4048echo '.include "confinc.mk" # ignored' > confmf.BSD
4049# Other make implementations (GNU, Solaris 10, AIX) do it like this.
4050echo 'include confinc.mk # ignored' > confmf.GNU
4051_am_result=no
4052for s in GNU BSD; do
4053  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4054   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4055   ac_status=$?
4056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057   (exit $ac_status); }
4058  case $?:`cat confinc.out 2>/dev/null` in #(
4059  '0:this is the am__doit target') :
4060    case $s in #(
4061  BSD) :
4062    am__include='.include' am__quote='"' ;; #(
4063  *) :
4064    am__include='include' am__quote='' ;;
4065esac ;; #(
4066  *) :
4067     ;;
4068esac
4069  if test "$am__include" != "#"; then
4070    _am_result="yes ($s style)"
4071    break
4072  fi
4073done
4074rm -f confinc.* confmf.*
4075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4076$as_echo "${_am_result}" >&6; }
4077
4078# Check whether --enable-dependency-tracking was given.
4079if test "${enable_dependency_tracking+set}" = set; then :
4080  enableval=$enable_dependency_tracking;
4081fi
4082
4083if test "x$enable_dependency_tracking" != xno; then
4084  am_depcomp="$ac_aux_dir/depcomp"
4085  AMDEPBACKSLASH='\'
4086  am__nodep='_no'
4087fi
4088 if test "x$enable_dependency_tracking" != xno; then
4089  AMDEP_TRUE=
4090  AMDEP_FALSE='#'
4091else
4092  AMDEP_TRUE='#'
4093  AMDEP_FALSE=
4094fi
4095
4096
4097
4098depcc="$CC"   am_compiler_list=
4099
4100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4101$as_echo_n "checking dependency style of $depcc... " >&6; }
4102if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4103  $as_echo_n "(cached) " >&6
4104else
4105  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4106  # We make a subdir and do the tests there.  Otherwise we can end up
4107  # making bogus files that we don't know about and never remove.  For
4108  # instance it was reported that on HP-UX the gcc test will end up
4109  # making a dummy file named 'D' -- because '-MD' means "put the output
4110  # in D".
4111  rm -rf conftest.dir
4112  mkdir conftest.dir
4113  # Copy depcomp to subdir because otherwise we won't find it if we're
4114  # using a relative directory.
4115  cp "$am_depcomp" conftest.dir
4116  cd conftest.dir
4117  # We will build objects and dependencies in a subdirectory because
4118  # it helps to detect inapplicable dependency modes.  For instance
4119  # both Tru64's cc and ICC support -MD to output dependencies as a
4120  # side effect of compilation, but ICC will put the dependencies in
4121  # the current directory while Tru64 will put them in the object
4122  # directory.
4123  mkdir sub
4124
4125  am_cv_CC_dependencies_compiler_type=none
4126  if test "$am_compiler_list" = ""; then
4127     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4128  fi
4129  am__universal=false
4130  case " $depcc " in #(
4131     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4132     esac
4133
4134  for depmode in $am_compiler_list; do
4135    # Setup a source with many dependencies, because some compilers
4136    # like to wrap large dependency lists on column 80 (with \), and
4137    # we should not choose a depcomp mode which is confused by this.
4138    #
4139    # We need to recreate these files for each test, as the compiler may
4140    # overwrite some of them when testing with obscure command lines.
4141    # This happens at least with the AIX C compiler.
4142    : > sub/conftest.c
4143    for i in 1 2 3 4 5 6; do
4144      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4145      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4146      # Solaris 10 /bin/sh.
4147      echo '/* dummy */' > sub/conftst$i.h
4148    done
4149    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4150
4151    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4152    # mode.  It turns out that the SunPro C++ compiler does not properly
4153    # handle '-M -o', and we need to detect this.  Also, some Intel
4154    # versions had trouble with output in subdirs.
4155    am__obj=sub/conftest.${OBJEXT-o}
4156    am__minus_obj="-o $am__obj"
4157    case $depmode in
4158    gcc)
4159      # This depmode causes a compiler race in universal mode.
4160      test "$am__universal" = false || continue
4161      ;;
4162    nosideeffect)
4163      # After this tag, mechanisms are not by side-effect, so they'll
4164      # only be used when explicitly requested.
4165      if test "x$enable_dependency_tracking" = xyes; then
4166	continue
4167      else
4168	break
4169      fi
4170      ;;
4171    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4172      # This compiler won't grok '-c -o', but also, the minuso test has
4173      # not run yet.  These depmodes are late enough in the game, and
4174      # so weak that their functioning should not be impacted.
4175      am__obj=conftest.${OBJEXT-o}
4176      am__minus_obj=
4177      ;;
4178    none) break ;;
4179    esac
4180    if depmode=$depmode \
4181       source=sub/conftest.c object=$am__obj \
4182       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4183       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4184         >/dev/null 2>conftest.err &&
4185       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4186       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4187       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4188       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4189      # icc doesn't choke on unknown options, it will just issue warnings
4190      # or remarks (even with -Werror).  So we grep stderr for any message
4191      # that says an option was ignored or not supported.
4192      # When given -MP, icc 7.0 and 7.1 complain thusly:
4193      #   icc: Command line warning: ignoring option '-M'; no argument required
4194      # The diagnosis changed in icc 8.0:
4195      #   icc: Command line remark: option '-MP' not supported
4196      if (grep 'ignoring option' conftest.err ||
4197          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4198        am_cv_CC_dependencies_compiler_type=$depmode
4199        break
4200      fi
4201    fi
4202  done
4203
4204  cd ..
4205  rm -rf conftest.dir
4206else
4207  am_cv_CC_dependencies_compiler_type=none
4208fi
4209
4210fi
4211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4212$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4213CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4214
4215 if
4216  test "x$enable_dependency_tracking" != xno \
4217  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4218  am__fastdepCC_TRUE=
4219  am__fastdepCC_FALSE='#'
4220else
4221  am__fastdepCC_TRUE='#'
4222  am__fastdepCC_FALSE=
4223fi
4224
4225
4226
4227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4228$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4229if ${ac_cv_path_SED+:} false; then :
4230  $as_echo_n "(cached) " >&6
4231else
4232            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4233     for ac_i in 1 2 3 4 5 6 7; do
4234       ac_script="$ac_script$as_nl$ac_script"
4235     done
4236     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4237     { ac_script=; unset ac_script;}
4238     if test -z "$SED"; then
4239  ac_path_SED_found=false
4240  # Loop through the user's path and test for each of PROGNAME-LIST
4241  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4242for as_dir in $PATH
4243do
4244  IFS=$as_save_IFS
4245  test -z "$as_dir" && as_dir=.
4246    for ac_prog in sed gsed; do
4247    for ac_exec_ext in '' $ac_executable_extensions; do
4248      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4249      as_fn_executable_p "$ac_path_SED" || continue
4250# Check for GNU ac_path_SED and select it if it is found.
4251  # Check for GNU $ac_path_SED
4252case `"$ac_path_SED" --version 2>&1` in
4253*GNU*)
4254  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4255*)
4256  ac_count=0
4257  $as_echo_n 0123456789 >"conftest.in"
4258  while :
4259  do
4260    cat "conftest.in" "conftest.in" >"conftest.tmp"
4261    mv "conftest.tmp" "conftest.in"
4262    cp "conftest.in" "conftest.nl"
4263    $as_echo '' >> "conftest.nl"
4264    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4265    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4266    as_fn_arith $ac_count + 1 && ac_count=$as_val
4267    if test $ac_count -gt ${ac_path_SED_max-0}; then
4268      # Best one so far, save it but keep looking for a better one
4269      ac_cv_path_SED="$ac_path_SED"
4270      ac_path_SED_max=$ac_count
4271    fi
4272    # 10*(2^10) chars as input seems more than enough
4273    test $ac_count -gt 10 && break
4274  done
4275  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4276esac
4277
4278      $ac_path_SED_found && break 3
4279    done
4280  done
4281  done
4282IFS=$as_save_IFS
4283  if test -z "$ac_cv_path_SED"; then
4284    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4285  fi
4286else
4287  ac_cv_path_SED=$SED
4288fi
4289
4290fi
4291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4292$as_echo "$ac_cv_path_SED" >&6; }
4293 SED="$ac_cv_path_SED"
4294  rm -f conftest.sed
4295
4296test -z "$SED" && SED=sed
4297Xsed="$SED -e 1s/^X//"
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4310$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4311if ${ac_cv_path_GREP+:} false; then :
4312  $as_echo_n "(cached) " >&6
4313else
4314  if test -z "$GREP"; then
4315  ac_path_GREP_found=false
4316  # Loop through the user's path and test for each of PROGNAME-LIST
4317  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4318for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4319do
4320  IFS=$as_save_IFS
4321  test -z "$as_dir" && as_dir=.
4322    for ac_prog in grep ggrep; do
4323    for ac_exec_ext in '' $ac_executable_extensions; do
4324      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4325      as_fn_executable_p "$ac_path_GREP" || continue
4326# Check for GNU ac_path_GREP and select it if it is found.
4327  # Check for GNU $ac_path_GREP
4328case `"$ac_path_GREP" --version 2>&1` in
4329*GNU*)
4330  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4331*)
4332  ac_count=0
4333  $as_echo_n 0123456789 >"conftest.in"
4334  while :
4335  do
4336    cat "conftest.in" "conftest.in" >"conftest.tmp"
4337    mv "conftest.tmp" "conftest.in"
4338    cp "conftest.in" "conftest.nl"
4339    $as_echo 'GREP' >> "conftest.nl"
4340    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4341    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4342    as_fn_arith $ac_count + 1 && ac_count=$as_val
4343    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4344      # Best one so far, save it but keep looking for a better one
4345      ac_cv_path_GREP="$ac_path_GREP"
4346      ac_path_GREP_max=$ac_count
4347    fi
4348    # 10*(2^10) chars as input seems more than enough
4349    test $ac_count -gt 10 && break
4350  done
4351  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4352esac
4353
4354      $ac_path_GREP_found && break 3
4355    done
4356  done
4357  done
4358IFS=$as_save_IFS
4359  if test -z "$ac_cv_path_GREP"; then
4360    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4361  fi
4362else
4363  ac_cv_path_GREP=$GREP
4364fi
4365
4366fi
4367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4368$as_echo "$ac_cv_path_GREP" >&6; }
4369 GREP="$ac_cv_path_GREP"
4370
4371
4372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4373$as_echo_n "checking for egrep... " >&6; }
4374if ${ac_cv_path_EGREP+:} false; then :
4375  $as_echo_n "(cached) " >&6
4376else
4377  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4378   then ac_cv_path_EGREP="$GREP -E"
4379   else
4380     if test -z "$EGREP"; then
4381  ac_path_EGREP_found=false
4382  # Loop through the user's path and test for each of PROGNAME-LIST
4383  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4384for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4385do
4386  IFS=$as_save_IFS
4387  test -z "$as_dir" && as_dir=.
4388    for ac_prog in egrep; do
4389    for ac_exec_ext in '' $ac_executable_extensions; do
4390      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4391      as_fn_executable_p "$ac_path_EGREP" || continue
4392# Check for GNU ac_path_EGREP and select it if it is found.
4393  # Check for GNU $ac_path_EGREP
4394case `"$ac_path_EGREP" --version 2>&1` in
4395*GNU*)
4396  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4397*)
4398  ac_count=0
4399  $as_echo_n 0123456789 >"conftest.in"
4400  while :
4401  do
4402    cat "conftest.in" "conftest.in" >"conftest.tmp"
4403    mv "conftest.tmp" "conftest.in"
4404    cp "conftest.in" "conftest.nl"
4405    $as_echo 'EGREP' >> "conftest.nl"
4406    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4407    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4408    as_fn_arith $ac_count + 1 && ac_count=$as_val
4409    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4410      # Best one so far, save it but keep looking for a better one
4411      ac_cv_path_EGREP="$ac_path_EGREP"
4412      ac_path_EGREP_max=$ac_count
4413    fi
4414    # 10*(2^10) chars as input seems more than enough
4415    test $ac_count -gt 10 && break
4416  done
4417  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4418esac
4419
4420      $ac_path_EGREP_found && break 3
4421    done
4422  done
4423  done
4424IFS=$as_save_IFS
4425  if test -z "$ac_cv_path_EGREP"; then
4426    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4427  fi
4428else
4429  ac_cv_path_EGREP=$EGREP
4430fi
4431
4432   fi
4433fi
4434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4435$as_echo "$ac_cv_path_EGREP" >&6; }
4436 EGREP="$ac_cv_path_EGREP"
4437
4438
4439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4440$as_echo_n "checking for fgrep... " >&6; }
4441if ${ac_cv_path_FGREP+:} false; then :
4442  $as_echo_n "(cached) " >&6
4443else
4444  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4445   then ac_cv_path_FGREP="$GREP -F"
4446   else
4447     if test -z "$FGREP"; then
4448  ac_path_FGREP_found=false
4449  # Loop through the user's path and test for each of PROGNAME-LIST
4450  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4451for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4452do
4453  IFS=$as_save_IFS
4454  test -z "$as_dir" && as_dir=.
4455    for ac_prog in fgrep; do
4456    for ac_exec_ext in '' $ac_executable_extensions; do
4457      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4458      as_fn_executable_p "$ac_path_FGREP" || continue
4459# Check for GNU ac_path_FGREP and select it if it is found.
4460  # Check for GNU $ac_path_FGREP
4461case `"$ac_path_FGREP" --version 2>&1` in
4462*GNU*)
4463  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4464*)
4465  ac_count=0
4466  $as_echo_n 0123456789 >"conftest.in"
4467  while :
4468  do
4469    cat "conftest.in" "conftest.in" >"conftest.tmp"
4470    mv "conftest.tmp" "conftest.in"
4471    cp "conftest.in" "conftest.nl"
4472    $as_echo 'FGREP' >> "conftest.nl"
4473    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4474    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4475    as_fn_arith $ac_count + 1 && ac_count=$as_val
4476    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4477      # Best one so far, save it but keep looking for a better one
4478      ac_cv_path_FGREP="$ac_path_FGREP"
4479      ac_path_FGREP_max=$ac_count
4480    fi
4481    # 10*(2^10) chars as input seems more than enough
4482    test $ac_count -gt 10 && break
4483  done
4484  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4485esac
4486
4487      $ac_path_FGREP_found && break 3
4488    done
4489  done
4490  done
4491IFS=$as_save_IFS
4492  if test -z "$ac_cv_path_FGREP"; then
4493    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4494  fi
4495else
4496  ac_cv_path_FGREP=$FGREP
4497fi
4498
4499   fi
4500fi
4501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4502$as_echo "$ac_cv_path_FGREP" >&6; }
4503 FGREP="$ac_cv_path_FGREP"
4504
4505
4506test -z "$GREP" && GREP=grep
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4525ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4526ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4527
4528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4529$as_echo_n "checking how to print strings... " >&6; }
4530# Test print first, because it will be a builtin if present.
4531if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4532   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4533  ECHO='print -r --'
4534elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4535  ECHO='printf %s\n'
4536else
4537  # Use this function as a fallback that always works.
4538  func_fallback_echo ()
4539  {
4540    eval 'cat <<_LTECHO_EOF
4541$1
4542_LTECHO_EOF'
4543  }
4544  ECHO='func_fallback_echo'
4545fi
4546
4547# func_echo_all arg...
4548# Invoke $ECHO with all args, space-separated.
4549func_echo_all ()
4550{
4551    $ECHO ""
4552}
4553
4554case $ECHO in
4555  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4556$as_echo "printf" >&6; } ;;
4557  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4558$as_echo "print -r" >&6; } ;;
4559  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4560$as_echo "cat" >&6; } ;;
4561esac
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578# Check whether --with-gnu-ld was given.
4579if test "${with_gnu_ld+set}" = set; then :
4580  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4581else
4582  with_gnu_ld=no
4583fi
4584
4585ac_prog=ld
4586if test yes = "$GCC"; then
4587  # Check if gcc -print-prog-name=ld gives a path.
4588  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4589$as_echo_n "checking for ld used by $CC... " >&6; }
4590  case $host in
4591  *-*-mingw*)
4592    # gcc leaves a trailing carriage return, which upsets mingw
4593    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4594  *)
4595    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4596  esac
4597  case $ac_prog in
4598    # Accept absolute paths.
4599    [\\/]* | ?:[\\/]*)
4600      re_direlt='/[^/][^/]*/\.\./'
4601      # Canonicalize the pathname of ld
4602      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4603      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4604	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4605      done
4606      test -z "$LD" && LD=$ac_prog
4607      ;;
4608  "")
4609    # If it fails, then pretend we aren't using GCC.
4610    ac_prog=ld
4611    ;;
4612  *)
4613    # If it is relative, then search for the first ld in PATH.
4614    with_gnu_ld=unknown
4615    ;;
4616  esac
4617elif test yes = "$with_gnu_ld"; then
4618  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4619$as_echo_n "checking for GNU ld... " >&6; }
4620else
4621  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4622$as_echo_n "checking for non-GNU ld... " >&6; }
4623fi
4624if ${lt_cv_path_LD+:} false; then :
4625  $as_echo_n "(cached) " >&6
4626else
4627  if test -z "$LD"; then
4628  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4629  for ac_dir in $PATH; do
4630    IFS=$lt_save_ifs
4631    test -z "$ac_dir" && ac_dir=.
4632    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4633      lt_cv_path_LD=$ac_dir/$ac_prog
4634      # Check to see if the program is GNU ld.  I'd rather use --version,
4635      # but apparently some variants of GNU ld only accept -v.
4636      # Break only if it was the GNU/non-GNU ld that we prefer.
4637      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4638      *GNU* | *'with BFD'*)
4639	test no != "$with_gnu_ld" && break
4640	;;
4641      *)
4642	test yes != "$with_gnu_ld" && break
4643	;;
4644      esac
4645    fi
4646  done
4647  IFS=$lt_save_ifs
4648else
4649  lt_cv_path_LD=$LD # Let the user override the test with a path.
4650fi
4651fi
4652
4653LD=$lt_cv_path_LD
4654if test -n "$LD"; then
4655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4656$as_echo "$LD" >&6; }
4657else
4658  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4659$as_echo "no" >&6; }
4660fi
4661test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4663$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4664if ${lt_cv_prog_gnu_ld+:} false; then :
4665  $as_echo_n "(cached) " >&6
4666else
4667  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4668case `$LD -v 2>&1 </dev/null` in
4669*GNU* | *'with BFD'*)
4670  lt_cv_prog_gnu_ld=yes
4671  ;;
4672*)
4673  lt_cv_prog_gnu_ld=no
4674  ;;
4675esac
4676fi
4677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4678$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4679with_gnu_ld=$lt_cv_prog_gnu_ld
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4692$as_echo_n "checking whether NLS is requested... " >&6; }
4693    # Check whether --enable-nls was given.
4694if test "${enable_nls+set}" = set; then :
4695  enableval=$enable_nls; USE_NLS=$enableval
4696else
4697  USE_NLS=yes
4698fi
4699
4700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4701$as_echo "$USE_NLS" >&6; }
4702
4703
4704
4705
4706case "$am__api_version" in
4707    1.01234)
4708	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4709    ;;
4710    *)
4711    ;;
4712esac
4713
4714INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4715INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4716INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4717if test -n "0.35.0"; then
4718    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
4719$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
4720    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4721$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4722    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4723	as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
4724fi
4725
4726# Extract the first word of "intltool-update", so it can be a program name with args.
4727set dummy intltool-update; ac_word=$2
4728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4729$as_echo_n "checking for $ac_word... " >&6; }
4730if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
4731  $as_echo_n "(cached) " >&6
4732else
4733  case $INTLTOOL_UPDATE in
4734  [\\/]* | ?:[\\/]*)
4735  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4736  ;;
4737  *)
4738  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4739for as_dir in $PATH
4740do
4741  IFS=$as_save_IFS
4742  test -z "$as_dir" && as_dir=.
4743    for ac_exec_ext in '' $ac_executable_extensions; do
4744  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4745    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4746    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4747    break 2
4748  fi
4749done
4750  done
4751IFS=$as_save_IFS
4752
4753  ;;
4754esac
4755fi
4756INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4757if test -n "$INTLTOOL_UPDATE"; then
4758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4759$as_echo "$INTLTOOL_UPDATE" >&6; }
4760else
4761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4762$as_echo "no" >&6; }
4763fi
4764
4765
4766# Extract the first word of "intltool-merge", so it can be a program name with args.
4767set dummy intltool-merge; ac_word=$2
4768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4769$as_echo_n "checking for $ac_word... " >&6; }
4770if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4771  $as_echo_n "(cached) " >&6
4772else
4773  case $INTLTOOL_MERGE in
4774  [\\/]* | ?:[\\/]*)
4775  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4776  ;;
4777  *)
4778  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4779for as_dir in $PATH
4780do
4781  IFS=$as_save_IFS
4782  test -z "$as_dir" && as_dir=.
4783    for ac_exec_ext in '' $ac_executable_extensions; do
4784  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4785    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4786    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4787    break 2
4788  fi
4789done
4790  done
4791IFS=$as_save_IFS
4792
4793  ;;
4794esac
4795fi
4796INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4797if test -n "$INTLTOOL_MERGE"; then
4798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4799$as_echo "$INTLTOOL_MERGE" >&6; }
4800else
4801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802$as_echo "no" >&6; }
4803fi
4804
4805
4806# Extract the first word of "intltool-extract", so it can be a program name with args.
4807set dummy intltool-extract; ac_word=$2
4808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4809$as_echo_n "checking for $ac_word... " >&6; }
4810if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
4811  $as_echo_n "(cached) " >&6
4812else
4813  case $INTLTOOL_EXTRACT in
4814  [\\/]* | ?:[\\/]*)
4815  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4816  ;;
4817  *)
4818  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4819for as_dir in $PATH
4820do
4821  IFS=$as_save_IFS
4822  test -z "$as_dir" && as_dir=.
4823    for ac_exec_ext in '' $ac_executable_extensions; do
4824  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4825    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4826    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4827    break 2
4828  fi
4829done
4830  done
4831IFS=$as_save_IFS
4832
4833  ;;
4834esac
4835fi
4836INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4837if test -n "$INTLTOOL_EXTRACT"; then
4838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4839$as_echo "$INTLTOOL_EXTRACT" >&6; }
4840else
4841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4842$as_echo "no" >&6; }
4843fi
4844
4845
4846if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4847    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4848fi
4849
4850if test -z "$AM_DEFAULT_VERBOSITY"; then
4851  AM_DEFAULT_VERBOSITY=1
4852fi
4853
4854
4855INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
4856INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
4857INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
4858
4859
4860
4861
4862INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
4863intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
4864intltool__v_merge_options_0='-q'
4865
4866
4867
4868
4869  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4870INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4871     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4872     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4873      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
4874     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4875   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4876    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4877INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4878       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4879      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4880if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
4881      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
4882else
4883      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
4884fi
4885      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4886      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4887    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4888  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4889    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4890    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4891   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989# Check the gettext tools to make sure they are GNU
4990# Extract the first word of "xgettext", so it can be a program name with args.
4991set dummy xgettext; ac_word=$2
4992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4993$as_echo_n "checking for $ac_word... " >&6; }
4994if ${ac_cv_path_XGETTEXT+:} false; then :
4995  $as_echo_n "(cached) " >&6
4996else
4997  case $XGETTEXT in
4998  [\\/]* | ?:[\\/]*)
4999  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5000  ;;
5001  *)
5002  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5003for as_dir in $PATH
5004do
5005  IFS=$as_save_IFS
5006  test -z "$as_dir" && as_dir=.
5007    for ac_exec_ext in '' $ac_executable_extensions; do
5008  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5009    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
5010    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011    break 2
5012  fi
5013done
5014  done
5015IFS=$as_save_IFS
5016
5017  ;;
5018esac
5019fi
5020XGETTEXT=$ac_cv_path_XGETTEXT
5021if test -n "$XGETTEXT"; then
5022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5023$as_echo "$XGETTEXT" >&6; }
5024else
5025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5026$as_echo "no" >&6; }
5027fi
5028
5029
5030# Extract the first word of "msgmerge", so it can be a program name with args.
5031set dummy msgmerge; ac_word=$2
5032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5033$as_echo_n "checking for $ac_word... " >&6; }
5034if ${ac_cv_path_MSGMERGE+:} false; then :
5035  $as_echo_n "(cached) " >&6
5036else
5037  case $MSGMERGE in
5038  [\\/]* | ?:[\\/]*)
5039  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5040  ;;
5041  *)
5042  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043for as_dir in $PATH
5044do
5045  IFS=$as_save_IFS
5046  test -z "$as_dir" && as_dir=.
5047    for ac_exec_ext in '' $ac_executable_extensions; do
5048  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5049    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
5050    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5051    break 2
5052  fi
5053done
5054  done
5055IFS=$as_save_IFS
5056
5057  ;;
5058esac
5059fi
5060MSGMERGE=$ac_cv_path_MSGMERGE
5061if test -n "$MSGMERGE"; then
5062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5063$as_echo "$MSGMERGE" >&6; }
5064else
5065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5066$as_echo "no" >&6; }
5067fi
5068
5069
5070# Extract the first word of "msgfmt", so it can be a program name with args.
5071set dummy msgfmt; ac_word=$2
5072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073$as_echo_n "checking for $ac_word... " >&6; }
5074if ${ac_cv_path_MSGFMT+:} false; then :
5075  $as_echo_n "(cached) " >&6
5076else
5077  case $MSGFMT in
5078  [\\/]* | ?:[\\/]*)
5079  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5080  ;;
5081  *)
5082  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5083for as_dir in $PATH
5084do
5085  IFS=$as_save_IFS
5086  test -z "$as_dir" && as_dir=.
5087    for ac_exec_ext in '' $ac_executable_extensions; do
5088  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5089    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
5090    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5091    break 2
5092  fi
5093done
5094  done
5095IFS=$as_save_IFS
5096
5097  ;;
5098esac
5099fi
5100MSGFMT=$ac_cv_path_MSGFMT
5101if test -n "$MSGFMT"; then
5102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5103$as_echo "$MSGFMT" >&6; }
5104else
5105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106$as_echo "no" >&6; }
5107fi
5108
5109
5110# Extract the first word of "gmsgfmt", so it can be a program name with args.
5111set dummy gmsgfmt; ac_word=$2
5112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5113$as_echo_n "checking for $ac_word... " >&6; }
5114if ${ac_cv_path_GMSGFMT+:} false; then :
5115  $as_echo_n "(cached) " >&6
5116else
5117  case $GMSGFMT in
5118  [\\/]* | ?:[\\/]*)
5119  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5120  ;;
5121  *)
5122  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5123for as_dir in $PATH
5124do
5125  IFS=$as_save_IFS
5126  test -z "$as_dir" && as_dir=.
5127    for ac_exec_ext in '' $ac_executable_extensions; do
5128  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5129    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5130    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5131    break 2
5132  fi
5133done
5134  done
5135IFS=$as_save_IFS
5136
5137  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5138  ;;
5139esac
5140fi
5141GMSGFMT=$ac_cv_path_GMSGFMT
5142if test -n "$GMSGFMT"; then
5143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5144$as_echo "$GMSGFMT" >&6; }
5145else
5146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147$as_echo "no" >&6; }
5148fi
5149
5150
5151if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
5152    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5153fi
5154xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
5155mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
5156mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
5157if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
5158    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5159fi
5160
5161# Extract the first word of "perl", so it can be a program name with args.
5162set dummy perl; ac_word=$2
5163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5164$as_echo_n "checking for $ac_word... " >&6; }
5165if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
5166  $as_echo_n "(cached) " >&6
5167else
5168  case $INTLTOOL_PERL in
5169  [\\/]* | ?:[\\/]*)
5170  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
5171  ;;
5172  *)
5173  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5174for as_dir in $PATH
5175do
5176  IFS=$as_save_IFS
5177  test -z "$as_dir" && as_dir=.
5178    for ac_exec_ext in '' $ac_executable_extensions; do
5179  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5180    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
5181    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5182    break 2
5183  fi
5184done
5185  done
5186IFS=$as_save_IFS
5187
5188  ;;
5189esac
5190fi
5191INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
5192if test -n "$INTLTOOL_PERL"; then
5193  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
5194$as_echo "$INTLTOOL_PERL" >&6; }
5195else
5196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5197$as_echo "no" >&6; }
5198fi
5199
5200
5201if test -z "$INTLTOOL_PERL"; then
5202   as_fn_error $? "perl not found" "$LINENO" 5
5203fi
5204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
5205$as_echo_n "checking for perl >= 5.8.1... " >&6; }
5206$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
5207if test $? -ne 0; then
5208   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
5209else
5210   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
5211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
5212$as_echo "$IT_PERL_VERSION" >&6; }
5213fi
5214if test "x" != "xno-xml"; then
5215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
5216$as_echo_n "checking for XML::Parser... " >&6; }
5217   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
5218       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5219$as_echo "ok" >&6; }
5220   else
5221       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
5222   fi
5223fi
5224
5225# Substitute ALL_LINGUAS so we can use it in po/Makefile
5226
5227
5228
5229
5230
5231
5232
5233case `pwd` in
5234  *\ * | *\	*)
5235    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5236$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5237esac
5238
5239
5240
5241macro_version='2.4.6.42-b88ce'
5242macro_revision='2.4.6.42'
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256ltmain=$ac_aux_dir/ltmain.sh
5257
5258# Backslashify metacharacters that are still active within
5259# double-quoted strings.
5260sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5261
5262# Same as above, but do not quote variable references.
5263double_quote_subst='s/\(["`\\]\)/\\\1/g'
5264
5265# Sed substitution to delay expansion of an escaped shell variable in a
5266# double_quote_subst'ed string.
5267delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5268
5269# Sed substitution to delay expansion of an escaped single quote.
5270delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5271
5272# Sed substitution to avoid accidental globbing in evaled expressions
5273no_glob_subst='s/\*/\\\*/g'
5274
5275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5276$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5277if ${lt_cv_path_NM+:} false; then :
5278  $as_echo_n "(cached) " >&6
5279else
5280  if test -n "$NM"; then
5281  # Let the user override the test.
5282  lt_cv_path_NM=$NM
5283else
5284  lt_nm_to_check=${ac_tool_prefix}nm
5285  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5286    lt_nm_to_check="$lt_nm_to_check nm"
5287  fi
5288  for lt_tmp_nm in $lt_nm_to_check; do
5289    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5290    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5291      IFS=$lt_save_ifs
5292      test -z "$ac_dir" && ac_dir=.
5293      tmp_nm=$ac_dir/$lt_tmp_nm
5294      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5295	# Check to see if the nm accepts a BSD-compat flag.
5296	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5297	#   nm: unknown option "B" ignored
5298	# Tru64's nm complains that /dev/null is an invalid object file
5299	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5300	case $build_os in
5301	mingw*) lt_bad_file=conftest.nm/nofile ;;
5302	*) lt_bad_file=/dev/null ;;
5303	esac
5304	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5305	*$lt_bad_file* | *'Invalid file or object type'*)
5306	  lt_cv_path_NM="$tmp_nm -B"
5307	  break 2
5308	  ;;
5309	*)
5310	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5311	  */dev/null*)
5312	    lt_cv_path_NM="$tmp_nm -p"
5313	    break 2
5314	    ;;
5315	  *)
5316	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5317	    continue # so that we can try to find one that supports BSD flags
5318	    ;;
5319	  esac
5320	  ;;
5321	esac
5322      fi
5323    done
5324    IFS=$lt_save_ifs
5325  done
5326  : ${lt_cv_path_NM=no}
5327fi
5328fi
5329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5330$as_echo "$lt_cv_path_NM" >&6; }
5331if test no != "$lt_cv_path_NM"; then
5332  NM=$lt_cv_path_NM
5333else
5334  # Didn't find any BSD compatible name lister, look for dumpbin.
5335  if test -n "$DUMPBIN"; then :
5336    # Let the user override the test.
5337  else
5338    if test -n "$ac_tool_prefix"; then
5339  for ac_prog in dumpbin "link -dump"
5340  do
5341    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5342set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5344$as_echo_n "checking for $ac_word... " >&6; }
5345if ${ac_cv_prog_DUMPBIN+:} false; then :
5346  $as_echo_n "(cached) " >&6
5347else
5348  if test -n "$DUMPBIN"; then
5349  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5350else
5351as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5352for as_dir in $PATH
5353do
5354  IFS=$as_save_IFS
5355  test -z "$as_dir" && as_dir=.
5356    for ac_exec_ext in '' $ac_executable_extensions; do
5357  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5358    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5359    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5360    break 2
5361  fi
5362done
5363  done
5364IFS=$as_save_IFS
5365
5366fi
5367fi
5368DUMPBIN=$ac_cv_prog_DUMPBIN
5369if test -n "$DUMPBIN"; then
5370  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5371$as_echo "$DUMPBIN" >&6; }
5372else
5373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5374$as_echo "no" >&6; }
5375fi
5376
5377
5378    test -n "$DUMPBIN" && break
5379  done
5380fi
5381if test -z "$DUMPBIN"; then
5382  ac_ct_DUMPBIN=$DUMPBIN
5383  for ac_prog in dumpbin "link -dump"
5384do
5385  # Extract the first word of "$ac_prog", so it can be a program name with args.
5386set dummy $ac_prog; ac_word=$2
5387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5388$as_echo_n "checking for $ac_word... " >&6; }
5389if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5390  $as_echo_n "(cached) " >&6
5391else
5392  if test -n "$ac_ct_DUMPBIN"; then
5393  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5394else
5395as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5396for as_dir in $PATH
5397do
5398  IFS=$as_save_IFS
5399  test -z "$as_dir" && as_dir=.
5400    for ac_exec_ext in '' $ac_executable_extensions; do
5401  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5402    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5403    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5404    break 2
5405  fi
5406done
5407  done
5408IFS=$as_save_IFS
5409
5410fi
5411fi
5412ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5413if test -n "$ac_ct_DUMPBIN"; then
5414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5415$as_echo "$ac_ct_DUMPBIN" >&6; }
5416else
5417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5418$as_echo "no" >&6; }
5419fi
5420
5421
5422  test -n "$ac_ct_DUMPBIN" && break
5423done
5424
5425  if test "x$ac_ct_DUMPBIN" = x; then
5426    DUMPBIN=":"
5427  else
5428    case $cross_compiling:$ac_tool_warned in
5429yes:)
5430{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5431$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5432ac_tool_warned=yes ;;
5433esac
5434    DUMPBIN=$ac_ct_DUMPBIN
5435  fi
5436fi
5437
5438    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5439    *COFF*)
5440      DUMPBIN="$DUMPBIN -symbols -headers"
5441      ;;
5442    *)
5443      DUMPBIN=:
5444      ;;
5445    esac
5446  fi
5447
5448  if test : != "$DUMPBIN"; then
5449    NM=$DUMPBIN
5450  fi
5451fi
5452test -z "$NM" && NM=nm
5453
5454
5455
5456
5457
5458
5459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5460$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5461if ${lt_cv_nm_interface+:} false; then :
5462  $as_echo_n "(cached) " >&6
5463else
5464  lt_cv_nm_interface="BSD nm"
5465  echo "int some_variable = 0;" > conftest.$ac_ext
5466  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5467  (eval "$ac_compile" 2>conftest.err)
5468  cat conftest.err >&5
5469  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5470  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5471  cat conftest.err >&5
5472  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5473  cat conftest.out >&5
5474  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5475    lt_cv_nm_interface="MS dumpbin"
5476  fi
5477  rm -f conftest*
5478fi
5479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5480$as_echo "$lt_cv_nm_interface" >&6; }
5481
5482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5483$as_echo_n "checking whether ln -s works... " >&6; }
5484LN_S=$as_ln_s
5485if test "$LN_S" = "ln -s"; then
5486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5487$as_echo "yes" >&6; }
5488else
5489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5490$as_echo "no, using $LN_S" >&6; }
5491fi
5492
5493# find the maximum length of command line arguments
5494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5495$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5496if ${lt_cv_sys_max_cmd_len+:} false; then :
5497  $as_echo_n "(cached) " >&6
5498else
5499    i=0
5500  teststring=ABCD
5501
5502  case $build_os in
5503  msdosdjgpp*)
5504    # On DJGPP, this test can blow up pretty badly due to problems in libc
5505    # (any single argument exceeding 2000 bytes causes a buffer overrun
5506    # during glob expansion).  Even if it were fixed, the result of this
5507    # check would be larger than it should be.
5508    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5509    ;;
5510
5511  gnu*)
5512    # Under GNU Hurd, this test is not required because there is
5513    # no limit to the length of command line arguments.
5514    # Libtool will interpret -1 as no limit whatsoever
5515    lt_cv_sys_max_cmd_len=-1;
5516    ;;
5517
5518  cygwin* | mingw* | cegcc*)
5519    # On Win9x/ME, this test blows up -- it succeeds, but takes
5520    # about 5 minutes as the teststring grows exponentially.
5521    # Worse, since 9x/ME are not pre-emptively multitasking,
5522    # you end up with a "frozen" computer, even though with patience
5523    # the test eventually succeeds (with a max line length of 256k).
5524    # Instead, let's just punt: use the minimum linelength reported by
5525    # all of the supported platforms: 8192 (on NT/2K/XP).
5526    lt_cv_sys_max_cmd_len=8192;
5527    ;;
5528
5529  mint*)
5530    # On MiNT this can take a long time and run out of memory.
5531    lt_cv_sys_max_cmd_len=8192;
5532    ;;
5533
5534  amigaos*)
5535    # On AmigaOS with pdksh, this test takes hours, literally.
5536    # So we just punt and use a minimum line length of 8192.
5537    lt_cv_sys_max_cmd_len=8192;
5538    ;;
5539
5540  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5541    # This has been around since 386BSD, at least.  Likely further.
5542    if test -x /sbin/sysctl; then
5543      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5544    elif test -x /usr/sbin/sysctl; then
5545      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5546    else
5547      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5548    fi
5549    # And add a safety zone
5550    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5551    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5552    ;;
5553
5554  interix*)
5555    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5556    lt_cv_sys_max_cmd_len=196608
5557    ;;
5558
5559  os2*)
5560    # The test takes a long time on OS/2.
5561    lt_cv_sys_max_cmd_len=8192
5562    ;;
5563
5564  osf*)
5565    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5566    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5567    # nice to cause kernel panics so lets avoid the loop below.
5568    # First set a reasonable default.
5569    lt_cv_sys_max_cmd_len=16384
5570    #
5571    if test -x /sbin/sysconfig; then
5572      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5573        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5574      esac
5575    fi
5576    ;;
5577  sco3.2v5*)
5578    lt_cv_sys_max_cmd_len=102400
5579    ;;
5580  sysv5* | sco5v6* | sysv4.2uw2*)
5581    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5582    if test -n "$kargmax"; then
5583      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5584    else
5585      lt_cv_sys_max_cmd_len=32768
5586    fi
5587    ;;
5588  *)
5589    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5590    if test -n "$lt_cv_sys_max_cmd_len" && \
5591       test undefined != "$lt_cv_sys_max_cmd_len"; then
5592      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5593      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5594    else
5595      # Make teststring a little bigger before we do anything with it.
5596      # a 1K string should be a reasonable start.
5597      for i in 1 2 3 4 5 6 7 8; do
5598        teststring=$teststring$teststring
5599      done
5600      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5601      # If test is not a shell built-in, we'll probably end up computing a
5602      # maximum length that is only half of the actual maximum length, but
5603      # we can't tell.
5604      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5605	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5606	      test 17 != "$i" # 1/2 MB should be enough
5607      do
5608        i=`expr $i + 1`
5609        teststring=$teststring$teststring
5610      done
5611      # Only check the string length outside the loop.
5612      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5613      teststring=
5614      # Add a significant safety factor because C++ compilers can tack on
5615      # massive amounts of additional arguments before passing them to the
5616      # linker.  It appears as though 1/2 is a usable value.
5617      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5618    fi
5619    ;;
5620  esac
5621
5622fi
5623
5624if test -n "$lt_cv_sys_max_cmd_len"; then
5625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5626$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5627else
5628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5629$as_echo "none" >&6; }
5630fi
5631max_cmd_len=$lt_cv_sys_max_cmd_len
5632
5633
5634
5635
5636
5637
5638: ${CP="cp -f"}
5639: ${MV="mv -f"}
5640: ${RM="rm -f"}
5641
5642if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5643  lt_unset=unset
5644else
5645  lt_unset=false
5646fi
5647
5648
5649
5650
5651
5652# test EBCDIC or ASCII
5653case `echo X|tr X '\101'` in
5654 A) # ASCII based system
5655    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5656  lt_SP2NL='tr \040 \012'
5657  lt_NL2SP='tr \015\012 \040\040'
5658  ;;
5659 *) # EBCDIC based system
5660  lt_SP2NL='tr \100 \n'
5661  lt_NL2SP='tr \r\n \100\100'
5662  ;;
5663esac
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5674$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5675if ${lt_cv_to_host_file_cmd+:} false; then :
5676  $as_echo_n "(cached) " >&6
5677else
5678  case $host in
5679  *-*-mingw* )
5680    case $build in
5681      *-*-mingw* ) # actually msys
5682        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5683        ;;
5684      *-*-cygwin* )
5685        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5686        ;;
5687      * ) # otherwise, assume *nix
5688        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5689        ;;
5690    esac
5691    ;;
5692  *-*-cygwin* )
5693    case $build in
5694      *-*-mingw* ) # actually msys
5695        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5696        ;;
5697      *-*-cygwin* )
5698        lt_cv_to_host_file_cmd=func_convert_file_noop
5699        ;;
5700      * ) # otherwise, assume *nix
5701        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5702        ;;
5703    esac
5704    ;;
5705  * ) # unhandled hosts (and "normal" native builds)
5706    lt_cv_to_host_file_cmd=func_convert_file_noop
5707    ;;
5708esac
5709
5710fi
5711
5712to_host_file_cmd=$lt_cv_to_host_file_cmd
5713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5714$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5715
5716
5717
5718
5719
5720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5721$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5722if ${lt_cv_to_tool_file_cmd+:} false; then :
5723  $as_echo_n "(cached) " >&6
5724else
5725  #assume ordinary cross tools, or native build.
5726lt_cv_to_tool_file_cmd=func_convert_file_noop
5727case $host in
5728  *-*-mingw* )
5729    case $build in
5730      *-*-mingw* ) # actually msys
5731        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5732        ;;
5733    esac
5734    ;;
5735esac
5736
5737fi
5738
5739to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5741$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5742
5743
5744
5745
5746
5747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5748$as_echo_n "checking for $LD option to reload object files... " >&6; }
5749if ${lt_cv_ld_reload_flag+:} false; then :
5750  $as_echo_n "(cached) " >&6
5751else
5752  lt_cv_ld_reload_flag='-r'
5753fi
5754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5755$as_echo "$lt_cv_ld_reload_flag" >&6; }
5756reload_flag=$lt_cv_ld_reload_flag
5757case $reload_flag in
5758"" | " "*) ;;
5759*) reload_flag=" $reload_flag" ;;
5760esac
5761reload_cmds='$LD$reload_flag -o $output$reload_objs'
5762case $host_os in
5763  cygwin* | mingw* | pw32* | cegcc*)
5764    if test yes != "$GCC"; then
5765      reload_cmds=false
5766    fi
5767    ;;
5768  darwin*)
5769    if test yes = "$GCC"; then
5770      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5771    else
5772      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5773    fi
5774    ;;
5775esac
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785if test -n "$ac_tool_prefix"; then
5786  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5787set dummy ${ac_tool_prefix}objdump; ac_word=$2
5788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5789$as_echo_n "checking for $ac_word... " >&6; }
5790if ${ac_cv_prog_OBJDUMP+:} false; then :
5791  $as_echo_n "(cached) " >&6
5792else
5793  if test -n "$OBJDUMP"; then
5794  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5795else
5796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797for as_dir in $PATH
5798do
5799  IFS=$as_save_IFS
5800  test -z "$as_dir" && as_dir=.
5801    for ac_exec_ext in '' $ac_executable_extensions; do
5802  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5803    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5804    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5805    break 2
5806  fi
5807done
5808  done
5809IFS=$as_save_IFS
5810
5811fi
5812fi
5813OBJDUMP=$ac_cv_prog_OBJDUMP
5814if test -n "$OBJDUMP"; then
5815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5816$as_echo "$OBJDUMP" >&6; }
5817else
5818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5819$as_echo "no" >&6; }
5820fi
5821
5822
5823fi
5824if test -z "$ac_cv_prog_OBJDUMP"; then
5825  ac_ct_OBJDUMP=$OBJDUMP
5826  # Extract the first word of "objdump", so it can be a program name with args.
5827set dummy objdump; ac_word=$2
5828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5829$as_echo_n "checking for $ac_word... " >&6; }
5830if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5831  $as_echo_n "(cached) " >&6
5832else
5833  if test -n "$ac_ct_OBJDUMP"; then
5834  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5835else
5836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837for as_dir in $PATH
5838do
5839  IFS=$as_save_IFS
5840  test -z "$as_dir" && as_dir=.
5841    for ac_exec_ext in '' $ac_executable_extensions; do
5842  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5843    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5844    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5845    break 2
5846  fi
5847done
5848  done
5849IFS=$as_save_IFS
5850
5851fi
5852fi
5853ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5854if test -n "$ac_ct_OBJDUMP"; then
5855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5856$as_echo "$ac_ct_OBJDUMP" >&6; }
5857else
5858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859$as_echo "no" >&6; }
5860fi
5861
5862  if test "x$ac_ct_OBJDUMP" = x; then
5863    OBJDUMP="false"
5864  else
5865    case $cross_compiling:$ac_tool_warned in
5866yes:)
5867{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5868$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5869ac_tool_warned=yes ;;
5870esac
5871    OBJDUMP=$ac_ct_OBJDUMP
5872  fi
5873else
5874  OBJDUMP="$ac_cv_prog_OBJDUMP"
5875fi
5876
5877test -z "$OBJDUMP" && OBJDUMP=objdump
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5888$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5889if ${lt_cv_deplibs_check_method+:} false; then :
5890  $as_echo_n "(cached) " >&6
5891else
5892  lt_cv_file_magic_cmd='$MAGIC_CMD'
5893lt_cv_file_magic_test_file=
5894lt_cv_deplibs_check_method='unknown'
5895# Need to set the preceding variable on all platforms that support
5896# interlibrary dependencies.
5897# 'none' -- dependencies not supported.
5898# 'unknown' -- same as none, but documents that we really don't know.
5899# 'pass_all' -- all dependencies passed with no checks.
5900# 'test_compile' -- check by making test program.
5901# 'file_magic [[regex]]' -- check by looking for files in library path
5902# that responds to the $file_magic_cmd with a given extended regex.
5903# If you have 'file' or equivalent on your system and you're not sure
5904# whether 'pass_all' will *always* work, you probably want this one.
5905
5906case $host_os in
5907aix[4-9]*)
5908  lt_cv_deplibs_check_method=pass_all
5909  ;;
5910
5911beos*)
5912  lt_cv_deplibs_check_method=pass_all
5913  ;;
5914
5915bsdi[45]*)
5916  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5917  lt_cv_file_magic_cmd='/usr/bin/file -L'
5918  lt_cv_file_magic_test_file=/shlib/libc.so
5919  ;;
5920
5921cygwin*)
5922  # func_win32_libid is a shell function defined in ltmain.sh
5923  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5924  lt_cv_file_magic_cmd='func_win32_libid'
5925  ;;
5926
5927mingw* | pw32*)
5928  # Base MSYS/MinGW do not provide the 'file' command needed by
5929  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5930  # unless we find 'file', for example because we are cross-compiling.
5931  if ( file / ) >/dev/null 2>&1; then
5932    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5933    lt_cv_file_magic_cmd='func_win32_libid'
5934  else
5935    # Keep this pattern in sync with the one in func_win32_libid.
5936    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5937    lt_cv_file_magic_cmd='$OBJDUMP -f'
5938  fi
5939  ;;
5940
5941cegcc*)
5942  # use the weaker test based on 'objdump'. See mingw*.
5943  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5944  lt_cv_file_magic_cmd='$OBJDUMP -f'
5945  ;;
5946
5947darwin* | rhapsody*)
5948  lt_cv_deplibs_check_method=pass_all
5949  ;;
5950
5951freebsd* | dragonfly*)
5952  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5953    case $host_cpu in
5954    i*86 )
5955      # Not sure whether the presence of OpenBSD here was a mistake.
5956      # Let's accept both of them until this is cleared up.
5957      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5958      lt_cv_file_magic_cmd=/usr/bin/file
5959      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5960      ;;
5961    esac
5962  else
5963    lt_cv_deplibs_check_method=pass_all
5964  fi
5965  ;;
5966
5967haiku*)
5968  lt_cv_deplibs_check_method=pass_all
5969  ;;
5970
5971hpux10.20* | hpux11*)
5972  lt_cv_file_magic_cmd=/usr/bin/file
5973  case $host_cpu in
5974  ia64*)
5975    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5976    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5977    ;;
5978  hppa*64*)
5979    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]'
5980    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5981    ;;
5982  *)
5983    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5984    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5985    ;;
5986  esac
5987  ;;
5988
5989interix[3-9]*)
5990  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5991  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5992  ;;
5993
5994irix5* | irix6* | nonstopux*)
5995  case $LD in
5996  *-32|*"-32 ") libmagic=32-bit;;
5997  *-n32|*"-n32 ") libmagic=N32;;
5998  *-64|*"-64 ") libmagic=64-bit;;
5999  *) libmagic=never-match;;
6000  esac
6001  lt_cv_deplibs_check_method=pass_all
6002  ;;
6003
6004# This must be glibc/ELF.
6005linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6006  lt_cv_deplibs_check_method=pass_all
6007  ;;
6008
6009netbsd*)
6010  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6011    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6012  else
6013    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6014  fi
6015  ;;
6016
6017newos6*)
6018  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6019  lt_cv_file_magic_cmd=/usr/bin/file
6020  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6021  ;;
6022
6023*nto* | *qnx*)
6024  lt_cv_deplibs_check_method=pass_all
6025  ;;
6026
6027openbsd* | bitrig*)
6028  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6029    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6030  else
6031    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6032  fi
6033  ;;
6034
6035osf3* | osf4* | osf5*)
6036  lt_cv_deplibs_check_method=pass_all
6037  ;;
6038
6039rdos*)
6040  lt_cv_deplibs_check_method=pass_all
6041  ;;
6042
6043solaris*)
6044  lt_cv_deplibs_check_method=pass_all
6045  ;;
6046
6047sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6048  lt_cv_deplibs_check_method=pass_all
6049  ;;
6050
6051sysv4 | sysv4.3*)
6052  case $host_vendor in
6053  motorola)
6054    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]'
6055    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6056    ;;
6057  ncr)
6058    lt_cv_deplibs_check_method=pass_all
6059    ;;
6060  sequent)
6061    lt_cv_file_magic_cmd='/bin/file'
6062    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6063    ;;
6064  sni)
6065    lt_cv_file_magic_cmd='/bin/file'
6066    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6067    lt_cv_file_magic_test_file=/lib/libc.so
6068    ;;
6069  siemens)
6070    lt_cv_deplibs_check_method=pass_all
6071    ;;
6072  pc)
6073    lt_cv_deplibs_check_method=pass_all
6074    ;;
6075  esac
6076  ;;
6077
6078tpf*)
6079  lt_cv_deplibs_check_method=pass_all
6080  ;;
6081os2*)
6082  lt_cv_deplibs_check_method=pass_all
6083  ;;
6084esac
6085
6086fi
6087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6088$as_echo "$lt_cv_deplibs_check_method" >&6; }
6089
6090file_magic_glob=
6091want_nocaseglob=no
6092if test "$build" = "$host"; then
6093  case $host_os in
6094  mingw* | pw32*)
6095    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6096      want_nocaseglob=yes
6097    else
6098      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6099    fi
6100    ;;
6101  esac
6102fi
6103
6104file_magic_cmd=$lt_cv_file_magic_cmd
6105deplibs_check_method=$lt_cv_deplibs_check_method
6106test -z "$deplibs_check_method" && deplibs_check_method=unknown
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129if test -n "$ac_tool_prefix"; then
6130  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6131set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6133$as_echo_n "checking for $ac_word... " >&6; }
6134if ${ac_cv_prog_DLLTOOL+:} false; then :
6135  $as_echo_n "(cached) " >&6
6136else
6137  if test -n "$DLLTOOL"; then
6138  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6139else
6140as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141for as_dir in $PATH
6142do
6143  IFS=$as_save_IFS
6144  test -z "$as_dir" && as_dir=.
6145    for ac_exec_ext in '' $ac_executable_extensions; do
6146  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6147    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6148    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6149    break 2
6150  fi
6151done
6152  done
6153IFS=$as_save_IFS
6154
6155fi
6156fi
6157DLLTOOL=$ac_cv_prog_DLLTOOL
6158if test -n "$DLLTOOL"; then
6159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6160$as_echo "$DLLTOOL" >&6; }
6161else
6162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6163$as_echo "no" >&6; }
6164fi
6165
6166
6167fi
6168if test -z "$ac_cv_prog_DLLTOOL"; then
6169  ac_ct_DLLTOOL=$DLLTOOL
6170  # Extract the first word of "dlltool", so it can be a program name with args.
6171set dummy dlltool; ac_word=$2
6172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6173$as_echo_n "checking for $ac_word... " >&6; }
6174if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6175  $as_echo_n "(cached) " >&6
6176else
6177  if test -n "$ac_ct_DLLTOOL"; then
6178  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6179else
6180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6181for as_dir in $PATH
6182do
6183  IFS=$as_save_IFS
6184  test -z "$as_dir" && as_dir=.
6185    for ac_exec_ext in '' $ac_executable_extensions; do
6186  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6187    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6188    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6189    break 2
6190  fi
6191done
6192  done
6193IFS=$as_save_IFS
6194
6195fi
6196fi
6197ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6198if test -n "$ac_ct_DLLTOOL"; then
6199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6200$as_echo "$ac_ct_DLLTOOL" >&6; }
6201else
6202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6203$as_echo "no" >&6; }
6204fi
6205
6206  if test "x$ac_ct_DLLTOOL" = x; then
6207    DLLTOOL="false"
6208  else
6209    case $cross_compiling:$ac_tool_warned in
6210yes:)
6211{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6212$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6213ac_tool_warned=yes ;;
6214esac
6215    DLLTOOL=$ac_ct_DLLTOOL
6216  fi
6217else
6218  DLLTOOL="$ac_cv_prog_DLLTOOL"
6219fi
6220
6221test -z "$DLLTOOL" && DLLTOOL=dlltool
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6233$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6234if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6235  $as_echo_n "(cached) " >&6
6236else
6237  lt_cv_sharedlib_from_linklib_cmd='unknown'
6238
6239case $host_os in
6240cygwin* | mingw* | pw32* | cegcc*)
6241  # two different shell functions defined in ltmain.sh;
6242  # decide which one to use based on capabilities of $DLLTOOL
6243  case `$DLLTOOL --help 2>&1` in
6244  *--identify-strict*)
6245    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6246    ;;
6247  *)
6248    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6249    ;;
6250  esac
6251  ;;
6252*)
6253  # fallback: assume linklib IS sharedlib
6254  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6255  ;;
6256esac
6257
6258fi
6259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6260$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6261sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6262test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6263
6264
6265
6266
6267
6268
6269
6270
6271if test -n "$ac_tool_prefix"; then
6272  for ac_prog in ar
6273  do
6274    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6275set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6277$as_echo_n "checking for $ac_word... " >&6; }
6278if ${ac_cv_prog_AR+:} false; then :
6279  $as_echo_n "(cached) " >&6
6280else
6281  if test -n "$AR"; then
6282  ac_cv_prog_AR="$AR" # Let the user override the test.
6283else
6284as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6285for as_dir in $PATH
6286do
6287  IFS=$as_save_IFS
6288  test -z "$as_dir" && as_dir=.
6289    for ac_exec_ext in '' $ac_executable_extensions; do
6290  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6291    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6292    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6293    break 2
6294  fi
6295done
6296  done
6297IFS=$as_save_IFS
6298
6299fi
6300fi
6301AR=$ac_cv_prog_AR
6302if test -n "$AR"; then
6303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6304$as_echo "$AR" >&6; }
6305else
6306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6307$as_echo "no" >&6; }
6308fi
6309
6310
6311    test -n "$AR" && break
6312  done
6313fi
6314if test -z "$AR"; then
6315  ac_ct_AR=$AR
6316  for ac_prog in ar
6317do
6318  # Extract the first word of "$ac_prog", so it can be a program name with args.
6319set dummy $ac_prog; ac_word=$2
6320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6321$as_echo_n "checking for $ac_word... " >&6; }
6322if ${ac_cv_prog_ac_ct_AR+:} false; then :
6323  $as_echo_n "(cached) " >&6
6324else
6325  if test -n "$ac_ct_AR"; then
6326  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6327else
6328as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6329for as_dir in $PATH
6330do
6331  IFS=$as_save_IFS
6332  test -z "$as_dir" && as_dir=.
6333    for ac_exec_ext in '' $ac_executable_extensions; do
6334  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6335    ac_cv_prog_ac_ct_AR="$ac_prog"
6336    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6337    break 2
6338  fi
6339done
6340  done
6341IFS=$as_save_IFS
6342
6343fi
6344fi
6345ac_ct_AR=$ac_cv_prog_ac_ct_AR
6346if test -n "$ac_ct_AR"; then
6347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6348$as_echo "$ac_ct_AR" >&6; }
6349else
6350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6351$as_echo "no" >&6; }
6352fi
6353
6354
6355  test -n "$ac_ct_AR" && break
6356done
6357
6358  if test "x$ac_ct_AR" = x; then
6359    AR="false"
6360  else
6361    case $cross_compiling:$ac_tool_warned in
6362yes:)
6363{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6364$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6365ac_tool_warned=yes ;;
6366esac
6367    AR=$ac_ct_AR
6368  fi
6369fi
6370
6371: ${AR=ar}
6372
6373
6374
6375
6376
6377
6378# Use ARFLAGS variable as AR's operation code to sync the variable naming with
6379# Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
6380# higher priority because thats what people were doing historically (setting
6381# ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
6382# variable obsoleted/removed.
6383
6384test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
6385lt_ar_flags=$AR_FLAGS
6386
6387
6388
6389
6390
6391
6392# Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
6393# by AR_FLAGS because that was never working and AR_FLAGS is about to die.
6394
6395
6396
6397
6398
6399
6400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6401$as_echo_n "checking for archiver @FILE support... " >&6; }
6402if ${lt_cv_ar_at_file+:} false; then :
6403  $as_echo_n "(cached) " >&6
6404else
6405  lt_cv_ar_at_file=no
6406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6407/* end confdefs.h.  */
6408
6409int
6410main ()
6411{
6412
6413  ;
6414  return 0;
6415}
6416_ACEOF
6417if ac_fn_c_try_compile "$LINENO"; then :
6418  echo conftest.$ac_objext > conftest.lst
6419      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6420      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6421  (eval $lt_ar_try) 2>&5
6422  ac_status=$?
6423  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6424  test $ac_status = 0; }
6425      if test 0 -eq "$ac_status"; then
6426	# Ensure the archiver fails upon bogus file names.
6427	rm -f conftest.$ac_objext libconftest.a
6428	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6429  (eval $lt_ar_try) 2>&5
6430  ac_status=$?
6431  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6432  test $ac_status = 0; }
6433	if test 0 -ne "$ac_status"; then
6434          lt_cv_ar_at_file=@
6435        fi
6436      fi
6437      rm -f conftest.* libconftest.a
6438
6439fi
6440rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6441
6442fi
6443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6444$as_echo "$lt_cv_ar_at_file" >&6; }
6445
6446if test no = "$lt_cv_ar_at_file"; then
6447  archiver_list_spec=
6448else
6449  archiver_list_spec=$lt_cv_ar_at_file
6450fi
6451
6452
6453
6454
6455
6456
6457
6458if test -n "$ac_tool_prefix"; then
6459  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6460set dummy ${ac_tool_prefix}strip; ac_word=$2
6461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6462$as_echo_n "checking for $ac_word... " >&6; }
6463if ${ac_cv_prog_STRIP+:} false; then :
6464  $as_echo_n "(cached) " >&6
6465else
6466  if test -n "$STRIP"; then
6467  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6468else
6469as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470for as_dir in $PATH
6471do
6472  IFS=$as_save_IFS
6473  test -z "$as_dir" && as_dir=.
6474    for ac_exec_ext in '' $ac_executable_extensions; do
6475  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6476    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6477    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6478    break 2
6479  fi
6480done
6481  done
6482IFS=$as_save_IFS
6483
6484fi
6485fi
6486STRIP=$ac_cv_prog_STRIP
6487if test -n "$STRIP"; then
6488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6489$as_echo "$STRIP" >&6; }
6490else
6491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492$as_echo "no" >&6; }
6493fi
6494
6495
6496fi
6497if test -z "$ac_cv_prog_STRIP"; then
6498  ac_ct_STRIP=$STRIP
6499  # Extract the first word of "strip", so it can be a program name with args.
6500set dummy strip; ac_word=$2
6501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6502$as_echo_n "checking for $ac_word... " >&6; }
6503if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6504  $as_echo_n "(cached) " >&6
6505else
6506  if test -n "$ac_ct_STRIP"; then
6507  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6508else
6509as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6510for as_dir in $PATH
6511do
6512  IFS=$as_save_IFS
6513  test -z "$as_dir" && as_dir=.
6514    for ac_exec_ext in '' $ac_executable_extensions; do
6515  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6516    ac_cv_prog_ac_ct_STRIP="strip"
6517    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6518    break 2
6519  fi
6520done
6521  done
6522IFS=$as_save_IFS
6523
6524fi
6525fi
6526ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6527if test -n "$ac_ct_STRIP"; then
6528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6529$as_echo "$ac_ct_STRIP" >&6; }
6530else
6531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532$as_echo "no" >&6; }
6533fi
6534
6535  if test "x$ac_ct_STRIP" = x; then
6536    STRIP=":"
6537  else
6538    case $cross_compiling:$ac_tool_warned in
6539yes:)
6540{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6541$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6542ac_tool_warned=yes ;;
6543esac
6544    STRIP=$ac_ct_STRIP
6545  fi
6546else
6547  STRIP="$ac_cv_prog_STRIP"
6548fi
6549
6550test -z "$STRIP" && STRIP=:
6551
6552
6553
6554
6555
6556
6557if test -n "$ac_tool_prefix"; then
6558  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6559set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6561$as_echo_n "checking for $ac_word... " >&6; }
6562if ${ac_cv_prog_RANLIB+:} false; then :
6563  $as_echo_n "(cached) " >&6
6564else
6565  if test -n "$RANLIB"; then
6566  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6567else
6568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6569for as_dir in $PATH
6570do
6571  IFS=$as_save_IFS
6572  test -z "$as_dir" && as_dir=.
6573    for ac_exec_ext in '' $ac_executable_extensions; do
6574  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6575    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6576    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6577    break 2
6578  fi
6579done
6580  done
6581IFS=$as_save_IFS
6582
6583fi
6584fi
6585RANLIB=$ac_cv_prog_RANLIB
6586if test -n "$RANLIB"; then
6587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6588$as_echo "$RANLIB" >&6; }
6589else
6590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6591$as_echo "no" >&6; }
6592fi
6593
6594
6595fi
6596if test -z "$ac_cv_prog_RANLIB"; then
6597  ac_ct_RANLIB=$RANLIB
6598  # Extract the first word of "ranlib", so it can be a program name with args.
6599set dummy ranlib; ac_word=$2
6600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6601$as_echo_n "checking for $ac_word... " >&6; }
6602if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6603  $as_echo_n "(cached) " >&6
6604else
6605  if test -n "$ac_ct_RANLIB"; then
6606  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6607else
6608as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6609for as_dir in $PATH
6610do
6611  IFS=$as_save_IFS
6612  test -z "$as_dir" && as_dir=.
6613    for ac_exec_ext in '' $ac_executable_extensions; do
6614  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6615    ac_cv_prog_ac_ct_RANLIB="ranlib"
6616    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6617    break 2
6618  fi
6619done
6620  done
6621IFS=$as_save_IFS
6622
6623fi
6624fi
6625ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6626if test -n "$ac_ct_RANLIB"; then
6627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6628$as_echo "$ac_ct_RANLIB" >&6; }
6629else
6630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6631$as_echo "no" >&6; }
6632fi
6633
6634  if test "x$ac_ct_RANLIB" = x; then
6635    RANLIB=":"
6636  else
6637    case $cross_compiling:$ac_tool_warned in
6638yes:)
6639{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6640$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6641ac_tool_warned=yes ;;
6642esac
6643    RANLIB=$ac_ct_RANLIB
6644  fi
6645else
6646  RANLIB="$ac_cv_prog_RANLIB"
6647fi
6648
6649test -z "$RANLIB" && RANLIB=:
6650
6651
6652
6653
6654
6655
6656# Determine commands to create old-style static archives.
6657old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6658old_postinstall_cmds='chmod 644 $oldlib'
6659old_postuninstall_cmds=
6660
6661if test -n "$RANLIB"; then
6662  case $host_os in
6663  bitrig* | openbsd*)
6664    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6665    ;;
6666  *)
6667    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6668    ;;
6669  esac
6670  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6671fi
6672
6673case $host_os in
6674  darwin*)
6675    lock_old_archive_extraction=yes ;;
6676  *)
6677    lock_old_archive_extraction=no ;;
6678esac
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718# If no C compiler was specified, use CC.
6719LTCC=${LTCC-"$CC"}
6720
6721# If no C compiler flags were specified, use CFLAGS.
6722LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6723
6724# Allow CC to be a program name with arguments.
6725compiler=$CC
6726
6727
6728# Check for command to grab the raw symbol name followed by C symbol from nm.
6729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6730$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6731if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6732  $as_echo_n "(cached) " >&6
6733else
6734
6735# These are sane defaults that work on at least a few old systems.
6736# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6737
6738# Character class describing NM global symbol codes.
6739symcode='[BCDEGRST]'
6740
6741# Regexp to match symbols that can be accessed directly from C.
6742sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6743
6744# Define system-specific variables.
6745case $host_os in
6746aix*)
6747  symcode='[BCDT]'
6748  ;;
6749cygwin* | mingw* | pw32* | cegcc*)
6750  symcode='[ABCDGISTW]'
6751  ;;
6752hpux*)
6753  if test ia64 = "$host_cpu"; then
6754    symcode='[ABCDEGRST]'
6755  fi
6756  ;;
6757irix* | nonstopux*)
6758  symcode='[BCDEGRST]'
6759  ;;
6760osf*)
6761  symcode='[BCDEGQRST]'
6762  ;;
6763solaris*)
6764  symcode='[BDRT]'
6765  ;;
6766sco3.2v5*)
6767  symcode='[DT]'
6768  ;;
6769sysv4.2uw2*)
6770  symcode='[DT]'
6771  ;;
6772sysv5* | sco5v6* | unixware* | OpenUNIX*)
6773  symcode='[ABDT]'
6774  ;;
6775sysv4)
6776  symcode='[DFNSTU]'
6777  ;;
6778esac
6779
6780# If we're using GNU nm, then use its standard symbol codes.
6781case `$NM -V 2>&1` in
6782*GNU* | *'with BFD'*)
6783  symcode='[ABCDGIRSTW]' ;;
6784esac
6785
6786if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6787  # Gets list of data symbols to import.
6788  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6789  # Adjust the below global symbol transforms to fixup imported variables.
6790  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6791  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6792  lt_c_name_lib_hook="\
6793  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6794  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6795else
6796  # Disable hooks by default.
6797  lt_cv_sys_global_symbol_to_import=
6798  lt_cdecl_hook=
6799  lt_c_name_hook=
6800  lt_c_name_lib_hook=
6801fi
6802
6803# Transform an extracted symbol line into a proper C declaration.
6804# Some systems (esp. on ia64) link data and code symbols differently,
6805# so use this general approach.
6806lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6807$lt_cdecl_hook\
6808" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6809" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6810
6811# Transform an extracted symbol line into symbol name and symbol address
6812lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6813$lt_c_name_hook\
6814" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6815" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6816
6817# Transform an extracted symbol line into symbol name with lib prefix and
6818# symbol address.
6819lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6820$lt_c_name_lib_hook\
6821" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6822" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6823" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6824
6825# Handle CRLF in mingw tool chain
6826opt_cr=
6827case $build_os in
6828mingw*)
6829  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6830  ;;
6831esac
6832
6833# Try without a prefix underscore, then with it.
6834for ac_symprfx in "" "_"; do
6835
6836  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6837  symxfrm="\\1 $ac_symprfx\\2 \\2"
6838
6839  # Write the raw and C identifiers.
6840  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6841    # Fake it for dumpbin and say T for any non-static function,
6842    # D for any global variable and I for any imported variable.
6843    # Also find C++ and __fastcall symbols from MSVC++ or ICC,
6844    # which start with @ or ?.
6845    lt_cv_sys_global_symbol_pipe="$AWK '"\
6846"     {last_section=section; section=\$ 3};"\
6847"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6848"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6849"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6850"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6851"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6852"     \$ 0!~/External *\|/{next};"\
6853"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6854"     {if(hide[section]) next};"\
6855"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6856"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6857"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6858"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6859"     ' prfx=^$ac_symprfx"
6860  else
6861    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6862  fi
6863  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6864
6865  # Check to see that the pipe works correctly.
6866  pipe_works=no
6867
6868  rm -f conftest*
6869  cat > conftest.$ac_ext <<_LT_EOF
6870#ifdef __cplusplus
6871extern "C" {
6872#endif
6873char nm_test_var;
6874void nm_test_func(void);
6875void nm_test_func(void){}
6876#ifdef __cplusplus
6877}
6878#endif
6879int main(){nm_test_var='a';nm_test_func();return(0);}
6880_LT_EOF
6881
6882  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6883  (eval $ac_compile) 2>&5
6884  ac_status=$?
6885  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6886  test $ac_status = 0; }; then
6887    # Now try to grab the symbols.
6888    nlist=conftest.nm
6889    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6890  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6891  ac_status=$?
6892  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6893  test $ac_status = 0; } && test -s "$nlist"; then
6894      # Try sorting and uniquifying the output.
6895      if sort "$nlist" | uniq > "$nlist"T; then
6896	mv -f "$nlist"T "$nlist"
6897      else
6898	rm -f "$nlist"T
6899      fi
6900
6901      # Make sure that we snagged all the symbols we need.
6902      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6903	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6904	  cat <<_LT_EOF > conftest.$ac_ext
6905/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6906#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6907/* DATA imports from DLLs on WIN32 can't be const, because runtime
6908   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6909# define LT_DLSYM_CONST
6910#elif defined __osf__
6911/* This system does not cope well with relocations in const data.  */
6912# define LT_DLSYM_CONST
6913#else
6914# define LT_DLSYM_CONST const
6915#endif
6916
6917#ifdef __cplusplus
6918extern "C" {
6919#endif
6920
6921_LT_EOF
6922	  # Now generate the symbol file.
6923	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6924
6925	  cat <<_LT_EOF >> conftest.$ac_ext
6926
6927/* The mapping between symbol names and symbols.  */
6928LT_DLSYM_CONST struct {
6929  const char *name;
6930  void       *address;
6931}
6932lt__PROGRAM__LTX_preloaded_symbols[] =
6933{
6934  { "@PROGRAM@", (void *) 0 },
6935_LT_EOF
6936	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6937	  cat <<\_LT_EOF >> conftest.$ac_ext
6938  {0, (void *) 0}
6939};
6940
6941/* This works around a problem in FreeBSD linker */
6942#ifdef FREEBSD_WORKAROUND
6943static const void *lt_preloaded_setup() {
6944  return lt__PROGRAM__LTX_preloaded_symbols;
6945}
6946#endif
6947
6948#ifdef __cplusplus
6949}
6950#endif
6951_LT_EOF
6952	  # Now try linking the two files.
6953	  mv conftest.$ac_objext conftstm.$ac_objext
6954	  lt_globsym_save_LIBS=$LIBS
6955	  lt_globsym_save_CFLAGS=$CFLAGS
6956	  LIBS=conftstm.$ac_objext
6957	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6958	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6959  (eval $ac_link) 2>&5
6960  ac_status=$?
6961  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6962  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6963	    pipe_works=yes
6964	  fi
6965	  LIBS=$lt_globsym_save_LIBS
6966	  CFLAGS=$lt_globsym_save_CFLAGS
6967	else
6968	  echo "cannot find nm_test_func in $nlist" >&5
6969	fi
6970      else
6971	echo "cannot find nm_test_var in $nlist" >&5
6972      fi
6973    else
6974      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6975    fi
6976  else
6977    echo "$progname: failed program was:" >&5
6978    cat conftest.$ac_ext >&5
6979  fi
6980  rm -rf conftest* conftst*
6981
6982  # Do not use the global_symbol_pipe unless it works.
6983  if test yes = "$pipe_works"; then
6984    break
6985  else
6986    lt_cv_sys_global_symbol_pipe=
6987  fi
6988done
6989
6990fi
6991
6992if test -z "$lt_cv_sys_global_symbol_pipe"; then
6993  lt_cv_sys_global_symbol_to_cdecl=
6994fi
6995if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6997$as_echo "failed" >&6; }
6998else
6999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7000$as_echo "ok" >&6; }
7001fi
7002
7003# Response file support.
7004if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7005  nm_file_list_spec='@'
7006elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7007  nm_file_list_spec='@'
7008fi
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7047$as_echo_n "checking for sysroot... " >&6; }
7048
7049# Check whether --with-sysroot was given.
7050if test "${with_sysroot+set}" = set; then :
7051  withval=$with_sysroot;
7052else
7053  with_sysroot=no
7054fi
7055
7056
7057lt_sysroot=
7058case $with_sysroot in #(
7059 yes)
7060   if test yes = "$GCC"; then
7061     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7062   fi
7063   ;; #(
7064 /*)
7065   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7066   ;; #(
7067 no|'')
7068   ;; #(
7069 *)
7070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7071$as_echo "$with_sysroot" >&6; }
7072   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7073   ;;
7074esac
7075
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7077$as_echo "${lt_sysroot:-no}" >&6; }
7078
7079
7080
7081
7082
7083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7084$as_echo_n "checking for a working dd... " >&6; }
7085if ${ac_cv_path_lt_DD+:} false; then :
7086  $as_echo_n "(cached) " >&6
7087else
7088  printf 0123456789abcdef0123456789abcdef >conftest.i
7089cat conftest.i conftest.i >conftest2.i
7090: ${lt_DD:=$DD}
7091if test -z "$lt_DD"; then
7092  ac_path_lt_DD_found=false
7093  # Loop through the user's path and test for each of PROGNAME-LIST
7094  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7095for as_dir in $PATH
7096do
7097  IFS=$as_save_IFS
7098  test -z "$as_dir" && as_dir=.
7099    for ac_prog in dd; do
7100    for ac_exec_ext in '' $ac_executable_extensions; do
7101      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7102      as_fn_executable_p "$ac_path_lt_DD" || continue
7103if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7104  cmp -s conftest.i conftest.out \
7105  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7106fi
7107      $ac_path_lt_DD_found && break 3
7108    done
7109  done
7110  done
7111IFS=$as_save_IFS
7112  if test -z "$ac_cv_path_lt_DD"; then
7113    :
7114  fi
7115else
7116  ac_cv_path_lt_DD=$lt_DD
7117fi
7118
7119rm -f conftest.i conftest2.i conftest.out
7120fi
7121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7122$as_echo "$ac_cv_path_lt_DD" >&6; }
7123
7124
7125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7126$as_echo_n "checking how to truncate binary pipes... " >&6; }
7127if ${lt_cv_truncate_bin+:} false; then :
7128  $as_echo_n "(cached) " >&6
7129else
7130  printf 0123456789abcdef0123456789abcdef >conftest.i
7131cat conftest.i conftest.i >conftest2.i
7132lt_cv_truncate_bin=
7133if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7134  cmp -s conftest.i conftest.out \
7135  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7136fi
7137rm -f conftest.i conftest2.i conftest.out
7138test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7139fi
7140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7141$as_echo "$lt_cv_truncate_bin" >&6; }
7142
7143
7144
7145
7146
7147
7148
7149# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7150func_cc_basename ()
7151{
7152    for cc_temp in $*""; do
7153      case $cc_temp in
7154        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7155        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7156        \-*) ;;
7157        *) break;;
7158      esac
7159    done
7160    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7161}
7162
7163# Check whether --enable-libtool-lock was given.
7164if test "${enable_libtool_lock+set}" = set; then :
7165  enableval=$enable_libtool_lock;
7166fi
7167
7168test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7169
7170# Some flags need to be propagated to the compiler or linker for good
7171# libtool support.
7172case $host in
7173ia64-*-hpux*)
7174  # Find out what ABI is being produced by ac_compile, and set mode
7175  # options accordingly.
7176  echo 'int i;' > conftest.$ac_ext
7177  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7178  (eval $ac_compile) 2>&5
7179  ac_status=$?
7180  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7181  test $ac_status = 0; }; then
7182    case `/usr/bin/file conftest.$ac_objext` in
7183      *ELF-32*)
7184	HPUX_IA64_MODE=32
7185	;;
7186      *ELF-64*)
7187	HPUX_IA64_MODE=64
7188	;;
7189    esac
7190  fi
7191  rm -rf conftest*
7192  ;;
7193*-*-irix6*)
7194  # Find out what ABI is being produced by ac_compile, and set linker
7195  # options accordingly.
7196  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7197  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7198  (eval $ac_compile) 2>&5
7199  ac_status=$?
7200  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7201  test $ac_status = 0; }; then
7202    if test yes = "$lt_cv_prog_gnu_ld"; then
7203      case `/usr/bin/file conftest.$ac_objext` in
7204	*32-bit*)
7205	  LD="${LD-ld} -melf32bsmip"
7206	  ;;
7207	*N32*)
7208	  LD="${LD-ld} -melf32bmipn32"
7209	  ;;
7210	*64-bit*)
7211	  LD="${LD-ld} -melf64bmip"
7212	;;
7213      esac
7214    else
7215      case `/usr/bin/file conftest.$ac_objext` in
7216	*32-bit*)
7217	  LD="${LD-ld} -32"
7218	  ;;
7219	*N32*)
7220	  LD="${LD-ld} -n32"
7221	  ;;
7222	*64-bit*)
7223	  LD="${LD-ld} -64"
7224	  ;;
7225      esac
7226    fi
7227  fi
7228  rm -rf conftest*
7229  ;;
7230
7231mips64*-*linux*)
7232  # Find out what ABI is being produced by ac_compile, and set linker
7233  # options accordingly.
7234  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7235  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7236  (eval $ac_compile) 2>&5
7237  ac_status=$?
7238  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7239  test $ac_status = 0; }; then
7240    emul=elf
7241    case `/usr/bin/file conftest.$ac_objext` in
7242      *32-bit*)
7243	emul="${emul}32"
7244	;;
7245      *64-bit*)
7246	emul="${emul}64"
7247	;;
7248    esac
7249    case `/usr/bin/file conftest.$ac_objext` in
7250      *MSB*)
7251	emul="${emul}btsmip"
7252	;;
7253      *LSB*)
7254	emul="${emul}ltsmip"
7255	;;
7256    esac
7257    case `/usr/bin/file conftest.$ac_objext` in
7258      *N32*)
7259	emul="${emul}n32"
7260	;;
7261    esac
7262    LD="${LD-ld} -m $emul"
7263  fi
7264  rm -rf conftest*
7265  ;;
7266
7267x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7268s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7269  # Find out what ABI is being produced by ac_compile, and set linker
7270  # options accordingly.  Note that the listed cases only cover the
7271  # situations where additional linker options are needed (such as when
7272  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7273  # vice versa); the common cases where no linker options are needed do
7274  # not appear in the list.
7275  echo 'int i;' > conftest.$ac_ext
7276  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7277  (eval $ac_compile) 2>&5
7278  ac_status=$?
7279  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7280  test $ac_status = 0; }; then
7281    case `/usr/bin/file conftest.o` in
7282      *32-bit*)
7283	case $host in
7284	  x86_64-*kfreebsd*-gnu)
7285	    LD="${LD-ld} -m elf_i386_fbsd"
7286	    ;;
7287	  x86_64-*linux*)
7288	    case `/usr/bin/file conftest.o` in
7289	      *x86-64*)
7290		LD="${LD-ld} -m elf32_x86_64"
7291		;;
7292	      *)
7293		LD="${LD-ld} -m elf_i386"
7294		;;
7295	    esac
7296	    ;;
7297	  powerpc64le-*linux*)
7298	    LD="${LD-ld} -m elf32lppclinux"
7299	    ;;
7300	  powerpc64-*linux*)
7301	    LD="${LD-ld} -m elf32ppclinux"
7302	    ;;
7303	  s390x-*linux*)
7304	    LD="${LD-ld} -m elf_s390"
7305	    ;;
7306	  sparc64-*linux*)
7307	    LD="${LD-ld} -m elf32_sparc"
7308	    ;;
7309	esac
7310	;;
7311      *64-bit*)
7312	case $host in
7313	  x86_64-*kfreebsd*-gnu)
7314	    LD="${LD-ld} -m elf_x86_64_fbsd"
7315	    ;;
7316	  x86_64-*linux*)
7317	    LD="${LD-ld} -m elf_x86_64"
7318	    ;;
7319	  powerpcle-*linux*)
7320	    LD="${LD-ld} -m elf64lppc"
7321	    ;;
7322	  powerpc-*linux*)
7323	    LD="${LD-ld} -m elf64ppc"
7324	    ;;
7325	  s390*-*linux*|s390*-*tpf*)
7326	    LD="${LD-ld} -m elf64_s390"
7327	    ;;
7328	  sparc*-*linux*)
7329	    LD="${LD-ld} -m elf64_sparc"
7330	    ;;
7331	esac
7332	;;
7333    esac
7334  fi
7335  rm -rf conftest*
7336  ;;
7337
7338*-*-sco3.2v5*)
7339  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7340  SAVE_CFLAGS=$CFLAGS
7341  CFLAGS="$CFLAGS -belf"
7342  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7343$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7344if ${lt_cv_cc_needs_belf+:} false; then :
7345  $as_echo_n "(cached) " >&6
7346else
7347  ac_ext=c
7348ac_cpp='$CPP $CPPFLAGS'
7349ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7350ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7351ac_compiler_gnu=$ac_cv_c_compiler_gnu
7352
7353     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7354/* end confdefs.h.  */
7355
7356int
7357main ()
7358{
7359
7360  ;
7361  return 0;
7362}
7363_ACEOF
7364if ac_fn_c_try_link "$LINENO"; then :
7365  lt_cv_cc_needs_belf=yes
7366else
7367  lt_cv_cc_needs_belf=no
7368fi
7369rm -f core conftest.err conftest.$ac_objext \
7370    conftest$ac_exeext conftest.$ac_ext
7371     ac_ext=c
7372ac_cpp='$CPP $CPPFLAGS'
7373ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7374ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7375ac_compiler_gnu=$ac_cv_c_compiler_gnu
7376
7377fi
7378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7379$as_echo "$lt_cv_cc_needs_belf" >&6; }
7380  if test yes != "$lt_cv_cc_needs_belf"; then
7381    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7382    CFLAGS=$SAVE_CFLAGS
7383  fi
7384  ;;
7385*-*solaris*)
7386  # Find out what ABI is being produced by ac_compile, and set linker
7387  # options accordingly.
7388  echo 'int i;' > conftest.$ac_ext
7389  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7390  (eval $ac_compile) 2>&5
7391  ac_status=$?
7392  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7393  test $ac_status = 0; }; then
7394    case `/usr/bin/file conftest.o` in
7395    *64-bit*)
7396      case $lt_cv_prog_gnu_ld in
7397      yes*)
7398        case $host in
7399        i?86-*-solaris*|x86_64-*-solaris*)
7400          LD="${LD-ld} -m elf_x86_64"
7401          ;;
7402        sparc*-*-solaris*)
7403          LD="${LD-ld} -m elf64_sparc"
7404          ;;
7405        esac
7406        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7407        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7408          LD=${LD-ld}_sol2
7409        fi
7410        ;;
7411      *)
7412	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7413	  LD="${LD-ld} -64"
7414	fi
7415	;;
7416      esac
7417      ;;
7418    esac
7419  fi
7420  rm -rf conftest*
7421  ;;
7422esac
7423
7424need_locks=$enable_libtool_lock
7425
7426if test -n "$ac_tool_prefix"; then
7427  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7428set dummy ${ac_tool_prefix}mt; ac_word=$2
7429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7430$as_echo_n "checking for $ac_word... " >&6; }
7431if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7432  $as_echo_n "(cached) " >&6
7433else
7434  if test -n "$MANIFEST_TOOL"; then
7435  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7436else
7437as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438for as_dir in $PATH
7439do
7440  IFS=$as_save_IFS
7441  test -z "$as_dir" && as_dir=.
7442    for ac_exec_ext in '' $ac_executable_extensions; do
7443  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7444    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7445    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7446    break 2
7447  fi
7448done
7449  done
7450IFS=$as_save_IFS
7451
7452fi
7453fi
7454MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7455if test -n "$MANIFEST_TOOL"; then
7456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7457$as_echo "$MANIFEST_TOOL" >&6; }
7458else
7459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460$as_echo "no" >&6; }
7461fi
7462
7463
7464fi
7465if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7466  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7467  # Extract the first word of "mt", so it can be a program name with args.
7468set dummy mt; ac_word=$2
7469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7470$as_echo_n "checking for $ac_word... " >&6; }
7471if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7472  $as_echo_n "(cached) " >&6
7473else
7474  if test -n "$ac_ct_MANIFEST_TOOL"; then
7475  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7476else
7477as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7478for as_dir in $PATH
7479do
7480  IFS=$as_save_IFS
7481  test -z "$as_dir" && as_dir=.
7482    for ac_exec_ext in '' $ac_executable_extensions; do
7483  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7484    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7485    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7486    break 2
7487  fi
7488done
7489  done
7490IFS=$as_save_IFS
7491
7492fi
7493fi
7494ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7495if test -n "$ac_ct_MANIFEST_TOOL"; then
7496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7497$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7498else
7499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7500$as_echo "no" >&6; }
7501fi
7502
7503  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7504    MANIFEST_TOOL=":"
7505  else
7506    case $cross_compiling:$ac_tool_warned in
7507yes:)
7508{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7509$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7510ac_tool_warned=yes ;;
7511esac
7512    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7513  fi
7514else
7515  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7516fi
7517
7518test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7520$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7521if ${lt_cv_path_mainfest_tool+:} false; then :
7522  $as_echo_n "(cached) " >&6
7523else
7524  lt_cv_path_mainfest_tool=no
7525  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7526  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7527  cat conftest.err >&5
7528  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7529    lt_cv_path_mainfest_tool=yes
7530  fi
7531  rm -f conftest*
7532fi
7533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7534$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7535if test yes != "$lt_cv_path_mainfest_tool"; then
7536  MANIFEST_TOOL=:
7537fi
7538
7539
7540
7541
7542
7543
7544  case $host_os in
7545    rhapsody* | darwin*)
7546    if test -n "$ac_tool_prefix"; then
7547  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7548set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7550$as_echo_n "checking for $ac_word... " >&6; }
7551if ${ac_cv_prog_DSYMUTIL+:} false; then :
7552  $as_echo_n "(cached) " >&6
7553else
7554  if test -n "$DSYMUTIL"; then
7555  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7556else
7557as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7558for as_dir in $PATH
7559do
7560  IFS=$as_save_IFS
7561  test -z "$as_dir" && as_dir=.
7562    for ac_exec_ext in '' $ac_executable_extensions; do
7563  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7564    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7565    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7566    break 2
7567  fi
7568done
7569  done
7570IFS=$as_save_IFS
7571
7572fi
7573fi
7574DSYMUTIL=$ac_cv_prog_DSYMUTIL
7575if test -n "$DSYMUTIL"; then
7576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7577$as_echo "$DSYMUTIL" >&6; }
7578else
7579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580$as_echo "no" >&6; }
7581fi
7582
7583
7584fi
7585if test -z "$ac_cv_prog_DSYMUTIL"; then
7586  ac_ct_DSYMUTIL=$DSYMUTIL
7587  # Extract the first word of "dsymutil", so it can be a program name with args.
7588set dummy dsymutil; ac_word=$2
7589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7590$as_echo_n "checking for $ac_word... " >&6; }
7591if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7592  $as_echo_n "(cached) " >&6
7593else
7594  if test -n "$ac_ct_DSYMUTIL"; then
7595  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7596else
7597as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7598for as_dir in $PATH
7599do
7600  IFS=$as_save_IFS
7601  test -z "$as_dir" && as_dir=.
7602    for ac_exec_ext in '' $ac_executable_extensions; do
7603  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7604    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7605    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7606    break 2
7607  fi
7608done
7609  done
7610IFS=$as_save_IFS
7611
7612fi
7613fi
7614ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7615if test -n "$ac_ct_DSYMUTIL"; then
7616  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7617$as_echo "$ac_ct_DSYMUTIL" >&6; }
7618else
7619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7620$as_echo "no" >&6; }
7621fi
7622
7623  if test "x$ac_ct_DSYMUTIL" = x; then
7624    DSYMUTIL=":"
7625  else
7626    case $cross_compiling:$ac_tool_warned in
7627yes:)
7628{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7629$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7630ac_tool_warned=yes ;;
7631esac
7632    DSYMUTIL=$ac_ct_DSYMUTIL
7633  fi
7634else
7635  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7636fi
7637
7638    if test -n "$ac_tool_prefix"; then
7639  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7640set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7642$as_echo_n "checking for $ac_word... " >&6; }
7643if ${ac_cv_prog_NMEDIT+:} false; then :
7644  $as_echo_n "(cached) " >&6
7645else
7646  if test -n "$NMEDIT"; then
7647  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7648else
7649as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7650for as_dir in $PATH
7651do
7652  IFS=$as_save_IFS
7653  test -z "$as_dir" && as_dir=.
7654    for ac_exec_ext in '' $ac_executable_extensions; do
7655  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7656    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7657    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7658    break 2
7659  fi
7660done
7661  done
7662IFS=$as_save_IFS
7663
7664fi
7665fi
7666NMEDIT=$ac_cv_prog_NMEDIT
7667if test -n "$NMEDIT"; then
7668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7669$as_echo "$NMEDIT" >&6; }
7670else
7671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7672$as_echo "no" >&6; }
7673fi
7674
7675
7676fi
7677if test -z "$ac_cv_prog_NMEDIT"; then
7678  ac_ct_NMEDIT=$NMEDIT
7679  # Extract the first word of "nmedit", so it can be a program name with args.
7680set dummy nmedit; ac_word=$2
7681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7682$as_echo_n "checking for $ac_word... " >&6; }
7683if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7684  $as_echo_n "(cached) " >&6
7685else
7686  if test -n "$ac_ct_NMEDIT"; then
7687  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7688else
7689as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7690for as_dir in $PATH
7691do
7692  IFS=$as_save_IFS
7693  test -z "$as_dir" && as_dir=.
7694    for ac_exec_ext in '' $ac_executable_extensions; do
7695  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7696    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7697    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7698    break 2
7699  fi
7700done
7701  done
7702IFS=$as_save_IFS
7703
7704fi
7705fi
7706ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7707if test -n "$ac_ct_NMEDIT"; then
7708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7709$as_echo "$ac_ct_NMEDIT" >&6; }
7710else
7711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7712$as_echo "no" >&6; }
7713fi
7714
7715  if test "x$ac_ct_NMEDIT" = x; then
7716    NMEDIT=":"
7717  else
7718    case $cross_compiling:$ac_tool_warned in
7719yes:)
7720{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7721$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7722ac_tool_warned=yes ;;
7723esac
7724    NMEDIT=$ac_ct_NMEDIT
7725  fi
7726else
7727  NMEDIT="$ac_cv_prog_NMEDIT"
7728fi
7729
7730    if test -n "$ac_tool_prefix"; then
7731  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7732set dummy ${ac_tool_prefix}lipo; ac_word=$2
7733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7734$as_echo_n "checking for $ac_word... " >&6; }
7735if ${ac_cv_prog_LIPO+:} false; then :
7736  $as_echo_n "(cached) " >&6
7737else
7738  if test -n "$LIPO"; then
7739  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7740else
7741as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7742for as_dir in $PATH
7743do
7744  IFS=$as_save_IFS
7745  test -z "$as_dir" && as_dir=.
7746    for ac_exec_ext in '' $ac_executable_extensions; do
7747  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7748    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7749    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7750    break 2
7751  fi
7752done
7753  done
7754IFS=$as_save_IFS
7755
7756fi
7757fi
7758LIPO=$ac_cv_prog_LIPO
7759if test -n "$LIPO"; then
7760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7761$as_echo "$LIPO" >&6; }
7762else
7763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7764$as_echo "no" >&6; }
7765fi
7766
7767
7768fi
7769if test -z "$ac_cv_prog_LIPO"; then
7770  ac_ct_LIPO=$LIPO
7771  # Extract the first word of "lipo", so it can be a program name with args.
7772set dummy lipo; ac_word=$2
7773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7774$as_echo_n "checking for $ac_word... " >&6; }
7775if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7776  $as_echo_n "(cached) " >&6
7777else
7778  if test -n "$ac_ct_LIPO"; then
7779  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7780else
7781as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7782for as_dir in $PATH
7783do
7784  IFS=$as_save_IFS
7785  test -z "$as_dir" && as_dir=.
7786    for ac_exec_ext in '' $ac_executable_extensions; do
7787  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7788    ac_cv_prog_ac_ct_LIPO="lipo"
7789    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7790    break 2
7791  fi
7792done
7793  done
7794IFS=$as_save_IFS
7795
7796fi
7797fi
7798ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7799if test -n "$ac_ct_LIPO"; then
7800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7801$as_echo "$ac_ct_LIPO" >&6; }
7802else
7803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7804$as_echo "no" >&6; }
7805fi
7806
7807  if test "x$ac_ct_LIPO" = x; then
7808    LIPO=":"
7809  else
7810    case $cross_compiling:$ac_tool_warned in
7811yes:)
7812{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7813$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7814ac_tool_warned=yes ;;
7815esac
7816    LIPO=$ac_ct_LIPO
7817  fi
7818else
7819  LIPO="$ac_cv_prog_LIPO"
7820fi
7821
7822    if test -n "$ac_tool_prefix"; then
7823  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7824set dummy ${ac_tool_prefix}otool; ac_word=$2
7825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7826$as_echo_n "checking for $ac_word... " >&6; }
7827if ${ac_cv_prog_OTOOL+:} false; then :
7828  $as_echo_n "(cached) " >&6
7829else
7830  if test -n "$OTOOL"; then
7831  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7832else
7833as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7834for as_dir in $PATH
7835do
7836  IFS=$as_save_IFS
7837  test -z "$as_dir" && as_dir=.
7838    for ac_exec_ext in '' $ac_executable_extensions; do
7839  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7840    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7841    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7842    break 2
7843  fi
7844done
7845  done
7846IFS=$as_save_IFS
7847
7848fi
7849fi
7850OTOOL=$ac_cv_prog_OTOOL
7851if test -n "$OTOOL"; then
7852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7853$as_echo "$OTOOL" >&6; }
7854else
7855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7856$as_echo "no" >&6; }
7857fi
7858
7859
7860fi
7861if test -z "$ac_cv_prog_OTOOL"; then
7862  ac_ct_OTOOL=$OTOOL
7863  # Extract the first word of "otool", so it can be a program name with args.
7864set dummy otool; ac_word=$2
7865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7866$as_echo_n "checking for $ac_word... " >&6; }
7867if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7868  $as_echo_n "(cached) " >&6
7869else
7870  if test -n "$ac_ct_OTOOL"; then
7871  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7872else
7873as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7874for as_dir in $PATH
7875do
7876  IFS=$as_save_IFS
7877  test -z "$as_dir" && as_dir=.
7878    for ac_exec_ext in '' $ac_executable_extensions; do
7879  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7880    ac_cv_prog_ac_ct_OTOOL="otool"
7881    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7882    break 2
7883  fi
7884done
7885  done
7886IFS=$as_save_IFS
7887
7888fi
7889fi
7890ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7891if test -n "$ac_ct_OTOOL"; then
7892  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7893$as_echo "$ac_ct_OTOOL" >&6; }
7894else
7895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7896$as_echo "no" >&6; }
7897fi
7898
7899  if test "x$ac_ct_OTOOL" = x; then
7900    OTOOL=":"
7901  else
7902    case $cross_compiling:$ac_tool_warned in
7903yes:)
7904{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7905$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7906ac_tool_warned=yes ;;
7907esac
7908    OTOOL=$ac_ct_OTOOL
7909  fi
7910else
7911  OTOOL="$ac_cv_prog_OTOOL"
7912fi
7913
7914    if test -n "$ac_tool_prefix"; then
7915  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7916set dummy ${ac_tool_prefix}otool64; ac_word=$2
7917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7918$as_echo_n "checking for $ac_word... " >&6; }
7919if ${ac_cv_prog_OTOOL64+:} false; then :
7920  $as_echo_n "(cached) " >&6
7921else
7922  if test -n "$OTOOL64"; then
7923  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7924else
7925as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7926for as_dir in $PATH
7927do
7928  IFS=$as_save_IFS
7929  test -z "$as_dir" && as_dir=.
7930    for ac_exec_ext in '' $ac_executable_extensions; do
7931  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7932    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7933    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7934    break 2
7935  fi
7936done
7937  done
7938IFS=$as_save_IFS
7939
7940fi
7941fi
7942OTOOL64=$ac_cv_prog_OTOOL64
7943if test -n "$OTOOL64"; then
7944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7945$as_echo "$OTOOL64" >&6; }
7946else
7947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7948$as_echo "no" >&6; }
7949fi
7950
7951
7952fi
7953if test -z "$ac_cv_prog_OTOOL64"; then
7954  ac_ct_OTOOL64=$OTOOL64
7955  # Extract the first word of "otool64", so it can be a program name with args.
7956set dummy otool64; ac_word=$2
7957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7958$as_echo_n "checking for $ac_word... " >&6; }
7959if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7960  $as_echo_n "(cached) " >&6
7961else
7962  if test -n "$ac_ct_OTOOL64"; then
7963  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7964else
7965as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7966for as_dir in $PATH
7967do
7968  IFS=$as_save_IFS
7969  test -z "$as_dir" && as_dir=.
7970    for ac_exec_ext in '' $ac_executable_extensions; do
7971  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7972    ac_cv_prog_ac_ct_OTOOL64="otool64"
7973    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7974    break 2
7975  fi
7976done
7977  done
7978IFS=$as_save_IFS
7979
7980fi
7981fi
7982ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7983if test -n "$ac_ct_OTOOL64"; then
7984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7985$as_echo "$ac_ct_OTOOL64" >&6; }
7986else
7987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7988$as_echo "no" >&6; }
7989fi
7990
7991  if test "x$ac_ct_OTOOL64" = x; then
7992    OTOOL64=":"
7993  else
7994    case $cross_compiling:$ac_tool_warned in
7995yes:)
7996{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7997$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7998ac_tool_warned=yes ;;
7999esac
8000    OTOOL64=$ac_ct_OTOOL64
8001  fi
8002else
8003  OTOOL64="$ac_cv_prog_OTOOL64"
8004fi
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8033$as_echo_n "checking for -single_module linker flag... " >&6; }
8034if ${lt_cv_apple_cc_single_mod+:} false; then :
8035  $as_echo_n "(cached) " >&6
8036else
8037  lt_cv_apple_cc_single_mod=no
8038      if test -z "$LT_MULTI_MODULE"; then
8039	# By default we will add the -single_module flag. You can override
8040	# by either setting the environment variable LT_MULTI_MODULE
8041	# non-empty at configure time, or by adding -multi_module to the
8042	# link flags.
8043	rm -rf libconftest.dylib*
8044	echo "int foo(void){return 1;}" > conftest.c
8045	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8046-dynamiclib -Wl,-single_module conftest.c" >&5
8047	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8048	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8049        _lt_result=$?
8050	# If there is a non-empty error log, and "single_module"
8051	# appears in it, assume the flag caused a linker warning
8052        if test -s conftest.err && $GREP single_module conftest.err; then
8053	  cat conftest.err >&5
8054	# Otherwise, if the output was created with a 0 exit code from
8055	# the compiler, it worked.
8056	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8057	  lt_cv_apple_cc_single_mod=yes
8058	else
8059	  cat conftest.err >&5
8060	fi
8061	rm -rf libconftest.dylib*
8062	rm -f conftest.*
8063      fi
8064fi
8065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8066$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8067
8068    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8069$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8070if ${lt_cv_ld_exported_symbols_list+:} false; then :
8071  $as_echo_n "(cached) " >&6
8072else
8073  lt_cv_ld_exported_symbols_list=no
8074      save_LDFLAGS=$LDFLAGS
8075      echo "_main" > conftest.sym
8076      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8077      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8078/* end confdefs.h.  */
8079
8080int
8081main ()
8082{
8083
8084  ;
8085  return 0;
8086}
8087_ACEOF
8088if ac_fn_c_try_link "$LINENO"; then :
8089  lt_cv_ld_exported_symbols_list=yes
8090else
8091  lt_cv_ld_exported_symbols_list=no
8092fi
8093rm -f core conftest.err conftest.$ac_objext \
8094    conftest$ac_exeext conftest.$ac_ext
8095	LDFLAGS=$save_LDFLAGS
8096
8097fi
8098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8099$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8100
8101    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8102$as_echo_n "checking for -force_load linker flag... " >&6; }
8103if ${lt_cv_ld_force_load+:} false; then :
8104  $as_echo_n "(cached) " >&6
8105else
8106  lt_cv_ld_force_load=no
8107      cat > conftest.c << _LT_EOF
8108int forced_loaded() { return 2;}
8109_LT_EOF
8110      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8111      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8112      echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
8113      $AR $AR_FLAGS libconftest.a conftest.o 2>&5
8114      echo "$RANLIB libconftest.a" >&5
8115      $RANLIB libconftest.a 2>&5
8116      cat > conftest.c << _LT_EOF
8117int main() { return 0;}
8118_LT_EOF
8119      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8120      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8121      _lt_result=$?
8122      if test -s conftest.err && $GREP force_load conftest.err; then
8123	cat conftest.err >&5
8124      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8125	lt_cv_ld_force_load=yes
8126      else
8127	cat conftest.err >&5
8128      fi
8129        rm -f conftest.err libconftest.a conftest conftest.c
8130        rm -rf conftest.dSYM
8131
8132fi
8133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8134$as_echo "$lt_cv_ld_force_load" >&6; }
8135    case $host_os in
8136    rhapsody* | darwin1.[012])
8137      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8138    darwin1.*)
8139      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8140    darwin*) # darwin 5.x on
8141      # if running on 10.5 or later, the deployment target defaults
8142      # to the OS version, if on x86, and 10.4, the deployment
8143      # target defaults to 10.4. Don't you love it?
8144      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8145	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8146	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8147	10.[012][,.]*)
8148	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8149	10.*)
8150	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8151      esac
8152    ;;
8153  esac
8154    if test yes = "$lt_cv_apple_cc_single_mod"; then
8155      _lt_dar_single_mod='$single_module'
8156    fi
8157    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8158      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8159    else
8160      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8161    fi
8162    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8163      _lt_dsymutil='~$DSYMUTIL $lib || :'
8164    else
8165      _lt_dsymutil=
8166    fi
8167    ;;
8168  esac
8169
8170# func_munge_path_list VARIABLE PATH
8171# -----------------------------------
8172# VARIABLE is name of variable containing _space_ separated list of
8173# directories to be munged by the contents of PATH, which is string
8174# having a format:
8175# "DIR[:DIR]:"
8176#       string "DIR[ DIR]" will be prepended to VARIABLE
8177# ":DIR[:DIR]"
8178#       string "DIR[ DIR]" will be appended to VARIABLE
8179# "DIRP[:DIRP]::[DIRA:]DIRA"
8180#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8181#       "DIRA[ DIRA]" will be appended to VARIABLE
8182# "DIR[:DIR]"
8183#       VARIABLE will be replaced by "DIR[ DIR]"
8184func_munge_path_list ()
8185{
8186    case x$2 in
8187    x)
8188        ;;
8189    *:)
8190        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8191        ;;
8192    x:*)
8193        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8194        ;;
8195    *::*)
8196        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8197        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8198        ;;
8199    *)
8200        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8201        ;;
8202    esac
8203}
8204
8205ac_ext=c
8206ac_cpp='$CPP $CPPFLAGS'
8207ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8208ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8209ac_compiler_gnu=$ac_cv_c_compiler_gnu
8210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8211$as_echo_n "checking how to run the C preprocessor... " >&6; }
8212# On Suns, sometimes $CPP names a directory.
8213if test -n "$CPP" && test -d "$CPP"; then
8214  CPP=
8215fi
8216if test -z "$CPP"; then
8217  if ${ac_cv_prog_CPP+:} false; then :
8218  $as_echo_n "(cached) " >&6
8219else
8220      # Double quotes because CPP needs to be expanded
8221    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8222    do
8223      ac_preproc_ok=false
8224for ac_c_preproc_warn_flag in '' yes
8225do
8226  # Use a header file that comes with gcc, so configuring glibc
8227  # with a fresh cross-compiler works.
8228  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8229  # <limits.h> exists even on freestanding compilers.
8230  # On the NeXT, cc -E runs the code through the compiler's parser,
8231  # not just through cpp. "Syntax error" is here to catch this case.
8232  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8233/* end confdefs.h.  */
8234#ifdef __STDC__
8235# include <limits.h>
8236#else
8237# include <assert.h>
8238#endif
8239		     Syntax error
8240_ACEOF
8241if ac_fn_c_try_cpp "$LINENO"; then :
8242
8243else
8244  # Broken: fails on valid input.
8245continue
8246fi
8247rm -f conftest.err conftest.i conftest.$ac_ext
8248
8249  # OK, works on sane cases.  Now check whether nonexistent headers
8250  # can be detected and how.
8251  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8252/* end confdefs.h.  */
8253#include <ac_nonexistent.h>
8254_ACEOF
8255if ac_fn_c_try_cpp "$LINENO"; then :
8256  # Broken: success on invalid input.
8257continue
8258else
8259  # Passes both tests.
8260ac_preproc_ok=:
8261break
8262fi
8263rm -f conftest.err conftest.i conftest.$ac_ext
8264
8265done
8266# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8267rm -f conftest.i conftest.err conftest.$ac_ext
8268if $ac_preproc_ok; then :
8269  break
8270fi
8271
8272    done
8273    ac_cv_prog_CPP=$CPP
8274
8275fi
8276  CPP=$ac_cv_prog_CPP
8277else
8278  ac_cv_prog_CPP=$CPP
8279fi
8280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8281$as_echo "$CPP" >&6; }
8282ac_preproc_ok=false
8283for ac_c_preproc_warn_flag in '' yes
8284do
8285  # Use a header file that comes with gcc, so configuring glibc
8286  # with a fresh cross-compiler works.
8287  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8288  # <limits.h> exists even on freestanding compilers.
8289  # On the NeXT, cc -E runs the code through the compiler's parser,
8290  # not just through cpp. "Syntax error" is here to catch this case.
8291  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8292/* end confdefs.h.  */
8293#ifdef __STDC__
8294# include <limits.h>
8295#else
8296# include <assert.h>
8297#endif
8298		     Syntax error
8299_ACEOF
8300if ac_fn_c_try_cpp "$LINENO"; then :
8301
8302else
8303  # Broken: fails on valid input.
8304continue
8305fi
8306rm -f conftest.err conftest.i conftest.$ac_ext
8307
8308  # OK, works on sane cases.  Now check whether nonexistent headers
8309  # can be detected and how.
8310  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8311/* end confdefs.h.  */
8312#include <ac_nonexistent.h>
8313_ACEOF
8314if ac_fn_c_try_cpp "$LINENO"; then :
8315  # Broken: success on invalid input.
8316continue
8317else
8318  # Passes both tests.
8319ac_preproc_ok=:
8320break
8321fi
8322rm -f conftest.err conftest.i conftest.$ac_ext
8323
8324done
8325# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8326rm -f conftest.i conftest.err conftest.$ac_ext
8327if $ac_preproc_ok; then :
8328
8329else
8330  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8331$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8332as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8333See \`config.log' for more details" "$LINENO" 5; }
8334fi
8335
8336ac_ext=c
8337ac_cpp='$CPP $CPPFLAGS'
8338ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8339ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8340ac_compiler_gnu=$ac_cv_c_compiler_gnu
8341
8342
8343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8344$as_echo_n "checking for ANSI C header files... " >&6; }
8345if ${ac_cv_header_stdc+:} false; then :
8346  $as_echo_n "(cached) " >&6
8347else
8348  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8349/* end confdefs.h.  */
8350#include <stdlib.h>
8351#include <stdarg.h>
8352#include <string.h>
8353#include <float.h>
8354
8355int
8356main ()
8357{
8358
8359  ;
8360  return 0;
8361}
8362_ACEOF
8363if ac_fn_c_try_compile "$LINENO"; then :
8364  ac_cv_header_stdc=yes
8365else
8366  ac_cv_header_stdc=no
8367fi
8368rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8369
8370if test $ac_cv_header_stdc = yes; then
8371  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8372  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8373/* end confdefs.h.  */
8374#include <string.h>
8375
8376_ACEOF
8377if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8378  $EGREP "memchr" >/dev/null 2>&1; then :
8379
8380else
8381  ac_cv_header_stdc=no
8382fi
8383rm -f conftest*
8384
8385fi
8386
8387if test $ac_cv_header_stdc = yes; then
8388  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8389  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8390/* end confdefs.h.  */
8391#include <stdlib.h>
8392
8393_ACEOF
8394if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8395  $EGREP "free" >/dev/null 2>&1; then :
8396
8397else
8398  ac_cv_header_stdc=no
8399fi
8400rm -f conftest*
8401
8402fi
8403
8404if test $ac_cv_header_stdc = yes; then
8405  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8406  if test "$cross_compiling" = yes; then :
8407  :
8408else
8409  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8410/* end confdefs.h.  */
8411#include <ctype.h>
8412#include <stdlib.h>
8413#if ((' ' & 0x0FF) == 0x020)
8414# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8415# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8416#else
8417# define ISLOWER(c) \
8418		   (('a' <= (c) && (c) <= 'i') \
8419		     || ('j' <= (c) && (c) <= 'r') \
8420		     || ('s' <= (c) && (c) <= 'z'))
8421# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8422#endif
8423
8424#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8425int
8426main ()
8427{
8428  int i;
8429  for (i = 0; i < 256; i++)
8430    if (XOR (islower (i), ISLOWER (i))
8431	|| toupper (i) != TOUPPER (i))
8432      return 2;
8433  return 0;
8434}
8435_ACEOF
8436if ac_fn_c_try_run "$LINENO"; then :
8437
8438else
8439  ac_cv_header_stdc=no
8440fi
8441rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8442  conftest.$ac_objext conftest.beam conftest.$ac_ext
8443fi
8444
8445fi
8446fi
8447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8448$as_echo "$ac_cv_header_stdc" >&6; }
8449if test $ac_cv_header_stdc = yes; then
8450
8451$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8452
8453fi
8454
8455# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8456for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8457		  inttypes.h stdint.h unistd.h
8458do :
8459  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8460ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8461"
8462if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8463  cat >>confdefs.h <<_ACEOF
8464#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8465_ACEOF
8466
8467fi
8468
8469done
8470
8471
8472for ac_header in dlfcn.h
8473do :
8474  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8475"
8476if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8477  cat >>confdefs.h <<_ACEOF
8478#define HAVE_DLFCN_H 1
8479_ACEOF
8480
8481fi
8482
8483done
8484
8485
8486
8487
8488
8489# Set options
8490# Check whether --enable-static was given.
8491if test "${enable_static+set}" = set; then :
8492  enableval=$enable_static; p=${PACKAGE-default}
8493    case $enableval in
8494    yes) enable_static=yes ;;
8495    no) enable_static=no ;;
8496    *)
8497     enable_static=no
8498      # Look at the argument we got.  We use all the common list separators.
8499      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8500      for pkg in $enableval; do
8501	IFS=$lt_save_ifs
8502	if test "X$pkg" = "X$p"; then
8503	  enable_static=yes
8504	fi
8505      done
8506      IFS=$lt_save_ifs
8507      ;;
8508    esac
8509else
8510  enable_static=no
8511fi
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522        enable_dlopen=no
8523
8524
8525  enable_win32_dll=no
8526
8527
8528            # Check whether --enable-shared was given.
8529if test "${enable_shared+set}" = set; then :
8530  enableval=$enable_shared; p=${PACKAGE-default}
8531    case $enableval in
8532    yes) enable_shared=yes ;;
8533    no) enable_shared=no ;;
8534    *)
8535      enable_shared=no
8536      # Look at the argument we got.  We use all the common list separators.
8537      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8538      for pkg in $enableval; do
8539	IFS=$lt_save_ifs
8540	if test "X$pkg" = "X$p"; then
8541	  enable_shared=yes
8542	fi
8543      done
8544      IFS=$lt_save_ifs
8545      ;;
8546    esac
8547else
8548  enable_shared=yes
8549fi
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561# Check whether --with-pic was given.
8562if test "${with_pic+set}" = set; then :
8563  withval=$with_pic; lt_p=${PACKAGE-default}
8564    case $withval in
8565    yes|no) pic_mode=$withval ;;
8566    *)
8567      pic_mode=default
8568      # Look at the argument we got.  We use all the common list separators.
8569      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8570      for lt_pkg in $withval; do
8571	IFS=$lt_save_ifs
8572	if test "X$lt_pkg" = "X$lt_p"; then
8573	  pic_mode=yes
8574	fi
8575      done
8576      IFS=$lt_save_ifs
8577      ;;
8578    esac
8579else
8580  pic_mode=default
8581fi
8582
8583
8584
8585
8586
8587
8588
8589
8590  # Check whether --enable-fast-install was given.
8591if test "${enable_fast_install+set}" = set; then :
8592  enableval=$enable_fast_install; p=${PACKAGE-default}
8593    case $enableval in
8594    yes) enable_fast_install=yes ;;
8595    no) enable_fast_install=no ;;
8596    *)
8597      enable_fast_install=no
8598      # Look at the argument we got.  We use all the common list separators.
8599      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8600      for pkg in $enableval; do
8601	IFS=$lt_save_ifs
8602	if test "X$pkg" = "X$p"; then
8603	  enable_fast_install=yes
8604	fi
8605      done
8606      IFS=$lt_save_ifs
8607      ;;
8608    esac
8609else
8610  enable_fast_install=yes
8611fi
8612
8613
8614
8615
8616
8617
8618
8619
8620  shared_archive_member_spec=
8621case $host,$enable_shared in
8622power*-*-aix[5-9]*,yes)
8623  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8624$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8625
8626# Check whether --with-aix-soname was given.
8627if test "${with_aix_soname+set}" = set; then :
8628  withval=$with_aix_soname; case $withval in
8629    aix|svr4|both)
8630      ;;
8631    *)
8632      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8633      ;;
8634    esac
8635    lt_cv_with_aix_soname=$with_aix_soname
8636else
8637  if ${lt_cv_with_aix_soname+:} false; then :
8638  $as_echo_n "(cached) " >&6
8639else
8640  lt_cv_with_aix_soname=aix
8641fi
8642
8643    with_aix_soname=$lt_cv_with_aix_soname
8644fi
8645
8646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8647$as_echo "$with_aix_soname" >&6; }
8648  if test aix != "$with_aix_soname"; then
8649    # For the AIX way of multilib, we name the shared archive member
8650    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8651    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8652    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8653    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8654    if test 64 = "${OBJECT_MODE-32}"; then
8655      shared_archive_member_spec=shr_64
8656    else
8657      shared_archive_member_spec=shr
8658    fi
8659  fi
8660  ;;
8661*)
8662  with_aix_soname=aix
8663  ;;
8664esac
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675# This can be used to rebuild libtool when needed
8676LIBTOOL_DEPS=$ltmain
8677
8678# Always use our own libtool.
8679LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710test -z "$LN_S" && LN_S="ln -s"
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725if test -n "${ZSH_VERSION+set}"; then
8726   setopt NO_GLOB_SUBST
8727fi
8728
8729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8730$as_echo_n "checking for objdir... " >&6; }
8731if ${lt_cv_objdir+:} false; then :
8732  $as_echo_n "(cached) " >&6
8733else
8734  rm -f .libs 2>/dev/null
8735mkdir .libs 2>/dev/null
8736if test -d .libs; then
8737  lt_cv_objdir=.libs
8738else
8739  # MS-DOS does not allow filenames that begin with a dot.
8740  lt_cv_objdir=_libs
8741fi
8742rmdir .libs 2>/dev/null
8743fi
8744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8745$as_echo "$lt_cv_objdir" >&6; }
8746objdir=$lt_cv_objdir
8747
8748
8749
8750
8751
8752cat >>confdefs.h <<_ACEOF
8753#define LT_OBJDIR "$lt_cv_objdir/"
8754_ACEOF
8755
8756
8757
8758
8759case $host_os in
8760aix3*)
8761  # AIX sometimes has problems with the GCC collect2 program.  For some
8762  # reason, if we set the COLLECT_NAMES environment variable, the problems
8763  # vanish in a puff of smoke.
8764  if test set != "${COLLECT_NAMES+set}"; then
8765    COLLECT_NAMES=
8766    export COLLECT_NAMES
8767  fi
8768  ;;
8769esac
8770
8771# Global variables:
8772ofile=libtool
8773can_build_shared=yes
8774
8775# All known linkers require a '.a' archive for static linking (except MSVC and
8776# ICC, which need '.lib').
8777libext=a
8778
8779with_gnu_ld=$lt_cv_prog_gnu_ld
8780
8781old_CC=$CC
8782old_CFLAGS=$CFLAGS
8783
8784# Set sane defaults for various variables
8785test -z "$CC" && CC=cc
8786test -z "$LTCC" && LTCC=$CC
8787test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8788test -z "$LD" && LD=ld
8789test -z "$ac_objext" && ac_objext=o
8790
8791func_cc_basename $compiler
8792cc_basename=$func_cc_basename_result
8793
8794
8795# Only perform the check for file, if the check method requires it
8796test -z "$MAGIC_CMD" && MAGIC_CMD=file
8797case $deplibs_check_method in
8798file_magic*)
8799  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8800    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8801$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8802if ${lt_cv_path_MAGIC_CMD+:} false; then :
8803  $as_echo_n "(cached) " >&6
8804else
8805  case $MAGIC_CMD in
8806[\\/*] |  ?:[\\/]*)
8807  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8808  ;;
8809*)
8810  lt_save_MAGIC_CMD=$MAGIC_CMD
8811  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8812  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8813  for ac_dir in $ac_dummy; do
8814    IFS=$lt_save_ifs
8815    test -z "$ac_dir" && ac_dir=.
8816    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8817      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8818      if test -n "$file_magic_test_file"; then
8819	case $deplibs_check_method in
8820	"file_magic "*)
8821	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8822	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8823	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8824	    $EGREP "$file_magic_regex" > /dev/null; then
8825	    :
8826	  else
8827	    cat <<_LT_EOF 1>&2
8828
8829*** Warning: the command libtool uses to detect shared libraries,
8830*** $file_magic_cmd, produces output that libtool cannot recognize.
8831*** The result is that libtool may fail to recognize shared libraries
8832*** as such.  This will affect the creation of libtool libraries that
8833*** depend on shared libraries, but programs linked with such libtool
8834*** libraries will work regardless of this problem.  Nevertheless, you
8835*** may want to report the problem to your system manager and/or to
8836*** bug-libtool@gnu.org
8837
8838_LT_EOF
8839	  fi ;;
8840	esac
8841      fi
8842      break
8843    fi
8844  done
8845  IFS=$lt_save_ifs
8846  MAGIC_CMD=$lt_save_MAGIC_CMD
8847  ;;
8848esac
8849fi
8850
8851MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8852if test -n "$MAGIC_CMD"; then
8853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8854$as_echo "$MAGIC_CMD" >&6; }
8855else
8856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8857$as_echo "no" >&6; }
8858fi
8859
8860
8861
8862
8863
8864if test -z "$lt_cv_path_MAGIC_CMD"; then
8865  if test -n "$ac_tool_prefix"; then
8866    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8867$as_echo_n "checking for file... " >&6; }
8868if ${lt_cv_path_MAGIC_CMD+:} false; then :
8869  $as_echo_n "(cached) " >&6
8870else
8871  case $MAGIC_CMD in
8872[\\/*] |  ?:[\\/]*)
8873  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8874  ;;
8875*)
8876  lt_save_MAGIC_CMD=$MAGIC_CMD
8877  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8878  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8879  for ac_dir in $ac_dummy; do
8880    IFS=$lt_save_ifs
8881    test -z "$ac_dir" && ac_dir=.
8882    if test -f "$ac_dir/file"; then
8883      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8884      if test -n "$file_magic_test_file"; then
8885	case $deplibs_check_method in
8886	"file_magic "*)
8887	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8888	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8889	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8890	    $EGREP "$file_magic_regex" > /dev/null; then
8891	    :
8892	  else
8893	    cat <<_LT_EOF 1>&2
8894
8895*** Warning: the command libtool uses to detect shared libraries,
8896*** $file_magic_cmd, produces output that libtool cannot recognize.
8897*** The result is that libtool may fail to recognize shared libraries
8898*** as such.  This will affect the creation of libtool libraries that
8899*** depend on shared libraries, but programs linked with such libtool
8900*** libraries will work regardless of this problem.  Nevertheless, you
8901*** may want to report the problem to your system manager and/or to
8902*** bug-libtool@gnu.org
8903
8904_LT_EOF
8905	  fi ;;
8906	esac
8907      fi
8908      break
8909    fi
8910  done
8911  IFS=$lt_save_ifs
8912  MAGIC_CMD=$lt_save_MAGIC_CMD
8913  ;;
8914esac
8915fi
8916
8917MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8918if test -n "$MAGIC_CMD"; then
8919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8920$as_echo "$MAGIC_CMD" >&6; }
8921else
8922  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8923$as_echo "no" >&6; }
8924fi
8925
8926
8927  else
8928    MAGIC_CMD=:
8929  fi
8930fi
8931
8932  fi
8933  ;;
8934esac
8935
8936# Use C for the default configuration in the libtool script
8937
8938lt_save_CC=$CC
8939ac_ext=c
8940ac_cpp='$CPP $CPPFLAGS'
8941ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8942ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8943ac_compiler_gnu=$ac_cv_c_compiler_gnu
8944
8945
8946# Source file extension for C test sources.
8947ac_ext=c
8948
8949# Object file extension for compiled C test sources.
8950objext=o
8951objext=$objext
8952
8953# Code to be used in simple compile tests
8954lt_simple_compile_test_code="int some_variable = 0;"
8955
8956# Code to be used in simple link tests
8957lt_simple_link_test_code='int main(){return(0);}'
8958
8959
8960
8961
8962
8963
8964
8965# If no C compiler was specified, use CC.
8966LTCC=${LTCC-"$CC"}
8967
8968# If no C compiler flags were specified, use CFLAGS.
8969LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8970
8971# Allow CC to be a program name with arguments.
8972compiler=$CC
8973
8974# Save the default compiler, since it gets overwritten when the other
8975# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8976compiler_DEFAULT=$CC
8977
8978# save warnings/boilerplate of simple test code
8979ac_outfile=conftest.$ac_objext
8980echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8981eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8982_lt_compiler_boilerplate=`cat conftest.err`
8983$RM conftest*
8984
8985ac_outfile=conftest.$ac_objext
8986echo "$lt_simple_link_test_code" >conftest.$ac_ext
8987eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8988_lt_linker_boilerplate=`cat conftest.err`
8989$RM -r conftest*
8990
8991
8992if test -n "$compiler"; then
8993
8994lt_prog_compiler_no_builtin_flag=
8995
8996if test yes = "$GCC"; then
8997  case $cc_basename in
8998  nvcc*)
8999    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9000  *)
9001    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9002  esac
9003
9004  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9005$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9006if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9007  $as_echo_n "(cached) " >&6
9008else
9009  lt_cv_prog_compiler_rtti_exceptions=no
9010   ac_outfile=conftest.$ac_objext
9011   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9012   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9013   # Insert the option either (1) after the last *FLAGS variable, or
9014   # (2) before a word containing "conftest.", or (3) at the end.
9015   # Note that $ac_compile itself does not contain backslashes and begins
9016   # with a dollar sign (not a hyphen), so the echo should work correctly.
9017   # The option is referenced via a variable to avoid confusing sed.
9018   lt_compile=`echo "$ac_compile" | $SED \
9019   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9020   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9021   -e 's:$: $lt_compiler_flag:'`
9022   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9023   (eval "$lt_compile" 2>conftest.err)
9024   ac_status=$?
9025   cat conftest.err >&5
9026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027   if (exit $ac_status) && test -s "$ac_outfile"; then
9028     # The compiler can only warn and ignore the option if not recognized
9029     # So say no if there are warnings other than the usual output.
9030     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9031     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9032     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9033       lt_cv_prog_compiler_rtti_exceptions=yes
9034     fi
9035   fi
9036   $RM conftest*
9037
9038fi
9039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9040$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9041
9042if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9043    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9044else
9045    :
9046fi
9047
9048fi
9049
9050
9051
9052
9053
9054
9055  lt_prog_compiler_wl=
9056lt_prog_compiler_pic=
9057lt_prog_compiler_static=
9058
9059
9060  if test yes = "$GCC"; then
9061    lt_prog_compiler_wl='-Wl,'
9062    lt_prog_compiler_static='-static'
9063
9064    case $host_os in
9065      aix*)
9066      # All AIX code is PIC.
9067      if test ia64 = "$host_cpu"; then
9068	# AIX 5 now supports IA64 processor
9069	lt_prog_compiler_static='-Bstatic'
9070      fi
9071      lt_prog_compiler_pic='-fPIC'
9072      ;;
9073
9074    amigaos*)
9075      case $host_cpu in
9076      powerpc)
9077            # see comment about AmigaOS4 .so support
9078            lt_prog_compiler_pic='-fPIC'
9079        ;;
9080      m68k)
9081            # FIXME: we need at least 68020 code to build shared libraries, but
9082            # adding the '-m68020' flag to GCC prevents building anything better,
9083            # like '-m68040'.
9084            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9085        ;;
9086      esac
9087      ;;
9088
9089    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9090      # PIC is the default for these OSes.
9091      ;;
9092
9093    mingw* | cygwin* | pw32* | os2* | cegcc*)
9094      # This hack is so that the source file can tell whether it is being
9095      # built for inclusion in a dll (and should export symbols for example).
9096      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9097      # (--disable-auto-import) libraries
9098      lt_prog_compiler_pic='-DDLL_EXPORT'
9099      case $host_os in
9100      os2*)
9101	lt_prog_compiler_static='$wl-static'
9102	;;
9103      esac
9104      ;;
9105
9106    darwin* | rhapsody*)
9107      # PIC is the default on this platform
9108      # Common symbols not allowed in MH_DYLIB files
9109      lt_prog_compiler_pic='-fno-common'
9110      ;;
9111
9112    haiku*)
9113      # PIC is the default for Haiku.
9114      # The "-static" flag exists, but is broken.
9115      lt_prog_compiler_static=
9116      ;;
9117
9118    hpux*)
9119      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9120      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9121      # sets the default TLS model and affects inlining.
9122      case $host_cpu in
9123      hppa*64*)
9124	# +Z the default
9125	;;
9126      *)
9127	lt_prog_compiler_pic='-fPIC'
9128	;;
9129      esac
9130      ;;
9131
9132    interix[3-9]*)
9133      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9134      # Instead, we relocate shared libraries at runtime.
9135      ;;
9136
9137    msdosdjgpp*)
9138      # Just because we use GCC doesn't mean we suddenly get shared libraries
9139      # on systems that don't support them.
9140      lt_prog_compiler_can_build_shared=no
9141      enable_shared=no
9142      ;;
9143
9144    *nto* | *qnx*)
9145      # QNX uses GNU C++, but need to define -shared option too, otherwise
9146      # it will coredump.
9147      lt_prog_compiler_pic='-fPIC -shared'
9148      ;;
9149
9150    sysv4*MP*)
9151      if test -d /usr/nec; then
9152	lt_prog_compiler_pic=-Kconform_pic
9153      fi
9154      ;;
9155
9156    *)
9157      lt_prog_compiler_pic='-fPIC'
9158      ;;
9159    esac
9160
9161    case $cc_basename in
9162    nvcc*) # Cuda Compiler Driver 2.2
9163      lt_prog_compiler_wl='-Xlinker '
9164      if test -n "$lt_prog_compiler_pic"; then
9165        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9166      fi
9167      ;;
9168    esac
9169  else
9170    # PORTME Check for flag to pass linker flags through the system compiler.
9171    case $host_os in
9172    aix*)
9173      lt_prog_compiler_wl='-Wl,'
9174      if test ia64 = "$host_cpu"; then
9175	# AIX 5 now supports IA64 processor
9176	lt_prog_compiler_static='-Bstatic'
9177      else
9178	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9179      fi
9180      ;;
9181
9182    darwin* | rhapsody*)
9183      # PIC is the default on this platform
9184      # Common symbols not allowed in MH_DYLIB files
9185      lt_prog_compiler_pic='-fno-common'
9186      case $cc_basename in
9187      nagfor*)
9188        # NAG Fortran compiler
9189        lt_prog_compiler_wl='-Wl,-Wl,,'
9190        lt_prog_compiler_pic='-PIC'
9191        lt_prog_compiler_static='-Bstatic'
9192        ;;
9193      esac
9194      ;;
9195
9196    mingw* | cygwin* | pw32* | os2* | cegcc*)
9197      # This hack is so that the source file can tell whether it is being
9198      # built for inclusion in a dll (and should export symbols for example).
9199      lt_prog_compiler_pic='-DDLL_EXPORT'
9200      case $host_os in
9201      os2*)
9202	lt_prog_compiler_static='$wl-static'
9203	;;
9204      esac
9205      ;;
9206
9207    hpux9* | hpux10* | hpux11*)
9208      lt_prog_compiler_wl='-Wl,'
9209      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9210      # not for PA HP-UX.
9211      case $host_cpu in
9212      hppa*64*|ia64*)
9213	# +Z the default
9214	;;
9215      *)
9216	lt_prog_compiler_pic='+Z'
9217	;;
9218      esac
9219      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9220      lt_prog_compiler_static='$wl-a ${wl}archive'
9221      ;;
9222
9223    irix5* | irix6* | nonstopux*)
9224      lt_prog_compiler_wl='-Wl,'
9225      # PIC (with -KPIC) is the default.
9226      lt_prog_compiler_static='-non_shared'
9227      ;;
9228
9229    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9230      case $cc_basename in
9231      # old Intel for x86_64, which still supported -KPIC.
9232      ecc*)
9233	lt_prog_compiler_wl='-Wl,'
9234	lt_prog_compiler_pic='-KPIC'
9235	lt_prog_compiler_static='-static'
9236        ;;
9237      # icc used to be incompatible with GCC.
9238      # ICC 10 doesn't accept -KPIC any more.
9239      icc* | ifort*)
9240	lt_prog_compiler_wl='-Wl,'
9241	lt_prog_compiler_pic='-fPIC'
9242	lt_prog_compiler_static='-static'
9243        ;;
9244      # Lahey Fortran 8.1.
9245      lf95*)
9246	lt_prog_compiler_wl='-Wl,'
9247	lt_prog_compiler_pic='--shared'
9248	lt_prog_compiler_static='--static'
9249	;;
9250      nagfor*)
9251	# NAG Fortran compiler
9252	lt_prog_compiler_wl='-Wl,-Wl,,'
9253	lt_prog_compiler_pic='-PIC'
9254	lt_prog_compiler_static='-Bstatic'
9255	;;
9256      tcc*)
9257	# Fabrice Bellard et al's Tiny C Compiler
9258	lt_prog_compiler_wl='-Wl,'
9259	lt_prog_compiler_pic='-fPIC'
9260	lt_prog_compiler_static='-static'
9261	;;
9262      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9263        # Portland Group compilers (*not* the Pentium gcc compiler,
9264	# which looks to be a dead project)
9265	lt_prog_compiler_wl='-Wl,'
9266	lt_prog_compiler_pic='-fpic'
9267	lt_prog_compiler_static='-Bstatic'
9268        ;;
9269      ccc*)
9270        lt_prog_compiler_wl='-Wl,'
9271        # All Alpha code is PIC.
9272        lt_prog_compiler_static='-non_shared'
9273        ;;
9274      xl* | bgxl* | bgf* | mpixl*)
9275	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9276	lt_prog_compiler_wl='-Wl,'
9277	lt_prog_compiler_pic='-qpic'
9278	lt_prog_compiler_static='-qstaticlink'
9279	;;
9280      *)
9281	case `$CC -V 2>&1 | sed 5q` in
9282	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9283	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9284	  lt_prog_compiler_pic='-KPIC'
9285	  lt_prog_compiler_static='-Bstatic'
9286	  lt_prog_compiler_wl=''
9287	  ;;
9288	*Sun\ F* | *Sun*Fortran*)
9289	  lt_prog_compiler_pic='-KPIC'
9290	  lt_prog_compiler_static='-Bstatic'
9291	  lt_prog_compiler_wl='-Qoption ld '
9292	  ;;
9293	*Sun\ C*)
9294	  # Sun C 5.9
9295	  lt_prog_compiler_pic='-KPIC'
9296	  lt_prog_compiler_static='-Bstatic'
9297	  lt_prog_compiler_wl='-Wl,'
9298	  ;;
9299        *Intel*\ [CF]*Compiler*)
9300	  lt_prog_compiler_wl='-Wl,'
9301	  lt_prog_compiler_pic='-fPIC'
9302	  lt_prog_compiler_static='-static'
9303	  ;;
9304	*Portland\ Group*)
9305	  lt_prog_compiler_wl='-Wl,'
9306	  lt_prog_compiler_pic='-fpic'
9307	  lt_prog_compiler_static='-Bstatic'
9308	  ;;
9309	esac
9310	;;
9311      esac
9312      ;;
9313
9314    newsos6)
9315      lt_prog_compiler_pic='-KPIC'
9316      lt_prog_compiler_static='-Bstatic'
9317      ;;
9318
9319    *nto* | *qnx*)
9320      # QNX uses GNU C++, but need to define -shared option too, otherwise
9321      # it will coredump.
9322      lt_prog_compiler_pic='-fPIC -shared'
9323      ;;
9324
9325    osf3* | osf4* | osf5*)
9326      lt_prog_compiler_wl='-Wl,'
9327      # All OSF/1 code is PIC.
9328      lt_prog_compiler_static='-non_shared'
9329      ;;
9330
9331    rdos*)
9332      lt_prog_compiler_static='-non_shared'
9333      ;;
9334
9335    solaris*)
9336      lt_prog_compiler_pic='-KPIC'
9337      lt_prog_compiler_static='-Bstatic'
9338      case $cc_basename in
9339      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9340	lt_prog_compiler_wl='-Qoption ld ';;
9341      *)
9342	lt_prog_compiler_wl='-Wl,';;
9343      esac
9344      ;;
9345
9346    sunos4*)
9347      lt_prog_compiler_wl='-Qoption ld '
9348      lt_prog_compiler_pic='-PIC'
9349      lt_prog_compiler_static='-Bstatic'
9350      ;;
9351
9352    sysv4 | sysv4.2uw2* | sysv4.3*)
9353      lt_prog_compiler_wl='-Wl,'
9354      lt_prog_compiler_pic='-KPIC'
9355      lt_prog_compiler_static='-Bstatic'
9356      ;;
9357
9358    sysv4*MP*)
9359      if test -d /usr/nec; then
9360	lt_prog_compiler_pic='-Kconform_pic'
9361	lt_prog_compiler_static='-Bstatic'
9362      fi
9363      ;;
9364
9365    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9366      lt_prog_compiler_wl='-Wl,'
9367      lt_prog_compiler_pic='-KPIC'
9368      lt_prog_compiler_static='-Bstatic'
9369      ;;
9370
9371    unicos*)
9372      lt_prog_compiler_wl='-Wl,'
9373      lt_prog_compiler_can_build_shared=no
9374      ;;
9375
9376    uts4*)
9377      lt_prog_compiler_pic='-pic'
9378      lt_prog_compiler_static='-Bstatic'
9379      ;;
9380
9381    *)
9382      lt_prog_compiler_can_build_shared=no
9383      ;;
9384    esac
9385  fi
9386
9387case $host_os in
9388  # For platforms that do not support PIC, -DPIC is meaningless:
9389  *djgpp*)
9390    lt_prog_compiler_pic=
9391    ;;
9392  *)
9393    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9394    ;;
9395esac
9396
9397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9398$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9399if ${lt_cv_prog_compiler_pic+:} false; then :
9400  $as_echo_n "(cached) " >&6
9401else
9402  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9403fi
9404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9405$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9406lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9407
9408#
9409# Check to make sure the PIC flag actually works.
9410#
9411if test -n "$lt_prog_compiler_pic"; then
9412  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9413$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9414if ${lt_cv_prog_compiler_pic_works+:} false; then :
9415  $as_echo_n "(cached) " >&6
9416else
9417  lt_cv_prog_compiler_pic_works=no
9418   ac_outfile=conftest.$ac_objext
9419   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9420   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9421   # Insert the option either (1) after the last *FLAGS variable, or
9422   # (2) before a word containing "conftest.", or (3) at the end.
9423   # Note that $ac_compile itself does not contain backslashes and begins
9424   # with a dollar sign (not a hyphen), so the echo should work correctly.
9425   # The option is referenced via a variable to avoid confusing sed.
9426   lt_compile=`echo "$ac_compile" | $SED \
9427   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9428   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9429   -e 's:$: $lt_compiler_flag:'`
9430   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9431   (eval "$lt_compile" 2>conftest.err)
9432   ac_status=$?
9433   cat conftest.err >&5
9434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435   if (exit $ac_status) && test -s "$ac_outfile"; then
9436     # The compiler can only warn and ignore the option if not recognized
9437     # So say no if there are warnings other than the usual output.
9438     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9439     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9440     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9441       lt_cv_prog_compiler_pic_works=yes
9442     fi
9443   fi
9444   $RM conftest*
9445
9446fi
9447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9448$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9449
9450if test yes = "$lt_cv_prog_compiler_pic_works"; then
9451    case $lt_prog_compiler_pic in
9452     "" | " "*) ;;
9453     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9454     esac
9455else
9456    lt_prog_compiler_pic=
9457     lt_prog_compiler_can_build_shared=no
9458fi
9459
9460fi
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472#
9473# Check to make sure the static flag actually works.
9474#
9475wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9477$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9478if ${lt_cv_prog_compiler_static_works+:} false; then :
9479  $as_echo_n "(cached) " >&6
9480else
9481  lt_cv_prog_compiler_static_works=no
9482   save_LDFLAGS=$LDFLAGS
9483   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9484   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9485   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9486     # The linker can only warn and ignore the option if not recognized
9487     # So say no if there are warnings
9488     if test -s conftest.err; then
9489       # Append any errors to the config.log.
9490       cat conftest.err 1>&5
9491       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9492       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9493       if diff conftest.exp conftest.er2 >/dev/null; then
9494         lt_cv_prog_compiler_static_works=yes
9495       fi
9496     else
9497       lt_cv_prog_compiler_static_works=yes
9498     fi
9499   fi
9500   $RM -r conftest*
9501   LDFLAGS=$save_LDFLAGS
9502
9503fi
9504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9505$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9506
9507if test yes = "$lt_cv_prog_compiler_static_works"; then
9508    :
9509else
9510    lt_prog_compiler_static=
9511fi
9512
9513
9514
9515
9516
9517
9518
9519  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9520$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9521if ${lt_cv_prog_compiler_c_o+:} false; then :
9522  $as_echo_n "(cached) " >&6
9523else
9524  lt_cv_prog_compiler_c_o=no
9525   $RM -r conftest 2>/dev/null
9526   mkdir conftest
9527   cd conftest
9528   mkdir out
9529   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9530
9531   lt_compiler_flag="-o out/conftest2.$ac_objext"
9532   # Insert the option either (1) after the last *FLAGS variable, or
9533   # (2) before a word containing "conftest.", or (3) at the end.
9534   # Note that $ac_compile itself does not contain backslashes and begins
9535   # with a dollar sign (not a hyphen), so the echo should work correctly.
9536   lt_compile=`echo "$ac_compile" | $SED \
9537   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9538   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9539   -e 's:$: $lt_compiler_flag:'`
9540   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9541   (eval "$lt_compile" 2>out/conftest.err)
9542   ac_status=$?
9543   cat out/conftest.err >&5
9544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9546   then
9547     # The compiler can only warn and ignore the option if not recognized
9548     # So say no if there are warnings
9549     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9550     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9551     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9552       lt_cv_prog_compiler_c_o=yes
9553     fi
9554   fi
9555   chmod u+w . 2>&5
9556   $RM conftest*
9557   # SGI C++ compiler will create directory out/ii_files/ for
9558   # template instantiation
9559   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9560   $RM out/* && rmdir out
9561   cd ..
9562   $RM -r conftest
9563   $RM conftest*
9564
9565fi
9566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9567$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9568
9569
9570
9571
9572
9573
9574  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9575$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9576if ${lt_cv_prog_compiler_c_o+:} false; then :
9577  $as_echo_n "(cached) " >&6
9578else
9579  lt_cv_prog_compiler_c_o=no
9580   $RM -r conftest 2>/dev/null
9581   mkdir conftest
9582   cd conftest
9583   mkdir out
9584   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9585
9586   lt_compiler_flag="-o out/conftest2.$ac_objext"
9587   # Insert the option either (1) after the last *FLAGS variable, or
9588   # (2) before a word containing "conftest.", or (3) at the end.
9589   # Note that $ac_compile itself does not contain backslashes and begins
9590   # with a dollar sign (not a hyphen), so the echo should work correctly.
9591   lt_compile=`echo "$ac_compile" | $SED \
9592   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9593   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9594   -e 's:$: $lt_compiler_flag:'`
9595   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9596   (eval "$lt_compile" 2>out/conftest.err)
9597   ac_status=$?
9598   cat out/conftest.err >&5
9599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9601   then
9602     # The compiler can only warn and ignore the option if not recognized
9603     # So say no if there are warnings
9604     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9605     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9606     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9607       lt_cv_prog_compiler_c_o=yes
9608     fi
9609   fi
9610   chmod u+w . 2>&5
9611   $RM conftest*
9612   # SGI C++ compiler will create directory out/ii_files/ for
9613   # template instantiation
9614   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9615   $RM out/* && rmdir out
9616   cd ..
9617   $RM -r conftest
9618   $RM conftest*
9619
9620fi
9621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9622$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9623
9624
9625
9626
9627hard_links=nottested
9628if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9629  # do not overwrite the value of need_locks provided by the user
9630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9631$as_echo_n "checking if we can lock with hard links... " >&6; }
9632  hard_links=yes
9633  $RM conftest*
9634  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9635  touch conftest.a
9636  ln conftest.a conftest.b 2>&5 || hard_links=no
9637  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9639$as_echo "$hard_links" >&6; }
9640  if test no = "$hard_links"; then
9641    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9642$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9643    need_locks=warn
9644  fi
9645else
9646  need_locks=no
9647fi
9648
9649
9650
9651
9652
9653
9654  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9655$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9656
9657  runpath_var=
9658  allow_undefined_flag=
9659  always_export_symbols=no
9660  archive_cmds=
9661  archive_expsym_cmds=
9662  compiler_needs_object=no
9663  enable_shared_with_static_runtimes=no
9664  export_dynamic_flag_spec=
9665  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9666  hardcode_automatic=no
9667  hardcode_direct=no
9668  hardcode_direct_absolute=no
9669  hardcode_libdir_flag_spec=
9670  hardcode_libdir_separator=
9671  hardcode_minus_L=no
9672  hardcode_shlibpath_var=unsupported
9673  inherit_rpath=no
9674  link_all_deplibs=unknown
9675  module_cmds=
9676  module_expsym_cmds=
9677  old_archive_from_new_cmds=
9678  old_archive_from_expsyms_cmds=
9679  thread_safe_flag_spec=
9680  whole_archive_flag_spec=
9681  # include_expsyms should be a list of space-separated symbols to be *always*
9682  # included in the symbol list
9683  include_expsyms=
9684  # exclude_expsyms can be an extended regexp of symbols to exclude
9685  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9686  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9687  # as well as any symbol that contains 'd'.
9688  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9689  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9690  # platforms (ab)use it in PIC code, but their linkers get confused if
9691  # the symbol is explicitly referenced.  Since portable code cannot
9692  # rely on this symbol name, it's probably fine to never include it in
9693  # preloaded symbol tables.
9694  # Exclude shared library initialization/finalization symbols.
9695  extract_expsyms_cmds=
9696
9697  case $host_os in
9698  cygwin* | mingw* | pw32* | cegcc*)
9699    # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
9700    # When not using gcc, we currently assume that we are using
9701    # Microsoft Visual C++ or Intel C++ Compiler.
9702    if test yes != "$GCC"; then
9703      with_gnu_ld=no
9704    fi
9705    ;;
9706  interix*)
9707    # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
9708    with_gnu_ld=yes
9709    ;;
9710  openbsd* | bitrig*)
9711    with_gnu_ld=no
9712    ;;
9713  esac
9714
9715  ld_shlibs=yes
9716
9717  # On some targets, GNU ld is compatible enough with the native linker
9718  # that we're better off using the native interface for both.
9719  lt_use_gnu_ld_interface=no
9720  if test yes = "$with_gnu_ld"; then
9721    case $host_os in
9722      aix*)
9723	# The AIX port of GNU ld has always aspired to compatibility
9724	# with the native linker.  However, as the warning in the GNU ld
9725	# block says, versions before 2.19.5* couldn't really create working
9726	# shared libraries, regardless of the interface used.
9727	case `$LD -v 2>&1` in
9728	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9729	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9730	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9731	  *)
9732	    lt_use_gnu_ld_interface=yes
9733	    ;;
9734	esac
9735	;;
9736      *)
9737	lt_use_gnu_ld_interface=yes
9738	;;
9739    esac
9740  fi
9741
9742  if test yes = "$lt_use_gnu_ld_interface"; then
9743    # If archive_cmds runs LD, not CC, wlarc should be empty
9744    wlarc='$wl'
9745
9746    # Set some defaults for GNU ld with shared library support. These
9747    # are reset later if shared libraries are not supported. Putting them
9748    # here allows them to be overridden if necessary.
9749    runpath_var=LD_RUN_PATH
9750    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9751    export_dynamic_flag_spec='$wl--export-dynamic'
9752    # ancient GNU ld didn't support --whole-archive et. al.
9753    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9754      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9755    else
9756      whole_archive_flag_spec=
9757    fi
9758    supports_anon_versioning=no
9759    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9760      *GNU\ gold*) supports_anon_versioning=yes ;;
9761      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9762      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9763      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9764      *\ 2.11.*) ;; # other 2.11 versions
9765      *) supports_anon_versioning=yes ;;
9766    esac
9767
9768    # See if GNU ld supports shared libraries.
9769    case $host_os in
9770    aix[3-9]*)
9771      # On AIX/PPC, the GNU linker is very broken
9772      if test ia64 != "$host_cpu"; then
9773	ld_shlibs=no
9774	cat <<_LT_EOF 1>&2
9775
9776*** Warning: the GNU linker, at least up to release 2.19, is reported
9777*** to be unable to reliably create shared libraries on AIX.
9778*** Therefore, libtool is disabling shared libraries support.  If you
9779*** really care for shared libraries, you may want to install binutils
9780*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9781*** You will then need to restart the configuration process.
9782
9783_LT_EOF
9784      fi
9785      ;;
9786
9787    amigaos*)
9788      case $host_cpu in
9789      powerpc)
9790            # see comment about AmigaOS4 .so support
9791            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9792            archive_expsym_cmds=''
9793        ;;
9794      m68k)
9795            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)'
9796            hardcode_libdir_flag_spec='-L$libdir'
9797            hardcode_minus_L=yes
9798        ;;
9799      esac
9800      ;;
9801
9802    beos*)
9803      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9804	allow_undefined_flag=unsupported
9805	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9806	# support --undefined.  This deserves some investigation.  FIXME
9807	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9808      else
9809	ld_shlibs=no
9810      fi
9811      ;;
9812
9813    cygwin* | mingw* | pw32* | cegcc*)
9814      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9815      # as there is no search path for DLLs.
9816      hardcode_libdir_flag_spec='-L$libdir'
9817      export_dynamic_flag_spec='$wl--export-all-symbols'
9818      allow_undefined_flag=unsupported
9819      always_export_symbols=no
9820      enable_shared_with_static_runtimes=yes
9821      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'
9822      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9823
9824      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9825        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9826	# If the export-symbols file already is a .def file, use it as
9827	# is; otherwise, prepend EXPORTS...
9828	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9829          cp $export_symbols $output_objdir/$soname.def;
9830        else
9831          echo EXPORTS > $output_objdir/$soname.def;
9832          cat $export_symbols >> $output_objdir/$soname.def;
9833        fi~
9834        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9835      else
9836	ld_shlibs=no
9837      fi
9838      ;;
9839
9840    haiku*)
9841      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9842      link_all_deplibs=yes
9843      ;;
9844
9845    os2*)
9846      hardcode_libdir_flag_spec='-L$libdir'
9847      hardcode_minus_L=yes
9848      allow_undefined_flag=unsupported
9849      shrext_cmds=.dll
9850      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9851	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9852	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9853	$ECHO EXPORTS >> $output_objdir/$libname.def~
9854	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9855	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9856	emximp -o $lib $output_objdir/$libname.def'
9857      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9858	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9859	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9860	$ECHO EXPORTS >> $output_objdir/$libname.def~
9861	prefix_cmds="$SED"~
9862	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9863	  prefix_cmds="$prefix_cmds -e 1d";
9864	fi~
9865	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9866	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9867	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9868	emximp -o $lib $output_objdir/$libname.def'
9869      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9870      enable_shared_with_static_runtimes=yes
9871      file_list_spec='@'
9872      ;;
9873
9874    interix[3-9]*)
9875      hardcode_direct=no
9876      hardcode_shlibpath_var=no
9877      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9878      export_dynamic_flag_spec='$wl-E'
9879      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9880      # Instead, shared libraries are loaded at an image base (0x10000000 by
9881      # default) and relocated if they conflict, which is a slow very memory
9882      # consuming and fragmenting process.  To avoid this, we pick a random,
9883      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9884      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9885      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9886      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'
9887      ;;
9888
9889    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9890      tmp_diet=no
9891      if test linux-dietlibc = "$host_os"; then
9892	case $cc_basename in
9893	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9894	esac
9895      fi
9896      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9897	 && test no = "$tmp_diet"
9898      then
9899	tmp_addflag=' $pic_flag'
9900	tmp_sharedflag='-shared'
9901	case $cc_basename,$host_cpu in
9902        pgcc*)				# Portland Group C compiler
9903	  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'
9904	  tmp_addflag=' $pic_flag'
9905	  ;;
9906	pgf77* | pgf90* | pgf95* | pgfortran*)
9907					# Portland Group f77 and f90 compilers
9908	  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'
9909	  tmp_addflag=' $pic_flag -Mnomain' ;;
9910	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9911	  tmp_addflag=' -i_dynamic' ;;
9912	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9913	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9914	ifc* | ifort*)			# Intel Fortran compiler
9915	  tmp_addflag=' -nofor_main' ;;
9916	lf95*)				# Lahey Fortran 8.1
9917	  whole_archive_flag_spec=
9918	  tmp_sharedflag='--shared' ;;
9919        nagfor*)                        # NAGFOR 5.3
9920          tmp_sharedflag='-Wl,-shared' ;;
9921	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9922	  tmp_sharedflag='-qmkshrobj'
9923	  tmp_addflag= ;;
9924	nvcc*)	# Cuda Compiler Driver 2.2
9925	  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'
9926	  compiler_needs_object=yes
9927	  ;;
9928	esac
9929	case `$CC -V 2>&1 | sed 5q` in
9930	*Sun\ C*)			# Sun C 5.9
9931	  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'
9932	  compiler_needs_object=yes
9933	  tmp_sharedflag='-G' ;;
9934	*Sun\ F*)			# Sun Fortran 8.3
9935	  tmp_sharedflag='-G' ;;
9936	esac
9937	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9938
9939        if test yes = "$supports_anon_versioning"; then
9940          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9941            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9942            echo "local: *; };" >> $output_objdir/$libname.ver~
9943            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9944        fi
9945
9946	case $cc_basename in
9947	tcc*)
9948	  export_dynamic_flag_spec='-rdynamic'
9949	  ;;
9950	xlf* | bgf* | bgxlf* | mpixlf*)
9951	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9952	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9953	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9954	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9955	  if test yes = "$supports_anon_versioning"; then
9956	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9957              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9958              echo "local: *; };" >> $output_objdir/$libname.ver~
9959              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9960	  fi
9961	  ;;
9962	esac
9963      else
9964        ld_shlibs=no
9965      fi
9966      ;;
9967
9968    netbsd*)
9969      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9970	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9971	wlarc=
9972      else
9973	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9974	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9975      fi
9976      ;;
9977
9978    solaris*)
9979      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9980	ld_shlibs=no
9981	cat <<_LT_EOF 1>&2
9982
9983*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9984*** create shared libraries on Solaris systems.  Therefore, libtool
9985*** is disabling shared libraries support.  We urge you to upgrade GNU
9986*** binutils to release 2.9.1 or newer.  Another option is to modify
9987*** your PATH or compiler configuration so that the native linker is
9988*** used, and then restart.
9989
9990_LT_EOF
9991      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9992	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9993	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9994      else
9995	ld_shlibs=no
9996      fi
9997      ;;
9998
9999    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10000      case `$LD -v 2>&1` in
10001        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10002	ld_shlibs=no
10003	cat <<_LT_EOF 1>&2
10004
10005*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10006*** reliably create shared libraries on SCO systems.  Therefore, libtool
10007*** is disabling shared libraries support.  We urge you to upgrade GNU
10008*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10009*** your PATH or compiler configuration so that the native linker is
10010*** used, and then restart.
10011
10012_LT_EOF
10013	;;
10014	*)
10015	  # For security reasons, it is highly recommended that you always
10016	  # use absolute paths for naming shared libraries, and exclude the
10017	  # DT_RUNPATH tag from executables and libraries.  But doing so
10018	  # requires that you compile everything twice, which is a pain.
10019	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10020	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10021	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10022	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10023	  else
10024	    ld_shlibs=no
10025	  fi
10026	;;
10027      esac
10028      ;;
10029
10030    sunos4*)
10031      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10032      wlarc=
10033      hardcode_direct=yes
10034      hardcode_shlibpath_var=no
10035      ;;
10036
10037    *)
10038      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10039	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10040	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10041      else
10042	ld_shlibs=no
10043      fi
10044      ;;
10045    esac
10046
10047    if test no = "$ld_shlibs"; then
10048      runpath_var=
10049      hardcode_libdir_flag_spec=
10050      export_dynamic_flag_spec=
10051      whole_archive_flag_spec=
10052    fi
10053  else
10054    # PORTME fill in a description of your system's linker (not GNU ld)
10055    case $host_os in
10056    aix3*)
10057      allow_undefined_flag=unsupported
10058      always_export_symbols=yes
10059      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'
10060      # Note: this linker hardcodes the directories in LIBPATH if there
10061      # are no directories specified by -L.
10062      hardcode_minus_L=yes
10063      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10064	# Neither direct hardcoding nor static linking is supported with a
10065	# broken collect2.
10066	hardcode_direct=unsupported
10067      fi
10068      ;;
10069
10070    aix[4-9]*)
10071      if test ia64 = "$host_cpu"; then
10072	# On IA64, the linker does run time linking by default, so we don't
10073	# have to do anything special.
10074	aix_use_runtimelinking=no
10075	exp_sym_flag='-Bexport'
10076	no_entry_flag=
10077      else
10078	# If we're using GNU nm, then we don't want the "-C" option.
10079	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10080	# Without the "-l" option, or with the "-B" option, AIX nm treats
10081	# weak defined symbols like other global defined symbols, whereas
10082	# GNU nm marks them as "W".
10083	# While the 'weak' keyword is ignored in the Export File, we need
10084	# it in the Import File for the 'aix-soname' feature, so we have
10085	# to replace the "-B" option with "-P" for AIX nm.
10086	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10087	  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'
10088	else
10089	  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 == "L") || (\$ 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'
10090	fi
10091	aix_use_runtimelinking=no
10092
10093	# Test if we are trying to use run time linking or normal
10094	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10095	# have runtime linking enabled, and use it for executables.
10096	# For shared libraries, we enable/disable runtime linking
10097	# depending on the kind of the shared library created -
10098	# when "with_aix_soname,aix_use_runtimelinking" is:
10099	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10100	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10101	#            lib.a           static archive
10102	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10103	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10104	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10105	#            lib.a(lib.so.V) shared, rtl:no
10106	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10107	#            lib.a           static archive
10108	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10109	  for ld_flag in $LDFLAGS; do
10110	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10111	    aix_use_runtimelinking=yes
10112	    break
10113	  fi
10114	  done
10115	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10116	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10117	    # so we don't have lib.a shared libs to link our executables.
10118	    # We have to force runtime linking in this case.
10119	    aix_use_runtimelinking=yes
10120	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10121	  fi
10122	  ;;
10123	esac
10124
10125	exp_sym_flag='-bexport'
10126	no_entry_flag='-bnoentry'
10127      fi
10128
10129      # When large executables or shared objects are built, AIX ld can
10130      # have problems creating the table of contents.  If linking a library
10131      # or program results in "error TOC overflow" add -mminimal-toc to
10132      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10133      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10134
10135      archive_cmds=''
10136      hardcode_direct=yes
10137      hardcode_direct_absolute=yes
10138      hardcode_libdir_separator=':'
10139      link_all_deplibs=yes
10140      file_list_spec='$wl-f,'
10141      case $with_aix_soname,$aix_use_runtimelinking in
10142      aix,*) ;; # traditional, no import file
10143      svr4,* | *,yes) # use import file
10144	# The Import File defines what to hardcode.
10145	hardcode_direct=no
10146	hardcode_direct_absolute=no
10147	;;
10148      esac
10149
10150      if test yes = "$GCC"; then
10151	case $host_os in aix4.[012]|aix4.[012].*)
10152	# We only want to do this on AIX 4.2 and lower, the check
10153	# below for broken collect2 doesn't work under 4.3+
10154	  collect2name=`$CC -print-prog-name=collect2`
10155	  if test -f "$collect2name" &&
10156	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10157	  then
10158	  # We have reworked collect2
10159	  :
10160	  else
10161	  # We have old collect2
10162	  hardcode_direct=unsupported
10163	  # It fails to find uninstalled libraries when the uninstalled
10164	  # path is not listed in the libpath.  Setting hardcode_minus_L
10165	  # to unsupported forces relinking
10166	  hardcode_minus_L=yes
10167	  hardcode_libdir_flag_spec='-L$libdir'
10168	  hardcode_libdir_separator=
10169	  fi
10170	  ;;
10171	esac
10172	shared_flag='-shared'
10173	if test yes = "$aix_use_runtimelinking"; then
10174	  shared_flag="$shared_flag "'$wl-G'
10175	fi
10176	# Need to ensure runtime linking is disabled for the traditional
10177	# shared library, or the linker may eventually find shared libraries
10178	# /with/ Import File - we do not want to mix them.
10179	shared_flag_aix='-shared'
10180	shared_flag_svr4='-shared $wl-G'
10181      else
10182	# not using gcc
10183	if test ia64 = "$host_cpu"; then
10184	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10185	# chokes on -Wl,-G. The following line is correct:
10186	  shared_flag='-G'
10187	else
10188	  if test yes = "$aix_use_runtimelinking"; then
10189	    shared_flag='$wl-G'
10190	  else
10191	    shared_flag='$wl-bM:SRE'
10192	  fi
10193	  shared_flag_aix='$wl-bM:SRE'
10194	  shared_flag_svr4='$wl-G'
10195	fi
10196      fi
10197
10198      export_dynamic_flag_spec='$wl-bexpall'
10199      # It seems that -bexpall does not export symbols beginning with
10200      # underscore (_), so it is better to generate a list of symbols to export.
10201      always_export_symbols=yes
10202      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10203	# Warning - without using the other runtime loading flags (-brtl),
10204	# -berok will link without error, but may produce a broken library.
10205	allow_undefined_flag='-berok'
10206        # Determine the default libpath from the value encoded in an
10207        # empty executable.
10208        if test set = "${lt_cv_aix_libpath+set}"; then
10209  aix_libpath=$lt_cv_aix_libpath
10210else
10211  if ${lt_cv_aix_libpath_+:} false; then :
10212  $as_echo_n "(cached) " >&6
10213else
10214  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215/* end confdefs.h.  */
10216
10217int
10218main ()
10219{
10220
10221  ;
10222  return 0;
10223}
10224_ACEOF
10225if ac_fn_c_try_link "$LINENO"; then :
10226
10227  lt_aix_libpath_sed='
10228      /Import File Strings/,/^$/ {
10229	  /^0/ {
10230	      s/^0  *\([^ ]*\) *$/\1/
10231	      p
10232	  }
10233      }'
10234  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10235  # Check for a 64-bit object if we didn't find anything.
10236  if test -z "$lt_cv_aix_libpath_"; then
10237    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10238  fi
10239fi
10240rm -f core conftest.err conftest.$ac_objext \
10241    conftest$ac_exeext conftest.$ac_ext
10242  if test -z "$lt_cv_aix_libpath_"; then
10243    lt_cv_aix_libpath_=/usr/lib:/lib
10244  fi
10245
10246fi
10247
10248  aix_libpath=$lt_cv_aix_libpath_
10249fi
10250
10251        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10252        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
10253      else
10254	if test ia64 = "$host_cpu"; then
10255	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10256	  allow_undefined_flag="-z nodefs"
10257	  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"
10258	else
10259	 # Determine the default libpath from the value encoded in an
10260	 # empty executable.
10261	 if test set = "${lt_cv_aix_libpath+set}"; then
10262  aix_libpath=$lt_cv_aix_libpath
10263else
10264  if ${lt_cv_aix_libpath_+:} false; then :
10265  $as_echo_n "(cached) " >&6
10266else
10267  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10268/* end confdefs.h.  */
10269
10270int
10271main ()
10272{
10273
10274  ;
10275  return 0;
10276}
10277_ACEOF
10278if ac_fn_c_try_link "$LINENO"; then :
10279
10280  lt_aix_libpath_sed='
10281      /Import File Strings/,/^$/ {
10282	  /^0/ {
10283	      s/^0  *\([^ ]*\) *$/\1/
10284	      p
10285	  }
10286      }'
10287  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10288  # Check for a 64-bit object if we didn't find anything.
10289  if test -z "$lt_cv_aix_libpath_"; then
10290    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10291  fi
10292fi
10293rm -f core conftest.err conftest.$ac_objext \
10294    conftest$ac_exeext conftest.$ac_ext
10295  if test -z "$lt_cv_aix_libpath_"; then
10296    lt_cv_aix_libpath_=/usr/lib:/lib
10297  fi
10298
10299fi
10300
10301  aix_libpath=$lt_cv_aix_libpath_
10302fi
10303
10304	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10305	  # Warning - without using the other run time loading flags,
10306	  # -berok will link without error, but may produce a broken library.
10307	  no_undefined_flag=' $wl-bernotok'
10308	  allow_undefined_flag=' $wl-berok'
10309	  if test yes = "$with_gnu_ld"; then
10310	    # We only use this code for GNU lds that support --whole-archive.
10311	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10312	  else
10313	    # Exported symbols can be pulled into shared objects from archives
10314	    whole_archive_flag_spec='$convenience'
10315	  fi
10316	  archive_cmds_need_lc=yes
10317	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10318	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10319	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10320	  if test svr4 != "$with_aix_soname"; then
10321	    # This is similar to how AIX traditionally builds its shared libraries.
10322	    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'
10323	  fi
10324	  if test aix != "$with_aix_soname"; then
10325	    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'
10326	  else
10327	    # used by -dlpreopen to get the symbols
10328	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10329	  fi
10330	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10331	fi
10332      fi
10333      ;;
10334
10335    amigaos*)
10336      case $host_cpu in
10337      powerpc)
10338            # see comment about AmigaOS4 .so support
10339            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10340            archive_expsym_cmds=''
10341        ;;
10342      m68k)
10343            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)'
10344            hardcode_libdir_flag_spec='-L$libdir'
10345            hardcode_minus_L=yes
10346        ;;
10347      esac
10348      ;;
10349
10350    bsdi[45]*)
10351      export_dynamic_flag_spec=-rdynamic
10352      ;;
10353
10354    cygwin* | mingw* | pw32* | cegcc*)
10355      # When not using gcc, we currently assume that we are using
10356      # Microsoft Visual C++ or Intel C++ Compiler.
10357      # hardcode_libdir_flag_spec is actually meaningless, as there is
10358      # no search path for DLLs.
10359      case $cc_basename in
10360      cl* | icl*)
10361	# Native MSVC or ICC
10362	hardcode_libdir_flag_spec=' '
10363	allow_undefined_flag=unsupported
10364	always_export_symbols=yes
10365	file_list_spec='@'
10366	# Tell ltmain to make .lib files, not .a files.
10367	libext=lib
10368	# Tell ltmain to make .dll files, not .so files.
10369	shrext_cmds=.dll
10370	# FIXME: Setting linknames here is a bad hack.
10371	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10372	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10373            cp "$export_symbols" "$output_objdir/$soname.def";
10374            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10375          else
10376            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10377          fi~
10378          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10379          linknames='
10380	# The linker will not automatically build a static lib if we build a DLL.
10381	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10382	enable_shared_with_static_runtimes=yes
10383	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10384	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10385	# Don't use ranlib
10386	old_postinstall_cmds='chmod 644 $oldlib'
10387	postlink_cmds='lt_outputfile="@OUTPUT@"~
10388          lt_tool_outputfile="@TOOL_OUTPUT@"~
10389          case $lt_outputfile in
10390            *.exe|*.EXE) ;;
10391            *)
10392              lt_outputfile=$lt_outputfile.exe
10393              lt_tool_outputfile=$lt_tool_outputfile.exe
10394              ;;
10395          esac~
10396          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10397            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10398            $RM "$lt_outputfile.manifest";
10399          fi'
10400	;;
10401      *)
10402	# Assume MSVC and ICC wrapper
10403	hardcode_libdir_flag_spec=' '
10404	allow_undefined_flag=unsupported
10405	# Tell ltmain to make .lib files, not .a files.
10406	libext=lib
10407	# Tell ltmain to make .dll files, not .so files.
10408	shrext_cmds=.dll
10409	# FIXME: Setting linknames here is a bad hack.
10410	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10411	# The linker will automatically build a .lib file if we build a DLL.
10412	old_archive_from_new_cmds='true'
10413	# FIXME: Should let the user specify the lib program.
10414	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10415	enable_shared_with_static_runtimes=yes
10416	;;
10417      esac
10418      ;;
10419
10420    darwin* | rhapsody*)
10421
10422
10423  archive_cmds_need_lc=no
10424  hardcode_direct=no
10425  hardcode_automatic=yes
10426  hardcode_shlibpath_var=unsupported
10427  if test yes = "$lt_cv_ld_force_load"; then
10428    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\"`'
10429
10430  else
10431    whole_archive_flag_spec=''
10432  fi
10433  link_all_deplibs=yes
10434  allow_undefined_flag=$_lt_dar_allow_undefined
10435  case $cc_basename in
10436     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10437     *) _lt_dar_can_shared=$GCC ;;
10438  esac
10439  if test yes = "$_lt_dar_can_shared"; then
10440    output_verbose_link_cmd=func_echo_all
10441    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10442    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10443    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"
10444    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"
10445
10446  else
10447  ld_shlibs=no
10448  fi
10449
10450      ;;
10451
10452    dgux*)
10453      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10454      hardcode_libdir_flag_spec='-L$libdir'
10455      hardcode_shlibpath_var=no
10456      ;;
10457
10458    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10459    # support.  Future versions do this automatically, but an explicit c++rt0.o
10460    # does not break anything, and helps significantly (at the cost of a little
10461    # extra space).
10462    freebsd2.2*)
10463      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10464      hardcode_libdir_flag_spec='-R$libdir'
10465      hardcode_direct=yes
10466      hardcode_shlibpath_var=no
10467      ;;
10468
10469    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10470    freebsd2.*)
10471      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10472      hardcode_direct=yes
10473      hardcode_minus_L=yes
10474      hardcode_shlibpath_var=no
10475      ;;
10476
10477    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10478    freebsd* | dragonfly*)
10479      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10480      hardcode_libdir_flag_spec='-R$libdir'
10481      hardcode_direct=yes
10482      hardcode_shlibpath_var=no
10483      ;;
10484
10485    hpux9*)
10486      if test yes = "$GCC"; then
10487	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'
10488      else
10489	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'
10490      fi
10491      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10492      hardcode_libdir_separator=:
10493      hardcode_direct=yes
10494
10495      # hardcode_minus_L: Not really in the search PATH,
10496      # but as the default location of the library.
10497      hardcode_minus_L=yes
10498      export_dynamic_flag_spec='$wl-E'
10499      ;;
10500
10501    hpux10*)
10502      if test yes,no = "$GCC,$with_gnu_ld"; then
10503	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10504      else
10505	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10506      fi
10507      if test no = "$with_gnu_ld"; then
10508	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10509	hardcode_libdir_separator=:
10510	hardcode_direct=yes
10511	hardcode_direct_absolute=yes
10512	export_dynamic_flag_spec='$wl-E'
10513	# hardcode_minus_L: Not really in the search PATH,
10514	# but as the default location of the library.
10515	hardcode_minus_L=yes
10516      fi
10517      ;;
10518
10519    hpux11*)
10520      if test yes,no = "$GCC,$with_gnu_ld"; then
10521	case $host_cpu in
10522	hppa*64*)
10523	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10524	  ;;
10525	ia64*)
10526	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10527	  ;;
10528	*)
10529	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10530	  ;;
10531	esac
10532      else
10533	case $host_cpu in
10534	hppa*64*)
10535	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10536	  ;;
10537	ia64*)
10538	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10539	  ;;
10540	*)
10541
10542	  # Older versions of the 11.00 compiler do not understand -b yet
10543	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10544	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10545$as_echo_n "checking if $CC understands -b... " >&6; }
10546if ${lt_cv_prog_compiler__b+:} false; then :
10547  $as_echo_n "(cached) " >&6
10548else
10549  lt_cv_prog_compiler__b=no
10550   save_LDFLAGS=$LDFLAGS
10551   LDFLAGS="$LDFLAGS -b"
10552   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10553   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10554     # The linker can only warn and ignore the option if not recognized
10555     # So say no if there are warnings
10556     if test -s conftest.err; then
10557       # Append any errors to the config.log.
10558       cat conftest.err 1>&5
10559       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10560       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10561       if diff conftest.exp conftest.er2 >/dev/null; then
10562         lt_cv_prog_compiler__b=yes
10563       fi
10564     else
10565       lt_cv_prog_compiler__b=yes
10566     fi
10567   fi
10568   $RM -r conftest*
10569   LDFLAGS=$save_LDFLAGS
10570
10571fi
10572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10573$as_echo "$lt_cv_prog_compiler__b" >&6; }
10574
10575if test yes = "$lt_cv_prog_compiler__b"; then
10576    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10577else
10578    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10579fi
10580
10581	  ;;
10582	esac
10583      fi
10584      if test no = "$with_gnu_ld"; then
10585	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10586	hardcode_libdir_separator=:
10587
10588	case $host_cpu in
10589	hppa*64*|ia64*)
10590	  hardcode_direct=no
10591	  hardcode_shlibpath_var=no
10592	  ;;
10593	*)
10594	  hardcode_direct=yes
10595	  hardcode_direct_absolute=yes
10596	  export_dynamic_flag_spec='$wl-E'
10597
10598	  # hardcode_minus_L: Not really in the search PATH,
10599	  # but as the default location of the library.
10600	  hardcode_minus_L=yes
10601	  ;;
10602	esac
10603      fi
10604      ;;
10605
10606    irix5* | irix6* | nonstopux*)
10607      if test yes = "$GCC"; then
10608	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'
10609	# Try to use the -exported_symbol ld option, if it does not
10610	# work, assume that -exports_file does not work either and
10611	# implicitly export all symbols.
10612	# This should be the same for all languages, so no per-tag cache variable.
10613	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10614$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10615if ${lt_cv_irix_exported_symbol+:} false; then :
10616  $as_echo_n "(cached) " >&6
10617else
10618  save_LDFLAGS=$LDFLAGS
10619	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10620	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10621/* end confdefs.h.  */
10622int foo (void) { return 0; }
10623_ACEOF
10624if ac_fn_c_try_link "$LINENO"; then :
10625  lt_cv_irix_exported_symbol=yes
10626else
10627  lt_cv_irix_exported_symbol=no
10628fi
10629rm -f core conftest.err conftest.$ac_objext \
10630    conftest$ac_exeext conftest.$ac_ext
10631           LDFLAGS=$save_LDFLAGS
10632fi
10633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10634$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10635	if test yes = "$lt_cv_irix_exported_symbol"; then
10636          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'
10637	fi
10638      else
10639	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'
10640	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'
10641      fi
10642      archive_cmds_need_lc='no'
10643      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10644      hardcode_libdir_separator=:
10645      inherit_rpath=yes
10646      link_all_deplibs=yes
10647      ;;
10648
10649    linux*)
10650      case $cc_basename in
10651      tcc*)
10652	# Fabrice Bellard et al's Tiny C Compiler
10653	ld_shlibs=yes
10654	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10655	;;
10656      esac
10657      ;;
10658
10659    netbsd*)
10660      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10661	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10662      else
10663	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10664      fi
10665      hardcode_libdir_flag_spec='-R$libdir'
10666      hardcode_direct=yes
10667      hardcode_shlibpath_var=no
10668      ;;
10669
10670    newsos6)
10671      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10672      hardcode_direct=yes
10673      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10674      hardcode_libdir_separator=:
10675      hardcode_shlibpath_var=no
10676      ;;
10677
10678    *nto* | *qnx*)
10679      ;;
10680
10681    openbsd* | bitrig*)
10682      if test -f /usr/libexec/ld.so; then
10683	hardcode_direct=yes
10684	hardcode_shlibpath_var=no
10685	hardcode_direct_absolute=yes
10686	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10687	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10688	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10689	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10690	  export_dynamic_flag_spec='$wl-E'
10691	else
10692	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10693	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10694	fi
10695      else
10696	ld_shlibs=no
10697      fi
10698      ;;
10699
10700    os2*)
10701      hardcode_libdir_flag_spec='-L$libdir'
10702      hardcode_minus_L=yes
10703      allow_undefined_flag=unsupported
10704      shrext_cmds=.dll
10705      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10706	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10707	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10708	$ECHO EXPORTS >> $output_objdir/$libname.def~
10709	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10710	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10711	emximp -o $lib $output_objdir/$libname.def'
10712      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10713	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10714	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10715	$ECHO EXPORTS >> $output_objdir/$libname.def~
10716	prefix_cmds="$SED"~
10717	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10718	  prefix_cmds="$prefix_cmds -e 1d";
10719	fi~
10720	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10721	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10722	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10723	emximp -o $lib $output_objdir/$libname.def'
10724      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10725      enable_shared_with_static_runtimes=yes
10726      file_list_spec='@'
10727      ;;
10728
10729    osf3*)
10730      if test yes = "$GCC"; then
10731	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10732	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'
10733      else
10734	allow_undefined_flag=' -expect_unresolved \*'
10735	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'
10736      fi
10737      archive_cmds_need_lc='no'
10738      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10739      hardcode_libdir_separator=:
10740      ;;
10741
10742    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10743      if test yes = "$GCC"; then
10744	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10745	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'
10746	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10747      else
10748	allow_undefined_flag=' -expect_unresolved \*'
10749	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'
10750	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~
10751          $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'
10752
10753	# Both c and cxx compiler support -rpath directly
10754	hardcode_libdir_flag_spec='-rpath $libdir'
10755      fi
10756      archive_cmds_need_lc='no'
10757      hardcode_libdir_separator=:
10758      ;;
10759
10760    solaris*)
10761      no_undefined_flag=' -z defs'
10762      if test yes = "$GCC"; then
10763	wlarc='$wl'
10764	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10765	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10766          $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'
10767      else
10768	case `$CC -V 2>&1` in
10769	*"Compilers 5.0"*)
10770	  wlarc=''
10771	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10772	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10773            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10774	  ;;
10775	*)
10776	  wlarc='$wl'
10777	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10778	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10779            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10780	  ;;
10781	esac
10782      fi
10783      hardcode_libdir_flag_spec='-R$libdir'
10784      hardcode_shlibpath_var=no
10785      case $host_os in
10786      solaris2.[0-5] | solaris2.[0-5].*) ;;
10787      *)
10788	# The compiler driver will combine and reorder linker options,
10789	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10790	# but is careful enough not to reorder.
10791	# Supported since Solaris 2.6 (maybe 2.5.1?)
10792	if test yes = "$GCC"; then
10793	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10794	else
10795	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10796	fi
10797	;;
10798      esac
10799      link_all_deplibs=yes
10800      ;;
10801
10802    sunos4*)
10803      if test sequent = "$host_vendor"; then
10804	# Use $CC to link under sequent, because it throws in some extra .o
10805	# files that make .init and .fini sections work.
10806	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10807      else
10808	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10809      fi
10810      hardcode_libdir_flag_spec='-L$libdir'
10811      hardcode_direct=yes
10812      hardcode_minus_L=yes
10813      hardcode_shlibpath_var=no
10814      ;;
10815
10816    sysv4)
10817      case $host_vendor in
10818	sni)
10819	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10820	  hardcode_direct=yes # is this really true???
10821	;;
10822	siemens)
10823	  ## LD is ld it makes a PLAMLIB
10824	  ## CC just makes a GrossModule.
10825	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10826	  reload_cmds='$CC -r -o $output$reload_objs'
10827	  hardcode_direct=no
10828        ;;
10829	motorola)
10830	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10831	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10832	;;
10833      esac
10834      runpath_var='LD_RUN_PATH'
10835      hardcode_shlibpath_var=no
10836      ;;
10837
10838    sysv4.3*)
10839      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10840      hardcode_shlibpath_var=no
10841      export_dynamic_flag_spec='-Bexport'
10842      ;;
10843
10844    sysv4*MP*)
10845      if test -d /usr/nec; then
10846	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10847	hardcode_shlibpath_var=no
10848	runpath_var=LD_RUN_PATH
10849	hardcode_runpath_var=yes
10850	ld_shlibs=yes
10851      fi
10852      ;;
10853
10854    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10855      no_undefined_flag='$wl-z,text'
10856      archive_cmds_need_lc=no
10857      hardcode_shlibpath_var=no
10858      runpath_var='LD_RUN_PATH'
10859
10860      if test yes = "$GCC"; then
10861	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10862	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10863      else
10864	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10865	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10866      fi
10867      ;;
10868
10869    sysv5* | sco3.2v5* | sco5v6*)
10870      # Note: We CANNOT use -z defs as we might desire, because we do not
10871      # link with -lc, and that would cause any symbols used from libc to
10872      # always be unresolved, which means just about no library would
10873      # ever link correctly.  If we're not using GNU ld we use -z text
10874      # though, which does catch some bad symbols but isn't as heavy-handed
10875      # as -z defs.
10876      no_undefined_flag='$wl-z,text'
10877      allow_undefined_flag='$wl-z,nodefs'
10878      archive_cmds_need_lc=no
10879      hardcode_shlibpath_var=no
10880      hardcode_libdir_flag_spec='$wl-R,$libdir'
10881      hardcode_libdir_separator=':'
10882      link_all_deplibs=yes
10883      export_dynamic_flag_spec='$wl-Bexport'
10884      runpath_var='LD_RUN_PATH'
10885
10886      if test yes = "$GCC"; then
10887	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10888	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10889      else
10890	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10891	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10892      fi
10893      ;;
10894
10895    uts4*)
10896      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10897      hardcode_libdir_flag_spec='-L$libdir'
10898      hardcode_shlibpath_var=no
10899      ;;
10900
10901    *)
10902      ld_shlibs=no
10903      ;;
10904    esac
10905
10906    if test sni = "$host_vendor"; then
10907      case $host in
10908      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10909	export_dynamic_flag_spec='$wl-Blargedynsym'
10910	;;
10911      esac
10912    fi
10913  fi
10914
10915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10916$as_echo "$ld_shlibs" >&6; }
10917test no = "$ld_shlibs" && can_build_shared=no
10918
10919with_gnu_ld=$with_gnu_ld
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935#
10936# Do we need to explicitly link libc?
10937#
10938case "x$archive_cmds_need_lc" in
10939x|xyes)
10940  # Assume -lc should be added
10941  archive_cmds_need_lc=yes
10942
10943  if test yes,yes = "$GCC,$enable_shared"; then
10944    case $archive_cmds in
10945    *'~'*)
10946      # FIXME: we may have to deal with multi-command sequences.
10947      ;;
10948    '$CC '*)
10949      # Test whether the compiler implicitly links with -lc since on some
10950      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10951      # to ld, don't add -lc before -lgcc.
10952      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10953$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10954if ${lt_cv_archive_cmds_need_lc+:} false; then :
10955  $as_echo_n "(cached) " >&6
10956else
10957  $RM conftest*
10958	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10959
10960	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10961  (eval $ac_compile) 2>&5
10962  ac_status=$?
10963  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10964  test $ac_status = 0; } 2>conftest.err; then
10965	  soname=conftest
10966	  lib=conftest
10967	  libobjs=conftest.$ac_objext
10968	  deplibs=
10969	  wl=$lt_prog_compiler_wl
10970	  pic_flag=$lt_prog_compiler_pic
10971	  compiler_flags=-v
10972	  linker_flags=-v
10973	  verstring=
10974	  output_objdir=.
10975	  libname=conftest
10976	  lt_save_allow_undefined_flag=$allow_undefined_flag
10977	  allow_undefined_flag=
10978	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10979  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10980  ac_status=$?
10981  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10982  test $ac_status = 0; }
10983	  then
10984	    lt_cv_archive_cmds_need_lc=no
10985	  else
10986	    lt_cv_archive_cmds_need_lc=yes
10987	  fi
10988	  allow_undefined_flag=$lt_save_allow_undefined_flag
10989	else
10990	  cat conftest.err 1>&5
10991	fi
10992	$RM conftest*
10993
10994fi
10995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10996$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10997      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10998      ;;
10999    esac
11000  fi
11001  ;;
11002esac
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
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11156$as_echo_n "checking dynamic linker characteristics... " >&6; }
11157
11158if test yes = "$GCC"; then
11159  case $host_os in
11160    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11161    *) lt_awk_arg='/^libraries:/' ;;
11162  esac
11163  case $host_os in
11164    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11165    *) lt_sed_strip_eq='s|=/|/|g' ;;
11166  esac
11167  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11168  case $lt_search_path_spec in
11169  *\;*)
11170    # if the path contains ";" then we assume it to be the separator
11171    # otherwise default to the standard path separator (i.e. ":") - it is
11172    # assumed that no part of a normal pathname contains ";" but that should
11173    # okay in the real world where ";" in dirpaths is itself problematic.
11174    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11175    ;;
11176  *)
11177    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11178    ;;
11179  esac
11180  # Ok, now we have the path, separated by spaces, we can step through it
11181  # and add multilib dir if necessary...
11182  lt_tmp_lt_search_path_spec=
11183  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11184  # ...but if some path component already ends with the multilib dir we assume
11185  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11186  case "$lt_multi_os_dir; $lt_search_path_spec " in
11187  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11188    lt_multi_os_dir=
11189    ;;
11190  esac
11191  for lt_sys_path in $lt_search_path_spec; do
11192    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11193      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11194    elif test -n "$lt_multi_os_dir"; then
11195      test -d "$lt_sys_path" && \
11196	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11197    fi
11198  done
11199  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11200BEGIN {RS = " "; FS = "/|\n";} {
11201  lt_foo = "";
11202  lt_count = 0;
11203  for (lt_i = NF; lt_i > 0; lt_i--) {
11204    if ($lt_i != "" && $lt_i != ".") {
11205      if ($lt_i == "..") {
11206        lt_count++;
11207      } else {
11208        if (lt_count == 0) {
11209          lt_foo = "/" $lt_i lt_foo;
11210        } else {
11211          lt_count--;
11212        }
11213      }
11214    }
11215  }
11216  if (lt_foo != "") { lt_freq[lt_foo]++; }
11217  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11218}'`
11219  # AWK program above erroneously prepends '/' to C:/dos/paths
11220  # for these hosts.
11221  case $host_os in
11222    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11223      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11224  esac
11225  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11226else
11227  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11228fi
11229library_names_spec=
11230libname_spec='lib$name'
11231soname_spec=
11232shrext_cmds=.so
11233postinstall_cmds=
11234postuninstall_cmds=
11235finish_cmds=
11236finish_eval=
11237shlibpath_var=
11238shlibpath_overrides_runpath=unknown
11239version_type=none
11240dynamic_linker="$host_os ld.so"
11241sys_lib_dlsearch_path_spec="/lib /usr/lib"
11242need_lib_prefix=unknown
11243hardcode_into_libs=no
11244
11245# when you set need_version to no, make sure it does not cause -set_version
11246# flags to be left without arguments
11247need_version=unknown
11248
11249
11250
11251case $host_os in
11252aix3*)
11253  version_type=linux # correct to gnu/linux during the next big refactor
11254  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11255  shlibpath_var=LIBPATH
11256
11257  # AIX 3 has no versioning support, so we append a major version to the name.
11258  soname_spec='$libname$release$shared_ext$major'
11259  ;;
11260
11261aix[4-9]*)
11262  version_type=linux # correct to gnu/linux during the next big refactor
11263  need_lib_prefix=no
11264  need_version=no
11265  hardcode_into_libs=yes
11266  if test ia64 = "$host_cpu"; then
11267    # AIX 5 supports IA64
11268    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11269    shlibpath_var=LD_LIBRARY_PATH
11270  else
11271    # With GCC up to 2.95.x, collect2 would create an import file
11272    # for dependence libraries.  The import file would start with
11273    # the line '#! .'.  This would cause the generated library to
11274    # depend on '.', always an invalid library.  This was fixed in
11275    # development snapshots of GCC prior to 3.0.
11276    case $host_os in
11277      aix4 | aix4.[01] | aix4.[01].*)
11278      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11279	   echo ' yes '
11280	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11281	:
11282      else
11283	can_build_shared=no
11284      fi
11285      ;;
11286    esac
11287    # Using Import Files as archive members, it is possible to support
11288    # filename-based versioning of shared library archives on AIX. While
11289    # this would work for both with and without runtime linking, it will
11290    # prevent static linking of such archives. So we do filename-based
11291    # shared library versioning with .so extension only, which is used
11292    # when both runtime linking and shared linking is enabled.
11293    # Unfortunately, runtime linking may impact performance, so we do
11294    # not want this to be the default eventually. Also, we use the
11295    # versioned .so libs for executables only if there is the -brtl
11296    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11297    # To allow for filename-based versioning support, we need to create
11298    # libNAME.so.V as an archive file, containing:
11299    # *) an Import File, referring to the versioned filename of the
11300    #    archive as well as the shared archive member, telling the
11301    #    bitwidth (32 or 64) of that shared object, and providing the
11302    #    list of exported symbols of that shared object, eventually
11303    #    decorated with the 'weak' keyword
11304    # *) the shared object with the F_LOADONLY flag set, to really avoid
11305    #    it being seen by the linker.
11306    # At run time we better use the real file rather than another symlink,
11307    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11308
11309    case $with_aix_soname,$aix_use_runtimelinking in
11310    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11311    # soname into executable. Probably we can add versioning support to
11312    # collect2, so additional links can be useful in future.
11313    aix,yes) # traditional libtool
11314      dynamic_linker='AIX unversionable lib.so'
11315      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11316      # instead of lib<name>.a to let people know that these are not
11317      # typical AIX shared libraries.
11318      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11319      ;;
11320    aix,no) # traditional AIX only
11321      dynamic_linker='AIX lib.a(lib.so.V)'
11322      # We preserve .a as extension for shared libraries through AIX4.2
11323      # and later when we are not doing run time linking.
11324      library_names_spec='$libname$release.a $libname.a'
11325      soname_spec='$libname$release$shared_ext$major'
11326      ;;
11327    svr4,*) # full svr4 only
11328      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11329      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11330      # We do not specify a path in Import Files, so LIBPATH fires.
11331      shlibpath_overrides_runpath=yes
11332      ;;
11333    *,yes) # both, prefer svr4
11334      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11335      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11336      # unpreferred sharedlib libNAME.a needs extra handling
11337      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"'
11338      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"'
11339      # We do not specify a path in Import Files, so LIBPATH fires.
11340      shlibpath_overrides_runpath=yes
11341      ;;
11342    *,no) # both, prefer aix
11343      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11344      library_names_spec='$libname$release.a $libname.a'
11345      soname_spec='$libname$release$shared_ext$major'
11346      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11347      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)'
11348      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"'
11349      ;;
11350    esac
11351    shlibpath_var=LIBPATH
11352  fi
11353  ;;
11354
11355amigaos*)
11356  case $host_cpu in
11357  powerpc)
11358    # Since July 2007 AmigaOS4 officially supports .so libraries.
11359    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11360    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11361    ;;
11362  m68k)
11363    library_names_spec='$libname.ixlibrary $libname.a'
11364    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11365    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'
11366    ;;
11367  esac
11368  ;;
11369
11370beos*)
11371  library_names_spec='$libname$shared_ext'
11372  dynamic_linker="$host_os ld.so"
11373  shlibpath_var=LIBRARY_PATH
11374  ;;
11375
11376bsdi[45]*)
11377  version_type=linux # correct to gnu/linux during the next big refactor
11378  need_version=no
11379  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11380  soname_spec='$libname$release$shared_ext$major'
11381  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11382  shlibpath_var=LD_LIBRARY_PATH
11383  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11384  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11385  # the default ld.so.conf also contains /usr/contrib/lib and
11386  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11387  # libtool to hard-code these into programs
11388  ;;
11389
11390cygwin* | mingw* | pw32* | cegcc*)
11391  version_type=windows
11392  shrext_cmds=.dll
11393  need_version=no
11394  need_lib_prefix=no
11395
11396  case $GCC,$cc_basename in
11397  yes,*)
11398    # gcc
11399    library_names_spec='$libname.dll.a'
11400    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11401    postinstall_cmds='base_file=`basename \$file`~
11402      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11403      dldir=$destdir/`dirname \$dlpath`~
11404      test -d \$dldir || mkdir -p \$dldir~
11405      $install_prog $dir/$dlname \$dldir/$dlname~
11406      chmod a+x \$dldir/$dlname~
11407      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11408        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11409      fi'
11410    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11411      dlpath=$dir/\$dldll~
11412       $RM \$dlpath'
11413    shlibpath_overrides_runpath=yes
11414
11415    case $host_os in
11416    cygwin*)
11417      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11418      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11419
11420      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11421      ;;
11422    mingw* | cegcc*)
11423      # MinGW DLLs use traditional 'lib' prefix
11424      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11425      ;;
11426    pw32*)
11427      # pw32 DLLs use 'pw' prefix rather than 'lib'
11428      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11429      ;;
11430    esac
11431    dynamic_linker='Win32 ld.exe'
11432    ;;
11433
11434  *,cl* | *,icl*)
11435    # Native MSVC or ICC
11436    libname_spec='$name'
11437    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11438    library_names_spec='$libname.dll.lib'
11439
11440    case $build_os in
11441    mingw*)
11442      sys_lib_search_path_spec=
11443      lt_save_ifs=$IFS
11444      IFS=';'
11445      for lt_path in $LIB
11446      do
11447        IFS=$lt_save_ifs
11448        # Let DOS variable expansion print the short 8.3 style file name.
11449        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11450        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11451      done
11452      IFS=$lt_save_ifs
11453      # Convert to MSYS style.
11454      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11455      ;;
11456    cygwin*)
11457      # Convert to unix form, then to dos form, then back to unix form
11458      # but this time dos style (no spaces!) so that the unix form looks
11459      # like /cygdrive/c/PROGRA~1:/cygdr...
11460      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11461      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11462      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11463      ;;
11464    *)
11465      sys_lib_search_path_spec=$LIB
11466      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11467        # It is most probably a Windows format PATH.
11468        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11469      else
11470        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11471      fi
11472      # FIXME: find the short name or the path components, as spaces are
11473      # common. (e.g. "Program Files" -> "PROGRA~1")
11474      ;;
11475    esac
11476
11477    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11478    postinstall_cmds='base_file=`basename \$file`~
11479      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11480      dldir=$destdir/`dirname \$dlpath`~
11481      test -d \$dldir || mkdir -p \$dldir~
11482      $install_prog $dir/$dlname \$dldir/$dlname'
11483    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11484      dlpath=$dir/\$dldll~
11485       $RM \$dlpath'
11486    shlibpath_overrides_runpath=yes
11487    dynamic_linker='Win32 link.exe'
11488    ;;
11489
11490  *)
11491    # Assume MSVC and ICC wrapper
11492    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11493    dynamic_linker='Win32 ld.exe'
11494    ;;
11495  esac
11496  # FIXME: first we should search . and the directory the executable is in
11497  shlibpath_var=PATH
11498  ;;
11499
11500darwin* | rhapsody*)
11501  dynamic_linker="$host_os dyld"
11502  version_type=darwin
11503  need_lib_prefix=no
11504  need_version=no
11505  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11506  soname_spec='$libname$release$major$shared_ext'
11507  shlibpath_overrides_runpath=yes
11508  shlibpath_var=DYLD_LIBRARY_PATH
11509  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11510
11511  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11512  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11513  ;;
11514
11515dgux*)
11516  version_type=linux # correct to gnu/linux during the next big refactor
11517  need_lib_prefix=no
11518  need_version=no
11519  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11520  soname_spec='$libname$release$shared_ext$major'
11521  shlibpath_var=LD_LIBRARY_PATH
11522  ;;
11523
11524freebsd* | dragonfly*)
11525  # DragonFly does not have aout.  When/if they implement a new
11526  # versioning mechanism, adjust this.
11527  if test -x /usr/bin/objformat; then
11528    objformat=`/usr/bin/objformat`
11529  else
11530    case $host_os in
11531    freebsd[23].*) objformat=aout ;;
11532    *) objformat=elf ;;
11533    esac
11534  fi
11535  version_type=freebsd-$objformat
11536  case $version_type in
11537    freebsd-elf*)
11538      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11539      soname_spec='$libname$release$shared_ext$major'
11540      need_version=no
11541      need_lib_prefix=no
11542      ;;
11543    freebsd-*)
11544      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11545      need_version=yes
11546      ;;
11547  esac
11548  shlibpath_var=LD_LIBRARY_PATH
11549  case $host_os in
11550  freebsd2.*)
11551    shlibpath_overrides_runpath=yes
11552    ;;
11553  freebsd3.[01]* | freebsdelf3.[01]*)
11554    shlibpath_overrides_runpath=yes
11555    hardcode_into_libs=yes
11556    ;;
11557  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11558  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11559    shlibpath_overrides_runpath=no
11560    hardcode_into_libs=yes
11561    ;;
11562  *) # from 4.6 on, and DragonFly
11563    shlibpath_overrides_runpath=yes
11564    hardcode_into_libs=yes
11565    ;;
11566  esac
11567  ;;
11568
11569haiku*)
11570  version_type=linux # correct to gnu/linux during the next big refactor
11571  need_lib_prefix=no
11572  need_version=no
11573  dynamic_linker="$host_os runtime_loader"
11574  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11575  soname_spec='$libname$release$shared_ext$major'
11576  shlibpath_var=LIBRARY_PATH
11577  shlibpath_overrides_runpath=no
11578  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11579  hardcode_into_libs=yes
11580  ;;
11581
11582hpux9* | hpux10* | hpux11*)
11583  # Give a soname corresponding to the major version so that dld.sl refuses to
11584  # link against other versions.
11585  version_type=sunos
11586  need_lib_prefix=no
11587  need_version=no
11588  case $host_cpu in
11589  ia64*)
11590    shrext_cmds='.so'
11591    hardcode_into_libs=yes
11592    dynamic_linker="$host_os dld.so"
11593    shlibpath_var=LD_LIBRARY_PATH
11594    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11595    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11596    soname_spec='$libname$release$shared_ext$major'
11597    if test 32 = "$HPUX_IA64_MODE"; then
11598      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11599      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11600    else
11601      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11602      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11603    fi
11604    ;;
11605  hppa*64*)
11606    shrext_cmds='.sl'
11607    hardcode_into_libs=yes
11608    dynamic_linker="$host_os dld.sl"
11609    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11610    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11611    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11612    soname_spec='$libname$release$shared_ext$major'
11613    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11614    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11615    ;;
11616  *)
11617    shrext_cmds='.sl'
11618    dynamic_linker="$host_os dld.sl"
11619    shlibpath_var=SHLIB_PATH
11620    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11621    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11622    soname_spec='$libname$release$shared_ext$major'
11623    ;;
11624  esac
11625  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11626  postinstall_cmds='chmod 555 $lib'
11627  # or fails outright, so override atomically:
11628  install_override_mode=555
11629  ;;
11630
11631interix[3-9]*)
11632  version_type=linux # correct to gnu/linux during the next big refactor
11633  need_lib_prefix=no
11634  need_version=no
11635  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11636  soname_spec='$libname$release$shared_ext$major'
11637  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11638  shlibpath_var=LD_LIBRARY_PATH
11639  shlibpath_overrides_runpath=no
11640  hardcode_into_libs=yes
11641  ;;
11642
11643irix5* | irix6* | nonstopux*)
11644  case $host_os in
11645    nonstopux*) version_type=nonstopux ;;
11646    *)
11647	if test yes = "$lt_cv_prog_gnu_ld"; then
11648		version_type=linux # correct to gnu/linux during the next big refactor
11649	else
11650		version_type=irix
11651	fi ;;
11652  esac
11653  need_lib_prefix=no
11654  need_version=no
11655  soname_spec='$libname$release$shared_ext$major'
11656  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11657  case $host_os in
11658  irix5* | nonstopux*)
11659    libsuff= shlibsuff=
11660    ;;
11661  *)
11662    case $LD in # libtool.m4 will add one of these switches to LD
11663    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11664      libsuff= shlibsuff= libmagic=32-bit;;
11665    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11666      libsuff=32 shlibsuff=N32 libmagic=N32;;
11667    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11668      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11669    *) libsuff= shlibsuff= libmagic=never-match;;
11670    esac
11671    ;;
11672  esac
11673  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11674  shlibpath_overrides_runpath=no
11675  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11676  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11677  hardcode_into_libs=yes
11678  ;;
11679
11680# No shared lib support for Linux oldld, aout, or coff.
11681linux*oldld* | linux*aout* | linux*coff*)
11682  dynamic_linker=no
11683  ;;
11684
11685linux*android*)
11686  version_type=none # Android doesn't support versioned libraries.
11687  need_lib_prefix=no
11688  need_version=no
11689  library_names_spec='$libname$release$shared_ext'
11690  soname_spec='$libname$release$shared_ext'
11691  finish_cmds=
11692  shlibpath_var=LD_LIBRARY_PATH
11693  shlibpath_overrides_runpath=yes
11694
11695  # This implies no fast_install, which is unacceptable.
11696  # Some rework will be needed to allow for fast_install
11697  # before this can be enabled.
11698  hardcode_into_libs=yes
11699
11700  dynamic_linker='Android linker'
11701  # Don't embed -rpath directories since the linker doesn't support them.
11702  hardcode_libdir_flag_spec='-L$libdir'
11703  ;;
11704
11705# This must be glibc/ELF.
11706linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11707  version_type=linux # correct to gnu/linux during the next big refactor
11708  need_lib_prefix=no
11709  need_version=no
11710  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11711  soname_spec='$libname$release$shared_ext$major'
11712  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11713  shlibpath_var=LD_LIBRARY_PATH
11714  shlibpath_overrides_runpath=no
11715
11716  # Some binutils ld are patched to set DT_RUNPATH
11717  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11718  $as_echo_n "(cached) " >&6
11719else
11720  lt_cv_shlibpath_overrides_runpath=no
11721    save_LDFLAGS=$LDFLAGS
11722    save_libdir=$libdir
11723    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11724	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11725    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11726/* end confdefs.h.  */
11727
11728int
11729main ()
11730{
11731
11732  ;
11733  return 0;
11734}
11735_ACEOF
11736if ac_fn_c_try_link "$LINENO"; then :
11737  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11738  lt_cv_shlibpath_overrides_runpath=yes
11739fi
11740fi
11741rm -f core conftest.err conftest.$ac_objext \
11742    conftest$ac_exeext conftest.$ac_ext
11743    LDFLAGS=$save_LDFLAGS
11744    libdir=$save_libdir
11745
11746fi
11747
11748  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11749
11750  # This implies no fast_install, which is unacceptable.
11751  # Some rework will be needed to allow for fast_install
11752  # before this can be enabled.
11753  hardcode_into_libs=yes
11754
11755  # Ideally, we could use ldconfig to report *all* directores which are
11756  # searched for libraries, however this is still not possible.  Aside from not
11757  # being certain /sbin/ldconfig is available, command
11758  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11759  # even though it is searched at run-time.  Try to do the best guess by
11760  # appending ld.so.conf contents (and includes) to the search path.
11761  if test -f /etc/ld.so.conf; then
11762    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' ' '`
11763    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11764  fi
11765
11766  # We used to test for /lib/ld.so.1 and disable shared libraries on
11767  # powerpc, because MkLinux only supported shared libraries with the
11768  # GNU dynamic linker.  Since this was broken with cross compilers,
11769  # most powerpc-linux boxes support dynamic linking these days and
11770  # people can always --disable-shared, the test was removed, and we
11771  # assume the GNU/Linux dynamic linker is in use.
11772  dynamic_linker='GNU/Linux ld.so'
11773  ;;
11774
11775netbsd*)
11776  version_type=sunos
11777  need_lib_prefix=no
11778  need_version=no
11779  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11780    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11781    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11782    dynamic_linker='NetBSD (a.out) ld.so'
11783  else
11784    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11785    soname_spec='$libname$release$shared_ext$major'
11786    dynamic_linker='NetBSD ld.elf_so'
11787  fi
11788  shlibpath_var=LD_LIBRARY_PATH
11789  shlibpath_overrides_runpath=yes
11790  hardcode_into_libs=yes
11791  ;;
11792
11793newsos6)
11794  version_type=linux # correct to gnu/linux during the next big refactor
11795  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11796  shlibpath_var=LD_LIBRARY_PATH
11797  shlibpath_overrides_runpath=yes
11798  ;;
11799
11800*nto* | *qnx*)
11801  version_type=qnx
11802  need_lib_prefix=no
11803  need_version=no
11804  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11805  soname_spec='$libname$release$shared_ext$major'
11806  shlibpath_var=LD_LIBRARY_PATH
11807  shlibpath_overrides_runpath=no
11808  hardcode_into_libs=yes
11809  dynamic_linker='ldqnx.so'
11810  ;;
11811
11812openbsd* | bitrig*)
11813  version_type=sunos
11814  sys_lib_dlsearch_path_spec=/usr/lib
11815  need_lib_prefix=no
11816  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11817    need_version=no
11818  else
11819    need_version=yes
11820  fi
11821  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11822  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11823  shlibpath_var=LD_LIBRARY_PATH
11824  shlibpath_overrides_runpath=yes
11825  ;;
11826
11827os2*)
11828  libname_spec='$name'
11829  version_type=windows
11830  shrext_cmds=.dll
11831  need_version=no
11832  need_lib_prefix=no
11833  # OS/2 can only load a DLL with a base name of 8 characters or less.
11834  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11835    v=$($ECHO $release$versuffix | tr -d .-);
11836    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11837    $ECHO $n$v`$shared_ext'
11838  library_names_spec='${libname}_dll.$libext'
11839  dynamic_linker='OS/2 ld.exe'
11840  shlibpath_var=BEGINLIBPATH
11841  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11842  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11843  postinstall_cmds='base_file=`basename \$file`~
11844    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11845    dldir=$destdir/`dirname \$dlpath`~
11846    test -d \$dldir || mkdir -p \$dldir~
11847    $install_prog $dir/$dlname \$dldir/$dlname~
11848    chmod a+x \$dldir/$dlname~
11849    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11850      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11851    fi'
11852  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11853    dlpath=$dir/\$dldll~
11854    $RM \$dlpath'
11855  ;;
11856
11857osf3* | osf4* | osf5*)
11858  version_type=osf
11859  need_lib_prefix=no
11860  need_version=no
11861  soname_spec='$libname$release$shared_ext$major'
11862  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11863  shlibpath_var=LD_LIBRARY_PATH
11864  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11865  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11866  ;;
11867
11868rdos*)
11869  dynamic_linker=no
11870  ;;
11871
11872solaris*)
11873  version_type=linux # correct to gnu/linux during the next big refactor
11874  need_lib_prefix=no
11875  need_version=no
11876  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11877  soname_spec='$libname$release$shared_ext$major'
11878  shlibpath_var=LD_LIBRARY_PATH
11879  shlibpath_overrides_runpath=yes
11880  hardcode_into_libs=yes
11881  # ldd complains unless libraries are executable
11882  postinstall_cmds='chmod +x $lib'
11883  ;;
11884
11885sunos4*)
11886  version_type=sunos
11887  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11888  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11889  shlibpath_var=LD_LIBRARY_PATH
11890  shlibpath_overrides_runpath=yes
11891  if test yes = "$with_gnu_ld"; then
11892    need_lib_prefix=no
11893  fi
11894  need_version=yes
11895  ;;
11896
11897sysv4 | sysv4.3*)
11898  version_type=linux # correct to gnu/linux during the next big refactor
11899  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11900  soname_spec='$libname$release$shared_ext$major'
11901  shlibpath_var=LD_LIBRARY_PATH
11902  case $host_vendor in
11903    sni)
11904      shlibpath_overrides_runpath=no
11905      need_lib_prefix=no
11906      runpath_var=LD_RUN_PATH
11907      ;;
11908    siemens)
11909      need_lib_prefix=no
11910      ;;
11911    motorola)
11912      need_lib_prefix=no
11913      need_version=no
11914      shlibpath_overrides_runpath=no
11915      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11916      ;;
11917  esac
11918  ;;
11919
11920sysv4*MP*)
11921  if test -d /usr/nec; then
11922    version_type=linux # correct to gnu/linux during the next big refactor
11923    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11924    soname_spec='$libname$shared_ext.$major'
11925    shlibpath_var=LD_LIBRARY_PATH
11926  fi
11927  ;;
11928
11929sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11930  version_type=sco
11931  need_lib_prefix=no
11932  need_version=no
11933  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11934  soname_spec='$libname$release$shared_ext$major'
11935  shlibpath_var=LD_LIBRARY_PATH
11936  shlibpath_overrides_runpath=yes
11937  hardcode_into_libs=yes
11938  if test yes = "$with_gnu_ld"; then
11939    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11940  else
11941    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11942    case $host_os in
11943      sco3.2v5*)
11944        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11945	;;
11946    esac
11947  fi
11948  sys_lib_dlsearch_path_spec='/usr/lib'
11949  ;;
11950
11951tpf*)
11952  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11953  version_type=linux # correct to gnu/linux during the next big refactor
11954  need_lib_prefix=no
11955  need_version=no
11956  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11957  shlibpath_var=LD_LIBRARY_PATH
11958  shlibpath_overrides_runpath=no
11959  hardcode_into_libs=yes
11960  ;;
11961
11962uts4*)
11963  version_type=linux # correct to gnu/linux during the next big refactor
11964  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11965  soname_spec='$libname$release$shared_ext$major'
11966  shlibpath_var=LD_LIBRARY_PATH
11967  ;;
11968
11969*)
11970  dynamic_linker=no
11971  ;;
11972esac
11973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11974$as_echo "$dynamic_linker" >&6; }
11975test no = "$dynamic_linker" && can_build_shared=no
11976
11977variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11978if test yes = "$GCC"; then
11979  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11980fi
11981
11982if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11983  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11984fi
11985
11986if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11987  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11988fi
11989
11990# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11991configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11992
11993# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11994func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11995
11996# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11997configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12096$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12097hardcode_action=
12098if test -n "$hardcode_libdir_flag_spec" ||
12099   test -n "$runpath_var" ||
12100   test yes = "$hardcode_automatic"; then
12101
12102  # We can hardcode non-existent directories.
12103  if test no != "$hardcode_direct" &&
12104     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12105     # have to relink, otherwise we might link with an installed library
12106     # when we should be linking with a yet-to-be-installed one
12107     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12108     test no != "$hardcode_minus_L"; then
12109    # Linking always hardcodes the temporary library directory.
12110    hardcode_action=relink
12111  else
12112    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12113    hardcode_action=immediate
12114  fi
12115else
12116  # We cannot hardcode anything, or else we can only hardcode existing
12117  # directories.
12118  hardcode_action=unsupported
12119fi
12120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12121$as_echo "$hardcode_action" >&6; }
12122
12123if test relink = "$hardcode_action" ||
12124   test yes = "$inherit_rpath"; then
12125  # Fast installation is not supported
12126  enable_fast_install=no
12127elif test yes = "$shlibpath_overrides_runpath" ||
12128     test no = "$enable_shared"; then
12129  # Fast installation is not necessary
12130  enable_fast_install=needless
12131fi
12132
12133
12134
12135
12136
12137
12138  if test yes != "$enable_dlopen"; then
12139  enable_dlopen=unknown
12140  enable_dlopen_self=unknown
12141  enable_dlopen_self_static=unknown
12142else
12143  lt_cv_dlopen=no
12144  lt_cv_dlopen_libs=
12145
12146  case $host_os in
12147  beos*)
12148    lt_cv_dlopen=load_add_on
12149    lt_cv_dlopen_libs=
12150    lt_cv_dlopen_self=yes
12151    ;;
12152
12153  mingw* | pw32* | cegcc*)
12154    lt_cv_dlopen=LoadLibrary
12155    lt_cv_dlopen_libs=
12156    ;;
12157
12158  cygwin*)
12159    lt_cv_dlopen=dlopen
12160    lt_cv_dlopen_libs=
12161    ;;
12162
12163  darwin*)
12164    # if libdl is installed we need to link against it
12165    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12166$as_echo_n "checking for dlopen in -ldl... " >&6; }
12167if ${ac_cv_lib_dl_dlopen+:} false; then :
12168  $as_echo_n "(cached) " >&6
12169else
12170  ac_check_lib_save_LIBS=$LIBS
12171LIBS="-ldl  $LIBS"
12172cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12173/* end confdefs.h.  */
12174
12175/* Override any GCC internal prototype to avoid an error.
12176   Use char because int might match the return type of a GCC
12177   builtin and then its argument prototype would still apply.  */
12178#ifdef __cplusplus
12179extern "C"
12180#endif
12181char dlopen ();
12182int
12183main ()
12184{
12185return dlopen ();
12186  ;
12187  return 0;
12188}
12189_ACEOF
12190if ac_fn_c_try_link "$LINENO"; then :
12191  ac_cv_lib_dl_dlopen=yes
12192else
12193  ac_cv_lib_dl_dlopen=no
12194fi
12195rm -f core conftest.err conftest.$ac_objext \
12196    conftest$ac_exeext conftest.$ac_ext
12197LIBS=$ac_check_lib_save_LIBS
12198fi
12199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12200$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12201if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12202  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12203else
12204
12205    lt_cv_dlopen=dyld
12206    lt_cv_dlopen_libs=
12207    lt_cv_dlopen_self=yes
12208
12209fi
12210
12211    ;;
12212
12213  tpf*)
12214    # Don't try to run any link tests for TPF.  We know it's impossible
12215    # because TPF is a cross-compiler, and we know how we open DSOs.
12216    lt_cv_dlopen=dlopen
12217    lt_cv_dlopen_libs=
12218    lt_cv_dlopen_self=no
12219    ;;
12220
12221  *)
12222    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12223if test "x$ac_cv_func_shl_load" = xyes; then :
12224  lt_cv_dlopen=shl_load
12225else
12226  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12227$as_echo_n "checking for shl_load in -ldld... " >&6; }
12228if ${ac_cv_lib_dld_shl_load+:} false; then :
12229  $as_echo_n "(cached) " >&6
12230else
12231  ac_check_lib_save_LIBS=$LIBS
12232LIBS="-ldld  $LIBS"
12233cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12234/* end confdefs.h.  */
12235
12236/* Override any GCC internal prototype to avoid an error.
12237   Use char because int might match the return type of a GCC
12238   builtin and then its argument prototype would still apply.  */
12239#ifdef __cplusplus
12240extern "C"
12241#endif
12242char shl_load ();
12243int
12244main ()
12245{
12246return shl_load ();
12247  ;
12248  return 0;
12249}
12250_ACEOF
12251if ac_fn_c_try_link "$LINENO"; then :
12252  ac_cv_lib_dld_shl_load=yes
12253else
12254  ac_cv_lib_dld_shl_load=no
12255fi
12256rm -f core conftest.err conftest.$ac_objext \
12257    conftest$ac_exeext conftest.$ac_ext
12258LIBS=$ac_check_lib_save_LIBS
12259fi
12260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12261$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12262if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12263  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12264else
12265  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12266if test "x$ac_cv_func_dlopen" = xyes; then :
12267  lt_cv_dlopen=dlopen
12268else
12269  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12270$as_echo_n "checking for dlopen in -ldl... " >&6; }
12271if ${ac_cv_lib_dl_dlopen+:} false; then :
12272  $as_echo_n "(cached) " >&6
12273else
12274  ac_check_lib_save_LIBS=$LIBS
12275LIBS="-ldl  $LIBS"
12276cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12277/* end confdefs.h.  */
12278
12279/* Override any GCC internal prototype to avoid an error.
12280   Use char because int might match the return type of a GCC
12281   builtin and then its argument prototype would still apply.  */
12282#ifdef __cplusplus
12283extern "C"
12284#endif
12285char dlopen ();
12286int
12287main ()
12288{
12289return dlopen ();
12290  ;
12291  return 0;
12292}
12293_ACEOF
12294if ac_fn_c_try_link "$LINENO"; then :
12295  ac_cv_lib_dl_dlopen=yes
12296else
12297  ac_cv_lib_dl_dlopen=no
12298fi
12299rm -f core conftest.err conftest.$ac_objext \
12300    conftest$ac_exeext conftest.$ac_ext
12301LIBS=$ac_check_lib_save_LIBS
12302fi
12303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12304$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12305if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12306  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12307else
12308  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12309$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12310if ${ac_cv_lib_svld_dlopen+:} false; then :
12311  $as_echo_n "(cached) " >&6
12312else
12313  ac_check_lib_save_LIBS=$LIBS
12314LIBS="-lsvld  $LIBS"
12315cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12316/* end confdefs.h.  */
12317
12318/* Override any GCC internal prototype to avoid an error.
12319   Use char because int might match the return type of a GCC
12320   builtin and then its argument prototype would still apply.  */
12321#ifdef __cplusplus
12322extern "C"
12323#endif
12324char dlopen ();
12325int
12326main ()
12327{
12328return dlopen ();
12329  ;
12330  return 0;
12331}
12332_ACEOF
12333if ac_fn_c_try_link "$LINENO"; then :
12334  ac_cv_lib_svld_dlopen=yes
12335else
12336  ac_cv_lib_svld_dlopen=no
12337fi
12338rm -f core conftest.err conftest.$ac_objext \
12339    conftest$ac_exeext conftest.$ac_ext
12340LIBS=$ac_check_lib_save_LIBS
12341fi
12342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12343$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12344if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12345  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12346else
12347  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12348$as_echo_n "checking for dld_link in -ldld... " >&6; }
12349if ${ac_cv_lib_dld_dld_link+:} false; then :
12350  $as_echo_n "(cached) " >&6
12351else
12352  ac_check_lib_save_LIBS=$LIBS
12353LIBS="-ldld  $LIBS"
12354cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12355/* end confdefs.h.  */
12356
12357/* Override any GCC internal prototype to avoid an error.
12358   Use char because int might match the return type of a GCC
12359   builtin and then its argument prototype would still apply.  */
12360#ifdef __cplusplus
12361extern "C"
12362#endif
12363char dld_link ();
12364int
12365main ()
12366{
12367return dld_link ();
12368  ;
12369  return 0;
12370}
12371_ACEOF
12372if ac_fn_c_try_link "$LINENO"; then :
12373  ac_cv_lib_dld_dld_link=yes
12374else
12375  ac_cv_lib_dld_dld_link=no
12376fi
12377rm -f core conftest.err conftest.$ac_objext \
12378    conftest$ac_exeext conftest.$ac_ext
12379LIBS=$ac_check_lib_save_LIBS
12380fi
12381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12382$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12383if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12384  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12385fi
12386
12387
12388fi
12389
12390
12391fi
12392
12393
12394fi
12395
12396
12397fi
12398
12399
12400fi
12401
12402    ;;
12403  esac
12404
12405  if test no = "$lt_cv_dlopen"; then
12406    enable_dlopen=no
12407  else
12408    enable_dlopen=yes
12409  fi
12410
12411  case $lt_cv_dlopen in
12412  dlopen)
12413    save_CPPFLAGS=$CPPFLAGS
12414    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12415
12416    save_LDFLAGS=$LDFLAGS
12417    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12418
12419    save_LIBS=$LIBS
12420    LIBS="$lt_cv_dlopen_libs $LIBS"
12421
12422    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12423$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12424if ${lt_cv_dlopen_self+:} false; then :
12425  $as_echo_n "(cached) " >&6
12426else
12427  	  if test yes = "$cross_compiling"; then :
12428  lt_cv_dlopen_self=cross
12429else
12430  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12431  lt_status=$lt_dlunknown
12432  cat > conftest.$ac_ext <<_LT_EOF
12433#line $LINENO "configure"
12434#include "confdefs.h"
12435
12436#if HAVE_DLFCN_H
12437#include <dlfcn.h>
12438#endif
12439
12440#include <stdio.h>
12441
12442#ifdef RTLD_GLOBAL
12443#  define LT_DLGLOBAL		RTLD_GLOBAL
12444#else
12445#  ifdef DL_GLOBAL
12446#    define LT_DLGLOBAL		DL_GLOBAL
12447#  else
12448#    define LT_DLGLOBAL		0
12449#  endif
12450#endif
12451
12452/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12453   find out it does not work in some platform. */
12454#ifndef LT_DLLAZY_OR_NOW
12455#  ifdef RTLD_LAZY
12456#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12457#  else
12458#    ifdef DL_LAZY
12459#      define LT_DLLAZY_OR_NOW		DL_LAZY
12460#    else
12461#      ifdef RTLD_NOW
12462#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12463#      else
12464#        ifdef DL_NOW
12465#          define LT_DLLAZY_OR_NOW	DL_NOW
12466#        else
12467#          define LT_DLLAZY_OR_NOW	0
12468#        endif
12469#      endif
12470#    endif
12471#  endif
12472#endif
12473
12474/* When -fvisibility=hidden is used, assume the code has been annotated
12475   correspondingly for the symbols needed.  */
12476#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12477int fnord () __attribute__((visibility("default")));
12478#endif
12479
12480int fnord () { return 42; }
12481int main ()
12482{
12483  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12484  int status = $lt_dlunknown;
12485
12486  if (self)
12487    {
12488      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12489      else
12490        {
12491	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12492          else puts (dlerror ());
12493	}
12494      /* dlclose (self); */
12495    }
12496  else
12497    puts (dlerror ());
12498
12499  return status;
12500}
12501_LT_EOF
12502  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12503  (eval $ac_link) 2>&5
12504  ac_status=$?
12505  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12506  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12507    (./conftest; exit; ) >&5 2>/dev/null
12508    lt_status=$?
12509    case x$lt_status in
12510      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12511      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12512      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12513    esac
12514  else :
12515    # compilation failed
12516    lt_cv_dlopen_self=no
12517  fi
12518fi
12519rm -fr conftest*
12520
12521
12522fi
12523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12524$as_echo "$lt_cv_dlopen_self" >&6; }
12525
12526    if test yes = "$lt_cv_dlopen_self"; then
12527      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12528      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12529$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12530if ${lt_cv_dlopen_self_static+:} false; then :
12531  $as_echo_n "(cached) " >&6
12532else
12533  	  if test yes = "$cross_compiling"; then :
12534  lt_cv_dlopen_self_static=cross
12535else
12536  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12537  lt_status=$lt_dlunknown
12538  cat > conftest.$ac_ext <<_LT_EOF
12539#line $LINENO "configure"
12540#include "confdefs.h"
12541
12542#if HAVE_DLFCN_H
12543#include <dlfcn.h>
12544#endif
12545
12546#include <stdio.h>
12547
12548#ifdef RTLD_GLOBAL
12549#  define LT_DLGLOBAL		RTLD_GLOBAL
12550#else
12551#  ifdef DL_GLOBAL
12552#    define LT_DLGLOBAL		DL_GLOBAL
12553#  else
12554#    define LT_DLGLOBAL		0
12555#  endif
12556#endif
12557
12558/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12559   find out it does not work in some platform. */
12560#ifndef LT_DLLAZY_OR_NOW
12561#  ifdef RTLD_LAZY
12562#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12563#  else
12564#    ifdef DL_LAZY
12565#      define LT_DLLAZY_OR_NOW		DL_LAZY
12566#    else
12567#      ifdef RTLD_NOW
12568#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12569#      else
12570#        ifdef DL_NOW
12571#          define LT_DLLAZY_OR_NOW	DL_NOW
12572#        else
12573#          define LT_DLLAZY_OR_NOW	0
12574#        endif
12575#      endif
12576#    endif
12577#  endif
12578#endif
12579
12580/* When -fvisibility=hidden is used, assume the code has been annotated
12581   correspondingly for the symbols needed.  */
12582#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12583int fnord () __attribute__((visibility("default")));
12584#endif
12585
12586int fnord () { return 42; }
12587int main ()
12588{
12589  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12590  int status = $lt_dlunknown;
12591
12592  if (self)
12593    {
12594      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12595      else
12596        {
12597	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12598          else puts (dlerror ());
12599	}
12600      /* dlclose (self); */
12601    }
12602  else
12603    puts (dlerror ());
12604
12605  return status;
12606}
12607_LT_EOF
12608  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12609  (eval $ac_link) 2>&5
12610  ac_status=$?
12611  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12612  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12613    (./conftest; exit; ) >&5 2>/dev/null
12614    lt_status=$?
12615    case x$lt_status in
12616      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12617      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12618      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12619    esac
12620  else :
12621    # compilation failed
12622    lt_cv_dlopen_self_static=no
12623  fi
12624fi
12625rm -fr conftest*
12626
12627
12628fi
12629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12630$as_echo "$lt_cv_dlopen_self_static" >&6; }
12631    fi
12632
12633    CPPFLAGS=$save_CPPFLAGS
12634    LDFLAGS=$save_LDFLAGS
12635    LIBS=$save_LIBS
12636    ;;
12637  esac
12638
12639  case $lt_cv_dlopen_self in
12640  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12641  *) enable_dlopen_self=unknown ;;
12642  esac
12643
12644  case $lt_cv_dlopen_self_static in
12645  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12646  *) enable_dlopen_self_static=unknown ;;
12647  esac
12648fi
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666striplib=
12667old_striplib=
12668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12669$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12670if test -z "$STRIP"; then
12671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12672$as_echo "no" >&6; }
12673else
12674  if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12675    old_striplib="$STRIP --strip-debug"
12676    striplib="$STRIP --strip-unneeded"
12677    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12678$as_echo "yes" >&6; }
12679  else
12680    case $host_os in
12681    darwin*)
12682      # FIXME - insert some real tests, host_os isn't really good enough
12683      striplib="$STRIP -x"
12684      old_striplib="$STRIP -S"
12685      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12686$as_echo "yes" >&6; }
12687      ;;
12688    freebsd*)
12689      if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
12690        old_striplib="$STRIP --strip-debug"
12691        striplib="$STRIP --strip-unneeded"
12692        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12693$as_echo "yes" >&6; }
12694      else
12695        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12696$as_echo "no" >&6; }
12697      fi
12698      ;;
12699    *)
12700      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12701$as_echo "no" >&6; }
12702      ;;
12703    esac
12704  fi
12705fi
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718  # Report what library types will actually be built
12719  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12720$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12722$as_echo "$can_build_shared" >&6; }
12723
12724  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12725$as_echo_n "checking whether to build shared libraries... " >&6; }
12726  test no = "$can_build_shared" && enable_shared=no
12727
12728  # On AIX, shared libraries and static libraries use the same namespace, and
12729  # are all built from PIC.
12730  case $host_os in
12731  aix3*)
12732    test yes = "$enable_shared" && enable_static=no
12733    if test -n "$RANLIB"; then
12734      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12735      postinstall_cmds='$RANLIB $lib'
12736    fi
12737    ;;
12738
12739  aix[4-9]*)
12740    if test ia64 != "$host_cpu"; then
12741      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12742      yes,aix,yes) ;;			# shared object as lib.so file only
12743      yes,svr4,*) ;;			# shared object as lib.so archive member only
12744      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12745      esac
12746    fi
12747    ;;
12748  esac
12749  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12750$as_echo "$enable_shared" >&6; }
12751
12752  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12753$as_echo_n "checking whether to build static libraries... " >&6; }
12754  # Make sure either enable_shared or enable_static is yes.
12755  test yes = "$enable_shared" || enable_static=yes
12756  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12757$as_echo "$enable_static" >&6; }
12758
12759
12760
12761
12762fi
12763ac_ext=c
12764ac_cpp='$CPP $CPPFLAGS'
12765ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12766ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12767ac_compiler_gnu=$ac_cv_c_compiler_gnu
12768
12769CC=$lt_save_CC
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785        ac_config_commands="$ac_config_commands libtool"
12786
12787
12788
12789
12790# Only expand once:
12791
12792
12793
12794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12795$as_echo_n "checking for ANSI C header files... " >&6; }
12796if ${ac_cv_header_stdc+:} false; then :
12797  $as_echo_n "(cached) " >&6
12798else
12799  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12800/* end confdefs.h.  */
12801#include <stdlib.h>
12802#include <stdarg.h>
12803#include <string.h>
12804#include <float.h>
12805
12806int
12807main ()
12808{
12809
12810  ;
12811  return 0;
12812}
12813_ACEOF
12814if ac_fn_c_try_compile "$LINENO"; then :
12815  ac_cv_header_stdc=yes
12816else
12817  ac_cv_header_stdc=no
12818fi
12819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12820
12821if test $ac_cv_header_stdc = yes; then
12822  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12823  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12824/* end confdefs.h.  */
12825#include <string.h>
12826
12827_ACEOF
12828if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12829  $EGREP "memchr" >/dev/null 2>&1; then :
12830
12831else
12832  ac_cv_header_stdc=no
12833fi
12834rm -f conftest*
12835
12836fi
12837
12838if test $ac_cv_header_stdc = yes; then
12839  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12840  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12841/* end confdefs.h.  */
12842#include <stdlib.h>
12843
12844_ACEOF
12845if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12846  $EGREP "free" >/dev/null 2>&1; then :
12847
12848else
12849  ac_cv_header_stdc=no
12850fi
12851rm -f conftest*
12852
12853fi
12854
12855if test $ac_cv_header_stdc = yes; then
12856  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12857  if test "$cross_compiling" = yes; then :
12858  :
12859else
12860  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12861/* end confdefs.h.  */
12862#include <ctype.h>
12863#include <stdlib.h>
12864#if ((' ' & 0x0FF) == 0x020)
12865# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12866# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12867#else
12868# define ISLOWER(c) \
12869		   (('a' <= (c) && (c) <= 'i') \
12870		     || ('j' <= (c) && (c) <= 'r') \
12871		     || ('s' <= (c) && (c) <= 'z'))
12872# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12873#endif
12874
12875#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12876int
12877main ()
12878{
12879  int i;
12880  for (i = 0; i < 256; i++)
12881    if (XOR (islower (i), ISLOWER (i))
12882	|| toupper (i) != TOUPPER (i))
12883      return 2;
12884  return 0;
12885}
12886_ACEOF
12887if ac_fn_c_try_run "$LINENO"; then :
12888
12889else
12890  ac_cv_header_stdc=no
12891fi
12892rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12893  conftest.$ac_objext conftest.beam conftest.$ac_ext
12894fi
12895
12896fi
12897fi
12898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12899$as_echo "$ac_cv_header_stdc" >&6; }
12900if test $ac_cv_header_stdc = yes; then
12901
12902$as_echo "#define STDC_HEADERS 1" >>confdefs.h
12903
12904fi
12905
12906
12907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
12908$as_echo_n "checking for X... " >&6; }
12909
12910
12911# Check whether --with-x was given.
12912if test "${with_x+set}" = set; then :
12913  withval=$with_x;
12914fi
12915
12916# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12917if test "x$with_x" = xno; then
12918  # The user explicitly disabled X.
12919  have_x=disabled
12920else
12921  case $x_includes,$x_libraries in #(
12922    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
12923    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
12924  $as_echo_n "(cached) " >&6
12925else
12926  # One or both of the vars are not set, and there is no cached value.
12927ac_x_includes=no ac_x_libraries=no
12928rm -f -r conftest.dir
12929if mkdir conftest.dir; then
12930  cd conftest.dir
12931  cat >Imakefile <<'_ACEOF'
12932incroot:
12933	@echo incroot='${INCROOT}'
12934usrlibdir:
12935	@echo usrlibdir='${USRLIBDIR}'
12936libdir:
12937	@echo libdir='${LIBDIR}'
12938_ACEOF
12939  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
12940    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12941    for ac_var in incroot usrlibdir libdir; do
12942      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
12943    done
12944    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12945    for ac_extension in a so sl dylib la dll; do
12946      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
12947	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
12948	ac_im_usrlibdir=$ac_im_libdir; break
12949      fi
12950    done
12951    # Screen out bogus values from the imake configuration.  They are
12952    # bogus both because they are the default anyway, and because
12953    # using them would break gcc on systems where it needs fixed includes.
12954    case $ac_im_incroot in
12955	/usr/include) ac_x_includes= ;;
12956	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
12957    esac
12958    case $ac_im_usrlibdir in
12959	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
12960	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
12961    esac
12962  fi
12963  cd ..
12964  rm -f -r conftest.dir
12965fi
12966
12967# Standard set of common directories for X headers.
12968# Check X11 before X11Rn because it is often a symlink to the current release.
12969ac_x_header_dirs='
12970/usr/X11/include
12971/usr/X11R7/include
12972/usr/X11R6/include
12973/usr/X11R5/include
12974/usr/X11R4/include
12975
12976/usr/include/X11
12977/usr/include/X11R7
12978/usr/include/X11R6
12979/usr/include/X11R5
12980/usr/include/X11R4
12981
12982/usr/local/X11/include
12983/usr/local/X11R7/include
12984/usr/local/X11R6/include
12985/usr/local/X11R5/include
12986/usr/local/X11R4/include
12987
12988/usr/local/include/X11
12989/usr/local/include/X11R7
12990/usr/local/include/X11R6
12991/usr/local/include/X11R5
12992/usr/local/include/X11R4
12993
12994/usr/X386/include
12995/usr/x386/include
12996/usr/XFree86/include/X11
12997
12998/usr/include
12999/usr/local/include
13000/usr/unsupported/include
13001/usr/athena/include
13002/usr/local/x11r5/include
13003/usr/lpp/Xamples/include
13004
13005/usr/openwin/include
13006/usr/openwin/share/include'
13007
13008if test "$ac_x_includes" = no; then
13009  # Guess where to find include files, by looking for Xlib.h.
13010  # First, try using that file with no special directory specified.
13011  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012/* end confdefs.h.  */
13013#include <X11/Xlib.h>
13014_ACEOF
13015if ac_fn_c_try_cpp "$LINENO"; then :
13016  # We can compile using X headers with no special include directory.
13017ac_x_includes=
13018else
13019  for ac_dir in $ac_x_header_dirs; do
13020  if test -r "$ac_dir/X11/Xlib.h"; then
13021    ac_x_includes=$ac_dir
13022    break
13023  fi
13024done
13025fi
13026rm -f conftest.err conftest.i conftest.$ac_ext
13027fi # $ac_x_includes = no
13028
13029if test "$ac_x_libraries" = no; then
13030  # Check for the libraries.
13031  # See if we find them without any special options.
13032  # Don't add to $LIBS permanently.
13033  ac_save_LIBS=$LIBS
13034  LIBS="-lX11 $LIBS"
13035  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13036/* end confdefs.h.  */
13037#include <X11/Xlib.h>
13038int
13039main ()
13040{
13041XrmInitialize ()
13042  ;
13043  return 0;
13044}
13045_ACEOF
13046if ac_fn_c_try_link "$LINENO"; then :
13047  LIBS=$ac_save_LIBS
13048# We can link X programs with no special library path.
13049ac_x_libraries=
13050else
13051  LIBS=$ac_save_LIBS
13052for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13053do
13054  # Don't even attempt the hair of trying to link an X program!
13055  for ac_extension in a so sl dylib la dll; do
13056    if test -r "$ac_dir/libX11.$ac_extension"; then
13057      ac_x_libraries=$ac_dir
13058      break 2
13059    fi
13060  done
13061done
13062fi
13063rm -f core conftest.err conftest.$ac_objext \
13064    conftest$ac_exeext conftest.$ac_ext
13065fi # $ac_x_libraries = no
13066
13067case $ac_x_includes,$ac_x_libraries in #(
13068  no,* | *,no | *\'*)
13069    # Didn't find X, or a directory has "'" in its name.
13070    ac_cv_have_x="have_x=no";; #(
13071  *)
13072    # Record where we found X for the cache.
13073    ac_cv_have_x="have_x=yes\
13074	ac_x_includes='$ac_x_includes'\
13075	ac_x_libraries='$ac_x_libraries'"
13076esac
13077fi
13078;; #(
13079    *) have_x=yes;;
13080  esac
13081  eval "$ac_cv_have_x"
13082fi # $with_x != no
13083
13084if test "$have_x" != yes; then
13085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13086$as_echo "$have_x" >&6; }
13087  no_x=yes
13088else
13089  # If each of the values was on the command line, it overrides each guess.
13090  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13091  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13092  # Update the cache value to reflect the command line values.
13093  ac_cv_have_x="have_x=yes\
13094	ac_x_includes='$x_includes'\
13095	ac_x_libraries='$x_libraries'"
13096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13097$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13098fi
13099
13100if test "$no_x" = yes; then
13101  # Not all programs may use this symbol, but it does not hurt to define it.
13102
13103$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
13104
13105  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13106else
13107  if test -n "$x_includes"; then
13108    X_CFLAGS="$X_CFLAGS -I$x_includes"
13109  fi
13110
13111  # It would also be nice to do this for all -L options, not just this one.
13112  if test -n "$x_libraries"; then
13113    X_LIBS="$X_LIBS -L$x_libraries"
13114    # For Solaris; some versions of Sun CC require a space after -R and
13115    # others require no space.  Words are not sufficient . . . .
13116    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13117$as_echo_n "checking whether -R must be followed by a space... " >&6; }
13118    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13119    ac_xsave_c_werror_flag=$ac_c_werror_flag
13120    ac_c_werror_flag=yes
13121    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13122/* end confdefs.h.  */
13123
13124int
13125main ()
13126{
13127
13128  ;
13129  return 0;
13130}
13131_ACEOF
13132if ac_fn_c_try_link "$LINENO"; then :
13133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13134$as_echo "no" >&6; }
13135       X_LIBS="$X_LIBS -R$x_libraries"
13136else
13137  LIBS="$ac_xsave_LIBS -R $x_libraries"
13138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13139/* end confdefs.h.  */
13140
13141int
13142main ()
13143{
13144
13145  ;
13146  return 0;
13147}
13148_ACEOF
13149if ac_fn_c_try_link "$LINENO"; then :
13150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13151$as_echo "yes" >&6; }
13152	  X_LIBS="$X_LIBS -R $x_libraries"
13153else
13154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13155$as_echo "neither works" >&6; }
13156fi
13157rm -f core conftest.err conftest.$ac_objext \
13158    conftest$ac_exeext conftest.$ac_ext
13159fi
13160rm -f core conftest.err conftest.$ac_objext \
13161    conftest$ac_exeext conftest.$ac_ext
13162    ac_c_werror_flag=$ac_xsave_c_werror_flag
13163    LIBS=$ac_xsave_LIBS
13164  fi
13165
13166  # Check for system-dependent libraries X programs must link with.
13167  # Do this before checking for the system-independent R6 libraries
13168  # (-lICE), since we may need -lsocket or whatever for X linking.
13169
13170  if test "$ISC" = yes; then
13171    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13172  else
13173    # Martyn Johnson says this is needed for Ultrix, if the X
13174    # libraries were built with DECnet support.  And Karl Berry says
13175    # the Alpha needs dnet_stub (dnet does not exist).
13176    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13177    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13178/* end confdefs.h.  */
13179
13180/* Override any GCC internal prototype to avoid an error.
13181   Use char because int might match the return type of a GCC
13182   builtin and then its argument prototype would still apply.  */
13183#ifdef __cplusplus
13184extern "C"
13185#endif
13186char XOpenDisplay ();
13187int
13188main ()
13189{
13190return XOpenDisplay ();
13191  ;
13192  return 0;
13193}
13194_ACEOF
13195if ac_fn_c_try_link "$LINENO"; then :
13196
13197else
13198  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13199$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
13200if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
13201  $as_echo_n "(cached) " >&6
13202else
13203  ac_check_lib_save_LIBS=$LIBS
13204LIBS="-ldnet  $LIBS"
13205cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13206/* end confdefs.h.  */
13207
13208/* Override any GCC internal prototype to avoid an error.
13209   Use char because int might match the return type of a GCC
13210   builtin and then its argument prototype would still apply.  */
13211#ifdef __cplusplus
13212extern "C"
13213#endif
13214char dnet_ntoa ();
13215int
13216main ()
13217{
13218return dnet_ntoa ();
13219  ;
13220  return 0;
13221}
13222_ACEOF
13223if ac_fn_c_try_link "$LINENO"; then :
13224  ac_cv_lib_dnet_dnet_ntoa=yes
13225else
13226  ac_cv_lib_dnet_dnet_ntoa=no
13227fi
13228rm -f core conftest.err conftest.$ac_objext \
13229    conftest$ac_exeext conftest.$ac_ext
13230LIBS=$ac_check_lib_save_LIBS
13231fi
13232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13233$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13234if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
13235  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13236fi
13237
13238    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13239      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13240$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13241if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
13242  $as_echo_n "(cached) " >&6
13243else
13244  ac_check_lib_save_LIBS=$LIBS
13245LIBS="-ldnet_stub  $LIBS"
13246cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13247/* end confdefs.h.  */
13248
13249/* Override any GCC internal prototype to avoid an error.
13250   Use char because int might match the return type of a GCC
13251   builtin and then its argument prototype would still apply.  */
13252#ifdef __cplusplus
13253extern "C"
13254#endif
13255char dnet_ntoa ();
13256int
13257main ()
13258{
13259return dnet_ntoa ();
13260  ;
13261  return 0;
13262}
13263_ACEOF
13264if ac_fn_c_try_link "$LINENO"; then :
13265  ac_cv_lib_dnet_stub_dnet_ntoa=yes
13266else
13267  ac_cv_lib_dnet_stub_dnet_ntoa=no
13268fi
13269rm -f core conftest.err conftest.$ac_objext \
13270    conftest$ac_exeext conftest.$ac_ext
13271LIBS=$ac_check_lib_save_LIBS
13272fi
13273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13274$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13275if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
13276  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13277fi
13278
13279    fi
13280fi
13281rm -f core conftest.err conftest.$ac_objext \
13282    conftest$ac_exeext conftest.$ac_ext
13283    LIBS="$ac_xsave_LIBS"
13284
13285    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13286    # to get the SysV transport functions.
13287    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13288    # needs -lnsl.
13289    # The nsl library prevents programs from opening the X display
13290    # on Irix 5.2, according to T.E. Dickey.
13291    # The functions gethostbyname, getservbyname, and inet_addr are
13292    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13293    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13294if test "x$ac_cv_func_gethostbyname" = xyes; then :
13295
13296fi
13297
13298    if test $ac_cv_func_gethostbyname = no; then
13299      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13300$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
13301if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
13302  $as_echo_n "(cached) " >&6
13303else
13304  ac_check_lib_save_LIBS=$LIBS
13305LIBS="-lnsl  $LIBS"
13306cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13307/* end confdefs.h.  */
13308
13309/* Override any GCC internal prototype to avoid an error.
13310   Use char because int might match the return type of a GCC
13311   builtin and then its argument prototype would still apply.  */
13312#ifdef __cplusplus
13313extern "C"
13314#endif
13315char gethostbyname ();
13316int
13317main ()
13318{
13319return gethostbyname ();
13320  ;
13321  return 0;
13322}
13323_ACEOF
13324if ac_fn_c_try_link "$LINENO"; then :
13325  ac_cv_lib_nsl_gethostbyname=yes
13326else
13327  ac_cv_lib_nsl_gethostbyname=no
13328fi
13329rm -f core conftest.err conftest.$ac_objext \
13330    conftest$ac_exeext conftest.$ac_ext
13331LIBS=$ac_check_lib_save_LIBS
13332fi
13333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13334$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
13335if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
13336  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13337fi
13338
13339      if test $ac_cv_lib_nsl_gethostbyname = no; then
13340	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13341$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
13342if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
13343  $as_echo_n "(cached) " >&6
13344else
13345  ac_check_lib_save_LIBS=$LIBS
13346LIBS="-lbsd  $LIBS"
13347cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13348/* end confdefs.h.  */
13349
13350/* Override any GCC internal prototype to avoid an error.
13351   Use char because int might match the return type of a GCC
13352   builtin and then its argument prototype would still apply.  */
13353#ifdef __cplusplus
13354extern "C"
13355#endif
13356char gethostbyname ();
13357int
13358main ()
13359{
13360return gethostbyname ();
13361  ;
13362  return 0;
13363}
13364_ACEOF
13365if ac_fn_c_try_link "$LINENO"; then :
13366  ac_cv_lib_bsd_gethostbyname=yes
13367else
13368  ac_cv_lib_bsd_gethostbyname=no
13369fi
13370rm -f core conftest.err conftest.$ac_objext \
13371    conftest$ac_exeext conftest.$ac_ext
13372LIBS=$ac_check_lib_save_LIBS
13373fi
13374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13375$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
13376if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
13377  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13378fi
13379
13380      fi
13381    fi
13382
13383    # lieder@skyler.mavd.honeywell.com says without -lsocket,
13384    # socket/setsockopt and other routines are undefined under SCO ODT
13385    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
13386    # on later versions), says Simon Leinen: it contains gethostby*
13387    # variants that don't use the name server (or something).  -lsocket
13388    # must be given before -lnsl if both are needed.  We assume that
13389    # if connect needs -lnsl, so does gethostbyname.
13390    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13391if test "x$ac_cv_func_connect" = xyes; then :
13392
13393fi
13394
13395    if test $ac_cv_func_connect = no; then
13396      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13397$as_echo_n "checking for connect in -lsocket... " >&6; }
13398if ${ac_cv_lib_socket_connect+:} false; then :
13399  $as_echo_n "(cached) " >&6
13400else
13401  ac_check_lib_save_LIBS=$LIBS
13402LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13403cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13404/* end confdefs.h.  */
13405
13406/* Override any GCC internal prototype to avoid an error.
13407   Use char because int might match the return type of a GCC
13408   builtin and then its argument prototype would still apply.  */
13409#ifdef __cplusplus
13410extern "C"
13411#endif
13412char connect ();
13413int
13414main ()
13415{
13416return connect ();
13417  ;
13418  return 0;
13419}
13420_ACEOF
13421if ac_fn_c_try_link "$LINENO"; then :
13422  ac_cv_lib_socket_connect=yes
13423else
13424  ac_cv_lib_socket_connect=no
13425fi
13426rm -f core conftest.err conftest.$ac_objext \
13427    conftest$ac_exeext conftest.$ac_ext
13428LIBS=$ac_check_lib_save_LIBS
13429fi
13430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13431$as_echo "$ac_cv_lib_socket_connect" >&6; }
13432if test "x$ac_cv_lib_socket_connect" = xyes; then :
13433  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
13434fi
13435
13436    fi
13437
13438    # Guillermo Gomez says -lposix is necessary on A/UX.
13439    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
13440if test "x$ac_cv_func_remove" = xyes; then :
13441
13442fi
13443
13444    if test $ac_cv_func_remove = no; then
13445      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
13446$as_echo_n "checking for remove in -lposix... " >&6; }
13447if ${ac_cv_lib_posix_remove+:} false; then :
13448  $as_echo_n "(cached) " >&6
13449else
13450  ac_check_lib_save_LIBS=$LIBS
13451LIBS="-lposix  $LIBS"
13452cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13453/* end confdefs.h.  */
13454
13455/* Override any GCC internal prototype to avoid an error.
13456   Use char because int might match the return type of a GCC
13457   builtin and then its argument prototype would still apply.  */
13458#ifdef __cplusplus
13459extern "C"
13460#endif
13461char remove ();
13462int
13463main ()
13464{
13465return remove ();
13466  ;
13467  return 0;
13468}
13469_ACEOF
13470if ac_fn_c_try_link "$LINENO"; then :
13471  ac_cv_lib_posix_remove=yes
13472else
13473  ac_cv_lib_posix_remove=no
13474fi
13475rm -f core conftest.err conftest.$ac_objext \
13476    conftest$ac_exeext conftest.$ac_ext
13477LIBS=$ac_check_lib_save_LIBS
13478fi
13479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
13480$as_echo "$ac_cv_lib_posix_remove" >&6; }
13481if test "x$ac_cv_lib_posix_remove" = xyes; then :
13482  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
13483fi
13484
13485    fi
13486
13487    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13488    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
13489if test "x$ac_cv_func_shmat" = xyes; then :
13490
13491fi
13492
13493    if test $ac_cv_func_shmat = no; then
13494      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
13495$as_echo_n "checking for shmat in -lipc... " >&6; }
13496if ${ac_cv_lib_ipc_shmat+:} false; then :
13497  $as_echo_n "(cached) " >&6
13498else
13499  ac_check_lib_save_LIBS=$LIBS
13500LIBS="-lipc  $LIBS"
13501cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13502/* end confdefs.h.  */
13503
13504/* Override any GCC internal prototype to avoid an error.
13505   Use char because int might match the return type of a GCC
13506   builtin and then its argument prototype would still apply.  */
13507#ifdef __cplusplus
13508extern "C"
13509#endif
13510char shmat ();
13511int
13512main ()
13513{
13514return shmat ();
13515  ;
13516  return 0;
13517}
13518_ACEOF
13519if ac_fn_c_try_link "$LINENO"; then :
13520  ac_cv_lib_ipc_shmat=yes
13521else
13522  ac_cv_lib_ipc_shmat=no
13523fi
13524rm -f core conftest.err conftest.$ac_objext \
13525    conftest$ac_exeext conftest.$ac_ext
13526LIBS=$ac_check_lib_save_LIBS
13527fi
13528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
13529$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
13530if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
13531  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
13532fi
13533
13534    fi
13535  fi
13536
13537  # Check for libraries that X11R6 Xt/Xaw programs need.
13538  ac_save_LDFLAGS=$LDFLAGS
13539  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
13540  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13541  # check for ICE first), but we must link in the order -lSM -lICE or
13542  # we get undefined symbols.  So assume we have SM if we have ICE.
13543  # These have to be linked with before -lX11, unlike the other
13544  # libraries we check for below, so use a different variable.
13545  # John Interrante, Karl Berry
13546  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
13547$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
13548if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
13549  $as_echo_n "(cached) " >&6
13550else
13551  ac_check_lib_save_LIBS=$LIBS
13552LIBS="-lICE $X_EXTRA_LIBS $LIBS"
13553cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13554/* end confdefs.h.  */
13555
13556/* Override any GCC internal prototype to avoid an error.
13557   Use char because int might match the return type of a GCC
13558   builtin and then its argument prototype would still apply.  */
13559#ifdef __cplusplus
13560extern "C"
13561#endif
13562char IceConnectionNumber ();
13563int
13564main ()
13565{
13566return IceConnectionNumber ();
13567  ;
13568  return 0;
13569}
13570_ACEOF
13571if ac_fn_c_try_link "$LINENO"; then :
13572  ac_cv_lib_ICE_IceConnectionNumber=yes
13573else
13574  ac_cv_lib_ICE_IceConnectionNumber=no
13575fi
13576rm -f core conftest.err conftest.$ac_objext \
13577    conftest$ac_exeext conftest.$ac_ext
13578LIBS=$ac_check_lib_save_LIBS
13579fi
13580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
13581$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
13582if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
13583  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
13584fi
13585
13586  LDFLAGS=$ac_save_LDFLAGS
13587
13588fi
13589
13590
13591
13592
13593  LIBX11_CFLAGS= LIBX11_LDFLAGS= LIBX11_LIBS=
13594  if test x"$no_x" != x"yes"; then
13595    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lX11" >&5
13596$as_echo_n "checking for main in -lX11... " >&6; }
13597if ${ac_cv_lib_X11_main+:} false; then :
13598  $as_echo_n "(cached) " >&6
13599else
13600  ac_check_lib_save_LIBS=$LIBS
13601LIBS="-lX11 $X_CFLAGS $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS $LIBS"
13602cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13603/* end confdefs.h.  */
13604
13605
13606int
13607main ()
13608{
13609return main ();
13610  ;
13611  return 0;
13612}
13613_ACEOF
13614if ac_fn_c_try_link "$LINENO"; then :
13615  ac_cv_lib_X11_main=yes
13616else
13617  ac_cv_lib_X11_main=no
13618fi
13619rm -f core conftest.err conftest.$ac_objext \
13620    conftest$ac_exeext conftest.$ac_ext
13621LIBS=$ac_check_lib_save_LIBS
13622fi
13623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_main" >&5
13624$as_echo "$ac_cv_lib_X11_main" >&6; }
13625if test "x$ac_cv_lib_X11_main" = xyes; then :
13626
13627
13628$as_echo "#define HAVE_LIBX11 1" >>confdefs.h
13629
13630      LIBX11_CFLAGS="$X_CFLAGS"
13631      for option in $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS; do
13632      	case "$option" in
13633        -L*)
13634          path=`echo $option | sed 's/^-L//'`
13635          if test x"$path" != x""; then
13636            LIBX11_LDFLAGS="$LIBX11_LDFLAGS -L$path"
13637          fi
13638          ;;
13639        *)
13640          LIBX11_LIBS="$LIBX11_LIBS $option"
13641          ;;
13642        esac
13643      done
13644      if ! echo $LIBX11_LIBS | grep -- '-lX11' >/dev/null; then
13645        LIBX11_LIBS="$LIBX11_LIBS -lX11"
13646      fi
13647
13648fi
13649
13650  fi
13651
13652
13653
13654
13655
13656
13657
13658  if test x"$no_x" = x"yes"; then
13659    as_fn_error $? "X Window system libraries and header files are required" "$LINENO" 5
13660  fi
13661
13662
13663
13664  # minimum supported version of pkg-config
13665  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13676	if test -n "$ac_tool_prefix"; then
13677  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13678set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13680$as_echo_n "checking for $ac_word... " >&6; }
13681if ${ac_cv_path_PKG_CONFIG+:} false; then :
13682  $as_echo_n "(cached) " >&6
13683else
13684  case $PKG_CONFIG in
13685  [\\/]* | ?:[\\/]*)
13686  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13687  ;;
13688  *)
13689  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13690for as_dir in $PATH
13691do
13692  IFS=$as_save_IFS
13693  test -z "$as_dir" && as_dir=.
13694    for ac_exec_ext in '' $ac_executable_extensions; do
13695  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13696    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13697    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13698    break 2
13699  fi
13700done
13701  done
13702IFS=$as_save_IFS
13703
13704  ;;
13705esac
13706fi
13707PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13708if test -n "$PKG_CONFIG"; then
13709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13710$as_echo "$PKG_CONFIG" >&6; }
13711else
13712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13713$as_echo "no" >&6; }
13714fi
13715
13716
13717fi
13718if test -z "$ac_cv_path_PKG_CONFIG"; then
13719  ac_pt_PKG_CONFIG=$PKG_CONFIG
13720  # Extract the first word of "pkg-config", so it can be a program name with args.
13721set dummy pkg-config; ac_word=$2
13722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13723$as_echo_n "checking for $ac_word... " >&6; }
13724if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13725  $as_echo_n "(cached) " >&6
13726else
13727  case $ac_pt_PKG_CONFIG in
13728  [\\/]* | ?:[\\/]*)
13729  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13730  ;;
13731  *)
13732  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13733for as_dir in $PATH
13734do
13735  IFS=$as_save_IFS
13736  test -z "$as_dir" && as_dir=.
13737    for ac_exec_ext in '' $ac_executable_extensions; do
13738  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13739    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13740    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13741    break 2
13742  fi
13743done
13744  done
13745IFS=$as_save_IFS
13746
13747  ;;
13748esac
13749fi
13750ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13751if test -n "$ac_pt_PKG_CONFIG"; then
13752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13753$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13754else
13755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13756$as_echo "no" >&6; }
13757fi
13758
13759  if test "x$ac_pt_PKG_CONFIG" = x; then
13760    PKG_CONFIG=""
13761  else
13762    case $cross_compiling:$ac_tool_warned in
13763yes:)
13764{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13765$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13766ac_tool_warned=yes ;;
13767esac
13768    PKG_CONFIG=$ac_pt_PKG_CONFIG
13769  fi
13770else
13771  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13772fi
13773
13774fi
13775if test -n "$PKG_CONFIG"; then
13776	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
13777	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13778$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13779	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13780		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13781$as_echo "yes" >&6; }
13782	else
13783		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13784$as_echo "no" >&6; }
13785		PKG_CONFIG=""
13786	fi
13787fi
13788
13789      if test x"$PKG_CONFIG" = x""; then
13790        echo
13791        echo "*** Your version of pkg-config is too old. You need atleast"
13792        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
13793        echo "*** from the freedesktop.org software repository at"
13794        echo "***"
13795        echo "***    http://www.freedesktop.org/software/pkgconfig"
13796        echo "***"
13797        exit 1;
13798      fi
13799
13800
13801
13802  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= 3.22.0" >&5
13803$as_echo_n "checking for gtk+-3.0 >= 3.22.0... " >&6; }
13804  if $PKG_CONFIG "--atleast-version=3.22.0" "gtk+-3.0" >/dev/null 2>&1; then
13805    GTK_VERSION=`$PKG_CONFIG --modversion "gtk+-3.0"`
13806    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_VERSION" >&5
13807$as_echo "$GTK_VERSION" >&6; }
13808
13809    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
13810$as_echo_n "checking GTK_CFLAGS... " >&6; }
13811    GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0"`
13812    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
13813$as_echo "$GTK_CFLAGS" >&6; }
13814
13815    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
13816$as_echo_n "checking GTK_LIBS... " >&6; }
13817    GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0"`
13818    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
13819$as_echo "$GTK_LIBS" >&6; }
13820
13821    GTK_REQUIRED_VERSION=3.22.0
13822
13823
13824
13825
13826
13827
13828
13829  elif $PKG_CONFIG --exists "gtk+-3.0" >/dev/null 2>&1; then
13830    xdt_cv_version=`$PKG_CONFIG --modversion "gtk+-3.0"`
13831    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
13832$as_echo "found, but $xdt_cv_version" >&6; }
13833
13834
13835      echo "*** The required package gtk+-3.0 was found on your system,"
13836      echo "*** but the installed version ($xdt_cv_version) is too old."
13837      echo "*** Please upgrade gtk+-3.0 to atleast version 3.22.0, or adjust"
13838      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
13839      echo "*** the new version of the package in a nonstandard prefix so"
13840      echo "*** pkg-config is able to find it."
13841      exit 1
13842
13843  else
13844    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13845$as_echo "not found" >&6; }
13846
13847
13848      echo "*** The required package gtk+-3.0 was not found on your system."
13849      echo "*** Please install gtk+-3.0 (atleast version 3.22.0) or adjust"
13850      echo "*** the PKG_CONFIG_PATH environment variable if you"
13851      echo "*** installed the package in a nonstandard prefix so that"
13852      echo "*** pkg-config is able to find it."
13853      exit 1
13854
13855  fi
13856
13857
13858
13859  # minimum supported version of pkg-config
13860  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13871	if test -n "$ac_tool_prefix"; then
13872  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13873set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13875$as_echo_n "checking for $ac_word... " >&6; }
13876if ${ac_cv_path_PKG_CONFIG+:} false; then :
13877  $as_echo_n "(cached) " >&6
13878else
13879  case $PKG_CONFIG in
13880  [\\/]* | ?:[\\/]*)
13881  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13882  ;;
13883  *)
13884  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13885for as_dir in $PATH
13886do
13887  IFS=$as_save_IFS
13888  test -z "$as_dir" && as_dir=.
13889    for ac_exec_ext in '' $ac_executable_extensions; do
13890  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13891    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13892    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13893    break 2
13894  fi
13895done
13896  done
13897IFS=$as_save_IFS
13898
13899  ;;
13900esac
13901fi
13902PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13903if test -n "$PKG_CONFIG"; then
13904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13905$as_echo "$PKG_CONFIG" >&6; }
13906else
13907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13908$as_echo "no" >&6; }
13909fi
13910
13911
13912fi
13913if test -z "$ac_cv_path_PKG_CONFIG"; then
13914  ac_pt_PKG_CONFIG=$PKG_CONFIG
13915  # Extract the first word of "pkg-config", so it can be a program name with args.
13916set dummy pkg-config; ac_word=$2
13917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13918$as_echo_n "checking for $ac_word... " >&6; }
13919if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13920  $as_echo_n "(cached) " >&6
13921else
13922  case $ac_pt_PKG_CONFIG in
13923  [\\/]* | ?:[\\/]*)
13924  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13925  ;;
13926  *)
13927  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13928for as_dir in $PATH
13929do
13930  IFS=$as_save_IFS
13931  test -z "$as_dir" && as_dir=.
13932    for ac_exec_ext in '' $ac_executable_extensions; do
13933  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13934    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13935    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13936    break 2
13937  fi
13938done
13939  done
13940IFS=$as_save_IFS
13941
13942  ;;
13943esac
13944fi
13945ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13946if test -n "$ac_pt_PKG_CONFIG"; then
13947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13948$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13949else
13950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13951$as_echo "no" >&6; }
13952fi
13953
13954  if test "x$ac_pt_PKG_CONFIG" = x; then
13955    PKG_CONFIG=""
13956  else
13957    case $cross_compiling:$ac_tool_warned in
13958yes:)
13959{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13960$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13961ac_tool_warned=yes ;;
13962esac
13963    PKG_CONFIG=$ac_pt_PKG_CONFIG
13964  fi
13965else
13966  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13967fi
13968
13969fi
13970if test -n "$PKG_CONFIG"; then
13971	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
13972	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13973$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13974	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13975		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13976$as_echo "yes" >&6; }
13977	else
13978		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13979$as_echo "no" >&6; }
13980		PKG_CONFIG=""
13981	fi
13982fi
13983
13984      if test x"$PKG_CONFIG" = x""; then
13985        echo
13986        echo "*** Your version of pkg-config is too old. You need atleast"
13987        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
13988        echo "*** from the freedesktop.org software repository at"
13989        echo "***"
13990        echo "***    http://www.freedesktop.org/software/pkgconfig"
13991        echo "***"
13992        exit 1;
13993      fi
13994
13995
13996
13997  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthread-2.0 >= 2.18.0" >&5
13998$as_echo_n "checking for gthread-2.0 >= 2.18.0... " >&6; }
13999  if $PKG_CONFIG "--atleast-version=2.18.0" "gthread-2.0" >/dev/null 2>&1; then
14000    GTHREAD_VERSION=`$PKG_CONFIG --modversion "gthread-2.0"`
14001    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_VERSION" >&5
14002$as_echo "$GTHREAD_VERSION" >&6; }
14003
14004    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTHREAD_CFLAGS" >&5
14005$as_echo_n "checking GTHREAD_CFLAGS... " >&6; }
14006    GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0"`
14007    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_CFLAGS" >&5
14008$as_echo "$GTHREAD_CFLAGS" >&6; }
14009
14010    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTHREAD_LIBS" >&5
14011$as_echo_n "checking GTHREAD_LIBS... " >&6; }
14012    GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0"`
14013    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_LIBS" >&5
14014$as_echo "$GTHREAD_LIBS" >&6; }
14015
14016    GTHREAD_REQUIRED_VERSION=2.18.0
14017
14018
14019
14020
14021
14022
14023
14024  elif $PKG_CONFIG --exists "gthread-2.0" >/dev/null 2>&1; then
14025    xdt_cv_version=`$PKG_CONFIG --modversion "gthread-2.0"`
14026    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14027$as_echo "found, but $xdt_cv_version" >&6; }
14028
14029
14030      echo "*** The required package gthread-2.0 was found on your system,"
14031      echo "*** but the installed version ($xdt_cv_version) is too old."
14032      echo "*** Please upgrade gthread-2.0 to atleast version 2.18.0, or adjust"
14033      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14034      echo "*** the new version of the package in a nonstandard prefix so"
14035      echo "*** pkg-config is able to find it."
14036      exit 1
14037
14038  else
14039    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14040$as_echo "not found" >&6; }
14041
14042
14043      echo "*** The required package gthread-2.0 was not found on your system."
14044      echo "*** Please install gthread-2.0 (atleast version 2.18.0) or adjust"
14045      echo "*** the PKG_CONFIG_PATH environment variable if you"
14046      echo "*** installed the package in a nonstandard prefix so that"
14047      echo "*** pkg-config is able to find it."
14048      exit 1
14049
14050  fi
14051
14052
14053
14054  # minimum supported version of pkg-config
14055  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14066	if test -n "$ac_tool_prefix"; then
14067  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14068set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14070$as_echo_n "checking for $ac_word... " >&6; }
14071if ${ac_cv_path_PKG_CONFIG+:} false; then :
14072  $as_echo_n "(cached) " >&6
14073else
14074  case $PKG_CONFIG in
14075  [\\/]* | ?:[\\/]*)
14076  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14077  ;;
14078  *)
14079  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14080for as_dir in $PATH
14081do
14082  IFS=$as_save_IFS
14083  test -z "$as_dir" && as_dir=.
14084    for ac_exec_ext in '' $ac_executable_extensions; do
14085  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14086    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14087    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14088    break 2
14089  fi
14090done
14091  done
14092IFS=$as_save_IFS
14093
14094  ;;
14095esac
14096fi
14097PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14098if test -n "$PKG_CONFIG"; then
14099  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14100$as_echo "$PKG_CONFIG" >&6; }
14101else
14102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14103$as_echo "no" >&6; }
14104fi
14105
14106
14107fi
14108if test -z "$ac_cv_path_PKG_CONFIG"; then
14109  ac_pt_PKG_CONFIG=$PKG_CONFIG
14110  # Extract the first word of "pkg-config", so it can be a program name with args.
14111set dummy pkg-config; ac_word=$2
14112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14113$as_echo_n "checking for $ac_word... " >&6; }
14114if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14115  $as_echo_n "(cached) " >&6
14116else
14117  case $ac_pt_PKG_CONFIG in
14118  [\\/]* | ?:[\\/]*)
14119  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14120  ;;
14121  *)
14122  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14123for as_dir in $PATH
14124do
14125  IFS=$as_save_IFS
14126  test -z "$as_dir" && as_dir=.
14127    for ac_exec_ext in '' $ac_executable_extensions; do
14128  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14129    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14130    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14131    break 2
14132  fi
14133done
14134  done
14135IFS=$as_save_IFS
14136
14137  ;;
14138esac
14139fi
14140ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14141if test -n "$ac_pt_PKG_CONFIG"; then
14142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14143$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14144else
14145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14146$as_echo "no" >&6; }
14147fi
14148
14149  if test "x$ac_pt_PKG_CONFIG" = x; then
14150    PKG_CONFIG=""
14151  else
14152    case $cross_compiling:$ac_tool_warned in
14153yes:)
14154{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14155$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14156ac_tool_warned=yes ;;
14157esac
14158    PKG_CONFIG=$ac_pt_PKG_CONFIG
14159  fi
14160else
14161  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14162fi
14163
14164fi
14165if test -n "$PKG_CONFIG"; then
14166	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14167	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14168$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14169	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14170		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14171$as_echo "yes" >&6; }
14172	else
14173		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14174$as_echo "no" >&6; }
14175		PKG_CONFIG=""
14176	fi
14177fi
14178
14179      if test x"$PKG_CONFIG" = x""; then
14180        echo
14181        echo "*** Your version of pkg-config is too old. You need atleast"
14182        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14183        echo "*** from the freedesktop.org software repository at"
14184        echo "***"
14185        echo "***    http://www.freedesktop.org/software/pkgconfig"
14186        echo "***"
14187        exit 1;
14188      fi
14189
14190
14191
14192  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4ui-2 >= 4.12.0" >&5
14193$as_echo_n "checking for libxfce4ui-2 >= 4.12.0... " >&6; }
14194  if $PKG_CONFIG "--atleast-version=4.12.0" "libxfce4ui-2" >/dev/null 2>&1; then
14195    LIBXFCE4UI_VERSION=`$PKG_CONFIG --modversion "libxfce4ui-2"`
14196    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_VERSION" >&5
14197$as_echo "$LIBXFCE4UI_VERSION" >&6; }
14198
14199    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_CFLAGS" >&5
14200$as_echo_n "checking LIBXFCE4UI_CFLAGS... " >&6; }
14201    LIBXFCE4UI_CFLAGS=`$PKG_CONFIG --cflags "libxfce4ui-2"`
14202    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_CFLAGS" >&5
14203$as_echo "$LIBXFCE4UI_CFLAGS" >&6; }
14204
14205    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_LIBS" >&5
14206$as_echo_n "checking LIBXFCE4UI_LIBS... " >&6; }
14207    LIBXFCE4UI_LIBS=`$PKG_CONFIG --libs "libxfce4ui-2"`
14208    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_LIBS" >&5
14209$as_echo "$LIBXFCE4UI_LIBS" >&6; }
14210
14211    LIBXFCE4UI_REQUIRED_VERSION=4.12.0
14212
14213
14214
14215
14216
14217
14218
14219  elif $PKG_CONFIG --exists "libxfce4ui-2" >/dev/null 2>&1; then
14220    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4ui-2"`
14221    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14222$as_echo "found, but $xdt_cv_version" >&6; }
14223
14224
14225      echo "*** The required package libxfce4ui-2 was found on your system,"
14226      echo "*** but the installed version ($xdt_cv_version) is too old."
14227      echo "*** Please upgrade libxfce4ui-2 to atleast version 4.12.0, or adjust"
14228      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14229      echo "*** the new version of the package in a nonstandard prefix so"
14230      echo "*** pkg-config is able to find it."
14231      exit 1
14232
14233  else
14234    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14235$as_echo "not found" >&6; }
14236
14237
14238      echo "*** The required package libxfce4ui-2 was not found on your system."
14239      echo "*** Please install libxfce4ui-2 (atleast version 4.12.0) or adjust"
14240      echo "*** the PKG_CONFIG_PATH environment variable if you"
14241      echo "*** installed the package in a nonstandard prefix so that"
14242      echo "*** pkg-config is able to find it."
14243      exit 1
14244
14245  fi
14246
14247
14248
14249  # minimum supported version of pkg-config
14250  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14261	if test -n "$ac_tool_prefix"; then
14262  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14263set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14265$as_echo_n "checking for $ac_word... " >&6; }
14266if ${ac_cv_path_PKG_CONFIG+:} false; then :
14267  $as_echo_n "(cached) " >&6
14268else
14269  case $PKG_CONFIG in
14270  [\\/]* | ?:[\\/]*)
14271  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14272  ;;
14273  *)
14274  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14275for as_dir in $PATH
14276do
14277  IFS=$as_save_IFS
14278  test -z "$as_dir" && as_dir=.
14279    for ac_exec_ext in '' $ac_executable_extensions; do
14280  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14281    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14282    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14283    break 2
14284  fi
14285done
14286  done
14287IFS=$as_save_IFS
14288
14289  ;;
14290esac
14291fi
14292PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14293if test -n "$PKG_CONFIG"; then
14294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14295$as_echo "$PKG_CONFIG" >&6; }
14296else
14297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14298$as_echo "no" >&6; }
14299fi
14300
14301
14302fi
14303if test -z "$ac_cv_path_PKG_CONFIG"; then
14304  ac_pt_PKG_CONFIG=$PKG_CONFIG
14305  # Extract the first word of "pkg-config", so it can be a program name with args.
14306set dummy pkg-config; ac_word=$2
14307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14308$as_echo_n "checking for $ac_word... " >&6; }
14309if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14310  $as_echo_n "(cached) " >&6
14311else
14312  case $ac_pt_PKG_CONFIG in
14313  [\\/]* | ?:[\\/]*)
14314  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14315  ;;
14316  *)
14317  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14318for as_dir in $PATH
14319do
14320  IFS=$as_save_IFS
14321  test -z "$as_dir" && as_dir=.
14322    for ac_exec_ext in '' $ac_executable_extensions; do
14323  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14324    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14325    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14326    break 2
14327  fi
14328done
14329  done
14330IFS=$as_save_IFS
14331
14332  ;;
14333esac
14334fi
14335ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14336if test -n "$ac_pt_PKG_CONFIG"; then
14337  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14338$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14339else
14340  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14341$as_echo "no" >&6; }
14342fi
14343
14344  if test "x$ac_pt_PKG_CONFIG" = x; then
14345    PKG_CONFIG=""
14346  else
14347    case $cross_compiling:$ac_tool_warned in
14348yes:)
14349{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14350$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14351ac_tool_warned=yes ;;
14352esac
14353    PKG_CONFIG=$ac_pt_PKG_CONFIG
14354  fi
14355else
14356  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14357fi
14358
14359fi
14360if test -n "$PKG_CONFIG"; then
14361	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14362	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14363$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14364	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14365		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14366$as_echo "yes" >&6; }
14367	else
14368		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14369$as_echo "no" >&6; }
14370		PKG_CONFIG=""
14371	fi
14372fi
14373
14374      if test x"$PKG_CONFIG" = x""; then
14375        echo
14376        echo "*** Your version of pkg-config is too old. You need atleast"
14377        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14378        echo "*** from the freedesktop.org software repository at"
14379        echo "***"
14380        echo "***    http://www.freedesktop.org/software/pkgconfig"
14381        echo "***"
14382        exit 1;
14383      fi
14384
14385
14386
14387  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4util-1.0 >= 4.12.0" >&5
14388$as_echo_n "checking for libxfce4util-1.0 >= 4.12.0... " >&6; }
14389  if $PKG_CONFIG "--atleast-version=4.12.0" "libxfce4util-1.0" >/dev/null 2>&1; then
14390    LIBXFCE4UTIL_VERSION=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
14391    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_VERSION" >&5
14392$as_echo "$LIBXFCE4UTIL_VERSION" >&6; }
14393
14394    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_CFLAGS" >&5
14395$as_echo_n "checking LIBXFCE4UTIL_CFLAGS... " >&6; }
14396    LIBXFCE4UTIL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4util-1.0"`
14397    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_CFLAGS" >&5
14398$as_echo "$LIBXFCE4UTIL_CFLAGS" >&6; }
14399
14400    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_LIBS" >&5
14401$as_echo_n "checking LIBXFCE4UTIL_LIBS... " >&6; }
14402    LIBXFCE4UTIL_LIBS=`$PKG_CONFIG --libs "libxfce4util-1.0"`
14403    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_LIBS" >&5
14404$as_echo "$LIBXFCE4UTIL_LIBS" >&6; }
14405
14406    LIBXFCE4UTIL_REQUIRED_VERSION=4.12.0
14407
14408
14409
14410
14411
14412
14413
14414  elif $PKG_CONFIG --exists "libxfce4util-1.0" >/dev/null 2>&1; then
14415    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
14416    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14417$as_echo "found, but $xdt_cv_version" >&6; }
14418
14419
14420      echo "*** The required package libxfce4util-1.0 was found on your system,"
14421      echo "*** but the installed version ($xdt_cv_version) is too old."
14422      echo "*** Please upgrade libxfce4util-1.0 to atleast version 4.12.0, or adjust"
14423      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14424      echo "*** the new version of the package in a nonstandard prefix so"
14425      echo "*** pkg-config is able to find it."
14426      exit 1
14427
14428  else
14429    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14430$as_echo "not found" >&6; }
14431
14432
14433      echo "*** The required package libxfce4util-1.0 was not found on your system."
14434      echo "*** Please install libxfce4util-1.0 (atleast version 4.12.0) or adjust"
14435      echo "*** the PKG_CONFIG_PATH environment variable if you"
14436      echo "*** installed the package in a nonstandard prefix so that"
14437      echo "*** pkg-config is able to find it."
14438      exit 1
14439
14440  fi
14441
14442
14443
14444  # minimum supported version of pkg-config
14445  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14456	if test -n "$ac_tool_prefix"; then
14457  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14458set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14460$as_echo_n "checking for $ac_word... " >&6; }
14461if ${ac_cv_path_PKG_CONFIG+:} false; then :
14462  $as_echo_n "(cached) " >&6
14463else
14464  case $PKG_CONFIG in
14465  [\\/]* | ?:[\\/]*)
14466  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14467  ;;
14468  *)
14469  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14470for as_dir in $PATH
14471do
14472  IFS=$as_save_IFS
14473  test -z "$as_dir" && as_dir=.
14474    for ac_exec_ext in '' $ac_executable_extensions; do
14475  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14476    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14477    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14478    break 2
14479  fi
14480done
14481  done
14482IFS=$as_save_IFS
14483
14484  ;;
14485esac
14486fi
14487PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14488if test -n "$PKG_CONFIG"; then
14489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14490$as_echo "$PKG_CONFIG" >&6; }
14491else
14492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14493$as_echo "no" >&6; }
14494fi
14495
14496
14497fi
14498if test -z "$ac_cv_path_PKG_CONFIG"; then
14499  ac_pt_PKG_CONFIG=$PKG_CONFIG
14500  # Extract the first word of "pkg-config", so it can be a program name with args.
14501set dummy pkg-config; ac_word=$2
14502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14503$as_echo_n "checking for $ac_word... " >&6; }
14504if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14505  $as_echo_n "(cached) " >&6
14506else
14507  case $ac_pt_PKG_CONFIG in
14508  [\\/]* | ?:[\\/]*)
14509  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14510  ;;
14511  *)
14512  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14513for as_dir in $PATH
14514do
14515  IFS=$as_save_IFS
14516  test -z "$as_dir" && as_dir=.
14517    for ac_exec_ext in '' $ac_executable_extensions; do
14518  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14519    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14520    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14521    break 2
14522  fi
14523done
14524  done
14525IFS=$as_save_IFS
14526
14527  ;;
14528esac
14529fi
14530ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14531if test -n "$ac_pt_PKG_CONFIG"; then
14532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14533$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14534else
14535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14536$as_echo "no" >&6; }
14537fi
14538
14539  if test "x$ac_pt_PKG_CONFIG" = x; then
14540    PKG_CONFIG=""
14541  else
14542    case $cross_compiling:$ac_tool_warned in
14543yes:)
14544{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14545$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14546ac_tool_warned=yes ;;
14547esac
14548    PKG_CONFIG=$ac_pt_PKG_CONFIG
14549  fi
14550else
14551  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14552fi
14553
14554fi
14555if test -n "$PKG_CONFIG"; then
14556	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14557	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14558$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14559	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14560		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14561$as_echo "yes" >&6; }
14562	else
14563		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14564$as_echo "no" >&6; }
14565		PKG_CONFIG=""
14566	fi
14567fi
14568
14569      if test x"$PKG_CONFIG" = x""; then
14570        echo
14571        echo "*** Your version of pkg-config is too old. You need atleast"
14572        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14573        echo "*** from the freedesktop.org software repository at"
14574        echo "***"
14575        echo "***    http://www.freedesktop.org/software/pkgconfig"
14576        echo "***"
14577        exit 1;
14578      fi
14579
14580
14581
14582  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmpd >= 0.15.0" >&5
14583$as_echo_n "checking for libmpd >= 0.15.0... " >&6; }
14584  if $PKG_CONFIG "--atleast-version=0.15.0" "libmpd" >/dev/null 2>&1; then
14585    LIBMPD_VERSION=`$PKG_CONFIG --modversion "libmpd"`
14586    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBMPD_VERSION" >&5
14587$as_echo "$LIBMPD_VERSION" >&6; }
14588
14589    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBMPD_CFLAGS" >&5
14590$as_echo_n "checking LIBMPD_CFLAGS... " >&6; }
14591    LIBMPD_CFLAGS=`$PKG_CONFIG --cflags "libmpd"`
14592    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBMPD_CFLAGS" >&5
14593$as_echo "$LIBMPD_CFLAGS" >&6; }
14594
14595    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBMPD_LIBS" >&5
14596$as_echo_n "checking LIBMPD_LIBS... " >&6; }
14597    LIBMPD_LIBS=`$PKG_CONFIG --libs "libmpd"`
14598    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBMPD_LIBS" >&5
14599$as_echo "$LIBMPD_LIBS" >&6; }
14600
14601    LIBMPD_REQUIRED_VERSION=0.15.0
14602
14603
14604
14605
14606
14607
14608
14609  elif $PKG_CONFIG --exists "libmpd" >/dev/null 2>&1; then
14610    xdt_cv_version=`$PKG_CONFIG --modversion "libmpd"`
14611    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14612$as_echo "found, but $xdt_cv_version" >&6; }
14613
14614
14615      echo "*** The required package libmpd was found on your system,"
14616      echo "*** but the installed version ($xdt_cv_version) is too old."
14617      echo "*** Please upgrade libmpd to atleast version 0.15.0, or adjust"
14618      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14619      echo "*** the new version of the package in a nonstandard prefix so"
14620      echo "*** pkg-config is able to find it."
14621      exit 1
14622
14623  else
14624    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14625$as_echo "not found" >&6; }
14626
14627
14628      echo "*** The required package libmpd was not found on your system."
14629      echo "*** Please install libmpd (atleast version 0.15.0) or adjust"
14630      echo "*** the PKG_CONFIG_PATH environment variable if you"
14631      echo "*** installed the package in a nonstandard prefix so that"
14632      echo "*** pkg-config is able to find it."
14633      exit 1
14634
14635  fi
14636
14637
14638if test "x$USE_MAINTAINER_MODE" = "xyes" ; then
14639	# Extract the first word of "valac", so it can be a program name with args.
14640set dummy valac; ac_word=$2
14641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14642$as_echo_n "checking for $ac_word... " >&6; }
14643if ${ac_cv_path_VALAC+:} false; then :
14644  $as_echo_n "(cached) " >&6
14645else
14646  case $VALAC in
14647  [\\/]* | ?:[\\/]*)
14648  ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
14649  ;;
14650  *)
14651  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14652for as_dir in $PATH
14653do
14654  IFS=$as_save_IFS
14655  test -z "$as_dir" && as_dir=.
14656    for ac_exec_ext in '' $ac_executable_extensions; do
14657  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14658    ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
14659    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14660    break 2
14661  fi
14662done
14663  done
14664IFS=$as_save_IFS
14665
14666  test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac"
14667  ;;
14668esac
14669fi
14670VALAC=$ac_cv_path_VALAC
14671if test -n "$VALAC"; then
14672  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
14673$as_echo "$VALAC" >&6; }
14674else
14675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14676$as_echo "no" >&6; }
14677fi
14678
14679
14680   if test "$VALAC" != valac && test -n "0.14.0"; then :
14681  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $VALAC is at least version 0.14.0" >&5
14682$as_echo_n "checking whether $VALAC is at least version 0.14.0... " >&6; }
14683       am__vala_version=`$VALAC --version | sed 's/Vala  *//'`
14684       as_arg_v1=0.14.0
14685as_arg_v2="$am__vala_version"
14686awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
14687case $? in #(
14688  1) :
14689    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14690$as_echo "yes" >&6; } ;; #(
14691  0) :
14692    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14693$as_echo "yes" >&6; } ;; #(
14694  2) :
14695    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14696$as_echo "no" >&6; }
14697          VALAC=valac ;; #(
14698  *) :
14699     ;;
14700esac
14701fi
14702    if test "$VALAC" = valac; then
14703      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no proper vala compiler found" >&5
14704$as_echo "$as_me: WARNING: no proper vala compiler found" >&2;}
14705         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you will not be able to compile vala source files" >&5
14706$as_echo "$as_me: WARNING: you will not be able to compile vala source files" >&2;}
14707    else
14708      :
14709    fi
14710	if test "x$VALAC" = "x" ; then
14711		as_fn_error $? "Cannot find the \"valac\" compiler in your PATH" "$LINENO" 5
14712	fi
14713fi
14714
14715
14716    GETTEXT_PACKAGE=xfmpc
14717
14718cat >>confdefs.h <<_ACEOF
14719#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14720_ACEOF
14721
14722
14723
14724    ALL_LINGUAS="am ar ast be bg ca cs da de el en_AU en_GB es eu fi fr gl he hr hu hy_AM id ie is it ja ko lt ms nb nl oc pl pt_BR pt ru si sk sl sq sr sv th tr ug uk ur_PK ur zh_CN zh_TW "
14725
14726   for ac_header in locale.h
14727do :
14728  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
14729if test "x$ac_cv_header_locale_h" = xyes; then :
14730  cat >>confdefs.h <<_ACEOF
14731#define HAVE_LOCALE_H 1
14732_ACEOF
14733
14734fi
14735
14736done
14737
14738    if test $ac_cv_header_locale_h = yes; then
14739    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14740$as_echo_n "checking for LC_MESSAGES... " >&6; }
14741if ${am_cv_val_LC_MESSAGES+:} false; then :
14742  $as_echo_n "(cached) " >&6
14743else
14744  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14745/* end confdefs.h.  */
14746#include <locale.h>
14747int
14748main ()
14749{
14750return LC_MESSAGES
14751  ;
14752  return 0;
14753}
14754_ACEOF
14755if ac_fn_c_try_link "$LINENO"; then :
14756  am_cv_val_LC_MESSAGES=yes
14757else
14758  am_cv_val_LC_MESSAGES=no
14759fi
14760rm -f core conftest.err conftest.$ac_objext \
14761    conftest$ac_exeext conftest.$ac_ext
14762fi
14763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14764$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14765    if test $am_cv_val_LC_MESSAGES = yes; then
14766
14767$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14768
14769    fi
14770  fi
14771     USE_NLS=yes
14772
14773
14774    gt_cv_have_gettext=no
14775
14776    CATOBJEXT=NONE
14777    XGETTEXT=:
14778    INTLLIBS=
14779
14780
14781    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14782$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14783if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
14784  $as_echo_n "(cached) " >&6
14785else
14786  gt_save_LIBS="$LIBS"
14787     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14788     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14789/* end confdefs.h.  */
14790#include <CoreFoundation/CFPreferences.h>
14791int
14792main ()
14793{
14794CFPreferencesCopyAppValue(NULL, NULL)
14795  ;
14796  return 0;
14797}
14798_ACEOF
14799if ac_fn_c_try_link "$LINENO"; then :
14800  gt_cv_func_CFPreferencesCopyAppValue=yes
14801else
14802  gt_cv_func_CFPreferencesCopyAppValue=no
14803fi
14804rm -f core conftest.err conftest.$ac_objext \
14805    conftest$ac_exeext conftest.$ac_ext
14806     LIBS="$gt_save_LIBS"
14807fi
14808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14809$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14810  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14811
14812$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14813
14814  fi
14815    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14816$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14817if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
14818  $as_echo_n "(cached) " >&6
14819else
14820  gt_save_LIBS="$LIBS"
14821     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14822     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14823/* end confdefs.h.  */
14824#include <CoreFoundation/CFLocale.h>
14825int
14826main ()
14827{
14828CFLocaleCopyCurrent();
14829  ;
14830  return 0;
14831}
14832_ACEOF
14833if ac_fn_c_try_link "$LINENO"; then :
14834  gt_cv_func_CFLocaleCopyCurrent=yes
14835else
14836  gt_cv_func_CFLocaleCopyCurrent=no
14837fi
14838rm -f core conftest.err conftest.$ac_objext \
14839    conftest$ac_exeext conftest.$ac_ext
14840     LIBS="$gt_save_LIBS"
14841fi
14842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14843$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14844  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14845
14846$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14847
14848  fi
14849  INTL_MACOSX_LIBS=
14850  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14851    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
14852  fi
14853
14854
14855
14856    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
14857if test "x$ac_cv_header_libintl_h" = xyes; then :
14858  gt_cv_func_dgettext_libintl="no"
14859      libintl_extra_libs=""
14860
14861      #
14862      # First check in libc
14863      #
14864      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
14865$as_echo_n "checking for ngettext in libc... " >&6; }
14866if ${gt_cv_func_ngettext_libc+:} false; then :
14867  $as_echo_n "(cached) " >&6
14868else
14869  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14870/* end confdefs.h.  */
14871
14872#include <libintl.h>
14873
14874int
14875main ()
14876{
14877return !ngettext ("","", 1)
14878  ;
14879  return 0;
14880}
14881_ACEOF
14882if ac_fn_c_try_link "$LINENO"; then :
14883  gt_cv_func_ngettext_libc=yes
14884else
14885  gt_cv_func_ngettext_libc=no
14886fi
14887rm -f core conftest.err conftest.$ac_objext \
14888    conftest$ac_exeext conftest.$ac_ext
14889
14890fi
14891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
14892$as_echo "$gt_cv_func_ngettext_libc" >&6; }
14893
14894      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14895	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
14896$as_echo_n "checking for dgettext in libc... " >&6; }
14897if ${gt_cv_func_dgettext_libc+:} false; then :
14898  $as_echo_n "(cached) " >&6
14899else
14900  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14901/* end confdefs.h.  */
14902
14903#include <libintl.h>
14904
14905int
14906main ()
14907{
14908return !dgettext ("","")
14909  ;
14910  return 0;
14911}
14912_ACEOF
14913if ac_fn_c_try_link "$LINENO"; then :
14914  gt_cv_func_dgettext_libc=yes
14915else
14916  gt_cv_func_dgettext_libc=no
14917fi
14918rm -f core conftest.err conftest.$ac_objext \
14919    conftest$ac_exeext conftest.$ac_ext
14920
14921fi
14922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
14923$as_echo "$gt_cv_func_dgettext_libc" >&6; }
14924      fi
14925
14926      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14927        for ac_func in bind_textdomain_codeset
14928do :
14929  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14930if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14931  cat >>confdefs.h <<_ACEOF
14932#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14933_ACEOF
14934
14935fi
14936done
14937
14938      fi
14939
14940      #
14941      # If we don't have everything we want, check in libintl
14942      #
14943      if test "$gt_cv_func_dgettext_libc" != "yes" \
14944	 || test "$gt_cv_func_ngettext_libc" != "yes" \
14945         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
14946
14947        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
14948$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
14949if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
14950  $as_echo_n "(cached) " >&6
14951else
14952  ac_check_lib_save_LIBS=$LIBS
14953LIBS="-lintl  $LIBS"
14954cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14955/* end confdefs.h.  */
14956
14957/* Override any GCC internal prototype to avoid an error.
14958   Use char because int might match the return type of a GCC
14959   builtin and then its argument prototype would still apply.  */
14960#ifdef __cplusplus
14961extern "C"
14962#endif
14963char bindtextdomain ();
14964int
14965main ()
14966{
14967return bindtextdomain ();
14968  ;
14969  return 0;
14970}
14971_ACEOF
14972if ac_fn_c_try_link "$LINENO"; then :
14973  ac_cv_lib_intl_bindtextdomain=yes
14974else
14975  ac_cv_lib_intl_bindtextdomain=no
14976fi
14977rm -f core conftest.err conftest.$ac_objext \
14978    conftest$ac_exeext conftest.$ac_ext
14979LIBS=$ac_check_lib_save_LIBS
14980fi
14981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
14982$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
14983if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
14984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14985$as_echo_n "checking for ngettext in -lintl... " >&6; }
14986if ${ac_cv_lib_intl_ngettext+:} false; then :
14987  $as_echo_n "(cached) " >&6
14988else
14989  ac_check_lib_save_LIBS=$LIBS
14990LIBS="-lintl  $LIBS"
14991cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14992/* end confdefs.h.  */
14993
14994/* Override any GCC internal prototype to avoid an error.
14995   Use char because int might match the return type of a GCC
14996   builtin and then its argument prototype would still apply.  */
14997#ifdef __cplusplus
14998extern "C"
14999#endif
15000char ngettext ();
15001int
15002main ()
15003{
15004return ngettext ();
15005  ;
15006  return 0;
15007}
15008_ACEOF
15009if ac_fn_c_try_link "$LINENO"; then :
15010  ac_cv_lib_intl_ngettext=yes
15011else
15012  ac_cv_lib_intl_ngettext=no
15013fi
15014rm -f core conftest.err conftest.$ac_objext \
15015    conftest$ac_exeext conftest.$ac_ext
15016LIBS=$ac_check_lib_save_LIBS
15017fi
15018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15019$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15020if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15021  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
15022$as_echo_n "checking for dgettext in -lintl... " >&6; }
15023if ${ac_cv_lib_intl_dgettext+:} false; then :
15024  $as_echo_n "(cached) " >&6
15025else
15026  ac_check_lib_save_LIBS=$LIBS
15027LIBS="-lintl  $LIBS"
15028cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15029/* end confdefs.h.  */
15030
15031/* Override any GCC internal prototype to avoid an error.
15032   Use char because int might match the return type of a GCC
15033   builtin and then its argument prototype would still apply.  */
15034#ifdef __cplusplus
15035extern "C"
15036#endif
15037char dgettext ();
15038int
15039main ()
15040{
15041return dgettext ();
15042  ;
15043  return 0;
15044}
15045_ACEOF
15046if ac_fn_c_try_link "$LINENO"; then :
15047  ac_cv_lib_intl_dgettext=yes
15048else
15049  ac_cv_lib_intl_dgettext=no
15050fi
15051rm -f core conftest.err conftest.$ac_objext \
15052    conftest$ac_exeext conftest.$ac_ext
15053LIBS=$ac_check_lib_save_LIBS
15054fi
15055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
15056$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
15057if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
15058  gt_cv_func_dgettext_libintl=yes
15059fi
15060
15061fi
15062
15063fi
15064
15065
15066	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
15067	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
15068$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
15069	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
15070$as_echo "" >&6; }
15071  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15072$as_echo_n "checking for ngettext in -lintl... " >&6; }
15073if ${ac_cv_lib_intl_ngettext+:} false; then :
15074  $as_echo_n "(cached) " >&6
15075else
15076  ac_check_lib_save_LIBS=$LIBS
15077LIBS="-lintl -liconv $LIBS"
15078cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15079/* end confdefs.h.  */
15080
15081/* Override any GCC internal prototype to avoid an error.
15082   Use char because int might match the return type of a GCC
15083   builtin and then its argument prototype would still apply.  */
15084#ifdef __cplusplus
15085extern "C"
15086#endif
15087char ngettext ();
15088int
15089main ()
15090{
15091return ngettext ();
15092  ;
15093  return 0;
15094}
15095_ACEOF
15096if ac_fn_c_try_link "$LINENO"; then :
15097  ac_cv_lib_intl_ngettext=yes
15098else
15099  ac_cv_lib_intl_ngettext=no
15100fi
15101rm -f core conftest.err conftest.$ac_objext \
15102    conftest$ac_exeext conftest.$ac_ext
15103LIBS=$ac_check_lib_save_LIBS
15104fi
15105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15106$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15107if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15108  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
15109$as_echo_n "checking for dcgettext in -lintl... " >&6; }
15110if ${ac_cv_lib_intl_dcgettext+:} false; then :
15111  $as_echo_n "(cached) " >&6
15112else
15113  ac_check_lib_save_LIBS=$LIBS
15114LIBS="-lintl -liconv $LIBS"
15115cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15116/* end confdefs.h.  */
15117
15118/* Override any GCC internal prototype to avoid an error.
15119   Use char because int might match the return type of a GCC
15120   builtin and then its argument prototype would still apply.  */
15121#ifdef __cplusplus
15122extern "C"
15123#endif
15124char dcgettext ();
15125int
15126main ()
15127{
15128return dcgettext ();
15129  ;
15130  return 0;
15131}
15132_ACEOF
15133if ac_fn_c_try_link "$LINENO"; then :
15134  ac_cv_lib_intl_dcgettext=yes
15135else
15136  ac_cv_lib_intl_dcgettext=no
15137fi
15138rm -f core conftest.err conftest.$ac_objext \
15139    conftest$ac_exeext conftest.$ac_ext
15140LIBS=$ac_check_lib_save_LIBS
15141fi
15142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
15143$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
15144if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
15145  gt_cv_func_dgettext_libintl=yes
15146			libintl_extra_libs=-liconv
15147else
15148  :
15149fi
15150
15151else
15152  :
15153fi
15154
15155        fi
15156
15157        #
15158        # If we found libintl, then check in it for bind_textdomain_codeset();
15159        # we'll prefer libc if neither have bind_textdomain_codeset(),
15160        # and both have dgettext and ngettext
15161        #
15162        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
15163          glib_save_LIBS="$LIBS"
15164          LIBS="$LIBS -lintl $libintl_extra_libs"
15165          unset ac_cv_func_bind_textdomain_codeset
15166          for ac_func in bind_textdomain_codeset
15167do :
15168  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15169if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15170  cat >>confdefs.h <<_ACEOF
15171#define HAVE_BIND_TEXTDOMAIN_CODESET 1
15172_ACEOF
15173
15174fi
15175done
15176
15177          LIBS="$glib_save_LIBS"
15178
15179          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
15180            gt_cv_func_dgettext_libc=no
15181          else
15182            if test "$gt_cv_func_dgettext_libc" = "yes" \
15183		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
15184              gt_cv_func_dgettext_libintl=no
15185            fi
15186          fi
15187        fi
15188      fi
15189
15190      if test "$gt_cv_func_dgettext_libc" = "yes" \
15191	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
15192        gt_cv_have_gettext=yes
15193      fi
15194
15195      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
15196        INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
15197      fi
15198
15199      if test "$gt_cv_have_gettext" = "yes"; then
15200
15201$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15202
15203	# Extract the first word of "msgfmt", so it can be a program name with args.
15204set dummy msgfmt; ac_word=$2
15205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15206$as_echo_n "checking for $ac_word... " >&6; }
15207if ${ac_cv_path_MSGFMT+:} false; then :
15208  $as_echo_n "(cached) " >&6
15209else
15210  case "$MSGFMT" in
15211  /*)
15212  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15213  ;;
15214  *)
15215  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15216  for ac_dir in $PATH; do
15217    test -z "$ac_dir" && ac_dir=.
15218    if test -f $ac_dir/$ac_word; then
15219      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
15220	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
15221	break
15222      fi
15223    fi
15224  done
15225  IFS="$ac_save_ifs"
15226  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
15227  ;;
15228esac
15229fi
15230MSGFMT="$ac_cv_path_MSGFMT"
15231if test "$MSGFMT" != "no"; then
15232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15233$as_echo "$MSGFMT" >&6; }
15234else
15235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15236$as_echo "no" >&6; }
15237fi
15238	if test "$MSGFMT" != "no"; then
15239          glib_save_LIBS="$LIBS"
15240          LIBS="$LIBS $INTLLIBS"
15241	  for ac_func in dcgettext
15242do :
15243  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
15244if test "x$ac_cv_func_dcgettext" = xyes; then :
15245  cat >>confdefs.h <<_ACEOF
15246#define HAVE_DCGETTEXT 1
15247_ACEOF
15248
15249fi
15250done
15251
15252	  MSGFMT_OPTS=
15253	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15254$as_echo_n "checking if msgfmt accepts -c... " >&6; }
15255	  cat >conftest.foo <<_ACEOF
15256
15257msgid ""
15258msgstr ""
15259"Content-Type: text/plain; charset=UTF-8\n"
15260"Project-Id-Version: test 1.0\n"
15261"PO-Revision-Date: 2007-02-15 12:01+0100\n"
15262"Last-Translator: test <foo@bar.xx>\n"
15263"Language-Team: C <LL@li.org>\n"
15264"MIME-Version: 1.0\n"
15265"Content-Transfer-Encoding: 8bit\n"
15266
15267_ACEOF
15268if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
15269  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
15270  ac_status=$?
15271  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15272  test $ac_status = 0; }; then
15273  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15274$as_echo "yes" >&6; }
15275else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15276$as_echo "no" >&6; }
15277echo "$as_me: failed input was:" >&5
15278sed 's/^/| /' conftest.foo >&5
15279fi
15280
15281	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
15282set dummy gmsgfmt; ac_word=$2
15283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15284$as_echo_n "checking for $ac_word... " >&6; }
15285if ${ac_cv_path_GMSGFMT+:} false; then :
15286  $as_echo_n "(cached) " >&6
15287else
15288  case $GMSGFMT in
15289  [\\/]* | ?:[\\/]*)
15290  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15291  ;;
15292  *)
15293  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15294for as_dir in $PATH
15295do
15296  IFS=$as_save_IFS
15297  test -z "$as_dir" && as_dir=.
15298    for ac_exec_ext in '' $ac_executable_extensions; do
15299  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15300    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15301    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15302    break 2
15303  fi
15304done
15305  done
15306IFS=$as_save_IFS
15307
15308  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15309  ;;
15310esac
15311fi
15312GMSGFMT=$ac_cv_path_GMSGFMT
15313if test -n "$GMSGFMT"; then
15314  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15315$as_echo "$GMSGFMT" >&6; }
15316else
15317  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15318$as_echo "no" >&6; }
15319fi
15320
15321
15322	  # Extract the first word of "xgettext", so it can be a program name with args.
15323set dummy xgettext; ac_word=$2
15324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15325$as_echo_n "checking for $ac_word... " >&6; }
15326if ${ac_cv_path_XGETTEXT+:} false; then :
15327  $as_echo_n "(cached) " >&6
15328else
15329  case "$XGETTEXT" in
15330  /*)
15331  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15332  ;;
15333  *)
15334  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15335  for ac_dir in $PATH; do
15336    test -z "$ac_dir" && ac_dir=.
15337    if test -f $ac_dir/$ac_word; then
15338      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15339	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15340	break
15341      fi
15342    fi
15343  done
15344  IFS="$ac_save_ifs"
15345  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15346  ;;
15347esac
15348fi
15349XGETTEXT="$ac_cv_path_XGETTEXT"
15350if test "$XGETTEXT" != ":"; then
15351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15352$as_echo "$XGETTEXT" >&6; }
15353else
15354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15355$as_echo "no" >&6; }
15356fi
15357
15358	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15359/* end confdefs.h.  */
15360
15361int
15362main ()
15363{
15364extern int _nl_msg_cat_cntr;
15365			 return _nl_msg_cat_cntr
15366  ;
15367  return 0;
15368}
15369_ACEOF
15370if ac_fn_c_try_link "$LINENO"; then :
15371  CATOBJEXT=.gmo
15372             DATADIRNAME=share
15373else
15374  case $host in
15375	    *-*-solaris*)
15376	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15377if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15378  CATOBJEXT=.gmo
15379               DATADIRNAME=share
15380else
15381  CATOBJEXT=.mo
15382               DATADIRNAME=lib
15383fi
15384
15385	    ;;
15386	    *-*-openbsd*)
15387	    CATOBJEXT=.mo
15388            DATADIRNAME=share
15389	    ;;
15390	    *)
15391	    CATOBJEXT=.mo
15392            DATADIRNAME=lib
15393	    ;;
15394	    esac
15395fi
15396rm -f core conftest.err conftest.$ac_objext \
15397    conftest$ac_exeext conftest.$ac_ext
15398          LIBS="$glib_save_LIBS"
15399	  INSTOBJEXT=.mo
15400	else
15401	  gt_cv_have_gettext=no
15402	fi
15403      fi
15404
15405fi
15406
15407
15408
15409    if test "$gt_cv_have_gettext" = "yes" ; then
15410
15411$as_echo "#define ENABLE_NLS 1" >>confdefs.h
15412
15413    fi
15414
15415        if test "$XGETTEXT" != ":"; then
15416                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15417        : ;
15418      else
15419        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15420$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15421        XGETTEXT=":"
15422      fi
15423    fi
15424
15425    # We need to process the po/ directory.
15426    POSUB=po
15427
15428    ac_config_commands="$ac_config_commands default-1"
15429
15430
15431                for lang in $ALL_LINGUAS; do
15432      GMOFILES="$GMOFILES $lang.gmo"
15433      POFILES="$POFILES $lang.po"
15434    done
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448   if test "$gt_cv_have_gettext" = "yes"; then
15449     if test "x$ALL_LINGUAS" = "x"; then
15450       LINGUAS=
15451     else
15452       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15453$as_echo_n "checking for catalogs to be installed... " >&6; }
15454       NEW_LINGUAS=
15455       for presentlang in $ALL_LINGUAS; do
15456         useit=no
15457         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15458           desiredlanguages="$LINGUAS"
15459         else
15460           desiredlanguages="$ALL_LINGUAS"
15461         fi
15462         for desiredlang in $desiredlanguages; do
15463 	   # Use the presentlang catalog if desiredlang is
15464           #   a. equal to presentlang, or
15465           #   b. a variant of presentlang (because in this case,
15466           #      presentlang can be used as a fallback for messages
15467           #      which are not translated in the desiredlang catalog).
15468           case "$desiredlang" in
15469             "$presentlang"*) useit=yes;;
15470           esac
15471         done
15472         if test $useit = yes; then
15473           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15474         fi
15475       done
15476       LINGUAS=$NEW_LINGUAS
15477       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15478$as_echo "$LINGUAS" >&6; }
15479     fi
15480
15481          if test -n "$LINGUAS"; then
15482       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15483     fi
15484   fi
15485
15486            MKINSTALLDIRS=
15487   if test -n "$ac_aux_dir"; then
15488     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15489   fi
15490   if test -z "$MKINSTALLDIRS"; then
15491     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15492   fi
15493
15494
15495         test -d po || mkdir po
15496   if test "x$srcdir" != "x."; then
15497     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15498       posrcprefix="$srcdir/"
15499     else
15500       posrcprefix="../$srcdir/"
15501     fi
15502   else
15503     posrcprefix="../"
15504   fi
15505   rm -f po/POTFILES
15506   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15507	< $srcdir/po/POTFILES.in > po/POTFILES
15508
15509
15510    ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15511if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15512
15513fi
15514
15515
15516    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5
15517$as_echo_n "checking for locales directory... " >&6; }
15518
15519# Check whether --with-locales-dir was given.
15520if test "${with_locales_dir+set}" = set; then :
15521  withval=$with_locales_dir; localedir=$withval
15522else
15523
15524    if test x"$CATOBJEXT" = x".mo"; then
15525      localedir=$libdir/locale
15526    else
15527      localedir=$datadir/locale
15528    fi
15529
15530fi
15531
15532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5
15533$as_echo "$localedir" >&6; }
15534
15535
15536    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5
15537$as_echo_n "checking for additional xgettext flags... " >&6; }
15538  if test x"$XGETTEXT_ARGS" = x""; then
15539    XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8";
15540  else
15541    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8";
15542  fi
15543
15544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5
15545$as_echo "$XGETTEXT_ARGS" >&6; }
15546
15547
15548
15549    # Check whether --enable-debug was given.
15550if test "${enable_debug+set}" = set; then :
15551  enableval=$enable_debug; enable_debug=$enableval
15552else
15553  enable_debug=minimum
15554fi
15555
15556
15557  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5
15558$as_echo_n "checking whether to build with debugging support... " >&6; }
15559  if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
15560
15561$as_echo "#define DEBUG 1" >>confdefs.h
15562
15563
15564    xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \
15565                              -Wall -Wextra \
15566                              -Wno-missing-field-initializers \
15567                              -Wno-unused-parameter -Wold-style-definition \
15568                              -Wdeclaration-after-statement \
15569                              -Wmissing-declarations \
15570                              -Wmissing-noreturn -Wshadow -Wpointer-arith \
15571                              -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
15572                              -Winit-self -Wmissing-include-dirs -Wundef \
15573                              -Wnested-externs"
15574    CPPFLAGS="$CPPFLAGS"
15575
15576    if test x`uname` = x"Linux"; then
15577      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"
15578    fi
15579
15580        if test x`uname` != x"OpenBSD"; then
15581      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wredundant-decls"
15582    fi
15583
15584    if test x"$enable_debug" = x"full"; then
15585
15586$as_echo "#define DEBUG_TRACE 1" >>confdefs.h
15587
15588      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g -Werror"
15589      CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
15590      { $as_echo "$as_me:${as_lineno-$LINENO}: result: full" >&5
15591$as_echo "full" >&6; }
15592    else
15593      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g"
15594      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15595$as_echo "yes" >&6; }
15596    fi
15597
15598
15599  for flag in $xdt_cv_additional_CFLAGS; do
15600    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
15601$as_echo_n "checking if $CC supports $flag... " >&6; }
15602    saved_CFLAGS="$CFLAGS"
15603    CFLAGS="$CFLAGS $flag"
15604    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15605/* end confdefs.h.  */
15606
15607_ACEOF
15608if ac_fn_c_try_compile "$LINENO"; then :
15609  flag_supported=yes
15610else
15611  flag_supported=no
15612fi
15613rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15614    CFLAGS="$saved_CFLAGS"
15615    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
15616$as_echo "$flag_supported" >&6; }
15617
15618    if test "x$flag_supported" = "xyes"; then
15619      supported_CFLAGS="$supported_CFLAGS $flag"
15620    fi
15621  done
15622
15623
15624
15625                                                supported_CXXFLAGS="$supported_CFLAGS"
15626
15627
15628    CFLAGS="$CFLAGS $supported_CFLAGS"
15629    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
15630  else
15631    CPPFLAGS="$CPPFLAGS -DNDEBUG"
15632
15633    if test x"$enable_debug" = x"no"; then
15634      CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT"
15635      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15636$as_echo "no" >&6; }
15637    else
15638      { $as_echo "$as_me:${as_lineno-$LINENO}: result: minimum" >&5
15639$as_echo "minimum" >&6; }
15640    fi
15641  fi
15642
15643
15644ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in"
15645
15646cat >confcache <<\_ACEOF
15647# This file is a shell script that caches the results of configure
15648# tests run on this system so they can be shared between configure
15649# scripts and configure runs, see configure's option --config-cache.
15650# It is not useful on other systems.  If it contains results you don't
15651# want to keep, you may remove or edit it.
15652#
15653# config.status only pays attention to the cache file if you give it
15654# the --recheck option to rerun configure.
15655#
15656# `ac_cv_env_foo' variables (set or unset) will be overridden when
15657# loading this file, other *unset* `ac_cv_foo' will be assigned the
15658# following values.
15659
15660_ACEOF
15661
15662# The following way of writing the cache mishandles newlines in values,
15663# but we know of no workaround that is simple, portable, and efficient.
15664# So, we kill variables containing newlines.
15665# Ultrix sh set writes to stderr and can't be redirected directly,
15666# and sets the high bit in the cache file unless we assign to the vars.
15667(
15668  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15669    eval ac_val=\$$ac_var
15670    case $ac_val in #(
15671    *${as_nl}*)
15672      case $ac_var in #(
15673      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15674$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15675      esac
15676      case $ac_var in #(
15677      _ | IFS | as_nl) ;; #(
15678      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15679      *) { eval $ac_var=; unset $ac_var;} ;;
15680      esac ;;
15681    esac
15682  done
15683
15684  (set) 2>&1 |
15685    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15686    *${as_nl}ac_space=\ *)
15687      # `set' does not quote correctly, so add quotes: double-quote
15688      # substitution turns \\\\ into \\, and sed turns \\ into \.
15689      sed -n \
15690	"s/'/'\\\\''/g;
15691	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15692      ;; #(
15693    *)
15694      # `set' quotes correctly as required by POSIX, so do not add quotes.
15695      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15696      ;;
15697    esac |
15698    sort
15699) |
15700  sed '
15701     /^ac_cv_env_/b end
15702     t clear
15703     :clear
15704     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15705     t end
15706     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15707     :end' >>confcache
15708if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15709  if test -w "$cache_file"; then
15710    if test "x$cache_file" != "x/dev/null"; then
15711      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15712$as_echo "$as_me: updating cache $cache_file" >&6;}
15713      if test ! -f "$cache_file" || test -h "$cache_file"; then
15714	cat confcache >"$cache_file"
15715      else
15716        case $cache_file in #(
15717        */* | ?:*)
15718	  mv -f confcache "$cache_file"$$ &&
15719	  mv -f "$cache_file"$$ "$cache_file" ;; #(
15720        *)
15721	  mv -f confcache "$cache_file" ;;
15722	esac
15723      fi
15724    fi
15725  else
15726    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15727$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15728  fi
15729fi
15730rm -f confcache
15731
15732test "x$prefix" = xNONE && prefix=$ac_default_prefix
15733# Let make expand exec_prefix.
15734test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15735
15736DEFS=-DHAVE_CONFIG_H
15737
15738ac_libobjs=
15739ac_ltlibobjs=
15740U=
15741for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15742  # 1. Remove the extension, and $U if already installed.
15743  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15744  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15745  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15746  #    will be set to the directory where LIBOBJS objects are built.
15747  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15748  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15749done
15750LIBOBJS=$ac_libobjs
15751
15752LTLIBOBJS=$ac_ltlibobjs
15753
15754
15755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15756$as_echo_n "checking that generated files are newer than configure... " >&6; }
15757   if test -n "$am_sleep_pid"; then
15758     # Hide warnings about reused PIDs.
15759     wait $am_sleep_pid 2>/dev/null
15760   fi
15761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15762$as_echo "done" >&6; }
15763 if test -n "$EXEEXT"; then
15764  am__EXEEXT_TRUE=
15765  am__EXEEXT_FALSE='#'
15766else
15767  am__EXEEXT_TRUE='#'
15768  am__EXEEXT_FALSE=
15769fi
15770
15771if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15772  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15773Usually this means the macro was only invoked conditionally." "$LINENO" 5
15774fi
15775if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15776  as_fn_error $? "conditional \"AMDEP\" was never defined.
15777Usually this means the macro was only invoked conditionally." "$LINENO" 5
15778fi
15779if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15780  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15781Usually this means the macro was only invoked conditionally." "$LINENO" 5
15782fi
15783
15784  ac_config_commands="$ac_config_commands po/stamp-it"
15785
15786
15787
15788: "${CONFIG_STATUS=./config.status}"
15789ac_write_fail=0
15790ac_clean_files_save=$ac_clean_files
15791ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15792{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15793$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15794as_write_fail=0
15795cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15796#! $SHELL
15797# Generated by $as_me.
15798# Run this file to recreate the current configuration.
15799# Compiler output produced by configure, useful for debugging
15800# configure, is in config.log if it exists.
15801
15802debug=false
15803ac_cs_recheck=false
15804ac_cs_silent=false
15805
15806SHELL=\${CONFIG_SHELL-$SHELL}
15807export SHELL
15808_ASEOF
15809cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15810## -------------------- ##
15811## M4sh Initialization. ##
15812## -------------------- ##
15813
15814# Be more Bourne compatible
15815DUALCASE=1; export DUALCASE # for MKS sh
15816if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15817  emulate sh
15818  NULLCMD=:
15819  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15820  # is contrary to our usage.  Disable this feature.
15821  alias -g '${1+"$@"}'='"$@"'
15822  setopt NO_GLOB_SUBST
15823else
15824  case `(set -o) 2>/dev/null` in #(
15825  *posix*) :
15826    set -o posix ;; #(
15827  *) :
15828     ;;
15829esac
15830fi
15831
15832
15833as_nl='
15834'
15835export as_nl
15836# Printing a long string crashes Solaris 7 /usr/bin/printf.
15837as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15838as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15839as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15840# Prefer a ksh shell builtin over an external printf program on Solaris,
15841# but without wasting forks for bash or zsh.
15842if test -z "$BASH_VERSION$ZSH_VERSION" \
15843    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15844  as_echo='print -r --'
15845  as_echo_n='print -rn --'
15846elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15847  as_echo='printf %s\n'
15848  as_echo_n='printf %s'
15849else
15850  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15851    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15852    as_echo_n='/usr/ucb/echo -n'
15853  else
15854    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15855    as_echo_n_body='eval
15856      arg=$1;
15857      case $arg in #(
15858      *"$as_nl"*)
15859	expr "X$arg" : "X\\(.*\\)$as_nl";
15860	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15861      esac;
15862      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15863    '
15864    export as_echo_n_body
15865    as_echo_n='sh -c $as_echo_n_body as_echo'
15866  fi
15867  export as_echo_body
15868  as_echo='sh -c $as_echo_body as_echo'
15869fi
15870
15871# The user is always right.
15872if test "${PATH_SEPARATOR+set}" != set; then
15873  PATH_SEPARATOR=:
15874  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15875    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15876      PATH_SEPARATOR=';'
15877  }
15878fi
15879
15880
15881# IFS
15882# We need space, tab and new line, in precisely that order.  Quoting is
15883# there to prevent editors from complaining about space-tab.
15884# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15885# splitting by setting IFS to empty value.)
15886IFS=" ""	$as_nl"
15887
15888# Find who we are.  Look in the path if we contain no directory separator.
15889as_myself=
15890case $0 in #((
15891  *[\\/]* ) as_myself=$0 ;;
15892  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15893for as_dir in $PATH
15894do
15895  IFS=$as_save_IFS
15896  test -z "$as_dir" && as_dir=.
15897    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15898  done
15899IFS=$as_save_IFS
15900
15901     ;;
15902esac
15903# We did not find ourselves, most probably we were run as `sh COMMAND'
15904# in which case we are not to be found in the path.
15905if test "x$as_myself" = x; then
15906  as_myself=$0
15907fi
15908if test ! -f "$as_myself"; then
15909  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15910  exit 1
15911fi
15912
15913# Unset variables that we do not need and which cause bugs (e.g. in
15914# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15915# suppresses any "Segmentation fault" message there.  '((' could
15916# trigger a bug in pdksh 5.2.14.
15917for as_var in BASH_ENV ENV MAIL MAILPATH
15918do eval test x\${$as_var+set} = xset \
15919  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15920done
15921PS1='$ '
15922PS2='> '
15923PS4='+ '
15924
15925# NLS nuisances.
15926LC_ALL=C
15927export LC_ALL
15928LANGUAGE=C
15929export LANGUAGE
15930
15931# CDPATH.
15932(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15933
15934
15935# as_fn_error STATUS ERROR [LINENO LOG_FD]
15936# ----------------------------------------
15937# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15938# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15939# script with STATUS, using 1 if that was 0.
15940as_fn_error ()
15941{
15942  as_status=$1; test $as_status -eq 0 && as_status=1
15943  if test "$4"; then
15944    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15945    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15946  fi
15947  $as_echo "$as_me: error: $2" >&2
15948  as_fn_exit $as_status
15949} # as_fn_error
15950
15951
15952# as_fn_set_status STATUS
15953# -----------------------
15954# Set $? to STATUS, without forking.
15955as_fn_set_status ()
15956{
15957  return $1
15958} # as_fn_set_status
15959
15960# as_fn_exit STATUS
15961# -----------------
15962# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15963as_fn_exit ()
15964{
15965  set +e
15966  as_fn_set_status $1
15967  exit $1
15968} # as_fn_exit
15969
15970# as_fn_unset VAR
15971# ---------------
15972# Portably unset VAR.
15973as_fn_unset ()
15974{
15975  { eval $1=; unset $1;}
15976}
15977as_unset=as_fn_unset
15978# as_fn_append VAR VALUE
15979# ----------------------
15980# Append the text in VALUE to the end of the definition contained in VAR. Take
15981# advantage of any shell optimizations that allow amortized linear growth over
15982# repeated appends, instead of the typical quadratic growth present in naive
15983# implementations.
15984if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15985  eval 'as_fn_append ()
15986  {
15987    eval $1+=\$2
15988  }'
15989else
15990  as_fn_append ()
15991  {
15992    eval $1=\$$1\$2
15993  }
15994fi # as_fn_append
15995
15996# as_fn_arith ARG...
15997# ------------------
15998# Perform arithmetic evaluation on the ARGs, and store the result in the
15999# global $as_val. Take advantage of shells that can avoid forks. The arguments
16000# must be portable across $(()) and expr.
16001if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16002  eval 'as_fn_arith ()
16003  {
16004    as_val=$(( $* ))
16005  }'
16006else
16007  as_fn_arith ()
16008  {
16009    as_val=`expr "$@" || test $? -eq 1`
16010  }
16011fi # as_fn_arith
16012
16013
16014if expr a : '\(a\)' >/dev/null 2>&1 &&
16015   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16016  as_expr=expr
16017else
16018  as_expr=false
16019fi
16020
16021if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16022  as_basename=basename
16023else
16024  as_basename=false
16025fi
16026
16027if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16028  as_dirname=dirname
16029else
16030  as_dirname=false
16031fi
16032
16033as_me=`$as_basename -- "$0" ||
16034$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16035	 X"$0" : 'X\(//\)$' \| \
16036	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16037$as_echo X/"$0" |
16038    sed '/^.*\/\([^/][^/]*\)\/*$/{
16039	    s//\1/
16040	    q
16041	  }
16042	  /^X\/\(\/\/\)$/{
16043	    s//\1/
16044	    q
16045	  }
16046	  /^X\/\(\/\).*/{
16047	    s//\1/
16048	    q
16049	  }
16050	  s/.*/./; q'`
16051
16052# Avoid depending upon Character Ranges.
16053as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16054as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16055as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16056as_cr_digits='0123456789'
16057as_cr_alnum=$as_cr_Letters$as_cr_digits
16058
16059ECHO_C= ECHO_N= ECHO_T=
16060case `echo -n x` in #(((((
16061-n*)
16062  case `echo 'xy\c'` in
16063  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
16064  xy)  ECHO_C='\c';;
16065  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16066       ECHO_T='	';;
16067  esac;;
16068*)
16069  ECHO_N='-n';;
16070esac
16071
16072rm -f conf$$ conf$$.exe conf$$.file
16073if test -d conf$$.dir; then
16074  rm -f conf$$.dir/conf$$.file
16075else
16076  rm -f conf$$.dir
16077  mkdir conf$$.dir 2>/dev/null
16078fi
16079if (echo >conf$$.file) 2>/dev/null; then
16080  if ln -s conf$$.file conf$$ 2>/dev/null; then
16081    as_ln_s='ln -s'
16082    # ... but there are two gotchas:
16083    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16084    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16085    # In both cases, we have to default to `cp -pR'.
16086    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16087      as_ln_s='cp -pR'
16088  elif ln conf$$.file conf$$ 2>/dev/null; then
16089    as_ln_s=ln
16090  else
16091    as_ln_s='cp -pR'
16092  fi
16093else
16094  as_ln_s='cp -pR'
16095fi
16096rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16097rmdir conf$$.dir 2>/dev/null
16098
16099
16100# as_fn_mkdir_p
16101# -------------
16102# Create "$as_dir" as a directory, including parents if necessary.
16103as_fn_mkdir_p ()
16104{
16105
16106  case $as_dir in #(
16107  -*) as_dir=./$as_dir;;
16108  esac
16109  test -d "$as_dir" || eval $as_mkdir_p || {
16110    as_dirs=
16111    while :; do
16112      case $as_dir in #(
16113      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16114      *) as_qdir=$as_dir;;
16115      esac
16116      as_dirs="'$as_qdir' $as_dirs"
16117      as_dir=`$as_dirname -- "$as_dir" ||
16118$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16119	 X"$as_dir" : 'X\(//\)[^/]' \| \
16120	 X"$as_dir" : 'X\(//\)$' \| \
16121	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16122$as_echo X"$as_dir" |
16123    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16124	    s//\1/
16125	    q
16126	  }
16127	  /^X\(\/\/\)[^/].*/{
16128	    s//\1/
16129	    q
16130	  }
16131	  /^X\(\/\/\)$/{
16132	    s//\1/
16133	    q
16134	  }
16135	  /^X\(\/\).*/{
16136	    s//\1/
16137	    q
16138	  }
16139	  s/.*/./; q'`
16140      test -d "$as_dir" && break
16141    done
16142    test -z "$as_dirs" || eval "mkdir $as_dirs"
16143  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16144
16145
16146} # as_fn_mkdir_p
16147if mkdir -p . 2>/dev/null; then
16148  as_mkdir_p='mkdir -p "$as_dir"'
16149else
16150  test -d ./-p && rmdir ./-p
16151  as_mkdir_p=false
16152fi
16153
16154
16155# as_fn_executable_p FILE
16156# -----------------------
16157# Test if FILE is an executable regular file.
16158as_fn_executable_p ()
16159{
16160  test -f "$1" && test -x "$1"
16161} # as_fn_executable_p
16162as_test_x='test -x'
16163as_executable_p=as_fn_executable_p
16164
16165# Sed expression to map a string onto a valid CPP name.
16166as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16167
16168# Sed expression to map a string onto a valid variable name.
16169as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16170
16171
16172exec 6>&1
16173## ----------------------------------- ##
16174## Main body of $CONFIG_STATUS script. ##
16175## ----------------------------------- ##
16176_ASEOF
16177test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16178
16179cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16180# Save the log message, to keep $0 and so on meaningful, and to
16181# report actual input values of CONFIG_FILES etc. instead of their
16182# values after options handling.
16183ac_log="
16184This file was extended by Xfmpc $as_me 0.3.0, which was
16185generated by GNU Autoconf 2.69.  Invocation command line was
16186
16187  CONFIG_FILES    = $CONFIG_FILES
16188  CONFIG_HEADERS  = $CONFIG_HEADERS
16189  CONFIG_LINKS    = $CONFIG_LINKS
16190  CONFIG_COMMANDS = $CONFIG_COMMANDS
16191  $ $0 $@
16192
16193on `(hostname || uname -n) 2>/dev/null | sed 1q`
16194"
16195
16196_ACEOF
16197
16198case $ac_config_files in *"
16199"*) set x $ac_config_files; shift; ac_config_files=$*;;
16200esac
16201
16202case $ac_config_headers in *"
16203"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16204esac
16205
16206
16207cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16208# Files that config.status was made for.
16209config_files="$ac_config_files"
16210config_headers="$ac_config_headers"
16211config_commands="$ac_config_commands"
16212
16213_ACEOF
16214
16215cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16216ac_cs_usage="\
16217\`$as_me' instantiates files and other configuration actions
16218from templates according to the current configuration.  Unless the files
16219and actions are specified as TAGs, all are instantiated by default.
16220
16221Usage: $0 [OPTION]... [TAG]...
16222
16223  -h, --help       print this help, then exit
16224  -V, --version    print version number and configuration settings, then exit
16225      --config     print configuration, then exit
16226  -q, --quiet, --silent
16227                   do not print progress messages
16228  -d, --debug      don't remove temporary files
16229      --recheck    update $as_me by reconfiguring in the same conditions
16230      --file=FILE[:TEMPLATE]
16231                   instantiate the configuration file FILE
16232      --header=FILE[:TEMPLATE]
16233                   instantiate the configuration header FILE
16234
16235Configuration files:
16236$config_files
16237
16238Configuration headers:
16239$config_headers
16240
16241Configuration commands:
16242$config_commands
16243
16244Report bugs to <http://bugzilla.xfce.org/>.
16245Xfmpc home page: <http://goodies.xfce.org/projects/applications/xfmpc>."
16246
16247_ACEOF
16248cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16249ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16250ac_cs_version="\\
16251Xfmpc config.status 0.3.0
16252configured by $0, generated by GNU Autoconf 2.69,
16253  with options \\"\$ac_cs_config\\"
16254
16255Copyright (C) 2012 Free Software Foundation, Inc.
16256This config.status script is free software; the Free Software Foundation
16257gives unlimited permission to copy, distribute and modify it."
16258
16259ac_pwd='$ac_pwd'
16260srcdir='$srcdir'
16261INSTALL='$INSTALL'
16262MKDIR_P='$MKDIR_P'
16263AWK='$AWK'
16264test -n "\$AWK" || AWK=awk
16265_ACEOF
16266
16267cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16268# The default lists apply if the user does not specify any file.
16269ac_need_defaults=:
16270while test $# != 0
16271do
16272  case $1 in
16273  --*=?*)
16274    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16275    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16276    ac_shift=:
16277    ;;
16278  --*=)
16279    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16280    ac_optarg=
16281    ac_shift=:
16282    ;;
16283  *)
16284    ac_option=$1
16285    ac_optarg=$2
16286    ac_shift=shift
16287    ;;
16288  esac
16289
16290  case $ac_option in
16291  # Handling of the options.
16292  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16293    ac_cs_recheck=: ;;
16294  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16295    $as_echo "$ac_cs_version"; exit ;;
16296  --config | --confi | --conf | --con | --co | --c )
16297    $as_echo "$ac_cs_config"; exit ;;
16298  --debug | --debu | --deb | --de | --d | -d )
16299    debug=: ;;
16300  --file | --fil | --fi | --f )
16301    $ac_shift
16302    case $ac_optarg in
16303    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16304    '') as_fn_error $? "missing file argument" ;;
16305    esac
16306    as_fn_append CONFIG_FILES " '$ac_optarg'"
16307    ac_need_defaults=false;;
16308  --header | --heade | --head | --hea )
16309    $ac_shift
16310    case $ac_optarg in
16311    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16312    esac
16313    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16314    ac_need_defaults=false;;
16315  --he | --h)
16316    # Conflict between --help and --header
16317    as_fn_error $? "ambiguous option: \`$1'
16318Try \`$0 --help' for more information.";;
16319  --help | --hel | -h )
16320    $as_echo "$ac_cs_usage"; exit ;;
16321  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16322  | -silent | --silent | --silen | --sile | --sil | --si | --s)
16323    ac_cs_silent=: ;;
16324
16325  # This is an error.
16326  -*) as_fn_error $? "unrecognized option: \`$1'
16327Try \`$0 --help' for more information." ;;
16328
16329  *) as_fn_append ac_config_targets " $1"
16330     ac_need_defaults=false ;;
16331
16332  esac
16333  shift
16334done
16335
16336ac_configure_extra_args=
16337
16338if $ac_cs_silent; then
16339  exec 6>/dev/null
16340  ac_configure_extra_args="$ac_configure_extra_args --silent"
16341fi
16342
16343_ACEOF
16344cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16345if \$ac_cs_recheck; then
16346  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16347  shift
16348  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16349  CONFIG_SHELL='$SHELL'
16350  export CONFIG_SHELL
16351  exec "\$@"
16352fi
16353
16354_ACEOF
16355cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16356exec 5>>config.log
16357{
16358  echo
16359  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16360## Running $as_me. ##
16361_ASBOX
16362  $as_echo "$ac_log"
16363} >&5
16364
16365_ACEOF
16366cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16367#
16368# INIT-COMMANDS
16369#
16370AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
16371
16372
16373# The HP-UX ksh and POSIX shell print the target directory to stdout
16374# if CDPATH is set.
16375(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16376
16377sed_quote_subst='$sed_quote_subst'
16378double_quote_subst='$double_quote_subst'
16379delay_variable_subst='$delay_variable_subst'
16380SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16381Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16382GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16383EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16384FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16385SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16386ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16387LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16388macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16389macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16390enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16391enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16392pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16393enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16394shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16395PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16396host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16397host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16398host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16399build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16400build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16401build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16402NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16403LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16404max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16405ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16406exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16407lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16408lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16409lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16410lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16411lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16412reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16413reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16414OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16415deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16416file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16417file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16418want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16419DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16420sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16421AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16422lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
16423AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16424archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16425STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16426RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16427old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16428old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16429old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16430lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16431CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16432CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16433compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16434GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16435lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16436lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16437lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16438lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16439lt_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"`'
16440lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16441nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16442lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16443lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16444objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16445MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16446lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16447lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16448lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16449lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16450lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16451need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16452MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16453DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16454NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16455LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16456OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16457OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16458libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16459shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16460extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16461archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16462enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16463export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16464whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16465compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16466old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16467old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16468archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16469archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16470module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16471module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16472with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16473allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16474no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16475hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16476hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16477hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16478hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16479hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16480hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16481hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16482inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16483link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16484always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16485export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16486exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16487include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16488prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16489postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16490file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16491variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16492need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16493need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16494version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16495runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16496shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16497shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16498libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16499library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16500soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16501install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16502postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16503postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16504finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16505finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16506hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16507sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16508configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16509configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16510hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16511enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16512enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16513enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16514old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16515striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16516
16517LTCC='$LTCC'
16518LTCFLAGS='$LTCFLAGS'
16519compiler='$compiler_DEFAULT'
16520
16521# A function that is used when there is no print builtin or printf.
16522func_fallback_echo ()
16523{
16524  eval 'cat <<_LTECHO_EOF
16525\$1
16526_LTECHO_EOF'
16527}
16528
16529# Quote evaled strings.
16530for var in SED \
16531GREP \
16532EGREP \
16533FGREP \
16534SHELL \
16535ECHO \
16536LD \
16537PATH_SEPARATOR \
16538NM \
16539LN_S \
16540lt_SP2NL \
16541lt_NL2SP \
16542reload_flag \
16543OBJDUMP \
16544deplibs_check_method \
16545file_magic_cmd \
16546file_magic_glob \
16547want_nocaseglob \
16548DLLTOOL \
16549sharedlib_from_linklib_cmd \
16550AR \
16551archiver_list_spec \
16552STRIP \
16553RANLIB \
16554CC \
16555CFLAGS \
16556compiler \
16557lt_cv_sys_global_symbol_pipe \
16558lt_cv_sys_global_symbol_to_cdecl \
16559lt_cv_sys_global_symbol_to_import \
16560lt_cv_sys_global_symbol_to_c_name_address \
16561lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16562lt_cv_nm_interface \
16563nm_file_list_spec \
16564lt_cv_truncate_bin \
16565lt_prog_compiler_no_builtin_flag \
16566lt_prog_compiler_pic \
16567lt_prog_compiler_wl \
16568lt_prog_compiler_static \
16569lt_cv_prog_compiler_c_o \
16570need_locks \
16571MANIFEST_TOOL \
16572DSYMUTIL \
16573NMEDIT \
16574LIPO \
16575OTOOL \
16576OTOOL64 \
16577shrext_cmds \
16578export_dynamic_flag_spec \
16579whole_archive_flag_spec \
16580compiler_needs_object \
16581with_gnu_ld \
16582allow_undefined_flag \
16583no_undefined_flag \
16584hardcode_libdir_flag_spec \
16585hardcode_libdir_separator \
16586exclude_expsyms \
16587include_expsyms \
16588file_list_spec \
16589variables_saved_for_relink \
16590libname_spec \
16591library_names_spec \
16592soname_spec \
16593install_override_mode \
16594finish_eval \
16595old_striplib \
16596striplib; do
16597    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16598    *[\\\\\\\`\\"\\\$]*)
16599      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16600      ;;
16601    *)
16602      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16603      ;;
16604    esac
16605done
16606
16607# Double-quote double-evaled strings.
16608for var in reload_cmds \
16609old_postinstall_cmds \
16610old_postuninstall_cmds \
16611old_archive_cmds \
16612extract_expsyms_cmds \
16613old_archive_from_new_cmds \
16614old_archive_from_expsyms_cmds \
16615archive_cmds \
16616archive_expsym_cmds \
16617module_cmds \
16618module_expsym_cmds \
16619export_symbols_cmds \
16620prelink_cmds \
16621postlink_cmds \
16622postinstall_cmds \
16623postuninstall_cmds \
16624finish_cmds \
16625sys_lib_search_path_spec \
16626configure_time_dlsearch_path \
16627configure_time_lt_sys_library_path; do
16628    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16629    *[\\\\\\\`\\"\\\$]*)
16630      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16631      ;;
16632    *)
16633      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16634      ;;
16635    esac
16636done
16637
16638ac_aux_dir='$ac_aux_dir'
16639
16640# See if we are running on zsh, and set the options that allow our
16641# commands through without removal of \ escapes INIT.
16642if test -n "\${ZSH_VERSION+set}"; then
16643   setopt NO_GLOB_SUBST
16644fi
16645
16646
16647    PACKAGE='$PACKAGE'
16648    VERSION='$VERSION'
16649    RM='$RM'
16650    ofile='$ofile'
16651
16652
16653
16654
16655
16656_ACEOF
16657
16658cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16659
16660# Handling of arguments.
16661for ac_config_target in $ac_config_targets
16662do
16663  case $ac_config_target in
16664    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16665    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16666    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16667    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16668    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16669    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16670    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16671    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16672
16673  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16674  esac
16675done
16676
16677
16678# If the user did not use the arguments to specify the items to instantiate,
16679# then the envvar interface is used.  Set only those that are not.
16680# We use the long form for the default assignment because of an extremely
16681# bizarre bug on SunOS 4.1.3.
16682if $ac_need_defaults; then
16683  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16684  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16685  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16686fi
16687
16688# Have a temporary directory for convenience.  Make it in the build tree
16689# simply because there is no reason against having it here, and in addition,
16690# creating and moving files from /tmp can sometimes cause problems.
16691# Hook for its removal unless debugging.
16692# Note that there is a small window in which the directory will not be cleaned:
16693# after its creation but before its name has been assigned to `$tmp'.
16694$debug ||
16695{
16696  tmp= ac_tmp=
16697  trap 'exit_status=$?
16698  : "${ac_tmp:=$tmp}"
16699  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16700' 0
16701  trap 'as_fn_exit 1' 1 2 13 15
16702}
16703# Create a (secure) tmp directory for tmp files.
16704
16705{
16706  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16707  test -d "$tmp"
16708}  ||
16709{
16710  tmp=./conf$$-$RANDOM
16711  (umask 077 && mkdir "$tmp")
16712} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16713ac_tmp=$tmp
16714
16715# Set up the scripts for CONFIG_FILES section.
16716# No need to generate them if there are no CONFIG_FILES.
16717# This happens for instance with `./config.status config.h'.
16718if test -n "$CONFIG_FILES"; then
16719
16720
16721ac_cr=`echo X | tr X '\015'`
16722# On cygwin, bash can eat \r inside `` if the user requested igncr.
16723# But we know of no other shell where ac_cr would be empty at this
16724# point, so we can use a bashism as a fallback.
16725if test "x$ac_cr" = x; then
16726  eval ac_cr=\$\'\\r\'
16727fi
16728ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16729if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16730  ac_cs_awk_cr='\\r'
16731else
16732  ac_cs_awk_cr=$ac_cr
16733fi
16734
16735echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16736_ACEOF
16737
16738
16739{
16740  echo "cat >conf$$subs.awk <<_ACEOF" &&
16741  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16742  echo "_ACEOF"
16743} >conf$$subs.sh ||
16744  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16745ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16746ac_delim='%!_!# '
16747for ac_last_try in false false false false false :; do
16748  . ./conf$$subs.sh ||
16749    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16750
16751  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16752  if test $ac_delim_n = $ac_delim_num; then
16753    break
16754  elif $ac_last_try; then
16755    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16756  else
16757    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16758  fi
16759done
16760rm -f conf$$subs.sh
16761
16762cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16763cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16764_ACEOF
16765sed -n '
16766h
16767s/^/S["/; s/!.*/"]=/
16768p
16769g
16770s/^[^!]*!//
16771:repl
16772t repl
16773s/'"$ac_delim"'$//
16774t delim
16775:nl
16776h
16777s/\(.\{148\}\)..*/\1/
16778t more1
16779s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16780p
16781n
16782b repl
16783:more1
16784s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16785p
16786g
16787s/.\{148\}//
16788t nl
16789:delim
16790h
16791s/\(.\{148\}\)..*/\1/
16792t more2
16793s/["\\]/\\&/g; s/^/"/; s/$/"/
16794p
16795b
16796:more2
16797s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16798p
16799g
16800s/.\{148\}//
16801t delim
16802' <conf$$subs.awk | sed '
16803/^[^""]/{
16804  N
16805  s/\n//
16806}
16807' >>$CONFIG_STATUS || ac_write_fail=1
16808rm -f conf$$subs.awk
16809cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16810_ACAWK
16811cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16812  for (key in S) S_is_set[key] = 1
16813  FS = ""
16814
16815}
16816{
16817  line = $ 0
16818  nfields = split(line, field, "@")
16819  substed = 0
16820  len = length(field[1])
16821  for (i = 2; i < nfields; i++) {
16822    key = field[i]
16823    keylen = length(key)
16824    if (S_is_set[key]) {
16825      value = S[key]
16826      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16827      len += length(value) + length(field[++i])
16828      substed = 1
16829    } else
16830      len += 1 + keylen
16831  }
16832
16833  print line
16834}
16835
16836_ACAWK
16837_ACEOF
16838cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16839if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16840  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16841else
16842  cat
16843fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16844  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16845_ACEOF
16846
16847# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16848# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16849# trailing colons and then remove the whole line if VPATH becomes empty
16850# (actually we leave an empty line to preserve line numbers).
16851if test "x$srcdir" = x.; then
16852  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
16853h
16854s///
16855s/^/:/
16856s/[	 ]*$/:/
16857s/:\$(srcdir):/:/g
16858s/:\${srcdir}:/:/g
16859s/:@srcdir@:/:/g
16860s/^:*//
16861s/:*$//
16862x
16863s/\(=[	 ]*\).*/\1/
16864G
16865s/\n//
16866s/^[^=]*=[	 ]*$//
16867}'
16868fi
16869
16870cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16871fi # test -n "$CONFIG_FILES"
16872
16873# Set up the scripts for CONFIG_HEADERS section.
16874# No need to generate them if there are no CONFIG_HEADERS.
16875# This happens for instance with `./config.status Makefile'.
16876if test -n "$CONFIG_HEADERS"; then
16877cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16878BEGIN {
16879_ACEOF
16880
16881# Transform confdefs.h into an awk script `defines.awk', embedded as
16882# here-document in config.status, that substitutes the proper values into
16883# config.h.in to produce config.h.
16884
16885# Create a delimiter string that does not exist in confdefs.h, to ease
16886# handling of long lines.
16887ac_delim='%!_!# '
16888for ac_last_try in false false :; do
16889  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16890  if test -z "$ac_tt"; then
16891    break
16892  elif $ac_last_try; then
16893    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16894  else
16895    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16896  fi
16897done
16898
16899# For the awk script, D is an array of macro values keyed by name,
16900# likewise P contains macro parameters if any.  Preserve backslash
16901# newline sequences.
16902
16903ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16904sed -n '
16905s/.\{148\}/&'"$ac_delim"'/g
16906t rset
16907:rset
16908s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
16909t def
16910d
16911:def
16912s/\\$//
16913t bsnl
16914s/["\\]/\\&/g
16915s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16916D["\1"]=" \3"/p
16917s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
16918d
16919:bsnl
16920s/["\\]/\\&/g
16921s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16922D["\1"]=" \3\\\\\\n"\\/p
16923t cont
16924s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16925t cont
16926d
16927:cont
16928n
16929s/.\{148\}/&'"$ac_delim"'/g
16930t clear
16931:clear
16932s/\\$//
16933t bsnlc
16934s/["\\]/\\&/g; s/^/"/; s/$/"/p
16935d
16936:bsnlc
16937s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16938b cont
16939' <confdefs.h | sed '
16940s/'"$ac_delim"'/"\\\
16941"/g' >>$CONFIG_STATUS || ac_write_fail=1
16942
16943cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16944  for (key in D) D_is_set[key] = 1
16945  FS = ""
16946}
16947/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16948  line = \$ 0
16949  split(line, arg, " ")
16950  if (arg[1] == "#") {
16951    defundef = arg[2]
16952    mac1 = arg[3]
16953  } else {
16954    defundef = substr(arg[1], 2)
16955    mac1 = arg[2]
16956  }
16957  split(mac1, mac2, "(") #)
16958  macro = mac2[1]
16959  prefix = substr(line, 1, index(line, defundef) - 1)
16960  if (D_is_set[macro]) {
16961    # Preserve the white space surrounding the "#".
16962    print prefix "define", macro P[macro] D[macro]
16963    next
16964  } else {
16965    # Replace #undef with comments.  This is necessary, for example,
16966    # in the case of _POSIX_SOURCE, which is predefined and required
16967    # on some systems where configure will not decide to define it.
16968    if (defundef == "undef") {
16969      print "/*", prefix defundef, macro, "*/"
16970      next
16971    }
16972  }
16973}
16974{ print }
16975_ACAWK
16976_ACEOF
16977cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16978  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16979fi # test -n "$CONFIG_HEADERS"
16980
16981
16982eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16983shift
16984for ac_tag
16985do
16986  case $ac_tag in
16987  :[FHLC]) ac_mode=$ac_tag; continue;;
16988  esac
16989  case $ac_mode$ac_tag in
16990  :[FHL]*:*);;
16991  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16992  :[FH]-) ac_tag=-:-;;
16993  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16994  esac
16995  ac_save_IFS=$IFS
16996  IFS=:
16997  set x $ac_tag
16998  IFS=$ac_save_IFS
16999  shift
17000  ac_file=$1
17001  shift
17002
17003  case $ac_mode in
17004  :L) ac_source=$1;;
17005  :[FH])
17006    ac_file_inputs=
17007    for ac_f
17008    do
17009      case $ac_f in
17010      -) ac_f="$ac_tmp/stdin";;
17011      *) # Look for the file first in the build tree, then in the source tree
17012	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
17013	 # because $ac_f cannot contain `:'.
17014	 test -f "$ac_f" ||
17015	   case $ac_f in
17016	   [\\/$]*) false;;
17017	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17018	   esac ||
17019	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17020      esac
17021      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17022      as_fn_append ac_file_inputs " '$ac_f'"
17023    done
17024
17025    # Let's still pretend it is `configure' which instantiates (i.e., don't
17026    # use $as_me), people would be surprised to read:
17027    #    /* config.h.  Generated by config.status.  */
17028    configure_input='Generated from '`
17029	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17030	`' by configure.'
17031    if test x"$ac_file" != x-; then
17032      configure_input="$ac_file.  $configure_input"
17033      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17034$as_echo "$as_me: creating $ac_file" >&6;}
17035    fi
17036    # Neutralize special characters interpreted by sed in replacement strings.
17037    case $configure_input in #(
17038    *\&* | *\|* | *\\* )
17039       ac_sed_conf_input=`$as_echo "$configure_input" |
17040       sed 's/[\\\\&|]/\\\\&/g'`;; #(
17041    *) ac_sed_conf_input=$configure_input;;
17042    esac
17043
17044    case $ac_tag in
17045    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17046      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17047    esac
17048    ;;
17049  esac
17050
17051  ac_dir=`$as_dirname -- "$ac_file" ||
17052$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17053	 X"$ac_file" : 'X\(//\)[^/]' \| \
17054	 X"$ac_file" : 'X\(//\)$' \| \
17055	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17056$as_echo X"$ac_file" |
17057    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17058	    s//\1/
17059	    q
17060	  }
17061	  /^X\(\/\/\)[^/].*/{
17062	    s//\1/
17063	    q
17064	  }
17065	  /^X\(\/\/\)$/{
17066	    s//\1/
17067	    q
17068	  }
17069	  /^X\(\/\).*/{
17070	    s//\1/
17071	    q
17072	  }
17073	  s/.*/./; q'`
17074  as_dir="$ac_dir"; as_fn_mkdir_p
17075  ac_builddir=.
17076
17077case "$ac_dir" in
17078.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17079*)
17080  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17081  # A ".." for each directory in $ac_dir_suffix.
17082  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17083  case $ac_top_builddir_sub in
17084  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17085  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17086  esac ;;
17087esac
17088ac_abs_top_builddir=$ac_pwd
17089ac_abs_builddir=$ac_pwd$ac_dir_suffix
17090# for backward compatibility:
17091ac_top_builddir=$ac_top_build_prefix
17092
17093case $srcdir in
17094  .)  # We are building in place.
17095    ac_srcdir=.
17096    ac_top_srcdir=$ac_top_builddir_sub
17097    ac_abs_top_srcdir=$ac_pwd ;;
17098  [\\/]* | ?:[\\/]* )  # Absolute name.
17099    ac_srcdir=$srcdir$ac_dir_suffix;
17100    ac_top_srcdir=$srcdir
17101    ac_abs_top_srcdir=$srcdir ;;
17102  *) # Relative name.
17103    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17104    ac_top_srcdir=$ac_top_build_prefix$srcdir
17105    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17106esac
17107ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17108
17109
17110  case $ac_mode in
17111  :F)
17112  #
17113  # CONFIG_FILE
17114  #
17115
17116  case $INSTALL in
17117  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17118  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17119  esac
17120  ac_MKDIR_P=$MKDIR_P
17121  case $MKDIR_P in
17122  [\\/$]* | ?:[\\/]* ) ;;
17123  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17124  esac
17125_ACEOF
17126
17127cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17128# If the template does not know about datarootdir, expand it.
17129# FIXME: This hack should be removed a few years after 2.60.
17130ac_datarootdir_hack=; ac_datarootdir_seen=
17131ac_sed_dataroot='
17132/datarootdir/ {
17133  p
17134  q
17135}
17136/@datadir@/p
17137/@docdir@/p
17138/@infodir@/p
17139/@localedir@/p
17140/@mandir@/p'
17141case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17142*datarootdir*) ac_datarootdir_seen=yes;;
17143*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17144  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17145$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17146_ACEOF
17147cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17148  ac_datarootdir_hack='
17149  s&@datadir@&$datadir&g
17150  s&@docdir@&$docdir&g
17151  s&@infodir@&$infodir&g
17152  s&@localedir@&$localedir&g
17153  s&@mandir@&$mandir&g
17154  s&\\\${datarootdir}&$datarootdir&g' ;;
17155esac
17156_ACEOF
17157
17158# Neutralize VPATH when `$srcdir' = `.'.
17159# Shell code in configure.ac might set extrasub.
17160# FIXME: do we really want to maintain this feature?
17161cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17162ac_sed_extra="$ac_vpsub
17163$extrasub
17164_ACEOF
17165cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17166:t
17167/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17168s|@configure_input@|$ac_sed_conf_input|;t t
17169s&@top_builddir@&$ac_top_builddir_sub&;t t
17170s&@top_build_prefix@&$ac_top_build_prefix&;t t
17171s&@srcdir@&$ac_srcdir&;t t
17172s&@abs_srcdir@&$ac_abs_srcdir&;t t
17173s&@top_srcdir@&$ac_top_srcdir&;t t
17174s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17175s&@builddir@&$ac_builddir&;t t
17176s&@abs_builddir@&$ac_abs_builddir&;t t
17177s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17178s&@INSTALL@&$ac_INSTALL&;t t
17179s&@MKDIR_P@&$ac_MKDIR_P&;t t
17180$ac_datarootdir_hack
17181"
17182eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17183  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17184
17185test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17186  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17187  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
17188      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17189  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17190which seems to be undefined.  Please make sure it is defined" >&5
17191$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17192which seems to be undefined.  Please make sure it is defined" >&2;}
17193
17194  rm -f "$ac_tmp/stdin"
17195  case $ac_file in
17196  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17197  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17198  esac \
17199  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17200 ;;
17201  :H)
17202  #
17203  # CONFIG_HEADER
17204  #
17205  if test x"$ac_file" != x-; then
17206    {
17207      $as_echo "/* $configure_input  */" \
17208      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17209    } >"$ac_tmp/config.h" \
17210      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17211    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17212      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17213$as_echo "$as_me: $ac_file is unchanged" >&6;}
17214    else
17215      rm -f "$ac_file"
17216      mv "$ac_tmp/config.h" "$ac_file" \
17217	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17218    fi
17219  else
17220    $as_echo "/* $configure_input  */" \
17221      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17222      || as_fn_error $? "could not create -" "$LINENO" 5
17223  fi
17224# Compute "$ac_file"'s index in $config_headers.
17225_am_arg="$ac_file"
17226_am_stamp_count=1
17227for _am_header in $config_headers :; do
17228  case $_am_header in
17229    $_am_arg | $_am_arg:* )
17230      break ;;
17231    * )
17232      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17233  esac
17234done
17235echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17236$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17237	 X"$_am_arg" : 'X\(//\)[^/]' \| \
17238	 X"$_am_arg" : 'X\(//\)$' \| \
17239	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17240$as_echo X"$_am_arg" |
17241    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17242	    s//\1/
17243	    q
17244	  }
17245	  /^X\(\/\/\)[^/].*/{
17246	    s//\1/
17247	    q
17248	  }
17249	  /^X\(\/\/\)$/{
17250	    s//\1/
17251	    q
17252	  }
17253	  /^X\(\/\).*/{
17254	    s//\1/
17255	    q
17256	  }
17257	  s/.*/./; q'`/stamp-h$_am_stamp_count
17258 ;;
17259
17260  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17261$as_echo "$as_me: executing $ac_file commands" >&6;}
17262 ;;
17263  esac
17264
17265
17266  case $ac_file$ac_mode in
17267    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17268  # Older Autoconf quotes --file arguments for eval, but not when files
17269  # are listed without --file.  Let's play safe and only enable the eval
17270  # if we detect the quoting.
17271  # TODO: see whether this extra hack can be removed once we start
17272  # requiring Autoconf 2.70 or later.
17273  case $CONFIG_FILES in #(
17274  *\'*) :
17275    eval set x "$CONFIG_FILES" ;; #(
17276  *) :
17277    set x $CONFIG_FILES ;; #(
17278  *) :
17279     ;;
17280esac
17281  shift
17282  # Used to flag and report bootstrapping failures.
17283  am_rc=0
17284  for am_mf
17285  do
17286    # Strip MF so we end up with the name of the file.
17287    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
17288    # Check whether this is an Automake generated Makefile which includes
17289    # dependency-tracking related rules and includes.
17290    # Grep'ing the whole file directly is not great: AIX grep has a line
17291    # limit of 2048, but all sed's we know have understand at least 4000.
17292    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
17293      || continue
17294    am_dirpart=`$as_dirname -- "$am_mf" ||
17295$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17296	 X"$am_mf" : 'X\(//\)[^/]' \| \
17297	 X"$am_mf" : 'X\(//\)$' \| \
17298	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17299$as_echo X"$am_mf" |
17300    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17301	    s//\1/
17302	    q
17303	  }
17304	  /^X\(\/\/\)[^/].*/{
17305	    s//\1/
17306	    q
17307	  }
17308	  /^X\(\/\/\)$/{
17309	    s//\1/
17310	    q
17311	  }
17312	  /^X\(\/\).*/{
17313	    s//\1/
17314	    q
17315	  }
17316	  s/.*/./; q'`
17317    am_filepart=`$as_basename -- "$am_mf" ||
17318$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
17319	 X"$am_mf" : 'X\(//\)$' \| \
17320	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17321$as_echo X/"$am_mf" |
17322    sed '/^.*\/\([^/][^/]*\)\/*$/{
17323	    s//\1/
17324	    q
17325	  }
17326	  /^X\/\(\/\/\)$/{
17327	    s//\1/
17328	    q
17329	  }
17330	  /^X\/\(\/\).*/{
17331	    s//\1/
17332	    q
17333	  }
17334	  s/.*/./; q'`
17335    { echo "$as_me:$LINENO: cd "$am_dirpart" \
17336      && sed -e '/# am--include-marker/d' "$am_filepart" \
17337        | $MAKE -f - am--depfiles" >&5
17338   (cd "$am_dirpart" \
17339      && sed -e '/# am--include-marker/d' "$am_filepart" \
17340        | $MAKE -f - am--depfiles) >&5 2>&5
17341   ac_status=$?
17342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343   (exit $ac_status); } || am_rc=$?
17344  done
17345  if test $am_rc -ne 0; then
17346    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17347$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17348as_fn_error $? "Something went wrong bootstrapping makefile fragments
17349    for automatic dependency tracking.  Try re-running configure with the
17350    '--disable-dependency-tracking' option to at least be able to build
17351    the package (albeit without support for automatic dependency tracking).
17352See \`config.log' for more details" "$LINENO" 5; }
17353  fi
17354  { am_dirpart=; unset am_dirpart;}
17355  { am_filepart=; unset am_filepart;}
17356  { am_mf=; unset am_mf;}
17357  { am_rc=; unset am_rc;}
17358  rm -f conftest-deps.mk
17359}
17360 ;;
17361    "libtool":C)
17362
17363    # See if we are running on zsh, and set the options that allow our
17364    # commands through without removal of \ escapes.
17365    if test -n "${ZSH_VERSION+set}"; then
17366      setopt NO_GLOB_SUBST
17367    fi
17368
17369    cfgfile=${ofile}T
17370    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17371    $RM "$cfgfile"
17372
17373    cat <<_LT_EOF >> "$cfgfile"
17374#! $SHELL
17375# Generated automatically by $as_me ($PACKAGE) $VERSION
17376# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17377# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17378
17379# Provide generalized library-building support services.
17380# Written by Gordon Matzigkeit, 1996
17381
17382# Copyright (C) 2014 Free Software Foundation, Inc.
17383# This is free software; see the source for copying conditions.  There is NO
17384# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17385
17386# GNU Libtool is free software; you can redistribute it and/or modify
17387# it under the terms of the GNU General Public License as published by
17388# the Free Software Foundation; either version 2 of of the License, or
17389# (at your option) any later version.
17390#
17391# As a special exception to the GNU General Public License, if you
17392# distribute this file as part of a program or library that is built
17393# using GNU Libtool, you may include this file under the  same
17394# distribution terms that you use for the rest of that program.
17395#
17396# GNU Libtool is distributed in the hope that it will be useful, but
17397# WITHOUT ANY WARRANTY; without even the implied warranty of
17398# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17399# GNU General Public License for more details.
17400#
17401# You should have received a copy of the GNU General Public License
17402# along with this program.  If not, see <http://www.gnu.org/licenses/>.
17403
17404
17405# The names of the tagged configurations supported by this script.
17406available_tags=''
17407
17408# Configured defaults for sys_lib_dlsearch_path munging.
17409: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
17410
17411# ### BEGIN LIBTOOL CONFIG
17412
17413# A sed program that does not truncate output.
17414SED=$lt_SED
17415
17416# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17417Xsed="\$SED -e 1s/^X//"
17418
17419# A grep program that handles long lines.
17420GREP=$lt_GREP
17421
17422# An ERE matcher.
17423EGREP=$lt_EGREP
17424
17425# A literal string matcher.
17426FGREP=$lt_FGREP
17427
17428# Shell to use when invoking shell scripts.
17429SHELL=$lt_SHELL
17430
17431# An echo program that protects backslashes.
17432ECHO=$lt_ECHO
17433
17434# Which release of libtool.m4 was used?
17435macro_version=$macro_version
17436macro_revision=$macro_revision
17437
17438# Whether or not to build static libraries.
17439build_old_libs=$enable_static
17440
17441# Whether or not to build shared libraries.
17442build_libtool_libs=$enable_shared
17443
17444# What type of objects to build.
17445pic_mode=$pic_mode
17446
17447# Whether or not to optimize for fast installation.
17448fast_install=$enable_fast_install
17449
17450# Shared archive member basename,for filename based shared library versioning on AIX.
17451shared_archive_member_spec=$shared_archive_member_spec
17452
17453# The PATH separator for the build system.
17454PATH_SEPARATOR=$lt_PATH_SEPARATOR
17455
17456# The host system.
17457host_alias=$host_alias
17458host=$host
17459host_os=$host_os
17460
17461# The build system.
17462build_alias=$build_alias
17463build=$build
17464build_os=$build_os
17465
17466# A BSD- or MS-compatible name lister.
17467NM=$lt_NM
17468
17469# Whether we need soft or hard links.
17470LN_S=$lt_LN_S
17471
17472# What is the maximum length of a command?
17473max_cmd_len=$max_cmd_len
17474
17475# Object file suffix (normally "o").
17476objext=$ac_objext
17477
17478# Executable file suffix (normally "").
17479exeext=$exeext
17480
17481# whether the shell understands "unset".
17482lt_unset=$lt_unset
17483
17484# turn spaces into newlines.
17485SP2NL=$lt_lt_SP2NL
17486
17487# turn newlines into spaces.
17488NL2SP=$lt_lt_NL2SP
17489
17490# convert \$build file names to \$host format.
17491to_host_file_cmd=$lt_cv_to_host_file_cmd
17492
17493# convert \$build files to toolchain format.
17494to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17495
17496# An object symbol dumper.
17497OBJDUMP=$lt_OBJDUMP
17498
17499# Method to check whether dependent libraries are shared objects.
17500deplibs_check_method=$lt_deplibs_check_method
17501
17502# Command to use when deplibs_check_method = "file_magic".
17503file_magic_cmd=$lt_file_magic_cmd
17504
17505# How to find potential files when deplibs_check_method = "file_magic".
17506file_magic_glob=$lt_file_magic_glob
17507
17508# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17509want_nocaseglob=$lt_want_nocaseglob
17510
17511# DLL creation program.
17512DLLTOOL=$lt_DLLTOOL
17513
17514# Command to associate shared and link libraries.
17515sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17516
17517# The archiver.
17518AR=$lt_AR
17519
17520# Flags to create an archive (by configure).
17521lt_ar_flags=$lt_ar_flags
17522
17523# Flags to create an archive.
17524AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
17525
17526# How to feed a file listing to the archiver.
17527archiver_list_spec=$lt_archiver_list_spec
17528
17529# A symbol stripping program.
17530STRIP=$lt_STRIP
17531
17532# Commands used to install an old-style archive.
17533RANLIB=$lt_RANLIB
17534old_postinstall_cmds=$lt_old_postinstall_cmds
17535old_postuninstall_cmds=$lt_old_postuninstall_cmds
17536
17537# Whether to use a lock for old archive extraction.
17538lock_old_archive_extraction=$lock_old_archive_extraction
17539
17540# A C compiler.
17541LTCC=$lt_CC
17542
17543# LTCC compiler flags.
17544LTCFLAGS=$lt_CFLAGS
17545
17546# Take the output of nm and produce a listing of raw symbols and C names.
17547global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17548
17549# Transform the output of nm in a proper C declaration.
17550global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17551
17552# Transform the output of nm into a list of symbols to manually relocate.
17553global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17554
17555# Transform the output of nm in a C name address pair.
17556global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17557
17558# Transform the output of nm in a C name address pair when lib prefix is needed.
17559global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17560
17561# The name lister interface.
17562nm_interface=$lt_lt_cv_nm_interface
17563
17564# Specify filename containing input files for \$NM.
17565nm_file_list_spec=$lt_nm_file_list_spec
17566
17567# The root where to search for dependent libraries,and where our libraries should be installed.
17568lt_sysroot=$lt_sysroot
17569
17570# Command to truncate a binary pipe.
17571lt_truncate_bin=$lt_lt_cv_truncate_bin
17572
17573# The name of the directory that contains temporary libtool files.
17574objdir=$objdir
17575
17576# Used to examine libraries when file_magic_cmd begins with "file".
17577MAGIC_CMD=$MAGIC_CMD
17578
17579# Must we lock files when doing compilation?
17580need_locks=$lt_need_locks
17581
17582# Manifest tool.
17583MANIFEST_TOOL=$lt_MANIFEST_TOOL
17584
17585# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17586DSYMUTIL=$lt_DSYMUTIL
17587
17588# Tool to change global to local symbols on Mac OS X.
17589NMEDIT=$lt_NMEDIT
17590
17591# Tool to manipulate fat objects and archives on Mac OS X.
17592LIPO=$lt_LIPO
17593
17594# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17595OTOOL=$lt_OTOOL
17596
17597# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17598OTOOL64=$lt_OTOOL64
17599
17600# Old archive suffix (normally "a").
17601libext=$libext
17602
17603# Shared library suffix (normally ".so").
17604shrext_cmds=$lt_shrext_cmds
17605
17606# The commands to extract the exported symbol list from a shared archive.
17607extract_expsyms_cmds=$lt_extract_expsyms_cmds
17608
17609# Variables whose values should be saved in libtool wrapper scripts and
17610# restored at link time.
17611variables_saved_for_relink=$lt_variables_saved_for_relink
17612
17613# Do we need the "lib" prefix for modules?
17614need_lib_prefix=$need_lib_prefix
17615
17616# Do we need a version for libraries?
17617need_version=$need_version
17618
17619# Library versioning type.
17620version_type=$version_type
17621
17622# Shared library runtime path variable.
17623runpath_var=$runpath_var
17624
17625# Shared library path variable.
17626shlibpath_var=$shlibpath_var
17627
17628# Is shlibpath searched before the hard-coded library search path?
17629shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17630
17631# Format of library name prefix.
17632libname_spec=$lt_libname_spec
17633
17634# List of archive names.  First name is the real one, the rest are links.
17635# The last name is the one that the linker finds with -lNAME
17636library_names_spec=$lt_library_names_spec
17637
17638# The coded name of the library, if different from the real name.
17639soname_spec=$lt_soname_spec
17640
17641# Permission mode override for installation of shared libraries.
17642install_override_mode=$lt_install_override_mode
17643
17644# Command to use after installation of a shared archive.
17645postinstall_cmds=$lt_postinstall_cmds
17646
17647# Command to use after uninstallation of a shared archive.
17648postuninstall_cmds=$lt_postuninstall_cmds
17649
17650# Commands used to finish a libtool library installation in a directory.
17651finish_cmds=$lt_finish_cmds
17652
17653# As "finish_cmds", except a single script fragment to be evaled but
17654# not shown.
17655finish_eval=$lt_finish_eval
17656
17657# Whether we should hardcode library paths into libraries.
17658hardcode_into_libs=$hardcode_into_libs
17659
17660# Compile-time system search path for libraries.
17661sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17662
17663# Detected run-time system search path for libraries.
17664sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17665
17666# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17667configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17668
17669# Whether dlopen is supported.
17670dlopen_support=$enable_dlopen
17671
17672# Whether dlopen of programs is supported.
17673dlopen_self=$enable_dlopen_self
17674
17675# Whether dlopen of statically linked programs is supported.
17676dlopen_self_static=$enable_dlopen_self_static
17677
17678# Commands to strip libraries.
17679old_striplib=$lt_old_striplib
17680striplib=$lt_striplib
17681
17682
17683# The linker used to build libraries.
17684LD=$lt_LD
17685
17686# How to create reloadable object files.
17687reload_flag=$lt_reload_flag
17688reload_cmds=$lt_reload_cmds
17689
17690# Commands used to build an old-style archive.
17691old_archive_cmds=$lt_old_archive_cmds
17692
17693# A language specific compiler.
17694CC=$lt_compiler
17695
17696# Is the compiler the GNU compiler?
17697with_gcc=$GCC
17698
17699# Compiler flag to turn off builtin functions.
17700no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17701
17702# Additional compiler flags for building library objects.
17703pic_flag=$lt_lt_prog_compiler_pic
17704
17705# How to pass a linker flag through the compiler.
17706wl=$lt_lt_prog_compiler_wl
17707
17708# Compiler flag to prevent dynamic linking.
17709link_static_flag=$lt_lt_prog_compiler_static
17710
17711# Does compiler simultaneously support -c and -o options?
17712compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17713
17714# Whether or not to add -lc for building shared libraries.
17715build_libtool_need_lc=$archive_cmds_need_lc
17716
17717# Whether or not to disallow shared libs when runtime libs are static.
17718allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17719
17720# Compiler flag to allow reflexive dlopens.
17721export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17722
17723# Compiler flag to generate shared objects directly from archives.
17724whole_archive_flag_spec=$lt_whole_archive_flag_spec
17725
17726# Whether the compiler copes with passing no objects directly.
17727compiler_needs_object=$lt_compiler_needs_object
17728
17729# Create an old-style archive from a shared archive.
17730old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17731
17732# Create a temporary old-style archive to link instead of a shared archive.
17733old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17734
17735# Commands used to build a shared archive.
17736archive_cmds=$lt_archive_cmds
17737archive_expsym_cmds=$lt_archive_expsym_cmds
17738
17739# Commands used to build a loadable module if different from building
17740# a shared archive.
17741module_cmds=$lt_module_cmds
17742module_expsym_cmds=$lt_module_expsym_cmds
17743
17744# Whether we are building with GNU ld or not.
17745with_gnu_ld=$lt_with_gnu_ld
17746
17747# Flag that allows shared libraries with undefined symbols to be built.
17748allow_undefined_flag=$lt_allow_undefined_flag
17749
17750# Flag that enforces no undefined symbols.
17751no_undefined_flag=$lt_no_undefined_flag
17752
17753# Flag to hardcode \$libdir into a binary during linking.
17754# This must work even if \$libdir does not exist
17755hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17756
17757# Whether we need a single "-rpath" flag with a separated argument.
17758hardcode_libdir_separator=$lt_hardcode_libdir_separator
17759
17760# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17761# DIR into the resulting binary.
17762hardcode_direct=$hardcode_direct
17763
17764# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17765# DIR into the resulting binary and the resulting library dependency is
17766# "absolute",i.e impossible to change by setting \$shlibpath_var if the
17767# library is relocated.
17768hardcode_direct_absolute=$hardcode_direct_absolute
17769
17770# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17771# into the resulting binary.
17772hardcode_minus_L=$hardcode_minus_L
17773
17774# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17775# into the resulting binary.
17776hardcode_shlibpath_var=$hardcode_shlibpath_var
17777
17778# Set to "yes" if building a shared library automatically hardcodes DIR
17779# into the library and all subsequent libraries and executables linked
17780# against it.
17781hardcode_automatic=$hardcode_automatic
17782
17783# Set to yes if linker adds runtime paths of dependent libraries
17784# to runtime path list.
17785inherit_rpath=$inherit_rpath
17786
17787# Whether libtool must link a program against all its dependency libraries.
17788link_all_deplibs=$link_all_deplibs
17789
17790# Set to "yes" if exported symbols are required.
17791always_export_symbols=$always_export_symbols
17792
17793# The commands to list exported symbols.
17794export_symbols_cmds=$lt_export_symbols_cmds
17795
17796# Symbols that should not be listed in the preloaded symbols.
17797exclude_expsyms=$lt_exclude_expsyms
17798
17799# Symbols that must always be exported.
17800include_expsyms=$lt_include_expsyms
17801
17802# Commands necessary for linking programs (against libraries) with templates.
17803prelink_cmds=$lt_prelink_cmds
17804
17805# Commands necessary for finishing linking programs.
17806postlink_cmds=$lt_postlink_cmds
17807
17808# Specify filename containing input files.
17809file_list_spec=$lt_file_list_spec
17810
17811# How to hardcode a shared library path into an executable.
17812hardcode_action=$hardcode_action
17813
17814# ### END LIBTOOL CONFIG
17815
17816_LT_EOF
17817
17818    cat <<'_LT_EOF' >> "$cfgfile"
17819
17820# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17821
17822# func_munge_path_list VARIABLE PATH
17823# -----------------------------------
17824# VARIABLE is name of variable containing _space_ separated list of
17825# directories to be munged by the contents of PATH, which is string
17826# having a format:
17827# "DIR[:DIR]:"
17828#       string "DIR[ DIR]" will be prepended to VARIABLE
17829# ":DIR[:DIR]"
17830#       string "DIR[ DIR]" will be appended to VARIABLE
17831# "DIRP[:DIRP]::[DIRA:]DIRA"
17832#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17833#       "DIRA[ DIRA]" will be appended to VARIABLE
17834# "DIR[:DIR]"
17835#       VARIABLE will be replaced by "DIR[ DIR]"
17836func_munge_path_list ()
17837{
17838    case x$2 in
17839    x)
17840        ;;
17841    *:)
17842        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17843        ;;
17844    x:*)
17845        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17846        ;;
17847    *::*)
17848        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17849        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17850        ;;
17851    *)
17852        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17853        ;;
17854    esac
17855}
17856
17857
17858# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
17859func_cc_basename ()
17860{
17861    for cc_temp in $*""; do
17862      case $cc_temp in
17863        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17864        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17865        \-*) ;;
17866        *) break;;
17867      esac
17868    done
17869    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17870}
17871
17872
17873# ### END FUNCTIONS SHARED WITH CONFIGURE
17874
17875_LT_EOF
17876
17877  case $host_os in
17878  aix3*)
17879    cat <<\_LT_EOF >> "$cfgfile"
17880# AIX sometimes has problems with the GCC collect2 program.  For some
17881# reason, if we set the COLLECT_NAMES environment variable, the problems
17882# vanish in a puff of smoke.
17883if test set != "${COLLECT_NAMES+set}"; then
17884  COLLECT_NAMES=
17885  export COLLECT_NAMES
17886fi
17887_LT_EOF
17888    ;;
17889  esac
17890
17891
17892ltmain=$ac_aux_dir/ltmain.sh
17893
17894
17895  # We use sed instead of cat because bash on DJGPP gets confused if
17896  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17897  # text mode, it properly converts lines to CR/LF.  This bash problem
17898  # is reportedly fixed, but why not run on old versions too?
17899  sed '$q' "$ltmain" >> "$cfgfile" \
17900     || (rm -f "$cfgfile"; exit 1)
17901
17902   mv -f "$cfgfile" "$ofile" ||
17903    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17904  chmod +x "$ofile"
17905
17906 ;;
17907    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17908        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17909      esac ;;
17910    "po/stamp-it":C)
17911    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17912       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17913    fi
17914    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17915    >"po/stamp-it.tmp"
17916    sed '/^#/d
17917	 s/^[[].*] *//
17918	 /^[ 	]*$/d
17919	'"s|^|	$ac_top_srcdir/|" \
17920      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17921
17922    sed '/^POTFILES =/,/[^\\]$/ {
17923		/^POTFILES =/!d
17924		r po/POTFILES
17925	  }
17926	 ' "po/Makefile.in" >"po/Makefile"
17927    rm -f "po/Makefile.tmp"
17928    mv "po/stamp-it.tmp" "po/stamp-it"
17929   ;;
17930
17931  esac
17932done # for ac_tag
17933
17934
17935as_fn_exit 0
17936_ACEOF
17937ac_clean_files=$ac_clean_files_save
17938
17939test $ac_write_fail = 0 ||
17940  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17941
17942
17943# configure is writing to config.log, and then calls config.status.
17944# config.status does its own redirection, appending to config.log.
17945# Unfortunately, on DOS this fails, as config.log is still kept open
17946# by configure, so config.status won't be able to write to it; its
17947# output is simply discarded.  So we exec the FD to /dev/null,
17948# effectively closing config.log, so it can be properly (re)opened and
17949# appended to by config.status.  When coming back to configure, we
17950# need to make the FD available again.
17951if test "$no_create" != yes; then
17952  ac_cs_success=:
17953  ac_config_status_args=
17954  test "$silent" = yes &&
17955    ac_config_status_args="$ac_config_status_args --quiet"
17956  exec 5>/dev/null
17957  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17958  exec 5>>config.log
17959  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17960  # would make configure fail if this is the last instruction.
17961  $ac_cs_success || as_fn_exit 1
17962fi
17963if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17964  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17965$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17966fi
17967
17968
17969echo
17970echo "Build Configuration:"
17971echo
17972echo "* Maintainer Mode:        $USE_MAINTAINER_MODE"
17973if test "x$USE_MAINTAINER_MODE" = "xyes" ; then
17974echo
17975echo "    * Vala:               $VALAC $am__vala_version"
17976echo
17977fi
17978echo "* Debug Support:          $enable_debug"
17979echo
17980