1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.65 for gmpc-lyricsplugin 0.20.0.
4#
5# Report bugs to <qball@sarine.nl>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10# Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22  emulate sh
23  NULLCMD=:
24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27  setopt NO_GLOB_SUBST
28else
29  case `(set -o) 2>/dev/null` in #(
30  *posix*) :
31    set -o posix ;; #(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='print -r --'
50  as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52  as_echo='printf %s\n'
53  as_echo_n='printf %s'
54else
55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57    as_echo_n='/usr/ucb/echo -n'
58  else
59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60    as_echo_n_body='eval
61      arg=$1;
62      case $arg in #(
63      *"$as_nl"*)
64	expr "X$arg" : "X\\(.*\\)$as_nl";
65	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66      esac;
67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68    '
69    export as_echo_n_body
70    as_echo_n='sh -c $as_echo_n_body as_echo'
71  fi
72  export as_echo_body
73  as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order.  Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" ""	$as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94case $0 in #((
95  *[\\/]* ) as_myself=$0 ;;
96  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97for as_dir in $PATH
98do
99  IFS=$as_save_IFS
100  test -z "$as_dir" && as_dir=.
101    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102  done
103IFS=$as_save_IFS
104
105     ;;
106esac
107# We did not find ourselves, most probably we were run as `sh COMMAND'
108# in which case we are not to be found in the path.
109if test "x$as_myself" = x; then
110  as_myself=$0
111fi
112if test ! -f "$as_myself"; then
113  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114  exit 1
115fi
116
117# Unset variables that we do not need and which cause bugs (e.g. in
118# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119# suppresses any "Segmentation fault" message there.  '((' could
120# trigger a bug in pdksh 5.2.14.
121for as_var in BASH_ENV ENV MAIL MAILPATH
122do eval test x\${$as_var+set} = xset \
123  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124done
125PS1='$ '
126PS2='> '
127PS4='+ '
128
129# NLS nuisances.
130LC_ALL=C
131export LC_ALL
132LANGUAGE=C
133export LANGUAGE
134
135# CDPATH.
136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138if test "x$CONFIG_SHELL" = x; then
139  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140  emulate sh
141  NULLCMD=:
142  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143  # is contrary to our usage.  Disable this feature.
144  alias -g '\${1+\"\$@\"}'='\"\$@\"'
145  setopt NO_GLOB_SUBST
146else
147  case \`(set -o) 2>/dev/null\` in #(
148  *posix*) :
149    set -o posix ;; #(
150  *) :
151     ;;
152esac
153fi
154"
155  as_required="as_fn_return () { (exit \$1); }
156as_fn_success () { as_fn_return 0; }
157as_fn_failure () { as_fn_return 1; }
158as_fn_ret_success () { return 0; }
159as_fn_ret_failure () { return 1; }
160
161exitcode=0
162as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168else
169  exitcode=1; echo positional parameters were not saved.
170fi
171test x\$exitcode = x0 || exit 1"
172  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176test \$(( 1 + 1 )) = 2 || exit 1"
177  if (eval "$as_required") 2>/dev/null; then :
178  as_have_required=yes
179else
180  as_have_required=no
181fi
182  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184else
185  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186as_found=false
187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188do
189  IFS=$as_save_IFS
190  test -z "$as_dir" && as_dir=.
191  as_found=:
192  case $as_dir in #(
193	 /*)
194	   for as_base in sh bash ksh sh5; do
195	     # Try only shells that exist, to save several forks.
196	     as_shell=$as_dir/$as_base
197	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199  CONFIG_SHELL=$as_shell as_have_required=yes
200		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201  break 2
202fi
203fi
204	   done;;
205       esac
206  as_found=false
207done
208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210  CONFIG_SHELL=$SHELL as_have_required=yes
211fi; }
212IFS=$as_save_IFS
213
214
215      if test "x$CONFIG_SHELL" != x; then :
216  # We cannot yet assume a decent shell, so we have to provide a
217	# neutralization value for shells without unset; and this also
218	# works around shells that cannot unset nonexistent variables.
219	BASH_ENV=/dev/null
220	ENV=/dev/null
221	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222	export CONFIG_SHELL
223	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224fi
225
226    if test x$as_have_required = xno; then :
227  $as_echo "$0: This script requires a shell more modern than all"
228  $as_echo "$0: the shells that I found on your system."
229  if test x${ZSH_VERSION+set} = xset ; then
230    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232  else
233    $as_echo "$0: Please tell bug-autoconf@gnu.org and qball@sarine.nl
234$0: about your system, including any error possibly output
235$0: before this message. Then install a modern shell, or
236$0: manually run the script under such a shell if you do
237$0: have one."
238  fi
239  exit 1
240fi
241fi
242fi
243SHELL=${CONFIG_SHELL-/bin/sh}
244export SHELL
245# Unset more variables known to interfere with behavior of common tools.
246CLICOLOR_FORCE= GREP_OPTIONS=
247unset CLICOLOR_FORCE GREP_OPTIONS
248
249## --------------------- ##
250## M4sh Shell Functions. ##
251## --------------------- ##
252# as_fn_unset VAR
253# ---------------
254# Portably unset VAR.
255as_fn_unset ()
256{
257  { eval $1=; unset $1;}
258}
259as_unset=as_fn_unset
260
261# as_fn_set_status STATUS
262# -----------------------
263# Set $? to STATUS, without forking.
264as_fn_set_status ()
265{
266  return $1
267} # as_fn_set_status
268
269# as_fn_exit STATUS
270# -----------------
271# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272as_fn_exit ()
273{
274  set +e
275  as_fn_set_status $1
276  exit $1
277} # as_fn_exit
278
279# as_fn_mkdir_p
280# -------------
281# Create "$as_dir" as a directory, including parents if necessary.
282as_fn_mkdir_p ()
283{
284
285  case $as_dir in #(
286  -*) as_dir=./$as_dir;;
287  esac
288  test -d "$as_dir" || eval $as_mkdir_p || {
289    as_dirs=
290    while :; do
291      case $as_dir in #(
292      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293      *) as_qdir=$as_dir;;
294      esac
295      as_dirs="'$as_qdir' $as_dirs"
296      as_dir=`$as_dirname -- "$as_dir" ||
297$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298	 X"$as_dir" : 'X\(//\)[^/]' \| \
299	 X"$as_dir" : 'X\(//\)$' \| \
300	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301$as_echo X"$as_dir" |
302    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303	    s//\1/
304	    q
305	  }
306	  /^X\(\/\/\)[^/].*/{
307	    s//\1/
308	    q
309	  }
310	  /^X\(\/\/\)$/{
311	    s//\1/
312	    q
313	  }
314	  /^X\(\/\).*/{
315	    s//\1/
316	    q
317	  }
318	  s/.*/./; q'`
319      test -d "$as_dir" && break
320    done
321    test -z "$as_dirs" || eval "mkdir $as_dirs"
322  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323
324
325} # as_fn_mkdir_p
326# as_fn_append VAR VALUE
327# ----------------------
328# Append the text in VALUE to the end of the definition contained in VAR. Take
329# advantage of any shell optimizations that allow amortized linear growth over
330# repeated appends, instead of the typical quadratic growth present in naive
331# implementations.
332if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333  eval 'as_fn_append ()
334  {
335    eval $1+=\$2
336  }'
337else
338  as_fn_append ()
339  {
340    eval $1=\$$1\$2
341  }
342fi # as_fn_append
343
344# as_fn_arith ARG...
345# ------------------
346# Perform arithmetic evaluation on the ARGs, and store the result in the
347# global $as_val. Take advantage of shells that can avoid forks. The arguments
348# must be portable across $(()) and expr.
349if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350  eval 'as_fn_arith ()
351  {
352    as_val=$(( $* ))
353  }'
354else
355  as_fn_arith ()
356  {
357    as_val=`expr "$@" || test $? -eq 1`
358  }
359fi # as_fn_arith
360
361
362# as_fn_error ERROR [LINENO LOG_FD]
363# ---------------------------------
364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366# script with status $?, using 1 if that was 0.
367as_fn_error ()
368{
369  as_status=$?; test $as_status -eq 0 && as_status=1
370  if test "$3"; then
371    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
373  fi
374  $as_echo "$as_me: error: $1" >&2
375  as_fn_exit $as_status
376} # as_fn_error
377
378if expr a : '\(a\)' >/dev/null 2>&1 &&
379   test "X`expr 00001 : '.*\(...\)'`" = X001; then
380  as_expr=expr
381else
382  as_expr=false
383fi
384
385if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386  as_basename=basename
387else
388  as_basename=false
389fi
390
391if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392  as_dirname=dirname
393else
394  as_dirname=false
395fi
396
397as_me=`$as_basename -- "$0" ||
398$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399	 X"$0" : 'X\(//\)$' \| \
400	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401$as_echo X/"$0" |
402    sed '/^.*\/\([^/][^/]*\)\/*$/{
403	    s//\1/
404	    q
405	  }
406	  /^X\/\(\/\/\)$/{
407	    s//\1/
408	    q
409	  }
410	  /^X\/\(\/\).*/{
411	    s//\1/
412	    q
413	  }
414	  s/.*/./; q'`
415
416# Avoid depending upon Character Ranges.
417as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420as_cr_digits='0123456789'
421as_cr_alnum=$as_cr_Letters$as_cr_digits
422
423
424  as_lineno_1=$LINENO as_lineno_1a=$LINENO
425  as_lineno_2=$LINENO as_lineno_2a=$LINENO
426  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
429  sed -n '
430    p
431    /[$]LINENO/=
432  ' <$as_myself |
433    sed '
434      s/[$]LINENO.*/&-/
435      t lineno
436      b
437      :lineno
438      N
439      :loop
440      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441      t loop
442      s/-\n.*//
443    ' >$as_me.lineno &&
444  chmod +x "$as_me.lineno" ||
445    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
447  # Don't try to exec as it changes $[0], causing all sort of problems
448  # (the dirname of $[0] is not the place where we might find the
449  # original and so on.  Autoconf is especially sensitive to this).
450  . "./$as_me.lineno"
451  # Exit status is that of the last command.
452  exit
453}
454
455ECHO_C= ECHO_N= ECHO_T=
456case `echo -n x` in #(((((
457-n*)
458  case `echo 'xy\c'` in
459  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
460  xy)  ECHO_C='\c';;
461  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
462       ECHO_T='	';;
463  esac;;
464*)
465  ECHO_N='-n';;
466esac
467
468rm -f conf$$ conf$$.exe conf$$.file
469if test -d conf$$.dir; then
470  rm -f conf$$.dir/conf$$.file
471else
472  rm -f conf$$.dir
473  mkdir conf$$.dir 2>/dev/null
474fi
475if (echo >conf$$.file) 2>/dev/null; then
476  if ln -s conf$$.file conf$$ 2>/dev/null; then
477    as_ln_s='ln -s'
478    # ... but there are two gotchas:
479    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481    # In both cases, we have to default to `cp -p'.
482    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483      as_ln_s='cp -p'
484  elif ln conf$$.file conf$$ 2>/dev/null; then
485    as_ln_s=ln
486  else
487    as_ln_s='cp -p'
488  fi
489else
490  as_ln_s='cp -p'
491fi
492rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493rmdir conf$$.dir 2>/dev/null
494
495if mkdir -p . 2>/dev/null; then
496  as_mkdir_p='mkdir -p "$as_dir"'
497else
498  test -d ./-p && rmdir ./-p
499  as_mkdir_p=false
500fi
501
502if test -x / >/dev/null 2>&1; then
503  as_test_x='test -x'
504else
505  if ls -dL / >/dev/null 2>&1; then
506    as_ls_L_option=L
507  else
508    as_ls_L_option=
509  fi
510  as_test_x='
511    eval sh -c '\''
512      if test -d "$1"; then
513	test -d "$1/.";
514      else
515	case $1 in #(
516	-*)set "./$1";;
517	esac;
518	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519	???[sx]*):;;*)false;;esac;fi
520    '\'' sh
521  '
522fi
523as_executable_p=$as_test_x
524
525# Sed expression to map a string onto a valid CPP name.
526as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
528# Sed expression to map a string onto a valid variable name.
529as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
531
532
533# Check that we are running under the correct shell.
534SHELL=${CONFIG_SHELL-/bin/sh}
535
536case X$lt_ECHO in
537X*--fallback-echo)
538  # Remove one level of quotation (which was required for Make).
539  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540  ;;
541esac
542
543ECHO=${lt_ECHO-echo}
544if test "X$1" = X--no-reexec; then
545  # Discard the --no-reexec flag, and continue.
546  shift
547elif test "X$1" = X--fallback-echo; then
548  # Avoid inline document here, it may be left over
549  :
550elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551  # Yippee, $ECHO works!
552  :
553else
554  # Restart under the correct shell.
555  exec $SHELL "$0" --no-reexec ${1+"$@"}
556fi
557
558if test "X$1" = X--fallback-echo; then
559  # used as fallback echo
560  shift
561  cat <<_LT_EOF
562$*
563_LT_EOF
564  exit 0
565fi
566
567# The HP-UX ksh and POSIX shell print the target directory to stdout
568# if CDPATH is set.
569(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
571if test -z "$lt_ECHO"; then
572  if test "X${echo_test_string+set}" != Xset; then
573    # find a string as large as possible, as long as the shell can cope with it
574    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578      then
579        break
580      fi
581    done
582  fi
583
584  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586     test "X$echo_testing_string" = "X$echo_test_string"; then
587    :
588  else
589    # The Solaris, AIX, and Digital Unix default echo programs unquote
590    # backslashes.  This makes it impossible to quote backslashes using
591    #   echo "$something" | sed 's/\\/\\\\/g'
592    #
593    # So, first we look for a working echo in the user's PATH.
594
595    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596    for dir in $PATH /usr/ucb; do
597      IFS="$lt_save_ifs"
598      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601         test "X$echo_testing_string" = "X$echo_test_string"; then
602        ECHO="$dir/echo"
603        break
604      fi
605    done
606    IFS="$lt_save_ifs"
607
608    if test "X$ECHO" = Xecho; then
609      # We didn't find a better echo, so look for alternatives.
610      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612         test "X$echo_testing_string" = "X$echo_test_string"; then
613        # This shell has a builtin print -r that does the trick.
614        ECHO='print -r'
615      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616	   test "X$CONFIG_SHELL" != X/bin/ksh; then
617        # If we have ksh, try running configure again with it.
618        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619        export ORIGINAL_CONFIG_SHELL
620        CONFIG_SHELL=/bin/ksh
621        export CONFIG_SHELL
622        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623      else
624        # Try using printf.
625        ECHO='printf %s\n'
626        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628	   test "X$echo_testing_string" = "X$echo_test_string"; then
629	  # Cool, printf works
630	  :
631        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632	     test "X$echo_testing_string" = 'X\t' &&
633	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634	     test "X$echo_testing_string" = "X$echo_test_string"; then
635	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636	  export CONFIG_SHELL
637	  SHELL="$CONFIG_SHELL"
638	  export SHELL
639	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
640        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641	     test "X$echo_testing_string" = 'X\t' &&
642	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643	     test "X$echo_testing_string" = "X$echo_test_string"; then
644	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
645        else
646	  # maybe with a smaller string...
647	  prev=:
648
649	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651	    then
652	      break
653	    fi
654	    prev="$cmd"
655	  done
656
657	  if test "$prev" != 'sed 50q "$0"'; then
658	    echo_test_string=`eval $prev`
659	    export echo_test_string
660	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661	  else
662	    # Oops.  We lost completely, so just stick with echo.
663	    ECHO=echo
664	  fi
665        fi
666      fi
667    fi
668  fi
669fi
670
671# Copy echo and quote the copy suitably for passing to libtool from
672# the Makefile, instead of quoting the original, which is used later.
673lt_ECHO=$ECHO
674if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676fi
677
678
679
680
681test -n "$DJDIR" || exec 7<&0 </dev/null
682exec 6>&1
683
684# Name of the host.
685# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
686# so uname gets run too.
687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688
689#
690# Initializations.
691#
692ac_default_prefix=/usr/local
693ac_clean_files=
694ac_config_libobj_dir=.
695LIBOBJS=
696cross_compiling=no
697subdirs=
698MFLAGS=
699MAKEFLAGS=
700
701# Identity of this package.
702PACKAGE_NAME='gmpc-lyricsplugin'
703PACKAGE_TARNAME='gmpc-lyricsplugin'
704PACKAGE_VERSION='0.20.0'
705PACKAGE_STRING='gmpc-lyricsplugin 0.20.0'
706PACKAGE_BUGREPORT='qball@sarine.nl'
707PACKAGE_URL=''
708
709# Factoring default headers for most tests.
710ac_includes_default="\
711#include <stdio.h>
712#ifdef HAVE_SYS_TYPES_H
713# include <sys/types.h>
714#endif
715#ifdef HAVE_SYS_STAT_H
716# include <sys/stat.h>
717#endif
718#ifdef STDC_HEADERS
719# include <stdlib.h>
720# include <stddef.h>
721#else
722# ifdef HAVE_STDLIB_H
723#  include <stdlib.h>
724# endif
725#endif
726#ifdef HAVE_STRING_H
727# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
728#  include <memory.h>
729# endif
730# include <string.h>
731#endif
732#ifdef HAVE_STRINGS_H
733# include <strings.h>
734#endif
735#ifdef HAVE_INTTYPES_H
736# include <inttypes.h>
737#endif
738#ifdef HAVE_STDINT_H
739# include <stdint.h>
740#endif
741#ifdef HAVE_UNISTD_H
742# include <unistd.h>
743#endif"
744
745ac_subst_vars='am__EXEEXT_FALSE
746am__EXEEXT_TRUE
747LTLIBOBJS
748LIBOBJS
749gmpclyricsplugin_LIBS
750gmpclyricsplugin_CFLAGS
751PKG_CONFIG
752OTOOL64
753OTOOL
754LIPO
755NMEDIT
756DSYMUTIL
757lt_ECHO
758RANLIB
759AR
760OBJDUMP
761LN_S
762NM
763ac_ct_DUMPBIN
764DUMPBIN
765LD
766FGREP
767SED
768host_os
769host_vendor
770host_cpu
771host
772build_os
773build_vendor
774build_cpu
775build
776LIBTOOL
777MKINSTALLDIRS
778POSUB
779POFILES
780PO_IN_DATADIR_FALSE
781PO_IN_DATADIR_TRUE
782INTLLIBS
783INSTOBJEXT
784GMOFILES
785CATOBJEXT
786CATALOGS
787MSGFMT_OPTS
788EGREP
789GREP
790CPP
791GETTEXT_PACKAGE
792DATADIRNAME
793am__fastdepCC_FALSE
794am__fastdepCC_TRUE
795CCDEPMODE
796AMDEPBACKSLASH
797AMDEP_FALSE
798AMDEP_TRUE
799am__quote
800am__include
801DEPDIR
802OBJEXT
803EXEEXT
804ac_ct_CC
805CPPFLAGS
806LDFLAGS
807CFLAGS
808CC
809ALL_LINGUAS
810INTLTOOL_PERL
811GMSGFMT
812MSGFMT
813MSGMERGE
814XGETTEXT
815INTLTOOL_POLICY_RULE
816INTLTOOL_SERVICE_RULE
817INTLTOOL_THEME_RULE
818INTLTOOL_SCHEMAS_RULE
819INTLTOOL_CAVES_RULE
820INTLTOOL_XML_NOMERGE_RULE
821INTLTOOL_XML_RULE
822INTLTOOL_KBD_RULE
823INTLTOOL_XAM_RULE
824INTLTOOL_UI_RULE
825INTLTOOL_SOUNDLIST_RULE
826INTLTOOL_SHEET_RULE
827INTLTOOL_SERVER_RULE
828INTLTOOL_PONG_RULE
829INTLTOOL_OAF_RULE
830INTLTOOL_PROP_RULE
831INTLTOOL_KEYS_RULE
832INTLTOOL_DIRECTORY_RULE
833INTLTOOL_DESKTOP_RULE
834INTLTOOL_EXTRACT
835INTLTOOL_MERGE
836INTLTOOL_UPDATE
837USE_NLS
838am__untar
839am__tar
840AMTAR
841am__leading_dot
842SET_MAKE
843AWK
844mkdir_p
845MKDIR_P
846INSTALL_STRIP_PROGRAM
847STRIP
848install_sh
849MAKEINFO
850AUTOHEADER
851AUTOMAKE
852AUTOCONF
853ACLOCAL
854VERSION
855PACKAGE
856CYGPATH_W
857am__isrc
858INSTALL_DATA
859INSTALL_SCRIPT
860INSTALL_PROGRAM
861target_alias
862host_alias
863build_alias
864LIBS
865ECHO_T
866ECHO_N
867ECHO_C
868DEFS
869mandir
870localedir
871libdir
872psdir
873pdfdir
874dvidir
875htmldir
876infodir
877docdir
878oldincludedir
879includedir
880localstatedir
881sharedstatedir
882sysconfdir
883datadir
884datarootdir
885libexecdir
886sbindir
887bindir
888program_transform_name
889prefix
890exec_prefix
891PACKAGE_URL
892PACKAGE_BUGREPORT
893PACKAGE_STRING
894PACKAGE_VERSION
895PACKAGE_TARNAME
896PACKAGE_NAME
897PATH_SEPARATOR
898SHELL'
899ac_subst_files=''
900ac_user_opts='
901enable_option_checking
902enable_nls
903enable_dependency_tracking
904enable_static
905enable_shared
906with_pic
907enable_fast_install
908with_gnu_ld
909enable_libtool_lock
910'
911      ac_precious_vars='build_alias
912host_alias
913target_alias
914CC
915CFLAGS
916LDFLAGS
917LIBS
918CPPFLAGS
919CPP
920PKG_CONFIG
921gmpclyricsplugin_CFLAGS
922gmpclyricsplugin_LIBS'
923
924
925# Initialize some variables set by options.
926ac_init_help=
927ac_init_version=false
928ac_unrecognized_opts=
929ac_unrecognized_sep=
930# The variables have the same names as the options, with
931# dashes changed to underlines.
932cache_file=/dev/null
933exec_prefix=NONE
934no_create=
935no_recursion=
936prefix=NONE
937program_prefix=NONE
938program_suffix=NONE
939program_transform_name=s,x,x,
940silent=
941site=
942srcdir=
943verbose=
944x_includes=NONE
945x_libraries=NONE
946
947# Installation directory options.
948# These are left unexpanded so users can "make install exec_prefix=/foo"
949# and all the variables that are supposed to be based on exec_prefix
950# by default will actually change.
951# Use braces instead of parens because sh, perl, etc. also accept them.
952# (The list follows the same order as the GNU Coding Standards.)
953bindir='${exec_prefix}/bin'
954sbindir='${exec_prefix}/sbin'
955libexecdir='${exec_prefix}/libexec'
956datarootdir='${prefix}/share'
957datadir='${datarootdir}'
958sysconfdir='${prefix}/etc'
959sharedstatedir='${prefix}/com'
960localstatedir='${prefix}/var'
961includedir='${prefix}/include'
962oldincludedir='/usr/include'
963docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
964infodir='${datarootdir}/info'
965htmldir='${docdir}'
966dvidir='${docdir}'
967pdfdir='${docdir}'
968psdir='${docdir}'
969libdir='${exec_prefix}/lib'
970localedir='${datarootdir}/locale'
971mandir='${datarootdir}/man'
972
973ac_prev=
974ac_dashdash=
975for ac_option
976do
977  # If the previous option needs an argument, assign it.
978  if test -n "$ac_prev"; then
979    eval $ac_prev=\$ac_option
980    ac_prev=
981    continue
982  fi
983
984  case $ac_option in
985  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
986  *)	ac_optarg=yes ;;
987  esac
988
989  # Accept the important Cygnus configure options, so we can diagnose typos.
990
991  case $ac_dashdash$ac_option in
992  --)
993    ac_dashdash=yes ;;
994
995  -bindir | --bindir | --bindi | --bind | --bin | --bi)
996    ac_prev=bindir ;;
997  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
998    bindir=$ac_optarg ;;
999
1000  -build | --build | --buil | --bui | --bu)
1001    ac_prev=build_alias ;;
1002  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1003    build_alias=$ac_optarg ;;
1004
1005  -cache-file | --cache-file | --cache-fil | --cache-fi \
1006  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1007    ac_prev=cache_file ;;
1008  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1009  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1010    cache_file=$ac_optarg ;;
1011
1012  --config-cache | -C)
1013    cache_file=config.cache ;;
1014
1015  -datadir | --datadir | --datadi | --datad)
1016    ac_prev=datadir ;;
1017  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1018    datadir=$ac_optarg ;;
1019
1020  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1021  | --dataroo | --dataro | --datar)
1022    ac_prev=datarootdir ;;
1023  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1024  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1025    datarootdir=$ac_optarg ;;
1026
1027  -disable-* | --disable-*)
1028    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1029    # Reject names that are not valid shell variable names.
1030    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1031      as_fn_error "invalid feature name: $ac_useropt"
1032    ac_useropt_orig=$ac_useropt
1033    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1034    case $ac_user_opts in
1035      *"
1036"enable_$ac_useropt"
1037"*) ;;
1038      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1039	 ac_unrecognized_sep=', ';;
1040    esac
1041    eval enable_$ac_useropt=no ;;
1042
1043  -docdir | --docdir | --docdi | --doc | --do)
1044    ac_prev=docdir ;;
1045  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1046    docdir=$ac_optarg ;;
1047
1048  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1049    ac_prev=dvidir ;;
1050  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1051    dvidir=$ac_optarg ;;
1052
1053  -enable-* | --enable-*)
1054    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1055    # Reject names that are not valid shell variable names.
1056    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1057      as_fn_error "invalid feature name: $ac_useropt"
1058    ac_useropt_orig=$ac_useropt
1059    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1060    case $ac_user_opts in
1061      *"
1062"enable_$ac_useropt"
1063"*) ;;
1064      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1065	 ac_unrecognized_sep=', ';;
1066    esac
1067    eval enable_$ac_useropt=\$ac_optarg ;;
1068
1069  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1070  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1071  | --exec | --exe | --ex)
1072    ac_prev=exec_prefix ;;
1073  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1074  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1075  | --exec=* | --exe=* | --ex=*)
1076    exec_prefix=$ac_optarg ;;
1077
1078  -gas | --gas | --ga | --g)
1079    # Obsolete; use --with-gas.
1080    with_gas=yes ;;
1081
1082  -help | --help | --hel | --he | -h)
1083    ac_init_help=long ;;
1084  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1085    ac_init_help=recursive ;;
1086  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1087    ac_init_help=short ;;
1088
1089  -host | --host | --hos | --ho)
1090    ac_prev=host_alias ;;
1091  -host=* | --host=* | --hos=* | --ho=*)
1092    host_alias=$ac_optarg ;;
1093
1094  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1095    ac_prev=htmldir ;;
1096  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1097  | --ht=*)
1098    htmldir=$ac_optarg ;;
1099
1100  -includedir | --includedir | --includedi | --included | --include \
1101  | --includ | --inclu | --incl | --inc)
1102    ac_prev=includedir ;;
1103  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1104  | --includ=* | --inclu=* | --incl=* | --inc=*)
1105    includedir=$ac_optarg ;;
1106
1107  -infodir | --infodir | --infodi | --infod | --info | --inf)
1108    ac_prev=infodir ;;
1109  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1110    infodir=$ac_optarg ;;
1111
1112  -libdir | --libdir | --libdi | --libd)
1113    ac_prev=libdir ;;
1114  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1115    libdir=$ac_optarg ;;
1116
1117  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1118  | --libexe | --libex | --libe)
1119    ac_prev=libexecdir ;;
1120  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1121  | --libexe=* | --libex=* | --libe=*)
1122    libexecdir=$ac_optarg ;;
1123
1124  -localedir | --localedir | --localedi | --localed | --locale)
1125    ac_prev=localedir ;;
1126  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1127    localedir=$ac_optarg ;;
1128
1129  -localstatedir | --localstatedir | --localstatedi | --localstated \
1130  | --localstate | --localstat | --localsta | --localst | --locals)
1131    ac_prev=localstatedir ;;
1132  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1133  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1134    localstatedir=$ac_optarg ;;
1135
1136  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1137    ac_prev=mandir ;;
1138  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1139    mandir=$ac_optarg ;;
1140
1141  -nfp | --nfp | --nf)
1142    # Obsolete; use --without-fp.
1143    with_fp=no ;;
1144
1145  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1146  | --no-cr | --no-c | -n)
1147    no_create=yes ;;
1148
1149  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1150  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1151    no_recursion=yes ;;
1152
1153  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1154  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1155  | --oldin | --oldi | --old | --ol | --o)
1156    ac_prev=oldincludedir ;;
1157  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1158  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1159  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1160    oldincludedir=$ac_optarg ;;
1161
1162  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1163    ac_prev=prefix ;;
1164  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1165    prefix=$ac_optarg ;;
1166
1167  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1168  | --program-pre | --program-pr | --program-p)
1169    ac_prev=program_prefix ;;
1170  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1171  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1172    program_prefix=$ac_optarg ;;
1173
1174  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1175  | --program-suf | --program-su | --program-s)
1176    ac_prev=program_suffix ;;
1177  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1178  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1179    program_suffix=$ac_optarg ;;
1180
1181  -program-transform-name | --program-transform-name \
1182  | --program-transform-nam | --program-transform-na \
1183  | --program-transform-n | --program-transform- \
1184  | --program-transform | --program-transfor \
1185  | --program-transfo | --program-transf \
1186  | --program-trans | --program-tran \
1187  | --progr-tra | --program-tr | --program-t)
1188    ac_prev=program_transform_name ;;
1189  -program-transform-name=* | --program-transform-name=* \
1190  | --program-transform-nam=* | --program-transform-na=* \
1191  | --program-transform-n=* | --program-transform-=* \
1192  | --program-transform=* | --program-transfor=* \
1193  | --program-transfo=* | --program-transf=* \
1194  | --program-trans=* | --program-tran=* \
1195  | --progr-tra=* | --program-tr=* | --program-t=*)
1196    program_transform_name=$ac_optarg ;;
1197
1198  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1199    ac_prev=pdfdir ;;
1200  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1201    pdfdir=$ac_optarg ;;
1202
1203  -psdir | --psdir | --psdi | --psd | --ps)
1204    ac_prev=psdir ;;
1205  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1206    psdir=$ac_optarg ;;
1207
1208  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1209  | -silent | --silent | --silen | --sile | --sil)
1210    silent=yes ;;
1211
1212  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1213    ac_prev=sbindir ;;
1214  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1215  | --sbi=* | --sb=*)
1216    sbindir=$ac_optarg ;;
1217
1218  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1219  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1220  | --sharedst | --shareds | --shared | --share | --shar \
1221  | --sha | --sh)
1222    ac_prev=sharedstatedir ;;
1223  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1224  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1225  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1226  | --sha=* | --sh=*)
1227    sharedstatedir=$ac_optarg ;;
1228
1229  -site | --site | --sit)
1230    ac_prev=site ;;
1231  -site=* | --site=* | --sit=*)
1232    site=$ac_optarg ;;
1233
1234  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1235    ac_prev=srcdir ;;
1236  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1237    srcdir=$ac_optarg ;;
1238
1239  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1240  | --syscon | --sysco | --sysc | --sys | --sy)
1241    ac_prev=sysconfdir ;;
1242  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1243  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1244    sysconfdir=$ac_optarg ;;
1245
1246  -target | --target | --targe | --targ | --tar | --ta | --t)
1247    ac_prev=target_alias ;;
1248  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1249    target_alias=$ac_optarg ;;
1250
1251  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1252    verbose=yes ;;
1253
1254  -version | --version | --versio | --versi | --vers | -V)
1255    ac_init_version=: ;;
1256
1257  -with-* | --with-*)
1258    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1259    # Reject names that are not valid shell variable names.
1260    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1261      as_fn_error "invalid package name: $ac_useropt"
1262    ac_useropt_orig=$ac_useropt
1263    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1264    case $ac_user_opts in
1265      *"
1266"with_$ac_useropt"
1267"*) ;;
1268      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1269	 ac_unrecognized_sep=', ';;
1270    esac
1271    eval with_$ac_useropt=\$ac_optarg ;;
1272
1273  -without-* | --without-*)
1274    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1275    # Reject names that are not valid shell variable names.
1276    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1277      as_fn_error "invalid package name: $ac_useropt"
1278    ac_useropt_orig=$ac_useropt
1279    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1280    case $ac_user_opts in
1281      *"
1282"with_$ac_useropt"
1283"*) ;;
1284      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1285	 ac_unrecognized_sep=', ';;
1286    esac
1287    eval with_$ac_useropt=no ;;
1288
1289  --x)
1290    # Obsolete; use --with-x.
1291    with_x=yes ;;
1292
1293  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1294  | --x-incl | --x-inc | --x-in | --x-i)
1295    ac_prev=x_includes ;;
1296  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1297  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1298    x_includes=$ac_optarg ;;
1299
1300  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1301  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1302    ac_prev=x_libraries ;;
1303  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1304  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1305    x_libraries=$ac_optarg ;;
1306
1307  -*) as_fn_error "unrecognized option: \`$ac_option'
1308Try \`$0 --help' for more information."
1309    ;;
1310
1311  *=*)
1312    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1313    # Reject names that are not valid shell variable names.
1314    case $ac_envvar in #(
1315      '' | [0-9]* | *[!_$as_cr_alnum]* )
1316      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1317    esac
1318    eval $ac_envvar=\$ac_optarg
1319    export $ac_envvar ;;
1320
1321  *)
1322    # FIXME: should be removed in autoconf 3.0.
1323    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1324    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1325      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1326    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1327    ;;
1328
1329  esac
1330done
1331
1332if test -n "$ac_prev"; then
1333  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1334  as_fn_error "missing argument to $ac_option"
1335fi
1336
1337if test -n "$ac_unrecognized_opts"; then
1338  case $enable_option_checking in
1339    no) ;;
1340    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1341    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1342  esac
1343fi
1344
1345# Check all directory arguments for consistency.
1346for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1347		datadir sysconfdir sharedstatedir localstatedir includedir \
1348		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1349		libdir localedir mandir
1350do
1351  eval ac_val=\$$ac_var
1352  # Remove trailing slashes.
1353  case $ac_val in
1354    */ )
1355      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1356      eval $ac_var=\$ac_val;;
1357  esac
1358  # Be sure to have absolute directory names.
1359  case $ac_val in
1360    [\\/$]* | ?:[\\/]* )  continue;;
1361    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1362  esac
1363  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1364done
1365
1366# There might be people who depend on the old broken behavior: `$host'
1367# used to hold the argument of --host etc.
1368# FIXME: To remove some day.
1369build=$build_alias
1370host=$host_alias
1371target=$target_alias
1372
1373# FIXME: To remove some day.
1374if test "x$host_alias" != x; then
1375  if test "x$build_alias" = x; then
1376    cross_compiling=maybe
1377    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1378    If a cross compiler is detected then cross compile mode will be used." >&2
1379  elif test "x$build_alias" != "x$host_alias"; then
1380    cross_compiling=yes
1381  fi
1382fi
1383
1384ac_tool_prefix=
1385test -n "$host_alias" && ac_tool_prefix=$host_alias-
1386
1387test "$silent" = yes && exec 6>/dev/null
1388
1389
1390ac_pwd=`pwd` && test -n "$ac_pwd" &&
1391ac_ls_di=`ls -di .` &&
1392ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1393  as_fn_error "working directory cannot be determined"
1394test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1395  as_fn_error "pwd does not report name of working directory"
1396
1397
1398# Find the source files, if location was not specified.
1399if test -z "$srcdir"; then
1400  ac_srcdir_defaulted=yes
1401  # Try the directory containing this script, then the parent directory.
1402  ac_confdir=`$as_dirname -- "$as_myself" ||
1403$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1404	 X"$as_myself" : 'X\(//\)[^/]' \| \
1405	 X"$as_myself" : 'X\(//\)$' \| \
1406	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1407$as_echo X"$as_myself" |
1408    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1409	    s//\1/
1410	    q
1411	  }
1412	  /^X\(\/\/\)[^/].*/{
1413	    s//\1/
1414	    q
1415	  }
1416	  /^X\(\/\/\)$/{
1417	    s//\1/
1418	    q
1419	  }
1420	  /^X\(\/\).*/{
1421	    s//\1/
1422	    q
1423	  }
1424	  s/.*/./; q'`
1425  srcdir=$ac_confdir
1426  if test ! -r "$srcdir/$ac_unique_file"; then
1427    srcdir=..
1428  fi
1429else
1430  ac_srcdir_defaulted=no
1431fi
1432if test ! -r "$srcdir/$ac_unique_file"; then
1433  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1434  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1435fi
1436ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1437ac_abs_confdir=`(
1438	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1439	pwd)`
1440# When building in place, set srcdir=.
1441if test "$ac_abs_confdir" = "$ac_pwd"; then
1442  srcdir=.
1443fi
1444# Remove unnecessary trailing slashes from srcdir.
1445# Double slashes in file names in object file debugging info
1446# mess up M-x gdb in Emacs.
1447case $srcdir in
1448*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1449esac
1450for ac_var in $ac_precious_vars; do
1451  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1452  eval ac_env_${ac_var}_value=\$${ac_var}
1453  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1454  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1455done
1456
1457#
1458# Report the --help message.
1459#
1460if test "$ac_init_help" = "long"; then
1461  # Omit some internal or obsolete options to make the list less imposing.
1462  # This message is too long to be a string in the A/UX 3.1 sh.
1463  cat <<_ACEOF
1464\`configure' configures gmpc-lyricsplugin 0.20.0 to adapt to many kinds of systems.
1465
1466Usage: $0 [OPTION]... [VAR=VALUE]...
1467
1468To assign environment variables (e.g., CC, CFLAGS...), specify them as
1469VAR=VALUE.  See below for descriptions of some of the useful variables.
1470
1471Defaults for the options are specified in brackets.
1472
1473Configuration:
1474  -h, --help              display this help and exit
1475      --help=short        display options specific to this package
1476      --help=recursive    display the short help of all the included packages
1477  -V, --version           display version information and exit
1478  -q, --quiet, --silent   do not print \`checking...' messages
1479      --cache-file=FILE   cache test results in FILE [disabled]
1480  -C, --config-cache      alias for \`--cache-file=config.cache'
1481  -n, --no-create         do not create output files
1482      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1483
1484Installation directories:
1485  --prefix=PREFIX         install architecture-independent files in PREFIX
1486                          [$ac_default_prefix]
1487  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1488                          [PREFIX]
1489
1490By default, \`make install' will install all the files in
1491\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1492an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1493for instance \`--prefix=\$HOME'.
1494
1495For better control, use the options below.
1496
1497Fine tuning of the installation directories:
1498  --bindir=DIR            user executables [EPREFIX/bin]
1499  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1500  --libexecdir=DIR        program executables [EPREFIX/libexec]
1501  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1502  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1503  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1504  --libdir=DIR            object code libraries [EPREFIX/lib]
1505  --includedir=DIR        C header files [PREFIX/include]
1506  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1507  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1508  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1509  --infodir=DIR           info documentation [DATAROOTDIR/info]
1510  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1511  --mandir=DIR            man documentation [DATAROOTDIR/man]
1512  --docdir=DIR            documentation root
1513                          [DATAROOTDIR/doc/gmpc-lyricsplugin]
1514  --htmldir=DIR           html documentation [DOCDIR]
1515  --dvidir=DIR            dvi documentation [DOCDIR]
1516  --pdfdir=DIR            pdf documentation [DOCDIR]
1517  --psdir=DIR             ps documentation [DOCDIR]
1518_ACEOF
1519
1520  cat <<\_ACEOF
1521
1522Program names:
1523  --program-prefix=PREFIX            prepend PREFIX to installed program names
1524  --program-suffix=SUFFIX            append SUFFIX to installed program names
1525  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1526
1527System types:
1528  --build=BUILD     configure for building on BUILD [guessed]
1529  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1530_ACEOF
1531fi
1532
1533if test -n "$ac_init_help"; then
1534  case $ac_init_help in
1535     short | recursive ) echo "Configuration of gmpc-lyricsplugin 0.20.0:";;
1536   esac
1537  cat <<\_ACEOF
1538
1539Optional Features:
1540  --disable-option-checking  ignore unrecognized --enable/--with options
1541  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1542  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1543  --disable-nls           do not use Native Language Support
1544  --disable-dependency-tracking  speeds up one-time build
1545  --enable-dependency-tracking   do not reject slow dependency extractors
1546  --enable-static[=PKGS]  build static libraries [default=no]
1547  --enable-shared[=PKGS]  build shared libraries [default=yes]
1548  --enable-fast-install[=PKGS]
1549                          optimize for fast installation [default=yes]
1550  --disable-libtool-lock  avoid locking (might break parallel builds)
1551
1552Optional Packages:
1553  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1554  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1555  --with-pic              try to use only PIC/non-PIC objects [default=use
1556                          both]
1557  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1558
1559Some influential environment variables:
1560  CC          C compiler command
1561  CFLAGS      C compiler flags
1562  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1563              nonstandard directory <lib dir>
1564  LIBS        libraries to pass to the linker, e.g. -l<library>
1565  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1566              you have headers in a nonstandard directory <include dir>
1567  CPP         C preprocessor
1568  PKG_CONFIG  path to pkg-config utility
1569  gmpclyricsplugin_CFLAGS
1570              C compiler flags for gmpclyricsplugin, overriding pkg-config
1571  gmpclyricsplugin_LIBS
1572              linker flags for gmpclyricsplugin, overriding pkg-config
1573
1574Use these variables to override the choices made by `configure' or to help
1575it to find libraries and programs with nonstandard names/locations.
1576
1577Report bugs to <qball@sarine.nl>.
1578_ACEOF
1579ac_status=$?
1580fi
1581
1582if test "$ac_init_help" = "recursive"; then
1583  # If there are subdirs, report their specific --help.
1584  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1585    test -d "$ac_dir" ||
1586      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1587      continue
1588    ac_builddir=.
1589
1590case "$ac_dir" in
1591.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1592*)
1593  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1594  # A ".." for each directory in $ac_dir_suffix.
1595  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1596  case $ac_top_builddir_sub in
1597  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1598  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1599  esac ;;
1600esac
1601ac_abs_top_builddir=$ac_pwd
1602ac_abs_builddir=$ac_pwd$ac_dir_suffix
1603# for backward compatibility:
1604ac_top_builddir=$ac_top_build_prefix
1605
1606case $srcdir in
1607  .)  # We are building in place.
1608    ac_srcdir=.
1609    ac_top_srcdir=$ac_top_builddir_sub
1610    ac_abs_top_srcdir=$ac_pwd ;;
1611  [\\/]* | ?:[\\/]* )  # Absolute name.
1612    ac_srcdir=$srcdir$ac_dir_suffix;
1613    ac_top_srcdir=$srcdir
1614    ac_abs_top_srcdir=$srcdir ;;
1615  *) # Relative name.
1616    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1617    ac_top_srcdir=$ac_top_build_prefix$srcdir
1618    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1619esac
1620ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1621
1622    cd "$ac_dir" || { ac_status=$?; continue; }
1623    # Check for guested configure.
1624    if test -f "$ac_srcdir/configure.gnu"; then
1625      echo &&
1626      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1627    elif test -f "$ac_srcdir/configure"; then
1628      echo &&
1629      $SHELL "$ac_srcdir/configure" --help=recursive
1630    else
1631      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1632    fi || ac_status=$?
1633    cd "$ac_pwd" || { ac_status=$?; break; }
1634  done
1635fi
1636
1637test -n "$ac_init_help" && exit $ac_status
1638if $ac_init_version; then
1639  cat <<\_ACEOF
1640gmpc-lyricsplugin configure 0.20.0
1641generated by GNU Autoconf 2.65
1642
1643Copyright (C) 2009 Free Software Foundation, Inc.
1644This configure script is free software; the Free Software Foundation
1645gives unlimited permission to copy, distribute and modify it.
1646_ACEOF
1647  exit
1648fi
1649
1650## ------------------------ ##
1651## Autoconf initialization. ##
1652## ------------------------ ##
1653
1654# ac_fn_c_try_compile LINENO
1655# --------------------------
1656# Try to compile conftest.$ac_ext, and return whether this succeeded.
1657ac_fn_c_try_compile ()
1658{
1659  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660  rm -f conftest.$ac_objext
1661  if { { ac_try="$ac_compile"
1662case "(($ac_try" in
1663  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664  *) ac_try_echo=$ac_try;;
1665esac
1666eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667$as_echo "$ac_try_echo"; } >&5
1668  (eval "$ac_compile") 2>conftest.err
1669  ac_status=$?
1670  if test -s conftest.err; then
1671    grep -v '^ *+' conftest.err >conftest.er1
1672    cat conftest.er1 >&5
1673    mv -f conftest.er1 conftest.err
1674  fi
1675  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676  test $ac_status = 0; } && {
1677	 test -z "$ac_c_werror_flag" ||
1678	 test ! -s conftest.err
1679       } && test -s conftest.$ac_objext; then :
1680  ac_retval=0
1681else
1682  $as_echo "$as_me: failed program was:" >&5
1683sed 's/^/| /' conftest.$ac_ext >&5
1684
1685	ac_retval=1
1686fi
1687  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1688  as_fn_set_status $ac_retval
1689
1690} # ac_fn_c_try_compile
1691
1692# ac_fn_c_try_link LINENO
1693# -----------------------
1694# Try to link conftest.$ac_ext, and return whether this succeeded.
1695ac_fn_c_try_link ()
1696{
1697  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698  rm -f conftest.$ac_objext conftest$ac_exeext
1699  if { { ac_try="$ac_link"
1700case "(($ac_try" in
1701  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702  *) ac_try_echo=$ac_try;;
1703esac
1704eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705$as_echo "$ac_try_echo"; } >&5
1706  (eval "$ac_link") 2>conftest.err
1707  ac_status=$?
1708  if test -s conftest.err; then
1709    grep -v '^ *+' conftest.err >conftest.er1
1710    cat conftest.er1 >&5
1711    mv -f conftest.er1 conftest.err
1712  fi
1713  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714  test $ac_status = 0; } && {
1715	 test -z "$ac_c_werror_flag" ||
1716	 test ! -s conftest.err
1717       } && test -s conftest$ac_exeext && {
1718	 test "$cross_compiling" = yes ||
1719	 $as_test_x conftest$ac_exeext
1720       }; then :
1721  ac_retval=0
1722else
1723  $as_echo "$as_me: failed program was:" >&5
1724sed 's/^/| /' conftest.$ac_ext >&5
1725
1726	ac_retval=1
1727fi
1728  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1729  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1730  # interfere with the next link command; also delete a directory that is
1731  # left behind by Apple's compiler.  We do this before executing the actions.
1732  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1733  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1734  as_fn_set_status $ac_retval
1735
1736} # ac_fn_c_try_link
1737
1738# ac_fn_c_check_func LINENO FUNC VAR
1739# ----------------------------------
1740# Tests whether FUNC exists, setting the cache variable VAR accordingly
1741ac_fn_c_check_func ()
1742{
1743  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1745$as_echo_n "checking for $2... " >&6; }
1746if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1747  $as_echo_n "(cached) " >&6
1748else
1749  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1750/* end confdefs.h.  */
1751/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1752   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1753#define $2 innocuous_$2
1754
1755/* System header to define __stub macros and hopefully few prototypes,
1756    which can conflict with char $2 (); below.
1757    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1758    <limits.h> exists even on freestanding compilers.  */
1759
1760#ifdef __STDC__
1761# include <limits.h>
1762#else
1763# include <assert.h>
1764#endif
1765
1766#undef $2
1767
1768/* Override any GCC internal prototype to avoid an error.
1769   Use char because int might match the return type of a GCC
1770   builtin and then its argument prototype would still apply.  */
1771#ifdef __cplusplus
1772extern "C"
1773#endif
1774char $2 ();
1775/* The GNU C library defines this for functions which it implements
1776    to always fail with ENOSYS.  Some functions are actually named
1777    something starting with __ and the normal name is an alias.  */
1778#if defined __stub_$2 || defined __stub___$2
1779choke me
1780#endif
1781
1782int
1783main ()
1784{
1785return $2 ();
1786  ;
1787  return 0;
1788}
1789_ACEOF
1790if ac_fn_c_try_link "$LINENO"; then :
1791  eval "$3=yes"
1792else
1793  eval "$3=no"
1794fi
1795rm -f core conftest.err conftest.$ac_objext \
1796    conftest$ac_exeext conftest.$ac_ext
1797fi
1798eval ac_res=\$$3
1799	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1800$as_echo "$ac_res" >&6; }
1801  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1802
1803} # ac_fn_c_check_func
1804
1805# ac_fn_c_try_cpp LINENO
1806# ----------------------
1807# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1808ac_fn_c_try_cpp ()
1809{
1810  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811  if { { ac_try="$ac_cpp conftest.$ac_ext"
1812case "(($ac_try" in
1813  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1814  *) ac_try_echo=$ac_try;;
1815esac
1816eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817$as_echo "$ac_try_echo"; } >&5
1818  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1819  ac_status=$?
1820  if test -s conftest.err; then
1821    grep -v '^ *+' conftest.err >conftest.er1
1822    cat conftest.er1 >&5
1823    mv -f conftest.er1 conftest.err
1824  fi
1825  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826  test $ac_status = 0; } >/dev/null && {
1827	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1828	 test ! -s conftest.err
1829       }; then :
1830  ac_retval=0
1831else
1832  $as_echo "$as_me: failed program was:" >&5
1833sed 's/^/| /' conftest.$ac_ext >&5
1834
1835    ac_retval=1
1836fi
1837  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1838  as_fn_set_status $ac_retval
1839
1840} # ac_fn_c_try_cpp
1841
1842# ac_fn_c_try_run LINENO
1843# ----------------------
1844# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1845# that executables *can* be run.
1846ac_fn_c_try_run ()
1847{
1848  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1849  if { { ac_try="$ac_link"
1850case "(($ac_try" in
1851  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1852  *) ac_try_echo=$ac_try;;
1853esac
1854eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1855$as_echo "$ac_try_echo"; } >&5
1856  (eval "$ac_link") 2>&5
1857  ac_status=$?
1858  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1860  { { case "(($ac_try" in
1861  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1862  *) ac_try_echo=$ac_try;;
1863esac
1864eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1865$as_echo "$ac_try_echo"; } >&5
1866  (eval "$ac_try") 2>&5
1867  ac_status=$?
1868  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1869  test $ac_status = 0; }; }; then :
1870  ac_retval=0
1871else
1872  $as_echo "$as_me: program exited with status $ac_status" >&5
1873       $as_echo "$as_me: failed program was:" >&5
1874sed 's/^/| /' conftest.$ac_ext >&5
1875
1876       ac_retval=$ac_status
1877fi
1878  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1879  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1880  as_fn_set_status $ac_retval
1881
1882} # ac_fn_c_try_run
1883
1884# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1885# -------------------------------------------------------
1886# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1887# the include files in INCLUDES and setting the cache variable VAR
1888# accordingly.
1889ac_fn_c_check_header_mongrel ()
1890{
1891  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1893  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894$as_echo_n "checking for $2... " >&6; }
1895if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1896  $as_echo_n "(cached) " >&6
1897fi
1898eval ac_res=\$$3
1899	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900$as_echo "$ac_res" >&6; }
1901else
1902  # Is the header compilable?
1903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1904$as_echo_n "checking $2 usability... " >&6; }
1905cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906/* end confdefs.h.  */
1907$4
1908#include <$2>
1909_ACEOF
1910if ac_fn_c_try_compile "$LINENO"; then :
1911  ac_header_compiler=yes
1912else
1913  ac_header_compiler=no
1914fi
1915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1917$as_echo "$ac_header_compiler" >&6; }
1918
1919# Is the header present?
1920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1921$as_echo_n "checking $2 presence... " >&6; }
1922cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923/* end confdefs.h.  */
1924#include <$2>
1925_ACEOF
1926if ac_fn_c_try_cpp "$LINENO"; then :
1927  ac_header_preproc=yes
1928else
1929  ac_header_preproc=no
1930fi
1931rm -f conftest.err conftest.$ac_ext
1932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1933$as_echo "$ac_header_preproc" >&6; }
1934
1935# So?  What about this header?
1936case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1937  yes:no: )
1938    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1939$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1940    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1941$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1942    ;;
1943  no:yes:* )
1944    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1945$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1946    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1947$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1948    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1949$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1950    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1951$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1952    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1953$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1954( cat <<\_ASBOX
1955## ------------------------------ ##
1956## Report this to qball@sarine.nl ##
1957## ------------------------------ ##
1958_ASBOX
1959     ) | sed "s/^/$as_me: WARNING:     /" >&2
1960    ;;
1961esac
1962  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1963$as_echo_n "checking for $2... " >&6; }
1964if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1965  $as_echo_n "(cached) " >&6
1966else
1967  eval "$3=\$ac_header_compiler"
1968fi
1969eval ac_res=\$$3
1970	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971$as_echo "$ac_res" >&6; }
1972fi
1973  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1974
1975} # ac_fn_c_check_header_mongrel
1976
1977# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1978# -------------------------------------------------------
1979# Tests whether HEADER exists and can be compiled using the include files in
1980# INCLUDES, setting the cache variable VAR accordingly.
1981ac_fn_c_check_header_compile ()
1982{
1983  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985$as_echo_n "checking for $2... " >&6; }
1986if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1987  $as_echo_n "(cached) " >&6
1988else
1989  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1990/* end confdefs.h.  */
1991$4
1992#include <$2>
1993_ACEOF
1994if ac_fn_c_try_compile "$LINENO"; then :
1995  eval "$3=yes"
1996else
1997  eval "$3=no"
1998fi
1999rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2000fi
2001eval ac_res=\$$3
2002	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2003$as_echo "$ac_res" >&6; }
2004  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2005
2006} # ac_fn_c_check_header_compile
2007cat >config.log <<_ACEOF
2008This file contains any messages produced by compilers while
2009running configure, to aid debugging if configure makes a mistake.
2010
2011It was created by gmpc-lyricsplugin $as_me 0.20.0, which was
2012generated by GNU Autoconf 2.65.  Invocation command line was
2013
2014  $ $0 $@
2015
2016_ACEOF
2017exec 5>>config.log
2018{
2019cat <<_ASUNAME
2020## --------- ##
2021## Platform. ##
2022## --------- ##
2023
2024hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2025uname -m = `(uname -m) 2>/dev/null || echo unknown`
2026uname -r = `(uname -r) 2>/dev/null || echo unknown`
2027uname -s = `(uname -s) 2>/dev/null || echo unknown`
2028uname -v = `(uname -v) 2>/dev/null || echo unknown`
2029
2030/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2031/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2032
2033/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2034/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2035/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2036/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2037/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2038/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2039/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2040
2041_ASUNAME
2042
2043as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2044for as_dir in $PATH
2045do
2046  IFS=$as_save_IFS
2047  test -z "$as_dir" && as_dir=.
2048    $as_echo "PATH: $as_dir"
2049  done
2050IFS=$as_save_IFS
2051
2052} >&5
2053
2054cat >&5 <<_ACEOF
2055
2056
2057## ----------- ##
2058## Core tests. ##
2059## ----------- ##
2060
2061_ACEOF
2062
2063
2064# Keep a trace of the command line.
2065# Strip out --no-create and --no-recursion so they do not pile up.
2066# Strip out --silent because we don't want to record it for future runs.
2067# Also quote any args containing shell meta-characters.
2068# Make two passes to allow for proper duplicate-argument suppression.
2069ac_configure_args=
2070ac_configure_args0=
2071ac_configure_args1=
2072ac_must_keep_next=false
2073for ac_pass in 1 2
2074do
2075  for ac_arg
2076  do
2077    case $ac_arg in
2078    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2079    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2080    | -silent | --silent | --silen | --sile | --sil)
2081      continue ;;
2082    *\'*)
2083      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2084    esac
2085    case $ac_pass in
2086    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2087    2)
2088      as_fn_append ac_configure_args1 " '$ac_arg'"
2089      if test $ac_must_keep_next = true; then
2090	ac_must_keep_next=false # Got value, back to normal.
2091      else
2092	case $ac_arg in
2093	  *=* | --config-cache | -C | -disable-* | --disable-* \
2094	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2095	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2096	  | -with-* | --with-* | -without-* | --without-* | --x)
2097	    case "$ac_configure_args0 " in
2098	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2099	    esac
2100	    ;;
2101	  -* ) ac_must_keep_next=true ;;
2102	esac
2103      fi
2104      as_fn_append ac_configure_args " '$ac_arg'"
2105      ;;
2106    esac
2107  done
2108done
2109{ ac_configure_args0=; unset ac_configure_args0;}
2110{ ac_configure_args1=; unset ac_configure_args1;}
2111
2112# When interrupted or exit'd, cleanup temporary files, and complete
2113# config.log.  We remove comments because anyway the quotes in there
2114# would cause problems or look ugly.
2115# WARNING: Use '\'' to represent an apostrophe within the trap.
2116# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2117trap 'exit_status=$?
2118  # Save into config.log some information that might help in debugging.
2119  {
2120    echo
2121
2122    cat <<\_ASBOX
2123## ---------------- ##
2124## Cache variables. ##
2125## ---------------- ##
2126_ASBOX
2127    echo
2128    # The following way of writing the cache mishandles newlines in values,
2129(
2130  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2131    eval ac_val=\$$ac_var
2132    case $ac_val in #(
2133    *${as_nl}*)
2134      case $ac_var in #(
2135      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2136$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2137      esac
2138      case $ac_var in #(
2139      _ | IFS | as_nl) ;; #(
2140      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2141      *) { eval $ac_var=; unset $ac_var;} ;;
2142      esac ;;
2143    esac
2144  done
2145  (set) 2>&1 |
2146    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2147    *${as_nl}ac_space=\ *)
2148      sed -n \
2149	"s/'\''/'\''\\\\'\'''\''/g;
2150	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2151      ;; #(
2152    *)
2153      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2154      ;;
2155    esac |
2156    sort
2157)
2158    echo
2159
2160    cat <<\_ASBOX
2161## ----------------- ##
2162## Output variables. ##
2163## ----------------- ##
2164_ASBOX
2165    echo
2166    for ac_var in $ac_subst_vars
2167    do
2168      eval ac_val=\$$ac_var
2169      case $ac_val in
2170      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2171      esac
2172      $as_echo "$ac_var='\''$ac_val'\''"
2173    done | sort
2174    echo
2175
2176    if test -n "$ac_subst_files"; then
2177      cat <<\_ASBOX
2178## ------------------- ##
2179## File substitutions. ##
2180## ------------------- ##
2181_ASBOX
2182      echo
2183      for ac_var in $ac_subst_files
2184      do
2185	eval ac_val=\$$ac_var
2186	case $ac_val in
2187	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2188	esac
2189	$as_echo "$ac_var='\''$ac_val'\''"
2190      done | sort
2191      echo
2192    fi
2193
2194    if test -s confdefs.h; then
2195      cat <<\_ASBOX
2196## ----------- ##
2197## confdefs.h. ##
2198## ----------- ##
2199_ASBOX
2200      echo
2201      cat confdefs.h
2202      echo
2203    fi
2204    test "$ac_signal" != 0 &&
2205      $as_echo "$as_me: caught signal $ac_signal"
2206    $as_echo "$as_me: exit $exit_status"
2207  } >&5
2208  rm -f core *.core core.conftest.* &&
2209    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2210    exit $exit_status
2211' 0
2212for ac_signal in 1 2 13 15; do
2213  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2214done
2215ac_signal=0
2216
2217# confdefs.h avoids OS command line length limits that DEFS can exceed.
2218rm -f -r conftest* confdefs.h
2219
2220$as_echo "/* confdefs.h */" > confdefs.h
2221
2222# Predefined preprocessor variables.
2223
2224cat >>confdefs.h <<_ACEOF
2225#define PACKAGE_NAME "$PACKAGE_NAME"
2226_ACEOF
2227
2228cat >>confdefs.h <<_ACEOF
2229#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2230_ACEOF
2231
2232cat >>confdefs.h <<_ACEOF
2233#define PACKAGE_VERSION "$PACKAGE_VERSION"
2234_ACEOF
2235
2236cat >>confdefs.h <<_ACEOF
2237#define PACKAGE_STRING "$PACKAGE_STRING"
2238_ACEOF
2239
2240cat >>confdefs.h <<_ACEOF
2241#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2242_ACEOF
2243
2244cat >>confdefs.h <<_ACEOF
2245#define PACKAGE_URL "$PACKAGE_URL"
2246_ACEOF
2247
2248
2249# Let the site file select an alternate cache file if it wants to.
2250# Prefer an explicitly selected file to automatically selected ones.
2251ac_site_file1=NONE
2252ac_site_file2=NONE
2253if test -n "$CONFIG_SITE"; then
2254  ac_site_file1=$CONFIG_SITE
2255elif test "x$prefix" != xNONE; then
2256  ac_site_file1=$prefix/share/config.site
2257  ac_site_file2=$prefix/etc/config.site
2258else
2259  ac_site_file1=$ac_default_prefix/share/config.site
2260  ac_site_file2=$ac_default_prefix/etc/config.site
2261fi
2262for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2263do
2264  test "x$ac_site_file" = xNONE && continue
2265  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2266    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2267$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2268    sed 's/^/| /' "$ac_site_file" >&5
2269    . "$ac_site_file"
2270  fi
2271done
2272
2273if test -r "$cache_file"; then
2274  # Some versions of bash will fail to source /dev/null (special files
2275  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2276  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2277    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2278$as_echo "$as_me: loading cache $cache_file" >&6;}
2279    case $cache_file in
2280      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2281      *)                      . "./$cache_file";;
2282    esac
2283  fi
2284else
2285  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2286$as_echo "$as_me: creating cache $cache_file" >&6;}
2287  >$cache_file
2288fi
2289
2290# Check that the precious variables saved in the cache have kept the same
2291# value.
2292ac_cache_corrupted=false
2293for ac_var in $ac_precious_vars; do
2294  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2295  eval ac_new_set=\$ac_env_${ac_var}_set
2296  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2297  eval ac_new_val=\$ac_env_${ac_var}_value
2298  case $ac_old_set,$ac_new_set in
2299    set,)
2300      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2301$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2302      ac_cache_corrupted=: ;;
2303    ,set)
2304      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2305$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2306      ac_cache_corrupted=: ;;
2307    ,);;
2308    *)
2309      if test "x$ac_old_val" != "x$ac_new_val"; then
2310	# differences in whitespace do not lead to failure.
2311	ac_old_val_w=`echo x $ac_old_val`
2312	ac_new_val_w=`echo x $ac_new_val`
2313	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2314	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2315$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2316	  ac_cache_corrupted=:
2317	else
2318	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2319$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2320	  eval $ac_var=\$ac_old_val
2321	fi
2322	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2323$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2324	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2325$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2326      fi;;
2327  esac
2328  # Pass precious variables to config.status.
2329  if test "$ac_new_set" = set; then
2330    case $ac_new_val in
2331    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2332    *) ac_arg=$ac_var=$ac_new_val ;;
2333    esac
2334    case " $ac_configure_args " in
2335      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2336      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2337    esac
2338  fi
2339done
2340if $ac_cache_corrupted; then
2341  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2342$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2343  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2344$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2345  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2346fi
2347## -------------------- ##
2348## Main body of script. ##
2349## -------------------- ##
2350
2351ac_ext=c
2352ac_cpp='$CPP $CPPFLAGS'
2353ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2354ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2355ac_compiler_gnu=$ac_cv_c_compiler_gnu
2356
2357
2358
2359
2360
2361
2362
2363
2364ac_aux_dir=
2365for ac_dir in . "$srcdir"/.; do
2366  for ac_t in install-sh install.sh shtool; do
2367    if test -f "$ac_dir/$ac_t"; then
2368      ac_aux_dir=$ac_dir
2369      ac_install_sh="$ac_aux_dir/$ac_t -c"
2370      break 2
2371    fi
2372  done
2373done
2374if test -z "$ac_aux_dir"; then
2375  as_fn_error "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2376fi
2377
2378# These three variables are undocumented and unsupported,
2379# and are intended to be withdrawn in a future Autoconf release.
2380# They can cause serious problems if a builder's source tree is in a directory
2381# whose full name contains unusual characters.
2382ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2383ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2384ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2385
2386
2387ac_config_headers="$ac_config_headers config.h"
2388
2389am__api_version='1.11'
2390
2391# Find a good install program.  We prefer a C program (faster),
2392# so one script is as good as another.  But avoid the broken or
2393# incompatible versions:
2394# SysV /etc/install, /usr/sbin/install
2395# SunOS /usr/etc/install
2396# IRIX /sbin/install
2397# AIX /bin/install
2398# AmigaOS /C/install, which installs bootblocks on floppy discs
2399# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2400# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2401# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2402# OS/2's system install, which has a completely different semantic
2403# ./install, which can be erroneously created by make from ./install.sh.
2404# Reject install programs that cannot install multiple files.
2405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2406$as_echo_n "checking for a BSD-compatible install... " >&6; }
2407if test -z "$INSTALL"; then
2408if test "${ac_cv_path_install+set}" = set; then :
2409  $as_echo_n "(cached) " >&6
2410else
2411  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412for as_dir in $PATH
2413do
2414  IFS=$as_save_IFS
2415  test -z "$as_dir" && as_dir=.
2416    # Account for people who put trailing slashes in PATH elements.
2417case $as_dir/ in #((
2418  ./ | .// | /[cC]/* | \
2419  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2420  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2421  /usr/ucb/* ) ;;
2422  *)
2423    # OSF1 and SCO ODT 3.0 have their own names for install.
2424    # Don't use installbsd from OSF since it installs stuff as root
2425    # by default.
2426    for ac_prog in ginstall scoinst install; do
2427      for ac_exec_ext in '' $ac_executable_extensions; do
2428	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2429	  if test $ac_prog = install &&
2430	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2431	    # AIX install.  It has an incompatible calling convention.
2432	    :
2433	  elif test $ac_prog = install &&
2434	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2435	    # program-specific install script used by HP pwplus--don't use.
2436	    :
2437	  else
2438	    rm -rf conftest.one conftest.two conftest.dir
2439	    echo one > conftest.one
2440	    echo two > conftest.two
2441	    mkdir conftest.dir
2442	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2443	      test -s conftest.one && test -s conftest.two &&
2444	      test -s conftest.dir/conftest.one &&
2445	      test -s conftest.dir/conftest.two
2446	    then
2447	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2448	      break 3
2449	    fi
2450	  fi
2451	fi
2452      done
2453    done
2454    ;;
2455esac
2456
2457  done
2458IFS=$as_save_IFS
2459
2460rm -rf conftest.one conftest.two conftest.dir
2461
2462fi
2463  if test "${ac_cv_path_install+set}" = set; then
2464    INSTALL=$ac_cv_path_install
2465  else
2466    # As a last resort, use the slow shell script.  Don't cache a
2467    # value for INSTALL within a source directory, because that will
2468    # break other packages using the cache if that directory is
2469    # removed, or if the value is a relative name.
2470    INSTALL=$ac_install_sh
2471  fi
2472fi
2473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2474$as_echo "$INSTALL" >&6; }
2475
2476# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2477# It thinks the first close brace ends the variable substitution.
2478test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2479
2480test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2481
2482test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2483
2484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2485$as_echo_n "checking whether build environment is sane... " >&6; }
2486# Just in case
2487sleep 1
2488echo timestamp > conftest.file
2489# Reject unsafe characters in $srcdir or the absolute working directory
2490# name.  Accept space and tab only in the latter.
2491am_lf='
2492'
2493case `pwd` in
2494  *[\\\"\#\$\&\'\`$am_lf]*)
2495    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2496esac
2497case $srcdir in
2498  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2499    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2500esac
2501
2502# Do `set' in a subshell so we don't clobber the current shell's
2503# arguments.  Must try -L first in case configure is actually a
2504# symlink; some systems play weird games with the mod time of symlinks
2505# (eg FreeBSD returns the mod time of the symlink's containing
2506# directory).
2507if (
2508   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2509   if test "$*" = "X"; then
2510      # -L didn't work.
2511      set X `ls -t "$srcdir/configure" conftest.file`
2512   fi
2513   rm -f conftest.file
2514   if test "$*" != "X $srcdir/configure conftest.file" \
2515      && test "$*" != "X conftest.file $srcdir/configure"; then
2516
2517      # If neither matched, then we have a broken ls.  This can happen
2518      # if, for instance, CONFIG_SHELL is bash and it inherits a
2519      # broken ls alias from the environment.  This has actually
2520      # happened.  Such a system could not be considered "sane".
2521      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2522alias in your environment" "$LINENO" 5
2523   fi
2524
2525   test "$2" = conftest.file
2526   )
2527then
2528   # Ok.
2529   :
2530else
2531   as_fn_error "newly created file is older than distributed files!
2532Check your system clock" "$LINENO" 5
2533fi
2534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2535$as_echo "yes" >&6; }
2536test "$program_prefix" != NONE &&
2537  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2538# Use a double $ so make ignores it.
2539test "$program_suffix" != NONE &&
2540  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2541# Double any \ or $.
2542# By default was `s,x,x', remove it if useless.
2543ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2544program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2545
2546# expand $ac_aux_dir to an absolute path
2547am_aux_dir=`cd $ac_aux_dir && pwd`
2548
2549if test x"${MISSING+set}" != xset; then
2550  case $am_aux_dir in
2551  *\ * | *\	*)
2552    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2553  *)
2554    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2555  esac
2556fi
2557# Use eval to expand $SHELL
2558if eval "$MISSING --run true"; then
2559  am_missing_run="$MISSING --run "
2560else
2561  am_missing_run=
2562  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2563$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2564fi
2565
2566if test x"${install_sh}" != xset; then
2567  case $am_aux_dir in
2568  *\ * | *\	*)
2569    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2570  *)
2571    install_sh="\${SHELL} $am_aux_dir/install-sh"
2572  esac
2573fi
2574
2575# Installed binaries are usually stripped using `strip' when the user
2576# run `make install-strip'.  However `strip' might not be the right
2577# tool to use in cross-compilation environments, therefore Automake
2578# will honor the `STRIP' environment variable to overrule this program.
2579if test "$cross_compiling" != no; then
2580  if test -n "$ac_tool_prefix"; then
2581  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2582set dummy ${ac_tool_prefix}strip; ac_word=$2
2583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2584$as_echo_n "checking for $ac_word... " >&6; }
2585if test "${ac_cv_prog_STRIP+set}" = set; then :
2586  $as_echo_n "(cached) " >&6
2587else
2588  if test -n "$STRIP"; then
2589  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2590else
2591as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592for as_dir in $PATH
2593do
2594  IFS=$as_save_IFS
2595  test -z "$as_dir" && as_dir=.
2596    for ac_exec_ext in '' $ac_executable_extensions; do
2597  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2598    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2599    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2600    break 2
2601  fi
2602done
2603  done
2604IFS=$as_save_IFS
2605
2606fi
2607fi
2608STRIP=$ac_cv_prog_STRIP
2609if test -n "$STRIP"; then
2610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2611$as_echo "$STRIP" >&6; }
2612else
2613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2614$as_echo "no" >&6; }
2615fi
2616
2617
2618fi
2619if test -z "$ac_cv_prog_STRIP"; then
2620  ac_ct_STRIP=$STRIP
2621  # Extract the first word of "strip", so it can be a program name with args.
2622set dummy strip; ac_word=$2
2623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2624$as_echo_n "checking for $ac_word... " >&6; }
2625if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2626  $as_echo_n "(cached) " >&6
2627else
2628  if test -n "$ac_ct_STRIP"; then
2629  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2630else
2631as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2632for as_dir in $PATH
2633do
2634  IFS=$as_save_IFS
2635  test -z "$as_dir" && as_dir=.
2636    for ac_exec_ext in '' $ac_executable_extensions; do
2637  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2638    ac_cv_prog_ac_ct_STRIP="strip"
2639    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2640    break 2
2641  fi
2642done
2643  done
2644IFS=$as_save_IFS
2645
2646fi
2647fi
2648ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2649if test -n "$ac_ct_STRIP"; then
2650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2651$as_echo "$ac_ct_STRIP" >&6; }
2652else
2653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2654$as_echo "no" >&6; }
2655fi
2656
2657  if test "x$ac_ct_STRIP" = x; then
2658    STRIP=":"
2659  else
2660    case $cross_compiling:$ac_tool_warned in
2661yes:)
2662{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2663$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2664ac_tool_warned=yes ;;
2665esac
2666    STRIP=$ac_ct_STRIP
2667  fi
2668else
2669  STRIP="$ac_cv_prog_STRIP"
2670fi
2671
2672fi
2673INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2674
2675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2676$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2677if test -z "$MKDIR_P"; then
2678  if test "${ac_cv_path_mkdir+set}" = set; then :
2679  $as_echo_n "(cached) " >&6
2680else
2681  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2682for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2683do
2684  IFS=$as_save_IFS
2685  test -z "$as_dir" && as_dir=.
2686    for ac_prog in mkdir gmkdir; do
2687	 for ac_exec_ext in '' $ac_executable_extensions; do
2688	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2689	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2690	     'mkdir (GNU coreutils) '* | \
2691	     'mkdir (coreutils) '* | \
2692	     'mkdir (fileutils) '4.1*)
2693	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2694	       break 3;;
2695	   esac
2696	 done
2697       done
2698  done
2699IFS=$as_save_IFS
2700
2701fi
2702
2703  test -d ./--version && rmdir ./--version
2704  if test "${ac_cv_path_mkdir+set}" = set; then
2705    MKDIR_P="$ac_cv_path_mkdir -p"
2706  else
2707    # As a last resort, use the slow shell script.  Don't cache a
2708    # value for MKDIR_P within a source directory, because that will
2709    # break other packages using the cache if that directory is
2710    # removed, or if the value is a relative name.
2711    MKDIR_P="$ac_install_sh -d"
2712  fi
2713fi
2714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2715$as_echo "$MKDIR_P" >&6; }
2716
2717mkdir_p="$MKDIR_P"
2718case $mkdir_p in
2719  [\\/$]* | ?:[\\/]*) ;;
2720  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2721esac
2722
2723for ac_prog in gawk mawk nawk awk
2724do
2725  # Extract the first word of "$ac_prog", so it can be a program name with args.
2726set dummy $ac_prog; ac_word=$2
2727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2728$as_echo_n "checking for $ac_word... " >&6; }
2729if test "${ac_cv_prog_AWK+set}" = set; then :
2730  $as_echo_n "(cached) " >&6
2731else
2732  if test -n "$AWK"; then
2733  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2734else
2735as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2736for as_dir in $PATH
2737do
2738  IFS=$as_save_IFS
2739  test -z "$as_dir" && as_dir=.
2740    for ac_exec_ext in '' $ac_executable_extensions; do
2741  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2742    ac_cv_prog_AWK="$ac_prog"
2743    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2744    break 2
2745  fi
2746done
2747  done
2748IFS=$as_save_IFS
2749
2750fi
2751fi
2752AWK=$ac_cv_prog_AWK
2753if test -n "$AWK"; then
2754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2755$as_echo "$AWK" >&6; }
2756else
2757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2758$as_echo "no" >&6; }
2759fi
2760
2761
2762  test -n "$AWK" && break
2763done
2764
2765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2766$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2767set x ${MAKE-make}
2768ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2769if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2770  $as_echo_n "(cached) " >&6
2771else
2772  cat >conftest.make <<\_ACEOF
2773SHELL = /bin/sh
2774all:
2775	@echo '@@@%%%=$(MAKE)=@@@%%%'
2776_ACEOF
2777# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2778case `${MAKE-make} -f conftest.make 2>/dev/null` in
2779  *@@@%%%=?*=@@@%%%*)
2780    eval ac_cv_prog_make_${ac_make}_set=yes;;
2781  *)
2782    eval ac_cv_prog_make_${ac_make}_set=no;;
2783esac
2784rm -f conftest.make
2785fi
2786if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2788$as_echo "yes" >&6; }
2789  SET_MAKE=
2790else
2791  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792$as_echo "no" >&6; }
2793  SET_MAKE="MAKE=${MAKE-make}"
2794fi
2795
2796rm -rf .tst 2>/dev/null
2797mkdir .tst 2>/dev/null
2798if test -d .tst; then
2799  am__leading_dot=.
2800else
2801  am__leading_dot=_
2802fi
2803rmdir .tst 2>/dev/null
2804
2805if test "`cd $srcdir && pwd`" != "`pwd`"; then
2806  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2807  # is not polluted with repeated "-I."
2808  am__isrc=' -I$(srcdir)'
2809  # test to see if srcdir already configured
2810  if test -f $srcdir/config.status; then
2811    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2812  fi
2813fi
2814
2815# test whether we have cygpath
2816if test -z "$CYGPATH_W"; then
2817  if (cygpath --version) >/dev/null 2>/dev/null; then
2818    CYGPATH_W='cygpath -w'
2819  else
2820    CYGPATH_W=echo
2821  fi
2822fi
2823
2824
2825# Define the identity of the package.
2826 PACKAGE='gmpc-lyricsplugin'
2827 VERSION='0.20.0'
2828
2829
2830cat >>confdefs.h <<_ACEOF
2831#define PACKAGE "$PACKAGE"
2832_ACEOF
2833
2834
2835cat >>confdefs.h <<_ACEOF
2836#define VERSION "$VERSION"
2837_ACEOF
2838
2839# Some tools Automake needs.
2840
2841ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2842
2843
2844AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2845
2846
2847AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2848
2849
2850AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2851
2852
2853MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2854
2855# We need awk for the "check" target.  The system "awk" is bad on
2856# some platforms.
2857# Always define AMTAR for backward compatibility.
2858
2859AMTAR=${AMTAR-"${am_missing_run}tar"}
2860
2861am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2862
2863
2864
2865
2866
2867
2868
2869$as_echo "#define PLUGIN_MAJOR_VERSION 0" >>confdefs.h
2870
2871
2872$as_echo "#define PLUGIN_MINOR_VERSION 20" >>confdefs.h
2873
2874
2875$as_echo "#define PLUGIN_MICRO_VERSION 0" >>confdefs.h
2876
2877
2878
2879#intltool, libtool. Check for CC compiler
2880
2881  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2882$as_echo_n "checking whether NLS is requested... " >&6; }
2883    # Check whether --enable-nls was given.
2884if test "${enable_nls+set}" = set; then :
2885  enableval=$enable_nls; USE_NLS=$enableval
2886else
2887  USE_NLS=yes
2888fi
2889
2890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2891$as_echo "$USE_NLS" >&6; }
2892
2893
2894DEPDIR="${am__leading_dot}deps"
2895
2896ac_config_commands="$ac_config_commands depfiles"
2897
2898
2899am_make=${MAKE-make}
2900cat > confinc << 'END'
2901am__doit:
2902	@echo this is the am__doit target
2903.PHONY: am__doit
2904END
2905# If we don't find an include directive, just comment out the code.
2906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2907$as_echo_n "checking for style of include used by $am_make... " >&6; }
2908am__include="#"
2909am__quote=
2910_am_result=none
2911# First try GNU make style include.
2912echo "include confinc" > confmf
2913# Ignore all kinds of additional output from `make'.
2914case `$am_make -s -f confmf 2> /dev/null` in #(
2915*the\ am__doit\ target*)
2916  am__include=include
2917  am__quote=
2918  _am_result=GNU
2919  ;;
2920esac
2921# Now try BSD make style include.
2922if test "$am__include" = "#"; then
2923   echo '.include "confinc"' > confmf
2924   case `$am_make -s -f confmf 2> /dev/null` in #(
2925   *the\ am__doit\ target*)
2926     am__include=.include
2927     am__quote="\""
2928     _am_result=BSD
2929     ;;
2930   esac
2931fi
2932
2933
2934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2935$as_echo "$_am_result" >&6; }
2936rm -f confinc confmf
2937
2938# Check whether --enable-dependency-tracking was given.
2939if test "${enable_dependency_tracking+set}" = set; then :
2940  enableval=$enable_dependency_tracking;
2941fi
2942
2943if test "x$enable_dependency_tracking" != xno; then
2944  am_depcomp="$ac_aux_dir/depcomp"
2945  AMDEPBACKSLASH='\'
2946fi
2947 if test "x$enable_dependency_tracking" != xno; then
2948  AMDEP_TRUE=
2949  AMDEP_FALSE='#'
2950else
2951  AMDEP_TRUE='#'
2952  AMDEP_FALSE=
2953fi
2954
2955
2956ac_ext=c
2957ac_cpp='$CPP $CPPFLAGS'
2958ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2959ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2960ac_compiler_gnu=$ac_cv_c_compiler_gnu
2961if test -n "$ac_tool_prefix"; then
2962  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2963set dummy ${ac_tool_prefix}gcc; ac_word=$2
2964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2965$as_echo_n "checking for $ac_word... " >&6; }
2966if test "${ac_cv_prog_CC+set}" = set; then :
2967  $as_echo_n "(cached) " >&6
2968else
2969  if test -n "$CC"; then
2970  ac_cv_prog_CC="$CC" # Let the user override the test.
2971else
2972as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2973for as_dir in $PATH
2974do
2975  IFS=$as_save_IFS
2976  test -z "$as_dir" && as_dir=.
2977    for ac_exec_ext in '' $ac_executable_extensions; do
2978  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2979    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2980    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2981    break 2
2982  fi
2983done
2984  done
2985IFS=$as_save_IFS
2986
2987fi
2988fi
2989CC=$ac_cv_prog_CC
2990if test -n "$CC"; then
2991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2992$as_echo "$CC" >&6; }
2993else
2994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2995$as_echo "no" >&6; }
2996fi
2997
2998
2999fi
3000if test -z "$ac_cv_prog_CC"; then
3001  ac_ct_CC=$CC
3002  # Extract the first word of "gcc", so it can be a program name with args.
3003set dummy gcc; ac_word=$2
3004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3005$as_echo_n "checking for $ac_word... " >&6; }
3006if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3007  $as_echo_n "(cached) " >&6
3008else
3009  if test -n "$ac_ct_CC"; then
3010  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3011else
3012as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3013for as_dir in $PATH
3014do
3015  IFS=$as_save_IFS
3016  test -z "$as_dir" && as_dir=.
3017    for ac_exec_ext in '' $ac_executable_extensions; do
3018  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3019    ac_cv_prog_ac_ct_CC="gcc"
3020    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3021    break 2
3022  fi
3023done
3024  done
3025IFS=$as_save_IFS
3026
3027fi
3028fi
3029ac_ct_CC=$ac_cv_prog_ac_ct_CC
3030if test -n "$ac_ct_CC"; then
3031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3032$as_echo "$ac_ct_CC" >&6; }
3033else
3034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3035$as_echo "no" >&6; }
3036fi
3037
3038  if test "x$ac_ct_CC" = x; then
3039    CC=""
3040  else
3041    case $cross_compiling:$ac_tool_warned in
3042yes:)
3043{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3044$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3045ac_tool_warned=yes ;;
3046esac
3047    CC=$ac_ct_CC
3048  fi
3049else
3050  CC="$ac_cv_prog_CC"
3051fi
3052
3053if test -z "$CC"; then
3054          if test -n "$ac_tool_prefix"; then
3055    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3056set dummy ${ac_tool_prefix}cc; ac_word=$2
3057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058$as_echo_n "checking for $ac_word... " >&6; }
3059if test "${ac_cv_prog_CC+set}" = set; then :
3060  $as_echo_n "(cached) " >&6
3061else
3062  if test -n "$CC"; then
3063  ac_cv_prog_CC="$CC" # Let the user override the test.
3064else
3065as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3066for as_dir in $PATH
3067do
3068  IFS=$as_save_IFS
3069  test -z "$as_dir" && as_dir=.
3070    for ac_exec_ext in '' $ac_executable_extensions; do
3071  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3072    ac_cv_prog_CC="${ac_tool_prefix}cc"
3073    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3074    break 2
3075  fi
3076done
3077  done
3078IFS=$as_save_IFS
3079
3080fi
3081fi
3082CC=$ac_cv_prog_CC
3083if test -n "$CC"; then
3084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3085$as_echo "$CC" >&6; }
3086else
3087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088$as_echo "no" >&6; }
3089fi
3090
3091
3092  fi
3093fi
3094if test -z "$CC"; then
3095  # Extract the first word of "cc", so it can be a program name with args.
3096set dummy cc; ac_word=$2
3097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098$as_echo_n "checking for $ac_word... " >&6; }
3099if test "${ac_cv_prog_CC+set}" = set; then :
3100  $as_echo_n "(cached) " >&6
3101else
3102  if test -n "$CC"; then
3103  ac_cv_prog_CC="$CC" # Let the user override the test.
3104else
3105  ac_prog_rejected=no
3106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3107for as_dir in $PATH
3108do
3109  IFS=$as_save_IFS
3110  test -z "$as_dir" && as_dir=.
3111    for ac_exec_ext in '' $ac_executable_extensions; do
3112  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3113    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3114       ac_prog_rejected=yes
3115       continue
3116     fi
3117    ac_cv_prog_CC="cc"
3118    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3119    break 2
3120  fi
3121done
3122  done
3123IFS=$as_save_IFS
3124
3125if test $ac_prog_rejected = yes; then
3126  # We found a bogon in the path, so make sure we never use it.
3127  set dummy $ac_cv_prog_CC
3128  shift
3129  if test $# != 0; then
3130    # We chose a different compiler from the bogus one.
3131    # However, it has the same basename, so the bogon will be chosen
3132    # first if we set CC to just the basename; use the full file name.
3133    shift
3134    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3135  fi
3136fi
3137fi
3138fi
3139CC=$ac_cv_prog_CC
3140if test -n "$CC"; then
3141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3142$as_echo "$CC" >&6; }
3143else
3144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145$as_echo "no" >&6; }
3146fi
3147
3148
3149fi
3150if test -z "$CC"; then
3151  if test -n "$ac_tool_prefix"; then
3152  for ac_prog in cl.exe
3153  do
3154    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3155set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157$as_echo_n "checking for $ac_word... " >&6; }
3158if test "${ac_cv_prog_CC+set}" = set; then :
3159  $as_echo_n "(cached) " >&6
3160else
3161  if test -n "$CC"; then
3162  ac_cv_prog_CC="$CC" # Let the user override the test.
3163else
3164as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3165for as_dir in $PATH
3166do
3167  IFS=$as_save_IFS
3168  test -z "$as_dir" && as_dir=.
3169    for ac_exec_ext in '' $ac_executable_extensions; do
3170  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3171    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3172    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3173    break 2
3174  fi
3175done
3176  done
3177IFS=$as_save_IFS
3178
3179fi
3180fi
3181CC=$ac_cv_prog_CC
3182if test -n "$CC"; then
3183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3184$as_echo "$CC" >&6; }
3185else
3186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187$as_echo "no" >&6; }
3188fi
3189
3190
3191    test -n "$CC" && break
3192  done
3193fi
3194if test -z "$CC"; then
3195  ac_ct_CC=$CC
3196  for ac_prog in cl.exe
3197do
3198  # Extract the first word of "$ac_prog", so it can be a program name with args.
3199set dummy $ac_prog; ac_word=$2
3200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3201$as_echo_n "checking for $ac_word... " >&6; }
3202if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3203  $as_echo_n "(cached) " >&6
3204else
3205  if test -n "$ac_ct_CC"; then
3206  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3207else
3208as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3209for as_dir in $PATH
3210do
3211  IFS=$as_save_IFS
3212  test -z "$as_dir" && as_dir=.
3213    for ac_exec_ext in '' $ac_executable_extensions; do
3214  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3215    ac_cv_prog_ac_ct_CC="$ac_prog"
3216    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3217    break 2
3218  fi
3219done
3220  done
3221IFS=$as_save_IFS
3222
3223fi
3224fi
3225ac_ct_CC=$ac_cv_prog_ac_ct_CC
3226if test -n "$ac_ct_CC"; then
3227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3228$as_echo "$ac_ct_CC" >&6; }
3229else
3230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3231$as_echo "no" >&6; }
3232fi
3233
3234
3235  test -n "$ac_ct_CC" && break
3236done
3237
3238  if test "x$ac_ct_CC" = x; then
3239    CC=""
3240  else
3241    case $cross_compiling:$ac_tool_warned in
3242yes:)
3243{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3244$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3245ac_tool_warned=yes ;;
3246esac
3247    CC=$ac_ct_CC
3248  fi
3249fi
3250
3251fi
3252
3253
3254test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3255$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3256as_fn_error "no acceptable C compiler found in \$PATH
3257See \`config.log' for more details." "$LINENO" 5; }
3258
3259# Provide some information about the compiler.
3260$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3261set X $ac_compile
3262ac_compiler=$2
3263for ac_option in --version -v -V -qversion; do
3264  { { ac_try="$ac_compiler $ac_option >&5"
3265case "(($ac_try" in
3266  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3267  *) ac_try_echo=$ac_try;;
3268esac
3269eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3270$as_echo "$ac_try_echo"; } >&5
3271  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3272  ac_status=$?
3273  if test -s conftest.err; then
3274    sed '10a\
3275... rest of stderr output deleted ...
3276         10q' conftest.err >conftest.er1
3277    cat conftest.er1 >&5
3278  fi
3279  rm -f conftest.er1 conftest.err
3280  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3281  test $ac_status = 0; }
3282done
3283
3284cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285/* end confdefs.h.  */
3286
3287int
3288main ()
3289{
3290
3291  ;
3292  return 0;
3293}
3294_ACEOF
3295ac_clean_files_save=$ac_clean_files
3296ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3297# Try to create an executable without -o first, disregard a.out.
3298# It will help us diagnose broken compilers, and finding out an intuition
3299# of exeext.
3300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3301$as_echo_n "checking whether the C compiler works... " >&6; }
3302ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3303
3304# The possible output files:
3305ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3306
3307ac_rmfiles=
3308for ac_file in $ac_files
3309do
3310  case $ac_file in
3311    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3312    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3313  esac
3314done
3315rm -f $ac_rmfiles
3316
3317if { { ac_try="$ac_link_default"
3318case "(($ac_try" in
3319  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3320  *) ac_try_echo=$ac_try;;
3321esac
3322eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3323$as_echo "$ac_try_echo"; } >&5
3324  (eval "$ac_link_default") 2>&5
3325  ac_status=$?
3326  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3327  test $ac_status = 0; }; then :
3328  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3329# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3330# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3331# so that the user can short-circuit this test for compilers unknown to
3332# Autoconf.
3333for ac_file in $ac_files ''
3334do
3335  test -f "$ac_file" || continue
3336  case $ac_file in
3337    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3338	;;
3339    [ab].out )
3340	# We found the default executable, but exeext='' is most
3341	# certainly right.
3342	break;;
3343    *.* )
3344	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3345	then :; else
3346	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3347	fi
3348	# We set ac_cv_exeext here because the later test for it is not
3349	# safe: cross compilers may not add the suffix if given an `-o'
3350	# argument, so we may need to know it at that point already.
3351	# Even if this section looks crufty: it has the advantage of
3352	# actually working.
3353	break;;
3354    * )
3355	break;;
3356  esac
3357done
3358test "$ac_cv_exeext" = no && ac_cv_exeext=
3359
3360else
3361  ac_file=''
3362fi
3363if test -z "$ac_file"; then :
3364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3365$as_echo "no" >&6; }
3366$as_echo "$as_me: failed program was:" >&5
3367sed 's/^/| /' conftest.$ac_ext >&5
3368
3369{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3370$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3371{ as_fn_set_status 77
3372as_fn_error "C compiler cannot create executables
3373See \`config.log' for more details." "$LINENO" 5; }; }
3374else
3375  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3376$as_echo "yes" >&6; }
3377fi
3378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3379$as_echo_n "checking for C compiler default output file name... " >&6; }
3380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3381$as_echo "$ac_file" >&6; }
3382ac_exeext=$ac_cv_exeext
3383
3384rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3385ac_clean_files=$ac_clean_files_save
3386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3387$as_echo_n "checking for suffix of executables... " >&6; }
3388if { { ac_try="$ac_link"
3389case "(($ac_try" in
3390  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3391  *) ac_try_echo=$ac_try;;
3392esac
3393eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3394$as_echo "$ac_try_echo"; } >&5
3395  (eval "$ac_link") 2>&5
3396  ac_status=$?
3397  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3398  test $ac_status = 0; }; then :
3399  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3400# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3401# work properly (i.e., refer to `conftest.exe'), while it won't with
3402# `rm'.
3403for ac_file in conftest.exe conftest conftest.*; do
3404  test -f "$ac_file" || continue
3405  case $ac_file in
3406    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3407    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3408	  break;;
3409    * ) break;;
3410  esac
3411done
3412else
3413  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3414$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3415as_fn_error "cannot compute suffix of executables: cannot compile and link
3416See \`config.log' for more details." "$LINENO" 5; }
3417fi
3418rm -f conftest conftest$ac_cv_exeext
3419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3420$as_echo "$ac_cv_exeext" >&6; }
3421
3422rm -f conftest.$ac_ext
3423EXEEXT=$ac_cv_exeext
3424ac_exeext=$EXEEXT
3425cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3426/* end confdefs.h.  */
3427#include <stdio.h>
3428int
3429main ()
3430{
3431FILE *f = fopen ("conftest.out", "w");
3432 return ferror (f) || fclose (f) != 0;
3433
3434  ;
3435  return 0;
3436}
3437_ACEOF
3438ac_clean_files="$ac_clean_files conftest.out"
3439# Check that the compiler produces executables we can run.  If not, either
3440# the compiler is broken, or we cross compile.
3441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3442$as_echo_n "checking whether we are cross compiling... " >&6; }
3443if test "$cross_compiling" != yes; then
3444  { { ac_try="$ac_link"
3445case "(($ac_try" in
3446  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3447  *) ac_try_echo=$ac_try;;
3448esac
3449eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3450$as_echo "$ac_try_echo"; } >&5
3451  (eval "$ac_link") 2>&5
3452  ac_status=$?
3453  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3454  test $ac_status = 0; }
3455  if { ac_try='./conftest$ac_cv_exeext'
3456  { { case "(($ac_try" in
3457  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458  *) ac_try_echo=$ac_try;;
3459esac
3460eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3461$as_echo "$ac_try_echo"; } >&5
3462  (eval "$ac_try") 2>&5
3463  ac_status=$?
3464  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3465  test $ac_status = 0; }; }; then
3466    cross_compiling=no
3467  else
3468    if test "$cross_compiling" = maybe; then
3469	cross_compiling=yes
3470    else
3471	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3472$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3473as_fn_error "cannot run C compiled programs.
3474If you meant to cross compile, use \`--host'.
3475See \`config.log' for more details." "$LINENO" 5; }
3476    fi
3477  fi
3478fi
3479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3480$as_echo "$cross_compiling" >&6; }
3481
3482rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3483ac_clean_files=$ac_clean_files_save
3484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3485$as_echo_n "checking for suffix of object files... " >&6; }
3486if test "${ac_cv_objext+set}" = set; then :
3487  $as_echo_n "(cached) " >&6
3488else
3489  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3490/* end confdefs.h.  */
3491
3492int
3493main ()
3494{
3495
3496  ;
3497  return 0;
3498}
3499_ACEOF
3500rm -f conftest.o conftest.obj
3501if { { ac_try="$ac_compile"
3502case "(($ac_try" in
3503  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3504  *) ac_try_echo=$ac_try;;
3505esac
3506eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3507$as_echo "$ac_try_echo"; } >&5
3508  (eval "$ac_compile") 2>&5
3509  ac_status=$?
3510  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3511  test $ac_status = 0; }; then :
3512  for ac_file in conftest.o conftest.obj conftest.*; do
3513  test -f "$ac_file" || continue;
3514  case $ac_file in
3515    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3516    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3517       break;;
3518  esac
3519done
3520else
3521  $as_echo "$as_me: failed program was:" >&5
3522sed 's/^/| /' conftest.$ac_ext >&5
3523
3524{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3525$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3526as_fn_error "cannot compute suffix of object files: cannot compile
3527See \`config.log' for more details." "$LINENO" 5; }
3528fi
3529rm -f conftest.$ac_cv_objext conftest.$ac_ext
3530fi
3531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3532$as_echo "$ac_cv_objext" >&6; }
3533OBJEXT=$ac_cv_objext
3534ac_objext=$OBJEXT
3535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3536$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3537if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3538  $as_echo_n "(cached) " >&6
3539else
3540  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3541/* end confdefs.h.  */
3542
3543int
3544main ()
3545{
3546#ifndef __GNUC__
3547       choke me
3548#endif
3549
3550  ;
3551  return 0;
3552}
3553_ACEOF
3554if ac_fn_c_try_compile "$LINENO"; then :
3555  ac_compiler_gnu=yes
3556else
3557  ac_compiler_gnu=no
3558fi
3559rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3560ac_cv_c_compiler_gnu=$ac_compiler_gnu
3561
3562fi
3563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3564$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3565if test $ac_compiler_gnu = yes; then
3566  GCC=yes
3567else
3568  GCC=
3569fi
3570ac_test_CFLAGS=${CFLAGS+set}
3571ac_save_CFLAGS=$CFLAGS
3572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3573$as_echo_n "checking whether $CC accepts -g... " >&6; }
3574if test "${ac_cv_prog_cc_g+set}" = set; then :
3575  $as_echo_n "(cached) " >&6
3576else
3577  ac_save_c_werror_flag=$ac_c_werror_flag
3578   ac_c_werror_flag=yes
3579   ac_cv_prog_cc_g=no
3580   CFLAGS="-g"
3581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582/* end confdefs.h.  */
3583
3584int
3585main ()
3586{
3587
3588  ;
3589  return 0;
3590}
3591_ACEOF
3592if ac_fn_c_try_compile "$LINENO"; then :
3593  ac_cv_prog_cc_g=yes
3594else
3595  CFLAGS=""
3596      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597/* end confdefs.h.  */
3598
3599int
3600main ()
3601{
3602
3603  ;
3604  return 0;
3605}
3606_ACEOF
3607if ac_fn_c_try_compile "$LINENO"; then :
3608
3609else
3610  ac_c_werror_flag=$ac_save_c_werror_flag
3611	 CFLAGS="-g"
3612	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3613/* end confdefs.h.  */
3614
3615int
3616main ()
3617{
3618
3619  ;
3620  return 0;
3621}
3622_ACEOF
3623if ac_fn_c_try_compile "$LINENO"; then :
3624  ac_cv_prog_cc_g=yes
3625fi
3626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3627fi
3628rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3629fi
3630rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3631   ac_c_werror_flag=$ac_save_c_werror_flag
3632fi
3633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3634$as_echo "$ac_cv_prog_cc_g" >&6; }
3635if test "$ac_test_CFLAGS" = set; then
3636  CFLAGS=$ac_save_CFLAGS
3637elif test $ac_cv_prog_cc_g = yes; then
3638  if test "$GCC" = yes; then
3639    CFLAGS="-g -O2"
3640  else
3641    CFLAGS="-g"
3642  fi
3643else
3644  if test "$GCC" = yes; then
3645    CFLAGS="-O2"
3646  else
3647    CFLAGS=
3648  fi
3649fi
3650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3651$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3652if test "${ac_cv_prog_cc_c89+set}" = set; then :
3653  $as_echo_n "(cached) " >&6
3654else
3655  ac_cv_prog_cc_c89=no
3656ac_save_CC=$CC
3657cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3658/* end confdefs.h.  */
3659#include <stdarg.h>
3660#include <stdio.h>
3661#include <sys/types.h>
3662#include <sys/stat.h>
3663/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3664struct buf { int x; };
3665FILE * (*rcsopen) (struct buf *, struct stat *, int);
3666static char *e (p, i)
3667     char **p;
3668     int i;
3669{
3670  return p[i];
3671}
3672static char *f (char * (*g) (char **, int), char **p, ...)
3673{
3674  char *s;
3675  va_list v;
3676  va_start (v,p);
3677  s = g (p, va_arg (v,int));
3678  va_end (v);
3679  return s;
3680}
3681
3682/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3683   function prototypes and stuff, but not '\xHH' hex character constants.
3684   These don't provoke an error unfortunately, instead are silently treated
3685   as 'x'.  The following induces an error, until -std is added to get
3686   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3687   array size at least.  It's necessary to write '\x00'==0 to get something
3688   that's true only with -std.  */
3689int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3690
3691/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3692   inside strings and character constants.  */
3693#define FOO(x) 'x'
3694int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3695
3696int test (int i, double x);
3697struct s1 {int (*f) (int a);};
3698struct s2 {int (*f) (double a);};
3699int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3700int argc;
3701char **argv;
3702int
3703main ()
3704{
3705return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3706  ;
3707  return 0;
3708}
3709_ACEOF
3710for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3711	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3712do
3713  CC="$ac_save_CC $ac_arg"
3714  if ac_fn_c_try_compile "$LINENO"; then :
3715  ac_cv_prog_cc_c89=$ac_arg
3716fi
3717rm -f core conftest.err conftest.$ac_objext
3718  test "x$ac_cv_prog_cc_c89" != "xno" && break
3719done
3720rm -f conftest.$ac_ext
3721CC=$ac_save_CC
3722
3723fi
3724# AC_CACHE_VAL
3725case "x$ac_cv_prog_cc_c89" in
3726  x)
3727    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3728$as_echo "none needed" >&6; } ;;
3729  xno)
3730    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3731$as_echo "unsupported" >&6; } ;;
3732  *)
3733    CC="$CC $ac_cv_prog_cc_c89"
3734    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3735$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3736esac
3737if test "x$ac_cv_prog_cc_c89" != xno; then :
3738
3739fi
3740
3741ac_ext=c
3742ac_cpp='$CPP $CPPFLAGS'
3743ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3744ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3745ac_compiler_gnu=$ac_cv_c_compiler_gnu
3746
3747depcc="$CC"   am_compiler_list=
3748
3749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3750$as_echo_n "checking dependency style of $depcc... " >&6; }
3751if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3752  $as_echo_n "(cached) " >&6
3753else
3754  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3755  # We make a subdir and do the tests there.  Otherwise we can end up
3756  # making bogus files that we don't know about and never remove.  For
3757  # instance it was reported that on HP-UX the gcc test will end up
3758  # making a dummy file named `D' -- because `-MD' means `put the output
3759  # in D'.
3760  mkdir conftest.dir
3761  # Copy depcomp to subdir because otherwise we won't find it if we're
3762  # using a relative directory.
3763  cp "$am_depcomp" conftest.dir
3764  cd conftest.dir
3765  # We will build objects and dependencies in a subdirectory because
3766  # it helps to detect inapplicable dependency modes.  For instance
3767  # both Tru64's cc and ICC support -MD to output dependencies as a
3768  # side effect of compilation, but ICC will put the dependencies in
3769  # the current directory while Tru64 will put them in the object
3770  # directory.
3771  mkdir sub
3772
3773  am_cv_CC_dependencies_compiler_type=none
3774  if test "$am_compiler_list" = ""; then
3775     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3776  fi
3777  am__universal=false
3778  case " $depcc " in #(
3779     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3780     esac
3781
3782  for depmode in $am_compiler_list; do
3783    # Setup a source with many dependencies, because some compilers
3784    # like to wrap large dependency lists on column 80 (with \), and
3785    # we should not choose a depcomp mode which is confused by this.
3786    #
3787    # We need to recreate these files for each test, as the compiler may
3788    # overwrite some of them when testing with obscure command lines.
3789    # This happens at least with the AIX C compiler.
3790    : > sub/conftest.c
3791    for i in 1 2 3 4 5 6; do
3792      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3793      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3794      # Solaris 8's {/usr,}/bin/sh.
3795      touch sub/conftst$i.h
3796    done
3797    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3798
3799    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3800    # mode.  It turns out that the SunPro C++ compiler does not properly
3801    # handle `-M -o', and we need to detect this.  Also, some Intel
3802    # versions had trouble with output in subdirs
3803    am__obj=sub/conftest.${OBJEXT-o}
3804    am__minus_obj="-o $am__obj"
3805    case $depmode in
3806    gcc)
3807      # This depmode causes a compiler race in universal mode.
3808      test "$am__universal" = false || continue
3809      ;;
3810    nosideeffect)
3811      # after this tag, mechanisms are not by side-effect, so they'll
3812      # only be used when explicitly requested
3813      if test "x$enable_dependency_tracking" = xyes; then
3814	continue
3815      else
3816	break
3817      fi
3818      ;;
3819    msvisualcpp | msvcmsys)
3820      # This compiler won't grok `-c -o', but also, the minuso test has
3821      # not run yet.  These depmodes are late enough in the game, and
3822      # so weak that their functioning should not be impacted.
3823      am__obj=conftest.${OBJEXT-o}
3824      am__minus_obj=
3825      ;;
3826    none) break ;;
3827    esac
3828    if depmode=$depmode \
3829       source=sub/conftest.c object=$am__obj \
3830       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3831       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3832         >/dev/null 2>conftest.err &&
3833       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3834       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3835       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3836       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3837      # icc doesn't choke on unknown options, it will just issue warnings
3838      # or remarks (even with -Werror).  So we grep stderr for any message
3839      # that says an option was ignored or not supported.
3840      # When given -MP, icc 7.0 and 7.1 complain thusly:
3841      #   icc: Command line warning: ignoring option '-M'; no argument required
3842      # The diagnosis changed in icc 8.0:
3843      #   icc: Command line remark: option '-MP' not supported
3844      if (grep 'ignoring option' conftest.err ||
3845          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3846        am_cv_CC_dependencies_compiler_type=$depmode
3847        break
3848      fi
3849    fi
3850  done
3851
3852  cd ..
3853  rm -rf conftest.dir
3854else
3855  am_cv_CC_dependencies_compiler_type=none
3856fi
3857
3858fi
3859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3860$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3861CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3862
3863 if
3864  test "x$enable_dependency_tracking" != xno \
3865  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3866  am__fastdepCC_TRUE=
3867  am__fastdepCC_FALSE='#'
3868else
3869  am__fastdepCC_TRUE='#'
3870  am__fastdepCC_FALSE=
3871fi
3872
3873
3874
3875
3876
3877case "$am__api_version" in
3878    1.01234)
3879	as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3880    ;;
3881    *)
3882    ;;
3883esac
3884
3885if test -n "0.21"; then
3886    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.21" >&5
3887$as_echo_n "checking for intltool >= 0.21... " >&6; }
3888
3889    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3890    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3891    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3892
3893    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3894$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3895    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3896	as_fn_error "Your intltool is too old.  You need intltool 0.21 or later." "$LINENO" 5
3897fi
3898
3899# Extract the first word of "intltool-update", so it can be a program name with args.
3900set dummy intltool-update; ac_word=$2
3901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3902$as_echo_n "checking for $ac_word... " >&6; }
3903if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
3904  $as_echo_n "(cached) " >&6
3905else
3906  case $INTLTOOL_UPDATE in
3907  [\\/]* | ?:[\\/]*)
3908  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3909  ;;
3910  *)
3911  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3912for as_dir in $PATH
3913do
3914  IFS=$as_save_IFS
3915  test -z "$as_dir" && as_dir=.
3916    for ac_exec_ext in '' $ac_executable_extensions; do
3917  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3918    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3919    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3920    break 2
3921  fi
3922done
3923  done
3924IFS=$as_save_IFS
3925
3926  ;;
3927esac
3928fi
3929INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3930if test -n "$INTLTOOL_UPDATE"; then
3931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
3932$as_echo "$INTLTOOL_UPDATE" >&6; }
3933else
3934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3935$as_echo "no" >&6; }
3936fi
3937
3938
3939# Extract the first word of "intltool-merge", so it can be a program name with args.
3940set dummy intltool-merge; ac_word=$2
3941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3942$as_echo_n "checking for $ac_word... " >&6; }
3943if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
3944  $as_echo_n "(cached) " >&6
3945else
3946  case $INTLTOOL_MERGE in
3947  [\\/]* | ?:[\\/]*)
3948  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
3949  ;;
3950  *)
3951  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3952for as_dir in $PATH
3953do
3954  IFS=$as_save_IFS
3955  test -z "$as_dir" && as_dir=.
3956    for ac_exec_ext in '' $ac_executable_extensions; do
3957  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3958    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3959    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3960    break 2
3961  fi
3962done
3963  done
3964IFS=$as_save_IFS
3965
3966  ;;
3967esac
3968fi
3969INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
3970if test -n "$INTLTOOL_MERGE"; then
3971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
3972$as_echo "$INTLTOOL_MERGE" >&6; }
3973else
3974  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3975$as_echo "no" >&6; }
3976fi
3977
3978
3979# Extract the first word of "intltool-extract", so it can be a program name with args.
3980set dummy intltool-extract; ac_word=$2
3981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3982$as_echo_n "checking for $ac_word... " >&6; }
3983if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
3984  $as_echo_n "(cached) " >&6
3985else
3986  case $INTLTOOL_EXTRACT in
3987  [\\/]* | ?:[\\/]*)
3988  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
3989  ;;
3990  *)
3991  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3992for as_dir in $PATH
3993do
3994  IFS=$as_save_IFS
3995  test -z "$as_dir" && as_dir=.
3996    for ac_exec_ext in '' $ac_executable_extensions; do
3997  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3998    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
3999    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4000    break 2
4001  fi
4002done
4003  done
4004IFS=$as_save_IFS
4005
4006  ;;
4007esac
4008fi
4009INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4010if test -n "$INTLTOOL_EXTRACT"; then
4011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4012$as_echo "$INTLTOOL_EXTRACT" >&6; }
4013else
4014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4015$as_echo "no" >&6; }
4016fi
4017
4018
4019if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4020    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4021fi
4022
4023  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4024INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4025     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4026     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4027      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
4028     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4029   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4030    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4031INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4032       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4033      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4034      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
4035      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4036      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4037    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4038  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4039    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4040    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4041   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139# Check the gettext tools to make sure they are GNU
4140# Extract the first word of "xgettext", so it can be a program name with args.
4141set dummy xgettext; ac_word=$2
4142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4143$as_echo_n "checking for $ac_word... " >&6; }
4144if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4145  $as_echo_n "(cached) " >&6
4146else
4147  case $XGETTEXT in
4148  [\\/]* | ?:[\\/]*)
4149  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4150  ;;
4151  *)
4152  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4153for as_dir in $PATH
4154do
4155  IFS=$as_save_IFS
4156  test -z "$as_dir" && as_dir=.
4157    for ac_exec_ext in '' $ac_executable_extensions; do
4158  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4159    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4160    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4161    break 2
4162  fi
4163done
4164  done
4165IFS=$as_save_IFS
4166
4167  ;;
4168esac
4169fi
4170XGETTEXT=$ac_cv_path_XGETTEXT
4171if test -n "$XGETTEXT"; then
4172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4173$as_echo "$XGETTEXT" >&6; }
4174else
4175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4176$as_echo "no" >&6; }
4177fi
4178
4179
4180# Extract the first word of "msgmerge", so it can be a program name with args.
4181set dummy msgmerge; ac_word=$2
4182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4183$as_echo_n "checking for $ac_word... " >&6; }
4184if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4185  $as_echo_n "(cached) " >&6
4186else
4187  case $MSGMERGE in
4188  [\\/]* | ?:[\\/]*)
4189  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4190  ;;
4191  *)
4192  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4193for as_dir in $PATH
4194do
4195  IFS=$as_save_IFS
4196  test -z "$as_dir" && as_dir=.
4197    for ac_exec_ext in '' $ac_executable_extensions; do
4198  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4199    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4200    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4201    break 2
4202  fi
4203done
4204  done
4205IFS=$as_save_IFS
4206
4207  ;;
4208esac
4209fi
4210MSGMERGE=$ac_cv_path_MSGMERGE
4211if test -n "$MSGMERGE"; then
4212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4213$as_echo "$MSGMERGE" >&6; }
4214else
4215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4216$as_echo "no" >&6; }
4217fi
4218
4219
4220# Extract the first word of "msgfmt", so it can be a program name with args.
4221set dummy msgfmt; ac_word=$2
4222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4223$as_echo_n "checking for $ac_word... " >&6; }
4224if test "${ac_cv_path_MSGFMT+set}" = set; then :
4225  $as_echo_n "(cached) " >&6
4226else
4227  case $MSGFMT in
4228  [\\/]* | ?:[\\/]*)
4229  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4230  ;;
4231  *)
4232  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4233for as_dir in $PATH
4234do
4235  IFS=$as_save_IFS
4236  test -z "$as_dir" && as_dir=.
4237    for ac_exec_ext in '' $ac_executable_extensions; do
4238  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4239    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4240    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4241    break 2
4242  fi
4243done
4244  done
4245IFS=$as_save_IFS
4246
4247  ;;
4248esac
4249fi
4250MSGFMT=$ac_cv_path_MSGFMT
4251if test -n "$MSGFMT"; then
4252  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4253$as_echo "$MSGFMT" >&6; }
4254else
4255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256$as_echo "no" >&6; }
4257fi
4258
4259
4260# Extract the first word of "gmsgfmt", so it can be a program name with args.
4261set dummy gmsgfmt; ac_word=$2
4262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4263$as_echo_n "checking for $ac_word... " >&6; }
4264if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4265  $as_echo_n "(cached) " >&6
4266else
4267  case $GMSGFMT in
4268  [\\/]* | ?:[\\/]*)
4269  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4270  ;;
4271  *)
4272  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4273for as_dir in $PATH
4274do
4275  IFS=$as_save_IFS
4276  test -z "$as_dir" && as_dir=.
4277    for ac_exec_ext in '' $ac_executable_extensions; do
4278  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4279    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4280    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4281    break 2
4282  fi
4283done
4284  done
4285IFS=$as_save_IFS
4286
4287  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4288  ;;
4289esac
4290fi
4291GMSGFMT=$ac_cv_path_GMSGFMT
4292if test -n "$GMSGFMT"; then
4293  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4294$as_echo "$GMSGFMT" >&6; }
4295else
4296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4297$as_echo "no" >&6; }
4298fi
4299
4300
4301if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4302    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
4303fi
4304xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4305mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4306mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4307if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4308    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
4309fi
4310
4311# Extract the first word of "perl", so it can be a program name with args.
4312set dummy perl; ac_word=$2
4313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4314$as_echo_n "checking for $ac_word... " >&6; }
4315if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
4316  $as_echo_n "(cached) " >&6
4317else
4318  case $INTLTOOL_PERL in
4319  [\\/]* | ?:[\\/]*)
4320  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4321  ;;
4322  *)
4323  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4324for as_dir in $PATH
4325do
4326  IFS=$as_save_IFS
4327  test -z "$as_dir" && as_dir=.
4328    for ac_exec_ext in '' $ac_executable_extensions; do
4329  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4330    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4331    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4332    break 2
4333  fi
4334done
4335  done
4336IFS=$as_save_IFS
4337
4338  ;;
4339esac
4340fi
4341INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4342if test -n "$INTLTOOL_PERL"; then
4343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4344$as_echo "$INTLTOOL_PERL" >&6; }
4345else
4346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4347$as_echo "no" >&6; }
4348fi
4349
4350
4351if test -z "$INTLTOOL_PERL"; then
4352   as_fn_error "perl not found" "$LINENO" 5
4353fi
4354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4355$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4356$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4357if test $? -ne 0; then
4358   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
4359else
4360   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4362$as_echo "$IT_PERL_VERSION" >&6; }
4363fi
4364if test "x" != "xno-xml"; then
4365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4366$as_echo_n "checking for XML::Parser... " >&6; }
4367   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4368       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4369$as_echo "ok" >&6; }
4370   else
4371       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
4372   fi
4373fi
4374
4375# Substitute ALL_LINGUAS so we can use it in po/Makefile
4376
4377
4378# Set DATADIRNAME correctly if it is not set yet
4379# (copied from glib-gettext.m4)
4380if test -z "$DATADIRNAME"; then
4381  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4382/* end confdefs.h.  */
4383
4384int
4385main ()
4386{
4387extern int _nl_msg_cat_cntr;
4388                       return _nl_msg_cat_cntr
4389  ;
4390  return 0;
4391}
4392_ACEOF
4393if ac_fn_c_try_link "$LINENO"; then :
4394  DATADIRNAME=share
4395else
4396  case $host in
4397    *-*-solaris*)
4398                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4399if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4400  DATADIRNAME=share
4401else
4402  DATADIRNAME=lib
4403fi
4404
4405    ;;
4406    *)
4407    DATADIRNAME=lib
4408    ;;
4409    esac
4410fi
4411rm -f core conftest.err conftest.$ac_objext \
4412    conftest$ac_exeext conftest.$ac_ext
4413fi
4414
4415
4416
4417
4418
4419# i18n support
4420ALL_LINGUAS=""
4421
4422GETTEXT_PACKAGE=gmpc-lyricsplugin
4423
4424
4425cat >>confdefs.h <<_ACEOF
4426#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
4427_ACEOF
4428
4429ac_ext=c
4430ac_cpp='$CPP $CPPFLAGS'
4431ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4432ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4433ac_compiler_gnu=$ac_cv_c_compiler_gnu
4434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4435$as_echo_n "checking how to run the C preprocessor... " >&6; }
4436# On Suns, sometimes $CPP names a directory.
4437if test -n "$CPP" && test -d "$CPP"; then
4438  CPP=
4439fi
4440if test -z "$CPP"; then
4441  if test "${ac_cv_prog_CPP+set}" = set; then :
4442  $as_echo_n "(cached) " >&6
4443else
4444      # Double quotes because CPP needs to be expanded
4445    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4446    do
4447      ac_preproc_ok=false
4448for ac_c_preproc_warn_flag in '' yes
4449do
4450  # Use a header file that comes with gcc, so configuring glibc
4451  # with a fresh cross-compiler works.
4452  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4453  # <limits.h> exists even on freestanding compilers.
4454  # On the NeXT, cc -E runs the code through the compiler's parser,
4455  # not just through cpp. "Syntax error" is here to catch this case.
4456  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4457/* end confdefs.h.  */
4458#ifdef __STDC__
4459# include <limits.h>
4460#else
4461# include <assert.h>
4462#endif
4463		     Syntax error
4464_ACEOF
4465if ac_fn_c_try_cpp "$LINENO"; then :
4466
4467else
4468  # Broken: fails on valid input.
4469continue
4470fi
4471rm -f conftest.err conftest.$ac_ext
4472
4473  # OK, works on sane cases.  Now check whether nonexistent headers
4474  # can be detected and how.
4475  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4476/* end confdefs.h.  */
4477#include <ac_nonexistent.h>
4478_ACEOF
4479if ac_fn_c_try_cpp "$LINENO"; then :
4480  # Broken: success on invalid input.
4481continue
4482else
4483  # Passes both tests.
4484ac_preproc_ok=:
4485break
4486fi
4487rm -f conftest.err conftest.$ac_ext
4488
4489done
4490# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4491rm -f conftest.err conftest.$ac_ext
4492if $ac_preproc_ok; then :
4493  break
4494fi
4495
4496    done
4497    ac_cv_prog_CPP=$CPP
4498
4499fi
4500  CPP=$ac_cv_prog_CPP
4501else
4502  ac_cv_prog_CPP=$CPP
4503fi
4504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4505$as_echo "$CPP" >&6; }
4506ac_preproc_ok=false
4507for ac_c_preproc_warn_flag in '' yes
4508do
4509  # Use a header file that comes with gcc, so configuring glibc
4510  # with a fresh cross-compiler works.
4511  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4512  # <limits.h> exists even on freestanding compilers.
4513  # On the NeXT, cc -E runs the code through the compiler's parser,
4514  # not just through cpp. "Syntax error" is here to catch this case.
4515  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516/* end confdefs.h.  */
4517#ifdef __STDC__
4518# include <limits.h>
4519#else
4520# include <assert.h>
4521#endif
4522		     Syntax error
4523_ACEOF
4524if ac_fn_c_try_cpp "$LINENO"; then :
4525
4526else
4527  # Broken: fails on valid input.
4528continue
4529fi
4530rm -f conftest.err conftest.$ac_ext
4531
4532  # OK, works on sane cases.  Now check whether nonexistent headers
4533  # can be detected and how.
4534  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535/* end confdefs.h.  */
4536#include <ac_nonexistent.h>
4537_ACEOF
4538if ac_fn_c_try_cpp "$LINENO"; then :
4539  # Broken: success on invalid input.
4540continue
4541else
4542  # Passes both tests.
4543ac_preproc_ok=:
4544break
4545fi
4546rm -f conftest.err conftest.$ac_ext
4547
4548done
4549# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4550rm -f conftest.err conftest.$ac_ext
4551if $ac_preproc_ok; then :
4552
4553else
4554  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4555$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4556as_fn_error "C preprocessor \"$CPP\" fails sanity check
4557See \`config.log' for more details." "$LINENO" 5; }
4558fi
4559
4560ac_ext=c
4561ac_cpp='$CPP $CPPFLAGS'
4562ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4563ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4564ac_compiler_gnu=$ac_cv_c_compiler_gnu
4565
4566
4567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4568$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4569if test "${ac_cv_path_GREP+set}" = set; then :
4570  $as_echo_n "(cached) " >&6
4571else
4572  if test -z "$GREP"; then
4573  ac_path_GREP_found=false
4574  # Loop through the user's path and test for each of PROGNAME-LIST
4575  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4577do
4578  IFS=$as_save_IFS
4579  test -z "$as_dir" && as_dir=.
4580    for ac_prog in grep ggrep; do
4581    for ac_exec_ext in '' $ac_executable_extensions; do
4582      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4583      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4584# Check for GNU ac_path_GREP and select it if it is found.
4585  # Check for GNU $ac_path_GREP
4586case `"$ac_path_GREP" --version 2>&1` in
4587*GNU*)
4588  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4589*)
4590  ac_count=0
4591  $as_echo_n 0123456789 >"conftest.in"
4592  while :
4593  do
4594    cat "conftest.in" "conftest.in" >"conftest.tmp"
4595    mv "conftest.tmp" "conftest.in"
4596    cp "conftest.in" "conftest.nl"
4597    $as_echo 'GREP' >> "conftest.nl"
4598    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4599    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4600    as_fn_arith $ac_count + 1 && ac_count=$as_val
4601    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4602      # Best one so far, save it but keep looking for a better one
4603      ac_cv_path_GREP="$ac_path_GREP"
4604      ac_path_GREP_max=$ac_count
4605    fi
4606    # 10*(2^10) chars as input seems more than enough
4607    test $ac_count -gt 10 && break
4608  done
4609  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4610esac
4611
4612      $ac_path_GREP_found && break 3
4613    done
4614  done
4615  done
4616IFS=$as_save_IFS
4617  if test -z "$ac_cv_path_GREP"; then
4618    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4619  fi
4620else
4621  ac_cv_path_GREP=$GREP
4622fi
4623
4624fi
4625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4626$as_echo "$ac_cv_path_GREP" >&6; }
4627 GREP="$ac_cv_path_GREP"
4628
4629
4630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4631$as_echo_n "checking for egrep... " >&6; }
4632if test "${ac_cv_path_EGREP+set}" = set; then :
4633  $as_echo_n "(cached) " >&6
4634else
4635  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4636   then ac_cv_path_EGREP="$GREP -E"
4637   else
4638     if test -z "$EGREP"; then
4639  ac_path_EGREP_found=false
4640  # Loop through the user's path and test for each of PROGNAME-LIST
4641  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4642for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4643do
4644  IFS=$as_save_IFS
4645  test -z "$as_dir" && as_dir=.
4646    for ac_prog in egrep; do
4647    for ac_exec_ext in '' $ac_executable_extensions; do
4648      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4649      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4650# Check for GNU ac_path_EGREP and select it if it is found.
4651  # Check for GNU $ac_path_EGREP
4652case `"$ac_path_EGREP" --version 2>&1` in
4653*GNU*)
4654  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4655*)
4656  ac_count=0
4657  $as_echo_n 0123456789 >"conftest.in"
4658  while :
4659  do
4660    cat "conftest.in" "conftest.in" >"conftest.tmp"
4661    mv "conftest.tmp" "conftest.in"
4662    cp "conftest.in" "conftest.nl"
4663    $as_echo 'EGREP' >> "conftest.nl"
4664    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4665    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4666    as_fn_arith $ac_count + 1 && ac_count=$as_val
4667    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4668      # Best one so far, save it but keep looking for a better one
4669      ac_cv_path_EGREP="$ac_path_EGREP"
4670      ac_path_EGREP_max=$ac_count
4671    fi
4672    # 10*(2^10) chars as input seems more than enough
4673    test $ac_count -gt 10 && break
4674  done
4675  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4676esac
4677
4678      $ac_path_EGREP_found && break 3
4679    done
4680  done
4681  done
4682IFS=$as_save_IFS
4683  if test -z "$ac_cv_path_EGREP"; then
4684    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4685  fi
4686else
4687  ac_cv_path_EGREP=$EGREP
4688fi
4689
4690   fi
4691fi
4692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4693$as_echo "$ac_cv_path_EGREP" >&6; }
4694 EGREP="$ac_cv_path_EGREP"
4695
4696
4697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4698$as_echo_n "checking for ANSI C header files... " >&6; }
4699if test "${ac_cv_header_stdc+set}" = set; then :
4700  $as_echo_n "(cached) " >&6
4701else
4702  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4703/* end confdefs.h.  */
4704#include <stdlib.h>
4705#include <stdarg.h>
4706#include <string.h>
4707#include <float.h>
4708
4709int
4710main ()
4711{
4712
4713  ;
4714  return 0;
4715}
4716_ACEOF
4717if ac_fn_c_try_compile "$LINENO"; then :
4718  ac_cv_header_stdc=yes
4719else
4720  ac_cv_header_stdc=no
4721fi
4722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4723
4724if test $ac_cv_header_stdc = yes; then
4725  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4726  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4727/* end confdefs.h.  */
4728#include <string.h>
4729
4730_ACEOF
4731if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4732  $EGREP "memchr" >/dev/null 2>&1; then :
4733
4734else
4735  ac_cv_header_stdc=no
4736fi
4737rm -f conftest*
4738
4739fi
4740
4741if test $ac_cv_header_stdc = yes; then
4742  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4743  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4744/* end confdefs.h.  */
4745#include <stdlib.h>
4746
4747_ACEOF
4748if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4749  $EGREP "free" >/dev/null 2>&1; then :
4750
4751else
4752  ac_cv_header_stdc=no
4753fi
4754rm -f conftest*
4755
4756fi
4757
4758if test $ac_cv_header_stdc = yes; then
4759  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4760  if test "$cross_compiling" = yes; then :
4761  :
4762else
4763  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4764/* end confdefs.h.  */
4765#include <ctype.h>
4766#include <stdlib.h>
4767#if ((' ' & 0x0FF) == 0x020)
4768# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4769# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4770#else
4771# define ISLOWER(c) \
4772		   (('a' <= (c) && (c) <= 'i') \
4773		     || ('j' <= (c) && (c) <= 'r') \
4774		     || ('s' <= (c) && (c) <= 'z'))
4775# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4776#endif
4777
4778#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4779int
4780main ()
4781{
4782  int i;
4783  for (i = 0; i < 256; i++)
4784    if (XOR (islower (i), ISLOWER (i))
4785	|| toupper (i) != TOUPPER (i))
4786      return 2;
4787  return 0;
4788}
4789_ACEOF
4790if ac_fn_c_try_run "$LINENO"; then :
4791
4792else
4793  ac_cv_header_stdc=no
4794fi
4795rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4796  conftest.$ac_objext conftest.beam conftest.$ac_ext
4797fi
4798
4799fi
4800fi
4801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4802$as_echo "$ac_cv_header_stdc" >&6; }
4803if test $ac_cv_header_stdc = yes; then
4804
4805$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4806
4807fi
4808
4809# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4810for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4811		  inttypes.h stdint.h unistd.h
4812do :
4813  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4814ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4815"
4816eval as_val=\$$as_ac_Header
4817   if test "x$as_val" = x""yes; then :
4818  cat >>confdefs.h <<_ACEOF
4819#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4820_ACEOF
4821
4822fi
4823
4824done
4825
4826
4827
4828   for ac_header in locale.h
4829do :
4830  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
4831if test "x$ac_cv_header_locale_h" = x""yes; then :
4832  cat >>confdefs.h <<_ACEOF
4833#define HAVE_LOCALE_H 1
4834_ACEOF
4835
4836fi
4837
4838done
4839
4840    if test $ac_cv_header_locale_h = yes; then
4841    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
4842$as_echo_n "checking for LC_MESSAGES... " >&6; }
4843if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
4844  $as_echo_n "(cached) " >&6
4845else
4846  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4847/* end confdefs.h.  */
4848#include <locale.h>
4849int
4850main ()
4851{
4852return LC_MESSAGES
4853  ;
4854  return 0;
4855}
4856_ACEOF
4857if ac_fn_c_try_link "$LINENO"; then :
4858  am_cv_val_LC_MESSAGES=yes
4859else
4860  am_cv_val_LC_MESSAGES=no
4861fi
4862rm -f core conftest.err conftest.$ac_objext \
4863    conftest$ac_exeext conftest.$ac_ext
4864fi
4865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
4866$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
4867    if test $am_cv_val_LC_MESSAGES = yes; then
4868
4869$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
4870
4871    fi
4872  fi
4873     USE_NLS=yes
4874
4875
4876    gt_cv_have_gettext=no
4877
4878    CATOBJEXT=NONE
4879    XGETTEXT=:
4880    INTLLIBS=
4881
4882    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4883if test "x$ac_cv_header_libintl_h" = x""yes; then :
4884  gt_cv_func_dgettext_libintl="no"
4885      libintl_extra_libs=""
4886
4887      #
4888      # First check in libc
4889      #
4890      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
4891$as_echo_n "checking for ngettext in libc... " >&6; }
4892if test "${gt_cv_func_ngettext_libc+set}" = set; then :
4893  $as_echo_n "(cached) " >&6
4894else
4895  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4896/* end confdefs.h.  */
4897
4898#include <libintl.h>
4899
4900int
4901main ()
4902{
4903return !ngettext ("","", 1)
4904  ;
4905  return 0;
4906}
4907_ACEOF
4908if ac_fn_c_try_link "$LINENO"; then :
4909  gt_cv_func_ngettext_libc=yes
4910else
4911  gt_cv_func_ngettext_libc=no
4912fi
4913rm -f core conftest.err conftest.$ac_objext \
4914    conftest$ac_exeext conftest.$ac_ext
4915
4916fi
4917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
4918$as_echo "$gt_cv_func_ngettext_libc" >&6; }
4919
4920      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4921	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
4922$as_echo_n "checking for dgettext in libc... " >&6; }
4923if test "${gt_cv_func_dgettext_libc+set}" = set; then :
4924  $as_echo_n "(cached) " >&6
4925else
4926  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927/* end confdefs.h.  */
4928
4929#include <libintl.h>
4930
4931int
4932main ()
4933{
4934return !dgettext ("","")
4935  ;
4936  return 0;
4937}
4938_ACEOF
4939if ac_fn_c_try_link "$LINENO"; then :
4940  gt_cv_func_dgettext_libc=yes
4941else
4942  gt_cv_func_dgettext_libc=no
4943fi
4944rm -f core conftest.err conftest.$ac_objext \
4945    conftest$ac_exeext conftest.$ac_ext
4946
4947fi
4948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
4949$as_echo "$gt_cv_func_dgettext_libc" >&6; }
4950      fi
4951
4952      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4953        for ac_func in bind_textdomain_codeset
4954do :
4955  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4956if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4957  cat >>confdefs.h <<_ACEOF
4958#define HAVE_BIND_TEXTDOMAIN_CODESET 1
4959_ACEOF
4960
4961fi
4962done
4963
4964      fi
4965
4966      #
4967      # If we don't have everything we want, check in libintl
4968      #
4969      if test "$gt_cv_func_dgettext_libc" != "yes" \
4970	 || test "$gt_cv_func_ngettext_libc" != "yes" \
4971         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
4972
4973        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
4974$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
4975if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
4976  $as_echo_n "(cached) " >&6
4977else
4978  ac_check_lib_save_LIBS=$LIBS
4979LIBS="-lintl  $LIBS"
4980cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4981/* end confdefs.h.  */
4982
4983/* Override any GCC internal prototype to avoid an error.
4984   Use char because int might match the return type of a GCC
4985   builtin and then its argument prototype would still apply.  */
4986#ifdef __cplusplus
4987extern "C"
4988#endif
4989char bindtextdomain ();
4990int
4991main ()
4992{
4993return bindtextdomain ();
4994  ;
4995  return 0;
4996}
4997_ACEOF
4998if ac_fn_c_try_link "$LINENO"; then :
4999  ac_cv_lib_intl_bindtextdomain=yes
5000else
5001  ac_cv_lib_intl_bindtextdomain=no
5002fi
5003rm -f core conftest.err conftest.$ac_objext \
5004    conftest$ac_exeext conftest.$ac_ext
5005LIBS=$ac_check_lib_save_LIBS
5006fi
5007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
5008$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
5009if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
5010  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5011$as_echo_n "checking for ngettext in -lintl... " >&6; }
5012if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
5013  $as_echo_n "(cached) " >&6
5014else
5015  ac_check_lib_save_LIBS=$LIBS
5016LIBS="-lintl  $LIBS"
5017cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5018/* end confdefs.h.  */
5019
5020/* Override any GCC internal prototype to avoid an error.
5021   Use char because int might match the return type of a GCC
5022   builtin and then its argument prototype would still apply.  */
5023#ifdef __cplusplus
5024extern "C"
5025#endif
5026char ngettext ();
5027int
5028main ()
5029{
5030return ngettext ();
5031  ;
5032  return 0;
5033}
5034_ACEOF
5035if ac_fn_c_try_link "$LINENO"; then :
5036  ac_cv_lib_intl_ngettext=yes
5037else
5038  ac_cv_lib_intl_ngettext=no
5039fi
5040rm -f core conftest.err conftest.$ac_objext \
5041    conftest$ac_exeext conftest.$ac_ext
5042LIBS=$ac_check_lib_save_LIBS
5043fi
5044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5045$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5046if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
5047  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
5048$as_echo_n "checking for dgettext in -lintl... " >&6; }
5049if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
5050  $as_echo_n "(cached) " >&6
5051else
5052  ac_check_lib_save_LIBS=$LIBS
5053LIBS="-lintl  $LIBS"
5054cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5055/* end confdefs.h.  */
5056
5057/* Override any GCC internal prototype to avoid an error.
5058   Use char because int might match the return type of a GCC
5059   builtin and then its argument prototype would still apply.  */
5060#ifdef __cplusplus
5061extern "C"
5062#endif
5063char dgettext ();
5064int
5065main ()
5066{
5067return dgettext ();
5068  ;
5069  return 0;
5070}
5071_ACEOF
5072if ac_fn_c_try_link "$LINENO"; then :
5073  ac_cv_lib_intl_dgettext=yes
5074else
5075  ac_cv_lib_intl_dgettext=no
5076fi
5077rm -f core conftest.err conftest.$ac_objext \
5078    conftest$ac_exeext conftest.$ac_ext
5079LIBS=$ac_check_lib_save_LIBS
5080fi
5081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
5082$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
5083if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
5084  gt_cv_func_dgettext_libintl=yes
5085fi
5086
5087fi
5088
5089fi
5090
5091
5092	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5093	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
5094$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
5095	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
5096$as_echo "" >&6; }
5097  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5098$as_echo_n "checking for ngettext in -lintl... " >&6; }
5099if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
5100  $as_echo_n "(cached) " >&6
5101else
5102  ac_check_lib_save_LIBS=$LIBS
5103LIBS="-lintl -liconv $LIBS"
5104cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5105/* end confdefs.h.  */
5106
5107/* Override any GCC internal prototype to avoid an error.
5108   Use char because int might match the return type of a GCC
5109   builtin and then its argument prototype would still apply.  */
5110#ifdef __cplusplus
5111extern "C"
5112#endif
5113char ngettext ();
5114int
5115main ()
5116{
5117return ngettext ();
5118  ;
5119  return 0;
5120}
5121_ACEOF
5122if ac_fn_c_try_link "$LINENO"; then :
5123  ac_cv_lib_intl_ngettext=yes
5124else
5125  ac_cv_lib_intl_ngettext=no
5126fi
5127rm -f core conftest.err conftest.$ac_objext \
5128    conftest$ac_exeext conftest.$ac_ext
5129LIBS=$ac_check_lib_save_LIBS
5130fi
5131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5132$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5133if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
5134  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
5135$as_echo_n "checking for dcgettext in -lintl... " >&6; }
5136if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
5137  $as_echo_n "(cached) " >&6
5138else
5139  ac_check_lib_save_LIBS=$LIBS
5140LIBS="-lintl -liconv $LIBS"
5141cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5142/* end confdefs.h.  */
5143
5144/* Override any GCC internal prototype to avoid an error.
5145   Use char because int might match the return type of a GCC
5146   builtin and then its argument prototype would still apply.  */
5147#ifdef __cplusplus
5148extern "C"
5149#endif
5150char dcgettext ();
5151int
5152main ()
5153{
5154return dcgettext ();
5155  ;
5156  return 0;
5157}
5158_ACEOF
5159if ac_fn_c_try_link "$LINENO"; then :
5160  ac_cv_lib_intl_dcgettext=yes
5161else
5162  ac_cv_lib_intl_dcgettext=no
5163fi
5164rm -f core conftest.err conftest.$ac_objext \
5165    conftest$ac_exeext conftest.$ac_ext
5166LIBS=$ac_check_lib_save_LIBS
5167fi
5168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
5169$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
5170if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
5171  gt_cv_func_dgettext_libintl=yes
5172			libintl_extra_libs=-liconv
5173else
5174  :
5175fi
5176
5177else
5178  :
5179fi
5180
5181        fi
5182
5183        #
5184        # If we found libintl, then check in it for bind_textdomain_codeset();
5185        # we'll prefer libc if neither have bind_textdomain_codeset(),
5186        # and both have dgettext and ngettext
5187        #
5188        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
5189          glib_save_LIBS="$LIBS"
5190          LIBS="$LIBS -lintl $libintl_extra_libs"
5191          unset ac_cv_func_bind_textdomain_codeset
5192          for ac_func in bind_textdomain_codeset
5193do :
5194  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5195if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
5196  cat >>confdefs.h <<_ACEOF
5197#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5198_ACEOF
5199
5200fi
5201done
5202
5203          LIBS="$glib_save_LIBS"
5204
5205          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
5206            gt_cv_func_dgettext_libc=no
5207          else
5208            if test "$gt_cv_func_dgettext_libc" = "yes" \
5209		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
5210              gt_cv_func_dgettext_libintl=no
5211            fi
5212          fi
5213        fi
5214      fi
5215
5216      if test "$gt_cv_func_dgettext_libc" = "yes" \
5217	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
5218        gt_cv_have_gettext=yes
5219      fi
5220
5221      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
5222        INTLLIBS="-lintl $libintl_extra_libs"
5223      fi
5224
5225      if test "$gt_cv_have_gettext" = "yes"; then
5226
5227$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
5228
5229	# Extract the first word of "msgfmt", so it can be a program name with args.
5230set dummy msgfmt; ac_word=$2
5231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5232$as_echo_n "checking for $ac_word... " >&6; }
5233if test "${ac_cv_path_MSGFMT+set}" = set; then :
5234  $as_echo_n "(cached) " >&6
5235else
5236  case "$MSGFMT" in
5237  /*)
5238  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5239  ;;
5240  *)
5241  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5242  for ac_dir in $PATH; do
5243    test -z "$ac_dir" && ac_dir=.
5244    if test -f $ac_dir/$ac_word; then
5245      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5246	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5247	break
5248      fi
5249    fi
5250  done
5251  IFS="$ac_save_ifs"
5252  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
5253  ;;
5254esac
5255fi
5256MSGFMT="$ac_cv_path_MSGFMT"
5257if test "$MSGFMT" != "no"; then
5258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5259$as_echo "$MSGFMT" >&6; }
5260else
5261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5262$as_echo "no" >&6; }
5263fi
5264	if test "$MSGFMT" != "no"; then
5265          glib_save_LIBS="$LIBS"
5266          LIBS="$LIBS $INTLLIBS"
5267	  for ac_func in dcgettext
5268do :
5269  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
5270if test "x$ac_cv_func_dcgettext" = x""yes; then :
5271  cat >>confdefs.h <<_ACEOF
5272#define HAVE_DCGETTEXT 1
5273_ACEOF
5274
5275fi
5276done
5277
5278	  MSGFMT_OPTS=
5279	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
5280$as_echo_n "checking if msgfmt accepts -c... " >&6; }
5281	  cat >conftest.foo <<_ACEOF
5282
5283msgid ""
5284msgstr ""
5285"Content-Type: text/plain; charset=UTF-8\n"
5286"Project-Id-Version: test 1.0\n"
5287"PO-Revision-Date: 2007-02-15 12:01+0100\n"
5288"Last-Translator: test <foo@bar.xx>\n"
5289"Language-Team: C <LL@li.org>\n"
5290"MIME-Version: 1.0\n"
5291"Content-Transfer-Encoding: 8bit\n"
5292
5293_ACEOF
5294if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
5295  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
5296  ac_status=$?
5297  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5298  test $ac_status = 0; }; then
5299  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5300$as_echo "yes" >&6; }
5301else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5302$as_echo "no" >&6; }
5303echo "$as_me: failed input was:" >&5
5304sed 's/^/| /' conftest.foo >&5
5305fi
5306
5307	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
5308set dummy gmsgfmt; ac_word=$2
5309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5310$as_echo_n "checking for $ac_word... " >&6; }
5311if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5312  $as_echo_n "(cached) " >&6
5313else
5314  case $GMSGFMT in
5315  [\\/]* | ?:[\\/]*)
5316  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5317  ;;
5318  *)
5319  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5320for as_dir in $PATH
5321do
5322  IFS=$as_save_IFS
5323  test -z "$as_dir" && as_dir=.
5324    for ac_exec_ext in '' $ac_executable_extensions; do
5325  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5326    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5327    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5328    break 2
5329  fi
5330done
5331  done
5332IFS=$as_save_IFS
5333
5334  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5335  ;;
5336esac
5337fi
5338GMSGFMT=$ac_cv_path_GMSGFMT
5339if test -n "$GMSGFMT"; then
5340  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5341$as_echo "$GMSGFMT" >&6; }
5342else
5343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5344$as_echo "no" >&6; }
5345fi
5346
5347
5348	  # Extract the first word of "xgettext", so it can be a program name with args.
5349set dummy xgettext; ac_word=$2
5350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5351$as_echo_n "checking for $ac_word... " >&6; }
5352if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5353  $as_echo_n "(cached) " >&6
5354else
5355  case "$XGETTEXT" in
5356  /*)
5357  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5358  ;;
5359  *)
5360  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5361  for ac_dir in $PATH; do
5362    test -z "$ac_dir" && ac_dir=.
5363    if test -f $ac_dir/$ac_word; then
5364      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5365	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5366	break
5367      fi
5368    fi
5369  done
5370  IFS="$ac_save_ifs"
5371  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5372  ;;
5373esac
5374fi
5375XGETTEXT="$ac_cv_path_XGETTEXT"
5376if test "$XGETTEXT" != ":"; then
5377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5378$as_echo "$XGETTEXT" >&6; }
5379else
5380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381$as_echo "no" >&6; }
5382fi
5383
5384	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5385/* end confdefs.h.  */
5386
5387int
5388main ()
5389{
5390extern int _nl_msg_cat_cntr;
5391			 return _nl_msg_cat_cntr
5392  ;
5393  return 0;
5394}
5395_ACEOF
5396if ac_fn_c_try_link "$LINENO"; then :
5397  CATOBJEXT=.gmo
5398             DATADIRNAME=share
5399else
5400  case $host in
5401	    *-*-solaris*)
5402	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5403if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
5404  CATOBJEXT=.gmo
5405               DATADIRNAME=share
5406else
5407  CATOBJEXT=.mo
5408               DATADIRNAME=lib
5409fi
5410
5411	    ;;
5412	    *)
5413	    CATOBJEXT=.mo
5414            DATADIRNAME=lib
5415	    ;;
5416	    esac
5417fi
5418rm -f core conftest.err conftest.$ac_objext \
5419    conftest$ac_exeext conftest.$ac_ext
5420          LIBS="$glib_save_LIBS"
5421	  INSTOBJEXT=.mo
5422	else
5423	  gt_cv_have_gettext=no
5424	fi
5425      fi
5426
5427fi
5428
5429
5430
5431    if test "$gt_cv_have_gettext" = "yes" ; then
5432
5433$as_echo "#define ENABLE_NLS 1" >>confdefs.h
5434
5435    fi
5436
5437        if test "$XGETTEXT" != ":"; then
5438                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
5439        : ;
5440      else
5441        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
5442$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
5443        XGETTEXT=":"
5444      fi
5445    fi
5446
5447    # We need to process the po/ directory.
5448    POSUB=po
5449
5450    ac_config_commands="$ac_config_commands default-1"
5451
5452
5453                for lang in $ALL_LINGUAS; do
5454      GMOFILES="$GMOFILES $lang.gmo"
5455      POFILES="$POFILES $lang.po"
5456    done
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470   if test "$gt_cv_have_gettext" = "yes"; then
5471     if test "x$ALL_LINGUAS" = "x"; then
5472       LINGUAS=
5473     else
5474       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5475$as_echo_n "checking for catalogs to be installed... " >&6; }
5476       NEW_LINGUAS=
5477       for presentlang in $ALL_LINGUAS; do
5478         useit=no
5479         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
5480           desiredlanguages="$LINGUAS"
5481         else
5482           desiredlanguages="$ALL_LINGUAS"
5483         fi
5484         for desiredlang in $desiredlanguages; do
5485 	   # Use the presentlang catalog if desiredlang is
5486           #   a. equal to presentlang, or
5487           #   b. a variant of presentlang (because in this case,
5488           #      presentlang can be used as a fallback for messages
5489           #      which are not translated in the desiredlang catalog).
5490           case "$desiredlang" in
5491             "$presentlang"*) useit=yes;;
5492           esac
5493         done
5494         if test $useit = yes; then
5495           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
5496         fi
5497       done
5498       LINGUAS=$NEW_LINGUAS
5499       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5500$as_echo "$LINGUAS" >&6; }
5501     fi
5502
5503          if test -n "$LINGUAS"; then
5504       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
5505     fi
5506   fi
5507
5508            MKINSTALLDIRS=
5509   if test -n "$ac_aux_dir"; then
5510     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
5511   fi
5512   if test -z "$MKINSTALLDIRS"; then
5513     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5514   fi
5515
5516
5517         test -d po || mkdir po
5518   if test "x$srcdir" != "x."; then
5519     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5520       posrcprefix="$srcdir/"
5521     else
5522       posrcprefix="../$srcdir/"
5523     fi
5524   else
5525     posrcprefix="../"
5526   fi
5527   rm -f po/POTFILES
5528   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5529	< $srcdir/po/POTFILES.in > po/POTFILES
5530
5531
5532
5533if test "x${prefix}" = "xNONE"; then
5534	PACKAGE_PREFIX="${ac_default_prefix}"
5535else
5536	PACKAGE_PREFIX="${prefix}"
5537fi
5538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PACKAGE_PREFIX" >&5
5539$as_echo "$PACKAGE_PREFIX" >&6; }
5540PACKAGE_LOCALE_DIR="${PACKAGE_PREFIX}/${DATADIRNAME}/locale"
5541
5542cat >>confdefs.h <<_ACEOF
5543#define PACKAGE_LOCALE_DIR "$PACKAGE_LOCALE_DIR"
5544_ACEOF
5545
5546
5547
5548ac_ext=c
5549ac_cpp='$CPP $CPPFLAGS'
5550ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5551ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5552ac_compiler_gnu=$ac_cv_c_compiler_gnu
5553if test -n "$ac_tool_prefix"; then
5554  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5555set dummy ${ac_tool_prefix}gcc; ac_word=$2
5556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5557$as_echo_n "checking for $ac_word... " >&6; }
5558if test "${ac_cv_prog_CC+set}" = set; then :
5559  $as_echo_n "(cached) " >&6
5560else
5561  if test -n "$CC"; then
5562  ac_cv_prog_CC="$CC" # Let the user override the test.
5563else
5564as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5565for as_dir in $PATH
5566do
5567  IFS=$as_save_IFS
5568  test -z "$as_dir" && as_dir=.
5569    for ac_exec_ext in '' $ac_executable_extensions; do
5570  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5571    ac_cv_prog_CC="${ac_tool_prefix}gcc"
5572    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5573    break 2
5574  fi
5575done
5576  done
5577IFS=$as_save_IFS
5578
5579fi
5580fi
5581CC=$ac_cv_prog_CC
5582if test -n "$CC"; then
5583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5584$as_echo "$CC" >&6; }
5585else
5586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5587$as_echo "no" >&6; }
5588fi
5589
5590
5591fi
5592if test -z "$ac_cv_prog_CC"; then
5593  ac_ct_CC=$CC
5594  # Extract the first word of "gcc", so it can be a program name with args.
5595set dummy gcc; ac_word=$2
5596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5597$as_echo_n "checking for $ac_word... " >&6; }
5598if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5599  $as_echo_n "(cached) " >&6
5600else
5601  if test -n "$ac_ct_CC"; then
5602  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5603else
5604as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5605for as_dir in $PATH
5606do
5607  IFS=$as_save_IFS
5608  test -z "$as_dir" && as_dir=.
5609    for ac_exec_ext in '' $ac_executable_extensions; do
5610  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5611    ac_cv_prog_ac_ct_CC="gcc"
5612    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5613    break 2
5614  fi
5615done
5616  done
5617IFS=$as_save_IFS
5618
5619fi
5620fi
5621ac_ct_CC=$ac_cv_prog_ac_ct_CC
5622if test -n "$ac_ct_CC"; then
5623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5624$as_echo "$ac_ct_CC" >&6; }
5625else
5626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5627$as_echo "no" >&6; }
5628fi
5629
5630  if test "x$ac_ct_CC" = x; then
5631    CC=""
5632  else
5633    case $cross_compiling:$ac_tool_warned in
5634yes:)
5635{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5636$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5637ac_tool_warned=yes ;;
5638esac
5639    CC=$ac_ct_CC
5640  fi
5641else
5642  CC="$ac_cv_prog_CC"
5643fi
5644
5645if test -z "$CC"; then
5646          if test -n "$ac_tool_prefix"; then
5647    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5648set dummy ${ac_tool_prefix}cc; ac_word=$2
5649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5650$as_echo_n "checking for $ac_word... " >&6; }
5651if test "${ac_cv_prog_CC+set}" = set; then :
5652  $as_echo_n "(cached) " >&6
5653else
5654  if test -n "$CC"; then
5655  ac_cv_prog_CC="$CC" # Let the user override the test.
5656else
5657as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658for as_dir in $PATH
5659do
5660  IFS=$as_save_IFS
5661  test -z "$as_dir" && as_dir=.
5662    for ac_exec_ext in '' $ac_executable_extensions; do
5663  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5664    ac_cv_prog_CC="${ac_tool_prefix}cc"
5665    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5666    break 2
5667  fi
5668done
5669  done
5670IFS=$as_save_IFS
5671
5672fi
5673fi
5674CC=$ac_cv_prog_CC
5675if test -n "$CC"; then
5676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5677$as_echo "$CC" >&6; }
5678else
5679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680$as_echo "no" >&6; }
5681fi
5682
5683
5684  fi
5685fi
5686if test -z "$CC"; then
5687  # Extract the first word of "cc", so it can be a program name with args.
5688set dummy cc; ac_word=$2
5689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5690$as_echo_n "checking for $ac_word... " >&6; }
5691if test "${ac_cv_prog_CC+set}" = set; then :
5692  $as_echo_n "(cached) " >&6
5693else
5694  if test -n "$CC"; then
5695  ac_cv_prog_CC="$CC" # Let the user override the test.
5696else
5697  ac_prog_rejected=no
5698as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699for as_dir in $PATH
5700do
5701  IFS=$as_save_IFS
5702  test -z "$as_dir" && as_dir=.
5703    for ac_exec_ext in '' $ac_executable_extensions; do
5704  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5705    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5706       ac_prog_rejected=yes
5707       continue
5708     fi
5709    ac_cv_prog_CC="cc"
5710    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5711    break 2
5712  fi
5713done
5714  done
5715IFS=$as_save_IFS
5716
5717if test $ac_prog_rejected = yes; then
5718  # We found a bogon in the path, so make sure we never use it.
5719  set dummy $ac_cv_prog_CC
5720  shift
5721  if test $# != 0; then
5722    # We chose a different compiler from the bogus one.
5723    # However, it has the same basename, so the bogon will be chosen
5724    # first if we set CC to just the basename; use the full file name.
5725    shift
5726    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5727  fi
5728fi
5729fi
5730fi
5731CC=$ac_cv_prog_CC
5732if test -n "$CC"; then
5733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5734$as_echo "$CC" >&6; }
5735else
5736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737$as_echo "no" >&6; }
5738fi
5739
5740
5741fi
5742if test -z "$CC"; then
5743  if test -n "$ac_tool_prefix"; then
5744  for ac_prog in cl.exe
5745  do
5746    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5747set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5749$as_echo_n "checking for $ac_word... " >&6; }
5750if test "${ac_cv_prog_CC+set}" = set; then :
5751  $as_echo_n "(cached) " >&6
5752else
5753  if test -n "$CC"; then
5754  ac_cv_prog_CC="$CC" # Let the user override the test.
5755else
5756as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757for as_dir in $PATH
5758do
5759  IFS=$as_save_IFS
5760  test -z "$as_dir" && as_dir=.
5761    for ac_exec_ext in '' $ac_executable_extensions; do
5762  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5763    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5764    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5765    break 2
5766  fi
5767done
5768  done
5769IFS=$as_save_IFS
5770
5771fi
5772fi
5773CC=$ac_cv_prog_CC
5774if test -n "$CC"; then
5775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5776$as_echo "$CC" >&6; }
5777else
5778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5779$as_echo "no" >&6; }
5780fi
5781
5782
5783    test -n "$CC" && break
5784  done
5785fi
5786if test -z "$CC"; then
5787  ac_ct_CC=$CC
5788  for ac_prog in cl.exe
5789do
5790  # Extract the first word of "$ac_prog", so it can be a program name with args.
5791set dummy $ac_prog; ac_word=$2
5792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5793$as_echo_n "checking for $ac_word... " >&6; }
5794if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5795  $as_echo_n "(cached) " >&6
5796else
5797  if test -n "$ac_ct_CC"; then
5798  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5799else
5800as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5801for as_dir in $PATH
5802do
5803  IFS=$as_save_IFS
5804  test -z "$as_dir" && as_dir=.
5805    for ac_exec_ext in '' $ac_executable_extensions; do
5806  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5807    ac_cv_prog_ac_ct_CC="$ac_prog"
5808    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5809    break 2
5810  fi
5811done
5812  done
5813IFS=$as_save_IFS
5814
5815fi
5816fi
5817ac_ct_CC=$ac_cv_prog_ac_ct_CC
5818if test -n "$ac_ct_CC"; then
5819  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5820$as_echo "$ac_ct_CC" >&6; }
5821else
5822  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823$as_echo "no" >&6; }
5824fi
5825
5826
5827  test -n "$ac_ct_CC" && break
5828done
5829
5830  if test "x$ac_ct_CC" = x; then
5831    CC=""
5832  else
5833    case $cross_compiling:$ac_tool_warned in
5834yes:)
5835{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5836$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5837ac_tool_warned=yes ;;
5838esac
5839    CC=$ac_ct_CC
5840  fi
5841fi
5842
5843fi
5844
5845
5846test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5847$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5848as_fn_error "no acceptable C compiler found in \$PATH
5849See \`config.log' for more details." "$LINENO" 5; }
5850
5851# Provide some information about the compiler.
5852$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5853set X $ac_compile
5854ac_compiler=$2
5855for ac_option in --version -v -V -qversion; do
5856  { { ac_try="$ac_compiler $ac_option >&5"
5857case "(($ac_try" in
5858  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5859  *) ac_try_echo=$ac_try;;
5860esac
5861eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5862$as_echo "$ac_try_echo"; } >&5
5863  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5864  ac_status=$?
5865  if test -s conftest.err; then
5866    sed '10a\
5867... rest of stderr output deleted ...
5868         10q' conftest.err >conftest.er1
5869    cat conftest.er1 >&5
5870  fi
5871  rm -f conftest.er1 conftest.err
5872  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5873  test $ac_status = 0; }
5874done
5875
5876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5877$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5878if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5879  $as_echo_n "(cached) " >&6
5880else
5881  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5882/* end confdefs.h.  */
5883
5884int
5885main ()
5886{
5887#ifndef __GNUC__
5888       choke me
5889#endif
5890
5891  ;
5892  return 0;
5893}
5894_ACEOF
5895if ac_fn_c_try_compile "$LINENO"; then :
5896  ac_compiler_gnu=yes
5897else
5898  ac_compiler_gnu=no
5899fi
5900rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5901ac_cv_c_compiler_gnu=$ac_compiler_gnu
5902
5903fi
5904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5905$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5906if test $ac_compiler_gnu = yes; then
5907  GCC=yes
5908else
5909  GCC=
5910fi
5911ac_test_CFLAGS=${CFLAGS+set}
5912ac_save_CFLAGS=$CFLAGS
5913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5914$as_echo_n "checking whether $CC accepts -g... " >&6; }
5915if test "${ac_cv_prog_cc_g+set}" = set; then :
5916  $as_echo_n "(cached) " >&6
5917else
5918  ac_save_c_werror_flag=$ac_c_werror_flag
5919   ac_c_werror_flag=yes
5920   ac_cv_prog_cc_g=no
5921   CFLAGS="-g"
5922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5923/* end confdefs.h.  */
5924
5925int
5926main ()
5927{
5928
5929  ;
5930  return 0;
5931}
5932_ACEOF
5933if ac_fn_c_try_compile "$LINENO"; then :
5934  ac_cv_prog_cc_g=yes
5935else
5936  CFLAGS=""
5937      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5938/* end confdefs.h.  */
5939
5940int
5941main ()
5942{
5943
5944  ;
5945  return 0;
5946}
5947_ACEOF
5948if ac_fn_c_try_compile "$LINENO"; then :
5949
5950else
5951  ac_c_werror_flag=$ac_save_c_werror_flag
5952	 CFLAGS="-g"
5953	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5954/* end confdefs.h.  */
5955
5956int
5957main ()
5958{
5959
5960  ;
5961  return 0;
5962}
5963_ACEOF
5964if ac_fn_c_try_compile "$LINENO"; then :
5965  ac_cv_prog_cc_g=yes
5966fi
5967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5968fi
5969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5970fi
5971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5972   ac_c_werror_flag=$ac_save_c_werror_flag
5973fi
5974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5975$as_echo "$ac_cv_prog_cc_g" >&6; }
5976if test "$ac_test_CFLAGS" = set; then
5977  CFLAGS=$ac_save_CFLAGS
5978elif test $ac_cv_prog_cc_g = yes; then
5979  if test "$GCC" = yes; then
5980    CFLAGS="-g -O2"
5981  else
5982    CFLAGS="-g"
5983  fi
5984else
5985  if test "$GCC" = yes; then
5986    CFLAGS="-O2"
5987  else
5988    CFLAGS=
5989  fi
5990fi
5991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5992$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5993if test "${ac_cv_prog_cc_c89+set}" = set; then :
5994  $as_echo_n "(cached) " >&6
5995else
5996  ac_cv_prog_cc_c89=no
5997ac_save_CC=$CC
5998cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5999/* end confdefs.h.  */
6000#include <stdarg.h>
6001#include <stdio.h>
6002#include <sys/types.h>
6003#include <sys/stat.h>
6004/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
6005struct buf { int x; };
6006FILE * (*rcsopen) (struct buf *, struct stat *, int);
6007static char *e (p, i)
6008     char **p;
6009     int i;
6010{
6011  return p[i];
6012}
6013static char *f (char * (*g) (char **, int), char **p, ...)
6014{
6015  char *s;
6016  va_list v;
6017  va_start (v,p);
6018  s = g (p, va_arg (v,int));
6019  va_end (v);
6020  return s;
6021}
6022
6023/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6024   function prototypes and stuff, but not '\xHH' hex character constants.
6025   These don't provoke an error unfortunately, instead are silently treated
6026   as 'x'.  The following induces an error, until -std is added to get
6027   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6028   array size at least.  It's necessary to write '\x00'==0 to get something
6029   that's true only with -std.  */
6030int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6031
6032/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6033   inside strings and character constants.  */
6034#define FOO(x) 'x'
6035int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6036
6037int test (int i, double x);
6038struct s1 {int (*f) (int a);};
6039struct s2 {int (*f) (double a);};
6040int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6041int argc;
6042char **argv;
6043int
6044main ()
6045{
6046return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6047  ;
6048  return 0;
6049}
6050_ACEOF
6051for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6052	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6053do
6054  CC="$ac_save_CC $ac_arg"
6055  if ac_fn_c_try_compile "$LINENO"; then :
6056  ac_cv_prog_cc_c89=$ac_arg
6057fi
6058rm -f core conftest.err conftest.$ac_objext
6059  test "x$ac_cv_prog_cc_c89" != "xno" && break
6060done
6061rm -f conftest.$ac_ext
6062CC=$ac_save_CC
6063
6064fi
6065# AC_CACHE_VAL
6066case "x$ac_cv_prog_cc_c89" in
6067  x)
6068    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6069$as_echo "none needed" >&6; } ;;
6070  xno)
6071    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6072$as_echo "unsupported" >&6; } ;;
6073  *)
6074    CC="$CC $ac_cv_prog_cc_c89"
6075    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6076$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6077esac
6078if test "x$ac_cv_prog_cc_c89" != xno; then :
6079
6080fi
6081
6082ac_ext=c
6083ac_cpp='$CPP $CPPFLAGS'
6084ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6085ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6086ac_compiler_gnu=$ac_cv_c_compiler_gnu
6087
6088depcc="$CC"   am_compiler_list=
6089
6090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6091$as_echo_n "checking dependency style of $depcc... " >&6; }
6092if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
6093  $as_echo_n "(cached) " >&6
6094else
6095  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6096  # We make a subdir and do the tests there.  Otherwise we can end up
6097  # making bogus files that we don't know about and never remove.  For
6098  # instance it was reported that on HP-UX the gcc test will end up
6099  # making a dummy file named `D' -- because `-MD' means `put the output
6100  # in D'.
6101  mkdir conftest.dir
6102  # Copy depcomp to subdir because otherwise we won't find it if we're
6103  # using a relative directory.
6104  cp "$am_depcomp" conftest.dir
6105  cd conftest.dir
6106  # We will build objects and dependencies in a subdirectory because
6107  # it helps to detect inapplicable dependency modes.  For instance
6108  # both Tru64's cc and ICC support -MD to output dependencies as a
6109  # side effect of compilation, but ICC will put the dependencies in
6110  # the current directory while Tru64 will put them in the object
6111  # directory.
6112  mkdir sub
6113
6114  am_cv_CC_dependencies_compiler_type=none
6115  if test "$am_compiler_list" = ""; then
6116     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6117  fi
6118  am__universal=false
6119  case " $depcc " in #(
6120     *\ -arch\ *\ -arch\ *) am__universal=true ;;
6121     esac
6122
6123  for depmode in $am_compiler_list; do
6124    # Setup a source with many dependencies, because some compilers
6125    # like to wrap large dependency lists on column 80 (with \), and
6126    # we should not choose a depcomp mode which is confused by this.
6127    #
6128    # We need to recreate these files for each test, as the compiler may
6129    # overwrite some of them when testing with obscure command lines.
6130    # This happens at least with the AIX C compiler.
6131    : > sub/conftest.c
6132    for i in 1 2 3 4 5 6; do
6133      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6134      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6135      # Solaris 8's {/usr,}/bin/sh.
6136      touch sub/conftst$i.h
6137    done
6138    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6139
6140    # We check with `-c' and `-o' for the sake of the "dashmstdout"
6141    # mode.  It turns out that the SunPro C++ compiler does not properly
6142    # handle `-M -o', and we need to detect this.  Also, some Intel
6143    # versions had trouble with output in subdirs
6144    am__obj=sub/conftest.${OBJEXT-o}
6145    am__minus_obj="-o $am__obj"
6146    case $depmode in
6147    gcc)
6148      # This depmode causes a compiler race in universal mode.
6149      test "$am__universal" = false || continue
6150      ;;
6151    nosideeffect)
6152      # after this tag, mechanisms are not by side-effect, so they'll
6153      # only be used when explicitly requested
6154      if test "x$enable_dependency_tracking" = xyes; then
6155	continue
6156      else
6157	break
6158      fi
6159      ;;
6160    msvisualcpp | msvcmsys)
6161      # This compiler won't grok `-c -o', but also, the minuso test has
6162      # not run yet.  These depmodes are late enough in the game, and
6163      # so weak that their functioning should not be impacted.
6164      am__obj=conftest.${OBJEXT-o}
6165      am__minus_obj=
6166      ;;
6167    none) break ;;
6168    esac
6169    if depmode=$depmode \
6170       source=sub/conftest.c object=$am__obj \
6171       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6172       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6173         >/dev/null 2>conftest.err &&
6174       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6175       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6176       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6177       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6178      # icc doesn't choke on unknown options, it will just issue warnings
6179      # or remarks (even with -Werror).  So we grep stderr for any message
6180      # that says an option was ignored or not supported.
6181      # When given -MP, icc 7.0 and 7.1 complain thusly:
6182      #   icc: Command line warning: ignoring option '-M'; no argument required
6183      # The diagnosis changed in icc 8.0:
6184      #   icc: Command line remark: option '-MP' not supported
6185      if (grep 'ignoring option' conftest.err ||
6186          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6187        am_cv_CC_dependencies_compiler_type=$depmode
6188        break
6189      fi
6190    fi
6191  done
6192
6193  cd ..
6194  rm -rf conftest.dir
6195else
6196  am_cv_CC_dependencies_compiler_type=none
6197fi
6198
6199fi
6200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6201$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6202CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6203
6204 if
6205  test "x$enable_dependency_tracking" != xno \
6206  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6207  am__fastdepCC_TRUE=
6208  am__fastdepCC_FALSE='#'
6209else
6210  am__fastdepCC_TRUE='#'
6211  am__fastdepCC_FALSE=
6212fi
6213
6214
6215# Check whether --enable-static was given.
6216if test "${enable_static+set}" = set; then :
6217  enableval=$enable_static; p=${PACKAGE-default}
6218    case $enableval in
6219    yes) enable_static=yes ;;
6220    no) enable_static=no ;;
6221    *)
6222     enable_static=no
6223      # Look at the argument we got.  We use all the common list separators.
6224      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6225      for pkg in $enableval; do
6226	IFS="$lt_save_ifs"
6227	if test "X$pkg" = "X$p"; then
6228	  enable_static=yes
6229	fi
6230      done
6231      IFS="$lt_save_ifs"
6232      ;;
6233    esac
6234else
6235  enable_static=no
6236fi
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246enable_dlopen=yes
6247
6248
6249
6250case `pwd` in
6251  *\ * | *\	*)
6252    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6253$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6254esac
6255
6256
6257
6258macro_version='2.2.6b'
6259macro_revision='1.3017'
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273ltmain="$ac_aux_dir/ltmain.sh"
6274
6275# Make sure we can run config.sub.
6276$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6277  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6278
6279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6280$as_echo_n "checking build system type... " >&6; }
6281if test "${ac_cv_build+set}" = set; then :
6282  $as_echo_n "(cached) " >&6
6283else
6284  ac_build_alias=$build_alias
6285test "x$ac_build_alias" = x &&
6286  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6287test "x$ac_build_alias" = x &&
6288  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
6289ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6290  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6291
6292fi
6293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6294$as_echo "$ac_cv_build" >&6; }
6295case $ac_cv_build in
6296*-*-*) ;;
6297*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
6298esac
6299build=$ac_cv_build
6300ac_save_IFS=$IFS; IFS='-'
6301set x $ac_cv_build
6302shift
6303build_cpu=$1
6304build_vendor=$2
6305shift; shift
6306# Remember, the first character of IFS is used to create $*,
6307# except with old shells:
6308build_os=$*
6309IFS=$ac_save_IFS
6310case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6311
6312
6313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6314$as_echo_n "checking host system type... " >&6; }
6315if test "${ac_cv_host+set}" = set; then :
6316  $as_echo_n "(cached) " >&6
6317else
6318  if test "x$host_alias" = x; then
6319  ac_cv_host=$ac_cv_build
6320else
6321  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6322    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6323fi
6324
6325fi
6326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6327$as_echo "$ac_cv_host" >&6; }
6328case $ac_cv_host in
6329*-*-*) ;;
6330*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
6331esac
6332host=$ac_cv_host
6333ac_save_IFS=$IFS; IFS='-'
6334set x $ac_cv_host
6335shift
6336host_cpu=$1
6337host_vendor=$2
6338shift; shift
6339# Remember, the first character of IFS is used to create $*,
6340# except with old shells:
6341host_os=$*
6342IFS=$ac_save_IFS
6343case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6344
6345
6346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6347$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6348if test "${ac_cv_path_SED+set}" = set; then :
6349  $as_echo_n "(cached) " >&6
6350else
6351            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6352     for ac_i in 1 2 3 4 5 6 7; do
6353       ac_script="$ac_script$as_nl$ac_script"
6354     done
6355     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6356     { ac_script=; unset ac_script;}
6357     if test -z "$SED"; then
6358  ac_path_SED_found=false
6359  # Loop through the user's path and test for each of PROGNAME-LIST
6360  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6361for as_dir in $PATH
6362do
6363  IFS=$as_save_IFS
6364  test -z "$as_dir" && as_dir=.
6365    for ac_prog in sed gsed; do
6366    for ac_exec_ext in '' $ac_executable_extensions; do
6367      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6368      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6369# Check for GNU ac_path_SED and select it if it is found.
6370  # Check for GNU $ac_path_SED
6371case `"$ac_path_SED" --version 2>&1` in
6372*GNU*)
6373  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6374*)
6375  ac_count=0
6376  $as_echo_n 0123456789 >"conftest.in"
6377  while :
6378  do
6379    cat "conftest.in" "conftest.in" >"conftest.tmp"
6380    mv "conftest.tmp" "conftest.in"
6381    cp "conftest.in" "conftest.nl"
6382    $as_echo '' >> "conftest.nl"
6383    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6384    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6385    as_fn_arith $ac_count + 1 && ac_count=$as_val
6386    if test $ac_count -gt ${ac_path_SED_max-0}; then
6387      # Best one so far, save it but keep looking for a better one
6388      ac_cv_path_SED="$ac_path_SED"
6389      ac_path_SED_max=$ac_count
6390    fi
6391    # 10*(2^10) chars as input seems more than enough
6392    test $ac_count -gt 10 && break
6393  done
6394  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6395esac
6396
6397      $ac_path_SED_found && break 3
6398    done
6399  done
6400  done
6401IFS=$as_save_IFS
6402  if test -z "$ac_cv_path_SED"; then
6403    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6404  fi
6405else
6406  ac_cv_path_SED=$SED
6407fi
6408
6409fi
6410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6411$as_echo "$ac_cv_path_SED" >&6; }
6412 SED="$ac_cv_path_SED"
6413  rm -f conftest.sed
6414
6415test -z "$SED" && SED=sed
6416Xsed="$SED -e 1s/^X//"
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6429$as_echo_n "checking for fgrep... " >&6; }
6430if test "${ac_cv_path_FGREP+set}" = set; then :
6431  $as_echo_n "(cached) " >&6
6432else
6433  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6434   then ac_cv_path_FGREP="$GREP -F"
6435   else
6436     if test -z "$FGREP"; then
6437  ac_path_FGREP_found=false
6438  # Loop through the user's path and test for each of PROGNAME-LIST
6439  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6440for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6441do
6442  IFS=$as_save_IFS
6443  test -z "$as_dir" && as_dir=.
6444    for ac_prog in fgrep; do
6445    for ac_exec_ext in '' $ac_executable_extensions; do
6446      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6447      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6448# Check for GNU ac_path_FGREP and select it if it is found.
6449  # Check for GNU $ac_path_FGREP
6450case `"$ac_path_FGREP" --version 2>&1` in
6451*GNU*)
6452  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6453*)
6454  ac_count=0
6455  $as_echo_n 0123456789 >"conftest.in"
6456  while :
6457  do
6458    cat "conftest.in" "conftest.in" >"conftest.tmp"
6459    mv "conftest.tmp" "conftest.in"
6460    cp "conftest.in" "conftest.nl"
6461    $as_echo 'FGREP' >> "conftest.nl"
6462    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6463    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6464    as_fn_arith $ac_count + 1 && ac_count=$as_val
6465    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6466      # Best one so far, save it but keep looking for a better one
6467      ac_cv_path_FGREP="$ac_path_FGREP"
6468      ac_path_FGREP_max=$ac_count
6469    fi
6470    # 10*(2^10) chars as input seems more than enough
6471    test $ac_count -gt 10 && break
6472  done
6473  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6474esac
6475
6476      $ac_path_FGREP_found && break 3
6477    done
6478  done
6479  done
6480IFS=$as_save_IFS
6481  if test -z "$ac_cv_path_FGREP"; then
6482    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6483  fi
6484else
6485  ac_cv_path_FGREP=$FGREP
6486fi
6487
6488   fi
6489fi
6490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6491$as_echo "$ac_cv_path_FGREP" >&6; }
6492 FGREP="$ac_cv_path_FGREP"
6493
6494
6495test -z "$GREP" && GREP=grep
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515# Check whether --with-gnu-ld was given.
6516if test "${with_gnu_ld+set}" = set; then :
6517  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6518else
6519  with_gnu_ld=no
6520fi
6521
6522ac_prog=ld
6523if test "$GCC" = yes; then
6524  # Check if gcc -print-prog-name=ld gives a path.
6525  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6526$as_echo_n "checking for ld used by $CC... " >&6; }
6527  case $host in
6528  *-*-mingw*)
6529    # gcc leaves a trailing carriage return which upsets mingw
6530    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6531  *)
6532    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6533  esac
6534  case $ac_prog in
6535    # Accept absolute paths.
6536    [\\/]* | ?:[\\/]*)
6537      re_direlt='/[^/][^/]*/\.\./'
6538      # Canonicalize the pathname of ld
6539      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6540      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6541	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6542      done
6543      test -z "$LD" && LD="$ac_prog"
6544      ;;
6545  "")
6546    # If it fails, then pretend we aren't using GCC.
6547    ac_prog=ld
6548    ;;
6549  *)
6550    # If it is relative, then search for the first ld in PATH.
6551    with_gnu_ld=unknown
6552    ;;
6553  esac
6554elif test "$with_gnu_ld" = yes; then
6555  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6556$as_echo_n "checking for GNU ld... " >&6; }
6557else
6558  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6559$as_echo_n "checking for non-GNU ld... " >&6; }
6560fi
6561if test "${lt_cv_path_LD+set}" = set; then :
6562  $as_echo_n "(cached) " >&6
6563else
6564  if test -z "$LD"; then
6565  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6566  for ac_dir in $PATH; do
6567    IFS="$lt_save_ifs"
6568    test -z "$ac_dir" && ac_dir=.
6569    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6570      lt_cv_path_LD="$ac_dir/$ac_prog"
6571      # Check to see if the program is GNU ld.  I'd rather use --version,
6572      # but apparently some variants of GNU ld only accept -v.
6573      # Break only if it was the GNU/non-GNU ld that we prefer.
6574      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6575      *GNU* | *'with BFD'*)
6576	test "$with_gnu_ld" != no && break
6577	;;
6578      *)
6579	test "$with_gnu_ld" != yes && break
6580	;;
6581      esac
6582    fi
6583  done
6584  IFS="$lt_save_ifs"
6585else
6586  lt_cv_path_LD="$LD" # Let the user override the test with a path.
6587fi
6588fi
6589
6590LD="$lt_cv_path_LD"
6591if test -n "$LD"; then
6592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6593$as_echo "$LD" >&6; }
6594else
6595  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6596$as_echo "no" >&6; }
6597fi
6598test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6600$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6601if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6602  $as_echo_n "(cached) " >&6
6603else
6604  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6605case `$LD -v 2>&1 </dev/null` in
6606*GNU* | *'with BFD'*)
6607  lt_cv_prog_gnu_ld=yes
6608  ;;
6609*)
6610  lt_cv_prog_gnu_ld=no
6611  ;;
6612esac
6613fi
6614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6615$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6616with_gnu_ld=$lt_cv_prog_gnu_ld
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6627$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6628if test "${lt_cv_path_NM+set}" = set; then :
6629  $as_echo_n "(cached) " >&6
6630else
6631  if test -n "$NM"; then
6632  # Let the user override the test.
6633  lt_cv_path_NM="$NM"
6634else
6635  lt_nm_to_check="${ac_tool_prefix}nm"
6636  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6637    lt_nm_to_check="$lt_nm_to_check nm"
6638  fi
6639  for lt_tmp_nm in $lt_nm_to_check; do
6640    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6641    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6642      IFS="$lt_save_ifs"
6643      test -z "$ac_dir" && ac_dir=.
6644      tmp_nm="$ac_dir/$lt_tmp_nm"
6645      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6646	# Check to see if the nm accepts a BSD-compat flag.
6647	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6648	#   nm: unknown option "B" ignored
6649	# Tru64's nm complains that /dev/null is an invalid object file
6650	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6651	*/dev/null* | *'Invalid file or object type'*)
6652	  lt_cv_path_NM="$tmp_nm -B"
6653	  break
6654	  ;;
6655	*)
6656	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6657	  */dev/null*)
6658	    lt_cv_path_NM="$tmp_nm -p"
6659	    break
6660	    ;;
6661	  *)
6662	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6663	    continue # so that we can try to find one that supports BSD flags
6664	    ;;
6665	  esac
6666	  ;;
6667	esac
6668      fi
6669    done
6670    IFS="$lt_save_ifs"
6671  done
6672  : ${lt_cv_path_NM=no}
6673fi
6674fi
6675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6676$as_echo "$lt_cv_path_NM" >&6; }
6677if test "$lt_cv_path_NM" != "no"; then
6678  NM="$lt_cv_path_NM"
6679else
6680  # Didn't find any BSD compatible name lister, look for dumpbin.
6681  if test -n "$ac_tool_prefix"; then
6682  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6683  do
6684    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6685set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6687$as_echo_n "checking for $ac_word... " >&6; }
6688if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6689  $as_echo_n "(cached) " >&6
6690else
6691  if test -n "$DUMPBIN"; then
6692  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6693else
6694as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6695for as_dir in $PATH
6696do
6697  IFS=$as_save_IFS
6698  test -z "$as_dir" && as_dir=.
6699    for ac_exec_ext in '' $ac_executable_extensions; do
6700  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6701    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6702    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6703    break 2
6704  fi
6705done
6706  done
6707IFS=$as_save_IFS
6708
6709fi
6710fi
6711DUMPBIN=$ac_cv_prog_DUMPBIN
6712if test -n "$DUMPBIN"; then
6713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6714$as_echo "$DUMPBIN" >&6; }
6715else
6716  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6717$as_echo "no" >&6; }
6718fi
6719
6720
6721    test -n "$DUMPBIN" && break
6722  done
6723fi
6724if test -z "$DUMPBIN"; then
6725  ac_ct_DUMPBIN=$DUMPBIN
6726  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6727do
6728  # Extract the first word of "$ac_prog", so it can be a program name with args.
6729set dummy $ac_prog; ac_word=$2
6730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6731$as_echo_n "checking for $ac_word... " >&6; }
6732if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6733  $as_echo_n "(cached) " >&6
6734else
6735  if test -n "$ac_ct_DUMPBIN"; then
6736  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6737else
6738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6739for as_dir in $PATH
6740do
6741  IFS=$as_save_IFS
6742  test -z "$as_dir" && as_dir=.
6743    for ac_exec_ext in '' $ac_executable_extensions; do
6744  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6745    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6746    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6747    break 2
6748  fi
6749done
6750  done
6751IFS=$as_save_IFS
6752
6753fi
6754fi
6755ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6756if test -n "$ac_ct_DUMPBIN"; then
6757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6758$as_echo "$ac_ct_DUMPBIN" >&6; }
6759else
6760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6761$as_echo "no" >&6; }
6762fi
6763
6764
6765  test -n "$ac_ct_DUMPBIN" && break
6766done
6767
6768  if test "x$ac_ct_DUMPBIN" = x; then
6769    DUMPBIN=":"
6770  else
6771    case $cross_compiling:$ac_tool_warned in
6772yes:)
6773{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6774$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6775ac_tool_warned=yes ;;
6776esac
6777    DUMPBIN=$ac_ct_DUMPBIN
6778  fi
6779fi
6780
6781
6782  if test "$DUMPBIN" != ":"; then
6783    NM="$DUMPBIN"
6784  fi
6785fi
6786test -z "$NM" && NM=nm
6787
6788
6789
6790
6791
6792
6793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6794$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6795if test "${lt_cv_nm_interface+set}" = set; then :
6796  $as_echo_n "(cached) " >&6
6797else
6798  lt_cv_nm_interface="BSD nm"
6799  echo "int some_variable = 0;" > conftest.$ac_ext
6800  (eval echo "\"\$as_me:6800: $ac_compile\"" >&5)
6801  (eval "$ac_compile" 2>conftest.err)
6802  cat conftest.err >&5
6803  (eval echo "\"\$as_me:6803: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6804  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6805  cat conftest.err >&5
6806  (eval echo "\"\$as_me:6806: output\"" >&5)
6807  cat conftest.out >&5
6808  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6809    lt_cv_nm_interface="MS dumpbin"
6810  fi
6811  rm -f conftest*
6812fi
6813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6814$as_echo "$lt_cv_nm_interface" >&6; }
6815
6816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6817$as_echo_n "checking whether ln -s works... " >&6; }
6818LN_S=$as_ln_s
6819if test "$LN_S" = "ln -s"; then
6820  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6821$as_echo "yes" >&6; }
6822else
6823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6824$as_echo "no, using $LN_S" >&6; }
6825fi
6826
6827# find the maximum length of command line arguments
6828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6829$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6830if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6831  $as_echo_n "(cached) " >&6
6832else
6833    i=0
6834  teststring="ABCD"
6835
6836  case $build_os in
6837  msdosdjgpp*)
6838    # On DJGPP, this test can blow up pretty badly due to problems in libc
6839    # (any single argument exceeding 2000 bytes causes a buffer overrun
6840    # during glob expansion).  Even if it were fixed, the result of this
6841    # check would be larger than it should be.
6842    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6843    ;;
6844
6845  gnu*)
6846    # Under GNU Hurd, this test is not required because there is
6847    # no limit to the length of command line arguments.
6848    # Libtool will interpret -1 as no limit whatsoever
6849    lt_cv_sys_max_cmd_len=-1;
6850    ;;
6851
6852  cygwin* | mingw* | cegcc*)
6853    # On Win9x/ME, this test blows up -- it succeeds, but takes
6854    # about 5 minutes as the teststring grows exponentially.
6855    # Worse, since 9x/ME are not pre-emptively multitasking,
6856    # you end up with a "frozen" computer, even though with patience
6857    # the test eventually succeeds (with a max line length of 256k).
6858    # Instead, let's just punt: use the minimum linelength reported by
6859    # all of the supported platforms: 8192 (on NT/2K/XP).
6860    lt_cv_sys_max_cmd_len=8192;
6861    ;;
6862
6863  amigaos*)
6864    # On AmigaOS with pdksh, this test takes hours, literally.
6865    # So we just punt and use a minimum line length of 8192.
6866    lt_cv_sys_max_cmd_len=8192;
6867    ;;
6868
6869  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6870    # This has been around since 386BSD, at least.  Likely further.
6871    if test -x /sbin/sysctl; then
6872      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6873    elif test -x /usr/sbin/sysctl; then
6874      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6875    else
6876      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6877    fi
6878    # And add a safety zone
6879    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6880    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6881    ;;
6882
6883  interix*)
6884    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6885    lt_cv_sys_max_cmd_len=196608
6886    ;;
6887
6888  osf*)
6889    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6890    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6891    # nice to cause kernel panics so lets avoid the loop below.
6892    # First set a reasonable default.
6893    lt_cv_sys_max_cmd_len=16384
6894    #
6895    if test -x /sbin/sysconfig; then
6896      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6897        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6898      esac
6899    fi
6900    ;;
6901  sco3.2v5*)
6902    lt_cv_sys_max_cmd_len=102400
6903    ;;
6904  sysv5* | sco5v6* | sysv4.2uw2*)
6905    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6906    if test -n "$kargmax"; then
6907      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6908    else
6909      lt_cv_sys_max_cmd_len=32768
6910    fi
6911    ;;
6912  *)
6913    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6914    if test -n "$lt_cv_sys_max_cmd_len"; then
6915      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6916      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6917    else
6918      # Make teststring a little bigger before we do anything with it.
6919      # a 1K string should be a reasonable start.
6920      for i in 1 2 3 4 5 6 7 8 ; do
6921        teststring=$teststring$teststring
6922      done
6923      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6924      # If test is not a shell built-in, we'll probably end up computing a
6925      # maximum length that is only half of the actual maximum length, but
6926      # we can't tell.
6927      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6928	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6929	      test $i != 17 # 1/2 MB should be enough
6930      do
6931        i=`expr $i + 1`
6932        teststring=$teststring$teststring
6933      done
6934      # Only check the string length outside the loop.
6935      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6936      teststring=
6937      # Add a significant safety factor because C++ compilers can tack on
6938      # massive amounts of additional arguments before passing them to the
6939      # linker.  It appears as though 1/2 is a usable value.
6940      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6941    fi
6942    ;;
6943  esac
6944
6945fi
6946
6947if test -n $lt_cv_sys_max_cmd_len ; then
6948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6949$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6950else
6951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6952$as_echo "none" >&6; }
6953fi
6954max_cmd_len=$lt_cv_sys_max_cmd_len
6955
6956
6957
6958
6959
6960
6961: ${CP="cp -f"}
6962: ${MV="mv -f"}
6963: ${RM="rm -f"}
6964
6965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6966$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6967# Try some XSI features
6968xsi_shell=no
6969( _lt_dummy="a/b/c"
6970  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6971      = c,a/b,, \
6972    && eval 'test $(( 1 + 1 )) -eq 2 \
6973    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6974  && xsi_shell=yes
6975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6976$as_echo "$xsi_shell" >&6; }
6977
6978
6979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6980$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6981lt_shell_append=no
6982( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6983    >/dev/null 2>&1 \
6984  && lt_shell_append=yes
6985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6986$as_echo "$lt_shell_append" >&6; }
6987
6988
6989if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6990  lt_unset=unset
6991else
6992  lt_unset=false
6993fi
6994
6995
6996
6997
6998
6999# test EBCDIC or ASCII
7000case `echo X|tr X '\101'` in
7001 A) # ASCII based system
7002    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7003  lt_SP2NL='tr \040 \012'
7004  lt_NL2SP='tr \015\012 \040\040'
7005  ;;
7006 *) # EBCDIC based system
7007  lt_SP2NL='tr \100 \n'
7008  lt_NL2SP='tr \r\n \100\100'
7009  ;;
7010esac
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7021$as_echo_n "checking for $LD option to reload object files... " >&6; }
7022if test "${lt_cv_ld_reload_flag+set}" = set; then :
7023  $as_echo_n "(cached) " >&6
7024else
7025  lt_cv_ld_reload_flag='-r'
7026fi
7027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7028$as_echo "$lt_cv_ld_reload_flag" >&6; }
7029reload_flag=$lt_cv_ld_reload_flag
7030case $reload_flag in
7031"" | " "*) ;;
7032*) reload_flag=" $reload_flag" ;;
7033esac
7034reload_cmds='$LD$reload_flag -o $output$reload_objs'
7035case $host_os in
7036  darwin*)
7037    if test "$GCC" = yes; then
7038      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7039    else
7040      reload_cmds='$LD$reload_flag -o $output$reload_objs'
7041    fi
7042    ;;
7043esac
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053if test -n "$ac_tool_prefix"; then
7054  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7055set dummy ${ac_tool_prefix}objdump; ac_word=$2
7056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7057$as_echo_n "checking for $ac_word... " >&6; }
7058if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7059  $as_echo_n "(cached) " >&6
7060else
7061  if test -n "$OBJDUMP"; then
7062  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7063else
7064as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7065for as_dir in $PATH
7066do
7067  IFS=$as_save_IFS
7068  test -z "$as_dir" && as_dir=.
7069    for ac_exec_ext in '' $ac_executable_extensions; do
7070  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7071    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7072    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7073    break 2
7074  fi
7075done
7076  done
7077IFS=$as_save_IFS
7078
7079fi
7080fi
7081OBJDUMP=$ac_cv_prog_OBJDUMP
7082if test -n "$OBJDUMP"; then
7083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7084$as_echo "$OBJDUMP" >&6; }
7085else
7086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7087$as_echo "no" >&6; }
7088fi
7089
7090
7091fi
7092if test -z "$ac_cv_prog_OBJDUMP"; then
7093  ac_ct_OBJDUMP=$OBJDUMP
7094  # Extract the first word of "objdump", so it can be a program name with args.
7095set dummy objdump; ac_word=$2
7096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7097$as_echo_n "checking for $ac_word... " >&6; }
7098if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7099  $as_echo_n "(cached) " >&6
7100else
7101  if test -n "$ac_ct_OBJDUMP"; then
7102  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7103else
7104as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7105for as_dir in $PATH
7106do
7107  IFS=$as_save_IFS
7108  test -z "$as_dir" && as_dir=.
7109    for ac_exec_ext in '' $ac_executable_extensions; do
7110  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7111    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7112    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7113    break 2
7114  fi
7115done
7116  done
7117IFS=$as_save_IFS
7118
7119fi
7120fi
7121ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7122if test -n "$ac_ct_OBJDUMP"; then
7123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7124$as_echo "$ac_ct_OBJDUMP" >&6; }
7125else
7126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127$as_echo "no" >&6; }
7128fi
7129
7130  if test "x$ac_ct_OBJDUMP" = x; then
7131    OBJDUMP="false"
7132  else
7133    case $cross_compiling:$ac_tool_warned in
7134yes:)
7135{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7136$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7137ac_tool_warned=yes ;;
7138esac
7139    OBJDUMP=$ac_ct_OBJDUMP
7140  fi
7141else
7142  OBJDUMP="$ac_cv_prog_OBJDUMP"
7143fi
7144
7145test -z "$OBJDUMP" && OBJDUMP=objdump
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7156$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7157if test "${lt_cv_deplibs_check_method+set}" = set; then :
7158  $as_echo_n "(cached) " >&6
7159else
7160  lt_cv_file_magic_cmd='$MAGIC_CMD'
7161lt_cv_file_magic_test_file=
7162lt_cv_deplibs_check_method='unknown'
7163# Need to set the preceding variable on all platforms that support
7164# interlibrary dependencies.
7165# 'none' -- dependencies not supported.
7166# `unknown' -- same as none, but documents that we really don't know.
7167# 'pass_all' -- all dependencies passed with no checks.
7168# 'test_compile' -- check by making test program.
7169# 'file_magic [[regex]]' -- check by looking for files in library path
7170# which responds to the $file_magic_cmd with a given extended regex.
7171# If you have `file' or equivalent on your system and you're not sure
7172# whether `pass_all' will *always* work, you probably want this one.
7173
7174case $host_os in
7175aix[4-9]*)
7176  lt_cv_deplibs_check_method=pass_all
7177  ;;
7178
7179beos*)
7180  lt_cv_deplibs_check_method=pass_all
7181  ;;
7182
7183bsdi[45]*)
7184  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7185  lt_cv_file_magic_cmd='/usr/bin/file -L'
7186  lt_cv_file_magic_test_file=/shlib/libc.so
7187  ;;
7188
7189cygwin*)
7190  # func_win32_libid is a shell function defined in ltmain.sh
7191  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7192  lt_cv_file_magic_cmd='func_win32_libid'
7193  ;;
7194
7195mingw* | pw32*)
7196  # Base MSYS/MinGW do not provide the 'file' command needed by
7197  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7198  # unless we find 'file', for example because we are cross-compiling.
7199  if ( file / ) >/dev/null 2>&1; then
7200    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7201    lt_cv_file_magic_cmd='func_win32_libid'
7202  else
7203    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7204    lt_cv_file_magic_cmd='$OBJDUMP -f'
7205  fi
7206  ;;
7207
7208cegcc)
7209  # use the weaker test based on 'objdump'. See mingw*.
7210  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7211  lt_cv_file_magic_cmd='$OBJDUMP -f'
7212  ;;
7213
7214darwin* | rhapsody*)
7215  lt_cv_deplibs_check_method=pass_all
7216  ;;
7217
7218freebsd* | dragonfly*)
7219  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7220    case $host_cpu in
7221    i*86 )
7222      # Not sure whether the presence of OpenBSD here was a mistake.
7223      # Let's accept both of them until this is cleared up.
7224      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7225      lt_cv_file_magic_cmd=/usr/bin/file
7226      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7227      ;;
7228    esac
7229  else
7230    lt_cv_deplibs_check_method=pass_all
7231  fi
7232  ;;
7233
7234gnu*)
7235  lt_cv_deplibs_check_method=pass_all
7236  ;;
7237
7238hpux10.20* | hpux11*)
7239  lt_cv_file_magic_cmd=/usr/bin/file
7240  case $host_cpu in
7241  ia64*)
7242    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7243    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7244    ;;
7245  hppa*64*)
7246    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
7247    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7248    ;;
7249  *)
7250    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7251    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7252    ;;
7253  esac
7254  ;;
7255
7256interix[3-9]*)
7257  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7258  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7259  ;;
7260
7261irix5* | irix6* | nonstopux*)
7262  case $LD in
7263  *-32|*"-32 ") libmagic=32-bit;;
7264  *-n32|*"-n32 ") libmagic=N32;;
7265  *-64|*"-64 ") libmagic=64-bit;;
7266  *) libmagic=never-match;;
7267  esac
7268  lt_cv_deplibs_check_method=pass_all
7269  ;;
7270
7271# This must be Linux ELF.
7272linux* | k*bsd*-gnu | kopensolaris*-gnu)
7273  lt_cv_deplibs_check_method=pass_all
7274  ;;
7275
7276netbsd* | netbsdelf*-gnu)
7277  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7278    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7279  else
7280    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7281  fi
7282  ;;
7283
7284newos6*)
7285  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7286  lt_cv_file_magic_cmd=/usr/bin/file
7287  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7288  ;;
7289
7290*nto* | *qnx*)
7291  lt_cv_deplibs_check_method=pass_all
7292  ;;
7293
7294openbsd*)
7295  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7296    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7297  else
7298    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7299  fi
7300  ;;
7301
7302osf3* | osf4* | osf5*)
7303  lt_cv_deplibs_check_method=pass_all
7304  ;;
7305
7306rdos*)
7307  lt_cv_deplibs_check_method=pass_all
7308  ;;
7309
7310solaris*)
7311  lt_cv_deplibs_check_method=pass_all
7312  ;;
7313
7314sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7315  lt_cv_deplibs_check_method=pass_all
7316  ;;
7317
7318sysv4 | sysv4.3*)
7319  case $host_vendor in
7320  motorola)
7321    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]'
7322    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7323    ;;
7324  ncr)
7325    lt_cv_deplibs_check_method=pass_all
7326    ;;
7327  sequent)
7328    lt_cv_file_magic_cmd='/bin/file'
7329    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7330    ;;
7331  sni)
7332    lt_cv_file_magic_cmd='/bin/file'
7333    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7334    lt_cv_file_magic_test_file=/lib/libc.so
7335    ;;
7336  siemens)
7337    lt_cv_deplibs_check_method=pass_all
7338    ;;
7339  pc)
7340    lt_cv_deplibs_check_method=pass_all
7341    ;;
7342  esac
7343  ;;
7344
7345tpf*)
7346  lt_cv_deplibs_check_method=pass_all
7347  ;;
7348esac
7349
7350fi
7351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7352$as_echo "$lt_cv_deplibs_check_method" >&6; }
7353file_magic_cmd=$lt_cv_file_magic_cmd
7354deplibs_check_method=$lt_cv_deplibs_check_method
7355test -z "$deplibs_check_method" && deplibs_check_method=unknown
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368if test -n "$ac_tool_prefix"; then
7369  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7370set dummy ${ac_tool_prefix}ar; ac_word=$2
7371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7372$as_echo_n "checking for $ac_word... " >&6; }
7373if test "${ac_cv_prog_AR+set}" = set; then :
7374  $as_echo_n "(cached) " >&6
7375else
7376  if test -n "$AR"; then
7377  ac_cv_prog_AR="$AR" # Let the user override the test.
7378else
7379as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7380for as_dir in $PATH
7381do
7382  IFS=$as_save_IFS
7383  test -z "$as_dir" && as_dir=.
7384    for ac_exec_ext in '' $ac_executable_extensions; do
7385  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7386    ac_cv_prog_AR="${ac_tool_prefix}ar"
7387    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388    break 2
7389  fi
7390done
7391  done
7392IFS=$as_save_IFS
7393
7394fi
7395fi
7396AR=$ac_cv_prog_AR
7397if test -n "$AR"; then
7398  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7399$as_echo "$AR" >&6; }
7400else
7401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402$as_echo "no" >&6; }
7403fi
7404
7405
7406fi
7407if test -z "$ac_cv_prog_AR"; then
7408  ac_ct_AR=$AR
7409  # Extract the first word of "ar", so it can be a program name with args.
7410set dummy ar; ac_word=$2
7411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412$as_echo_n "checking for $ac_word... " >&6; }
7413if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7414  $as_echo_n "(cached) " >&6
7415else
7416  if test -n "$ac_ct_AR"; then
7417  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7418else
7419as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7420for as_dir in $PATH
7421do
7422  IFS=$as_save_IFS
7423  test -z "$as_dir" && as_dir=.
7424    for ac_exec_ext in '' $ac_executable_extensions; do
7425  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7426    ac_cv_prog_ac_ct_AR="ar"
7427    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428    break 2
7429  fi
7430done
7431  done
7432IFS=$as_save_IFS
7433
7434fi
7435fi
7436ac_ct_AR=$ac_cv_prog_ac_ct_AR
7437if test -n "$ac_ct_AR"; then
7438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7439$as_echo "$ac_ct_AR" >&6; }
7440else
7441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442$as_echo "no" >&6; }
7443fi
7444
7445  if test "x$ac_ct_AR" = x; then
7446    AR="false"
7447  else
7448    case $cross_compiling:$ac_tool_warned in
7449yes:)
7450{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7451$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7452ac_tool_warned=yes ;;
7453esac
7454    AR=$ac_ct_AR
7455  fi
7456else
7457  AR="$ac_cv_prog_AR"
7458fi
7459
7460test -z "$AR" && AR=ar
7461test -z "$AR_FLAGS" && AR_FLAGS=cru
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473if test -n "$ac_tool_prefix"; then
7474  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7475set dummy ${ac_tool_prefix}strip; ac_word=$2
7476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7477$as_echo_n "checking for $ac_word... " >&6; }
7478if test "${ac_cv_prog_STRIP+set}" = set; then :
7479  $as_echo_n "(cached) " >&6
7480else
7481  if test -n "$STRIP"; then
7482  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7483else
7484as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485for as_dir in $PATH
7486do
7487  IFS=$as_save_IFS
7488  test -z "$as_dir" && as_dir=.
7489    for ac_exec_ext in '' $ac_executable_extensions; do
7490  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7491    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7492    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7493    break 2
7494  fi
7495done
7496  done
7497IFS=$as_save_IFS
7498
7499fi
7500fi
7501STRIP=$ac_cv_prog_STRIP
7502if test -n "$STRIP"; then
7503  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7504$as_echo "$STRIP" >&6; }
7505else
7506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7507$as_echo "no" >&6; }
7508fi
7509
7510
7511fi
7512if test -z "$ac_cv_prog_STRIP"; then
7513  ac_ct_STRIP=$STRIP
7514  # Extract the first word of "strip", so it can be a program name with args.
7515set dummy strip; ac_word=$2
7516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7517$as_echo_n "checking for $ac_word... " >&6; }
7518if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7519  $as_echo_n "(cached) " >&6
7520else
7521  if test -n "$ac_ct_STRIP"; then
7522  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7523else
7524as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7525for as_dir in $PATH
7526do
7527  IFS=$as_save_IFS
7528  test -z "$as_dir" && as_dir=.
7529    for ac_exec_ext in '' $ac_executable_extensions; do
7530  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7531    ac_cv_prog_ac_ct_STRIP="strip"
7532    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7533    break 2
7534  fi
7535done
7536  done
7537IFS=$as_save_IFS
7538
7539fi
7540fi
7541ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7542if test -n "$ac_ct_STRIP"; then
7543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7544$as_echo "$ac_ct_STRIP" >&6; }
7545else
7546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7547$as_echo "no" >&6; }
7548fi
7549
7550  if test "x$ac_ct_STRIP" = x; then
7551    STRIP=":"
7552  else
7553    case $cross_compiling:$ac_tool_warned in
7554yes:)
7555{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7556$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7557ac_tool_warned=yes ;;
7558esac
7559    STRIP=$ac_ct_STRIP
7560  fi
7561else
7562  STRIP="$ac_cv_prog_STRIP"
7563fi
7564
7565test -z "$STRIP" && STRIP=:
7566
7567
7568
7569
7570
7571
7572if test -n "$ac_tool_prefix"; then
7573  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7574set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7576$as_echo_n "checking for $ac_word... " >&6; }
7577if test "${ac_cv_prog_RANLIB+set}" = set; then :
7578  $as_echo_n "(cached) " >&6
7579else
7580  if test -n "$RANLIB"; then
7581  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7582else
7583as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7584for as_dir in $PATH
7585do
7586  IFS=$as_save_IFS
7587  test -z "$as_dir" && as_dir=.
7588    for ac_exec_ext in '' $ac_executable_extensions; do
7589  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7590    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7591    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7592    break 2
7593  fi
7594done
7595  done
7596IFS=$as_save_IFS
7597
7598fi
7599fi
7600RANLIB=$ac_cv_prog_RANLIB
7601if test -n "$RANLIB"; then
7602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7603$as_echo "$RANLIB" >&6; }
7604else
7605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606$as_echo "no" >&6; }
7607fi
7608
7609
7610fi
7611if test -z "$ac_cv_prog_RANLIB"; then
7612  ac_ct_RANLIB=$RANLIB
7613  # Extract the first word of "ranlib", so it can be a program name with args.
7614set dummy ranlib; ac_word=$2
7615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7616$as_echo_n "checking for $ac_word... " >&6; }
7617if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7618  $as_echo_n "(cached) " >&6
7619else
7620  if test -n "$ac_ct_RANLIB"; then
7621  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7622else
7623as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7624for as_dir in $PATH
7625do
7626  IFS=$as_save_IFS
7627  test -z "$as_dir" && as_dir=.
7628    for ac_exec_ext in '' $ac_executable_extensions; do
7629  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7630    ac_cv_prog_ac_ct_RANLIB="ranlib"
7631    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7632    break 2
7633  fi
7634done
7635  done
7636IFS=$as_save_IFS
7637
7638fi
7639fi
7640ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7641if test -n "$ac_ct_RANLIB"; then
7642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7643$as_echo "$ac_ct_RANLIB" >&6; }
7644else
7645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7646$as_echo "no" >&6; }
7647fi
7648
7649  if test "x$ac_ct_RANLIB" = x; then
7650    RANLIB=":"
7651  else
7652    case $cross_compiling:$ac_tool_warned in
7653yes:)
7654{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7655$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7656ac_tool_warned=yes ;;
7657esac
7658    RANLIB=$ac_ct_RANLIB
7659  fi
7660else
7661  RANLIB="$ac_cv_prog_RANLIB"
7662fi
7663
7664test -z "$RANLIB" && RANLIB=:
7665
7666
7667
7668
7669
7670
7671# Determine commands to create old-style static archives.
7672old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7673old_postinstall_cmds='chmod 644 $oldlib'
7674old_postuninstall_cmds=
7675
7676if test -n "$RANLIB"; then
7677  case $host_os in
7678  openbsd*)
7679    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7680    ;;
7681  *)
7682    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7683    ;;
7684  esac
7685  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7686fi
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721# If no C compiler was specified, use CC.
7722LTCC=${LTCC-"$CC"}
7723
7724# If no C compiler flags were specified, use CFLAGS.
7725LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7726
7727# Allow CC to be a program name with arguments.
7728compiler=$CC
7729
7730
7731# Check for command to grab the raw symbol name followed by C symbol from nm.
7732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7733$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7734if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7735  $as_echo_n "(cached) " >&6
7736else
7737
7738# These are sane defaults that work on at least a few old systems.
7739# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7740
7741# Character class describing NM global symbol codes.
7742symcode='[BCDEGRST]'
7743
7744# Regexp to match symbols that can be accessed directly from C.
7745sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7746
7747# Define system-specific variables.
7748case $host_os in
7749aix*)
7750  symcode='[BCDT]'
7751  ;;
7752cygwin* | mingw* | pw32* | cegcc*)
7753  symcode='[ABCDGISTW]'
7754  ;;
7755hpux*)
7756  if test "$host_cpu" = ia64; then
7757    symcode='[ABCDEGRST]'
7758  fi
7759  ;;
7760irix* | nonstopux*)
7761  symcode='[BCDEGRST]'
7762  ;;
7763osf*)
7764  symcode='[BCDEGQRST]'
7765  ;;
7766solaris*)
7767  symcode='[BDRT]'
7768  ;;
7769sco3.2v5*)
7770  symcode='[DT]'
7771  ;;
7772sysv4.2uw2*)
7773  symcode='[DT]'
7774  ;;
7775sysv5* | sco5v6* | unixware* | OpenUNIX*)
7776  symcode='[ABDT]'
7777  ;;
7778sysv4)
7779  symcode='[DFNSTU]'
7780  ;;
7781esac
7782
7783# If we're using GNU nm, then use its standard symbol codes.
7784case `$NM -V 2>&1` in
7785*GNU* | *'with BFD'*)
7786  symcode='[ABCDGIRSTW]' ;;
7787esac
7788
7789# Transform an extracted symbol line into a proper C declaration.
7790# Some systems (esp. on ia64) link data and code symbols differently,
7791# so use this general approach.
7792lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7793
7794# Transform an extracted symbol line into symbol name and symbol address
7795lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7796lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
7797
7798# Handle CRLF in mingw tool chain
7799opt_cr=
7800case $build_os in
7801mingw*)
7802  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7803  ;;
7804esac
7805
7806# Try without a prefix underscore, then with it.
7807for ac_symprfx in "" "_"; do
7808
7809  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7810  symxfrm="\\1 $ac_symprfx\\2 \\2"
7811
7812  # Write the raw and C identifiers.
7813  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7814    # Fake it for dumpbin and say T for any non-static function
7815    # and D for any global variable.
7816    # Also find C++ and __fastcall symbols from MSVC++,
7817    # which start with @ or ?.
7818    lt_cv_sys_global_symbol_pipe="$AWK '"\
7819"     {last_section=section; section=\$ 3};"\
7820"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7821"     \$ 0!~/External *\|/{next};"\
7822"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7823"     {if(hide[section]) next};"\
7824"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7825"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7826"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7827"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7828"     ' prfx=^$ac_symprfx"
7829  else
7830    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7831  fi
7832
7833  # Check to see that the pipe works correctly.
7834  pipe_works=no
7835
7836  rm -f conftest*
7837  cat > conftest.$ac_ext <<_LT_EOF
7838#ifdef __cplusplus
7839extern "C" {
7840#endif
7841char nm_test_var;
7842void nm_test_func(void);
7843void nm_test_func(void){}
7844#ifdef __cplusplus
7845}
7846#endif
7847int main(){nm_test_var='a';nm_test_func();return(0);}
7848_LT_EOF
7849
7850  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7851  (eval $ac_compile) 2>&5
7852  ac_status=$?
7853  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7854  test $ac_status = 0; }; then
7855    # Now try to grab the symbols.
7856    nlist=conftest.nm
7857    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7858  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7859  ac_status=$?
7860  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7861  test $ac_status = 0; } && test -s "$nlist"; then
7862      # Try sorting and uniquifying the output.
7863      if sort "$nlist" | uniq > "$nlist"T; then
7864	mv -f "$nlist"T "$nlist"
7865      else
7866	rm -f "$nlist"T
7867      fi
7868
7869      # Make sure that we snagged all the symbols we need.
7870      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7871	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7872	  cat <<_LT_EOF > conftest.$ac_ext
7873#ifdef __cplusplus
7874extern "C" {
7875#endif
7876
7877_LT_EOF
7878	  # Now generate the symbol file.
7879	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7880
7881	  cat <<_LT_EOF >> conftest.$ac_ext
7882
7883/* The mapping between symbol names and symbols.  */
7884const struct {
7885  const char *name;
7886  void       *address;
7887}
7888lt__PROGRAM__LTX_preloaded_symbols[] =
7889{
7890  { "@PROGRAM@", (void *) 0 },
7891_LT_EOF
7892	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7893	  cat <<\_LT_EOF >> conftest.$ac_ext
7894  {0, (void *) 0}
7895};
7896
7897/* This works around a problem in FreeBSD linker */
7898#ifdef FREEBSD_WORKAROUND
7899static const void *lt_preloaded_setup() {
7900  return lt__PROGRAM__LTX_preloaded_symbols;
7901}
7902#endif
7903
7904#ifdef __cplusplus
7905}
7906#endif
7907_LT_EOF
7908	  # Now try linking the two files.
7909	  mv conftest.$ac_objext conftstm.$ac_objext
7910	  lt_save_LIBS="$LIBS"
7911	  lt_save_CFLAGS="$CFLAGS"
7912	  LIBS="conftstm.$ac_objext"
7913	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7914	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7915  (eval $ac_link) 2>&5
7916  ac_status=$?
7917  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7918  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7919	    pipe_works=yes
7920	  fi
7921	  LIBS="$lt_save_LIBS"
7922	  CFLAGS="$lt_save_CFLAGS"
7923	else
7924	  echo "cannot find nm_test_func in $nlist" >&5
7925	fi
7926      else
7927	echo "cannot find nm_test_var in $nlist" >&5
7928      fi
7929    else
7930      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7931    fi
7932  else
7933    echo "$progname: failed program was:" >&5
7934    cat conftest.$ac_ext >&5
7935  fi
7936  rm -rf conftest* conftst*
7937
7938  # Do not use the global_symbol_pipe unless it works.
7939  if test "$pipe_works" = yes; then
7940    break
7941  else
7942    lt_cv_sys_global_symbol_pipe=
7943  fi
7944done
7945
7946fi
7947
7948if test -z "$lt_cv_sys_global_symbol_pipe"; then
7949  lt_cv_sys_global_symbol_to_cdecl=
7950fi
7951if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7953$as_echo "failed" >&6; }
7954else
7955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7956$as_echo "ok" >&6; }
7957fi
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980# Check whether --enable-libtool-lock was given.
7981if test "${enable_libtool_lock+set}" = set; then :
7982  enableval=$enable_libtool_lock;
7983fi
7984
7985test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7986
7987# Some flags need to be propagated to the compiler or linker for good
7988# libtool support.
7989case $host in
7990ia64-*-hpux*)
7991  # Find out which ABI we are using.
7992  echo 'int i;' > conftest.$ac_ext
7993  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7994  (eval $ac_compile) 2>&5
7995  ac_status=$?
7996  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7997  test $ac_status = 0; }; then
7998    case `/usr/bin/file conftest.$ac_objext` in
7999      *ELF-32*)
8000	HPUX_IA64_MODE="32"
8001	;;
8002      *ELF-64*)
8003	HPUX_IA64_MODE="64"
8004	;;
8005    esac
8006  fi
8007  rm -rf conftest*
8008  ;;
8009*-*-irix6*)
8010  # Find out which ABI we are using.
8011  echo '#line 8011 "configure"' > conftest.$ac_ext
8012  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8013  (eval $ac_compile) 2>&5
8014  ac_status=$?
8015  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8016  test $ac_status = 0; }; then
8017    if test "$lt_cv_prog_gnu_ld" = yes; then
8018      case `/usr/bin/file conftest.$ac_objext` in
8019	*32-bit*)
8020	  LD="${LD-ld} -melf32bsmip"
8021	  ;;
8022	*N32*)
8023	  LD="${LD-ld} -melf32bmipn32"
8024	  ;;
8025	*64-bit*)
8026	  LD="${LD-ld} -melf64bmip"
8027	;;
8028      esac
8029    else
8030      case `/usr/bin/file conftest.$ac_objext` in
8031	*32-bit*)
8032	  LD="${LD-ld} -32"
8033	  ;;
8034	*N32*)
8035	  LD="${LD-ld} -n32"
8036	  ;;
8037	*64-bit*)
8038	  LD="${LD-ld} -64"
8039	  ;;
8040      esac
8041    fi
8042  fi
8043  rm -rf conftest*
8044  ;;
8045
8046x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8047s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8048  # Find out which ABI we are using.
8049  echo 'int i;' > conftest.$ac_ext
8050  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8051  (eval $ac_compile) 2>&5
8052  ac_status=$?
8053  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8054  test $ac_status = 0; }; then
8055    case `/usr/bin/file conftest.o` in
8056      *32-bit*)
8057	case $host in
8058	  x86_64-*kfreebsd*-gnu)
8059	    LD="${LD-ld} -m elf_i386_fbsd"
8060	    ;;
8061	  x86_64-*linux*)
8062	    LD="${LD-ld} -m elf_i386"
8063	    ;;
8064	  ppc64-*linux*|powerpc64-*linux*)
8065	    LD="${LD-ld} -m elf32ppclinux"
8066	    ;;
8067	  s390x-*linux*)
8068	    LD="${LD-ld} -m elf_s390"
8069	    ;;
8070	  sparc64-*linux*)
8071	    LD="${LD-ld} -m elf32_sparc"
8072	    ;;
8073	esac
8074	;;
8075      *64-bit*)
8076	case $host in
8077	  x86_64-*kfreebsd*-gnu)
8078	    LD="${LD-ld} -m elf_x86_64_fbsd"
8079	    ;;
8080	  x86_64-*linux*)
8081	    LD="${LD-ld} -m elf_x86_64"
8082	    ;;
8083	  ppc*-*linux*|powerpc*-*linux*)
8084	    LD="${LD-ld} -m elf64ppc"
8085	    ;;
8086	  s390*-*linux*|s390*-*tpf*)
8087	    LD="${LD-ld} -m elf64_s390"
8088	    ;;
8089	  sparc*-*linux*)
8090	    LD="${LD-ld} -m elf64_sparc"
8091	    ;;
8092	esac
8093	;;
8094    esac
8095  fi
8096  rm -rf conftest*
8097  ;;
8098
8099*-*-sco3.2v5*)
8100  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8101  SAVE_CFLAGS="$CFLAGS"
8102  CFLAGS="$CFLAGS -belf"
8103  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8104$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8105if test "${lt_cv_cc_needs_belf+set}" = set; then :
8106  $as_echo_n "(cached) " >&6
8107else
8108  ac_ext=c
8109ac_cpp='$CPP $CPPFLAGS'
8110ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8111ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8112ac_compiler_gnu=$ac_cv_c_compiler_gnu
8113
8114     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8115/* end confdefs.h.  */
8116
8117int
8118main ()
8119{
8120
8121  ;
8122  return 0;
8123}
8124_ACEOF
8125if ac_fn_c_try_link "$LINENO"; then :
8126  lt_cv_cc_needs_belf=yes
8127else
8128  lt_cv_cc_needs_belf=no
8129fi
8130rm -f core conftest.err conftest.$ac_objext \
8131    conftest$ac_exeext conftest.$ac_ext
8132     ac_ext=c
8133ac_cpp='$CPP $CPPFLAGS'
8134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8136ac_compiler_gnu=$ac_cv_c_compiler_gnu
8137
8138fi
8139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8140$as_echo "$lt_cv_cc_needs_belf" >&6; }
8141  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8142    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8143    CFLAGS="$SAVE_CFLAGS"
8144  fi
8145  ;;
8146sparc*-*solaris*)
8147  # Find out which ABI we are using.
8148  echo 'int i;' > conftest.$ac_ext
8149  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8150  (eval $ac_compile) 2>&5
8151  ac_status=$?
8152  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8153  test $ac_status = 0; }; then
8154    case `/usr/bin/file conftest.o` in
8155    *64-bit*)
8156      case $lt_cv_prog_gnu_ld in
8157      yes*) LD="${LD-ld} -m elf64_sparc" ;;
8158      *)
8159	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8160	  LD="${LD-ld} -64"
8161	fi
8162	;;
8163      esac
8164      ;;
8165    esac
8166  fi
8167  rm -rf conftest*
8168  ;;
8169esac
8170
8171need_locks="$enable_libtool_lock"
8172
8173
8174  case $host_os in
8175    rhapsody* | darwin*)
8176    if test -n "$ac_tool_prefix"; then
8177  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8178set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8180$as_echo_n "checking for $ac_word... " >&6; }
8181if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8182  $as_echo_n "(cached) " >&6
8183else
8184  if test -n "$DSYMUTIL"; then
8185  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8186else
8187as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8188for as_dir in $PATH
8189do
8190  IFS=$as_save_IFS
8191  test -z "$as_dir" && as_dir=.
8192    for ac_exec_ext in '' $ac_executable_extensions; do
8193  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8194    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8195    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8196    break 2
8197  fi
8198done
8199  done
8200IFS=$as_save_IFS
8201
8202fi
8203fi
8204DSYMUTIL=$ac_cv_prog_DSYMUTIL
8205if test -n "$DSYMUTIL"; then
8206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8207$as_echo "$DSYMUTIL" >&6; }
8208else
8209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8210$as_echo "no" >&6; }
8211fi
8212
8213
8214fi
8215if test -z "$ac_cv_prog_DSYMUTIL"; then
8216  ac_ct_DSYMUTIL=$DSYMUTIL
8217  # Extract the first word of "dsymutil", so it can be a program name with args.
8218set dummy dsymutil; ac_word=$2
8219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8220$as_echo_n "checking for $ac_word... " >&6; }
8221if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8222  $as_echo_n "(cached) " >&6
8223else
8224  if test -n "$ac_ct_DSYMUTIL"; then
8225  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8226else
8227as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8228for as_dir in $PATH
8229do
8230  IFS=$as_save_IFS
8231  test -z "$as_dir" && as_dir=.
8232    for ac_exec_ext in '' $ac_executable_extensions; do
8233  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8234    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8235    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8236    break 2
8237  fi
8238done
8239  done
8240IFS=$as_save_IFS
8241
8242fi
8243fi
8244ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8245if test -n "$ac_ct_DSYMUTIL"; then
8246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8247$as_echo "$ac_ct_DSYMUTIL" >&6; }
8248else
8249  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8250$as_echo "no" >&6; }
8251fi
8252
8253  if test "x$ac_ct_DSYMUTIL" = x; then
8254    DSYMUTIL=":"
8255  else
8256    case $cross_compiling:$ac_tool_warned in
8257yes:)
8258{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8259$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8260ac_tool_warned=yes ;;
8261esac
8262    DSYMUTIL=$ac_ct_DSYMUTIL
8263  fi
8264else
8265  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8266fi
8267
8268    if test -n "$ac_tool_prefix"; then
8269  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8270set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8272$as_echo_n "checking for $ac_word... " >&6; }
8273if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8274  $as_echo_n "(cached) " >&6
8275else
8276  if test -n "$NMEDIT"; then
8277  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8278else
8279as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8280for as_dir in $PATH
8281do
8282  IFS=$as_save_IFS
8283  test -z "$as_dir" && as_dir=.
8284    for ac_exec_ext in '' $ac_executable_extensions; do
8285  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8286    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8287    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8288    break 2
8289  fi
8290done
8291  done
8292IFS=$as_save_IFS
8293
8294fi
8295fi
8296NMEDIT=$ac_cv_prog_NMEDIT
8297if test -n "$NMEDIT"; then
8298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8299$as_echo "$NMEDIT" >&6; }
8300else
8301  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8302$as_echo "no" >&6; }
8303fi
8304
8305
8306fi
8307if test -z "$ac_cv_prog_NMEDIT"; then
8308  ac_ct_NMEDIT=$NMEDIT
8309  # Extract the first word of "nmedit", so it can be a program name with args.
8310set dummy nmedit; ac_word=$2
8311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8312$as_echo_n "checking for $ac_word... " >&6; }
8313if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8314  $as_echo_n "(cached) " >&6
8315else
8316  if test -n "$ac_ct_NMEDIT"; then
8317  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8318else
8319as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8320for as_dir in $PATH
8321do
8322  IFS=$as_save_IFS
8323  test -z "$as_dir" && as_dir=.
8324    for ac_exec_ext in '' $ac_executable_extensions; do
8325  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8326    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8327    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8328    break 2
8329  fi
8330done
8331  done
8332IFS=$as_save_IFS
8333
8334fi
8335fi
8336ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8337if test -n "$ac_ct_NMEDIT"; then
8338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8339$as_echo "$ac_ct_NMEDIT" >&6; }
8340else
8341  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8342$as_echo "no" >&6; }
8343fi
8344
8345  if test "x$ac_ct_NMEDIT" = x; then
8346    NMEDIT=":"
8347  else
8348    case $cross_compiling:$ac_tool_warned in
8349yes:)
8350{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8351$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8352ac_tool_warned=yes ;;
8353esac
8354    NMEDIT=$ac_ct_NMEDIT
8355  fi
8356else
8357  NMEDIT="$ac_cv_prog_NMEDIT"
8358fi
8359
8360    if test -n "$ac_tool_prefix"; then
8361  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8362set dummy ${ac_tool_prefix}lipo; ac_word=$2
8363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8364$as_echo_n "checking for $ac_word... " >&6; }
8365if test "${ac_cv_prog_LIPO+set}" = set; then :
8366  $as_echo_n "(cached) " >&6
8367else
8368  if test -n "$LIPO"; then
8369  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8370else
8371as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8372for as_dir in $PATH
8373do
8374  IFS=$as_save_IFS
8375  test -z "$as_dir" && as_dir=.
8376    for ac_exec_ext in '' $ac_executable_extensions; do
8377  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8378    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8379    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8380    break 2
8381  fi
8382done
8383  done
8384IFS=$as_save_IFS
8385
8386fi
8387fi
8388LIPO=$ac_cv_prog_LIPO
8389if test -n "$LIPO"; then
8390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8391$as_echo "$LIPO" >&6; }
8392else
8393  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8394$as_echo "no" >&6; }
8395fi
8396
8397
8398fi
8399if test -z "$ac_cv_prog_LIPO"; then
8400  ac_ct_LIPO=$LIPO
8401  # Extract the first word of "lipo", so it can be a program name with args.
8402set dummy lipo; ac_word=$2
8403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8404$as_echo_n "checking for $ac_word... " >&6; }
8405if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8406  $as_echo_n "(cached) " >&6
8407else
8408  if test -n "$ac_ct_LIPO"; then
8409  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8410else
8411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8412for as_dir in $PATH
8413do
8414  IFS=$as_save_IFS
8415  test -z "$as_dir" && as_dir=.
8416    for ac_exec_ext in '' $ac_executable_extensions; do
8417  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8418    ac_cv_prog_ac_ct_LIPO="lipo"
8419    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8420    break 2
8421  fi
8422done
8423  done
8424IFS=$as_save_IFS
8425
8426fi
8427fi
8428ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8429if test -n "$ac_ct_LIPO"; then
8430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8431$as_echo "$ac_ct_LIPO" >&6; }
8432else
8433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8434$as_echo "no" >&6; }
8435fi
8436
8437  if test "x$ac_ct_LIPO" = x; then
8438    LIPO=":"
8439  else
8440    case $cross_compiling:$ac_tool_warned in
8441yes:)
8442{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8443$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8444ac_tool_warned=yes ;;
8445esac
8446    LIPO=$ac_ct_LIPO
8447  fi
8448else
8449  LIPO="$ac_cv_prog_LIPO"
8450fi
8451
8452    if test -n "$ac_tool_prefix"; then
8453  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8454set dummy ${ac_tool_prefix}otool; ac_word=$2
8455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8456$as_echo_n "checking for $ac_word... " >&6; }
8457if test "${ac_cv_prog_OTOOL+set}" = set; then :
8458  $as_echo_n "(cached) " >&6
8459else
8460  if test -n "$OTOOL"; then
8461  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8462else
8463as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8464for as_dir in $PATH
8465do
8466  IFS=$as_save_IFS
8467  test -z "$as_dir" && as_dir=.
8468    for ac_exec_ext in '' $ac_executable_extensions; do
8469  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8470    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8471    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8472    break 2
8473  fi
8474done
8475  done
8476IFS=$as_save_IFS
8477
8478fi
8479fi
8480OTOOL=$ac_cv_prog_OTOOL
8481if test -n "$OTOOL"; then
8482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8483$as_echo "$OTOOL" >&6; }
8484else
8485  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8486$as_echo "no" >&6; }
8487fi
8488
8489
8490fi
8491if test -z "$ac_cv_prog_OTOOL"; then
8492  ac_ct_OTOOL=$OTOOL
8493  # Extract the first word of "otool", so it can be a program name with args.
8494set dummy otool; ac_word=$2
8495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8496$as_echo_n "checking for $ac_word... " >&6; }
8497if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8498  $as_echo_n "(cached) " >&6
8499else
8500  if test -n "$ac_ct_OTOOL"; then
8501  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8502else
8503as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8504for as_dir in $PATH
8505do
8506  IFS=$as_save_IFS
8507  test -z "$as_dir" && as_dir=.
8508    for ac_exec_ext in '' $ac_executable_extensions; do
8509  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8510    ac_cv_prog_ac_ct_OTOOL="otool"
8511    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8512    break 2
8513  fi
8514done
8515  done
8516IFS=$as_save_IFS
8517
8518fi
8519fi
8520ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8521if test -n "$ac_ct_OTOOL"; then
8522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8523$as_echo "$ac_ct_OTOOL" >&6; }
8524else
8525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8526$as_echo "no" >&6; }
8527fi
8528
8529  if test "x$ac_ct_OTOOL" = x; then
8530    OTOOL=":"
8531  else
8532    case $cross_compiling:$ac_tool_warned in
8533yes:)
8534{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8535$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8536ac_tool_warned=yes ;;
8537esac
8538    OTOOL=$ac_ct_OTOOL
8539  fi
8540else
8541  OTOOL="$ac_cv_prog_OTOOL"
8542fi
8543
8544    if test -n "$ac_tool_prefix"; then
8545  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8546set dummy ${ac_tool_prefix}otool64; ac_word=$2
8547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8548$as_echo_n "checking for $ac_word... " >&6; }
8549if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8550  $as_echo_n "(cached) " >&6
8551else
8552  if test -n "$OTOOL64"; then
8553  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8554else
8555as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8556for as_dir in $PATH
8557do
8558  IFS=$as_save_IFS
8559  test -z "$as_dir" && as_dir=.
8560    for ac_exec_ext in '' $ac_executable_extensions; do
8561  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8562    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8563    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8564    break 2
8565  fi
8566done
8567  done
8568IFS=$as_save_IFS
8569
8570fi
8571fi
8572OTOOL64=$ac_cv_prog_OTOOL64
8573if test -n "$OTOOL64"; then
8574  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8575$as_echo "$OTOOL64" >&6; }
8576else
8577  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8578$as_echo "no" >&6; }
8579fi
8580
8581
8582fi
8583if test -z "$ac_cv_prog_OTOOL64"; then
8584  ac_ct_OTOOL64=$OTOOL64
8585  # Extract the first word of "otool64", so it can be a program name with args.
8586set dummy otool64; ac_word=$2
8587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8588$as_echo_n "checking for $ac_word... " >&6; }
8589if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8590  $as_echo_n "(cached) " >&6
8591else
8592  if test -n "$ac_ct_OTOOL64"; then
8593  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8594else
8595as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8596for as_dir in $PATH
8597do
8598  IFS=$as_save_IFS
8599  test -z "$as_dir" && as_dir=.
8600    for ac_exec_ext in '' $ac_executable_extensions; do
8601  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8602    ac_cv_prog_ac_ct_OTOOL64="otool64"
8603    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8604    break 2
8605  fi
8606done
8607  done
8608IFS=$as_save_IFS
8609
8610fi
8611fi
8612ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8613if test -n "$ac_ct_OTOOL64"; then
8614  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8615$as_echo "$ac_ct_OTOOL64" >&6; }
8616else
8617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8618$as_echo "no" >&6; }
8619fi
8620
8621  if test "x$ac_ct_OTOOL64" = x; then
8622    OTOOL64=":"
8623  else
8624    case $cross_compiling:$ac_tool_warned in
8625yes:)
8626{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8627$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8628ac_tool_warned=yes ;;
8629esac
8630    OTOOL64=$ac_ct_OTOOL64
8631  fi
8632else
8633  OTOOL64="$ac_cv_prog_OTOOL64"
8634fi
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8663$as_echo_n "checking for -single_module linker flag... " >&6; }
8664if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8665  $as_echo_n "(cached) " >&6
8666else
8667  lt_cv_apple_cc_single_mod=no
8668      if test -z "${LT_MULTI_MODULE}"; then
8669	# By default we will add the -single_module flag. You can override
8670	# by either setting the environment variable LT_MULTI_MODULE
8671	# non-empty at configure time, or by adding -multi_module to the
8672	# link flags.
8673	rm -rf libconftest.dylib*
8674	echo "int foo(void){return 1;}" > conftest.c
8675	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8676-dynamiclib -Wl,-single_module conftest.c" >&5
8677	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8678	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8679        _lt_result=$?
8680	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8681	  lt_cv_apple_cc_single_mod=yes
8682	else
8683	  cat conftest.err >&5
8684	fi
8685	rm -rf libconftest.dylib*
8686	rm -f conftest.*
8687      fi
8688fi
8689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8690$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8691    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8692$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8693if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8694  $as_echo_n "(cached) " >&6
8695else
8696  lt_cv_ld_exported_symbols_list=no
8697      save_LDFLAGS=$LDFLAGS
8698      echo "_main" > conftest.sym
8699      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8700      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8701/* end confdefs.h.  */
8702
8703int
8704main ()
8705{
8706
8707  ;
8708  return 0;
8709}
8710_ACEOF
8711if ac_fn_c_try_link "$LINENO"; then :
8712  lt_cv_ld_exported_symbols_list=yes
8713else
8714  lt_cv_ld_exported_symbols_list=no
8715fi
8716rm -f core conftest.err conftest.$ac_objext \
8717    conftest$ac_exeext conftest.$ac_ext
8718	LDFLAGS="$save_LDFLAGS"
8719
8720fi
8721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8722$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8723    case $host_os in
8724    rhapsody* | darwin1.[012])
8725      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8726    darwin1.*)
8727      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8728    darwin*) # darwin 5.x on
8729      # if running on 10.5 or later, the deployment target defaults
8730      # to the OS version, if on x86, and 10.4, the deployment
8731      # target defaults to 10.4. Don't you love it?
8732      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8733	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8734	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8735	10.[012]*)
8736	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8737	10.*)
8738	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8739      esac
8740    ;;
8741  esac
8742    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8743      _lt_dar_single_mod='$single_module'
8744    fi
8745    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8746      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8747    else
8748      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8749    fi
8750    if test "$DSYMUTIL" != ":"; then
8751      _lt_dsymutil='~$DSYMUTIL $lib || :'
8752    else
8753      _lt_dsymutil=
8754    fi
8755    ;;
8756  esac
8757
8758for ac_header in dlfcn.h
8759do :
8760  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8761"
8762if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8763  cat >>confdefs.h <<_ACEOF
8764#define HAVE_DLFCN_H 1
8765_ACEOF
8766
8767fi
8768
8769done
8770
8771
8772
8773# Set options
8774
8775
8776
8777
8778  enable_win32_dll=no
8779
8780
8781            # Check whether --enable-shared was given.
8782if test "${enable_shared+set}" = set; then :
8783  enableval=$enable_shared; p=${PACKAGE-default}
8784    case $enableval in
8785    yes) enable_shared=yes ;;
8786    no) enable_shared=no ;;
8787    *)
8788      enable_shared=no
8789      # Look at the argument we got.  We use all the common list separators.
8790      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8791      for pkg in $enableval; do
8792	IFS="$lt_save_ifs"
8793	if test "X$pkg" = "X$p"; then
8794	  enable_shared=yes
8795	fi
8796      done
8797      IFS="$lt_save_ifs"
8798      ;;
8799    esac
8800else
8801  enable_shared=yes
8802fi
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814# Check whether --with-pic was given.
8815if test "${with_pic+set}" = set; then :
8816  withval=$with_pic; pic_mode="$withval"
8817else
8818  pic_mode=default
8819fi
8820
8821
8822test -z "$pic_mode" && pic_mode=default
8823
8824
8825
8826
8827
8828
8829
8830  # Check whether --enable-fast-install was given.
8831if test "${enable_fast_install+set}" = set; then :
8832  enableval=$enable_fast_install; p=${PACKAGE-default}
8833    case $enableval in
8834    yes) enable_fast_install=yes ;;
8835    no) enable_fast_install=no ;;
8836    *)
8837      enable_fast_install=no
8838      # Look at the argument we got.  We use all the common list separators.
8839      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8840      for pkg in $enableval; do
8841	IFS="$lt_save_ifs"
8842	if test "X$pkg" = "X$p"; then
8843	  enable_fast_install=yes
8844	fi
8845      done
8846      IFS="$lt_save_ifs"
8847      ;;
8848    esac
8849else
8850  enable_fast_install=yes
8851fi
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863# This can be used to rebuild libtool when needed
8864LIBTOOL_DEPS="$ltmain"
8865
8866# Always use our own libtool.
8867LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893test -z "$LN_S" && LN_S="ln -s"
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908if test -n "${ZSH_VERSION+set}" ; then
8909   setopt NO_GLOB_SUBST
8910fi
8911
8912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8913$as_echo_n "checking for objdir... " >&6; }
8914if test "${lt_cv_objdir+set}" = set; then :
8915  $as_echo_n "(cached) " >&6
8916else
8917  rm -f .libs 2>/dev/null
8918mkdir .libs 2>/dev/null
8919if test -d .libs; then
8920  lt_cv_objdir=.libs
8921else
8922  # MS-DOS does not allow filenames that begin with a dot.
8923  lt_cv_objdir=_libs
8924fi
8925rmdir .libs 2>/dev/null
8926fi
8927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8928$as_echo "$lt_cv_objdir" >&6; }
8929objdir=$lt_cv_objdir
8930
8931
8932
8933
8934
8935cat >>confdefs.h <<_ACEOF
8936#define LT_OBJDIR "$lt_cv_objdir/"
8937_ACEOF
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955case $host_os in
8956aix3*)
8957  # AIX sometimes has problems with the GCC collect2 program.  For some
8958  # reason, if we set the COLLECT_NAMES environment variable, the problems
8959  # vanish in a puff of smoke.
8960  if test "X${COLLECT_NAMES+set}" != Xset; then
8961    COLLECT_NAMES=
8962    export COLLECT_NAMES
8963  fi
8964  ;;
8965esac
8966
8967# Sed substitution that helps us do robust quoting.  It backslashifies
8968# metacharacters that are still active within double-quoted strings.
8969sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8970
8971# Same as above, but do not quote variable references.
8972double_quote_subst='s/\(["`\\]\)/\\\1/g'
8973
8974# Sed substitution to delay expansion of an escaped shell variable in a
8975# double_quote_subst'ed string.
8976delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8977
8978# Sed substitution to delay expansion of an escaped single quote.
8979delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8980
8981# Sed substitution to avoid accidental globbing in evaled expressions
8982no_glob_subst='s/\*/\\\*/g'
8983
8984# Global variables:
8985ofile=libtool
8986can_build_shared=yes
8987
8988# All known linkers require a `.a' archive for static linking (except MSVC,
8989# which needs '.lib').
8990libext=a
8991
8992with_gnu_ld="$lt_cv_prog_gnu_ld"
8993
8994old_CC="$CC"
8995old_CFLAGS="$CFLAGS"
8996
8997# Set sane defaults for various variables
8998test -z "$CC" && CC=cc
8999test -z "$LTCC" && LTCC=$CC
9000test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9001test -z "$LD" && LD=ld
9002test -z "$ac_objext" && ac_objext=o
9003
9004for cc_temp in $compiler""; do
9005  case $cc_temp in
9006    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9007    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9008    \-*) ;;
9009    *) break;;
9010  esac
9011done
9012cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9013
9014
9015# Only perform the check for file, if the check method requires it
9016test -z "$MAGIC_CMD" && MAGIC_CMD=file
9017case $deplibs_check_method in
9018file_magic*)
9019  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9020    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9021$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9022if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9023  $as_echo_n "(cached) " >&6
9024else
9025  case $MAGIC_CMD in
9026[\\/*] |  ?:[\\/]*)
9027  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9028  ;;
9029*)
9030  lt_save_MAGIC_CMD="$MAGIC_CMD"
9031  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9032  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9033  for ac_dir in $ac_dummy; do
9034    IFS="$lt_save_ifs"
9035    test -z "$ac_dir" && ac_dir=.
9036    if test -f $ac_dir/${ac_tool_prefix}file; then
9037      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9038      if test -n "$file_magic_test_file"; then
9039	case $deplibs_check_method in
9040	"file_magic "*)
9041	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9042	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9043	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9044	    $EGREP "$file_magic_regex" > /dev/null; then
9045	    :
9046	  else
9047	    cat <<_LT_EOF 1>&2
9048
9049*** Warning: the command libtool uses to detect shared libraries,
9050*** $file_magic_cmd, produces output that libtool cannot recognize.
9051*** The result is that libtool may fail to recognize shared libraries
9052*** as such.  This will affect the creation of libtool libraries that
9053*** depend on shared libraries, but programs linked with such libtool
9054*** libraries will work regardless of this problem.  Nevertheless, you
9055*** may want to report the problem to your system manager and/or to
9056*** bug-libtool@gnu.org
9057
9058_LT_EOF
9059	  fi ;;
9060	esac
9061      fi
9062      break
9063    fi
9064  done
9065  IFS="$lt_save_ifs"
9066  MAGIC_CMD="$lt_save_MAGIC_CMD"
9067  ;;
9068esac
9069fi
9070
9071MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9072if test -n "$MAGIC_CMD"; then
9073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9074$as_echo "$MAGIC_CMD" >&6; }
9075else
9076  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9077$as_echo "no" >&6; }
9078fi
9079
9080
9081
9082
9083
9084if test -z "$lt_cv_path_MAGIC_CMD"; then
9085  if test -n "$ac_tool_prefix"; then
9086    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9087$as_echo_n "checking for file... " >&6; }
9088if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9089  $as_echo_n "(cached) " >&6
9090else
9091  case $MAGIC_CMD in
9092[\\/*] |  ?:[\\/]*)
9093  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9094  ;;
9095*)
9096  lt_save_MAGIC_CMD="$MAGIC_CMD"
9097  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9098  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9099  for ac_dir in $ac_dummy; do
9100    IFS="$lt_save_ifs"
9101    test -z "$ac_dir" && ac_dir=.
9102    if test -f $ac_dir/file; then
9103      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9104      if test -n "$file_magic_test_file"; then
9105	case $deplibs_check_method in
9106	"file_magic "*)
9107	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9108	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9109	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9110	    $EGREP "$file_magic_regex" > /dev/null; then
9111	    :
9112	  else
9113	    cat <<_LT_EOF 1>&2
9114
9115*** Warning: the command libtool uses to detect shared libraries,
9116*** $file_magic_cmd, produces output that libtool cannot recognize.
9117*** The result is that libtool may fail to recognize shared libraries
9118*** as such.  This will affect the creation of libtool libraries that
9119*** depend on shared libraries, but programs linked with such libtool
9120*** libraries will work regardless of this problem.  Nevertheless, you
9121*** may want to report the problem to your system manager and/or to
9122*** bug-libtool@gnu.org
9123
9124_LT_EOF
9125	  fi ;;
9126	esac
9127      fi
9128      break
9129    fi
9130  done
9131  IFS="$lt_save_ifs"
9132  MAGIC_CMD="$lt_save_MAGIC_CMD"
9133  ;;
9134esac
9135fi
9136
9137MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9138if test -n "$MAGIC_CMD"; then
9139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9140$as_echo "$MAGIC_CMD" >&6; }
9141else
9142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9143$as_echo "no" >&6; }
9144fi
9145
9146
9147  else
9148    MAGIC_CMD=:
9149  fi
9150fi
9151
9152  fi
9153  ;;
9154esac
9155
9156# Use C for the default configuration in the libtool script
9157
9158lt_save_CC="$CC"
9159ac_ext=c
9160ac_cpp='$CPP $CPPFLAGS'
9161ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9162ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9163ac_compiler_gnu=$ac_cv_c_compiler_gnu
9164
9165
9166# Source file extension for C test sources.
9167ac_ext=c
9168
9169# Object file extension for compiled C test sources.
9170objext=o
9171objext=$objext
9172
9173# Code to be used in simple compile tests
9174lt_simple_compile_test_code="int some_variable = 0;"
9175
9176# Code to be used in simple link tests
9177lt_simple_link_test_code='int main(){return(0);}'
9178
9179
9180
9181
9182
9183
9184
9185# If no C compiler was specified, use CC.
9186LTCC=${LTCC-"$CC"}
9187
9188# If no C compiler flags were specified, use CFLAGS.
9189LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9190
9191# Allow CC to be a program name with arguments.
9192compiler=$CC
9193
9194# Save the default compiler, since it gets overwritten when the other
9195# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9196compiler_DEFAULT=$CC
9197
9198# save warnings/boilerplate of simple test code
9199ac_outfile=conftest.$ac_objext
9200echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9201eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9202_lt_compiler_boilerplate=`cat conftest.err`
9203$RM conftest*
9204
9205ac_outfile=conftest.$ac_objext
9206echo "$lt_simple_link_test_code" >conftest.$ac_ext
9207eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9208_lt_linker_boilerplate=`cat conftest.err`
9209$RM -r conftest*
9210
9211
9212if test -n "$compiler"; then
9213
9214lt_prog_compiler_no_builtin_flag=
9215
9216if test "$GCC" = yes; then
9217  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9218
9219  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9220$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9221if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9222  $as_echo_n "(cached) " >&6
9223else
9224  lt_cv_prog_compiler_rtti_exceptions=no
9225   ac_outfile=conftest.$ac_objext
9226   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9227   lt_compiler_flag="-fno-rtti -fno-exceptions"
9228   # Insert the option either (1) after the last *FLAGS variable, or
9229   # (2) before a word containing "conftest.", or (3) at the end.
9230   # Note that $ac_compile itself does not contain backslashes and begins
9231   # with a dollar sign (not a hyphen), so the echo should work correctly.
9232   # The option is referenced via a variable to avoid confusing sed.
9233   lt_compile=`echo "$ac_compile" | $SED \
9234   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9235   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9236   -e 's:$: $lt_compiler_flag:'`
9237   (eval echo "\"\$as_me:9237: $lt_compile\"" >&5)
9238   (eval "$lt_compile" 2>conftest.err)
9239   ac_status=$?
9240   cat conftest.err >&5
9241   echo "$as_me:9241: \$? = $ac_status" >&5
9242   if (exit $ac_status) && test -s "$ac_outfile"; then
9243     # The compiler can only warn and ignore the option if not recognized
9244     # So say no if there are warnings other than the usual output.
9245     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9246     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9247     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9248       lt_cv_prog_compiler_rtti_exceptions=yes
9249     fi
9250   fi
9251   $RM conftest*
9252
9253fi
9254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9255$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9256
9257if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9258    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9259else
9260    :
9261fi
9262
9263fi
9264
9265
9266
9267
9268
9269
9270  lt_prog_compiler_wl=
9271lt_prog_compiler_pic=
9272lt_prog_compiler_static=
9273
9274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9275$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9276
9277  if test "$GCC" = yes; then
9278    lt_prog_compiler_wl='-Wl,'
9279    lt_prog_compiler_static='-static'
9280
9281    case $host_os in
9282      aix*)
9283      # All AIX code is PIC.
9284      if test "$host_cpu" = ia64; then
9285	# AIX 5 now supports IA64 processor
9286	lt_prog_compiler_static='-Bstatic'
9287      fi
9288      ;;
9289
9290    amigaos*)
9291      case $host_cpu in
9292      powerpc)
9293            # see comment about AmigaOS4 .so support
9294            lt_prog_compiler_pic='-fPIC'
9295        ;;
9296      m68k)
9297            # FIXME: we need at least 68020 code to build shared libraries, but
9298            # adding the `-m68020' flag to GCC prevents building anything better,
9299            # like `-m68040'.
9300            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9301        ;;
9302      esac
9303      ;;
9304
9305    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9306      # PIC is the default for these OSes.
9307      ;;
9308
9309    mingw* | cygwin* | pw32* | os2* | cegcc*)
9310      # This hack is so that the source file can tell whether it is being
9311      # built for inclusion in a dll (and should export symbols for example).
9312      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9313      # (--disable-auto-import) libraries
9314      lt_prog_compiler_pic='-DDLL_EXPORT'
9315      ;;
9316
9317    darwin* | rhapsody*)
9318      # PIC is the default on this platform
9319      # Common symbols not allowed in MH_DYLIB files
9320      lt_prog_compiler_pic='-fno-common'
9321      ;;
9322
9323    hpux*)
9324      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9325      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9326      # sets the default TLS model and affects inlining.
9327      case $host_cpu in
9328      hppa*64*)
9329	# +Z the default
9330	;;
9331      *)
9332	lt_prog_compiler_pic='-fPIC'
9333	;;
9334      esac
9335      ;;
9336
9337    interix[3-9]*)
9338      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9339      # Instead, we relocate shared libraries at runtime.
9340      ;;
9341
9342    msdosdjgpp*)
9343      # Just because we use GCC doesn't mean we suddenly get shared libraries
9344      # on systems that don't support them.
9345      lt_prog_compiler_can_build_shared=no
9346      enable_shared=no
9347      ;;
9348
9349    *nto* | *qnx*)
9350      # QNX uses GNU C++, but need to define -shared option too, otherwise
9351      # it will coredump.
9352      lt_prog_compiler_pic='-fPIC -shared'
9353      ;;
9354
9355    sysv4*MP*)
9356      if test -d /usr/nec; then
9357	lt_prog_compiler_pic=-Kconform_pic
9358      fi
9359      ;;
9360
9361    *)
9362      lt_prog_compiler_pic='-fPIC'
9363      ;;
9364    esac
9365  else
9366    # PORTME Check for flag to pass linker flags through the system compiler.
9367    case $host_os in
9368    aix*)
9369      lt_prog_compiler_wl='-Wl,'
9370      if test "$host_cpu" = ia64; then
9371	# AIX 5 now supports IA64 processor
9372	lt_prog_compiler_static='-Bstatic'
9373      else
9374	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9375      fi
9376      ;;
9377
9378    mingw* | cygwin* | pw32* | os2* | cegcc*)
9379      # This hack is so that the source file can tell whether it is being
9380      # built for inclusion in a dll (and should export symbols for example).
9381      lt_prog_compiler_pic='-DDLL_EXPORT'
9382      ;;
9383
9384    hpux9* | hpux10* | hpux11*)
9385      lt_prog_compiler_wl='-Wl,'
9386      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9387      # not for PA HP-UX.
9388      case $host_cpu in
9389      hppa*64*|ia64*)
9390	# +Z the default
9391	;;
9392      *)
9393	lt_prog_compiler_pic='+Z'
9394	;;
9395      esac
9396      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9397      lt_prog_compiler_static='${wl}-a ${wl}archive'
9398      ;;
9399
9400    irix5* | irix6* | nonstopux*)
9401      lt_prog_compiler_wl='-Wl,'
9402      # PIC (with -KPIC) is the default.
9403      lt_prog_compiler_static='-non_shared'
9404      ;;
9405
9406    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9407      case $cc_basename in
9408      # old Intel for x86_64 which still supported -KPIC.
9409      ecc*)
9410	lt_prog_compiler_wl='-Wl,'
9411	lt_prog_compiler_pic='-KPIC'
9412	lt_prog_compiler_static='-static'
9413        ;;
9414      # icc used to be incompatible with GCC.
9415      # ICC 10 doesn't accept -KPIC any more.
9416      icc* | ifort*)
9417	lt_prog_compiler_wl='-Wl,'
9418	lt_prog_compiler_pic='-fPIC'
9419	lt_prog_compiler_static='-static'
9420        ;;
9421      # Lahey Fortran 8.1.
9422      lf95*)
9423	lt_prog_compiler_wl='-Wl,'
9424	lt_prog_compiler_pic='--shared'
9425	lt_prog_compiler_static='--static'
9426	;;
9427      pgcc* | pgf77* | pgf90* | pgf95*)
9428        # Portland Group compilers (*not* the Pentium gcc compiler,
9429	# which looks to be a dead project)
9430	lt_prog_compiler_wl='-Wl,'
9431	lt_prog_compiler_pic='-fpic'
9432	lt_prog_compiler_static='-Bstatic'
9433        ;;
9434      ccc*)
9435        lt_prog_compiler_wl='-Wl,'
9436        # All Alpha code is PIC.
9437        lt_prog_compiler_static='-non_shared'
9438        ;;
9439      xl*)
9440	# IBM XL C 8.0/Fortran 10.1 on PPC
9441	lt_prog_compiler_wl='-Wl,'
9442	lt_prog_compiler_pic='-qpic'
9443	lt_prog_compiler_static='-qstaticlink'
9444	;;
9445      *)
9446	case `$CC -V 2>&1 | sed 5q` in
9447	*Sun\ C*)
9448	  # Sun C 5.9
9449	  lt_prog_compiler_pic='-KPIC'
9450	  lt_prog_compiler_static='-Bstatic'
9451	  lt_prog_compiler_wl='-Wl,'
9452	  ;;
9453	*Sun\ F*)
9454	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9455	  lt_prog_compiler_pic='-KPIC'
9456	  lt_prog_compiler_static='-Bstatic'
9457	  lt_prog_compiler_wl=''
9458	  ;;
9459	esac
9460	;;
9461      esac
9462      ;;
9463
9464    newsos6)
9465      lt_prog_compiler_pic='-KPIC'
9466      lt_prog_compiler_static='-Bstatic'
9467      ;;
9468
9469    *nto* | *qnx*)
9470      # QNX uses GNU C++, but need to define -shared option too, otherwise
9471      # it will coredump.
9472      lt_prog_compiler_pic='-fPIC -shared'
9473      ;;
9474
9475    osf3* | osf4* | osf5*)
9476      lt_prog_compiler_wl='-Wl,'
9477      # All OSF/1 code is PIC.
9478      lt_prog_compiler_static='-non_shared'
9479      ;;
9480
9481    rdos*)
9482      lt_prog_compiler_static='-non_shared'
9483      ;;
9484
9485    solaris*)
9486      lt_prog_compiler_pic='-KPIC'
9487      lt_prog_compiler_static='-Bstatic'
9488      case $cc_basename in
9489      f77* | f90* | f95*)
9490	lt_prog_compiler_wl='-Qoption ld ';;
9491      *)
9492	lt_prog_compiler_wl='-Wl,';;
9493      esac
9494      ;;
9495
9496    sunos4*)
9497      lt_prog_compiler_wl='-Qoption ld '
9498      lt_prog_compiler_pic='-PIC'
9499      lt_prog_compiler_static='-Bstatic'
9500      ;;
9501
9502    sysv4 | sysv4.2uw2* | sysv4.3*)
9503      lt_prog_compiler_wl='-Wl,'
9504      lt_prog_compiler_pic='-KPIC'
9505      lt_prog_compiler_static='-Bstatic'
9506      ;;
9507
9508    sysv4*MP*)
9509      if test -d /usr/nec ;then
9510	lt_prog_compiler_pic='-Kconform_pic'
9511	lt_prog_compiler_static='-Bstatic'
9512      fi
9513      ;;
9514
9515    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9516      lt_prog_compiler_wl='-Wl,'
9517      lt_prog_compiler_pic='-KPIC'
9518      lt_prog_compiler_static='-Bstatic'
9519      ;;
9520
9521    unicos*)
9522      lt_prog_compiler_wl='-Wl,'
9523      lt_prog_compiler_can_build_shared=no
9524      ;;
9525
9526    uts4*)
9527      lt_prog_compiler_pic='-pic'
9528      lt_prog_compiler_static='-Bstatic'
9529      ;;
9530
9531    *)
9532      lt_prog_compiler_can_build_shared=no
9533      ;;
9534    esac
9535  fi
9536
9537case $host_os in
9538  # For platforms which do not support PIC, -DPIC is meaningless:
9539  *djgpp*)
9540    lt_prog_compiler_pic=
9541    ;;
9542  *)
9543    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9544    ;;
9545esac
9546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9547$as_echo "$lt_prog_compiler_pic" >&6; }
9548
9549
9550
9551
9552
9553
9554#
9555# Check to make sure the PIC flag actually works.
9556#
9557if test -n "$lt_prog_compiler_pic"; then
9558  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9559$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9560if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9561  $as_echo_n "(cached) " >&6
9562else
9563  lt_cv_prog_compiler_pic_works=no
9564   ac_outfile=conftest.$ac_objext
9565   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9566   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9567   # Insert the option either (1) after the last *FLAGS variable, or
9568   # (2) before a word containing "conftest.", or (3) at the end.
9569   # Note that $ac_compile itself does not contain backslashes and begins
9570   # with a dollar sign (not a hyphen), so the echo should work correctly.
9571   # The option is referenced via a variable to avoid confusing sed.
9572   lt_compile=`echo "$ac_compile" | $SED \
9573   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9574   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9575   -e 's:$: $lt_compiler_flag:'`
9576   (eval echo "\"\$as_me:9576: $lt_compile\"" >&5)
9577   (eval "$lt_compile" 2>conftest.err)
9578   ac_status=$?
9579   cat conftest.err >&5
9580   echo "$as_me:9580: \$? = $ac_status" >&5
9581   if (exit $ac_status) && test -s "$ac_outfile"; then
9582     # The compiler can only warn and ignore the option if not recognized
9583     # So say no if there are warnings other than the usual output.
9584     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9585     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9586     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9587       lt_cv_prog_compiler_pic_works=yes
9588     fi
9589   fi
9590   $RM conftest*
9591
9592fi
9593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9594$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9595
9596if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9597    case $lt_prog_compiler_pic in
9598     "" | " "*) ;;
9599     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9600     esac
9601else
9602    lt_prog_compiler_pic=
9603     lt_prog_compiler_can_build_shared=no
9604fi
9605
9606fi
9607
9608
9609
9610
9611
9612
9613#
9614# Check to make sure the static flag actually works.
9615#
9616wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9618$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9619if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9620  $as_echo_n "(cached) " >&6
9621else
9622  lt_cv_prog_compiler_static_works=no
9623   save_LDFLAGS="$LDFLAGS"
9624   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9625   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9626   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9627     # The linker can only warn and ignore the option if not recognized
9628     # So say no if there are warnings
9629     if test -s conftest.err; then
9630       # Append any errors to the config.log.
9631       cat conftest.err 1>&5
9632       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9633       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9634       if diff conftest.exp conftest.er2 >/dev/null; then
9635         lt_cv_prog_compiler_static_works=yes
9636       fi
9637     else
9638       lt_cv_prog_compiler_static_works=yes
9639     fi
9640   fi
9641   $RM -r conftest*
9642   LDFLAGS="$save_LDFLAGS"
9643
9644fi
9645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9646$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9647
9648if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9649    :
9650else
9651    lt_prog_compiler_static=
9652fi
9653
9654
9655
9656
9657
9658
9659
9660  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9661$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9662if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9663  $as_echo_n "(cached) " >&6
9664else
9665  lt_cv_prog_compiler_c_o=no
9666   $RM -r conftest 2>/dev/null
9667   mkdir conftest
9668   cd conftest
9669   mkdir out
9670   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9671
9672   lt_compiler_flag="-o out/conftest2.$ac_objext"
9673   # Insert the option either (1) after the last *FLAGS variable, or
9674   # (2) before a word containing "conftest.", or (3) at the end.
9675   # Note that $ac_compile itself does not contain backslashes and begins
9676   # with a dollar sign (not a hyphen), so the echo should work correctly.
9677   lt_compile=`echo "$ac_compile" | $SED \
9678   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9679   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9680   -e 's:$: $lt_compiler_flag:'`
9681   (eval echo "\"\$as_me:9681: $lt_compile\"" >&5)
9682   (eval "$lt_compile" 2>out/conftest.err)
9683   ac_status=$?
9684   cat out/conftest.err >&5
9685   echo "$as_me:9685: \$? = $ac_status" >&5
9686   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9687   then
9688     # The compiler can only warn and ignore the option if not recognized
9689     # So say no if there are warnings
9690     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9691     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9692     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9693       lt_cv_prog_compiler_c_o=yes
9694     fi
9695   fi
9696   chmod u+w . 2>&5
9697   $RM conftest*
9698   # SGI C++ compiler will create directory out/ii_files/ for
9699   # template instantiation
9700   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9701   $RM out/* && rmdir out
9702   cd ..
9703   $RM -r conftest
9704   $RM conftest*
9705
9706fi
9707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9708$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9709
9710
9711
9712
9713
9714
9715  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9716$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9717if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9718  $as_echo_n "(cached) " >&6
9719else
9720  lt_cv_prog_compiler_c_o=no
9721   $RM -r conftest 2>/dev/null
9722   mkdir conftest
9723   cd conftest
9724   mkdir out
9725   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9726
9727   lt_compiler_flag="-o out/conftest2.$ac_objext"
9728   # Insert the option either (1) after the last *FLAGS variable, or
9729   # (2) before a word containing "conftest.", or (3) at the end.
9730   # Note that $ac_compile itself does not contain backslashes and begins
9731   # with a dollar sign (not a hyphen), so the echo should work correctly.
9732   lt_compile=`echo "$ac_compile" | $SED \
9733   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9734   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9735   -e 's:$: $lt_compiler_flag:'`
9736   (eval echo "\"\$as_me:9736: $lt_compile\"" >&5)
9737   (eval "$lt_compile" 2>out/conftest.err)
9738   ac_status=$?
9739   cat out/conftest.err >&5
9740   echo "$as_me:9740: \$? = $ac_status" >&5
9741   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9742   then
9743     # The compiler can only warn and ignore the option if not recognized
9744     # So say no if there are warnings
9745     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9746     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9747     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9748       lt_cv_prog_compiler_c_o=yes
9749     fi
9750   fi
9751   chmod u+w . 2>&5
9752   $RM conftest*
9753   # SGI C++ compiler will create directory out/ii_files/ for
9754   # template instantiation
9755   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9756   $RM out/* && rmdir out
9757   cd ..
9758   $RM -r conftest
9759   $RM conftest*
9760
9761fi
9762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9763$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9764
9765
9766
9767
9768hard_links="nottested"
9769if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9770  # do not overwrite the value of need_locks provided by the user
9771  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9772$as_echo_n "checking if we can lock with hard links... " >&6; }
9773  hard_links=yes
9774  $RM conftest*
9775  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9776  touch conftest.a
9777  ln conftest.a conftest.b 2>&5 || hard_links=no
9778  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9780$as_echo "$hard_links" >&6; }
9781  if test "$hard_links" = no; then
9782    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9783$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9784    need_locks=warn
9785  fi
9786else
9787  need_locks=no
9788fi
9789
9790
9791
9792
9793
9794
9795  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9796$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9797
9798  runpath_var=
9799  allow_undefined_flag=
9800  always_export_symbols=no
9801  archive_cmds=
9802  archive_expsym_cmds=
9803  compiler_needs_object=no
9804  enable_shared_with_static_runtimes=no
9805  export_dynamic_flag_spec=
9806  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9807  hardcode_automatic=no
9808  hardcode_direct=no
9809  hardcode_direct_absolute=no
9810  hardcode_libdir_flag_spec=
9811  hardcode_libdir_flag_spec_ld=
9812  hardcode_libdir_separator=
9813  hardcode_minus_L=no
9814  hardcode_shlibpath_var=unsupported
9815  inherit_rpath=no
9816  link_all_deplibs=unknown
9817  module_cmds=
9818  module_expsym_cmds=
9819  old_archive_from_new_cmds=
9820  old_archive_from_expsyms_cmds=
9821  thread_safe_flag_spec=
9822  whole_archive_flag_spec=
9823  # include_expsyms should be a list of space-separated symbols to be *always*
9824  # included in the symbol list
9825  include_expsyms=
9826  # exclude_expsyms can be an extended regexp of symbols to exclude
9827  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9828  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9829  # as well as any symbol that contains `d'.
9830  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9831  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9832  # platforms (ab)use it in PIC code, but their linkers get confused if
9833  # the symbol is explicitly referenced.  Since portable code cannot
9834  # rely on this symbol name, it's probably fine to never include it in
9835  # preloaded symbol tables.
9836  # Exclude shared library initialization/finalization symbols.
9837  extract_expsyms_cmds=
9838
9839  case $host_os in
9840  cygwin* | mingw* | pw32* | cegcc*)
9841    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9842    # When not using gcc, we currently assume that we are using
9843    # Microsoft Visual C++.
9844    if test "$GCC" != yes; then
9845      with_gnu_ld=no
9846    fi
9847    ;;
9848  interix*)
9849    # we just hope/assume this is gcc and not c89 (= MSVC++)
9850    with_gnu_ld=yes
9851    ;;
9852  openbsd*)
9853    with_gnu_ld=no
9854    ;;
9855  linux* | k*bsd*-gnu)
9856    link_all_deplibs=no
9857    ;;
9858  esac
9859
9860  ld_shlibs=yes
9861  if test "$with_gnu_ld" = yes; then
9862    # If archive_cmds runs LD, not CC, wlarc should be empty
9863    wlarc='${wl}'
9864
9865    # Set some defaults for GNU ld with shared library support. These
9866    # are reset later if shared libraries are not supported. Putting them
9867    # here allows them to be overridden if necessary.
9868    runpath_var=LD_RUN_PATH
9869    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9870    export_dynamic_flag_spec='${wl}--export-dynamic'
9871    # ancient GNU ld didn't support --whole-archive et. al.
9872    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9873      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9874    else
9875      whole_archive_flag_spec=
9876    fi
9877    supports_anon_versioning=no
9878    case `$LD -v 2>&1` in
9879      *GNU\ gold*) supports_anon_versioning=yes ;;
9880      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9881      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9882      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9883      *\ 2.11.*) ;; # other 2.11 versions
9884      *) supports_anon_versioning=yes ;;
9885    esac
9886
9887    # See if GNU ld supports shared libraries.
9888    case $host_os in
9889    aix[3-9]*)
9890      # On AIX/PPC, the GNU linker is very broken
9891      if test "$host_cpu" != ia64; then
9892	ld_shlibs=no
9893	cat <<_LT_EOF 1>&2
9894
9895*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9896*** to be unable to reliably create shared libraries on AIX.
9897*** Therefore, libtool is disabling shared libraries support.  If you
9898*** really care for shared libraries, you may want to modify your PATH
9899*** so that a non-GNU linker is found, and then restart.
9900
9901_LT_EOF
9902      fi
9903      ;;
9904
9905    amigaos*)
9906      case $host_cpu in
9907      powerpc)
9908            # see comment about AmigaOS4 .so support
9909            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9910            archive_expsym_cmds=''
9911        ;;
9912      m68k)
9913            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)'
9914            hardcode_libdir_flag_spec='-L$libdir'
9915            hardcode_minus_L=yes
9916        ;;
9917      esac
9918      ;;
9919
9920    beos*)
9921      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9922	allow_undefined_flag=unsupported
9923	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9924	# support --undefined.  This deserves some investigation.  FIXME
9925	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9926      else
9927	ld_shlibs=no
9928      fi
9929      ;;
9930
9931    cygwin* | mingw* | pw32* | cegcc*)
9932      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9933      # as there is no search path for DLLs.
9934      hardcode_libdir_flag_spec='-L$libdir'
9935      allow_undefined_flag=unsupported
9936      always_export_symbols=no
9937      enable_shared_with_static_runtimes=yes
9938      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9939
9940      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9941        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9942	# If the export-symbols file already is a .def file (1st line
9943	# is EXPORTS), use it as is; otherwise, prepend...
9944	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9945	  cp $export_symbols $output_objdir/$soname.def;
9946	else
9947	  echo EXPORTS > $output_objdir/$soname.def;
9948	  cat $export_symbols >> $output_objdir/$soname.def;
9949	fi~
9950	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9951      else
9952	ld_shlibs=no
9953      fi
9954      ;;
9955
9956    interix[3-9]*)
9957      hardcode_direct=no
9958      hardcode_shlibpath_var=no
9959      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9960      export_dynamic_flag_spec='${wl}-E'
9961      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9962      # Instead, shared libraries are loaded at an image base (0x10000000 by
9963      # default) and relocated if they conflict, which is a slow very memory
9964      # consuming and fragmenting process.  To avoid this, we pick a random,
9965      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9966      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9967      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9968      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'
9969      ;;
9970
9971    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9972      tmp_diet=no
9973      if test "$host_os" = linux-dietlibc; then
9974	case $cc_basename in
9975	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9976	esac
9977      fi
9978      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9979	 && test "$tmp_diet" = no
9980      then
9981	tmp_addflag=
9982	tmp_sharedflag='-shared'
9983	case $cc_basename,$host_cpu in
9984        pgcc*)				# Portland Group C compiler
9985	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9986	  tmp_addflag=' $pic_flag'
9987	  ;;
9988	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
9989	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9990	  tmp_addflag=' $pic_flag -Mnomain' ;;
9991	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9992	  tmp_addflag=' -i_dynamic' ;;
9993	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9994	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9995	ifc* | ifort*)			# Intel Fortran compiler
9996	  tmp_addflag=' -nofor_main' ;;
9997	lf95*)				# Lahey Fortran 8.1
9998	  whole_archive_flag_spec=
9999	  tmp_sharedflag='--shared' ;;
10000	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
10001	  tmp_sharedflag='-qmkshrobj'
10002	  tmp_addflag= ;;
10003	esac
10004	case `$CC -V 2>&1 | sed 5q` in
10005	*Sun\ C*)			# Sun C 5.9
10006	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10007	  compiler_needs_object=yes
10008	  tmp_sharedflag='-G' ;;
10009	*Sun\ F*)			# Sun Fortran 8.3
10010	  tmp_sharedflag='-G' ;;
10011	esac
10012	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10013
10014        if test "x$supports_anon_versioning" = xyes; then
10015          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10016	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10017	    echo "local: *; };" >> $output_objdir/$libname.ver~
10018	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10019        fi
10020
10021	case $cc_basename in
10022	xlf*)
10023	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10024	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10025	  hardcode_libdir_flag_spec=
10026	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
10027	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10028	  if test "x$supports_anon_versioning" = xyes; then
10029	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10030	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10031	      echo "local: *; };" >> $output_objdir/$libname.ver~
10032	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10033	  fi
10034	  ;;
10035	esac
10036      else
10037        ld_shlibs=no
10038      fi
10039      ;;
10040
10041    netbsd* | netbsdelf*-gnu)
10042      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10043	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10044	wlarc=
10045      else
10046	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10047	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10048      fi
10049      ;;
10050
10051    solaris*)
10052      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10053	ld_shlibs=no
10054	cat <<_LT_EOF 1>&2
10055
10056*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10057*** create shared libraries on Solaris systems.  Therefore, libtool
10058*** is disabling shared libraries support.  We urge you to upgrade GNU
10059*** binutils to release 2.9.1 or newer.  Another option is to modify
10060*** your PATH or compiler configuration so that the native linker is
10061*** used, and then restart.
10062
10063_LT_EOF
10064      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10065	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10066	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10067      else
10068	ld_shlibs=no
10069      fi
10070      ;;
10071
10072    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10073      case `$LD -v 2>&1` in
10074        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10075	ld_shlibs=no
10076	cat <<_LT_EOF 1>&2
10077
10078*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10079*** reliably create shared libraries on SCO systems.  Therefore, libtool
10080*** is disabling shared libraries support.  We urge you to upgrade GNU
10081*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10082*** your PATH or compiler configuration so that the native linker is
10083*** used, and then restart.
10084
10085_LT_EOF
10086	;;
10087	*)
10088	  # For security reasons, it is highly recommended that you always
10089	  # use absolute paths for naming shared libraries, and exclude the
10090	  # DT_RUNPATH tag from executables and libraries.  But doing so
10091	  # requires that you compile everything twice, which is a pain.
10092	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10093	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10094	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10095	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10096	  else
10097	    ld_shlibs=no
10098	  fi
10099	;;
10100      esac
10101      ;;
10102
10103    sunos4*)
10104      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10105      wlarc=
10106      hardcode_direct=yes
10107      hardcode_shlibpath_var=no
10108      ;;
10109
10110    *)
10111      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10112	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10113	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10114      else
10115	ld_shlibs=no
10116      fi
10117      ;;
10118    esac
10119
10120    if test "$ld_shlibs" = no; then
10121      runpath_var=
10122      hardcode_libdir_flag_spec=
10123      export_dynamic_flag_spec=
10124      whole_archive_flag_spec=
10125    fi
10126  else
10127    # PORTME fill in a description of your system's linker (not GNU ld)
10128    case $host_os in
10129    aix3*)
10130      allow_undefined_flag=unsupported
10131      always_export_symbols=yes
10132      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'
10133      # Note: this linker hardcodes the directories in LIBPATH if there
10134      # are no directories specified by -L.
10135      hardcode_minus_L=yes
10136      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10137	# Neither direct hardcoding nor static linking is supported with a
10138	# broken collect2.
10139	hardcode_direct=unsupported
10140      fi
10141      ;;
10142
10143    aix[4-9]*)
10144      if test "$host_cpu" = ia64; then
10145	# On IA64, the linker does run time linking by default, so we don't
10146	# have to do anything special.
10147	aix_use_runtimelinking=no
10148	exp_sym_flag='-Bexport'
10149	no_entry_flag=""
10150      else
10151	# If we're using GNU nm, then we don't want the "-C" option.
10152	# -C means demangle to AIX nm, but means don't demangle with GNU nm
10153	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10154	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10155	else
10156	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10157	fi
10158	aix_use_runtimelinking=no
10159
10160	# Test if we are trying to use run time linking or normal
10161	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10162	# need to do runtime linking.
10163	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10164	  for ld_flag in $LDFLAGS; do
10165	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10166	    aix_use_runtimelinking=yes
10167	    break
10168	  fi
10169	  done
10170	  ;;
10171	esac
10172
10173	exp_sym_flag='-bexport'
10174	no_entry_flag='-bnoentry'
10175      fi
10176
10177      # When large executables or shared objects are built, AIX ld can
10178      # have problems creating the table of contents.  If linking a library
10179      # or program results in "error TOC overflow" add -mminimal-toc to
10180      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10181      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10182
10183      archive_cmds=''
10184      hardcode_direct=yes
10185      hardcode_direct_absolute=yes
10186      hardcode_libdir_separator=':'
10187      link_all_deplibs=yes
10188      file_list_spec='${wl}-f,'
10189
10190      if test "$GCC" = yes; then
10191	case $host_os in aix4.[012]|aix4.[012].*)
10192	# We only want to do this on AIX 4.2 and lower, the check
10193	# below for broken collect2 doesn't work under 4.3+
10194	  collect2name=`${CC} -print-prog-name=collect2`
10195	  if test -f "$collect2name" &&
10196	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10197	  then
10198	  # We have reworked collect2
10199	  :
10200	  else
10201	  # We have old collect2
10202	  hardcode_direct=unsupported
10203	  # It fails to find uninstalled libraries when the uninstalled
10204	  # path is not listed in the libpath.  Setting hardcode_minus_L
10205	  # to unsupported forces relinking
10206	  hardcode_minus_L=yes
10207	  hardcode_libdir_flag_spec='-L$libdir'
10208	  hardcode_libdir_separator=
10209	  fi
10210	  ;;
10211	esac
10212	shared_flag='-shared'
10213	if test "$aix_use_runtimelinking" = yes; then
10214	  shared_flag="$shared_flag "'${wl}-G'
10215	fi
10216	link_all_deplibs=no
10217      else
10218	# not using gcc
10219	if test "$host_cpu" = ia64; then
10220	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10221	# chokes on -Wl,-G. The following line is correct:
10222	  shared_flag='-G'
10223	else
10224	  if test "$aix_use_runtimelinking" = yes; then
10225	    shared_flag='${wl}-G'
10226	  else
10227	    shared_flag='${wl}-bM:SRE'
10228	  fi
10229	fi
10230      fi
10231
10232      export_dynamic_flag_spec='${wl}-bexpall'
10233      # It seems that -bexpall does not export symbols beginning with
10234      # underscore (_), so it is better to generate a list of symbols to export.
10235      always_export_symbols=yes
10236      if test "$aix_use_runtimelinking" = yes; then
10237	# Warning - without using the other runtime loading flags (-brtl),
10238	# -berok will link without error, but may produce a broken library.
10239	allow_undefined_flag='-berok'
10240        # Determine the default libpath from the value encoded in an
10241        # empty executable.
10242        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10243/* end confdefs.h.  */
10244
10245int
10246main ()
10247{
10248
10249  ;
10250  return 0;
10251}
10252_ACEOF
10253if ac_fn_c_try_link "$LINENO"; then :
10254
10255lt_aix_libpath_sed='
10256    /Import File Strings/,/^$/ {
10257	/^0/ {
10258	    s/^0  *\(.*\)$/\1/
10259	    p
10260	}
10261    }'
10262aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10263# Check for a 64-bit object if we didn't find anything.
10264if test -z "$aix_libpath"; then
10265  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10266fi
10267fi
10268rm -f core conftest.err conftest.$ac_objext \
10269    conftest$ac_exeext conftest.$ac_ext
10270if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10271
10272        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10273        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10274      else
10275	if test "$host_cpu" = ia64; then
10276	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10277	  allow_undefined_flag="-z nodefs"
10278	  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"
10279	else
10280	 # Determine the default libpath from the value encoded in an
10281	 # empty executable.
10282	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10283/* end confdefs.h.  */
10284
10285int
10286main ()
10287{
10288
10289  ;
10290  return 0;
10291}
10292_ACEOF
10293if ac_fn_c_try_link "$LINENO"; then :
10294
10295lt_aix_libpath_sed='
10296    /Import File Strings/,/^$/ {
10297	/^0/ {
10298	    s/^0  *\(.*\)$/\1/
10299	    p
10300	}
10301    }'
10302aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10303# Check for a 64-bit object if we didn't find anything.
10304if test -z "$aix_libpath"; then
10305  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10306fi
10307fi
10308rm -f core conftest.err conftest.$ac_objext \
10309    conftest$ac_exeext conftest.$ac_ext
10310if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10311
10312	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10313	  # Warning - without using the other run time loading flags,
10314	  # -berok will link without error, but may produce a broken library.
10315	  no_undefined_flag=' ${wl}-bernotok'
10316	  allow_undefined_flag=' ${wl}-berok'
10317	  # Exported symbols can be pulled into shared objects from archives
10318	  whole_archive_flag_spec='$convenience'
10319	  archive_cmds_need_lc=yes
10320	  # This is similar to how AIX traditionally builds its shared libraries.
10321	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10322	fi
10323      fi
10324      ;;
10325
10326    amigaos*)
10327      case $host_cpu in
10328      powerpc)
10329            # see comment about AmigaOS4 .so support
10330            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10331            archive_expsym_cmds=''
10332        ;;
10333      m68k)
10334            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)'
10335            hardcode_libdir_flag_spec='-L$libdir'
10336            hardcode_minus_L=yes
10337        ;;
10338      esac
10339      ;;
10340
10341    bsdi[45]*)
10342      export_dynamic_flag_spec=-rdynamic
10343      ;;
10344
10345    cygwin* | mingw* | pw32* | cegcc*)
10346      # When not using gcc, we currently assume that we are using
10347      # Microsoft Visual C++.
10348      # hardcode_libdir_flag_spec is actually meaningless, as there is
10349      # no search path for DLLs.
10350      hardcode_libdir_flag_spec=' '
10351      allow_undefined_flag=unsupported
10352      # Tell ltmain to make .lib files, not .a files.
10353      libext=lib
10354      # Tell ltmain to make .dll files, not .so files.
10355      shrext_cmds=".dll"
10356      # FIXME: Setting linknames here is a bad hack.
10357      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10358      # The linker will automatically build a .lib file if we build a DLL.
10359      old_archive_from_new_cmds='true'
10360      # FIXME: Should let the user specify the lib program.
10361      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10362      fix_srcfile_path='`cygpath -w "$srcfile"`'
10363      enable_shared_with_static_runtimes=yes
10364      ;;
10365
10366    darwin* | rhapsody*)
10367
10368
10369  archive_cmds_need_lc=no
10370  hardcode_direct=no
10371  hardcode_automatic=yes
10372  hardcode_shlibpath_var=unsupported
10373  whole_archive_flag_spec=''
10374  link_all_deplibs=yes
10375  allow_undefined_flag="$_lt_dar_allow_undefined"
10376  case $cc_basename in
10377     ifort*) _lt_dar_can_shared=yes ;;
10378     *) _lt_dar_can_shared=$GCC ;;
10379  esac
10380  if test "$_lt_dar_can_shared" = "yes"; then
10381    output_verbose_link_cmd=echo
10382    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10383    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10384    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}"
10385    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}"
10386
10387  else
10388  ld_shlibs=no
10389  fi
10390
10391      ;;
10392
10393    dgux*)
10394      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10395      hardcode_libdir_flag_spec='-L$libdir'
10396      hardcode_shlibpath_var=no
10397      ;;
10398
10399    freebsd1*)
10400      ld_shlibs=no
10401      ;;
10402
10403    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10404    # support.  Future versions do this automatically, but an explicit c++rt0.o
10405    # does not break anything, and helps significantly (at the cost of a little
10406    # extra space).
10407    freebsd2.2*)
10408      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10409      hardcode_libdir_flag_spec='-R$libdir'
10410      hardcode_direct=yes
10411      hardcode_shlibpath_var=no
10412      ;;
10413
10414    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10415    freebsd2*)
10416      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10417      hardcode_direct=yes
10418      hardcode_minus_L=yes
10419      hardcode_shlibpath_var=no
10420      ;;
10421
10422    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10423    freebsd* | dragonfly*)
10424      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10425      hardcode_libdir_flag_spec='-R$libdir'
10426      hardcode_direct=yes
10427      hardcode_shlibpath_var=no
10428      ;;
10429
10430    hpux9*)
10431      if test "$GCC" = yes; then
10432	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10433      else
10434	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10435      fi
10436      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10437      hardcode_libdir_separator=:
10438      hardcode_direct=yes
10439
10440      # hardcode_minus_L: Not really in the search PATH,
10441      # but as the default location of the library.
10442      hardcode_minus_L=yes
10443      export_dynamic_flag_spec='${wl}-E'
10444      ;;
10445
10446    hpux10*)
10447      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10448	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10449      else
10450	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10451      fi
10452      if test "$with_gnu_ld" = no; then
10453	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10454	hardcode_libdir_flag_spec_ld='+b $libdir'
10455	hardcode_libdir_separator=:
10456	hardcode_direct=yes
10457	hardcode_direct_absolute=yes
10458	export_dynamic_flag_spec='${wl}-E'
10459	# hardcode_minus_L: Not really in the search PATH,
10460	# but as the default location of the library.
10461	hardcode_minus_L=yes
10462      fi
10463      ;;
10464
10465    hpux11*)
10466      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10467	case $host_cpu in
10468	hppa*64*)
10469	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10470	  ;;
10471	ia64*)
10472	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10473	  ;;
10474	*)
10475	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10476	  ;;
10477	esac
10478      else
10479	case $host_cpu in
10480	hppa*64*)
10481	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10482	  ;;
10483	ia64*)
10484	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10485	  ;;
10486	*)
10487	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10488	  ;;
10489	esac
10490      fi
10491      if test "$with_gnu_ld" = no; then
10492	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10493	hardcode_libdir_separator=:
10494
10495	case $host_cpu in
10496	hppa*64*|ia64*)
10497	  hardcode_direct=no
10498	  hardcode_shlibpath_var=no
10499	  ;;
10500	*)
10501	  hardcode_direct=yes
10502	  hardcode_direct_absolute=yes
10503	  export_dynamic_flag_spec='${wl}-E'
10504
10505	  # hardcode_minus_L: Not really in the search PATH,
10506	  # but as the default location of the library.
10507	  hardcode_minus_L=yes
10508	  ;;
10509	esac
10510      fi
10511      ;;
10512
10513    irix5* | irix6* | nonstopux*)
10514      if test "$GCC" = yes; then
10515	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10516	# Try to use the -exported_symbol ld option, if it does not
10517	# work, assume that -exports_file does not work either and
10518	# implicitly export all symbols.
10519        save_LDFLAGS="$LDFLAGS"
10520        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10521        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10522/* end confdefs.h.  */
10523int foo(void) {}
10524_ACEOF
10525if ac_fn_c_try_link "$LINENO"; then :
10526  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10527
10528fi
10529rm -f core conftest.err conftest.$ac_objext \
10530    conftest$ac_exeext conftest.$ac_ext
10531        LDFLAGS="$save_LDFLAGS"
10532      else
10533	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10534	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10535      fi
10536      archive_cmds_need_lc='no'
10537      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10538      hardcode_libdir_separator=:
10539      inherit_rpath=yes
10540      link_all_deplibs=yes
10541      ;;
10542
10543    netbsd* | netbsdelf*-gnu)
10544      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10545	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10546      else
10547	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10548      fi
10549      hardcode_libdir_flag_spec='-R$libdir'
10550      hardcode_direct=yes
10551      hardcode_shlibpath_var=no
10552      ;;
10553
10554    newsos6)
10555      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10556      hardcode_direct=yes
10557      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10558      hardcode_libdir_separator=:
10559      hardcode_shlibpath_var=no
10560      ;;
10561
10562    *nto* | *qnx*)
10563      ;;
10564
10565    openbsd*)
10566      if test -f /usr/libexec/ld.so; then
10567	hardcode_direct=yes
10568	hardcode_shlibpath_var=no
10569	hardcode_direct_absolute=yes
10570	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10571	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10572	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10573	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10574	  export_dynamic_flag_spec='${wl}-E'
10575	else
10576	  case $host_os in
10577	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10578	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10579	     hardcode_libdir_flag_spec='-R$libdir'
10580	     ;;
10581	   *)
10582	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10583	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10584	     ;;
10585	  esac
10586	fi
10587      else
10588	ld_shlibs=no
10589      fi
10590      ;;
10591
10592    os2*)
10593      hardcode_libdir_flag_spec='-L$libdir'
10594      hardcode_minus_L=yes
10595      allow_undefined_flag=unsupported
10596      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10597      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10598      ;;
10599
10600    osf3*)
10601      if test "$GCC" = yes; then
10602	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10603	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10604      else
10605	allow_undefined_flag=' -expect_unresolved \*'
10606	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10607      fi
10608      archive_cmds_need_lc='no'
10609      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10610      hardcode_libdir_separator=:
10611      ;;
10612
10613    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10614      if test "$GCC" = yes; then
10615	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10616	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10617	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10618      else
10619	allow_undefined_flag=' -expect_unresolved \*'
10620	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10621	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~
10622	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10623
10624	# Both c and cxx compiler support -rpath directly
10625	hardcode_libdir_flag_spec='-rpath $libdir'
10626      fi
10627      archive_cmds_need_lc='no'
10628      hardcode_libdir_separator=:
10629      ;;
10630
10631    solaris*)
10632      no_undefined_flag=' -z defs'
10633      if test "$GCC" = yes; then
10634	wlarc='${wl}'
10635	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10636	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10637	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10638      else
10639	case `$CC -V 2>&1` in
10640	*"Compilers 5.0"*)
10641	  wlarc=''
10642	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10643	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10644	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10645	  ;;
10646	*)
10647	  wlarc='${wl}'
10648	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10649	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10650	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10651	  ;;
10652	esac
10653      fi
10654      hardcode_libdir_flag_spec='-R$libdir'
10655      hardcode_shlibpath_var=no
10656      case $host_os in
10657      solaris2.[0-5] | solaris2.[0-5].*) ;;
10658      *)
10659	# The compiler driver will combine and reorder linker options,
10660	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10661	# but is careful enough not to reorder.
10662	# Supported since Solaris 2.6 (maybe 2.5.1?)
10663	if test "$GCC" = yes; then
10664	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10665	else
10666	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10667	fi
10668	;;
10669      esac
10670      link_all_deplibs=yes
10671      ;;
10672
10673    sunos4*)
10674      if test "x$host_vendor" = xsequent; then
10675	# Use $CC to link under sequent, because it throws in some extra .o
10676	# files that make .init and .fini sections work.
10677	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10678      else
10679	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10680      fi
10681      hardcode_libdir_flag_spec='-L$libdir'
10682      hardcode_direct=yes
10683      hardcode_minus_L=yes
10684      hardcode_shlibpath_var=no
10685      ;;
10686
10687    sysv4)
10688      case $host_vendor in
10689	sni)
10690	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10691	  hardcode_direct=yes # is this really true???
10692	;;
10693	siemens)
10694	  ## LD is ld it makes a PLAMLIB
10695	  ## CC just makes a GrossModule.
10696	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10697	  reload_cmds='$CC -r -o $output$reload_objs'
10698	  hardcode_direct=no
10699        ;;
10700	motorola)
10701	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10702	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10703	;;
10704      esac
10705      runpath_var='LD_RUN_PATH'
10706      hardcode_shlibpath_var=no
10707      ;;
10708
10709    sysv4.3*)
10710      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10711      hardcode_shlibpath_var=no
10712      export_dynamic_flag_spec='-Bexport'
10713      ;;
10714
10715    sysv4*MP*)
10716      if test -d /usr/nec; then
10717	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10718	hardcode_shlibpath_var=no
10719	runpath_var=LD_RUN_PATH
10720	hardcode_runpath_var=yes
10721	ld_shlibs=yes
10722      fi
10723      ;;
10724
10725    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10726      no_undefined_flag='${wl}-z,text'
10727      archive_cmds_need_lc=no
10728      hardcode_shlibpath_var=no
10729      runpath_var='LD_RUN_PATH'
10730
10731      if test "$GCC" = yes; then
10732	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10733	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10734      else
10735	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10736	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10737      fi
10738      ;;
10739
10740    sysv5* | sco3.2v5* | sco5v6*)
10741      # Note: We can NOT use -z defs as we might desire, because we do not
10742      # link with -lc, and that would cause any symbols used from libc to
10743      # always be unresolved, which means just about no library would
10744      # ever link correctly.  If we're not using GNU ld we use -z text
10745      # though, which does catch some bad symbols but isn't as heavy-handed
10746      # as -z defs.
10747      no_undefined_flag='${wl}-z,text'
10748      allow_undefined_flag='${wl}-z,nodefs'
10749      archive_cmds_need_lc=no
10750      hardcode_shlibpath_var=no
10751      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10752      hardcode_libdir_separator=':'
10753      link_all_deplibs=yes
10754      export_dynamic_flag_spec='${wl}-Bexport'
10755      runpath_var='LD_RUN_PATH'
10756
10757      if test "$GCC" = yes; then
10758	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10759	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10760      else
10761	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10762	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10763      fi
10764      ;;
10765
10766    uts4*)
10767      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10768      hardcode_libdir_flag_spec='-L$libdir'
10769      hardcode_shlibpath_var=no
10770      ;;
10771
10772    *)
10773      ld_shlibs=no
10774      ;;
10775    esac
10776
10777    if test x$host_vendor = xsni; then
10778      case $host in
10779      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10780	export_dynamic_flag_spec='${wl}-Blargedynsym'
10781	;;
10782      esac
10783    fi
10784  fi
10785
10786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10787$as_echo "$ld_shlibs" >&6; }
10788test "$ld_shlibs" = no && can_build_shared=no
10789
10790with_gnu_ld=$with_gnu_ld
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806#
10807# Do we need to explicitly link libc?
10808#
10809case "x$archive_cmds_need_lc" in
10810x|xyes)
10811  # Assume -lc should be added
10812  archive_cmds_need_lc=yes
10813
10814  if test "$enable_shared" = yes && test "$GCC" = yes; then
10815    case $archive_cmds in
10816    *'~'*)
10817      # FIXME: we may have to deal with multi-command sequences.
10818      ;;
10819    '$CC '*)
10820      # Test whether the compiler implicitly links with -lc since on some
10821      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10822      # to ld, don't add -lc before -lgcc.
10823      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10824$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10825      $RM conftest*
10826      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10827
10828      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10829  (eval $ac_compile) 2>&5
10830  ac_status=$?
10831  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10832  test $ac_status = 0; } 2>conftest.err; then
10833        soname=conftest
10834        lib=conftest
10835        libobjs=conftest.$ac_objext
10836        deplibs=
10837        wl=$lt_prog_compiler_wl
10838	pic_flag=$lt_prog_compiler_pic
10839        compiler_flags=-v
10840        linker_flags=-v
10841        verstring=
10842        output_objdir=.
10843        libname=conftest
10844        lt_save_allow_undefined_flag=$allow_undefined_flag
10845        allow_undefined_flag=
10846        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10847  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10848  ac_status=$?
10849  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10850  test $ac_status = 0; }
10851        then
10852	  archive_cmds_need_lc=no
10853        else
10854	  archive_cmds_need_lc=yes
10855        fi
10856        allow_undefined_flag=$lt_save_allow_undefined_flag
10857      else
10858        cat conftest.err 1>&5
10859      fi
10860      $RM conftest*
10861      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10862$as_echo "$archive_cmds_need_lc" >&6; }
10863      ;;
10864    esac
10865  fi
10866  ;;
10867esac
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11026$as_echo_n "checking dynamic linker characteristics... " >&6; }
11027
11028if test "$GCC" = yes; then
11029  case $host_os in
11030    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11031    *) lt_awk_arg="/^libraries:/" ;;
11032  esac
11033  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11034  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
11035    # if the path contains ";" then we assume it to be the separator
11036    # otherwise default to the standard path separator (i.e. ":") - it is
11037    # assumed that no part of a normal pathname contains ";" but that should
11038    # okay in the real world where ";" in dirpaths is itself problematic.
11039    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11040  else
11041    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11042  fi
11043  # Ok, now we have the path, separated by spaces, we can step through it
11044  # and add multilib dir if necessary.
11045  lt_tmp_lt_search_path_spec=
11046  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11047  for lt_sys_path in $lt_search_path_spec; do
11048    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11049      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11050    else
11051      test -d "$lt_sys_path" && \
11052	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11053    fi
11054  done
11055  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11056BEGIN {RS=" "; FS="/|\n";} {
11057  lt_foo="";
11058  lt_count=0;
11059  for (lt_i = NF; lt_i > 0; lt_i--) {
11060    if ($lt_i != "" && $lt_i != ".") {
11061      if ($lt_i == "..") {
11062        lt_count++;
11063      } else {
11064        if (lt_count == 0) {
11065          lt_foo="/" $lt_i lt_foo;
11066        } else {
11067          lt_count--;
11068        }
11069      }
11070    }
11071  }
11072  if (lt_foo != "") { lt_freq[lt_foo]++; }
11073  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11074}'`
11075  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
11076else
11077  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11078fi
11079library_names_spec=
11080libname_spec='lib$name'
11081soname_spec=
11082shrext_cmds=".so"
11083postinstall_cmds=
11084postuninstall_cmds=
11085finish_cmds=
11086finish_eval=
11087shlibpath_var=
11088shlibpath_overrides_runpath=unknown
11089version_type=none
11090dynamic_linker="$host_os ld.so"
11091sys_lib_dlsearch_path_spec="/lib /usr/lib"
11092need_lib_prefix=unknown
11093hardcode_into_libs=no
11094
11095# when you set need_version to no, make sure it does not cause -set_version
11096# flags to be left without arguments
11097need_version=unknown
11098
11099case $host_os in
11100aix3*)
11101  version_type=linux
11102  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11103  shlibpath_var=LIBPATH
11104
11105  # AIX 3 has no versioning support, so we append a major version to the name.
11106  soname_spec='${libname}${release}${shared_ext}$major'
11107  ;;
11108
11109aix[4-9]*)
11110  version_type=linux
11111  need_lib_prefix=no
11112  need_version=no
11113  hardcode_into_libs=yes
11114  if test "$host_cpu" = ia64; then
11115    # AIX 5 supports IA64
11116    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11117    shlibpath_var=LD_LIBRARY_PATH
11118  else
11119    # With GCC up to 2.95.x, collect2 would create an import file
11120    # for dependence libraries.  The import file would start with
11121    # the line `#! .'.  This would cause the generated library to
11122    # depend on `.', always an invalid library.  This was fixed in
11123    # development snapshots of GCC prior to 3.0.
11124    case $host_os in
11125      aix4 | aix4.[01] | aix4.[01].*)
11126      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11127	   echo ' yes '
11128	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11129	:
11130      else
11131	can_build_shared=no
11132      fi
11133      ;;
11134    esac
11135    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11136    # soname into executable. Probably we can add versioning support to
11137    # collect2, so additional links can be useful in future.
11138    if test "$aix_use_runtimelinking" = yes; then
11139      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11140      # instead of lib<name>.a to let people know that these are not
11141      # typical AIX shared libraries.
11142      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11143    else
11144      # We preserve .a as extension for shared libraries through AIX4.2
11145      # and later when we are not doing run time linking.
11146      library_names_spec='${libname}${release}.a $libname.a'
11147      soname_spec='${libname}${release}${shared_ext}$major'
11148    fi
11149    shlibpath_var=LIBPATH
11150  fi
11151  ;;
11152
11153amigaos*)
11154  case $host_cpu in
11155  powerpc)
11156    # Since July 2007 AmigaOS4 officially supports .so libraries.
11157    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11158    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11159    ;;
11160  m68k)
11161    library_names_spec='$libname.ixlibrary $libname.a'
11162    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11163    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11164    ;;
11165  esac
11166  ;;
11167
11168beos*)
11169  library_names_spec='${libname}${shared_ext}'
11170  dynamic_linker="$host_os ld.so"
11171  shlibpath_var=LIBRARY_PATH
11172  ;;
11173
11174bsdi[45]*)
11175  version_type=linux
11176  need_version=no
11177  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11178  soname_spec='${libname}${release}${shared_ext}$major'
11179  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11180  shlibpath_var=LD_LIBRARY_PATH
11181  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11182  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11183  # the default ld.so.conf also contains /usr/contrib/lib and
11184  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11185  # libtool to hard-code these into programs
11186  ;;
11187
11188cygwin* | mingw* | pw32* | cegcc*)
11189  version_type=windows
11190  shrext_cmds=".dll"
11191  need_version=no
11192  need_lib_prefix=no
11193
11194  case $GCC,$host_os in
11195  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11196    library_names_spec='$libname.dll.a'
11197    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11198    postinstall_cmds='base_file=`basename \${file}`~
11199      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11200      dldir=$destdir/`dirname \$dlpath`~
11201      test -d \$dldir || mkdir -p \$dldir~
11202      $install_prog $dir/$dlname \$dldir/$dlname~
11203      chmod a+x \$dldir/$dlname~
11204      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11205        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11206      fi'
11207    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11208      dlpath=$dir/\$dldll~
11209       $RM \$dlpath'
11210    shlibpath_overrides_runpath=yes
11211
11212    case $host_os in
11213    cygwin*)
11214      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11215      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11216      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11217      ;;
11218    mingw* | cegcc*)
11219      # MinGW DLLs use traditional 'lib' prefix
11220      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11221      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11222      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11223        # It is most probably a Windows format PATH printed by
11224        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11225        # path with ; separators, and with drive letters. We can handle the
11226        # drive letters (cygwin fileutils understands them), so leave them,
11227        # especially as we might pass files found there to a mingw objdump,
11228        # which wouldn't understand a cygwinified path. Ahh.
11229        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11230      else
11231        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11232      fi
11233      ;;
11234    pw32*)
11235      # pw32 DLLs use 'pw' prefix rather than 'lib'
11236      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11237      ;;
11238    esac
11239    ;;
11240
11241  *)
11242    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11243    ;;
11244  esac
11245  dynamic_linker='Win32 ld.exe'
11246  # FIXME: first we should search . and the directory the executable is in
11247  shlibpath_var=PATH
11248  ;;
11249
11250darwin* | rhapsody*)
11251  dynamic_linker="$host_os dyld"
11252  version_type=darwin
11253  need_lib_prefix=no
11254  need_version=no
11255  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11256  soname_spec='${libname}${release}${major}$shared_ext'
11257  shlibpath_overrides_runpath=yes
11258  shlibpath_var=DYLD_LIBRARY_PATH
11259  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11260
11261  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11262  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11263  ;;
11264
11265dgux*)
11266  version_type=linux
11267  need_lib_prefix=no
11268  need_version=no
11269  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11270  soname_spec='${libname}${release}${shared_ext}$major'
11271  shlibpath_var=LD_LIBRARY_PATH
11272  ;;
11273
11274freebsd1*)
11275  dynamic_linker=no
11276  ;;
11277
11278freebsd* | dragonfly*)
11279  # DragonFly does not have aout.  When/if they implement a new
11280  # versioning mechanism, adjust this.
11281  if test -x /usr/bin/objformat; then
11282    objformat=`/usr/bin/objformat`
11283  else
11284    case $host_os in
11285    freebsd[123]*) objformat=aout ;;
11286    *) objformat=elf ;;
11287    esac
11288  fi
11289  version_type=freebsd-$objformat
11290  case $version_type in
11291    freebsd-elf*)
11292      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11293      need_version=no
11294      need_lib_prefix=no
11295      ;;
11296    freebsd-*)
11297      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11298      need_version=yes
11299      ;;
11300  esac
11301  shlibpath_var=LD_LIBRARY_PATH
11302  case $host_os in
11303  freebsd2*)
11304    shlibpath_overrides_runpath=yes
11305    ;;
11306  freebsd3.[01]* | freebsdelf3.[01]*)
11307    shlibpath_overrides_runpath=yes
11308    hardcode_into_libs=yes
11309    ;;
11310  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11311  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11312    shlibpath_overrides_runpath=no
11313    hardcode_into_libs=yes
11314    ;;
11315  *) # from 4.6 on, and DragonFly
11316    shlibpath_overrides_runpath=yes
11317    hardcode_into_libs=yes
11318    ;;
11319  esac
11320  ;;
11321
11322gnu*)
11323  version_type=linux
11324  need_lib_prefix=no
11325  need_version=no
11326  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11327  soname_spec='${libname}${release}${shared_ext}$major'
11328  shlibpath_var=LD_LIBRARY_PATH
11329  hardcode_into_libs=yes
11330  ;;
11331
11332hpux9* | hpux10* | hpux11*)
11333  # Give a soname corresponding to the major version so that dld.sl refuses to
11334  # link against other versions.
11335  version_type=sunos
11336  need_lib_prefix=no
11337  need_version=no
11338  case $host_cpu in
11339  ia64*)
11340    shrext_cmds='.so'
11341    hardcode_into_libs=yes
11342    dynamic_linker="$host_os dld.so"
11343    shlibpath_var=LD_LIBRARY_PATH
11344    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11345    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11346    soname_spec='${libname}${release}${shared_ext}$major'
11347    if test "X$HPUX_IA64_MODE" = X32; then
11348      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11349    else
11350      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11351    fi
11352    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11353    ;;
11354  hppa*64*)
11355    shrext_cmds='.sl'
11356    hardcode_into_libs=yes
11357    dynamic_linker="$host_os dld.sl"
11358    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11359    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11360    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11361    soname_spec='${libname}${release}${shared_ext}$major'
11362    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11363    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11364    ;;
11365  *)
11366    shrext_cmds='.sl'
11367    dynamic_linker="$host_os dld.sl"
11368    shlibpath_var=SHLIB_PATH
11369    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11370    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11371    soname_spec='${libname}${release}${shared_ext}$major'
11372    ;;
11373  esac
11374  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11375  postinstall_cmds='chmod 555 $lib'
11376  ;;
11377
11378interix[3-9]*)
11379  version_type=linux
11380  need_lib_prefix=no
11381  need_version=no
11382  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11383  soname_spec='${libname}${release}${shared_ext}$major'
11384  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11385  shlibpath_var=LD_LIBRARY_PATH
11386  shlibpath_overrides_runpath=no
11387  hardcode_into_libs=yes
11388  ;;
11389
11390irix5* | irix6* | nonstopux*)
11391  case $host_os in
11392    nonstopux*) version_type=nonstopux ;;
11393    *)
11394	if test "$lt_cv_prog_gnu_ld" = yes; then
11395		version_type=linux
11396	else
11397		version_type=irix
11398	fi ;;
11399  esac
11400  need_lib_prefix=no
11401  need_version=no
11402  soname_spec='${libname}${release}${shared_ext}$major'
11403  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11404  case $host_os in
11405  irix5* | nonstopux*)
11406    libsuff= shlibsuff=
11407    ;;
11408  *)
11409    case $LD in # libtool.m4 will add one of these switches to LD
11410    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11411      libsuff= shlibsuff= libmagic=32-bit;;
11412    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11413      libsuff=32 shlibsuff=N32 libmagic=N32;;
11414    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11415      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11416    *) libsuff= shlibsuff= libmagic=never-match;;
11417    esac
11418    ;;
11419  esac
11420  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11421  shlibpath_overrides_runpath=no
11422  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11423  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11424  hardcode_into_libs=yes
11425  ;;
11426
11427# No shared lib support for Linux oldld, aout, or coff.
11428linux*oldld* | linux*aout* | linux*coff*)
11429  dynamic_linker=no
11430  ;;
11431
11432# This must be Linux ELF.
11433linux* | k*bsd*-gnu | kopensolaris*-gnu)
11434  version_type=linux
11435  need_lib_prefix=no
11436  need_version=no
11437  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11438  soname_spec='${libname}${release}${shared_ext}$major'
11439  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11440  shlibpath_var=LD_LIBRARY_PATH
11441  shlibpath_overrides_runpath=no
11442  # Some binutils ld are patched to set DT_RUNPATH
11443  save_LDFLAGS=$LDFLAGS
11444  save_libdir=$libdir
11445  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11446       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11447  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448/* end confdefs.h.  */
11449
11450int
11451main ()
11452{
11453
11454  ;
11455  return 0;
11456}
11457_ACEOF
11458if ac_fn_c_try_link "$LINENO"; then :
11459  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11460  shlibpath_overrides_runpath=yes
11461fi
11462fi
11463rm -f core conftest.err conftest.$ac_objext \
11464    conftest$ac_exeext conftest.$ac_ext
11465  LDFLAGS=$save_LDFLAGS
11466  libdir=$save_libdir
11467
11468  # This implies no fast_install, which is unacceptable.
11469  # Some rework will be needed to allow for fast_install
11470  # before this can be enabled.
11471  hardcode_into_libs=yes
11472
11473  # Append ld.so.conf contents to the search path
11474  if test -f /etc/ld.so.conf; then
11475    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;/^$/d' | tr '\n' ' '`
11476    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11477  fi
11478
11479  # We used to test for /lib/ld.so.1 and disable shared libraries on
11480  # powerpc, because MkLinux only supported shared libraries with the
11481  # GNU dynamic linker.  Since this was broken with cross compilers,
11482  # most powerpc-linux boxes support dynamic linking these days and
11483  # people can always --disable-shared, the test was removed, and we
11484  # assume the GNU/Linux dynamic linker is in use.
11485  dynamic_linker='GNU/Linux ld.so'
11486  ;;
11487
11488netbsdelf*-gnu)
11489  version_type=linux
11490  need_lib_prefix=no
11491  need_version=no
11492  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11493  soname_spec='${libname}${release}${shared_ext}$major'
11494  shlibpath_var=LD_LIBRARY_PATH
11495  shlibpath_overrides_runpath=no
11496  hardcode_into_libs=yes
11497  dynamic_linker='NetBSD ld.elf_so'
11498  ;;
11499
11500netbsd*)
11501  version_type=sunos
11502  need_lib_prefix=no
11503  need_version=no
11504  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11505    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11506    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11507    dynamic_linker='NetBSD (a.out) ld.so'
11508  else
11509    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11510    soname_spec='${libname}${release}${shared_ext}$major'
11511    dynamic_linker='NetBSD ld.elf_so'
11512  fi
11513  shlibpath_var=LD_LIBRARY_PATH
11514  shlibpath_overrides_runpath=yes
11515  hardcode_into_libs=yes
11516  ;;
11517
11518newsos6)
11519  version_type=linux
11520  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11521  shlibpath_var=LD_LIBRARY_PATH
11522  shlibpath_overrides_runpath=yes
11523  ;;
11524
11525*nto* | *qnx*)
11526  version_type=qnx
11527  need_lib_prefix=no
11528  need_version=no
11529  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11530  soname_spec='${libname}${release}${shared_ext}$major'
11531  shlibpath_var=LD_LIBRARY_PATH
11532  shlibpath_overrides_runpath=no
11533  hardcode_into_libs=yes
11534  dynamic_linker='ldqnx.so'
11535  ;;
11536
11537openbsd*)
11538  version_type=sunos
11539  sys_lib_dlsearch_path_spec="/usr/lib"
11540  need_lib_prefix=no
11541  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11542  case $host_os in
11543    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11544    *)				need_version=no  ;;
11545  esac
11546  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11547  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11548  shlibpath_var=LD_LIBRARY_PATH
11549  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11550    case $host_os in
11551      openbsd2.[89] | openbsd2.[89].*)
11552	shlibpath_overrides_runpath=no
11553	;;
11554      *)
11555	shlibpath_overrides_runpath=yes
11556	;;
11557      esac
11558  else
11559    shlibpath_overrides_runpath=yes
11560  fi
11561  ;;
11562
11563os2*)
11564  libname_spec='$name'
11565  shrext_cmds=".dll"
11566  need_lib_prefix=no
11567  library_names_spec='$libname${shared_ext} $libname.a'
11568  dynamic_linker='OS/2 ld.exe'
11569  shlibpath_var=LIBPATH
11570  ;;
11571
11572osf3* | osf4* | osf5*)
11573  version_type=osf
11574  need_lib_prefix=no
11575  need_version=no
11576  soname_spec='${libname}${release}${shared_ext}$major'
11577  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11578  shlibpath_var=LD_LIBRARY_PATH
11579  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11580  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11581  ;;
11582
11583rdos*)
11584  dynamic_linker=no
11585  ;;
11586
11587solaris*)
11588  version_type=linux
11589  need_lib_prefix=no
11590  need_version=no
11591  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11592  soname_spec='${libname}${release}${shared_ext}$major'
11593  shlibpath_var=LD_LIBRARY_PATH
11594  shlibpath_overrides_runpath=yes
11595  hardcode_into_libs=yes
11596  # ldd complains unless libraries are executable
11597  postinstall_cmds='chmod +x $lib'
11598  ;;
11599
11600sunos4*)
11601  version_type=sunos
11602  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11603  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11604  shlibpath_var=LD_LIBRARY_PATH
11605  shlibpath_overrides_runpath=yes
11606  if test "$with_gnu_ld" = yes; then
11607    need_lib_prefix=no
11608  fi
11609  need_version=yes
11610  ;;
11611
11612sysv4 | sysv4.3*)
11613  version_type=linux
11614  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11615  soname_spec='${libname}${release}${shared_ext}$major'
11616  shlibpath_var=LD_LIBRARY_PATH
11617  case $host_vendor in
11618    sni)
11619      shlibpath_overrides_runpath=no
11620      need_lib_prefix=no
11621      runpath_var=LD_RUN_PATH
11622      ;;
11623    siemens)
11624      need_lib_prefix=no
11625      ;;
11626    motorola)
11627      need_lib_prefix=no
11628      need_version=no
11629      shlibpath_overrides_runpath=no
11630      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11631      ;;
11632  esac
11633  ;;
11634
11635sysv4*MP*)
11636  if test -d /usr/nec ;then
11637    version_type=linux
11638    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11639    soname_spec='$libname${shared_ext}.$major'
11640    shlibpath_var=LD_LIBRARY_PATH
11641  fi
11642  ;;
11643
11644sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11645  version_type=freebsd-elf
11646  need_lib_prefix=no
11647  need_version=no
11648  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11649  soname_spec='${libname}${release}${shared_ext}$major'
11650  shlibpath_var=LD_LIBRARY_PATH
11651  shlibpath_overrides_runpath=yes
11652  hardcode_into_libs=yes
11653  if test "$with_gnu_ld" = yes; then
11654    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11655  else
11656    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11657    case $host_os in
11658      sco3.2v5*)
11659        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11660	;;
11661    esac
11662  fi
11663  sys_lib_dlsearch_path_spec='/usr/lib'
11664  ;;
11665
11666tpf*)
11667  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11668  version_type=linux
11669  need_lib_prefix=no
11670  need_version=no
11671  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11672  shlibpath_var=LD_LIBRARY_PATH
11673  shlibpath_overrides_runpath=no
11674  hardcode_into_libs=yes
11675  ;;
11676
11677uts4*)
11678  version_type=linux
11679  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11680  soname_spec='${libname}${release}${shared_ext}$major'
11681  shlibpath_var=LD_LIBRARY_PATH
11682  ;;
11683
11684*)
11685  dynamic_linker=no
11686  ;;
11687esac
11688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11689$as_echo "$dynamic_linker" >&6; }
11690test "$dynamic_linker" = no && can_build_shared=no
11691
11692variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11693if test "$GCC" = yes; then
11694  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11695fi
11696
11697if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11698  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11699fi
11700if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11701  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11702fi
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11791$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11792hardcode_action=
11793if test -n "$hardcode_libdir_flag_spec" ||
11794   test -n "$runpath_var" ||
11795   test "X$hardcode_automatic" = "Xyes" ; then
11796
11797  # We can hardcode non-existent directories.
11798  if test "$hardcode_direct" != no &&
11799     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11800     # have to relink, otherwise we might link with an installed library
11801     # when we should be linking with a yet-to-be-installed one
11802     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11803     test "$hardcode_minus_L" != no; then
11804    # Linking always hardcodes the temporary library directory.
11805    hardcode_action=relink
11806  else
11807    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11808    hardcode_action=immediate
11809  fi
11810else
11811  # We cannot hardcode anything, or else we can only hardcode existing
11812  # directories.
11813  hardcode_action=unsupported
11814fi
11815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11816$as_echo "$hardcode_action" >&6; }
11817
11818if test "$hardcode_action" = relink ||
11819   test "$inherit_rpath" = yes; then
11820  # Fast installation is not supported
11821  enable_fast_install=no
11822elif test "$shlibpath_overrides_runpath" = yes ||
11823     test "$enable_shared" = no; then
11824  # Fast installation is not necessary
11825  enable_fast_install=needless
11826fi
11827
11828
11829
11830
11831
11832
11833  if test "x$enable_dlopen" != xyes; then
11834  enable_dlopen=unknown
11835  enable_dlopen_self=unknown
11836  enable_dlopen_self_static=unknown
11837else
11838  lt_cv_dlopen=no
11839  lt_cv_dlopen_libs=
11840
11841  case $host_os in
11842  beos*)
11843    lt_cv_dlopen="load_add_on"
11844    lt_cv_dlopen_libs=
11845    lt_cv_dlopen_self=yes
11846    ;;
11847
11848  mingw* | pw32* | cegcc*)
11849    lt_cv_dlopen="LoadLibrary"
11850    lt_cv_dlopen_libs=
11851    ;;
11852
11853  cygwin*)
11854    lt_cv_dlopen="dlopen"
11855    lt_cv_dlopen_libs=
11856    ;;
11857
11858  darwin*)
11859  # if libdl is installed we need to link against it
11860    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11861$as_echo_n "checking for dlopen in -ldl... " >&6; }
11862if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11863  $as_echo_n "(cached) " >&6
11864else
11865  ac_check_lib_save_LIBS=$LIBS
11866LIBS="-ldl  $LIBS"
11867cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11868/* end confdefs.h.  */
11869
11870/* Override any GCC internal prototype to avoid an error.
11871   Use char because int might match the return type of a GCC
11872   builtin and then its argument prototype would still apply.  */
11873#ifdef __cplusplus
11874extern "C"
11875#endif
11876char dlopen ();
11877int
11878main ()
11879{
11880return dlopen ();
11881  ;
11882  return 0;
11883}
11884_ACEOF
11885if ac_fn_c_try_link "$LINENO"; then :
11886  ac_cv_lib_dl_dlopen=yes
11887else
11888  ac_cv_lib_dl_dlopen=no
11889fi
11890rm -f core conftest.err conftest.$ac_objext \
11891    conftest$ac_exeext conftest.$ac_ext
11892LIBS=$ac_check_lib_save_LIBS
11893fi
11894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11895$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11896if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11897  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11898else
11899
11900    lt_cv_dlopen="dyld"
11901    lt_cv_dlopen_libs=
11902    lt_cv_dlopen_self=yes
11903
11904fi
11905
11906    ;;
11907
11908  *)
11909    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11910if test "x$ac_cv_func_shl_load" = x""yes; then :
11911  lt_cv_dlopen="shl_load"
11912else
11913  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11914$as_echo_n "checking for shl_load in -ldld... " >&6; }
11915if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11916  $as_echo_n "(cached) " >&6
11917else
11918  ac_check_lib_save_LIBS=$LIBS
11919LIBS="-ldld  $LIBS"
11920cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11921/* end confdefs.h.  */
11922
11923/* Override any GCC internal prototype to avoid an error.
11924   Use char because int might match the return type of a GCC
11925   builtin and then its argument prototype would still apply.  */
11926#ifdef __cplusplus
11927extern "C"
11928#endif
11929char shl_load ();
11930int
11931main ()
11932{
11933return shl_load ();
11934  ;
11935  return 0;
11936}
11937_ACEOF
11938if ac_fn_c_try_link "$LINENO"; then :
11939  ac_cv_lib_dld_shl_load=yes
11940else
11941  ac_cv_lib_dld_shl_load=no
11942fi
11943rm -f core conftest.err conftest.$ac_objext \
11944    conftest$ac_exeext conftest.$ac_ext
11945LIBS=$ac_check_lib_save_LIBS
11946fi
11947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11948$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11949if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11950  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11951else
11952  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11953if test "x$ac_cv_func_dlopen" = x""yes; then :
11954  lt_cv_dlopen="dlopen"
11955else
11956  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11957$as_echo_n "checking for dlopen in -ldl... " >&6; }
11958if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11959  $as_echo_n "(cached) " >&6
11960else
11961  ac_check_lib_save_LIBS=$LIBS
11962LIBS="-ldl  $LIBS"
11963cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11964/* end confdefs.h.  */
11965
11966/* Override any GCC internal prototype to avoid an error.
11967   Use char because int might match the return type of a GCC
11968   builtin and then its argument prototype would still apply.  */
11969#ifdef __cplusplus
11970extern "C"
11971#endif
11972char dlopen ();
11973int
11974main ()
11975{
11976return dlopen ();
11977  ;
11978  return 0;
11979}
11980_ACEOF
11981if ac_fn_c_try_link "$LINENO"; then :
11982  ac_cv_lib_dl_dlopen=yes
11983else
11984  ac_cv_lib_dl_dlopen=no
11985fi
11986rm -f core conftest.err conftest.$ac_objext \
11987    conftest$ac_exeext conftest.$ac_ext
11988LIBS=$ac_check_lib_save_LIBS
11989fi
11990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11991$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11992if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11993  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11994else
11995  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11996$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11997if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11998  $as_echo_n "(cached) " >&6
11999else
12000  ac_check_lib_save_LIBS=$LIBS
12001LIBS="-lsvld  $LIBS"
12002cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12003/* end confdefs.h.  */
12004
12005/* Override any GCC internal prototype to avoid an error.
12006   Use char because int might match the return type of a GCC
12007   builtin and then its argument prototype would still apply.  */
12008#ifdef __cplusplus
12009extern "C"
12010#endif
12011char dlopen ();
12012int
12013main ()
12014{
12015return dlopen ();
12016  ;
12017  return 0;
12018}
12019_ACEOF
12020if ac_fn_c_try_link "$LINENO"; then :
12021  ac_cv_lib_svld_dlopen=yes
12022else
12023  ac_cv_lib_svld_dlopen=no
12024fi
12025rm -f core conftest.err conftest.$ac_objext \
12026    conftest$ac_exeext conftest.$ac_ext
12027LIBS=$ac_check_lib_save_LIBS
12028fi
12029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12030$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12031if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12032  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12033else
12034  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12035$as_echo_n "checking for dld_link in -ldld... " >&6; }
12036if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12037  $as_echo_n "(cached) " >&6
12038else
12039  ac_check_lib_save_LIBS=$LIBS
12040LIBS="-ldld  $LIBS"
12041cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12042/* end confdefs.h.  */
12043
12044/* Override any GCC internal prototype to avoid an error.
12045   Use char because int might match the return type of a GCC
12046   builtin and then its argument prototype would still apply.  */
12047#ifdef __cplusplus
12048extern "C"
12049#endif
12050char dld_link ();
12051int
12052main ()
12053{
12054return dld_link ();
12055  ;
12056  return 0;
12057}
12058_ACEOF
12059if ac_fn_c_try_link "$LINENO"; then :
12060  ac_cv_lib_dld_dld_link=yes
12061else
12062  ac_cv_lib_dld_dld_link=no
12063fi
12064rm -f core conftest.err conftest.$ac_objext \
12065    conftest$ac_exeext conftest.$ac_ext
12066LIBS=$ac_check_lib_save_LIBS
12067fi
12068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12069$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12070if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12071  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12072fi
12073
12074
12075fi
12076
12077
12078fi
12079
12080
12081fi
12082
12083
12084fi
12085
12086
12087fi
12088
12089    ;;
12090  esac
12091
12092  if test "x$lt_cv_dlopen" != xno; then
12093    enable_dlopen=yes
12094  else
12095    enable_dlopen=no
12096  fi
12097
12098  case $lt_cv_dlopen in
12099  dlopen)
12100    save_CPPFLAGS="$CPPFLAGS"
12101    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12102
12103    save_LDFLAGS="$LDFLAGS"
12104    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12105
12106    save_LIBS="$LIBS"
12107    LIBS="$lt_cv_dlopen_libs $LIBS"
12108
12109    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12110$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12111if test "${lt_cv_dlopen_self+set}" = set; then :
12112  $as_echo_n "(cached) " >&6
12113else
12114  	  if test "$cross_compiling" = yes; then :
12115  lt_cv_dlopen_self=cross
12116else
12117  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12118  lt_status=$lt_dlunknown
12119  cat > conftest.$ac_ext <<_LT_EOF
12120#line 12120 "configure"
12121#include "confdefs.h"
12122
12123#if HAVE_DLFCN_H
12124#include <dlfcn.h>
12125#endif
12126
12127#include <stdio.h>
12128
12129#ifdef RTLD_GLOBAL
12130#  define LT_DLGLOBAL		RTLD_GLOBAL
12131#else
12132#  ifdef DL_GLOBAL
12133#    define LT_DLGLOBAL		DL_GLOBAL
12134#  else
12135#    define LT_DLGLOBAL		0
12136#  endif
12137#endif
12138
12139/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12140   find out it does not work in some platform. */
12141#ifndef LT_DLLAZY_OR_NOW
12142#  ifdef RTLD_LAZY
12143#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12144#  else
12145#    ifdef DL_LAZY
12146#      define LT_DLLAZY_OR_NOW		DL_LAZY
12147#    else
12148#      ifdef RTLD_NOW
12149#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12150#      else
12151#        ifdef DL_NOW
12152#          define LT_DLLAZY_OR_NOW	DL_NOW
12153#        else
12154#          define LT_DLLAZY_OR_NOW	0
12155#        endif
12156#      endif
12157#    endif
12158#  endif
12159#endif
12160
12161void fnord() { int i=42;}
12162int main ()
12163{
12164  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12165  int status = $lt_dlunknown;
12166
12167  if (self)
12168    {
12169      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12170      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12171      /* dlclose (self); */
12172    }
12173  else
12174    puts (dlerror ());
12175
12176  return status;
12177}
12178_LT_EOF
12179  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12180  (eval $ac_link) 2>&5
12181  ac_status=$?
12182  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12183  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12184    (./conftest; exit; ) >&5 2>/dev/null
12185    lt_status=$?
12186    case x$lt_status in
12187      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12188      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12189      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12190    esac
12191  else :
12192    # compilation failed
12193    lt_cv_dlopen_self=no
12194  fi
12195fi
12196rm -fr conftest*
12197
12198
12199fi
12200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12201$as_echo "$lt_cv_dlopen_self" >&6; }
12202
12203    if test "x$lt_cv_dlopen_self" = xyes; then
12204      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12205      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12206$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12207if test "${lt_cv_dlopen_self_static+set}" = set; then :
12208  $as_echo_n "(cached) " >&6
12209else
12210  	  if test "$cross_compiling" = yes; then :
12211  lt_cv_dlopen_self_static=cross
12212else
12213  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12214  lt_status=$lt_dlunknown
12215  cat > conftest.$ac_ext <<_LT_EOF
12216#line 12216 "configure"
12217#include "confdefs.h"
12218
12219#if HAVE_DLFCN_H
12220#include <dlfcn.h>
12221#endif
12222
12223#include <stdio.h>
12224
12225#ifdef RTLD_GLOBAL
12226#  define LT_DLGLOBAL		RTLD_GLOBAL
12227#else
12228#  ifdef DL_GLOBAL
12229#    define LT_DLGLOBAL		DL_GLOBAL
12230#  else
12231#    define LT_DLGLOBAL		0
12232#  endif
12233#endif
12234
12235/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12236   find out it does not work in some platform. */
12237#ifndef LT_DLLAZY_OR_NOW
12238#  ifdef RTLD_LAZY
12239#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12240#  else
12241#    ifdef DL_LAZY
12242#      define LT_DLLAZY_OR_NOW		DL_LAZY
12243#    else
12244#      ifdef RTLD_NOW
12245#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12246#      else
12247#        ifdef DL_NOW
12248#          define LT_DLLAZY_OR_NOW	DL_NOW
12249#        else
12250#          define LT_DLLAZY_OR_NOW	0
12251#        endif
12252#      endif
12253#    endif
12254#  endif
12255#endif
12256
12257void fnord() { int i=42;}
12258int main ()
12259{
12260  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12261  int status = $lt_dlunknown;
12262
12263  if (self)
12264    {
12265      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12266      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12267      /* dlclose (self); */
12268    }
12269  else
12270    puts (dlerror ());
12271
12272  return status;
12273}
12274_LT_EOF
12275  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12276  (eval $ac_link) 2>&5
12277  ac_status=$?
12278  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12279  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12280    (./conftest; exit; ) >&5 2>/dev/null
12281    lt_status=$?
12282    case x$lt_status in
12283      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12284      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12285      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12286    esac
12287  else :
12288    # compilation failed
12289    lt_cv_dlopen_self_static=no
12290  fi
12291fi
12292rm -fr conftest*
12293
12294
12295fi
12296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12297$as_echo "$lt_cv_dlopen_self_static" >&6; }
12298    fi
12299
12300    CPPFLAGS="$save_CPPFLAGS"
12301    LDFLAGS="$save_LDFLAGS"
12302    LIBS="$save_LIBS"
12303    ;;
12304  esac
12305
12306  case $lt_cv_dlopen_self in
12307  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12308  *) enable_dlopen_self=unknown ;;
12309  esac
12310
12311  case $lt_cv_dlopen_self_static in
12312  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12313  *) enable_dlopen_self_static=unknown ;;
12314  esac
12315fi
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333striplib=
12334old_striplib=
12335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12336$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12337if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12338  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12339  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12340  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12341$as_echo "yes" >&6; }
12342else
12343# FIXME - insert some real tests, host_os isn't really good enough
12344  case $host_os in
12345  darwin*)
12346    if test -n "$STRIP" ; then
12347      striplib="$STRIP -x"
12348      old_striplib="$STRIP -S"
12349      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12350$as_echo "yes" >&6; }
12351    else
12352      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12353$as_echo "no" >&6; }
12354    fi
12355    ;;
12356  *)
12357    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12358$as_echo "no" >&6; }
12359    ;;
12360  esac
12361fi
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374  # Report which library types will actually be built
12375  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12376$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12378$as_echo "$can_build_shared" >&6; }
12379
12380  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12381$as_echo_n "checking whether to build shared libraries... " >&6; }
12382  test "$can_build_shared" = "no" && enable_shared=no
12383
12384  # On AIX, shared libraries and static libraries use the same namespace, and
12385  # are all built from PIC.
12386  case $host_os in
12387  aix3*)
12388    test "$enable_shared" = yes && enable_static=no
12389    if test -n "$RANLIB"; then
12390      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12391      postinstall_cmds='$RANLIB $lib'
12392    fi
12393    ;;
12394
12395  aix[4-9]*)
12396    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12397      test "$enable_shared" = yes && enable_static=no
12398    fi
12399    ;;
12400  esac
12401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12402$as_echo "$enable_shared" >&6; }
12403
12404  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12405$as_echo_n "checking whether to build static libraries... " >&6; }
12406  # Make sure either enable_shared or enable_static is yes.
12407  test "$enable_shared" = yes || enable_static=yes
12408  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12409$as_echo "$enable_static" >&6; }
12410
12411
12412
12413
12414fi
12415ac_ext=c
12416ac_cpp='$CPP $CPPFLAGS'
12417ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12418ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12419ac_compiler_gnu=$ac_cv_c_compiler_gnu
12420
12421CC="$lt_save_CC"
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435        ac_config_commands="$ac_config_commands libtool"
12436
12437
12438
12439
12440# Only expand once:
12441
12442
12443
12444
12445
12446if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12447	if test -n "$ac_tool_prefix"; then
12448  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12449set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12451$as_echo_n "checking for $ac_word... " >&6; }
12452if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12453  $as_echo_n "(cached) " >&6
12454else
12455  case $PKG_CONFIG in
12456  [\\/]* | ?:[\\/]*)
12457  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12458  ;;
12459  *)
12460  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12461for as_dir in $PATH
12462do
12463  IFS=$as_save_IFS
12464  test -z "$as_dir" && as_dir=.
12465    for ac_exec_ext in '' $ac_executable_extensions; do
12466  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12467    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12468    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12469    break 2
12470  fi
12471done
12472  done
12473IFS=$as_save_IFS
12474
12475  ;;
12476esac
12477fi
12478PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12479if test -n "$PKG_CONFIG"; then
12480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12481$as_echo "$PKG_CONFIG" >&6; }
12482else
12483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12484$as_echo "no" >&6; }
12485fi
12486
12487
12488fi
12489if test -z "$ac_cv_path_PKG_CONFIG"; then
12490  ac_pt_PKG_CONFIG=$PKG_CONFIG
12491  # Extract the first word of "pkg-config", so it can be a program name with args.
12492set dummy pkg-config; ac_word=$2
12493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12494$as_echo_n "checking for $ac_word... " >&6; }
12495if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12496  $as_echo_n "(cached) " >&6
12497else
12498  case $ac_pt_PKG_CONFIG in
12499  [\\/]* | ?:[\\/]*)
12500  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12501  ;;
12502  *)
12503  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12504for as_dir in $PATH
12505do
12506  IFS=$as_save_IFS
12507  test -z "$as_dir" && as_dir=.
12508    for ac_exec_ext in '' $ac_executable_extensions; do
12509  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12510    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12511    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12512    break 2
12513  fi
12514done
12515  done
12516IFS=$as_save_IFS
12517
12518  ;;
12519esac
12520fi
12521ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12522if test -n "$ac_pt_PKG_CONFIG"; then
12523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12524$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12525else
12526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12527$as_echo "no" >&6; }
12528fi
12529
12530  if test "x$ac_pt_PKG_CONFIG" = x; then
12531    PKG_CONFIG=""
12532  else
12533    case $cross_compiling:$ac_tool_warned in
12534yes:)
12535{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12536$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12537ac_tool_warned=yes ;;
12538esac
12539    PKG_CONFIG=$ac_pt_PKG_CONFIG
12540  fi
12541else
12542  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12543fi
12544
12545fi
12546if test -n "$PKG_CONFIG"; then
12547	_pkg_min_version=0.9.0
12548	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12549$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12550	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12551		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12552$as_echo "yes" >&6; }
12553	else
12554		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12555$as_echo "no" >&6; }
12556		PKG_CONFIG=""
12557	fi
12558
12559fi
12560
12561pkg_failed=no
12562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmpclyricsplugin" >&5
12563$as_echo_n "checking for gmpclyricsplugin... " >&6; }
12564
12565if test -n "$PKG_CONFIG"; then
12566    if test -n "$gmpclyricsplugin_CFLAGS"; then
12567        pkg_cv_gmpclyricsplugin_CFLAGS="$gmpclyricsplugin_CFLAGS"
12568    else
12569        if test -n "$PKG_CONFIG" && \
12570    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
12571    glib-2.0 >= 2.16
12572	gobject-2.0 >= 2.4
12573	gtk+-2.0 >= 2.12
12574	gmodule-2.0
12575	libxml-2.0
12576	gthread-2.0
12577	libmpd >= 0.15.98
12578	gmpc	>= 0.16.2
12579\""; } >&5
12580  ($PKG_CONFIG --exists --print-errors "
12581    glib-2.0 >= 2.16
12582	gobject-2.0 >= 2.4
12583	gtk+-2.0 >= 2.12
12584	gmodule-2.0
12585	libxml-2.0
12586	gthread-2.0
12587	libmpd >= 0.15.98
12588	gmpc	>= 0.16.2
12589") 2>&5
12590  ac_status=$?
12591  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12592  test $ac_status = 0; }; then
12593  pkg_cv_gmpclyricsplugin_CFLAGS=`$PKG_CONFIG --cflags "
12594    glib-2.0 >= 2.16
12595	gobject-2.0 >= 2.4
12596	gtk+-2.0 >= 2.12
12597	gmodule-2.0
12598	libxml-2.0
12599	gthread-2.0
12600	libmpd >= 0.15.98
12601	gmpc	>= 0.16.2
12602" 2>/dev/null`
12603else
12604  pkg_failed=yes
12605fi
12606    fi
12607else
12608	pkg_failed=untried
12609fi
12610if test -n "$PKG_CONFIG"; then
12611    if test -n "$gmpclyricsplugin_LIBS"; then
12612        pkg_cv_gmpclyricsplugin_LIBS="$gmpclyricsplugin_LIBS"
12613    else
12614        if test -n "$PKG_CONFIG" && \
12615    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
12616    glib-2.0 >= 2.16
12617	gobject-2.0 >= 2.4
12618	gtk+-2.0 >= 2.12
12619	gmodule-2.0
12620	libxml-2.0
12621	gthread-2.0
12622	libmpd >= 0.15.98
12623	gmpc	>= 0.16.2
12624\""; } >&5
12625  ($PKG_CONFIG --exists --print-errors "
12626    glib-2.0 >= 2.16
12627	gobject-2.0 >= 2.4
12628	gtk+-2.0 >= 2.12
12629	gmodule-2.0
12630	libxml-2.0
12631	gthread-2.0
12632	libmpd >= 0.15.98
12633	gmpc	>= 0.16.2
12634") 2>&5
12635  ac_status=$?
12636  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12637  test $ac_status = 0; }; then
12638  pkg_cv_gmpclyricsplugin_LIBS=`$PKG_CONFIG --libs "
12639    glib-2.0 >= 2.16
12640	gobject-2.0 >= 2.4
12641	gtk+-2.0 >= 2.12
12642	gmodule-2.0
12643	libxml-2.0
12644	gthread-2.0
12645	libmpd >= 0.15.98
12646	gmpc	>= 0.16.2
12647" 2>/dev/null`
12648else
12649  pkg_failed=yes
12650fi
12651    fi
12652else
12653	pkg_failed=untried
12654fi
12655
12656
12657
12658if test $pkg_failed = yes; then
12659
12660if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12661        _pkg_short_errors_supported=yes
12662else
12663        _pkg_short_errors_supported=no
12664fi
12665        if test $_pkg_short_errors_supported = yes; then
12666	        gmpclyricsplugin_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "
12667    glib-2.0 >= 2.16
12668	gobject-2.0 >= 2.4
12669	gtk+-2.0 >= 2.12
12670	gmodule-2.0
12671	libxml-2.0
12672	gthread-2.0
12673	libmpd >= 0.15.98
12674	gmpc	>= 0.16.2
12675"`
12676        else
12677	        gmpclyricsplugin_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "
12678    glib-2.0 >= 2.16
12679	gobject-2.0 >= 2.4
12680	gtk+-2.0 >= 2.12
12681	gmodule-2.0
12682	libxml-2.0
12683	gthread-2.0
12684	libmpd >= 0.15.98
12685	gmpc	>= 0.16.2
12686"`
12687        fi
12688	# Put the nasty error message in config.log where it belongs
12689	echo "$gmpclyricsplugin_PKG_ERRORS" >&5
12690
12691	as_fn_error "Package requirements (
12692    glib-2.0 >= 2.16
12693	gobject-2.0 >= 2.4
12694	gtk+-2.0 >= 2.12
12695	gmodule-2.0
12696	libxml-2.0
12697	gthread-2.0
12698	libmpd >= 0.15.98
12699	gmpc	>= 0.16.2
12700) were not met:
12701
12702$gmpclyricsplugin_PKG_ERRORS
12703
12704Consider adjusting the PKG_CONFIG_PATH environment variable if you
12705installed software in a non-standard prefix.
12706
12707Alternatively, you may set the environment variables gmpclyricsplugin_CFLAGS
12708and gmpclyricsplugin_LIBS to avoid the need to call pkg-config.
12709See the pkg-config man page for more details.
12710" "$LINENO" 5
12711elif test $pkg_failed = untried; then
12712	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12713$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12714as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
12715is in your PATH or set the PKG_CONFIG environment variable to the full
12716path to pkg-config.
12717
12718Alternatively, you may set the environment variables gmpclyricsplugin_CFLAGS
12719and gmpclyricsplugin_LIBS to avoid the need to call pkg-config.
12720See the pkg-config man page for more details.
12721
12722To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12723See \`config.log' for more details." "$LINENO" 5; }
12724else
12725	gmpclyricsplugin_CFLAGS=$pkg_cv_gmpclyricsplugin_CFLAGS
12726	gmpclyricsplugin_LIBS=$pkg_cv_gmpclyricsplugin_LIBS
12727        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12728$as_echo "yes" >&6; }
12729	:
12730fi
12731
12732
12733
12734
12735
12736ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in"
12737
12738cat >confcache <<\_ACEOF
12739# This file is a shell script that caches the results of configure
12740# tests run on this system so they can be shared between configure
12741# scripts and configure runs, see configure's option --config-cache.
12742# It is not useful on other systems.  If it contains results you don't
12743# want to keep, you may remove or edit it.
12744#
12745# config.status only pays attention to the cache file if you give it
12746# the --recheck option to rerun configure.
12747#
12748# `ac_cv_env_foo' variables (set or unset) will be overridden when
12749# loading this file, other *unset* `ac_cv_foo' will be assigned the
12750# following values.
12751
12752_ACEOF
12753
12754# The following way of writing the cache mishandles newlines in values,
12755# but we know of no workaround that is simple, portable, and efficient.
12756# So, we kill variables containing newlines.
12757# Ultrix sh set writes to stderr and can't be redirected directly,
12758# and sets the high bit in the cache file unless we assign to the vars.
12759(
12760  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12761    eval ac_val=\$$ac_var
12762    case $ac_val in #(
12763    *${as_nl}*)
12764      case $ac_var in #(
12765      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12766$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12767      esac
12768      case $ac_var in #(
12769      _ | IFS | as_nl) ;; #(
12770      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12771      *) { eval $ac_var=; unset $ac_var;} ;;
12772      esac ;;
12773    esac
12774  done
12775
12776  (set) 2>&1 |
12777    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12778    *${as_nl}ac_space=\ *)
12779      # `set' does not quote correctly, so add quotes: double-quote
12780      # substitution turns \\\\ into \\, and sed turns \\ into \.
12781      sed -n \
12782	"s/'/'\\\\''/g;
12783	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12784      ;; #(
12785    *)
12786      # `set' quotes correctly as required by POSIX, so do not add quotes.
12787      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12788      ;;
12789    esac |
12790    sort
12791) |
12792  sed '
12793     /^ac_cv_env_/b end
12794     t clear
12795     :clear
12796     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12797     t end
12798     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12799     :end' >>confcache
12800if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12801  if test -w "$cache_file"; then
12802    test "x$cache_file" != "x/dev/null" &&
12803      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12804$as_echo "$as_me: updating cache $cache_file" >&6;}
12805    cat confcache >$cache_file
12806  else
12807    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12808$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12809  fi
12810fi
12811rm -f confcache
12812
12813test "x$prefix" = xNONE && prefix=$ac_default_prefix
12814# Let make expand exec_prefix.
12815test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12816
12817DEFS=-DHAVE_CONFIG_H
12818
12819ac_libobjs=
12820ac_ltlibobjs=
12821for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12822  # 1. Remove the extension, and $U if already installed.
12823  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12824  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12825  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12826  #    will be set to the directory where LIBOBJS objects are built.
12827  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12828  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12829done
12830LIBOBJS=$ac_libobjs
12831
12832LTLIBOBJS=$ac_ltlibobjs
12833
12834
12835 if test -n "$EXEEXT"; then
12836  am__EXEEXT_TRUE=
12837  am__EXEEXT_FALSE='#'
12838else
12839  am__EXEEXT_TRUE='#'
12840  am__EXEEXT_FALSE=
12841fi
12842
12843if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12844  as_fn_error "conditional \"AMDEP\" was never defined.
12845Usually this means the macro was only invoked conditionally." "$LINENO" 5
12846fi
12847if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12848  as_fn_error "conditional \"am__fastdepCC\" was never defined.
12849Usually this means the macro was only invoked conditionally." "$LINENO" 5
12850fi
12851
12852  ac_config_commands="$ac_config_commands po/stamp-it"
12853
12854
12855if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12856  as_fn_error "conditional \"am__fastdepCC\" was never defined.
12857Usually this means the macro was only invoked conditionally." "$LINENO" 5
12858fi
12859
12860: ${CONFIG_STATUS=./config.status}
12861ac_write_fail=0
12862ac_clean_files_save=$ac_clean_files
12863ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12864{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12865$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12866as_write_fail=0
12867cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12868#! $SHELL
12869# Generated by $as_me.
12870# Run this file to recreate the current configuration.
12871# Compiler output produced by configure, useful for debugging
12872# configure, is in config.log if it exists.
12873
12874debug=false
12875ac_cs_recheck=false
12876ac_cs_silent=false
12877
12878SHELL=\${CONFIG_SHELL-$SHELL}
12879export SHELL
12880_ASEOF
12881cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12882## -------------------- ##
12883## M4sh Initialization. ##
12884## -------------------- ##
12885
12886# Be more Bourne compatible
12887DUALCASE=1; export DUALCASE # for MKS sh
12888if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12889  emulate sh
12890  NULLCMD=:
12891  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12892  # is contrary to our usage.  Disable this feature.
12893  alias -g '${1+"$@"}'='"$@"'
12894  setopt NO_GLOB_SUBST
12895else
12896  case `(set -o) 2>/dev/null` in #(
12897  *posix*) :
12898    set -o posix ;; #(
12899  *) :
12900     ;;
12901esac
12902fi
12903
12904
12905as_nl='
12906'
12907export as_nl
12908# Printing a long string crashes Solaris 7 /usr/bin/printf.
12909as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12910as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12911as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12912# Prefer a ksh shell builtin over an external printf program on Solaris,
12913# but without wasting forks for bash or zsh.
12914if test -z "$BASH_VERSION$ZSH_VERSION" \
12915    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12916  as_echo='print -r --'
12917  as_echo_n='print -rn --'
12918elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12919  as_echo='printf %s\n'
12920  as_echo_n='printf %s'
12921else
12922  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12923    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12924    as_echo_n='/usr/ucb/echo -n'
12925  else
12926    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12927    as_echo_n_body='eval
12928      arg=$1;
12929      case $arg in #(
12930      *"$as_nl"*)
12931	expr "X$arg" : "X\\(.*\\)$as_nl";
12932	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12933      esac;
12934      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12935    '
12936    export as_echo_n_body
12937    as_echo_n='sh -c $as_echo_n_body as_echo'
12938  fi
12939  export as_echo_body
12940  as_echo='sh -c $as_echo_body as_echo'
12941fi
12942
12943# The user is always right.
12944if test "${PATH_SEPARATOR+set}" != set; then
12945  PATH_SEPARATOR=:
12946  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12947    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12948      PATH_SEPARATOR=';'
12949  }
12950fi
12951
12952
12953# IFS
12954# We need space, tab and new line, in precisely that order.  Quoting is
12955# there to prevent editors from complaining about space-tab.
12956# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12957# splitting by setting IFS to empty value.)
12958IFS=" ""	$as_nl"
12959
12960# Find who we are.  Look in the path if we contain no directory separator.
12961case $0 in #((
12962  *[\\/]* ) as_myself=$0 ;;
12963  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12964for as_dir in $PATH
12965do
12966  IFS=$as_save_IFS
12967  test -z "$as_dir" && as_dir=.
12968    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12969  done
12970IFS=$as_save_IFS
12971
12972     ;;
12973esac
12974# We did not find ourselves, most probably we were run as `sh COMMAND'
12975# in which case we are not to be found in the path.
12976if test "x$as_myself" = x; then
12977  as_myself=$0
12978fi
12979if test ! -f "$as_myself"; then
12980  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12981  exit 1
12982fi
12983
12984# Unset variables that we do not need and which cause bugs (e.g. in
12985# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12986# suppresses any "Segmentation fault" message there.  '((' could
12987# trigger a bug in pdksh 5.2.14.
12988for as_var in BASH_ENV ENV MAIL MAILPATH
12989do eval test x\${$as_var+set} = xset \
12990  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12991done
12992PS1='$ '
12993PS2='> '
12994PS4='+ '
12995
12996# NLS nuisances.
12997LC_ALL=C
12998export LC_ALL
12999LANGUAGE=C
13000export LANGUAGE
13001
13002# CDPATH.
13003(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13004
13005
13006# as_fn_error ERROR [LINENO LOG_FD]
13007# ---------------------------------
13008# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13009# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13010# script with status $?, using 1 if that was 0.
13011as_fn_error ()
13012{
13013  as_status=$?; test $as_status -eq 0 && as_status=1
13014  if test "$3"; then
13015    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13016    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13017  fi
13018  $as_echo "$as_me: error: $1" >&2
13019  as_fn_exit $as_status
13020} # as_fn_error
13021
13022
13023# as_fn_set_status STATUS
13024# -----------------------
13025# Set $? to STATUS, without forking.
13026as_fn_set_status ()
13027{
13028  return $1
13029} # as_fn_set_status
13030
13031# as_fn_exit STATUS
13032# -----------------
13033# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13034as_fn_exit ()
13035{
13036  set +e
13037  as_fn_set_status $1
13038  exit $1
13039} # as_fn_exit
13040
13041# as_fn_unset VAR
13042# ---------------
13043# Portably unset VAR.
13044as_fn_unset ()
13045{
13046  { eval $1=; unset $1;}
13047}
13048as_unset=as_fn_unset
13049# as_fn_append VAR VALUE
13050# ----------------------
13051# Append the text in VALUE to the end of the definition contained in VAR. Take
13052# advantage of any shell optimizations that allow amortized linear growth over
13053# repeated appends, instead of the typical quadratic growth present in naive
13054# implementations.
13055if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13056  eval 'as_fn_append ()
13057  {
13058    eval $1+=\$2
13059  }'
13060else
13061  as_fn_append ()
13062  {
13063    eval $1=\$$1\$2
13064  }
13065fi # as_fn_append
13066
13067# as_fn_arith ARG...
13068# ------------------
13069# Perform arithmetic evaluation on the ARGs, and store the result in the
13070# global $as_val. Take advantage of shells that can avoid forks. The arguments
13071# must be portable across $(()) and expr.
13072if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13073  eval 'as_fn_arith ()
13074  {
13075    as_val=$(( $* ))
13076  }'
13077else
13078  as_fn_arith ()
13079  {
13080    as_val=`expr "$@" || test $? -eq 1`
13081  }
13082fi # as_fn_arith
13083
13084
13085if expr a : '\(a\)' >/dev/null 2>&1 &&
13086   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13087  as_expr=expr
13088else
13089  as_expr=false
13090fi
13091
13092if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13093  as_basename=basename
13094else
13095  as_basename=false
13096fi
13097
13098if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13099  as_dirname=dirname
13100else
13101  as_dirname=false
13102fi
13103
13104as_me=`$as_basename -- "$0" ||
13105$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13106	 X"$0" : 'X\(//\)$' \| \
13107	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13108$as_echo X/"$0" |
13109    sed '/^.*\/\([^/][^/]*\)\/*$/{
13110	    s//\1/
13111	    q
13112	  }
13113	  /^X\/\(\/\/\)$/{
13114	    s//\1/
13115	    q
13116	  }
13117	  /^X\/\(\/\).*/{
13118	    s//\1/
13119	    q
13120	  }
13121	  s/.*/./; q'`
13122
13123# Avoid depending upon Character Ranges.
13124as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13125as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13126as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13127as_cr_digits='0123456789'
13128as_cr_alnum=$as_cr_Letters$as_cr_digits
13129
13130ECHO_C= ECHO_N= ECHO_T=
13131case `echo -n x` in #(((((
13132-n*)
13133  case `echo 'xy\c'` in
13134  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13135  xy)  ECHO_C='\c';;
13136  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13137       ECHO_T='	';;
13138  esac;;
13139*)
13140  ECHO_N='-n';;
13141esac
13142
13143rm -f conf$$ conf$$.exe conf$$.file
13144if test -d conf$$.dir; then
13145  rm -f conf$$.dir/conf$$.file
13146else
13147  rm -f conf$$.dir
13148  mkdir conf$$.dir 2>/dev/null
13149fi
13150if (echo >conf$$.file) 2>/dev/null; then
13151  if ln -s conf$$.file conf$$ 2>/dev/null; then
13152    as_ln_s='ln -s'
13153    # ... but there are two gotchas:
13154    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13155    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13156    # In both cases, we have to default to `cp -p'.
13157    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13158      as_ln_s='cp -p'
13159  elif ln conf$$.file conf$$ 2>/dev/null; then
13160    as_ln_s=ln
13161  else
13162    as_ln_s='cp -p'
13163  fi
13164else
13165  as_ln_s='cp -p'
13166fi
13167rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13168rmdir conf$$.dir 2>/dev/null
13169
13170
13171# as_fn_mkdir_p
13172# -------------
13173# Create "$as_dir" as a directory, including parents if necessary.
13174as_fn_mkdir_p ()
13175{
13176
13177  case $as_dir in #(
13178  -*) as_dir=./$as_dir;;
13179  esac
13180  test -d "$as_dir" || eval $as_mkdir_p || {
13181    as_dirs=
13182    while :; do
13183      case $as_dir in #(
13184      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13185      *) as_qdir=$as_dir;;
13186      esac
13187      as_dirs="'$as_qdir' $as_dirs"
13188      as_dir=`$as_dirname -- "$as_dir" ||
13189$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13190	 X"$as_dir" : 'X\(//\)[^/]' \| \
13191	 X"$as_dir" : 'X\(//\)$' \| \
13192	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13193$as_echo X"$as_dir" |
13194    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13195	    s//\1/
13196	    q
13197	  }
13198	  /^X\(\/\/\)[^/].*/{
13199	    s//\1/
13200	    q
13201	  }
13202	  /^X\(\/\/\)$/{
13203	    s//\1/
13204	    q
13205	  }
13206	  /^X\(\/\).*/{
13207	    s//\1/
13208	    q
13209	  }
13210	  s/.*/./; q'`
13211      test -d "$as_dir" && break
13212    done
13213    test -z "$as_dirs" || eval "mkdir $as_dirs"
13214  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
13215
13216
13217} # as_fn_mkdir_p
13218if mkdir -p . 2>/dev/null; then
13219  as_mkdir_p='mkdir -p "$as_dir"'
13220else
13221  test -d ./-p && rmdir ./-p
13222  as_mkdir_p=false
13223fi
13224
13225if test -x / >/dev/null 2>&1; then
13226  as_test_x='test -x'
13227else
13228  if ls -dL / >/dev/null 2>&1; then
13229    as_ls_L_option=L
13230  else
13231    as_ls_L_option=
13232  fi
13233  as_test_x='
13234    eval sh -c '\''
13235      if test -d "$1"; then
13236	test -d "$1/.";
13237      else
13238	case $1 in #(
13239	-*)set "./$1";;
13240	esac;
13241	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13242	???[sx]*):;;*)false;;esac;fi
13243    '\'' sh
13244  '
13245fi
13246as_executable_p=$as_test_x
13247
13248# Sed expression to map a string onto a valid CPP name.
13249as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13250
13251# Sed expression to map a string onto a valid variable name.
13252as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13253
13254
13255exec 6>&1
13256## ----------------------------------- ##
13257## Main body of $CONFIG_STATUS script. ##
13258## ----------------------------------- ##
13259_ASEOF
13260test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13261
13262cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13263# Save the log message, to keep $0 and so on meaningful, and to
13264# report actual input values of CONFIG_FILES etc. instead of their
13265# values after options handling.
13266ac_log="
13267This file was extended by gmpc-lyricsplugin $as_me 0.20.0, which was
13268generated by GNU Autoconf 2.65.  Invocation command line was
13269
13270  CONFIG_FILES    = $CONFIG_FILES
13271  CONFIG_HEADERS  = $CONFIG_HEADERS
13272  CONFIG_LINKS    = $CONFIG_LINKS
13273  CONFIG_COMMANDS = $CONFIG_COMMANDS
13274  $ $0 $@
13275
13276on `(hostname || uname -n) 2>/dev/null | sed 1q`
13277"
13278
13279_ACEOF
13280
13281case $ac_config_files in *"
13282"*) set x $ac_config_files; shift; ac_config_files=$*;;
13283esac
13284
13285case $ac_config_headers in *"
13286"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13287esac
13288
13289
13290cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13291# Files that config.status was made for.
13292config_files="$ac_config_files"
13293config_headers="$ac_config_headers"
13294config_commands="$ac_config_commands"
13295
13296_ACEOF
13297
13298cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13299ac_cs_usage="\
13300\`$as_me' instantiates files and other configuration actions
13301from templates according to the current configuration.  Unless the files
13302and actions are specified as TAGs, all are instantiated by default.
13303
13304Usage: $0 [OPTION]... [TAG]...
13305
13306  -h, --help       print this help, then exit
13307  -V, --version    print version number and configuration settings, then exit
13308      --config     print configuration, then exit
13309  -q, --quiet, --silent
13310                   do not print progress messages
13311  -d, --debug      don't remove temporary files
13312      --recheck    update $as_me by reconfiguring in the same conditions
13313      --file=FILE[:TEMPLATE]
13314                   instantiate the configuration file FILE
13315      --header=FILE[:TEMPLATE]
13316                   instantiate the configuration header FILE
13317
13318Configuration files:
13319$config_files
13320
13321Configuration headers:
13322$config_headers
13323
13324Configuration commands:
13325$config_commands
13326
13327Report bugs to <qball@sarine.nl>."
13328
13329_ACEOF
13330cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13331ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13332ac_cs_version="\\
13333gmpc-lyricsplugin config.status 0.20.0
13334configured by $0, generated by GNU Autoconf 2.65,
13335  with options \\"\$ac_cs_config\\"
13336
13337Copyright (C) 2009 Free Software Foundation, Inc.
13338This config.status script is free software; the Free Software Foundation
13339gives unlimited permission to copy, distribute and modify it."
13340
13341ac_pwd='$ac_pwd'
13342srcdir='$srcdir'
13343INSTALL='$INSTALL'
13344MKDIR_P='$MKDIR_P'
13345AWK='$AWK'
13346test -n "\$AWK" || AWK=awk
13347_ACEOF
13348
13349cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13350# The default lists apply if the user does not specify any file.
13351ac_need_defaults=:
13352while test $# != 0
13353do
13354  case $1 in
13355  --*=*)
13356    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13357    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13358    ac_shift=:
13359    ;;
13360  *)
13361    ac_option=$1
13362    ac_optarg=$2
13363    ac_shift=shift
13364    ;;
13365  esac
13366
13367  case $ac_option in
13368  # Handling of the options.
13369  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13370    ac_cs_recheck=: ;;
13371  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13372    $as_echo "$ac_cs_version"; exit ;;
13373  --config | --confi | --conf | --con | --co | --c )
13374    $as_echo "$ac_cs_config"; exit ;;
13375  --debug | --debu | --deb | --de | --d | -d )
13376    debug=: ;;
13377  --file | --fil | --fi | --f )
13378    $ac_shift
13379    case $ac_optarg in
13380    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13381    esac
13382    as_fn_append CONFIG_FILES " '$ac_optarg'"
13383    ac_need_defaults=false;;
13384  --header | --heade | --head | --hea )
13385    $ac_shift
13386    case $ac_optarg in
13387    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13388    esac
13389    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13390    ac_need_defaults=false;;
13391  --he | --h)
13392    # Conflict between --help and --header
13393    as_fn_error "ambiguous option: \`$1'
13394Try \`$0 --help' for more information.";;
13395  --help | --hel | -h )
13396    $as_echo "$ac_cs_usage"; exit ;;
13397  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13398  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13399    ac_cs_silent=: ;;
13400
13401  # This is an error.
13402  -*) as_fn_error "unrecognized option: \`$1'
13403Try \`$0 --help' for more information." ;;
13404
13405  *) as_fn_append ac_config_targets " $1"
13406     ac_need_defaults=false ;;
13407
13408  esac
13409  shift
13410done
13411
13412ac_configure_extra_args=
13413
13414if $ac_cs_silent; then
13415  exec 6>/dev/null
13416  ac_configure_extra_args="$ac_configure_extra_args --silent"
13417fi
13418
13419_ACEOF
13420cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13421if \$ac_cs_recheck; then
13422  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13423  shift
13424  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13425  CONFIG_SHELL='$SHELL'
13426  export CONFIG_SHELL
13427  exec "\$@"
13428fi
13429
13430_ACEOF
13431cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13432exec 5>>config.log
13433{
13434  echo
13435  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13436## Running $as_me. ##
13437_ASBOX
13438  $as_echo "$ac_log"
13439} >&5
13440
13441_ACEOF
13442cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13443#
13444# INIT-COMMANDS
13445#
13446AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13447
13448
13449
13450# The HP-UX ksh and POSIX shell print the target directory to stdout
13451# if CDPATH is set.
13452(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13453
13454sed_quote_subst='$sed_quote_subst'
13455double_quote_subst='$double_quote_subst'
13456delay_variable_subst='$delay_variable_subst'
13457enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13458macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13459macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13460enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13461pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13462enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13463host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13464host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13465host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13466build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13467build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13468build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13469SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13470Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13471GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13472EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13473FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13474LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13475NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13476LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13477max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13478ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13479exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13480lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13481lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13482lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13483reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13484reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13485OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13486deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13487file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13488AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13489AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13490STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13491RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13492old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13493old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13494old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13495CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13496CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13497compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13498GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13499lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13500lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13501lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13502lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13503objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13504SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13505ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13506MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13507lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13508lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13509lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13510lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13511lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13512need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13513DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13514NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13515LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13516OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13517OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13518libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13519shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13520extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13521archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13522enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13523export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13524whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13525compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13526old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13527old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13528archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13529archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13530module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13531module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13532with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13533allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13534no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13535hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13536hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13537hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13538hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13539hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13540hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13541hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13542hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13543inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13544link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13545fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13546always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13547export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13548exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13549include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13550prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13551file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13552variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13553need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13554need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13555version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13556runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13557shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13558shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13559libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13560library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13561soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13562postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13563postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13564finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13565finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13566hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13567sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13568sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13569hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13570enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13571enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13572enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13573old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13574striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13575
13576LTCC='$LTCC'
13577LTCFLAGS='$LTCFLAGS'
13578compiler='$compiler_DEFAULT'
13579
13580# Quote evaled strings.
13581for var in SED \
13582GREP \
13583EGREP \
13584FGREP \
13585LD \
13586NM \
13587LN_S \
13588lt_SP2NL \
13589lt_NL2SP \
13590reload_flag \
13591OBJDUMP \
13592deplibs_check_method \
13593file_magic_cmd \
13594AR \
13595AR_FLAGS \
13596STRIP \
13597RANLIB \
13598CC \
13599CFLAGS \
13600compiler \
13601lt_cv_sys_global_symbol_pipe \
13602lt_cv_sys_global_symbol_to_cdecl \
13603lt_cv_sys_global_symbol_to_c_name_address \
13604lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13605SHELL \
13606ECHO \
13607lt_prog_compiler_no_builtin_flag \
13608lt_prog_compiler_wl \
13609lt_prog_compiler_pic \
13610lt_prog_compiler_static \
13611lt_cv_prog_compiler_c_o \
13612need_locks \
13613DSYMUTIL \
13614NMEDIT \
13615LIPO \
13616OTOOL \
13617OTOOL64 \
13618shrext_cmds \
13619export_dynamic_flag_spec \
13620whole_archive_flag_spec \
13621compiler_needs_object \
13622with_gnu_ld \
13623allow_undefined_flag \
13624no_undefined_flag \
13625hardcode_libdir_flag_spec \
13626hardcode_libdir_flag_spec_ld \
13627hardcode_libdir_separator \
13628fix_srcfile_path \
13629exclude_expsyms \
13630include_expsyms \
13631file_list_spec \
13632variables_saved_for_relink \
13633libname_spec \
13634library_names_spec \
13635soname_spec \
13636finish_eval \
13637old_striplib \
13638striplib; do
13639    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13640    *[\\\\\\\`\\"\\\$]*)
13641      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13642      ;;
13643    *)
13644      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13645      ;;
13646    esac
13647done
13648
13649# Double-quote double-evaled strings.
13650for var in reload_cmds \
13651old_postinstall_cmds \
13652old_postuninstall_cmds \
13653old_archive_cmds \
13654extract_expsyms_cmds \
13655old_archive_from_new_cmds \
13656old_archive_from_expsyms_cmds \
13657archive_cmds \
13658archive_expsym_cmds \
13659module_cmds \
13660module_expsym_cmds \
13661export_symbols_cmds \
13662prelink_cmds \
13663postinstall_cmds \
13664postuninstall_cmds \
13665finish_cmds \
13666sys_lib_search_path_spec \
13667sys_lib_dlsearch_path_spec; do
13668    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13669    *[\\\\\\\`\\"\\\$]*)
13670      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13671      ;;
13672    *)
13673      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13674      ;;
13675    esac
13676done
13677
13678# Fix-up fallback echo if it was mangled by the above quoting rules.
13679case \$lt_ECHO in
13680*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13681  ;;
13682esac
13683
13684ac_aux_dir='$ac_aux_dir'
13685xsi_shell='$xsi_shell'
13686lt_shell_append='$lt_shell_append'
13687
13688# See if we are running on zsh, and set the options which allow our
13689# commands through without removal of \ escapes INIT.
13690if test -n "\${ZSH_VERSION+set}" ; then
13691   setopt NO_GLOB_SUBST
13692fi
13693
13694
13695    PACKAGE='$PACKAGE'
13696    VERSION='$VERSION'
13697    TIMESTAMP='$TIMESTAMP'
13698    RM='$RM'
13699    ofile='$ofile'
13700
13701
13702
13703
13704_ACEOF
13705
13706cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13707
13708# Handling of arguments.
13709for ac_config_target in $ac_config_targets
13710do
13711  case $ac_config_target in
13712    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13713    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13714    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13715    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13716    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13717    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13718    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
13719    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
13720
13721  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13722  esac
13723done
13724
13725
13726# If the user did not use the arguments to specify the items to instantiate,
13727# then the envvar interface is used.  Set only those that are not.
13728# We use the long form for the default assignment because of an extremely
13729# bizarre bug on SunOS 4.1.3.
13730if $ac_need_defaults; then
13731  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13732  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13733  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13734fi
13735
13736# Have a temporary directory for convenience.  Make it in the build tree
13737# simply because there is no reason against having it here, and in addition,
13738# creating and moving files from /tmp can sometimes cause problems.
13739# Hook for its removal unless debugging.
13740# Note that there is a small window in which the directory will not be cleaned:
13741# after its creation but before its name has been assigned to `$tmp'.
13742$debug ||
13743{
13744  tmp=
13745  trap 'exit_status=$?
13746  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13747' 0
13748  trap 'as_fn_exit 1' 1 2 13 15
13749}
13750# Create a (secure) tmp directory for tmp files.
13751
13752{
13753  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13754  test -n "$tmp" && test -d "$tmp"
13755}  ||
13756{
13757  tmp=./conf$$-$RANDOM
13758  (umask 077 && mkdir "$tmp")
13759} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
13760
13761# Set up the scripts for CONFIG_FILES section.
13762# No need to generate them if there are no CONFIG_FILES.
13763# This happens for instance with `./config.status config.h'.
13764if test -n "$CONFIG_FILES"; then
13765
13766
13767ac_cr=`echo X | tr X '\015'`
13768# On cygwin, bash can eat \r inside `` if the user requested igncr.
13769# But we know of no other shell where ac_cr would be empty at this
13770# point, so we can use a bashism as a fallback.
13771if test "x$ac_cr" = x; then
13772  eval ac_cr=\$\'\\r\'
13773fi
13774ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13775if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13776  ac_cs_awk_cr='\r'
13777else
13778  ac_cs_awk_cr=$ac_cr
13779fi
13780
13781echo 'BEGIN {' >"$tmp/subs1.awk" &&
13782_ACEOF
13783
13784
13785{
13786  echo "cat >conf$$subs.awk <<_ACEOF" &&
13787  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13788  echo "_ACEOF"
13789} >conf$$subs.sh ||
13790  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13791ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13792ac_delim='%!_!# '
13793for ac_last_try in false false false false false :; do
13794  . ./conf$$subs.sh ||
13795    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13796
13797  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13798  if test $ac_delim_n = $ac_delim_num; then
13799    break
13800  elif $ac_last_try; then
13801    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13802  else
13803    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13804  fi
13805done
13806rm -f conf$$subs.sh
13807
13808cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13809cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13810_ACEOF
13811sed -n '
13812h
13813s/^/S["/; s/!.*/"]=/
13814p
13815g
13816s/^[^!]*!//
13817:repl
13818t repl
13819s/'"$ac_delim"'$//
13820t delim
13821:nl
13822h
13823s/\(.\{148\}\)..*/\1/
13824t more1
13825s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13826p
13827n
13828b repl
13829:more1
13830s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13831p
13832g
13833s/.\{148\}//
13834t nl
13835:delim
13836h
13837s/\(.\{148\}\)..*/\1/
13838t more2
13839s/["\\]/\\&/g; s/^/"/; s/$/"/
13840p
13841b
13842:more2
13843s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13844p
13845g
13846s/.\{148\}//
13847t delim
13848' <conf$$subs.awk | sed '
13849/^[^""]/{
13850  N
13851  s/\n//
13852}
13853' >>$CONFIG_STATUS || ac_write_fail=1
13854rm -f conf$$subs.awk
13855cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13856_ACAWK
13857cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13858  for (key in S) S_is_set[key] = 1
13859  FS = ""
13860
13861}
13862{
13863  line = $ 0
13864  nfields = split(line, field, "@")
13865  substed = 0
13866  len = length(field[1])
13867  for (i = 2; i < nfields; i++) {
13868    key = field[i]
13869    keylen = length(key)
13870    if (S_is_set[key]) {
13871      value = S[key]
13872      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13873      len += length(value) + length(field[++i])
13874      substed = 1
13875    } else
13876      len += 1 + keylen
13877  }
13878
13879  print line
13880}
13881
13882_ACAWK
13883_ACEOF
13884cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13885if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13886  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13887else
13888  cat
13889fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13890  || as_fn_error "could not setup config files machinery" "$LINENO" 5
13891_ACEOF
13892
13893# VPATH may cause trouble with some makes, so we remove $(srcdir),
13894# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13895# trailing colons and then remove the whole line if VPATH becomes empty
13896# (actually we leave an empty line to preserve line numbers).
13897if test "x$srcdir" = x.; then
13898  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
13899s/:*\$(srcdir):*/:/
13900s/:*\${srcdir}:*/:/
13901s/:*@srcdir@:*/:/
13902s/^\([^=]*=[	 ]*\):*/\1/
13903s/:*$//
13904s/^[^=]*=[	 ]*$//
13905}'
13906fi
13907
13908cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13909fi # test -n "$CONFIG_FILES"
13910
13911# Set up the scripts for CONFIG_HEADERS section.
13912# No need to generate them if there are no CONFIG_HEADERS.
13913# This happens for instance with `./config.status Makefile'.
13914if test -n "$CONFIG_HEADERS"; then
13915cat >"$tmp/defines.awk" <<\_ACAWK ||
13916BEGIN {
13917_ACEOF
13918
13919# Transform confdefs.h into an awk script `defines.awk', embedded as
13920# here-document in config.status, that substitutes the proper values into
13921# config.h.in to produce config.h.
13922
13923# Create a delimiter string that does not exist in confdefs.h, to ease
13924# handling of long lines.
13925ac_delim='%!_!# '
13926for ac_last_try in false false :; do
13927  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13928  if test -z "$ac_t"; then
13929    break
13930  elif $ac_last_try; then
13931    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
13932  else
13933    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13934  fi
13935done
13936
13937# For the awk script, D is an array of macro values keyed by name,
13938# likewise P contains macro parameters if any.  Preserve backslash
13939# newline sequences.
13940
13941ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13942sed -n '
13943s/.\{148\}/&'"$ac_delim"'/g
13944t rset
13945:rset
13946s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
13947t def
13948d
13949:def
13950s/\\$//
13951t bsnl
13952s/["\\]/\\&/g
13953s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13954D["\1"]=" \3"/p
13955s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
13956d
13957:bsnl
13958s/["\\]/\\&/g
13959s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13960D["\1"]=" \3\\\\\\n"\\/p
13961t cont
13962s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13963t cont
13964d
13965:cont
13966n
13967s/.\{148\}/&'"$ac_delim"'/g
13968t clear
13969:clear
13970s/\\$//
13971t bsnlc
13972s/["\\]/\\&/g; s/^/"/; s/$/"/p
13973d
13974:bsnlc
13975s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13976b cont
13977' <confdefs.h | sed '
13978s/'"$ac_delim"'/"\\\
13979"/g' >>$CONFIG_STATUS || ac_write_fail=1
13980
13981cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13982  for (key in D) D_is_set[key] = 1
13983  FS = ""
13984}
13985/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13986  line = \$ 0
13987  split(line, arg, " ")
13988  if (arg[1] == "#") {
13989    defundef = arg[2]
13990    mac1 = arg[3]
13991  } else {
13992    defundef = substr(arg[1], 2)
13993    mac1 = arg[2]
13994  }
13995  split(mac1, mac2, "(") #)
13996  macro = mac2[1]
13997  prefix = substr(line, 1, index(line, defundef) - 1)
13998  if (D_is_set[macro]) {
13999    # Preserve the white space surrounding the "#".
14000    print prefix "define", macro P[macro] D[macro]
14001    next
14002  } else {
14003    # Replace #undef with comments.  This is necessary, for example,
14004    # in the case of _POSIX_SOURCE, which is predefined and required
14005    # on some systems where configure will not decide to define it.
14006    if (defundef == "undef") {
14007      print "/*", prefix defundef, macro, "*/"
14008      next
14009    }
14010  }
14011}
14012{ print }
14013_ACAWK
14014_ACEOF
14015cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14016  as_fn_error "could not setup config headers machinery" "$LINENO" 5
14017fi # test -n "$CONFIG_HEADERS"
14018
14019
14020eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14021shift
14022for ac_tag
14023do
14024  case $ac_tag in
14025  :[FHLC]) ac_mode=$ac_tag; continue;;
14026  esac
14027  case $ac_mode$ac_tag in
14028  :[FHL]*:*);;
14029  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
14030  :[FH]-) ac_tag=-:-;;
14031  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14032  esac
14033  ac_save_IFS=$IFS
14034  IFS=:
14035  set x $ac_tag
14036  IFS=$ac_save_IFS
14037  shift
14038  ac_file=$1
14039  shift
14040
14041  case $ac_mode in
14042  :L) ac_source=$1;;
14043  :[FH])
14044    ac_file_inputs=
14045    for ac_f
14046    do
14047      case $ac_f in
14048      -) ac_f="$tmp/stdin";;
14049      *) # Look for the file first in the build tree, then in the source tree
14050	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14051	 # because $ac_f cannot contain `:'.
14052	 test -f "$ac_f" ||
14053	   case $ac_f in
14054	   [\\/$]*) false;;
14055	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14056	   esac ||
14057	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14058      esac
14059      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14060      as_fn_append ac_file_inputs " '$ac_f'"
14061    done
14062
14063    # Let's still pretend it is `configure' which instantiates (i.e., don't
14064    # use $as_me), people would be surprised to read:
14065    #    /* config.h.  Generated by config.status.  */
14066    configure_input='Generated from '`
14067	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14068	`' by configure.'
14069    if test x"$ac_file" != x-; then
14070      configure_input="$ac_file.  $configure_input"
14071      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14072$as_echo "$as_me: creating $ac_file" >&6;}
14073    fi
14074    # Neutralize special characters interpreted by sed in replacement strings.
14075    case $configure_input in #(
14076    *\&* | *\|* | *\\* )
14077       ac_sed_conf_input=`$as_echo "$configure_input" |
14078       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14079    *) ac_sed_conf_input=$configure_input;;
14080    esac
14081
14082    case $ac_tag in
14083    *:-:* | *:-) cat >"$tmp/stdin" \
14084      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
14085    esac
14086    ;;
14087  esac
14088
14089  ac_dir=`$as_dirname -- "$ac_file" ||
14090$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14091	 X"$ac_file" : 'X\(//\)[^/]' \| \
14092	 X"$ac_file" : 'X\(//\)$' \| \
14093	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14094$as_echo X"$ac_file" |
14095    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14096	    s//\1/
14097	    q
14098	  }
14099	  /^X\(\/\/\)[^/].*/{
14100	    s//\1/
14101	    q
14102	  }
14103	  /^X\(\/\/\)$/{
14104	    s//\1/
14105	    q
14106	  }
14107	  /^X\(\/\).*/{
14108	    s//\1/
14109	    q
14110	  }
14111	  s/.*/./; q'`
14112  as_dir="$ac_dir"; as_fn_mkdir_p
14113  ac_builddir=.
14114
14115case "$ac_dir" in
14116.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14117*)
14118  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14119  # A ".." for each directory in $ac_dir_suffix.
14120  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14121  case $ac_top_builddir_sub in
14122  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14123  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14124  esac ;;
14125esac
14126ac_abs_top_builddir=$ac_pwd
14127ac_abs_builddir=$ac_pwd$ac_dir_suffix
14128# for backward compatibility:
14129ac_top_builddir=$ac_top_build_prefix
14130
14131case $srcdir in
14132  .)  # We are building in place.
14133    ac_srcdir=.
14134    ac_top_srcdir=$ac_top_builddir_sub
14135    ac_abs_top_srcdir=$ac_pwd ;;
14136  [\\/]* | ?:[\\/]* )  # Absolute name.
14137    ac_srcdir=$srcdir$ac_dir_suffix;
14138    ac_top_srcdir=$srcdir
14139    ac_abs_top_srcdir=$srcdir ;;
14140  *) # Relative name.
14141    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14142    ac_top_srcdir=$ac_top_build_prefix$srcdir
14143    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14144esac
14145ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14146
14147
14148  case $ac_mode in
14149  :F)
14150  #
14151  # CONFIG_FILE
14152  #
14153
14154  case $INSTALL in
14155  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14156  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14157  esac
14158  ac_MKDIR_P=$MKDIR_P
14159  case $MKDIR_P in
14160  [\\/$]* | ?:[\\/]* ) ;;
14161  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14162  esac
14163_ACEOF
14164
14165cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14166# If the template does not know about datarootdir, expand it.
14167# FIXME: This hack should be removed a few years after 2.60.
14168ac_datarootdir_hack=; ac_datarootdir_seen=
14169ac_sed_dataroot='
14170/datarootdir/ {
14171  p
14172  q
14173}
14174/@datadir@/p
14175/@docdir@/p
14176/@infodir@/p
14177/@localedir@/p
14178/@mandir@/p'
14179case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14180*datarootdir*) ac_datarootdir_seen=yes;;
14181*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14182  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14183$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14184_ACEOF
14185cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14186  ac_datarootdir_hack='
14187  s&@datadir@&$datadir&g
14188  s&@docdir@&$docdir&g
14189  s&@infodir@&$infodir&g
14190  s&@localedir@&$localedir&g
14191  s&@mandir@&$mandir&g
14192  s&\\\${datarootdir}&$datarootdir&g' ;;
14193esac
14194_ACEOF
14195
14196# Neutralize VPATH when `$srcdir' = `.'.
14197# Shell code in configure.ac might set extrasub.
14198# FIXME: do we really want to maintain this feature?
14199cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14200ac_sed_extra="$ac_vpsub
14201$extrasub
14202_ACEOF
14203cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14204:t
14205/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14206s|@configure_input@|$ac_sed_conf_input|;t t
14207s&@top_builddir@&$ac_top_builddir_sub&;t t
14208s&@top_build_prefix@&$ac_top_build_prefix&;t t
14209s&@srcdir@&$ac_srcdir&;t t
14210s&@abs_srcdir@&$ac_abs_srcdir&;t t
14211s&@top_srcdir@&$ac_top_srcdir&;t t
14212s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14213s&@builddir@&$ac_builddir&;t t
14214s&@abs_builddir@&$ac_abs_builddir&;t t
14215s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14216s&@INSTALL@&$ac_INSTALL&;t t
14217s&@MKDIR_P@&$ac_MKDIR_P&;t t
14218$ac_datarootdir_hack
14219"
14220eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14221  || as_fn_error "could not create $ac_file" "$LINENO" 5
14222
14223test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14224  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14225  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14226  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14227which seems to be undefined.  Please make sure it is defined." >&5
14228$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14229which seems to be undefined.  Please make sure it is defined." >&2;}
14230
14231  rm -f "$tmp/stdin"
14232  case $ac_file in
14233  -) cat "$tmp/out" && rm -f "$tmp/out";;
14234  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14235  esac \
14236  || as_fn_error "could not create $ac_file" "$LINENO" 5
14237 ;;
14238  :H)
14239  #
14240  # CONFIG_HEADER
14241  #
14242  if test x"$ac_file" != x-; then
14243    {
14244      $as_echo "/* $configure_input  */" \
14245      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14246    } >"$tmp/config.h" \
14247      || as_fn_error "could not create $ac_file" "$LINENO" 5
14248    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14249      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14250$as_echo "$as_me: $ac_file is unchanged" >&6;}
14251    else
14252      rm -f "$ac_file"
14253      mv "$tmp/config.h" "$ac_file" \
14254	|| as_fn_error "could not create $ac_file" "$LINENO" 5
14255    fi
14256  else
14257    $as_echo "/* $configure_input  */" \
14258      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14259      || as_fn_error "could not create -" "$LINENO" 5
14260  fi
14261# Compute "$ac_file"'s index in $config_headers.
14262_am_arg="$ac_file"
14263_am_stamp_count=1
14264for _am_header in $config_headers :; do
14265  case $_am_header in
14266    $_am_arg | $_am_arg:* )
14267      break ;;
14268    * )
14269      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14270  esac
14271done
14272echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14273$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14274	 X"$_am_arg" : 'X\(//\)[^/]' \| \
14275	 X"$_am_arg" : 'X\(//\)$' \| \
14276	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14277$as_echo X"$_am_arg" |
14278    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14279	    s//\1/
14280	    q
14281	  }
14282	  /^X\(\/\/\)[^/].*/{
14283	    s//\1/
14284	    q
14285	  }
14286	  /^X\(\/\/\)$/{
14287	    s//\1/
14288	    q
14289	  }
14290	  /^X\(\/\).*/{
14291	    s//\1/
14292	    q
14293	  }
14294	  s/.*/./; q'`/stamp-h$_am_stamp_count
14295 ;;
14296
14297  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14298$as_echo "$as_me: executing $ac_file commands" >&6;}
14299 ;;
14300  esac
14301
14302
14303  case $ac_file$ac_mode in
14304    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14305  # Autoconf 2.62 quotes --file arguments for eval, but not when files
14306  # are listed without --file.  Let's play safe and only enable the eval
14307  # if we detect the quoting.
14308  case $CONFIG_FILES in
14309  *\'*) eval set x "$CONFIG_FILES" ;;
14310  *)   set x $CONFIG_FILES ;;
14311  esac
14312  shift
14313  for mf
14314  do
14315    # Strip MF so we end up with the name of the file.
14316    mf=`echo "$mf" | sed -e 's/:.*$//'`
14317    # Check whether this is an Automake generated Makefile or not.
14318    # We used to match only the files named `Makefile.in', but
14319    # some people rename them; so instead we look at the file content.
14320    # Grep'ing the first line is not enough: some people post-process
14321    # each Makefile.in and add a new line on top of each file to say so.
14322    # Grep'ing the whole file is not good either: AIX grep has a line
14323    # limit of 2048, but all sed's we know have understand at least 4000.
14324    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14325      dirpart=`$as_dirname -- "$mf" ||
14326$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14327	 X"$mf" : 'X\(//\)[^/]' \| \
14328	 X"$mf" : 'X\(//\)$' \| \
14329	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14330$as_echo X"$mf" |
14331    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14332	    s//\1/
14333	    q
14334	  }
14335	  /^X\(\/\/\)[^/].*/{
14336	    s//\1/
14337	    q
14338	  }
14339	  /^X\(\/\/\)$/{
14340	    s//\1/
14341	    q
14342	  }
14343	  /^X\(\/\).*/{
14344	    s//\1/
14345	    q
14346	  }
14347	  s/.*/./; q'`
14348    else
14349      continue
14350    fi
14351    # Extract the definition of DEPDIR, am__include, and am__quote
14352    # from the Makefile without running `make'.
14353    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14354    test -z "$DEPDIR" && continue
14355    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14356    test -z "am__include" && continue
14357    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14358    # When using ansi2knr, U may be empty or an underscore; expand it
14359    U=`sed -n 's/^U = //p' < "$mf"`
14360    # Find all dependency output files, they are included files with
14361    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14362    # simplest approach to changing $(DEPDIR) to its actual value in the
14363    # expansion.
14364    for file in `sed -n "
14365      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14366	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14367      # Make sure the directory exists.
14368      test -f "$dirpart/$file" && continue
14369      fdir=`$as_dirname -- "$file" ||
14370$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14371	 X"$file" : 'X\(//\)[^/]' \| \
14372	 X"$file" : 'X\(//\)$' \| \
14373	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14374$as_echo X"$file" |
14375    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14376	    s//\1/
14377	    q
14378	  }
14379	  /^X\(\/\/\)[^/].*/{
14380	    s//\1/
14381	    q
14382	  }
14383	  /^X\(\/\/\)$/{
14384	    s//\1/
14385	    q
14386	  }
14387	  /^X\(\/\).*/{
14388	    s//\1/
14389	    q
14390	  }
14391	  s/.*/./; q'`
14392      as_dir=$dirpart/$fdir; as_fn_mkdir_p
14393      # echo "creating $dirpart/$file"
14394      echo '# dummy' > "$dirpart/$file"
14395    done
14396  done
14397}
14398 ;;
14399    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
14400        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
14401      esac ;;
14402    "libtool":C)
14403
14404    # See if we are running on zsh, and set the options which allow our
14405    # commands through without removal of \ escapes.
14406    if test -n "${ZSH_VERSION+set}" ; then
14407      setopt NO_GLOB_SUBST
14408    fi
14409
14410    cfgfile="${ofile}T"
14411    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14412    $RM "$cfgfile"
14413
14414    cat <<_LT_EOF >> "$cfgfile"
14415#! $SHELL
14416
14417# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14418# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14419# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14420# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14421#
14422#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14423#                 2006, 2007, 2008 Free Software Foundation, Inc.
14424#   Written by Gordon Matzigkeit, 1996
14425#
14426#   This file is part of GNU Libtool.
14427#
14428# GNU Libtool is free software; you can redistribute it and/or
14429# modify it under the terms of the GNU General Public License as
14430# published by the Free Software Foundation; either version 2 of
14431# the License, or (at your option) any later version.
14432#
14433# As a special exception to the GNU General Public License,
14434# if you distribute this file as part of a program or library that
14435# is built using GNU Libtool, you may include this file under the
14436# same distribution terms that you use for the rest of that program.
14437#
14438# GNU Libtool is distributed in the hope that it will be useful,
14439# but WITHOUT ANY WARRANTY; without even the implied warranty of
14440# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14441# GNU General Public License for more details.
14442#
14443# You should have received a copy of the GNU General Public License
14444# along with GNU Libtool; see the file COPYING.  If not, a copy
14445# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14446# obtained by writing to the Free Software Foundation, Inc.,
14447# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14448
14449
14450# The names of the tagged configurations supported by this script.
14451available_tags=""
14452
14453# ### BEGIN LIBTOOL CONFIG
14454
14455# Whether or not to build static libraries.
14456build_old_libs=$enable_static
14457
14458# Which release of libtool.m4 was used?
14459macro_version=$macro_version
14460macro_revision=$macro_revision
14461
14462# Whether or not to build shared libraries.
14463build_libtool_libs=$enable_shared
14464
14465# What type of objects to build.
14466pic_mode=$pic_mode
14467
14468# Whether or not to optimize for fast installation.
14469fast_install=$enable_fast_install
14470
14471# The host system.
14472host_alias=$host_alias
14473host=$host
14474host_os=$host_os
14475
14476# The build system.
14477build_alias=$build_alias
14478build=$build
14479build_os=$build_os
14480
14481# A sed program that does not truncate output.
14482SED=$lt_SED
14483
14484# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14485Xsed="\$SED -e 1s/^X//"
14486
14487# A grep program that handles long lines.
14488GREP=$lt_GREP
14489
14490# An ERE matcher.
14491EGREP=$lt_EGREP
14492
14493# A literal string matcher.
14494FGREP=$lt_FGREP
14495
14496# A BSD- or MS-compatible name lister.
14497NM=$lt_NM
14498
14499# Whether we need soft or hard links.
14500LN_S=$lt_LN_S
14501
14502# What is the maximum length of a command?
14503max_cmd_len=$max_cmd_len
14504
14505# Object file suffix (normally "o").
14506objext=$ac_objext
14507
14508# Executable file suffix (normally "").
14509exeext=$exeext
14510
14511# whether the shell understands "unset".
14512lt_unset=$lt_unset
14513
14514# turn spaces into newlines.
14515SP2NL=$lt_lt_SP2NL
14516
14517# turn newlines into spaces.
14518NL2SP=$lt_lt_NL2SP
14519
14520# How to create reloadable object files.
14521reload_flag=$lt_reload_flag
14522reload_cmds=$lt_reload_cmds
14523
14524# An object symbol dumper.
14525OBJDUMP=$lt_OBJDUMP
14526
14527# Method to check whether dependent libraries are shared objects.
14528deplibs_check_method=$lt_deplibs_check_method
14529
14530# Command to use when deplibs_check_method == "file_magic".
14531file_magic_cmd=$lt_file_magic_cmd
14532
14533# The archiver.
14534AR=$lt_AR
14535AR_FLAGS=$lt_AR_FLAGS
14536
14537# A symbol stripping program.
14538STRIP=$lt_STRIP
14539
14540# Commands used to install an old-style archive.
14541RANLIB=$lt_RANLIB
14542old_postinstall_cmds=$lt_old_postinstall_cmds
14543old_postuninstall_cmds=$lt_old_postuninstall_cmds
14544
14545# A C compiler.
14546LTCC=$lt_CC
14547
14548# LTCC compiler flags.
14549LTCFLAGS=$lt_CFLAGS
14550
14551# Take the output of nm and produce a listing of raw symbols and C names.
14552global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14553
14554# Transform the output of nm in a proper C declaration.
14555global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14556
14557# Transform the output of nm in a C name address pair.
14558global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14559
14560# Transform the output of nm in a C name address pair when lib prefix is needed.
14561global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14562
14563# The name of the directory that contains temporary libtool files.
14564objdir=$objdir
14565
14566# Shell to use when invoking shell scripts.
14567SHELL=$lt_SHELL
14568
14569# An echo program that does not interpret backslashes.
14570ECHO=$lt_ECHO
14571
14572# Used to examine libraries when file_magic_cmd begins with "file".
14573MAGIC_CMD=$MAGIC_CMD
14574
14575# Must we lock files when doing compilation?
14576need_locks=$lt_need_locks
14577
14578# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14579DSYMUTIL=$lt_DSYMUTIL
14580
14581# Tool to change global to local symbols on Mac OS X.
14582NMEDIT=$lt_NMEDIT
14583
14584# Tool to manipulate fat objects and archives on Mac OS X.
14585LIPO=$lt_LIPO
14586
14587# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14588OTOOL=$lt_OTOOL
14589
14590# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14591OTOOL64=$lt_OTOOL64
14592
14593# Old archive suffix (normally "a").
14594libext=$libext
14595
14596# Shared library suffix (normally ".so").
14597shrext_cmds=$lt_shrext_cmds
14598
14599# The commands to extract the exported symbol list from a shared archive.
14600extract_expsyms_cmds=$lt_extract_expsyms_cmds
14601
14602# Variables whose values should be saved in libtool wrapper scripts and
14603# restored at link time.
14604variables_saved_for_relink=$lt_variables_saved_for_relink
14605
14606# Do we need the "lib" prefix for modules?
14607need_lib_prefix=$need_lib_prefix
14608
14609# Do we need a version for libraries?
14610need_version=$need_version
14611
14612# Library versioning type.
14613version_type=$version_type
14614
14615# Shared library runtime path variable.
14616runpath_var=$runpath_var
14617
14618# Shared library path variable.
14619shlibpath_var=$shlibpath_var
14620
14621# Is shlibpath searched before the hard-coded library search path?
14622shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14623
14624# Format of library name prefix.
14625libname_spec=$lt_libname_spec
14626
14627# List of archive names.  First name is the real one, the rest are links.
14628# The last name is the one that the linker finds with -lNAME
14629library_names_spec=$lt_library_names_spec
14630
14631# The coded name of the library, if different from the real name.
14632soname_spec=$lt_soname_spec
14633
14634# Command to use after installation of a shared archive.
14635postinstall_cmds=$lt_postinstall_cmds
14636
14637# Command to use after uninstallation of a shared archive.
14638postuninstall_cmds=$lt_postuninstall_cmds
14639
14640# Commands used to finish a libtool library installation in a directory.
14641finish_cmds=$lt_finish_cmds
14642
14643# As "finish_cmds", except a single script fragment to be evaled but
14644# not shown.
14645finish_eval=$lt_finish_eval
14646
14647# Whether we should hardcode library paths into libraries.
14648hardcode_into_libs=$hardcode_into_libs
14649
14650# Compile-time system search path for libraries.
14651sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14652
14653# Run-time system search path for libraries.
14654sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14655
14656# Whether dlopen is supported.
14657dlopen_support=$enable_dlopen
14658
14659# Whether dlopen of programs is supported.
14660dlopen_self=$enable_dlopen_self
14661
14662# Whether dlopen of statically linked programs is supported.
14663dlopen_self_static=$enable_dlopen_self_static
14664
14665# Commands to strip libraries.
14666old_striplib=$lt_old_striplib
14667striplib=$lt_striplib
14668
14669
14670# The linker used to build libraries.
14671LD=$lt_LD
14672
14673# Commands used to build an old-style archive.
14674old_archive_cmds=$lt_old_archive_cmds
14675
14676# A language specific compiler.
14677CC=$lt_compiler
14678
14679# Is the compiler the GNU compiler?
14680with_gcc=$GCC
14681
14682# Compiler flag to turn off builtin functions.
14683no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14684
14685# How to pass a linker flag through the compiler.
14686wl=$lt_lt_prog_compiler_wl
14687
14688# Additional compiler flags for building library objects.
14689pic_flag=$lt_lt_prog_compiler_pic
14690
14691# Compiler flag to prevent dynamic linking.
14692link_static_flag=$lt_lt_prog_compiler_static
14693
14694# Does compiler simultaneously support -c and -o options?
14695compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14696
14697# Whether or not to add -lc for building shared libraries.
14698build_libtool_need_lc=$archive_cmds_need_lc
14699
14700# Whether or not to disallow shared libs when runtime libs are static.
14701allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14702
14703# Compiler flag to allow reflexive dlopens.
14704export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14705
14706# Compiler flag to generate shared objects directly from archives.
14707whole_archive_flag_spec=$lt_whole_archive_flag_spec
14708
14709# Whether the compiler copes with passing no objects directly.
14710compiler_needs_object=$lt_compiler_needs_object
14711
14712# Create an old-style archive from a shared archive.
14713old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14714
14715# Create a temporary old-style archive to link instead of a shared archive.
14716old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14717
14718# Commands used to build a shared archive.
14719archive_cmds=$lt_archive_cmds
14720archive_expsym_cmds=$lt_archive_expsym_cmds
14721
14722# Commands used to build a loadable module if different from building
14723# a shared archive.
14724module_cmds=$lt_module_cmds
14725module_expsym_cmds=$lt_module_expsym_cmds
14726
14727# Whether we are building with GNU ld or not.
14728with_gnu_ld=$lt_with_gnu_ld
14729
14730# Flag that allows shared libraries with undefined symbols to be built.
14731allow_undefined_flag=$lt_allow_undefined_flag
14732
14733# Flag that enforces no undefined symbols.
14734no_undefined_flag=$lt_no_undefined_flag
14735
14736# Flag to hardcode \$libdir into a binary during linking.
14737# This must work even if \$libdir does not exist
14738hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14739
14740# If ld is used when linking, flag to hardcode \$libdir into a binary
14741# during linking.  This must work even if \$libdir does not exist.
14742hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14743
14744# Whether we need a single "-rpath" flag with a separated argument.
14745hardcode_libdir_separator=$lt_hardcode_libdir_separator
14746
14747# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14748# DIR into the resulting binary.
14749hardcode_direct=$hardcode_direct
14750
14751# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14752# DIR into the resulting binary and the resulting library dependency is
14753# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14754# library is relocated.
14755hardcode_direct_absolute=$hardcode_direct_absolute
14756
14757# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14758# into the resulting binary.
14759hardcode_minus_L=$hardcode_minus_L
14760
14761# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14762# into the resulting binary.
14763hardcode_shlibpath_var=$hardcode_shlibpath_var
14764
14765# Set to "yes" if building a shared library automatically hardcodes DIR
14766# into the library and all subsequent libraries and executables linked
14767# against it.
14768hardcode_automatic=$hardcode_automatic
14769
14770# Set to yes if linker adds runtime paths of dependent libraries
14771# to runtime path list.
14772inherit_rpath=$inherit_rpath
14773
14774# Whether libtool must link a program against all its dependency libraries.
14775link_all_deplibs=$link_all_deplibs
14776
14777# Fix the shell variable \$srcfile for the compiler.
14778fix_srcfile_path=$lt_fix_srcfile_path
14779
14780# Set to "yes" if exported symbols are required.
14781always_export_symbols=$always_export_symbols
14782
14783# The commands to list exported symbols.
14784export_symbols_cmds=$lt_export_symbols_cmds
14785
14786# Symbols that should not be listed in the preloaded symbols.
14787exclude_expsyms=$lt_exclude_expsyms
14788
14789# Symbols that must always be exported.
14790include_expsyms=$lt_include_expsyms
14791
14792# Commands necessary for linking programs (against libraries) with templates.
14793prelink_cmds=$lt_prelink_cmds
14794
14795# Specify filename containing input files.
14796file_list_spec=$lt_file_list_spec
14797
14798# How to hardcode a shared library path into an executable.
14799hardcode_action=$hardcode_action
14800
14801# ### END LIBTOOL CONFIG
14802
14803_LT_EOF
14804
14805  case $host_os in
14806  aix3*)
14807    cat <<\_LT_EOF >> "$cfgfile"
14808# AIX sometimes has problems with the GCC collect2 program.  For some
14809# reason, if we set the COLLECT_NAMES environment variable, the problems
14810# vanish in a puff of smoke.
14811if test "X${COLLECT_NAMES+set}" != Xset; then
14812  COLLECT_NAMES=
14813  export COLLECT_NAMES
14814fi
14815_LT_EOF
14816    ;;
14817  esac
14818
14819
14820ltmain="$ac_aux_dir/ltmain.sh"
14821
14822
14823  # We use sed instead of cat because bash on DJGPP gets confused if
14824  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14825  # text mode, it properly converts lines to CR/LF.  This bash problem
14826  # is reportedly fixed, but why not run on old versions too?
14827  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14828    || (rm -f "$cfgfile"; exit 1)
14829
14830  case $xsi_shell in
14831  yes)
14832    cat << \_LT_EOF >> "$cfgfile"
14833
14834# func_dirname file append nondir_replacement
14835# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14836# otherwise set result to NONDIR_REPLACEMENT.
14837func_dirname ()
14838{
14839  case ${1} in
14840    */*) func_dirname_result="${1%/*}${2}" ;;
14841    *  ) func_dirname_result="${3}" ;;
14842  esac
14843}
14844
14845# func_basename file
14846func_basename ()
14847{
14848  func_basename_result="${1##*/}"
14849}
14850
14851# func_dirname_and_basename file append nondir_replacement
14852# perform func_basename and func_dirname in a single function
14853# call:
14854#   dirname:  Compute the dirname of FILE.  If nonempty,
14855#             add APPEND to the result, otherwise set result
14856#             to NONDIR_REPLACEMENT.
14857#             value returned in "$func_dirname_result"
14858#   basename: Compute filename of FILE.
14859#             value retuned in "$func_basename_result"
14860# Implementation must be kept synchronized with func_dirname
14861# and func_basename. For efficiency, we do not delegate to
14862# those functions but instead duplicate the functionality here.
14863func_dirname_and_basename ()
14864{
14865  case ${1} in
14866    */*) func_dirname_result="${1%/*}${2}" ;;
14867    *  ) func_dirname_result="${3}" ;;
14868  esac
14869  func_basename_result="${1##*/}"
14870}
14871
14872# func_stripname prefix suffix name
14873# strip PREFIX and SUFFIX off of NAME.
14874# PREFIX and SUFFIX must not contain globbing or regex special
14875# characters, hashes, percent signs, but SUFFIX may contain a leading
14876# dot (in which case that matches only a dot).
14877func_stripname ()
14878{
14879  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14880  # positional parameters, so assign one to ordinary parameter first.
14881  func_stripname_result=${3}
14882  func_stripname_result=${func_stripname_result#"${1}"}
14883  func_stripname_result=${func_stripname_result%"${2}"}
14884}
14885
14886# func_opt_split
14887func_opt_split ()
14888{
14889  func_opt_split_opt=${1%%=*}
14890  func_opt_split_arg=${1#*=}
14891}
14892
14893# func_lo2o object
14894func_lo2o ()
14895{
14896  case ${1} in
14897    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14898    *)    func_lo2o_result=${1} ;;
14899  esac
14900}
14901
14902# func_xform libobj-or-source
14903func_xform ()
14904{
14905  func_xform_result=${1%.*}.lo
14906}
14907
14908# func_arith arithmetic-term...
14909func_arith ()
14910{
14911  func_arith_result=$(( $* ))
14912}
14913
14914# func_len string
14915# STRING may not start with a hyphen.
14916func_len ()
14917{
14918  func_len_result=${#1}
14919}
14920
14921_LT_EOF
14922    ;;
14923  *) # Bourne compatible functions.
14924    cat << \_LT_EOF >> "$cfgfile"
14925
14926# func_dirname file append nondir_replacement
14927# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14928# otherwise set result to NONDIR_REPLACEMENT.
14929func_dirname ()
14930{
14931  # Extract subdirectory from the argument.
14932  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14933  if test "X$func_dirname_result" = "X${1}"; then
14934    func_dirname_result="${3}"
14935  else
14936    func_dirname_result="$func_dirname_result${2}"
14937  fi
14938}
14939
14940# func_basename file
14941func_basename ()
14942{
14943  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14944}
14945
14946
14947# func_stripname prefix suffix name
14948# strip PREFIX and SUFFIX off of NAME.
14949# PREFIX and SUFFIX must not contain globbing or regex special
14950# characters, hashes, percent signs, but SUFFIX may contain a leading
14951# dot (in which case that matches only a dot).
14952# func_strip_suffix prefix name
14953func_stripname ()
14954{
14955  case ${2} in
14956    .*) func_stripname_result=`$ECHO "X${3}" \
14957           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14958    *)  func_stripname_result=`$ECHO "X${3}" \
14959           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14960  esac
14961}
14962
14963# sed scripts:
14964my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14965my_sed_long_arg='1s/^-[^=]*=//'
14966
14967# func_opt_split
14968func_opt_split ()
14969{
14970  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14971  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14972}
14973
14974# func_lo2o object
14975func_lo2o ()
14976{
14977  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14978}
14979
14980# func_xform libobj-or-source
14981func_xform ()
14982{
14983  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14984}
14985
14986# func_arith arithmetic-term...
14987func_arith ()
14988{
14989  func_arith_result=`expr "$@"`
14990}
14991
14992# func_len string
14993# STRING may not start with a hyphen.
14994func_len ()
14995{
14996  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14997}
14998
14999_LT_EOF
15000esac
15001
15002case $lt_shell_append in
15003  yes)
15004    cat << \_LT_EOF >> "$cfgfile"
15005
15006# func_append var value
15007# Append VALUE to the end of shell variable VAR.
15008func_append ()
15009{
15010  eval "$1+=\$2"
15011}
15012_LT_EOF
15013    ;;
15014  *)
15015    cat << \_LT_EOF >> "$cfgfile"
15016
15017# func_append var value
15018# Append VALUE to the end of shell variable VAR.
15019func_append ()
15020{
15021  eval "$1=\$$1\$2"
15022}
15023
15024_LT_EOF
15025    ;;
15026  esac
15027
15028
15029  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15030    || (rm -f "$cfgfile"; exit 1)
15031
15032  mv -f "$cfgfile" "$ofile" ||
15033    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15034  chmod +x "$ofile"
15035
15036 ;;
15037    "po/stamp-it":C)
15038    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
15039       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
15040    fi
15041    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
15042    >"po/stamp-it.tmp"
15043    sed '/^#/d
15044	 s/^[[].*] *//
15045	 /^[ 	]*$/d
15046	'"s|^|	$ac_top_srcdir/|" \
15047      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
15048
15049    sed '/^POTFILES =/,/[^\\]$/ {
15050		/^POTFILES =/!d
15051		r po/POTFILES
15052	  }
15053	 ' "po/Makefile.in" >"po/Makefile"
15054    rm -f "po/Makefile.tmp"
15055    mv "po/stamp-it.tmp" "po/stamp-it"
15056   ;;
15057
15058  esac
15059done # for ac_tag
15060
15061
15062as_fn_exit 0
15063_ACEOF
15064ac_clean_files=$ac_clean_files_save
15065
15066test $ac_write_fail = 0 ||
15067  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15068
15069
15070# configure is writing to config.log, and then calls config.status.
15071# config.status does its own redirection, appending to config.log.
15072# Unfortunately, on DOS this fails, as config.log is still kept open
15073# by configure, so config.status won't be able to write to it; its
15074# output is simply discarded.  So we exec the FD to /dev/null,
15075# effectively closing config.log, so it can be properly (re)opened and
15076# appended to by config.status.  When coming back to configure, we
15077# need to make the FD available again.
15078if test "$no_create" != yes; then
15079  ac_cs_success=:
15080  ac_config_status_args=
15081  test "$silent" = yes &&
15082    ac_config_status_args="$ac_config_status_args --quiet"
15083  exec 5>/dev/null
15084  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15085  exec 5>>config.log
15086  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15087  # would make configure fail if this is the last instruction.
15088  $ac_cs_success || as_fn_exit $?
15089fi
15090if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15091  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15092$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15093fi
15094
15095