1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67 for gmpc-lyrics 11.8.16.
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, 2010 Free Software
10# Foundation, 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 STATUS 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=$1; test $as_status -eq 0 && as_status=1
370  if test "$4"; then
371    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373  fi
374  $as_echo "$as_me: error: $2" >&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, old GNU/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-lyrics'
703PACKAGE_TARNAME='gmpc-lyrics'
704PACKAGE_VERSION='11.8.16'
705PACKAGE_STRING='gmpc-lyrics 11.8.16'
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
749gmpclyrics_LIBS
750gmpclyrics_CFLAGS
751PKG_CONFIG_LIBDIR
752PKG_CONFIG_PATH
753PKG_CONFIG
754OTOOL64
755OTOOL
756LIPO
757NMEDIT
758DSYMUTIL
759lt_ECHO
760RANLIB
761AR
762OBJDUMP
763LN_S
764NM
765ac_ct_DUMPBIN
766DUMPBIN
767LD
768FGREP
769SED
770host_os
771host_vendor
772host_cpu
773host
774build_os
775build_vendor
776build_cpu
777build
778LIBTOOL
779MKINSTALLDIRS
780POSUB
781POFILES
782PO_IN_DATADIR_FALSE
783PO_IN_DATADIR_TRUE
784INTLLIBS
785INSTOBJEXT
786GMOFILES
787CATOBJEXT
788CATALOGS
789MSGFMT_OPTS
790EGREP
791GREP
792CPP
793GETTEXT_PACKAGE
794DATADIRNAME
795am__fastdepCC_FALSE
796am__fastdepCC_TRUE
797CCDEPMODE
798AMDEPBACKSLASH
799AMDEP_FALSE
800AMDEP_TRUE
801am__quote
802am__include
803DEPDIR
804OBJEXT
805EXEEXT
806ac_ct_CC
807CPPFLAGS
808LDFLAGS
809CFLAGS
810CC
811ALL_LINGUAS
812INTLTOOL_PERL
813GMSGFMT
814MSGFMT
815MSGMERGE
816XGETTEXT
817INTLTOOL_POLICY_RULE
818INTLTOOL_SERVICE_RULE
819INTLTOOL_THEME_RULE
820INTLTOOL_SCHEMAS_RULE
821INTLTOOL_CAVES_RULE
822INTLTOOL_XML_NOMERGE_RULE
823INTLTOOL_XML_RULE
824INTLTOOL_KBD_RULE
825INTLTOOL_XAM_RULE
826INTLTOOL_UI_RULE
827INTLTOOL_SOUNDLIST_RULE
828INTLTOOL_SHEET_RULE
829INTLTOOL_SERVER_RULE
830INTLTOOL_PONG_RULE
831INTLTOOL_OAF_RULE
832INTLTOOL_PROP_RULE
833INTLTOOL_KEYS_RULE
834INTLTOOL_DIRECTORY_RULE
835INTLTOOL_DESKTOP_RULE
836INTLTOOL_EXTRACT
837INTLTOOL_MERGE
838INTLTOOL_UPDATE
839USE_NLS
840am__untar
841am__tar
842AMTAR
843am__leading_dot
844SET_MAKE
845AWK
846mkdir_p
847MKDIR_P
848INSTALL_STRIP_PROGRAM
849STRIP
850install_sh
851MAKEINFO
852AUTOHEADER
853AUTOMAKE
854AUTOCONF
855ACLOCAL
856VERSION
857PACKAGE
858CYGPATH_W
859am__isrc
860INSTALL_DATA
861INSTALL_SCRIPT
862INSTALL_PROGRAM
863target_alias
864host_alias
865build_alias
866LIBS
867ECHO_T
868ECHO_N
869ECHO_C
870DEFS
871mandir
872localedir
873libdir
874psdir
875pdfdir
876dvidir
877htmldir
878infodir
879docdir
880oldincludedir
881includedir
882localstatedir
883sharedstatedir
884sysconfdir
885datadir
886datarootdir
887libexecdir
888sbindir
889bindir
890program_transform_name
891prefix
892exec_prefix
893PACKAGE_URL
894PACKAGE_BUGREPORT
895PACKAGE_STRING
896PACKAGE_VERSION
897PACKAGE_TARNAME
898PACKAGE_NAME
899PATH_SEPARATOR
900SHELL'
901ac_subst_files=''
902ac_user_opts='
903enable_option_checking
904enable_nls
905enable_dependency_tracking
906enable_static
907enable_shared
908with_pic
909enable_fast_install
910with_gnu_ld
911enable_libtool_lock
912'
913      ac_precious_vars='build_alias
914host_alias
915target_alias
916CC
917CFLAGS
918LDFLAGS
919LIBS
920CPPFLAGS
921CPP
922PKG_CONFIG
923PKG_CONFIG_PATH
924PKG_CONFIG_LIBDIR
925gmpclyrics_CFLAGS
926gmpclyrics_LIBS'
927
928
929# Initialize some variables set by options.
930ac_init_help=
931ac_init_version=false
932ac_unrecognized_opts=
933ac_unrecognized_sep=
934# The variables have the same names as the options, with
935# dashes changed to underlines.
936cache_file=/dev/null
937exec_prefix=NONE
938no_create=
939no_recursion=
940prefix=NONE
941program_prefix=NONE
942program_suffix=NONE
943program_transform_name=s,x,x,
944silent=
945site=
946srcdir=
947verbose=
948x_includes=NONE
949x_libraries=NONE
950
951# Installation directory options.
952# These are left unexpanded so users can "make install exec_prefix=/foo"
953# and all the variables that are supposed to be based on exec_prefix
954# by default will actually change.
955# Use braces instead of parens because sh, perl, etc. also accept them.
956# (The list follows the same order as the GNU Coding Standards.)
957bindir='${exec_prefix}/bin'
958sbindir='${exec_prefix}/sbin'
959libexecdir='${exec_prefix}/libexec'
960datarootdir='${prefix}/share'
961datadir='${datarootdir}'
962sysconfdir='${prefix}/etc'
963sharedstatedir='${prefix}/com'
964localstatedir='${prefix}/var'
965includedir='${prefix}/include'
966oldincludedir='/usr/include'
967docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
968infodir='${datarootdir}/info'
969htmldir='${docdir}'
970dvidir='${docdir}'
971pdfdir='${docdir}'
972psdir='${docdir}'
973libdir='${exec_prefix}/lib'
974localedir='${datarootdir}/locale'
975mandir='${datarootdir}/man'
976
977ac_prev=
978ac_dashdash=
979for ac_option
980do
981  # If the previous option needs an argument, assign it.
982  if test -n "$ac_prev"; then
983    eval $ac_prev=\$ac_option
984    ac_prev=
985    continue
986  fi
987
988  case $ac_option in
989  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
990  *=)   ac_optarg= ;;
991  *)    ac_optarg=yes ;;
992  esac
993
994  # Accept the important Cygnus configure options, so we can diagnose typos.
995
996  case $ac_dashdash$ac_option in
997  --)
998    ac_dashdash=yes ;;
999
1000  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1001    ac_prev=bindir ;;
1002  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1003    bindir=$ac_optarg ;;
1004
1005  -build | --build | --buil | --bui | --bu)
1006    ac_prev=build_alias ;;
1007  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1008    build_alias=$ac_optarg ;;
1009
1010  -cache-file | --cache-file | --cache-fil | --cache-fi \
1011  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1012    ac_prev=cache_file ;;
1013  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1014  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1015    cache_file=$ac_optarg ;;
1016
1017  --config-cache | -C)
1018    cache_file=config.cache ;;
1019
1020  -datadir | --datadir | --datadi | --datad)
1021    ac_prev=datadir ;;
1022  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1023    datadir=$ac_optarg ;;
1024
1025  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1026  | --dataroo | --dataro | --datar)
1027    ac_prev=datarootdir ;;
1028  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1029  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1030    datarootdir=$ac_optarg ;;
1031
1032  -disable-* | --disable-*)
1033    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1034    # Reject names that are not valid shell variable names.
1035    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1036      as_fn_error $? "invalid feature name: $ac_useropt"
1037    ac_useropt_orig=$ac_useropt
1038    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039    case $ac_user_opts in
1040      *"
1041"enable_$ac_useropt"
1042"*) ;;
1043      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1044	 ac_unrecognized_sep=', ';;
1045    esac
1046    eval enable_$ac_useropt=no ;;
1047
1048  -docdir | --docdir | --docdi | --doc | --do)
1049    ac_prev=docdir ;;
1050  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1051    docdir=$ac_optarg ;;
1052
1053  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1054    ac_prev=dvidir ;;
1055  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1056    dvidir=$ac_optarg ;;
1057
1058  -enable-* | --enable-*)
1059    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1060    # Reject names that are not valid shell variable names.
1061    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062      as_fn_error $? "invalid feature name: $ac_useropt"
1063    ac_useropt_orig=$ac_useropt
1064    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065    case $ac_user_opts in
1066      *"
1067"enable_$ac_useropt"
1068"*) ;;
1069      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1070	 ac_unrecognized_sep=', ';;
1071    esac
1072    eval enable_$ac_useropt=\$ac_optarg ;;
1073
1074  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1075  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1076  | --exec | --exe | --ex)
1077    ac_prev=exec_prefix ;;
1078  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1079  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1080  | --exec=* | --exe=* | --ex=*)
1081    exec_prefix=$ac_optarg ;;
1082
1083  -gas | --gas | --ga | --g)
1084    # Obsolete; use --with-gas.
1085    with_gas=yes ;;
1086
1087  -help | --help | --hel | --he | -h)
1088    ac_init_help=long ;;
1089  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1090    ac_init_help=recursive ;;
1091  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1092    ac_init_help=short ;;
1093
1094  -host | --host | --hos | --ho)
1095    ac_prev=host_alias ;;
1096  -host=* | --host=* | --hos=* | --ho=*)
1097    host_alias=$ac_optarg ;;
1098
1099  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1100    ac_prev=htmldir ;;
1101  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1102  | --ht=*)
1103    htmldir=$ac_optarg ;;
1104
1105  -includedir | --includedir | --includedi | --included | --include \
1106  | --includ | --inclu | --incl | --inc)
1107    ac_prev=includedir ;;
1108  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1109  | --includ=* | --inclu=* | --incl=* | --inc=*)
1110    includedir=$ac_optarg ;;
1111
1112  -infodir | --infodir | --infodi | --infod | --info | --inf)
1113    ac_prev=infodir ;;
1114  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1115    infodir=$ac_optarg ;;
1116
1117  -libdir | --libdir | --libdi | --libd)
1118    ac_prev=libdir ;;
1119  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1120    libdir=$ac_optarg ;;
1121
1122  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1123  | --libexe | --libex | --libe)
1124    ac_prev=libexecdir ;;
1125  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1126  | --libexe=* | --libex=* | --libe=*)
1127    libexecdir=$ac_optarg ;;
1128
1129  -localedir | --localedir | --localedi | --localed | --locale)
1130    ac_prev=localedir ;;
1131  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1132    localedir=$ac_optarg ;;
1133
1134  -localstatedir | --localstatedir | --localstatedi | --localstated \
1135  | --localstate | --localstat | --localsta | --localst | --locals)
1136    ac_prev=localstatedir ;;
1137  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1138  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1139    localstatedir=$ac_optarg ;;
1140
1141  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1142    ac_prev=mandir ;;
1143  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1144    mandir=$ac_optarg ;;
1145
1146  -nfp | --nfp | --nf)
1147    # Obsolete; use --without-fp.
1148    with_fp=no ;;
1149
1150  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1151  | --no-cr | --no-c | -n)
1152    no_create=yes ;;
1153
1154  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1155  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1156    no_recursion=yes ;;
1157
1158  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1159  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1160  | --oldin | --oldi | --old | --ol | --o)
1161    ac_prev=oldincludedir ;;
1162  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1163  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1164  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1165    oldincludedir=$ac_optarg ;;
1166
1167  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1168    ac_prev=prefix ;;
1169  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1170    prefix=$ac_optarg ;;
1171
1172  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1173  | --program-pre | --program-pr | --program-p)
1174    ac_prev=program_prefix ;;
1175  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1176  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1177    program_prefix=$ac_optarg ;;
1178
1179  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1180  | --program-suf | --program-su | --program-s)
1181    ac_prev=program_suffix ;;
1182  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1183  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1184    program_suffix=$ac_optarg ;;
1185
1186  -program-transform-name | --program-transform-name \
1187  | --program-transform-nam | --program-transform-na \
1188  | --program-transform-n | --program-transform- \
1189  | --program-transform | --program-transfor \
1190  | --program-transfo | --program-transf \
1191  | --program-trans | --program-tran \
1192  | --progr-tra | --program-tr | --program-t)
1193    ac_prev=program_transform_name ;;
1194  -program-transform-name=* | --program-transform-name=* \
1195  | --program-transform-nam=* | --program-transform-na=* \
1196  | --program-transform-n=* | --program-transform-=* \
1197  | --program-transform=* | --program-transfor=* \
1198  | --program-transfo=* | --program-transf=* \
1199  | --program-trans=* | --program-tran=* \
1200  | --progr-tra=* | --program-tr=* | --program-t=*)
1201    program_transform_name=$ac_optarg ;;
1202
1203  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1204    ac_prev=pdfdir ;;
1205  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1206    pdfdir=$ac_optarg ;;
1207
1208  -psdir | --psdir | --psdi | --psd | --ps)
1209    ac_prev=psdir ;;
1210  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1211    psdir=$ac_optarg ;;
1212
1213  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1214  | -silent | --silent | --silen | --sile | --sil)
1215    silent=yes ;;
1216
1217  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1218    ac_prev=sbindir ;;
1219  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1220  | --sbi=* | --sb=*)
1221    sbindir=$ac_optarg ;;
1222
1223  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1224  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1225  | --sharedst | --shareds | --shared | --share | --shar \
1226  | --sha | --sh)
1227    ac_prev=sharedstatedir ;;
1228  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1229  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1230  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1231  | --sha=* | --sh=*)
1232    sharedstatedir=$ac_optarg ;;
1233
1234  -site | --site | --sit)
1235    ac_prev=site ;;
1236  -site=* | --site=* | --sit=*)
1237    site=$ac_optarg ;;
1238
1239  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1240    ac_prev=srcdir ;;
1241  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1242    srcdir=$ac_optarg ;;
1243
1244  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1245  | --syscon | --sysco | --sysc | --sys | --sy)
1246    ac_prev=sysconfdir ;;
1247  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1248  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1249    sysconfdir=$ac_optarg ;;
1250
1251  -target | --target | --targe | --targ | --tar | --ta | --t)
1252    ac_prev=target_alias ;;
1253  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1254    target_alias=$ac_optarg ;;
1255
1256  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1257    verbose=yes ;;
1258
1259  -version | --version | --versio | --versi | --vers | -V)
1260    ac_init_version=: ;;
1261
1262  -with-* | --with-*)
1263    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1264    # Reject names that are not valid shell variable names.
1265    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1266      as_fn_error $? "invalid package name: $ac_useropt"
1267    ac_useropt_orig=$ac_useropt
1268    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1269    case $ac_user_opts in
1270      *"
1271"with_$ac_useropt"
1272"*) ;;
1273      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1274	 ac_unrecognized_sep=', ';;
1275    esac
1276    eval with_$ac_useropt=\$ac_optarg ;;
1277
1278  -without-* | --without-*)
1279    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1280    # Reject names that are not valid shell variable names.
1281    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1282      as_fn_error $? "invalid package name: $ac_useropt"
1283    ac_useropt_orig=$ac_useropt
1284    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1285    case $ac_user_opts in
1286      *"
1287"with_$ac_useropt"
1288"*) ;;
1289      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1290	 ac_unrecognized_sep=', ';;
1291    esac
1292    eval with_$ac_useropt=no ;;
1293
1294  --x)
1295    # Obsolete; use --with-x.
1296    with_x=yes ;;
1297
1298  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1299  | --x-incl | --x-inc | --x-in | --x-i)
1300    ac_prev=x_includes ;;
1301  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1302  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1303    x_includes=$ac_optarg ;;
1304
1305  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1306  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1307    ac_prev=x_libraries ;;
1308  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1309  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1310    x_libraries=$ac_optarg ;;
1311
1312  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1313Try \`$0 --help' for more information"
1314    ;;
1315
1316  *=*)
1317    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1318    # Reject names that are not valid shell variable names.
1319    case $ac_envvar in #(
1320      '' | [0-9]* | *[!_$as_cr_alnum]* )
1321      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1322    esac
1323    eval $ac_envvar=\$ac_optarg
1324    export $ac_envvar ;;
1325
1326  *)
1327    # FIXME: should be removed in autoconf 3.0.
1328    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1329    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1330      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1331    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1332    ;;
1333
1334  esac
1335done
1336
1337if test -n "$ac_prev"; then
1338  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1339  as_fn_error $? "missing argument to $ac_option"
1340fi
1341
1342if test -n "$ac_unrecognized_opts"; then
1343  case $enable_option_checking in
1344    no) ;;
1345    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1346    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1347  esac
1348fi
1349
1350# Check all directory arguments for consistency.
1351for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1352		datadir sysconfdir sharedstatedir localstatedir includedir \
1353		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1354		libdir localedir mandir
1355do
1356  eval ac_val=\$$ac_var
1357  # Remove trailing slashes.
1358  case $ac_val in
1359    */ )
1360      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1361      eval $ac_var=\$ac_val;;
1362  esac
1363  # Be sure to have absolute directory names.
1364  case $ac_val in
1365    [\\/$]* | ?:[\\/]* )  continue;;
1366    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1367  esac
1368  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1369done
1370
1371# There might be people who depend on the old broken behavior: `$host'
1372# used to hold the argument of --host etc.
1373# FIXME: To remove some day.
1374build=$build_alias
1375host=$host_alias
1376target=$target_alias
1377
1378# FIXME: To remove some day.
1379if test "x$host_alias" != x; then
1380  if test "x$build_alias" = x; then
1381    cross_compiling=maybe
1382    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1383    If a cross compiler is detected then cross compile mode will be used" >&2
1384  elif test "x$build_alias" != "x$host_alias"; then
1385    cross_compiling=yes
1386  fi
1387fi
1388
1389ac_tool_prefix=
1390test -n "$host_alias" && ac_tool_prefix=$host_alias-
1391
1392test "$silent" = yes && exec 6>/dev/null
1393
1394
1395ac_pwd=`pwd` && test -n "$ac_pwd" &&
1396ac_ls_di=`ls -di .` &&
1397ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1398  as_fn_error $? "working directory cannot be determined"
1399test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1400  as_fn_error $? "pwd does not report name of working directory"
1401
1402
1403# Find the source files, if location was not specified.
1404if test -z "$srcdir"; then
1405  ac_srcdir_defaulted=yes
1406  # Try the directory containing this script, then the parent directory.
1407  ac_confdir=`$as_dirname -- "$as_myself" ||
1408$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1409	 X"$as_myself" : 'X\(//\)[^/]' \| \
1410	 X"$as_myself" : 'X\(//\)$' \| \
1411	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1412$as_echo X"$as_myself" |
1413    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1414	    s//\1/
1415	    q
1416	  }
1417	  /^X\(\/\/\)[^/].*/{
1418	    s//\1/
1419	    q
1420	  }
1421	  /^X\(\/\/\)$/{
1422	    s//\1/
1423	    q
1424	  }
1425	  /^X\(\/\).*/{
1426	    s//\1/
1427	    q
1428	  }
1429	  s/.*/./; q'`
1430  srcdir=$ac_confdir
1431  if test ! -r "$srcdir/$ac_unique_file"; then
1432    srcdir=..
1433  fi
1434else
1435  ac_srcdir_defaulted=no
1436fi
1437if test ! -r "$srcdir/$ac_unique_file"; then
1438  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1439  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1440fi
1441ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1442ac_abs_confdir=`(
1443	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1444	pwd)`
1445# When building in place, set srcdir=.
1446if test "$ac_abs_confdir" = "$ac_pwd"; then
1447  srcdir=.
1448fi
1449# Remove unnecessary trailing slashes from srcdir.
1450# Double slashes in file names in object file debugging info
1451# mess up M-x gdb in Emacs.
1452case $srcdir in
1453*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1454esac
1455for ac_var in $ac_precious_vars; do
1456  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1457  eval ac_env_${ac_var}_value=\$${ac_var}
1458  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1459  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1460done
1461
1462#
1463# Report the --help message.
1464#
1465if test "$ac_init_help" = "long"; then
1466  # Omit some internal or obsolete options to make the list less imposing.
1467  # This message is too long to be a string in the A/UX 3.1 sh.
1468  cat <<_ACEOF
1469\`configure' configures gmpc-lyrics 11.8.16 to adapt to many kinds of systems.
1470
1471Usage: $0 [OPTION]... [VAR=VALUE]...
1472
1473To assign environment variables (e.g., CC, CFLAGS...), specify them as
1474VAR=VALUE.  See below for descriptions of some of the useful variables.
1475
1476Defaults for the options are specified in brackets.
1477
1478Configuration:
1479  -h, --help              display this help and exit
1480      --help=short        display options specific to this package
1481      --help=recursive    display the short help of all the included packages
1482  -V, --version           display version information and exit
1483  -q, --quiet, --silent   do not print \`checking ...' messages
1484      --cache-file=FILE   cache test results in FILE [disabled]
1485  -C, --config-cache      alias for \`--cache-file=config.cache'
1486  -n, --no-create         do not create output files
1487      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1488
1489Installation directories:
1490  --prefix=PREFIX         install architecture-independent files in PREFIX
1491                          [$ac_default_prefix]
1492  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1493                          [PREFIX]
1494
1495By default, \`make install' will install all the files in
1496\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1497an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1498for instance \`--prefix=\$HOME'.
1499
1500For better control, use the options below.
1501
1502Fine tuning of the installation directories:
1503  --bindir=DIR            user executables [EPREFIX/bin]
1504  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1505  --libexecdir=DIR        program executables [EPREFIX/libexec]
1506  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1507  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1508  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1509  --libdir=DIR            object code libraries [EPREFIX/lib]
1510  --includedir=DIR        C header files [PREFIX/include]
1511  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1512  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1513  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1514  --infodir=DIR           info documentation [DATAROOTDIR/info]
1515  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1516  --mandir=DIR            man documentation [DATAROOTDIR/man]
1517  --docdir=DIR            documentation root [DATAROOTDIR/doc/gmpc-lyrics]
1518  --htmldir=DIR           html documentation [DOCDIR]
1519  --dvidir=DIR            dvi documentation [DOCDIR]
1520  --pdfdir=DIR            pdf documentation [DOCDIR]
1521  --psdir=DIR             ps documentation [DOCDIR]
1522_ACEOF
1523
1524  cat <<\_ACEOF
1525
1526Program names:
1527  --program-prefix=PREFIX            prepend PREFIX to installed program names
1528  --program-suffix=SUFFIX            append SUFFIX to installed program names
1529  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1530
1531System types:
1532  --build=BUILD     configure for building on BUILD [guessed]
1533  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1534_ACEOF
1535fi
1536
1537if test -n "$ac_init_help"; then
1538  case $ac_init_help in
1539     short | recursive ) echo "Configuration of gmpc-lyrics 11.8.16:";;
1540   esac
1541  cat <<\_ACEOF
1542
1543Optional Features:
1544  --disable-option-checking  ignore unrecognized --enable/--with options
1545  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1546  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1547  --disable-nls           do not use Native Language Support
1548  --disable-dependency-tracking  speeds up one-time build
1549  --enable-dependency-tracking   do not reject slow dependency extractors
1550  --enable-static[=PKGS]  build static libraries [default=no]
1551  --enable-shared[=PKGS]  build shared libraries [default=yes]
1552  --enable-fast-install[=PKGS]
1553                          optimize for fast installation [default=yes]
1554  --disable-libtool-lock  avoid locking (might break parallel builds)
1555
1556Optional Packages:
1557  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1558  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1559  --with-pic              try to use only PIC/non-PIC objects [default=use
1560                          both]
1561  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1562
1563Some influential environment variables:
1564  CC          C compiler command
1565  CFLAGS      C compiler flags
1566  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1567              nonstandard directory <lib dir>
1568  LIBS        libraries to pass to the linker, e.g. -l<library>
1569  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1570              you have headers in a nonstandard directory <include dir>
1571  CPP         C preprocessor
1572  PKG_CONFIG  path to pkg-config utility
1573  PKG_CONFIG_PATH
1574              directories to add to pkg-config's search path
1575  PKG_CONFIG_LIBDIR
1576              path overriding pkg-config's built-in search path
1577  gmpclyrics_CFLAGS
1578              C compiler flags for gmpclyrics, overriding pkg-config
1579  gmpclyrics_LIBS
1580              linker flags for gmpclyrics, overriding pkg-config
1581
1582Use these variables to override the choices made by `configure' or to help
1583it to find libraries and programs with nonstandard names/locations.
1584
1585Report bugs to <qball@sarine.nl>.
1586_ACEOF
1587ac_status=$?
1588fi
1589
1590if test "$ac_init_help" = "recursive"; then
1591  # If there are subdirs, report their specific --help.
1592  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1593    test -d "$ac_dir" ||
1594      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1595      continue
1596    ac_builddir=.
1597
1598case "$ac_dir" in
1599.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1600*)
1601  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1602  # A ".." for each directory in $ac_dir_suffix.
1603  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1604  case $ac_top_builddir_sub in
1605  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1606  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1607  esac ;;
1608esac
1609ac_abs_top_builddir=$ac_pwd
1610ac_abs_builddir=$ac_pwd$ac_dir_suffix
1611# for backward compatibility:
1612ac_top_builddir=$ac_top_build_prefix
1613
1614case $srcdir in
1615  .)  # We are building in place.
1616    ac_srcdir=.
1617    ac_top_srcdir=$ac_top_builddir_sub
1618    ac_abs_top_srcdir=$ac_pwd ;;
1619  [\\/]* | ?:[\\/]* )  # Absolute name.
1620    ac_srcdir=$srcdir$ac_dir_suffix;
1621    ac_top_srcdir=$srcdir
1622    ac_abs_top_srcdir=$srcdir ;;
1623  *) # Relative name.
1624    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1625    ac_top_srcdir=$ac_top_build_prefix$srcdir
1626    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1627esac
1628ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1629
1630    cd "$ac_dir" || { ac_status=$?; continue; }
1631    # Check for guested configure.
1632    if test -f "$ac_srcdir/configure.gnu"; then
1633      echo &&
1634      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1635    elif test -f "$ac_srcdir/configure"; then
1636      echo &&
1637      $SHELL "$ac_srcdir/configure" --help=recursive
1638    else
1639      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1640    fi || ac_status=$?
1641    cd "$ac_pwd" || { ac_status=$?; break; }
1642  done
1643fi
1644
1645test -n "$ac_init_help" && exit $ac_status
1646if $ac_init_version; then
1647  cat <<\_ACEOF
1648gmpc-lyrics configure 11.8.16
1649generated by GNU Autoconf 2.67
1650
1651Copyright (C) 2010 Free Software Foundation, Inc.
1652This configure script is free software; the Free Software Foundation
1653gives unlimited permission to copy, distribute and modify it.
1654_ACEOF
1655  exit
1656fi
1657
1658## ------------------------ ##
1659## Autoconf initialization. ##
1660## ------------------------ ##
1661
1662# ac_fn_c_try_compile LINENO
1663# --------------------------
1664# Try to compile conftest.$ac_ext, and return whether this succeeded.
1665ac_fn_c_try_compile ()
1666{
1667  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1668  rm -f conftest.$ac_objext
1669  if { { ac_try="$ac_compile"
1670case "(($ac_try" in
1671  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1672  *) ac_try_echo=$ac_try;;
1673esac
1674eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1675$as_echo "$ac_try_echo"; } >&5
1676  (eval "$ac_compile") 2>conftest.err
1677  ac_status=$?
1678  if test -s conftest.err; then
1679    grep -v '^ *+' conftest.err >conftest.er1
1680    cat conftest.er1 >&5
1681    mv -f conftest.er1 conftest.err
1682  fi
1683  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1684  test $ac_status = 0; } && {
1685	 test -z "$ac_c_werror_flag" ||
1686	 test ! -s conftest.err
1687       } && test -s conftest.$ac_objext; then :
1688  ac_retval=0
1689else
1690  $as_echo "$as_me: failed program was:" >&5
1691sed 's/^/| /' conftest.$ac_ext >&5
1692
1693	ac_retval=1
1694fi
1695  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1696  as_fn_set_status $ac_retval
1697
1698} # ac_fn_c_try_compile
1699
1700# ac_fn_c_try_link LINENO
1701# -----------------------
1702# Try to link conftest.$ac_ext, and return whether this succeeded.
1703ac_fn_c_try_link ()
1704{
1705  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706  rm -f conftest.$ac_objext conftest$ac_exeext
1707  if { { ac_try="$ac_link"
1708case "(($ac_try" in
1709  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710  *) ac_try_echo=$ac_try;;
1711esac
1712eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713$as_echo "$ac_try_echo"; } >&5
1714  (eval "$ac_link") 2>conftest.err
1715  ac_status=$?
1716  if test -s conftest.err; then
1717    grep -v '^ *+' conftest.err >conftest.er1
1718    cat conftest.er1 >&5
1719    mv -f conftest.er1 conftest.err
1720  fi
1721  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722  test $ac_status = 0; } && {
1723	 test -z "$ac_c_werror_flag" ||
1724	 test ! -s conftest.err
1725       } && test -s conftest$ac_exeext && {
1726	 test "$cross_compiling" = yes ||
1727	 $as_test_x conftest$ac_exeext
1728       }; then :
1729  ac_retval=0
1730else
1731  $as_echo "$as_me: failed program was:" >&5
1732sed 's/^/| /' conftest.$ac_ext >&5
1733
1734	ac_retval=1
1735fi
1736  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1737  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1738  # interfere with the next link command; also delete a directory that is
1739  # left behind by Apple's compiler.  We do this before executing the actions.
1740  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1741  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1742  as_fn_set_status $ac_retval
1743
1744} # ac_fn_c_try_link
1745
1746# ac_fn_c_check_func LINENO FUNC VAR
1747# ----------------------------------
1748# Tests whether FUNC exists, setting the cache variable VAR accordingly
1749ac_fn_c_check_func ()
1750{
1751  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753$as_echo_n "checking for $2... " >&6; }
1754if eval "test \"\${$3+set}\"" = set; then :
1755  $as_echo_n "(cached) " >&6
1756else
1757  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758/* end confdefs.h.  */
1759/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1760   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1761#define $2 innocuous_$2
1762
1763/* System header to define __stub macros and hopefully few prototypes,
1764    which can conflict with char $2 (); below.
1765    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1766    <limits.h> exists even on freestanding compilers.  */
1767
1768#ifdef __STDC__
1769# include <limits.h>
1770#else
1771# include <assert.h>
1772#endif
1773
1774#undef $2
1775
1776/* Override any GCC internal prototype to avoid an error.
1777   Use char because int might match the return type of a GCC
1778   builtin and then its argument prototype would still apply.  */
1779#ifdef __cplusplus
1780extern "C"
1781#endif
1782char $2 ();
1783/* The GNU C library defines this for functions which it implements
1784    to always fail with ENOSYS.  Some functions are actually named
1785    something starting with __ and the normal name is an alias.  */
1786#if defined __stub_$2 || defined __stub___$2
1787choke me
1788#endif
1789
1790int
1791main ()
1792{
1793return $2 ();
1794  ;
1795  return 0;
1796}
1797_ACEOF
1798if ac_fn_c_try_link "$LINENO"; then :
1799  eval "$3=yes"
1800else
1801  eval "$3=no"
1802fi
1803rm -f core conftest.err conftest.$ac_objext \
1804    conftest$ac_exeext conftest.$ac_ext
1805fi
1806eval ac_res=\$$3
1807	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1808$as_echo "$ac_res" >&6; }
1809  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1810
1811} # ac_fn_c_check_func
1812
1813# ac_fn_c_try_cpp LINENO
1814# ----------------------
1815# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1816ac_fn_c_try_cpp ()
1817{
1818  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819  if { { ac_try="$ac_cpp conftest.$ac_ext"
1820case "(($ac_try" in
1821  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1822  *) ac_try_echo=$ac_try;;
1823esac
1824eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1825$as_echo "$ac_try_echo"; } >&5
1826  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1827  ac_status=$?
1828  if test -s conftest.err; then
1829    grep -v '^ *+' conftest.err >conftest.er1
1830    cat conftest.er1 >&5
1831    mv -f conftest.er1 conftest.err
1832  fi
1833  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1834  test $ac_status = 0; } > conftest.i && {
1835	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1836	 test ! -s conftest.err
1837       }; then :
1838  ac_retval=0
1839else
1840  $as_echo "$as_me: failed program was:" >&5
1841sed 's/^/| /' conftest.$ac_ext >&5
1842
1843    ac_retval=1
1844fi
1845  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1846  as_fn_set_status $ac_retval
1847
1848} # ac_fn_c_try_cpp
1849
1850# ac_fn_c_try_run LINENO
1851# ----------------------
1852# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1853# that executables *can* be run.
1854ac_fn_c_try_run ()
1855{
1856  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857  if { { ac_try="$ac_link"
1858case "(($ac_try" in
1859  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1860  *) ac_try_echo=$ac_try;;
1861esac
1862eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1863$as_echo "$ac_try_echo"; } >&5
1864  (eval "$ac_link") 2>&5
1865  ac_status=$?
1866  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1867  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1868  { { case "(($ac_try" in
1869  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1870  *) ac_try_echo=$ac_try;;
1871esac
1872eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1873$as_echo "$ac_try_echo"; } >&5
1874  (eval "$ac_try") 2>&5
1875  ac_status=$?
1876  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1877  test $ac_status = 0; }; }; then :
1878  ac_retval=0
1879else
1880  $as_echo "$as_me: program exited with status $ac_status" >&5
1881       $as_echo "$as_me: failed program was:" >&5
1882sed 's/^/| /' conftest.$ac_ext >&5
1883
1884       ac_retval=$ac_status
1885fi
1886  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1887  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1888  as_fn_set_status $ac_retval
1889
1890} # ac_fn_c_try_run
1891
1892# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1893# -------------------------------------------------------
1894# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1895# the include files in INCLUDES and setting the cache variable VAR
1896# accordingly.
1897ac_fn_c_check_header_mongrel ()
1898{
1899  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900  if eval "test \"\${$3+set}\"" = set; then :
1901  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1902$as_echo_n "checking for $2... " >&6; }
1903if eval "test \"\${$3+set}\"" = set; then :
1904  $as_echo_n "(cached) " >&6
1905fi
1906eval ac_res=\$$3
1907	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908$as_echo "$ac_res" >&6; }
1909else
1910  # Is the header compilable?
1911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1912$as_echo_n "checking $2 usability... " >&6; }
1913cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914/* end confdefs.h.  */
1915$4
1916#include <$2>
1917_ACEOF
1918if ac_fn_c_try_compile "$LINENO"; then :
1919  ac_header_compiler=yes
1920else
1921  ac_header_compiler=no
1922fi
1923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1925$as_echo "$ac_header_compiler" >&6; }
1926
1927# Is the header present?
1928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1929$as_echo_n "checking $2 presence... " >&6; }
1930cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931/* end confdefs.h.  */
1932#include <$2>
1933_ACEOF
1934if ac_fn_c_try_cpp "$LINENO"; then :
1935  ac_header_preproc=yes
1936else
1937  ac_header_preproc=no
1938fi
1939rm -f conftest.err conftest.i conftest.$ac_ext
1940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1941$as_echo "$ac_header_preproc" >&6; }
1942
1943# So?  What about this header?
1944case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1945  yes:no: )
1946    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1947$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1948    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1949$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1950    ;;
1951  no:yes:* )
1952    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1953$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1954    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1955$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1956    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1957$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1958    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1959$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1960    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1961$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1962( $as_echo "## ------------------------------ ##
1963## Report this to qball@sarine.nl ##
1964## ------------------------------ ##"
1965     ) | sed "s/^/$as_me: WARNING:     /" >&2
1966    ;;
1967esac
1968  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1969$as_echo_n "checking for $2... " >&6; }
1970if eval "test \"\${$3+set}\"" = set; then :
1971  $as_echo_n "(cached) " >&6
1972else
1973  eval "$3=\$ac_header_compiler"
1974fi
1975eval ac_res=\$$3
1976	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1977$as_echo "$ac_res" >&6; }
1978fi
1979  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1980
1981} # ac_fn_c_check_header_mongrel
1982
1983# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1984# -------------------------------------------------------
1985# Tests whether HEADER exists and can be compiled using the include files in
1986# INCLUDES, setting the cache variable VAR accordingly.
1987ac_fn_c_check_header_compile ()
1988{
1989  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1990  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1991$as_echo_n "checking for $2... " >&6; }
1992if eval "test \"\${$3+set}\"" = set; then :
1993  $as_echo_n "(cached) " >&6
1994else
1995  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996/* end confdefs.h.  */
1997$4
1998#include <$2>
1999_ACEOF
2000if ac_fn_c_try_compile "$LINENO"; then :
2001  eval "$3=yes"
2002else
2003  eval "$3=no"
2004fi
2005rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2006fi
2007eval ac_res=\$$3
2008	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2009$as_echo "$ac_res" >&6; }
2010  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2011
2012} # ac_fn_c_check_header_compile
2013cat >config.log <<_ACEOF
2014This file contains any messages produced by compilers while
2015running configure, to aid debugging if configure makes a mistake.
2016
2017It was created by gmpc-lyrics $as_me 11.8.16, which was
2018generated by GNU Autoconf 2.67.  Invocation command line was
2019
2020  $ $0 $@
2021
2022_ACEOF
2023exec 5>>config.log
2024{
2025cat <<_ASUNAME
2026## --------- ##
2027## Platform. ##
2028## --------- ##
2029
2030hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2031uname -m = `(uname -m) 2>/dev/null || echo unknown`
2032uname -r = `(uname -r) 2>/dev/null || echo unknown`
2033uname -s = `(uname -s) 2>/dev/null || echo unknown`
2034uname -v = `(uname -v) 2>/dev/null || echo unknown`
2035
2036/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2037/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2038
2039/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2040/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2041/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2042/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2043/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2044/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2045/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2046
2047_ASUNAME
2048
2049as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050for as_dir in $PATH
2051do
2052  IFS=$as_save_IFS
2053  test -z "$as_dir" && as_dir=.
2054    $as_echo "PATH: $as_dir"
2055  done
2056IFS=$as_save_IFS
2057
2058} >&5
2059
2060cat >&5 <<_ACEOF
2061
2062
2063## ----------- ##
2064## Core tests. ##
2065## ----------- ##
2066
2067_ACEOF
2068
2069
2070# Keep a trace of the command line.
2071# Strip out --no-create and --no-recursion so they do not pile up.
2072# Strip out --silent because we don't want to record it for future runs.
2073# Also quote any args containing shell meta-characters.
2074# Make two passes to allow for proper duplicate-argument suppression.
2075ac_configure_args=
2076ac_configure_args0=
2077ac_configure_args1=
2078ac_must_keep_next=false
2079for ac_pass in 1 2
2080do
2081  for ac_arg
2082  do
2083    case $ac_arg in
2084    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2085    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2086    | -silent | --silent | --silen | --sile | --sil)
2087      continue ;;
2088    *\'*)
2089      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2090    esac
2091    case $ac_pass in
2092    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2093    2)
2094      as_fn_append ac_configure_args1 " '$ac_arg'"
2095      if test $ac_must_keep_next = true; then
2096	ac_must_keep_next=false # Got value, back to normal.
2097      else
2098	case $ac_arg in
2099	  *=* | --config-cache | -C | -disable-* | --disable-* \
2100	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2101	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2102	  | -with-* | --with-* | -without-* | --without-* | --x)
2103	    case "$ac_configure_args0 " in
2104	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2105	    esac
2106	    ;;
2107	  -* ) ac_must_keep_next=true ;;
2108	esac
2109      fi
2110      as_fn_append ac_configure_args " '$ac_arg'"
2111      ;;
2112    esac
2113  done
2114done
2115{ ac_configure_args0=; unset ac_configure_args0;}
2116{ ac_configure_args1=; unset ac_configure_args1;}
2117
2118# When interrupted or exit'd, cleanup temporary files, and complete
2119# config.log.  We remove comments because anyway the quotes in there
2120# would cause problems or look ugly.
2121# WARNING: Use '\'' to represent an apostrophe within the trap.
2122# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2123trap 'exit_status=$?
2124  # Save into config.log some information that might help in debugging.
2125  {
2126    echo
2127
2128    $as_echo "## ---------------- ##
2129## Cache variables. ##
2130## ---------------- ##"
2131    echo
2132    # The following way of writing the cache mishandles newlines in values,
2133(
2134  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2135    eval ac_val=\$$ac_var
2136    case $ac_val in #(
2137    *${as_nl}*)
2138      case $ac_var in #(
2139      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2140$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2141      esac
2142      case $ac_var in #(
2143      _ | IFS | as_nl) ;; #(
2144      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2145      *) { eval $ac_var=; unset $ac_var;} ;;
2146      esac ;;
2147    esac
2148  done
2149  (set) 2>&1 |
2150    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2151    *${as_nl}ac_space=\ *)
2152      sed -n \
2153	"s/'\''/'\''\\\\'\'''\''/g;
2154	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2155      ;; #(
2156    *)
2157      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2158      ;;
2159    esac |
2160    sort
2161)
2162    echo
2163
2164    $as_echo "## ----------------- ##
2165## Output variables. ##
2166## ----------------- ##"
2167    echo
2168    for ac_var in $ac_subst_vars
2169    do
2170      eval ac_val=\$$ac_var
2171      case $ac_val in
2172      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2173      esac
2174      $as_echo "$ac_var='\''$ac_val'\''"
2175    done | sort
2176    echo
2177
2178    if test -n "$ac_subst_files"; then
2179      $as_echo "## ------------------- ##
2180## File substitutions. ##
2181## ------------------- ##"
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      $as_echo "## ----------- ##
2196## confdefs.h. ##
2197## ----------- ##"
2198      echo
2199      cat confdefs.h
2200      echo
2201    fi
2202    test "$ac_signal" != 0 &&
2203      $as_echo "$as_me: caught signal $ac_signal"
2204    $as_echo "$as_me: exit $exit_status"
2205  } >&5
2206  rm -f core *.core core.conftest.* &&
2207    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2208    exit $exit_status
2209' 0
2210for ac_signal in 1 2 13 15; do
2211  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2212done
2213ac_signal=0
2214
2215# confdefs.h avoids OS command line length limits that DEFS can exceed.
2216rm -f -r conftest* confdefs.h
2217
2218$as_echo "/* confdefs.h */" > confdefs.h
2219
2220# Predefined preprocessor variables.
2221
2222cat >>confdefs.h <<_ACEOF
2223#define PACKAGE_NAME "$PACKAGE_NAME"
2224_ACEOF
2225
2226cat >>confdefs.h <<_ACEOF
2227#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2228_ACEOF
2229
2230cat >>confdefs.h <<_ACEOF
2231#define PACKAGE_VERSION "$PACKAGE_VERSION"
2232_ACEOF
2233
2234cat >>confdefs.h <<_ACEOF
2235#define PACKAGE_STRING "$PACKAGE_STRING"
2236_ACEOF
2237
2238cat >>confdefs.h <<_ACEOF
2239#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2240_ACEOF
2241
2242cat >>confdefs.h <<_ACEOF
2243#define PACKAGE_URL "$PACKAGE_URL"
2244_ACEOF
2245
2246
2247# Let the site file select an alternate cache file if it wants to.
2248# Prefer an explicitly selected file to automatically selected ones.
2249ac_site_file1=NONE
2250ac_site_file2=NONE
2251if test -n "$CONFIG_SITE"; then
2252  # We do not want a PATH search for config.site.
2253  case $CONFIG_SITE in #((
2254    -*)  ac_site_file1=./$CONFIG_SITE;;
2255    */*) ac_site_file1=$CONFIG_SITE;;
2256    *)   ac_site_file1=./$CONFIG_SITE;;
2257  esac
2258elif test "x$prefix" != xNONE; then
2259  ac_site_file1=$prefix/share/config.site
2260  ac_site_file2=$prefix/etc/config.site
2261else
2262  ac_site_file1=$ac_default_prefix/share/config.site
2263  ac_site_file2=$ac_default_prefix/etc/config.site
2264fi
2265for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2266do
2267  test "x$ac_site_file" = xNONE && continue
2268  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2269    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2270$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2271    sed 's/^/| /' "$ac_site_file" >&5
2272    . "$ac_site_file" \
2273      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2274$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2275as_fn_error $? "failed to load site script $ac_site_file
2276See \`config.log' for more details" "$LINENO" 5 ; }
2277  fi
2278done
2279
2280if test -r "$cache_file"; then
2281  # Some versions of bash will fail to source /dev/null (special files
2282  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2283  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2284    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2285$as_echo "$as_me: loading cache $cache_file" >&6;}
2286    case $cache_file in
2287      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2288      *)                      . "./$cache_file";;
2289    esac
2290  fi
2291else
2292  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2293$as_echo "$as_me: creating cache $cache_file" >&6;}
2294  >$cache_file
2295fi
2296
2297# Check that the precious variables saved in the cache have kept the same
2298# value.
2299ac_cache_corrupted=false
2300for ac_var in $ac_precious_vars; do
2301  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2302  eval ac_new_set=\$ac_env_${ac_var}_set
2303  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2304  eval ac_new_val=\$ac_env_${ac_var}_value
2305  case $ac_old_set,$ac_new_set in
2306    set,)
2307      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2308$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2309      ac_cache_corrupted=: ;;
2310    ,set)
2311      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2312$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2313      ac_cache_corrupted=: ;;
2314    ,);;
2315    *)
2316      if test "x$ac_old_val" != "x$ac_new_val"; then
2317	# differences in whitespace do not lead to failure.
2318	ac_old_val_w=`echo x $ac_old_val`
2319	ac_new_val_w=`echo x $ac_new_val`
2320	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2321	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2322$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2323	  ac_cache_corrupted=:
2324	else
2325	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2326$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2327	  eval $ac_var=\$ac_old_val
2328	fi
2329	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2330$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2331	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2332$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2333      fi;;
2334  esac
2335  # Pass precious variables to config.status.
2336  if test "$ac_new_set" = set; then
2337    case $ac_new_val in
2338    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2339    *) ac_arg=$ac_var=$ac_new_val ;;
2340    esac
2341    case " $ac_configure_args " in
2342      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2343      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2344    esac
2345  fi
2346done
2347if $ac_cache_corrupted; then
2348  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2349$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2350  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2351$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2352  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2353fi
2354## -------------------- ##
2355## Main body of script. ##
2356## -------------------- ##
2357
2358ac_ext=c
2359ac_cpp='$CPP $CPPFLAGS'
2360ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2361ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2362ac_compiler_gnu=$ac_cv_c_compiler_gnu
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373ac_aux_dir=
2374for ac_dir in . "$srcdir"/.; do
2375  if test -f "$ac_dir/install-sh"; then
2376    ac_aux_dir=$ac_dir
2377    ac_install_sh="$ac_aux_dir/install-sh -c"
2378    break
2379  elif test -f "$ac_dir/install.sh"; then
2380    ac_aux_dir=$ac_dir
2381    ac_install_sh="$ac_aux_dir/install.sh -c"
2382    break
2383  elif test -f "$ac_dir/shtool"; then
2384    ac_aux_dir=$ac_dir
2385    ac_install_sh="$ac_aux_dir/shtool install -c"
2386    break
2387  fi
2388done
2389if test -z "$ac_aux_dir"; then
2390  as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2391fi
2392
2393# These three variables are undocumented and unsupported,
2394# and are intended to be withdrawn in a future Autoconf release.
2395# They can cause serious problems if a builder's source tree is in a directory
2396# whose full name contains unusual characters.
2397ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2398ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2399ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2400
2401
2402ac_config_headers="$ac_config_headers config.h"
2403
2404am__api_version='1.11'
2405
2406# Find a good install program.  We prefer a C program (faster),
2407# so one script is as good as another.  But avoid the broken or
2408# incompatible versions:
2409# SysV /etc/install, /usr/sbin/install
2410# SunOS /usr/etc/install
2411# IRIX /sbin/install
2412# AIX /bin/install
2413# AmigaOS /C/install, which installs bootblocks on floppy discs
2414# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2415# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2416# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2417# OS/2's system install, which has a completely different semantic
2418# ./install, which can be erroneously created by make from ./install.sh.
2419# Reject install programs that cannot install multiple files.
2420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2421$as_echo_n "checking for a BSD-compatible install... " >&6; }
2422if test -z "$INSTALL"; then
2423if test "${ac_cv_path_install+set}" = set; then :
2424  $as_echo_n "(cached) " >&6
2425else
2426  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2427for as_dir in $PATH
2428do
2429  IFS=$as_save_IFS
2430  test -z "$as_dir" && as_dir=.
2431    # Account for people who put trailing slashes in PATH elements.
2432case $as_dir/ in #((
2433  ./ | .// | /[cC]/* | \
2434  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2435  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2436  /usr/ucb/* ) ;;
2437  *)
2438    # OSF1 and SCO ODT 3.0 have their own names for install.
2439    # Don't use installbsd from OSF since it installs stuff as root
2440    # by default.
2441    for ac_prog in ginstall scoinst install; do
2442      for ac_exec_ext in '' $ac_executable_extensions; do
2443	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2444	  if test $ac_prog = install &&
2445	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2446	    # AIX install.  It has an incompatible calling convention.
2447	    :
2448	  elif test $ac_prog = install &&
2449	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2450	    # program-specific install script used by HP pwplus--don't use.
2451	    :
2452	  else
2453	    rm -rf conftest.one conftest.two conftest.dir
2454	    echo one > conftest.one
2455	    echo two > conftest.two
2456	    mkdir conftest.dir
2457	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2458	      test -s conftest.one && test -s conftest.two &&
2459	      test -s conftest.dir/conftest.one &&
2460	      test -s conftest.dir/conftest.two
2461	    then
2462	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2463	      break 3
2464	    fi
2465	  fi
2466	fi
2467      done
2468    done
2469    ;;
2470esac
2471
2472  done
2473IFS=$as_save_IFS
2474
2475rm -rf conftest.one conftest.two conftest.dir
2476
2477fi
2478  if test "${ac_cv_path_install+set}" = set; then
2479    INSTALL=$ac_cv_path_install
2480  else
2481    # As a last resort, use the slow shell script.  Don't cache a
2482    # value for INSTALL within a source directory, because that will
2483    # break other packages using the cache if that directory is
2484    # removed, or if the value is a relative name.
2485    INSTALL=$ac_install_sh
2486  fi
2487fi
2488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2489$as_echo "$INSTALL" >&6; }
2490
2491# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2492# It thinks the first close brace ends the variable substitution.
2493test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2494
2495test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2496
2497test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2498
2499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2500$as_echo_n "checking whether build environment is sane... " >&6; }
2501# Just in case
2502sleep 1
2503echo timestamp > conftest.file
2504# Reject unsafe characters in $srcdir or the absolute working directory
2505# name.  Accept space and tab only in the latter.
2506am_lf='
2507'
2508case `pwd` in
2509  *[\\\"\#\$\&\'\`$am_lf]*)
2510    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2511esac
2512case $srcdir in
2513  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2514    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2515esac
2516
2517# Do `set' in a subshell so we don't clobber the current shell's
2518# arguments.  Must try -L first in case configure is actually a
2519# symlink; some systems play weird games with the mod time of symlinks
2520# (eg FreeBSD returns the mod time of the symlink's containing
2521# directory).
2522if (
2523   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2524   if test "$*" = "X"; then
2525      # -L didn't work.
2526      set X `ls -t "$srcdir/configure" conftest.file`
2527   fi
2528   rm -f conftest.file
2529   if test "$*" != "X $srcdir/configure conftest.file" \
2530      && test "$*" != "X conftest.file $srcdir/configure"; then
2531
2532      # If neither matched, then we have a broken ls.  This can happen
2533      # if, for instance, CONFIG_SHELL is bash and it inherits a
2534      # broken ls alias from the environment.  This has actually
2535      # happened.  Such a system could not be considered "sane".
2536      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2537alias in your environment" "$LINENO" 5
2538   fi
2539
2540   test "$2" = conftest.file
2541   )
2542then
2543   # Ok.
2544   :
2545else
2546   as_fn_error $? "newly created file is older than distributed files!
2547Check your system clock" "$LINENO" 5
2548fi
2549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2550$as_echo "yes" >&6; }
2551test "$program_prefix" != NONE &&
2552  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2553# Use a double $ so make ignores it.
2554test "$program_suffix" != NONE &&
2555  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2556# Double any \ or $.
2557# By default was `s,x,x', remove it if useless.
2558ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2559program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2560
2561# expand $ac_aux_dir to an absolute path
2562am_aux_dir=`cd $ac_aux_dir && pwd`
2563
2564if test x"${MISSING+set}" != xset; then
2565  case $am_aux_dir in
2566  *\ * | *\	*)
2567    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2568  *)
2569    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2570  esac
2571fi
2572# Use eval to expand $SHELL
2573if eval "$MISSING --run true"; then
2574  am_missing_run="$MISSING --run "
2575else
2576  am_missing_run=
2577  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2578$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2579fi
2580
2581if test x"${install_sh}" != xset; then
2582  case $am_aux_dir in
2583  *\ * | *\	*)
2584    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2585  *)
2586    install_sh="\${SHELL} $am_aux_dir/install-sh"
2587  esac
2588fi
2589
2590# Installed binaries are usually stripped using `strip' when the user
2591# run `make install-strip'.  However `strip' might not be the right
2592# tool to use in cross-compilation environments, therefore Automake
2593# will honor the `STRIP' environment variable to overrule this program.
2594if test "$cross_compiling" != no; then
2595  if test -n "$ac_tool_prefix"; then
2596  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2597set dummy ${ac_tool_prefix}strip; ac_word=$2
2598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2599$as_echo_n "checking for $ac_word... " >&6; }
2600if test "${ac_cv_prog_STRIP+set}" = set; then :
2601  $as_echo_n "(cached) " >&6
2602else
2603  if test -n "$STRIP"; then
2604  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2605else
2606as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2607for as_dir in $PATH
2608do
2609  IFS=$as_save_IFS
2610  test -z "$as_dir" && as_dir=.
2611    for ac_exec_ext in '' $ac_executable_extensions; do
2612  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2613    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2614    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2615    break 2
2616  fi
2617done
2618  done
2619IFS=$as_save_IFS
2620
2621fi
2622fi
2623STRIP=$ac_cv_prog_STRIP
2624if test -n "$STRIP"; then
2625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2626$as_echo "$STRIP" >&6; }
2627else
2628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2629$as_echo "no" >&6; }
2630fi
2631
2632
2633fi
2634if test -z "$ac_cv_prog_STRIP"; then
2635  ac_ct_STRIP=$STRIP
2636  # Extract the first word of "strip", so it can be a program name with args.
2637set dummy strip; ac_word=$2
2638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2639$as_echo_n "checking for $ac_word... " >&6; }
2640if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2641  $as_echo_n "(cached) " >&6
2642else
2643  if test -n "$ac_ct_STRIP"; then
2644  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2645else
2646as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2647for as_dir in $PATH
2648do
2649  IFS=$as_save_IFS
2650  test -z "$as_dir" && as_dir=.
2651    for ac_exec_ext in '' $ac_executable_extensions; do
2652  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2653    ac_cv_prog_ac_ct_STRIP="strip"
2654    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2655    break 2
2656  fi
2657done
2658  done
2659IFS=$as_save_IFS
2660
2661fi
2662fi
2663ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2664if test -n "$ac_ct_STRIP"; then
2665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2666$as_echo "$ac_ct_STRIP" >&6; }
2667else
2668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2669$as_echo "no" >&6; }
2670fi
2671
2672  if test "x$ac_ct_STRIP" = x; then
2673    STRIP=":"
2674  else
2675    case $cross_compiling:$ac_tool_warned in
2676yes:)
2677{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2678$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2679ac_tool_warned=yes ;;
2680esac
2681    STRIP=$ac_ct_STRIP
2682  fi
2683else
2684  STRIP="$ac_cv_prog_STRIP"
2685fi
2686
2687fi
2688INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2689
2690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2691$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2692if test -z "$MKDIR_P"; then
2693  if test "${ac_cv_path_mkdir+set}" = set; then :
2694  $as_echo_n "(cached) " >&6
2695else
2696  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2698do
2699  IFS=$as_save_IFS
2700  test -z "$as_dir" && as_dir=.
2701    for ac_prog in mkdir gmkdir; do
2702	 for ac_exec_ext in '' $ac_executable_extensions; do
2703	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2704	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2705	     'mkdir (GNU coreutils) '* | \
2706	     'mkdir (coreutils) '* | \
2707	     'mkdir (fileutils) '4.1*)
2708	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2709	       break 3;;
2710	   esac
2711	 done
2712       done
2713  done
2714IFS=$as_save_IFS
2715
2716fi
2717
2718  test -d ./--version && rmdir ./--version
2719  if test "${ac_cv_path_mkdir+set}" = set; then
2720    MKDIR_P="$ac_cv_path_mkdir -p"
2721  else
2722    # As a last resort, use the slow shell script.  Don't cache a
2723    # value for MKDIR_P within a source directory, because that will
2724    # break other packages using the cache if that directory is
2725    # removed, or if the value is a relative name.
2726    MKDIR_P="$ac_install_sh -d"
2727  fi
2728fi
2729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2730$as_echo "$MKDIR_P" >&6; }
2731
2732mkdir_p="$MKDIR_P"
2733case $mkdir_p in
2734  [\\/$]* | ?:[\\/]*) ;;
2735  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2736esac
2737
2738for ac_prog in gawk mawk nawk awk
2739do
2740  # Extract the first word of "$ac_prog", so it can be a program name with args.
2741set dummy $ac_prog; ac_word=$2
2742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2743$as_echo_n "checking for $ac_word... " >&6; }
2744if test "${ac_cv_prog_AWK+set}" = set; then :
2745  $as_echo_n "(cached) " >&6
2746else
2747  if test -n "$AWK"; then
2748  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2749else
2750as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751for as_dir in $PATH
2752do
2753  IFS=$as_save_IFS
2754  test -z "$as_dir" && as_dir=.
2755    for ac_exec_ext in '' $ac_executable_extensions; do
2756  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2757    ac_cv_prog_AWK="$ac_prog"
2758    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2759    break 2
2760  fi
2761done
2762  done
2763IFS=$as_save_IFS
2764
2765fi
2766fi
2767AWK=$ac_cv_prog_AWK
2768if test -n "$AWK"; then
2769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2770$as_echo "$AWK" >&6; }
2771else
2772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2773$as_echo "no" >&6; }
2774fi
2775
2776
2777  test -n "$AWK" && break
2778done
2779
2780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2781$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2782set x ${MAKE-make}
2783ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2784if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2785  $as_echo_n "(cached) " >&6
2786else
2787  cat >conftest.make <<\_ACEOF
2788SHELL = /bin/sh
2789all:
2790	@echo '@@@%%%=$(MAKE)=@@@%%%'
2791_ACEOF
2792# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2793case `${MAKE-make} -f conftest.make 2>/dev/null` in
2794  *@@@%%%=?*=@@@%%%*)
2795    eval ac_cv_prog_make_${ac_make}_set=yes;;
2796  *)
2797    eval ac_cv_prog_make_${ac_make}_set=no;;
2798esac
2799rm -f conftest.make
2800fi
2801if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2803$as_echo "yes" >&6; }
2804  SET_MAKE=
2805else
2806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2807$as_echo "no" >&6; }
2808  SET_MAKE="MAKE=${MAKE-make}"
2809fi
2810
2811rm -rf .tst 2>/dev/null
2812mkdir .tst 2>/dev/null
2813if test -d .tst; then
2814  am__leading_dot=.
2815else
2816  am__leading_dot=_
2817fi
2818rmdir .tst 2>/dev/null
2819
2820if test "`cd $srcdir && pwd`" != "`pwd`"; then
2821  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2822  # is not polluted with repeated "-I."
2823  am__isrc=' -I$(srcdir)'
2824  # test to see if srcdir already configured
2825  if test -f $srcdir/config.status; then
2826    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2827  fi
2828fi
2829
2830# test whether we have cygpath
2831if test -z "$CYGPATH_W"; then
2832  if (cygpath --version) >/dev/null 2>/dev/null; then
2833    CYGPATH_W='cygpath -w'
2834  else
2835    CYGPATH_W=echo
2836  fi
2837fi
2838
2839
2840# Define the identity of the package.
2841 PACKAGE='gmpc-lyrics'
2842 VERSION='11.8.16'
2843
2844
2845cat >>confdefs.h <<_ACEOF
2846#define PACKAGE "$PACKAGE"
2847_ACEOF
2848
2849
2850cat >>confdefs.h <<_ACEOF
2851#define VERSION "$VERSION"
2852_ACEOF
2853
2854# Some tools Automake needs.
2855
2856ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2857
2858
2859AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2860
2861
2862AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2863
2864
2865AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2866
2867
2868MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2869
2870# We need awk for the "check" target.  The system "awk" is bad on
2871# some platforms.
2872# Always define AMTAR for backward compatibility.
2873
2874AMTAR=${AMTAR-"${am_missing_run}tar"}
2875
2876am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2877
2878
2879
2880
2881
2882
2883
2884$as_echo "#define PLUGIN_MAJOR_VERSION 11" >>confdefs.h
2885
2886
2887$as_echo "#define PLUGIN_MINOR_VERSION 8" >>confdefs.h
2888
2889
2890$as_echo "#define PLUGIN_MICRO_VERSION 16" >>confdefs.h
2891
2892
2893
2894#intltool, libtool. Check for CC compiler
2895
2896  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2897$as_echo_n "checking whether NLS is requested... " >&6; }
2898    # Check whether --enable-nls was given.
2899if test "${enable_nls+set}" = set; then :
2900  enableval=$enable_nls; USE_NLS=$enableval
2901else
2902  USE_NLS=yes
2903fi
2904
2905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2906$as_echo "$USE_NLS" >&6; }
2907
2908
2909DEPDIR="${am__leading_dot}deps"
2910
2911ac_config_commands="$ac_config_commands depfiles"
2912
2913
2914am_make=${MAKE-make}
2915cat > confinc << 'END'
2916am__doit:
2917	@echo this is the am__doit target
2918.PHONY: am__doit
2919END
2920# If we don't find an include directive, just comment out the code.
2921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2922$as_echo_n "checking for style of include used by $am_make... " >&6; }
2923am__include="#"
2924am__quote=
2925_am_result=none
2926# First try GNU make style include.
2927echo "include confinc" > confmf
2928# Ignore all kinds of additional output from `make'.
2929case `$am_make -s -f confmf 2> /dev/null` in #(
2930*the\ am__doit\ target*)
2931  am__include=include
2932  am__quote=
2933  _am_result=GNU
2934  ;;
2935esac
2936# Now try BSD make style include.
2937if test "$am__include" = "#"; then
2938   echo '.include "confinc"' > confmf
2939   case `$am_make -s -f confmf 2> /dev/null` in #(
2940   *the\ am__doit\ target*)
2941     am__include=.include
2942     am__quote="\""
2943     _am_result=BSD
2944     ;;
2945   esac
2946fi
2947
2948
2949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2950$as_echo "$_am_result" >&6; }
2951rm -f confinc confmf
2952
2953# Check whether --enable-dependency-tracking was given.
2954if test "${enable_dependency_tracking+set}" = set; then :
2955  enableval=$enable_dependency_tracking;
2956fi
2957
2958if test "x$enable_dependency_tracking" != xno; then
2959  am_depcomp="$ac_aux_dir/depcomp"
2960  AMDEPBACKSLASH='\'
2961fi
2962 if test "x$enable_dependency_tracking" != xno; then
2963  AMDEP_TRUE=
2964  AMDEP_FALSE='#'
2965else
2966  AMDEP_TRUE='#'
2967  AMDEP_FALSE=
2968fi
2969
2970
2971ac_ext=c
2972ac_cpp='$CPP $CPPFLAGS'
2973ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2974ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2975ac_compiler_gnu=$ac_cv_c_compiler_gnu
2976if test -n "$ac_tool_prefix"; then
2977  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2978set dummy ${ac_tool_prefix}gcc; ac_word=$2
2979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2980$as_echo_n "checking for $ac_word... " >&6; }
2981if test "${ac_cv_prog_CC+set}" = set; then :
2982  $as_echo_n "(cached) " >&6
2983else
2984  if test -n "$CC"; then
2985  ac_cv_prog_CC="$CC" # Let the user override the test.
2986else
2987as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2988for as_dir in $PATH
2989do
2990  IFS=$as_save_IFS
2991  test -z "$as_dir" && as_dir=.
2992    for ac_exec_ext in '' $ac_executable_extensions; do
2993  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2994    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2995    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2996    break 2
2997  fi
2998done
2999  done
3000IFS=$as_save_IFS
3001
3002fi
3003fi
3004CC=$ac_cv_prog_CC
3005if test -n "$CC"; then
3006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3007$as_echo "$CC" >&6; }
3008else
3009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010$as_echo "no" >&6; }
3011fi
3012
3013
3014fi
3015if test -z "$ac_cv_prog_CC"; then
3016  ac_ct_CC=$CC
3017  # Extract the first word of "gcc", so it can be a program name with args.
3018set dummy gcc; ac_word=$2
3019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020$as_echo_n "checking for $ac_word... " >&6; }
3021if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3022  $as_echo_n "(cached) " >&6
3023else
3024  if test -n "$ac_ct_CC"; then
3025  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3026else
3027as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3028for as_dir in $PATH
3029do
3030  IFS=$as_save_IFS
3031  test -z "$as_dir" && as_dir=.
3032    for ac_exec_ext in '' $ac_executable_extensions; do
3033  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3034    ac_cv_prog_ac_ct_CC="gcc"
3035    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3036    break 2
3037  fi
3038done
3039  done
3040IFS=$as_save_IFS
3041
3042fi
3043fi
3044ac_ct_CC=$ac_cv_prog_ac_ct_CC
3045if test -n "$ac_ct_CC"; then
3046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3047$as_echo "$ac_ct_CC" >&6; }
3048else
3049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3050$as_echo "no" >&6; }
3051fi
3052
3053  if test "x$ac_ct_CC" = x; then
3054    CC=""
3055  else
3056    case $cross_compiling:$ac_tool_warned in
3057yes:)
3058{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3059$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3060ac_tool_warned=yes ;;
3061esac
3062    CC=$ac_ct_CC
3063  fi
3064else
3065  CC="$ac_cv_prog_CC"
3066fi
3067
3068if test -z "$CC"; then
3069          if test -n "$ac_tool_prefix"; then
3070    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3071set dummy ${ac_tool_prefix}cc; ac_word=$2
3072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3073$as_echo_n "checking for $ac_word... " >&6; }
3074if test "${ac_cv_prog_CC+set}" = set; then :
3075  $as_echo_n "(cached) " >&6
3076else
3077  if test -n "$CC"; then
3078  ac_cv_prog_CC="$CC" # Let the user override the test.
3079else
3080as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3081for as_dir in $PATH
3082do
3083  IFS=$as_save_IFS
3084  test -z "$as_dir" && as_dir=.
3085    for ac_exec_ext in '' $ac_executable_extensions; do
3086  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3087    ac_cv_prog_CC="${ac_tool_prefix}cc"
3088    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089    break 2
3090  fi
3091done
3092  done
3093IFS=$as_save_IFS
3094
3095fi
3096fi
3097CC=$ac_cv_prog_CC
3098if test -n "$CC"; then
3099  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3100$as_echo "$CC" >&6; }
3101else
3102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3103$as_echo "no" >&6; }
3104fi
3105
3106
3107  fi
3108fi
3109if test -z "$CC"; then
3110  # Extract the first word of "cc", so it can be a program name with args.
3111set dummy cc; ac_word=$2
3112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113$as_echo_n "checking for $ac_word... " >&6; }
3114if test "${ac_cv_prog_CC+set}" = set; then :
3115  $as_echo_n "(cached) " >&6
3116else
3117  if test -n "$CC"; then
3118  ac_cv_prog_CC="$CC" # Let the user override the test.
3119else
3120  ac_prog_rejected=no
3121as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122for as_dir in $PATH
3123do
3124  IFS=$as_save_IFS
3125  test -z "$as_dir" && as_dir=.
3126    for ac_exec_ext in '' $ac_executable_extensions; do
3127  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3128    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3129       ac_prog_rejected=yes
3130       continue
3131     fi
3132    ac_cv_prog_CC="cc"
3133    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3134    break 2
3135  fi
3136done
3137  done
3138IFS=$as_save_IFS
3139
3140if test $ac_prog_rejected = yes; then
3141  # We found a bogon in the path, so make sure we never use it.
3142  set dummy $ac_cv_prog_CC
3143  shift
3144  if test $# != 0; then
3145    # We chose a different compiler from the bogus one.
3146    # However, it has the same basename, so the bogon will be chosen
3147    # first if we set CC to just the basename; use the full file name.
3148    shift
3149    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3150  fi
3151fi
3152fi
3153fi
3154CC=$ac_cv_prog_CC
3155if test -n "$CC"; then
3156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3157$as_echo "$CC" >&6; }
3158else
3159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3160$as_echo "no" >&6; }
3161fi
3162
3163
3164fi
3165if test -z "$CC"; then
3166  if test -n "$ac_tool_prefix"; then
3167  for ac_prog in cl.exe
3168  do
3169    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3170set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3172$as_echo_n "checking for $ac_word... " >&6; }
3173if test "${ac_cv_prog_CC+set}" = set; then :
3174  $as_echo_n "(cached) " >&6
3175else
3176  if test -n "$CC"; then
3177  ac_cv_prog_CC="$CC" # Let the user override the test.
3178else
3179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3180for as_dir in $PATH
3181do
3182  IFS=$as_save_IFS
3183  test -z "$as_dir" && as_dir=.
3184    for ac_exec_ext in '' $ac_executable_extensions; do
3185  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3186    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3187    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3188    break 2
3189  fi
3190done
3191  done
3192IFS=$as_save_IFS
3193
3194fi
3195fi
3196CC=$ac_cv_prog_CC
3197if test -n "$CC"; then
3198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3199$as_echo "$CC" >&6; }
3200else
3201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202$as_echo "no" >&6; }
3203fi
3204
3205
3206    test -n "$CC" && break
3207  done
3208fi
3209if test -z "$CC"; then
3210  ac_ct_CC=$CC
3211  for ac_prog in cl.exe
3212do
3213  # Extract the first word of "$ac_prog", so it can be a program name with args.
3214set dummy $ac_prog; ac_word=$2
3215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3216$as_echo_n "checking for $ac_word... " >&6; }
3217if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3218  $as_echo_n "(cached) " >&6
3219else
3220  if test -n "$ac_ct_CC"; then
3221  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3222else
3223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3224for as_dir in $PATH
3225do
3226  IFS=$as_save_IFS
3227  test -z "$as_dir" && as_dir=.
3228    for ac_exec_ext in '' $ac_executable_extensions; do
3229  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3230    ac_cv_prog_ac_ct_CC="$ac_prog"
3231    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3232    break 2
3233  fi
3234done
3235  done
3236IFS=$as_save_IFS
3237
3238fi
3239fi
3240ac_ct_CC=$ac_cv_prog_ac_ct_CC
3241if test -n "$ac_ct_CC"; then
3242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3243$as_echo "$ac_ct_CC" >&6; }
3244else
3245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3246$as_echo "no" >&6; }
3247fi
3248
3249
3250  test -n "$ac_ct_CC" && break
3251done
3252
3253  if test "x$ac_ct_CC" = x; then
3254    CC=""
3255  else
3256    case $cross_compiling:$ac_tool_warned in
3257yes:)
3258{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3259$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3260ac_tool_warned=yes ;;
3261esac
3262    CC=$ac_ct_CC
3263  fi
3264fi
3265
3266fi
3267
3268
3269test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3270$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3271as_fn_error $? "no acceptable C compiler found in \$PATH
3272See \`config.log' for more details" "$LINENO" 5 ; }
3273
3274# Provide some information about the compiler.
3275$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3276set X $ac_compile
3277ac_compiler=$2
3278for ac_option in --version -v -V -qversion; do
3279  { { ac_try="$ac_compiler $ac_option >&5"
3280case "(($ac_try" in
3281  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3282  *) ac_try_echo=$ac_try;;
3283esac
3284eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3285$as_echo "$ac_try_echo"; } >&5
3286  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3287  ac_status=$?
3288  if test -s conftest.err; then
3289    sed '10a\
3290... rest of stderr output deleted ...
3291         10q' conftest.err >conftest.er1
3292    cat conftest.er1 >&5
3293  fi
3294  rm -f conftest.er1 conftest.err
3295  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3296  test $ac_status = 0; }
3297done
3298
3299cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3300/* end confdefs.h.  */
3301
3302int
3303main ()
3304{
3305
3306  ;
3307  return 0;
3308}
3309_ACEOF
3310ac_clean_files_save=$ac_clean_files
3311ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3312# Try to create an executable without -o first, disregard a.out.
3313# It will help us diagnose broken compilers, and finding out an intuition
3314# of exeext.
3315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3316$as_echo_n "checking whether the C compiler works... " >&6; }
3317ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3318
3319# The possible output files:
3320ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3321
3322ac_rmfiles=
3323for ac_file in $ac_files
3324do
3325  case $ac_file in
3326    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3327    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3328  esac
3329done
3330rm -f $ac_rmfiles
3331
3332if { { ac_try="$ac_link_default"
3333case "(($ac_try" in
3334  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3335  *) ac_try_echo=$ac_try;;
3336esac
3337eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3338$as_echo "$ac_try_echo"; } >&5
3339  (eval "$ac_link_default") 2>&5
3340  ac_status=$?
3341  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3342  test $ac_status = 0; }; then :
3343  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3344# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3345# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3346# so that the user can short-circuit this test for compilers unknown to
3347# Autoconf.
3348for ac_file in $ac_files ''
3349do
3350  test -f "$ac_file" || continue
3351  case $ac_file in
3352    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3353	;;
3354    [ab].out )
3355	# We found the default executable, but exeext='' is most
3356	# certainly right.
3357	break;;
3358    *.* )
3359	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3360	then :; else
3361	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3362	fi
3363	# We set ac_cv_exeext here because the later test for it is not
3364	# safe: cross compilers may not add the suffix if given an `-o'
3365	# argument, so we may need to know it at that point already.
3366	# Even if this section looks crufty: it has the advantage of
3367	# actually working.
3368	break;;
3369    * )
3370	break;;
3371  esac
3372done
3373test "$ac_cv_exeext" = no && ac_cv_exeext=
3374
3375else
3376  ac_file=''
3377fi
3378if test -z "$ac_file"; then :
3379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3380$as_echo "no" >&6; }
3381$as_echo "$as_me: failed program was:" >&5
3382sed 's/^/| /' conftest.$ac_ext >&5
3383
3384{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3385$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3386as_fn_error 77 "C compiler cannot create executables
3387See \`config.log' for more details" "$LINENO" 5 ; }
3388else
3389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3390$as_echo "yes" >&6; }
3391fi
3392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3393$as_echo_n "checking for C compiler default output file name... " >&6; }
3394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3395$as_echo "$ac_file" >&6; }
3396ac_exeext=$ac_cv_exeext
3397
3398rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3399ac_clean_files=$ac_clean_files_save
3400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3401$as_echo_n "checking for suffix of executables... " >&6; }
3402if { { ac_try="$ac_link"
3403case "(($ac_try" in
3404  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3405  *) ac_try_echo=$ac_try;;
3406esac
3407eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3408$as_echo "$ac_try_echo"; } >&5
3409  (eval "$ac_link") 2>&5
3410  ac_status=$?
3411  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3412  test $ac_status = 0; }; then :
3413  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3414# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3415# work properly (i.e., refer to `conftest.exe'), while it won't with
3416# `rm'.
3417for ac_file in conftest.exe conftest conftest.*; do
3418  test -f "$ac_file" || continue
3419  case $ac_file in
3420    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3421    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3422	  break;;
3423    * ) break;;
3424  esac
3425done
3426else
3427  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3428$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3429as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3430See \`config.log' for more details" "$LINENO" 5 ; }
3431fi
3432rm -f conftest conftest$ac_cv_exeext
3433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3434$as_echo "$ac_cv_exeext" >&6; }
3435
3436rm -f conftest.$ac_ext
3437EXEEXT=$ac_cv_exeext
3438ac_exeext=$EXEEXT
3439cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3440/* end confdefs.h.  */
3441#include <stdio.h>
3442int
3443main ()
3444{
3445FILE *f = fopen ("conftest.out", "w");
3446 return ferror (f) || fclose (f) != 0;
3447
3448  ;
3449  return 0;
3450}
3451_ACEOF
3452ac_clean_files="$ac_clean_files conftest.out"
3453# Check that the compiler produces executables we can run.  If not, either
3454# the compiler is broken, or we cross compile.
3455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3456$as_echo_n "checking whether we are cross compiling... " >&6; }
3457if test "$cross_compiling" != yes; then
3458  { { ac_try="$ac_link"
3459case "(($ac_try" in
3460  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3461  *) ac_try_echo=$ac_try;;
3462esac
3463eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3464$as_echo "$ac_try_echo"; } >&5
3465  (eval "$ac_link") 2>&5
3466  ac_status=$?
3467  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3468  test $ac_status = 0; }
3469  if { ac_try='./conftest$ac_cv_exeext'
3470  { { case "(($ac_try" in
3471  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3472  *) ac_try_echo=$ac_try;;
3473esac
3474eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3475$as_echo "$ac_try_echo"; } >&5
3476  (eval "$ac_try") 2>&5
3477  ac_status=$?
3478  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3479  test $ac_status = 0; }; }; then
3480    cross_compiling=no
3481  else
3482    if test "$cross_compiling" = maybe; then
3483	cross_compiling=yes
3484    else
3485	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3486$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3487as_fn_error $? "cannot run C compiled programs.
3488If you meant to cross compile, use \`--host'.
3489See \`config.log' for more details" "$LINENO" 5 ; }
3490    fi
3491  fi
3492fi
3493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3494$as_echo "$cross_compiling" >&6; }
3495
3496rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3497ac_clean_files=$ac_clean_files_save
3498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3499$as_echo_n "checking for suffix of object files... " >&6; }
3500if test "${ac_cv_objext+set}" = set; then :
3501  $as_echo_n "(cached) " >&6
3502else
3503  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504/* end confdefs.h.  */
3505
3506int
3507main ()
3508{
3509
3510  ;
3511  return 0;
3512}
3513_ACEOF
3514rm -f conftest.o conftest.obj
3515if { { ac_try="$ac_compile"
3516case "(($ac_try" in
3517  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3518  *) ac_try_echo=$ac_try;;
3519esac
3520eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3521$as_echo "$ac_try_echo"; } >&5
3522  (eval "$ac_compile") 2>&5
3523  ac_status=$?
3524  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3525  test $ac_status = 0; }; then :
3526  for ac_file in conftest.o conftest.obj conftest.*; do
3527  test -f "$ac_file" || continue;
3528  case $ac_file in
3529    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3530    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3531       break;;
3532  esac
3533done
3534else
3535  $as_echo "$as_me: failed program was:" >&5
3536sed 's/^/| /' conftest.$ac_ext >&5
3537
3538{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3539$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3540as_fn_error $? "cannot compute suffix of object files: cannot compile
3541See \`config.log' for more details" "$LINENO" 5 ; }
3542fi
3543rm -f conftest.$ac_cv_objext conftest.$ac_ext
3544fi
3545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3546$as_echo "$ac_cv_objext" >&6; }
3547OBJEXT=$ac_cv_objext
3548ac_objext=$OBJEXT
3549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3550$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3551if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3552  $as_echo_n "(cached) " >&6
3553else
3554  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555/* end confdefs.h.  */
3556
3557int
3558main ()
3559{
3560#ifndef __GNUC__
3561       choke me
3562#endif
3563
3564  ;
3565  return 0;
3566}
3567_ACEOF
3568if ac_fn_c_try_compile "$LINENO"; then :
3569  ac_compiler_gnu=yes
3570else
3571  ac_compiler_gnu=no
3572fi
3573rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3574ac_cv_c_compiler_gnu=$ac_compiler_gnu
3575
3576fi
3577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3578$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3579if test $ac_compiler_gnu = yes; then
3580  GCC=yes
3581else
3582  GCC=
3583fi
3584ac_test_CFLAGS=${CFLAGS+set}
3585ac_save_CFLAGS=$CFLAGS
3586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3587$as_echo_n "checking whether $CC accepts -g... " >&6; }
3588if test "${ac_cv_prog_cc_g+set}" = set; then :
3589  $as_echo_n "(cached) " >&6
3590else
3591  ac_save_c_werror_flag=$ac_c_werror_flag
3592   ac_c_werror_flag=yes
3593   ac_cv_prog_cc_g=no
3594   CFLAGS="-g"
3595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3596/* end confdefs.h.  */
3597
3598int
3599main ()
3600{
3601
3602  ;
3603  return 0;
3604}
3605_ACEOF
3606if ac_fn_c_try_compile "$LINENO"; then :
3607  ac_cv_prog_cc_g=yes
3608else
3609  CFLAGS=""
3610      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3611/* end confdefs.h.  */
3612
3613int
3614main ()
3615{
3616
3617  ;
3618  return 0;
3619}
3620_ACEOF
3621if ac_fn_c_try_compile "$LINENO"; then :
3622
3623else
3624  ac_c_werror_flag=$ac_save_c_werror_flag
3625	 CFLAGS="-g"
3626	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627/* end confdefs.h.  */
3628
3629int
3630main ()
3631{
3632
3633  ;
3634  return 0;
3635}
3636_ACEOF
3637if ac_fn_c_try_compile "$LINENO"; then :
3638  ac_cv_prog_cc_g=yes
3639fi
3640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3641fi
3642rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3643fi
3644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3645   ac_c_werror_flag=$ac_save_c_werror_flag
3646fi
3647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3648$as_echo "$ac_cv_prog_cc_g" >&6; }
3649if test "$ac_test_CFLAGS" = set; then
3650  CFLAGS=$ac_save_CFLAGS
3651elif test $ac_cv_prog_cc_g = yes; then
3652  if test "$GCC" = yes; then
3653    CFLAGS="-g -O2"
3654  else
3655    CFLAGS="-g"
3656  fi
3657else
3658  if test "$GCC" = yes; then
3659    CFLAGS="-O2"
3660  else
3661    CFLAGS=
3662  fi
3663fi
3664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3665$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3666if test "${ac_cv_prog_cc_c89+set}" = set; then :
3667  $as_echo_n "(cached) " >&6
3668else
3669  ac_cv_prog_cc_c89=no
3670ac_save_CC=$CC
3671cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3672/* end confdefs.h.  */
3673#include <stdarg.h>
3674#include <stdio.h>
3675#include <sys/types.h>
3676#include <sys/stat.h>
3677/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3678struct buf { int x; };
3679FILE * (*rcsopen) (struct buf *, struct stat *, int);
3680static char *e (p, i)
3681     char **p;
3682     int i;
3683{
3684  return p[i];
3685}
3686static char *f (char * (*g) (char **, int), char **p, ...)
3687{
3688  char *s;
3689  va_list v;
3690  va_start (v,p);
3691  s = g (p, va_arg (v,int));
3692  va_end (v);
3693  return s;
3694}
3695
3696/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3697   function prototypes and stuff, but not '\xHH' hex character constants.
3698   These don't provoke an error unfortunately, instead are silently treated
3699   as 'x'.  The following induces an error, until -std is added to get
3700   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3701   array size at least.  It's necessary to write '\x00'==0 to get something
3702   that's true only with -std.  */
3703int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3704
3705/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3706   inside strings and character constants.  */
3707#define FOO(x) 'x'
3708int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3709
3710int test (int i, double x);
3711struct s1 {int (*f) (int a);};
3712struct s2 {int (*f) (double a);};
3713int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3714int argc;
3715char **argv;
3716int
3717main ()
3718{
3719return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3720  ;
3721  return 0;
3722}
3723_ACEOF
3724for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3725	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3726do
3727  CC="$ac_save_CC $ac_arg"
3728  if ac_fn_c_try_compile "$LINENO"; then :
3729  ac_cv_prog_cc_c89=$ac_arg
3730fi
3731rm -f core conftest.err conftest.$ac_objext
3732  test "x$ac_cv_prog_cc_c89" != "xno" && break
3733done
3734rm -f conftest.$ac_ext
3735CC=$ac_save_CC
3736
3737fi
3738# AC_CACHE_VAL
3739case "x$ac_cv_prog_cc_c89" in
3740  x)
3741    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3742$as_echo "none needed" >&6; } ;;
3743  xno)
3744    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3745$as_echo "unsupported" >&6; } ;;
3746  *)
3747    CC="$CC $ac_cv_prog_cc_c89"
3748    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3749$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3750esac
3751if test "x$ac_cv_prog_cc_c89" != xno; then :
3752
3753fi
3754
3755ac_ext=c
3756ac_cpp='$CPP $CPPFLAGS'
3757ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3758ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3759ac_compiler_gnu=$ac_cv_c_compiler_gnu
3760
3761depcc="$CC"   am_compiler_list=
3762
3763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3764$as_echo_n "checking dependency style of $depcc... " >&6; }
3765if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3766  $as_echo_n "(cached) " >&6
3767else
3768  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3769  # We make a subdir and do the tests there.  Otherwise we can end up
3770  # making bogus files that we don't know about and never remove.  For
3771  # instance it was reported that on HP-UX the gcc test will end up
3772  # making a dummy file named `D' -- because `-MD' means `put the output
3773  # in D'.
3774  mkdir conftest.dir
3775  # Copy depcomp to subdir because otherwise we won't find it if we're
3776  # using a relative directory.
3777  cp "$am_depcomp" conftest.dir
3778  cd conftest.dir
3779  # We will build objects and dependencies in a subdirectory because
3780  # it helps to detect inapplicable dependency modes.  For instance
3781  # both Tru64's cc and ICC support -MD to output dependencies as a
3782  # side effect of compilation, but ICC will put the dependencies in
3783  # the current directory while Tru64 will put them in the object
3784  # directory.
3785  mkdir sub
3786
3787  am_cv_CC_dependencies_compiler_type=none
3788  if test "$am_compiler_list" = ""; then
3789     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3790  fi
3791  am__universal=false
3792  case " $depcc " in #(
3793     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3794     esac
3795
3796  for depmode in $am_compiler_list; do
3797    # Setup a source with many dependencies, because some compilers
3798    # like to wrap large dependency lists on column 80 (with \), and
3799    # we should not choose a depcomp mode which is confused by this.
3800    #
3801    # We need to recreate these files for each test, as the compiler may
3802    # overwrite some of them when testing with obscure command lines.
3803    # This happens at least with the AIX C compiler.
3804    : > sub/conftest.c
3805    for i in 1 2 3 4 5 6; do
3806      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3807      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3808      # Solaris 8's {/usr,}/bin/sh.
3809      touch sub/conftst$i.h
3810    done
3811    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3812
3813    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3814    # mode.  It turns out that the SunPro C++ compiler does not properly
3815    # handle `-M -o', and we need to detect this.  Also, some Intel
3816    # versions had trouble with output in subdirs
3817    am__obj=sub/conftest.${OBJEXT-o}
3818    am__minus_obj="-o $am__obj"
3819    case $depmode in
3820    gcc)
3821      # This depmode causes a compiler race in universal mode.
3822      test "$am__universal" = false || continue
3823      ;;
3824    nosideeffect)
3825      # after this tag, mechanisms are not by side-effect, so they'll
3826      # only be used when explicitly requested
3827      if test "x$enable_dependency_tracking" = xyes; then
3828	continue
3829      else
3830	break
3831      fi
3832      ;;
3833    msvisualcpp | msvcmsys)
3834      # This compiler won't grok `-c -o', but also, the minuso test has
3835      # not run yet.  These depmodes are late enough in the game, and
3836      # so weak that their functioning should not be impacted.
3837      am__obj=conftest.${OBJEXT-o}
3838      am__minus_obj=
3839      ;;
3840    none) break ;;
3841    esac
3842    if depmode=$depmode \
3843       source=sub/conftest.c object=$am__obj \
3844       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3845       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3846         >/dev/null 2>conftest.err &&
3847       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3848       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3849       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3850       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3851      # icc doesn't choke on unknown options, it will just issue warnings
3852      # or remarks (even with -Werror).  So we grep stderr for any message
3853      # that says an option was ignored or not supported.
3854      # When given -MP, icc 7.0 and 7.1 complain thusly:
3855      #   icc: Command line warning: ignoring option '-M'; no argument required
3856      # The diagnosis changed in icc 8.0:
3857      #   icc: Command line remark: option '-MP' not supported
3858      if (grep 'ignoring option' conftest.err ||
3859          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3860        am_cv_CC_dependencies_compiler_type=$depmode
3861        break
3862      fi
3863    fi
3864  done
3865
3866  cd ..
3867  rm -rf conftest.dir
3868else
3869  am_cv_CC_dependencies_compiler_type=none
3870fi
3871
3872fi
3873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3874$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3875CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3876
3877 if
3878  test "x$enable_dependency_tracking" != xno \
3879  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3880  am__fastdepCC_TRUE=
3881  am__fastdepCC_FALSE='#'
3882else
3883  am__fastdepCC_TRUE='#'
3884  am__fastdepCC_FALSE=
3885fi
3886
3887
3888
3889
3890
3891case "$am__api_version" in
3892    1.01234)
3893	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3894    ;;
3895    *)
3896    ;;
3897esac
3898
3899if test -n "0.21"; then
3900    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.21" >&5
3901$as_echo_n "checking for intltool >= 0.21... " >&6; }
3902
3903    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3904    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3905    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3906
3907    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3908$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3909    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3910	as_fn_error $? "Your intltool is too old.  You need intltool 0.21 or later." "$LINENO" 5
3911fi
3912
3913# Extract the first word of "intltool-update", so it can be a program name with args.
3914set dummy intltool-update; ac_word=$2
3915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3916$as_echo_n "checking for $ac_word... " >&6; }
3917if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
3918  $as_echo_n "(cached) " >&6
3919else
3920  case $INTLTOOL_UPDATE in
3921  [\\/]* | ?:[\\/]*)
3922  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3923  ;;
3924  *)
3925  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3926for as_dir in $PATH
3927do
3928  IFS=$as_save_IFS
3929  test -z "$as_dir" && as_dir=.
3930    for ac_exec_ext in '' $ac_executable_extensions; do
3931  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3932    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3933    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3934    break 2
3935  fi
3936done
3937  done
3938IFS=$as_save_IFS
3939
3940  ;;
3941esac
3942fi
3943INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3944if test -n "$INTLTOOL_UPDATE"; then
3945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
3946$as_echo "$INTLTOOL_UPDATE" >&6; }
3947else
3948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3949$as_echo "no" >&6; }
3950fi
3951
3952
3953# Extract the first word of "intltool-merge", so it can be a program name with args.
3954set dummy intltool-merge; ac_word=$2
3955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3956$as_echo_n "checking for $ac_word... " >&6; }
3957if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
3958  $as_echo_n "(cached) " >&6
3959else
3960  case $INTLTOOL_MERGE in
3961  [\\/]* | ?:[\\/]*)
3962  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
3963  ;;
3964  *)
3965  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3966for as_dir in $PATH
3967do
3968  IFS=$as_save_IFS
3969  test -z "$as_dir" && as_dir=.
3970    for ac_exec_ext in '' $ac_executable_extensions; do
3971  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3972    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3973    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3974    break 2
3975  fi
3976done
3977  done
3978IFS=$as_save_IFS
3979
3980  ;;
3981esac
3982fi
3983INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
3984if test -n "$INTLTOOL_MERGE"; then
3985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
3986$as_echo "$INTLTOOL_MERGE" >&6; }
3987else
3988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3989$as_echo "no" >&6; }
3990fi
3991
3992
3993# Extract the first word of "intltool-extract", so it can be a program name with args.
3994set dummy intltool-extract; ac_word=$2
3995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3996$as_echo_n "checking for $ac_word... " >&6; }
3997if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
3998  $as_echo_n "(cached) " >&6
3999else
4000  case $INTLTOOL_EXTRACT in
4001  [\\/]* | ?:[\\/]*)
4002  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4003  ;;
4004  *)
4005  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4006for as_dir in $PATH
4007do
4008  IFS=$as_save_IFS
4009  test -z "$as_dir" && as_dir=.
4010    for ac_exec_ext in '' $ac_executable_extensions; do
4011  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4012    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4013    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4014    break 2
4015  fi
4016done
4017  done
4018IFS=$as_save_IFS
4019
4020  ;;
4021esac
4022fi
4023INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4024if test -n "$INTLTOOL_EXTRACT"; then
4025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4026$as_echo "$INTLTOOL_EXTRACT" >&6; }
4027else
4028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4029$as_echo "no" >&6; }
4030fi
4031
4032
4033if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4034    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4035fi
4036
4037  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 $< $@'
4038INTLTOOL_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 $< $@'
4039     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 $< $@'
4040     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 $< $@'
4041      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
4042     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 $< $@'
4043   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 $< $@'
4044    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 $< $@'
4045INTLTOOL_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 $< $@'
4046       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 $< $@'
4047      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 $< $@'
4048      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
4049      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 $< $@'
4050      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 $< $@'
4051    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 $< $@'
4052  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 $< $@'
4053    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 $< $@'
4054    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 $< $@'
4055   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 $< $@'
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
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153# Check the gettext tools to make sure they are GNU
4154# Extract the first word of "xgettext", so it can be a program name with args.
4155set dummy xgettext; ac_word=$2
4156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4157$as_echo_n "checking for $ac_word... " >&6; }
4158if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4159  $as_echo_n "(cached) " >&6
4160else
4161  case $XGETTEXT in
4162  [\\/]* | ?:[\\/]*)
4163  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4164  ;;
4165  *)
4166  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4167for as_dir in $PATH
4168do
4169  IFS=$as_save_IFS
4170  test -z "$as_dir" && as_dir=.
4171    for ac_exec_ext in '' $ac_executable_extensions; do
4172  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4173    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4174    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4175    break 2
4176  fi
4177done
4178  done
4179IFS=$as_save_IFS
4180
4181  ;;
4182esac
4183fi
4184XGETTEXT=$ac_cv_path_XGETTEXT
4185if test -n "$XGETTEXT"; then
4186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4187$as_echo "$XGETTEXT" >&6; }
4188else
4189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4190$as_echo "no" >&6; }
4191fi
4192
4193
4194# Extract the first word of "msgmerge", so it can be a program name with args.
4195set dummy msgmerge; ac_word=$2
4196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4197$as_echo_n "checking for $ac_word... " >&6; }
4198if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4199  $as_echo_n "(cached) " >&6
4200else
4201  case $MSGMERGE in
4202  [\\/]* | ?:[\\/]*)
4203  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4204  ;;
4205  *)
4206  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4207for as_dir in $PATH
4208do
4209  IFS=$as_save_IFS
4210  test -z "$as_dir" && as_dir=.
4211    for ac_exec_ext in '' $ac_executable_extensions; do
4212  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4213    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4214    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4215    break 2
4216  fi
4217done
4218  done
4219IFS=$as_save_IFS
4220
4221  ;;
4222esac
4223fi
4224MSGMERGE=$ac_cv_path_MSGMERGE
4225if test -n "$MSGMERGE"; then
4226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4227$as_echo "$MSGMERGE" >&6; }
4228else
4229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4230$as_echo "no" >&6; }
4231fi
4232
4233
4234# Extract the first word of "msgfmt", so it can be a program name with args.
4235set dummy msgfmt; ac_word=$2
4236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4237$as_echo_n "checking for $ac_word... " >&6; }
4238if test "${ac_cv_path_MSGFMT+set}" = set; then :
4239  $as_echo_n "(cached) " >&6
4240else
4241  case $MSGFMT in
4242  [\\/]* | ?:[\\/]*)
4243  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4244  ;;
4245  *)
4246  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4247for as_dir in $PATH
4248do
4249  IFS=$as_save_IFS
4250  test -z "$as_dir" && as_dir=.
4251    for ac_exec_ext in '' $ac_executable_extensions; do
4252  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4253    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4254    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4255    break 2
4256  fi
4257done
4258  done
4259IFS=$as_save_IFS
4260
4261  ;;
4262esac
4263fi
4264MSGFMT=$ac_cv_path_MSGFMT
4265if test -n "$MSGFMT"; then
4266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4267$as_echo "$MSGFMT" >&6; }
4268else
4269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4270$as_echo "no" >&6; }
4271fi
4272
4273
4274# Extract the first word of "gmsgfmt", so it can be a program name with args.
4275set dummy gmsgfmt; ac_word=$2
4276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4277$as_echo_n "checking for $ac_word... " >&6; }
4278if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4279  $as_echo_n "(cached) " >&6
4280else
4281  case $GMSGFMT in
4282  [\\/]* | ?:[\\/]*)
4283  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4284  ;;
4285  *)
4286  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4287for as_dir in $PATH
4288do
4289  IFS=$as_save_IFS
4290  test -z "$as_dir" && as_dir=.
4291    for ac_exec_ext in '' $ac_executable_extensions; do
4292  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4293    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4294    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4295    break 2
4296  fi
4297done
4298  done
4299IFS=$as_save_IFS
4300
4301  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4302  ;;
4303esac
4304fi
4305GMSGFMT=$ac_cv_path_GMSGFMT
4306if test -n "$GMSGFMT"; then
4307  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4308$as_echo "$GMSGFMT" >&6; }
4309else
4310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4311$as_echo "no" >&6; }
4312fi
4313
4314
4315if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4316    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4317fi
4318xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4319mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4320mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4321if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4322    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4323fi
4324
4325# Extract the first word of "perl", so it can be a program name with args.
4326set dummy perl; ac_word=$2
4327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4328$as_echo_n "checking for $ac_word... " >&6; }
4329if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
4330  $as_echo_n "(cached) " >&6
4331else
4332  case $INTLTOOL_PERL in
4333  [\\/]* | ?:[\\/]*)
4334  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4335  ;;
4336  *)
4337  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4338for as_dir in $PATH
4339do
4340  IFS=$as_save_IFS
4341  test -z "$as_dir" && as_dir=.
4342    for ac_exec_ext in '' $ac_executable_extensions; do
4343  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4344    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4345    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4346    break 2
4347  fi
4348done
4349  done
4350IFS=$as_save_IFS
4351
4352  ;;
4353esac
4354fi
4355INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4356if test -n "$INTLTOOL_PERL"; then
4357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4358$as_echo "$INTLTOOL_PERL" >&6; }
4359else
4360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4361$as_echo "no" >&6; }
4362fi
4363
4364
4365if test -z "$INTLTOOL_PERL"; then
4366   as_fn_error $? "perl not found" "$LINENO" 5
4367fi
4368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4369$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4370$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4371if test $? -ne 0; then
4372   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4373else
4374   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4376$as_echo "$IT_PERL_VERSION" >&6; }
4377fi
4378if test "x" != "xno-xml"; then
4379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4380$as_echo_n "checking for XML::Parser... " >&6; }
4381   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4382       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4383$as_echo "ok" >&6; }
4384   else
4385       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4386   fi
4387fi
4388
4389# Substitute ALL_LINGUAS so we can use it in po/Makefile
4390
4391
4392# Set DATADIRNAME correctly if it is not set yet
4393# (copied from glib-gettext.m4)
4394if test -z "$DATADIRNAME"; then
4395  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4396/* end confdefs.h.  */
4397
4398int
4399main ()
4400{
4401extern int _nl_msg_cat_cntr;
4402                       return _nl_msg_cat_cntr
4403  ;
4404  return 0;
4405}
4406_ACEOF
4407if ac_fn_c_try_link "$LINENO"; then :
4408  DATADIRNAME=share
4409else
4410  case $host in
4411    *-*-solaris*)
4412                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4413if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4414  DATADIRNAME=share
4415else
4416  DATADIRNAME=lib
4417fi
4418
4419    ;;
4420    *)
4421    DATADIRNAME=lib
4422    ;;
4423    esac
4424fi
4425rm -f core conftest.err conftest.$ac_objext \
4426    conftest$ac_exeext conftest.$ac_ext
4427fi
4428
4429
4430
4431
4432
4433
4434# i18n support
4435ALL_LINGUAS=""
4436
4437GETTEXT_PACKAGE=gmpc-lyrics
4438
4439
4440cat >>confdefs.h <<_ACEOF
4441#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
4442_ACEOF
4443
4444ac_ext=c
4445ac_cpp='$CPP $CPPFLAGS'
4446ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4447ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4448ac_compiler_gnu=$ac_cv_c_compiler_gnu
4449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4450$as_echo_n "checking how to run the C preprocessor... " >&6; }
4451# On Suns, sometimes $CPP names a directory.
4452if test -n "$CPP" && test -d "$CPP"; then
4453  CPP=
4454fi
4455if test -z "$CPP"; then
4456  if test "${ac_cv_prog_CPP+set}" = set; then :
4457  $as_echo_n "(cached) " >&6
4458else
4459      # Double quotes because CPP needs to be expanded
4460    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4461    do
4462      ac_preproc_ok=false
4463for ac_c_preproc_warn_flag in '' yes
4464do
4465  # Use a header file that comes with gcc, so configuring glibc
4466  # with a fresh cross-compiler works.
4467  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4468  # <limits.h> exists even on freestanding compilers.
4469  # On the NeXT, cc -E runs the code through the compiler's parser,
4470  # not just through cpp. "Syntax error" is here to catch this case.
4471  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4472/* end confdefs.h.  */
4473#ifdef __STDC__
4474# include <limits.h>
4475#else
4476# include <assert.h>
4477#endif
4478		     Syntax error
4479_ACEOF
4480if ac_fn_c_try_cpp "$LINENO"; then :
4481
4482else
4483  # Broken: fails on valid input.
4484continue
4485fi
4486rm -f conftest.err conftest.i conftest.$ac_ext
4487
4488  # OK, works on sane cases.  Now check whether nonexistent headers
4489  # can be detected and how.
4490  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491/* end confdefs.h.  */
4492#include <ac_nonexistent.h>
4493_ACEOF
4494if ac_fn_c_try_cpp "$LINENO"; then :
4495  # Broken: success on invalid input.
4496continue
4497else
4498  # Passes both tests.
4499ac_preproc_ok=:
4500break
4501fi
4502rm -f conftest.err conftest.i conftest.$ac_ext
4503
4504done
4505# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4506rm -f conftest.i conftest.err conftest.$ac_ext
4507if $ac_preproc_ok; then :
4508  break
4509fi
4510
4511    done
4512    ac_cv_prog_CPP=$CPP
4513
4514fi
4515  CPP=$ac_cv_prog_CPP
4516else
4517  ac_cv_prog_CPP=$CPP
4518fi
4519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4520$as_echo "$CPP" >&6; }
4521ac_preproc_ok=false
4522for ac_c_preproc_warn_flag in '' yes
4523do
4524  # Use a header file that comes with gcc, so configuring glibc
4525  # with a fresh cross-compiler works.
4526  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4527  # <limits.h> exists even on freestanding compilers.
4528  # On the NeXT, cc -E runs the code through the compiler's parser,
4529  # not just through cpp. "Syntax error" is here to catch this case.
4530  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4531/* end confdefs.h.  */
4532#ifdef __STDC__
4533# include <limits.h>
4534#else
4535# include <assert.h>
4536#endif
4537		     Syntax error
4538_ACEOF
4539if ac_fn_c_try_cpp "$LINENO"; then :
4540
4541else
4542  # Broken: fails on valid input.
4543continue
4544fi
4545rm -f conftest.err conftest.i conftest.$ac_ext
4546
4547  # OK, works on sane cases.  Now check whether nonexistent headers
4548  # can be detected and how.
4549  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550/* end confdefs.h.  */
4551#include <ac_nonexistent.h>
4552_ACEOF
4553if ac_fn_c_try_cpp "$LINENO"; then :
4554  # Broken: success on invalid input.
4555continue
4556else
4557  # Passes both tests.
4558ac_preproc_ok=:
4559break
4560fi
4561rm -f conftest.err conftest.i conftest.$ac_ext
4562
4563done
4564# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4565rm -f conftest.i conftest.err conftest.$ac_ext
4566if $ac_preproc_ok; then :
4567
4568else
4569  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4570$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4571as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4572See \`config.log' for more details" "$LINENO" 5 ; }
4573fi
4574
4575ac_ext=c
4576ac_cpp='$CPP $CPPFLAGS'
4577ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4578ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4579ac_compiler_gnu=$ac_cv_c_compiler_gnu
4580
4581
4582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4583$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4584if test "${ac_cv_path_GREP+set}" = set; then :
4585  $as_echo_n "(cached) " >&6
4586else
4587  if test -z "$GREP"; then
4588  ac_path_GREP_found=false
4589  # Loop through the user's path and test for each of PROGNAME-LIST
4590  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4591for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4592do
4593  IFS=$as_save_IFS
4594  test -z "$as_dir" && as_dir=.
4595    for ac_prog in grep ggrep; do
4596    for ac_exec_ext in '' $ac_executable_extensions; do
4597      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4598      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4599# Check for GNU ac_path_GREP and select it if it is found.
4600  # Check for GNU $ac_path_GREP
4601case `"$ac_path_GREP" --version 2>&1` in
4602*GNU*)
4603  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4604*)
4605  ac_count=0
4606  $as_echo_n 0123456789 >"conftest.in"
4607  while :
4608  do
4609    cat "conftest.in" "conftest.in" >"conftest.tmp"
4610    mv "conftest.tmp" "conftest.in"
4611    cp "conftest.in" "conftest.nl"
4612    $as_echo 'GREP' >> "conftest.nl"
4613    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4614    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4615    as_fn_arith $ac_count + 1 && ac_count=$as_val
4616    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4617      # Best one so far, save it but keep looking for a better one
4618      ac_cv_path_GREP="$ac_path_GREP"
4619      ac_path_GREP_max=$ac_count
4620    fi
4621    # 10*(2^10) chars as input seems more than enough
4622    test $ac_count -gt 10 && break
4623  done
4624  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4625esac
4626
4627      $ac_path_GREP_found && break 3
4628    done
4629  done
4630  done
4631IFS=$as_save_IFS
4632  if test -z "$ac_cv_path_GREP"; then
4633    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4634  fi
4635else
4636  ac_cv_path_GREP=$GREP
4637fi
4638
4639fi
4640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4641$as_echo "$ac_cv_path_GREP" >&6; }
4642 GREP="$ac_cv_path_GREP"
4643
4644
4645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4646$as_echo_n "checking for egrep... " >&6; }
4647if test "${ac_cv_path_EGREP+set}" = set; then :
4648  $as_echo_n "(cached) " >&6
4649else
4650  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4651   then ac_cv_path_EGREP="$GREP -E"
4652   else
4653     if test -z "$EGREP"; then
4654  ac_path_EGREP_found=false
4655  # Loop through the user's path and test for each of PROGNAME-LIST
4656  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4657for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4658do
4659  IFS=$as_save_IFS
4660  test -z "$as_dir" && as_dir=.
4661    for ac_prog in egrep; do
4662    for ac_exec_ext in '' $ac_executable_extensions; do
4663      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4664      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4665# Check for GNU ac_path_EGREP and select it if it is found.
4666  # Check for GNU $ac_path_EGREP
4667case `"$ac_path_EGREP" --version 2>&1` in
4668*GNU*)
4669  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4670*)
4671  ac_count=0
4672  $as_echo_n 0123456789 >"conftest.in"
4673  while :
4674  do
4675    cat "conftest.in" "conftest.in" >"conftest.tmp"
4676    mv "conftest.tmp" "conftest.in"
4677    cp "conftest.in" "conftest.nl"
4678    $as_echo 'EGREP' >> "conftest.nl"
4679    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4680    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4681    as_fn_arith $ac_count + 1 && ac_count=$as_val
4682    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4683      # Best one so far, save it but keep looking for a better one
4684      ac_cv_path_EGREP="$ac_path_EGREP"
4685      ac_path_EGREP_max=$ac_count
4686    fi
4687    # 10*(2^10) chars as input seems more than enough
4688    test $ac_count -gt 10 && break
4689  done
4690  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4691esac
4692
4693      $ac_path_EGREP_found && break 3
4694    done
4695  done
4696  done
4697IFS=$as_save_IFS
4698  if test -z "$ac_cv_path_EGREP"; then
4699    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4700  fi
4701else
4702  ac_cv_path_EGREP=$EGREP
4703fi
4704
4705   fi
4706fi
4707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4708$as_echo "$ac_cv_path_EGREP" >&6; }
4709 EGREP="$ac_cv_path_EGREP"
4710
4711
4712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4713$as_echo_n "checking for ANSI C header files... " >&6; }
4714if test "${ac_cv_header_stdc+set}" = set; then :
4715  $as_echo_n "(cached) " >&6
4716else
4717  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4718/* end confdefs.h.  */
4719#include <stdlib.h>
4720#include <stdarg.h>
4721#include <string.h>
4722#include <float.h>
4723
4724int
4725main ()
4726{
4727
4728  ;
4729  return 0;
4730}
4731_ACEOF
4732if ac_fn_c_try_compile "$LINENO"; then :
4733  ac_cv_header_stdc=yes
4734else
4735  ac_cv_header_stdc=no
4736fi
4737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4738
4739if test $ac_cv_header_stdc = yes; then
4740  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4741  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742/* end confdefs.h.  */
4743#include <string.h>
4744
4745_ACEOF
4746if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4747  $EGREP "memchr" >/dev/null 2>&1; then :
4748
4749else
4750  ac_cv_header_stdc=no
4751fi
4752rm -f conftest*
4753
4754fi
4755
4756if test $ac_cv_header_stdc = yes; then
4757  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4758  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4759/* end confdefs.h.  */
4760#include <stdlib.h>
4761
4762_ACEOF
4763if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4764  $EGREP "free" >/dev/null 2>&1; then :
4765
4766else
4767  ac_cv_header_stdc=no
4768fi
4769rm -f conftest*
4770
4771fi
4772
4773if test $ac_cv_header_stdc = yes; then
4774  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4775  if test "$cross_compiling" = yes; then :
4776  :
4777else
4778  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779/* end confdefs.h.  */
4780#include <ctype.h>
4781#include <stdlib.h>
4782#if ((' ' & 0x0FF) == 0x020)
4783# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4784# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4785#else
4786# define ISLOWER(c) \
4787		   (('a' <= (c) && (c) <= 'i') \
4788		     || ('j' <= (c) && (c) <= 'r') \
4789		     || ('s' <= (c) && (c) <= 'z'))
4790# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4791#endif
4792
4793#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4794int
4795main ()
4796{
4797  int i;
4798  for (i = 0; i < 256; i++)
4799    if (XOR (islower (i), ISLOWER (i))
4800	|| toupper (i) != TOUPPER (i))
4801      return 2;
4802  return 0;
4803}
4804_ACEOF
4805if ac_fn_c_try_run "$LINENO"; then :
4806
4807else
4808  ac_cv_header_stdc=no
4809fi
4810rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4811  conftest.$ac_objext conftest.beam conftest.$ac_ext
4812fi
4813
4814fi
4815fi
4816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4817$as_echo "$ac_cv_header_stdc" >&6; }
4818if test $ac_cv_header_stdc = yes; then
4819
4820$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4821
4822fi
4823
4824# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4825for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4826		  inttypes.h stdint.h unistd.h
4827do :
4828  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4829ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4830"
4831if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4832  cat >>confdefs.h <<_ACEOF
4833#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4834_ACEOF
4835
4836fi
4837
4838done
4839
4840
4841
4842   for ac_header in locale.h
4843do :
4844  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
4845if test "x$ac_cv_header_locale_h" = x""yes; then :
4846  cat >>confdefs.h <<_ACEOF
4847#define HAVE_LOCALE_H 1
4848_ACEOF
4849
4850fi
4851
4852done
4853
4854    if test $ac_cv_header_locale_h = yes; then
4855    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
4856$as_echo_n "checking for LC_MESSAGES... " >&6; }
4857if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
4858  $as_echo_n "(cached) " >&6
4859else
4860  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4861/* end confdefs.h.  */
4862#include <locale.h>
4863int
4864main ()
4865{
4866return LC_MESSAGES
4867  ;
4868  return 0;
4869}
4870_ACEOF
4871if ac_fn_c_try_link "$LINENO"; then :
4872  am_cv_val_LC_MESSAGES=yes
4873else
4874  am_cv_val_LC_MESSAGES=no
4875fi
4876rm -f core conftest.err conftest.$ac_objext \
4877    conftest$ac_exeext conftest.$ac_ext
4878fi
4879{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
4880$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
4881    if test $am_cv_val_LC_MESSAGES = yes; then
4882
4883$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
4884
4885    fi
4886  fi
4887     USE_NLS=yes
4888
4889
4890    gt_cv_have_gettext=no
4891
4892    CATOBJEXT=NONE
4893    XGETTEXT=:
4894    INTLLIBS=
4895
4896    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4897if test "x$ac_cv_header_libintl_h" = x""yes; then :
4898  gt_cv_func_dgettext_libintl="no"
4899      libintl_extra_libs=""
4900
4901      #
4902      # First check in libc
4903      #
4904      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
4905$as_echo_n "checking for ngettext in libc... " >&6; }
4906if test "${gt_cv_func_ngettext_libc+set}" = set; then :
4907  $as_echo_n "(cached) " >&6
4908else
4909  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4910/* end confdefs.h.  */
4911
4912#include <libintl.h>
4913
4914int
4915main ()
4916{
4917return !ngettext ("","", 1)
4918  ;
4919  return 0;
4920}
4921_ACEOF
4922if ac_fn_c_try_link "$LINENO"; then :
4923  gt_cv_func_ngettext_libc=yes
4924else
4925  gt_cv_func_ngettext_libc=no
4926fi
4927rm -f core conftest.err conftest.$ac_objext \
4928    conftest$ac_exeext conftest.$ac_ext
4929
4930fi
4931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
4932$as_echo "$gt_cv_func_ngettext_libc" >&6; }
4933
4934      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4935	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
4936$as_echo_n "checking for dgettext in libc... " >&6; }
4937if test "${gt_cv_func_dgettext_libc+set}" = set; then :
4938  $as_echo_n "(cached) " >&6
4939else
4940  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4941/* end confdefs.h.  */
4942
4943#include <libintl.h>
4944
4945int
4946main ()
4947{
4948return !dgettext ("","")
4949  ;
4950  return 0;
4951}
4952_ACEOF
4953if ac_fn_c_try_link "$LINENO"; then :
4954  gt_cv_func_dgettext_libc=yes
4955else
4956  gt_cv_func_dgettext_libc=no
4957fi
4958rm -f core conftest.err conftest.$ac_objext \
4959    conftest$ac_exeext conftest.$ac_ext
4960
4961fi
4962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
4963$as_echo "$gt_cv_func_dgettext_libc" >&6; }
4964      fi
4965
4966      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4967        for ac_func in bind_textdomain_codeset
4968do :
4969  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4970if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4971  cat >>confdefs.h <<_ACEOF
4972#define HAVE_BIND_TEXTDOMAIN_CODESET 1
4973_ACEOF
4974
4975fi
4976done
4977
4978      fi
4979
4980      #
4981      # If we don't have everything we want, check in libintl
4982      #
4983      if test "$gt_cv_func_dgettext_libc" != "yes" \
4984	 || test "$gt_cv_func_ngettext_libc" != "yes" \
4985         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
4986
4987        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
4988$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
4989if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
4990  $as_echo_n "(cached) " >&6
4991else
4992  ac_check_lib_save_LIBS=$LIBS
4993LIBS="-lintl  $LIBS"
4994cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4995/* end confdefs.h.  */
4996
4997/* Override any GCC internal prototype to avoid an error.
4998   Use char because int might match the return type of a GCC
4999   builtin and then its argument prototype would still apply.  */
5000#ifdef __cplusplus
5001extern "C"
5002#endif
5003char bindtextdomain ();
5004int
5005main ()
5006{
5007return bindtextdomain ();
5008  ;
5009  return 0;
5010}
5011_ACEOF
5012if ac_fn_c_try_link "$LINENO"; then :
5013  ac_cv_lib_intl_bindtextdomain=yes
5014else
5015  ac_cv_lib_intl_bindtextdomain=no
5016fi
5017rm -f core conftest.err conftest.$ac_objext \
5018    conftest$ac_exeext conftest.$ac_ext
5019LIBS=$ac_check_lib_save_LIBS
5020fi
5021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
5022$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
5023if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
5024  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5025$as_echo_n "checking for ngettext in -lintl... " >&6; }
5026if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
5027  $as_echo_n "(cached) " >&6
5028else
5029  ac_check_lib_save_LIBS=$LIBS
5030LIBS="-lintl  $LIBS"
5031cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5032/* end confdefs.h.  */
5033
5034/* Override any GCC internal prototype to avoid an error.
5035   Use char because int might match the return type of a GCC
5036   builtin and then its argument prototype would still apply.  */
5037#ifdef __cplusplus
5038extern "C"
5039#endif
5040char ngettext ();
5041int
5042main ()
5043{
5044return ngettext ();
5045  ;
5046  return 0;
5047}
5048_ACEOF
5049if ac_fn_c_try_link "$LINENO"; then :
5050  ac_cv_lib_intl_ngettext=yes
5051else
5052  ac_cv_lib_intl_ngettext=no
5053fi
5054rm -f core conftest.err conftest.$ac_objext \
5055    conftest$ac_exeext conftest.$ac_ext
5056LIBS=$ac_check_lib_save_LIBS
5057fi
5058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5059$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5060if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
5061  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
5062$as_echo_n "checking for dgettext in -lintl... " >&6; }
5063if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
5064  $as_echo_n "(cached) " >&6
5065else
5066  ac_check_lib_save_LIBS=$LIBS
5067LIBS="-lintl  $LIBS"
5068cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5069/* end confdefs.h.  */
5070
5071/* Override any GCC internal prototype to avoid an error.
5072   Use char because int might match the return type of a GCC
5073   builtin and then its argument prototype would still apply.  */
5074#ifdef __cplusplus
5075extern "C"
5076#endif
5077char dgettext ();
5078int
5079main ()
5080{
5081return dgettext ();
5082  ;
5083  return 0;
5084}
5085_ACEOF
5086if ac_fn_c_try_link "$LINENO"; then :
5087  ac_cv_lib_intl_dgettext=yes
5088else
5089  ac_cv_lib_intl_dgettext=no
5090fi
5091rm -f core conftest.err conftest.$ac_objext \
5092    conftest$ac_exeext conftest.$ac_ext
5093LIBS=$ac_check_lib_save_LIBS
5094fi
5095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
5096$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
5097if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
5098  gt_cv_func_dgettext_libintl=yes
5099fi
5100
5101fi
5102
5103fi
5104
5105
5106	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5107	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
5108$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
5109	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
5110$as_echo "" >&6; }
5111  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5112$as_echo_n "checking for ngettext in -lintl... " >&6; }
5113if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
5114  $as_echo_n "(cached) " >&6
5115else
5116  ac_check_lib_save_LIBS=$LIBS
5117LIBS="-lintl -liconv $LIBS"
5118cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5119/* end confdefs.h.  */
5120
5121/* Override any GCC internal prototype to avoid an error.
5122   Use char because int might match the return type of a GCC
5123   builtin and then its argument prototype would still apply.  */
5124#ifdef __cplusplus
5125extern "C"
5126#endif
5127char ngettext ();
5128int
5129main ()
5130{
5131return ngettext ();
5132  ;
5133  return 0;
5134}
5135_ACEOF
5136if ac_fn_c_try_link "$LINENO"; then :
5137  ac_cv_lib_intl_ngettext=yes
5138else
5139  ac_cv_lib_intl_ngettext=no
5140fi
5141rm -f core conftest.err conftest.$ac_objext \
5142    conftest$ac_exeext conftest.$ac_ext
5143LIBS=$ac_check_lib_save_LIBS
5144fi
5145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5146$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5147if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
5148  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
5149$as_echo_n "checking for dcgettext in -lintl... " >&6; }
5150if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
5151  $as_echo_n "(cached) " >&6
5152else
5153  ac_check_lib_save_LIBS=$LIBS
5154LIBS="-lintl -liconv $LIBS"
5155cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5156/* end confdefs.h.  */
5157
5158/* Override any GCC internal prototype to avoid an error.
5159   Use char because int might match the return type of a GCC
5160   builtin and then its argument prototype would still apply.  */
5161#ifdef __cplusplus
5162extern "C"
5163#endif
5164char dcgettext ();
5165int
5166main ()
5167{
5168return dcgettext ();
5169  ;
5170  return 0;
5171}
5172_ACEOF
5173if ac_fn_c_try_link "$LINENO"; then :
5174  ac_cv_lib_intl_dcgettext=yes
5175else
5176  ac_cv_lib_intl_dcgettext=no
5177fi
5178rm -f core conftest.err conftest.$ac_objext \
5179    conftest$ac_exeext conftest.$ac_ext
5180LIBS=$ac_check_lib_save_LIBS
5181fi
5182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
5183$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
5184if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
5185  gt_cv_func_dgettext_libintl=yes
5186			libintl_extra_libs=-liconv
5187else
5188  :
5189fi
5190
5191else
5192  :
5193fi
5194
5195        fi
5196
5197        #
5198        # If we found libintl, then check in it for bind_textdomain_codeset();
5199        # we'll prefer libc if neither have bind_textdomain_codeset(),
5200        # and both have dgettext and ngettext
5201        #
5202        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
5203          glib_save_LIBS="$LIBS"
5204          LIBS="$LIBS -lintl $libintl_extra_libs"
5205          unset ac_cv_func_bind_textdomain_codeset
5206          for ac_func in bind_textdomain_codeset
5207do :
5208  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5209if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
5210  cat >>confdefs.h <<_ACEOF
5211#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5212_ACEOF
5213
5214fi
5215done
5216
5217          LIBS="$glib_save_LIBS"
5218
5219          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
5220            gt_cv_func_dgettext_libc=no
5221          else
5222            if test "$gt_cv_func_dgettext_libc" = "yes" \
5223		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
5224              gt_cv_func_dgettext_libintl=no
5225            fi
5226          fi
5227        fi
5228      fi
5229
5230      if test "$gt_cv_func_dgettext_libc" = "yes" \
5231	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
5232        gt_cv_have_gettext=yes
5233      fi
5234
5235      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
5236        INTLLIBS="-lintl $libintl_extra_libs"
5237      fi
5238
5239      if test "$gt_cv_have_gettext" = "yes"; then
5240
5241$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
5242
5243	# Extract the first word of "msgfmt", so it can be a program name with args.
5244set dummy msgfmt; ac_word=$2
5245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5246$as_echo_n "checking for $ac_word... " >&6; }
5247if test "${ac_cv_path_MSGFMT+set}" = set; then :
5248  $as_echo_n "(cached) " >&6
5249else
5250  case "$MSGFMT" in
5251  /*)
5252  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5253  ;;
5254  *)
5255  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5256  for ac_dir in $PATH; do
5257    test -z "$ac_dir" && ac_dir=.
5258    if test -f $ac_dir/$ac_word; then
5259      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5260	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5261	break
5262      fi
5263    fi
5264  done
5265  IFS="$ac_save_ifs"
5266  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
5267  ;;
5268esac
5269fi
5270MSGFMT="$ac_cv_path_MSGFMT"
5271if test "$MSGFMT" != "no"; then
5272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5273$as_echo "$MSGFMT" >&6; }
5274else
5275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276$as_echo "no" >&6; }
5277fi
5278	if test "$MSGFMT" != "no"; then
5279          glib_save_LIBS="$LIBS"
5280          LIBS="$LIBS $INTLLIBS"
5281	  for ac_func in dcgettext
5282do :
5283  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
5284if test "x$ac_cv_func_dcgettext" = x""yes; then :
5285  cat >>confdefs.h <<_ACEOF
5286#define HAVE_DCGETTEXT 1
5287_ACEOF
5288
5289fi
5290done
5291
5292	  MSGFMT_OPTS=
5293	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
5294$as_echo_n "checking if msgfmt accepts -c... " >&6; }
5295	  cat >conftest.foo <<_ACEOF
5296
5297msgid ""
5298msgstr ""
5299"Content-Type: text/plain; charset=UTF-8\n"
5300"Project-Id-Version: test 1.0\n"
5301"PO-Revision-Date: 2007-02-15 12:01+0100\n"
5302"Last-Translator: test <foo@bar.xx>\n"
5303"Language-Team: C <LL@li.org>\n"
5304"MIME-Version: 1.0\n"
5305"Content-Transfer-Encoding: 8bit\n"
5306
5307_ACEOF
5308if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
5309  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
5310  ac_status=$?
5311  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5312  test $ac_status = 0; }; then
5313  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5314$as_echo "yes" >&6; }
5315else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316$as_echo "no" >&6; }
5317echo "$as_me: failed input was:" >&5
5318sed 's/^/| /' conftest.foo >&5
5319fi
5320
5321	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
5322set dummy gmsgfmt; ac_word=$2
5323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5324$as_echo_n "checking for $ac_word... " >&6; }
5325if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5326  $as_echo_n "(cached) " >&6
5327else
5328  case $GMSGFMT in
5329  [\\/]* | ?:[\\/]*)
5330  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5331  ;;
5332  *)
5333  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5334for as_dir in $PATH
5335do
5336  IFS=$as_save_IFS
5337  test -z "$as_dir" && as_dir=.
5338    for ac_exec_ext in '' $ac_executable_extensions; do
5339  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5340    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5341    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5342    break 2
5343  fi
5344done
5345  done
5346IFS=$as_save_IFS
5347
5348  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5349  ;;
5350esac
5351fi
5352GMSGFMT=$ac_cv_path_GMSGFMT
5353if test -n "$GMSGFMT"; then
5354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5355$as_echo "$GMSGFMT" >&6; }
5356else
5357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358$as_echo "no" >&6; }
5359fi
5360
5361
5362	  # Extract the first word of "xgettext", so it can be a program name with args.
5363set dummy xgettext; ac_word=$2
5364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365$as_echo_n "checking for $ac_word... " >&6; }
5366if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5367  $as_echo_n "(cached) " >&6
5368else
5369  case "$XGETTEXT" in
5370  /*)
5371  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5372  ;;
5373  *)
5374  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5375  for ac_dir in $PATH; do
5376    test -z "$ac_dir" && ac_dir=.
5377    if test -f $ac_dir/$ac_word; then
5378      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5379	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5380	break
5381      fi
5382    fi
5383  done
5384  IFS="$ac_save_ifs"
5385  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5386  ;;
5387esac
5388fi
5389XGETTEXT="$ac_cv_path_XGETTEXT"
5390if test "$XGETTEXT" != ":"; then
5391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5392$as_echo "$XGETTEXT" >&6; }
5393else
5394  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395$as_echo "no" >&6; }
5396fi
5397
5398	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5399/* end confdefs.h.  */
5400
5401int
5402main ()
5403{
5404extern int _nl_msg_cat_cntr;
5405			 return _nl_msg_cat_cntr
5406  ;
5407  return 0;
5408}
5409_ACEOF
5410if ac_fn_c_try_link "$LINENO"; then :
5411  CATOBJEXT=.gmo
5412             DATADIRNAME=share
5413else
5414  case $host in
5415	    *-*-solaris*)
5416	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5417if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
5418  CATOBJEXT=.gmo
5419               DATADIRNAME=share
5420else
5421  CATOBJEXT=.mo
5422               DATADIRNAME=lib
5423fi
5424
5425	    ;;
5426	    *)
5427	    CATOBJEXT=.mo
5428            DATADIRNAME=lib
5429	    ;;
5430	    esac
5431fi
5432rm -f core conftest.err conftest.$ac_objext \
5433    conftest$ac_exeext conftest.$ac_ext
5434          LIBS="$glib_save_LIBS"
5435	  INSTOBJEXT=.mo
5436	else
5437	  gt_cv_have_gettext=no
5438	fi
5439      fi
5440
5441fi
5442
5443
5444
5445    if test "$gt_cv_have_gettext" = "yes" ; then
5446
5447$as_echo "#define ENABLE_NLS 1" >>confdefs.h
5448
5449    fi
5450
5451        if test "$XGETTEXT" != ":"; then
5452                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
5453        : ;
5454      else
5455        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
5456$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
5457        XGETTEXT=":"
5458      fi
5459    fi
5460
5461    # We need to process the po/ directory.
5462    POSUB=po
5463
5464    ac_config_commands="$ac_config_commands default-1"
5465
5466
5467                for lang in $ALL_LINGUAS; do
5468      GMOFILES="$GMOFILES $lang.gmo"
5469      POFILES="$POFILES $lang.po"
5470    done
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484   if test "$gt_cv_have_gettext" = "yes"; then
5485     if test "x$ALL_LINGUAS" = "x"; then
5486       LINGUAS=
5487     else
5488       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5489$as_echo_n "checking for catalogs to be installed... " >&6; }
5490       NEW_LINGUAS=
5491       for presentlang in $ALL_LINGUAS; do
5492         useit=no
5493         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
5494           desiredlanguages="$LINGUAS"
5495         else
5496           desiredlanguages="$ALL_LINGUAS"
5497         fi
5498         for desiredlang in $desiredlanguages; do
5499 	   # Use the presentlang catalog if desiredlang is
5500           #   a. equal to presentlang, or
5501           #   b. a variant of presentlang (because in this case,
5502           #      presentlang can be used as a fallback for messages
5503           #      which are not translated in the desiredlang catalog).
5504           case "$desiredlang" in
5505             "$presentlang"*) useit=yes;;
5506           esac
5507         done
5508         if test $useit = yes; then
5509           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
5510         fi
5511       done
5512       LINGUAS=$NEW_LINGUAS
5513       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5514$as_echo "$LINGUAS" >&6; }
5515     fi
5516
5517          if test -n "$LINGUAS"; then
5518       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
5519     fi
5520   fi
5521
5522            MKINSTALLDIRS=
5523   if test -n "$ac_aux_dir"; then
5524     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
5525   fi
5526   if test -z "$MKINSTALLDIRS"; then
5527     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5528   fi
5529
5530
5531         test -d po || mkdir po
5532   if test "x$srcdir" != "x."; then
5533     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5534       posrcprefix="$srcdir/"
5535     else
5536       posrcprefix="../$srcdir/"
5537     fi
5538   else
5539     posrcprefix="../"
5540   fi
5541   rm -f po/POTFILES
5542   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5543	< $srcdir/po/POTFILES.in > po/POTFILES
5544
5545
5546
5547if test "x${prefix}" = "xNONE"; then
5548	PACKAGE_PREFIX="${ac_default_prefix}"
5549else
5550	PACKAGE_PREFIX="${prefix}"
5551fi
5552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PACKAGE_PREFIX" >&5
5553$as_echo "$PACKAGE_PREFIX" >&6; }
5554PACKAGE_LOCALE_DIR="${PACKAGE_PREFIX}/${DATADIRNAME}/locale"
5555
5556cat >>confdefs.h <<_ACEOF
5557#define PACKAGE_LOCALE_DIR "$PACKAGE_LOCALE_DIR"
5558_ACEOF
5559
5560
5561
5562ac_ext=c
5563ac_cpp='$CPP $CPPFLAGS'
5564ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5565ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5566ac_compiler_gnu=$ac_cv_c_compiler_gnu
5567if test -n "$ac_tool_prefix"; then
5568  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5569set dummy ${ac_tool_prefix}gcc; ac_word=$2
5570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5571$as_echo_n "checking for $ac_word... " >&6; }
5572if test "${ac_cv_prog_CC+set}" = set; then :
5573  $as_echo_n "(cached) " >&6
5574else
5575  if test -n "$CC"; then
5576  ac_cv_prog_CC="$CC" # Let the user override the test.
5577else
5578as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5579for as_dir in $PATH
5580do
5581  IFS=$as_save_IFS
5582  test -z "$as_dir" && as_dir=.
5583    for ac_exec_ext in '' $ac_executable_extensions; do
5584  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5585    ac_cv_prog_CC="${ac_tool_prefix}gcc"
5586    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5587    break 2
5588  fi
5589done
5590  done
5591IFS=$as_save_IFS
5592
5593fi
5594fi
5595CC=$ac_cv_prog_CC
5596if test -n "$CC"; then
5597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5598$as_echo "$CC" >&6; }
5599else
5600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5601$as_echo "no" >&6; }
5602fi
5603
5604
5605fi
5606if test -z "$ac_cv_prog_CC"; then
5607  ac_ct_CC=$CC
5608  # Extract the first word of "gcc", so it can be a program name with args.
5609set dummy gcc; ac_word=$2
5610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5611$as_echo_n "checking for $ac_word... " >&6; }
5612if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5613  $as_echo_n "(cached) " >&6
5614else
5615  if test -n "$ac_ct_CC"; then
5616  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5617else
5618as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5619for as_dir in $PATH
5620do
5621  IFS=$as_save_IFS
5622  test -z "$as_dir" && as_dir=.
5623    for ac_exec_ext in '' $ac_executable_extensions; do
5624  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5625    ac_cv_prog_ac_ct_CC="gcc"
5626    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5627    break 2
5628  fi
5629done
5630  done
5631IFS=$as_save_IFS
5632
5633fi
5634fi
5635ac_ct_CC=$ac_cv_prog_ac_ct_CC
5636if test -n "$ac_ct_CC"; then
5637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5638$as_echo "$ac_ct_CC" >&6; }
5639else
5640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641$as_echo "no" >&6; }
5642fi
5643
5644  if test "x$ac_ct_CC" = x; then
5645    CC=""
5646  else
5647    case $cross_compiling:$ac_tool_warned in
5648yes:)
5649{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5650$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5651ac_tool_warned=yes ;;
5652esac
5653    CC=$ac_ct_CC
5654  fi
5655else
5656  CC="$ac_cv_prog_CC"
5657fi
5658
5659if test -z "$CC"; then
5660          if test -n "$ac_tool_prefix"; then
5661    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5662set dummy ${ac_tool_prefix}cc; ac_word=$2
5663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664$as_echo_n "checking for $ac_word... " >&6; }
5665if test "${ac_cv_prog_CC+set}" = set; then :
5666  $as_echo_n "(cached) " >&6
5667else
5668  if test -n "$CC"; then
5669  ac_cv_prog_CC="$CC" # Let the user override the test.
5670else
5671as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672for as_dir in $PATH
5673do
5674  IFS=$as_save_IFS
5675  test -z "$as_dir" && as_dir=.
5676    for ac_exec_ext in '' $ac_executable_extensions; do
5677  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5678    ac_cv_prog_CC="${ac_tool_prefix}cc"
5679    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5680    break 2
5681  fi
5682done
5683  done
5684IFS=$as_save_IFS
5685
5686fi
5687fi
5688CC=$ac_cv_prog_CC
5689if test -n "$CC"; then
5690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5691$as_echo "$CC" >&6; }
5692else
5693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694$as_echo "no" >&6; }
5695fi
5696
5697
5698  fi
5699fi
5700if test -z "$CC"; then
5701  # Extract the first word of "cc", so it can be a program name with args.
5702set dummy cc; ac_word=$2
5703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704$as_echo_n "checking for $ac_word... " >&6; }
5705if test "${ac_cv_prog_CC+set}" = set; then :
5706  $as_echo_n "(cached) " >&6
5707else
5708  if test -n "$CC"; then
5709  ac_cv_prog_CC="$CC" # Let the user override the test.
5710else
5711  ac_prog_rejected=no
5712as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713for as_dir in $PATH
5714do
5715  IFS=$as_save_IFS
5716  test -z "$as_dir" && as_dir=.
5717    for ac_exec_ext in '' $ac_executable_extensions; do
5718  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5719    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5720       ac_prog_rejected=yes
5721       continue
5722     fi
5723    ac_cv_prog_CC="cc"
5724    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5725    break 2
5726  fi
5727done
5728  done
5729IFS=$as_save_IFS
5730
5731if test $ac_prog_rejected = yes; then
5732  # We found a bogon in the path, so make sure we never use it.
5733  set dummy $ac_cv_prog_CC
5734  shift
5735  if test $# != 0; then
5736    # We chose a different compiler from the bogus one.
5737    # However, it has the same basename, so the bogon will be chosen
5738    # first if we set CC to just the basename; use the full file name.
5739    shift
5740    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5741  fi
5742fi
5743fi
5744fi
5745CC=$ac_cv_prog_CC
5746if test -n "$CC"; then
5747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5748$as_echo "$CC" >&6; }
5749else
5750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5751$as_echo "no" >&6; }
5752fi
5753
5754
5755fi
5756if test -z "$CC"; then
5757  if test -n "$ac_tool_prefix"; then
5758  for ac_prog in cl.exe
5759  do
5760    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5761set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5763$as_echo_n "checking for $ac_word... " >&6; }
5764if test "${ac_cv_prog_CC+set}" = set; then :
5765  $as_echo_n "(cached) " >&6
5766else
5767  if test -n "$CC"; then
5768  ac_cv_prog_CC="$CC" # Let the user override the test.
5769else
5770as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771for as_dir in $PATH
5772do
5773  IFS=$as_save_IFS
5774  test -z "$as_dir" && as_dir=.
5775    for ac_exec_ext in '' $ac_executable_extensions; do
5776  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5777    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5778    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779    break 2
5780  fi
5781done
5782  done
5783IFS=$as_save_IFS
5784
5785fi
5786fi
5787CC=$ac_cv_prog_CC
5788if test -n "$CC"; then
5789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5790$as_echo "$CC" >&6; }
5791else
5792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5793$as_echo "no" >&6; }
5794fi
5795
5796
5797    test -n "$CC" && break
5798  done
5799fi
5800if test -z "$CC"; then
5801  ac_ct_CC=$CC
5802  for ac_prog in cl.exe
5803do
5804  # Extract the first word of "$ac_prog", so it can be a program name with args.
5805set dummy $ac_prog; ac_word=$2
5806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5807$as_echo_n "checking for $ac_word... " >&6; }
5808if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5809  $as_echo_n "(cached) " >&6
5810else
5811  if test -n "$ac_ct_CC"; then
5812  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5813else
5814as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5815for as_dir in $PATH
5816do
5817  IFS=$as_save_IFS
5818  test -z "$as_dir" && as_dir=.
5819    for ac_exec_ext in '' $ac_executable_extensions; do
5820  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5821    ac_cv_prog_ac_ct_CC="$ac_prog"
5822    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5823    break 2
5824  fi
5825done
5826  done
5827IFS=$as_save_IFS
5828
5829fi
5830fi
5831ac_ct_CC=$ac_cv_prog_ac_ct_CC
5832if test -n "$ac_ct_CC"; then
5833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5834$as_echo "$ac_ct_CC" >&6; }
5835else
5836  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5837$as_echo "no" >&6; }
5838fi
5839
5840
5841  test -n "$ac_ct_CC" && break
5842done
5843
5844  if test "x$ac_ct_CC" = x; then
5845    CC=""
5846  else
5847    case $cross_compiling:$ac_tool_warned in
5848yes:)
5849{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5850$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5851ac_tool_warned=yes ;;
5852esac
5853    CC=$ac_ct_CC
5854  fi
5855fi
5856
5857fi
5858
5859
5860test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5861$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5862as_fn_error $? "no acceptable C compiler found in \$PATH
5863See \`config.log' for more details" "$LINENO" 5 ; }
5864
5865# Provide some information about the compiler.
5866$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5867set X $ac_compile
5868ac_compiler=$2
5869for ac_option in --version -v -V -qversion; do
5870  { { ac_try="$ac_compiler $ac_option >&5"
5871case "(($ac_try" in
5872  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5873  *) ac_try_echo=$ac_try;;
5874esac
5875eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5876$as_echo "$ac_try_echo"; } >&5
5877  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5878  ac_status=$?
5879  if test -s conftest.err; then
5880    sed '10a\
5881... rest of stderr output deleted ...
5882         10q' conftest.err >conftest.er1
5883    cat conftest.er1 >&5
5884  fi
5885  rm -f conftest.er1 conftest.err
5886  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5887  test $ac_status = 0; }
5888done
5889
5890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5891$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5892if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5893  $as_echo_n "(cached) " >&6
5894else
5895  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5896/* end confdefs.h.  */
5897
5898int
5899main ()
5900{
5901#ifndef __GNUC__
5902       choke me
5903#endif
5904
5905  ;
5906  return 0;
5907}
5908_ACEOF
5909if ac_fn_c_try_compile "$LINENO"; then :
5910  ac_compiler_gnu=yes
5911else
5912  ac_compiler_gnu=no
5913fi
5914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5915ac_cv_c_compiler_gnu=$ac_compiler_gnu
5916
5917fi
5918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5919$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5920if test $ac_compiler_gnu = yes; then
5921  GCC=yes
5922else
5923  GCC=
5924fi
5925ac_test_CFLAGS=${CFLAGS+set}
5926ac_save_CFLAGS=$CFLAGS
5927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5928$as_echo_n "checking whether $CC accepts -g... " >&6; }
5929if test "${ac_cv_prog_cc_g+set}" = set; then :
5930  $as_echo_n "(cached) " >&6
5931else
5932  ac_save_c_werror_flag=$ac_c_werror_flag
5933   ac_c_werror_flag=yes
5934   ac_cv_prog_cc_g=no
5935   CFLAGS="-g"
5936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5937/* end confdefs.h.  */
5938
5939int
5940main ()
5941{
5942
5943  ;
5944  return 0;
5945}
5946_ACEOF
5947if ac_fn_c_try_compile "$LINENO"; then :
5948  ac_cv_prog_cc_g=yes
5949else
5950  CFLAGS=""
5951      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5952/* end confdefs.h.  */
5953
5954int
5955main ()
5956{
5957
5958  ;
5959  return 0;
5960}
5961_ACEOF
5962if ac_fn_c_try_compile "$LINENO"; then :
5963
5964else
5965  ac_c_werror_flag=$ac_save_c_werror_flag
5966	 CFLAGS="-g"
5967	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5968/* end confdefs.h.  */
5969
5970int
5971main ()
5972{
5973
5974  ;
5975  return 0;
5976}
5977_ACEOF
5978if ac_fn_c_try_compile "$LINENO"; then :
5979  ac_cv_prog_cc_g=yes
5980fi
5981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5982fi
5983rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5984fi
5985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5986   ac_c_werror_flag=$ac_save_c_werror_flag
5987fi
5988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5989$as_echo "$ac_cv_prog_cc_g" >&6; }
5990if test "$ac_test_CFLAGS" = set; then
5991  CFLAGS=$ac_save_CFLAGS
5992elif test $ac_cv_prog_cc_g = yes; then
5993  if test "$GCC" = yes; then
5994    CFLAGS="-g -O2"
5995  else
5996    CFLAGS="-g"
5997  fi
5998else
5999  if test "$GCC" = yes; then
6000    CFLAGS="-O2"
6001  else
6002    CFLAGS=
6003  fi
6004fi
6005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6006$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6007if test "${ac_cv_prog_cc_c89+set}" = set; then :
6008  $as_echo_n "(cached) " >&6
6009else
6010  ac_cv_prog_cc_c89=no
6011ac_save_CC=$CC
6012cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6013/* end confdefs.h.  */
6014#include <stdarg.h>
6015#include <stdio.h>
6016#include <sys/types.h>
6017#include <sys/stat.h>
6018/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
6019struct buf { int x; };
6020FILE * (*rcsopen) (struct buf *, struct stat *, int);
6021static char *e (p, i)
6022     char **p;
6023     int i;
6024{
6025  return p[i];
6026}
6027static char *f (char * (*g) (char **, int), char **p, ...)
6028{
6029  char *s;
6030  va_list v;
6031  va_start (v,p);
6032  s = g (p, va_arg (v,int));
6033  va_end (v);
6034  return s;
6035}
6036
6037/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6038   function prototypes and stuff, but not '\xHH' hex character constants.
6039   These don't provoke an error unfortunately, instead are silently treated
6040   as 'x'.  The following induces an error, until -std is added to get
6041   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6042   array size at least.  It's necessary to write '\x00'==0 to get something
6043   that's true only with -std.  */
6044int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6045
6046/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6047   inside strings and character constants.  */
6048#define FOO(x) 'x'
6049int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6050
6051int test (int i, double x);
6052struct s1 {int (*f) (int a);};
6053struct s2 {int (*f) (double a);};
6054int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6055int argc;
6056char **argv;
6057int
6058main ()
6059{
6060return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6061  ;
6062  return 0;
6063}
6064_ACEOF
6065for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6066	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6067do
6068  CC="$ac_save_CC $ac_arg"
6069  if ac_fn_c_try_compile "$LINENO"; then :
6070  ac_cv_prog_cc_c89=$ac_arg
6071fi
6072rm -f core conftest.err conftest.$ac_objext
6073  test "x$ac_cv_prog_cc_c89" != "xno" && break
6074done
6075rm -f conftest.$ac_ext
6076CC=$ac_save_CC
6077
6078fi
6079# AC_CACHE_VAL
6080case "x$ac_cv_prog_cc_c89" in
6081  x)
6082    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6083$as_echo "none needed" >&6; } ;;
6084  xno)
6085    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6086$as_echo "unsupported" >&6; } ;;
6087  *)
6088    CC="$CC $ac_cv_prog_cc_c89"
6089    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6090$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6091esac
6092if test "x$ac_cv_prog_cc_c89" != xno; then :
6093
6094fi
6095
6096ac_ext=c
6097ac_cpp='$CPP $CPPFLAGS'
6098ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6099ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6100ac_compiler_gnu=$ac_cv_c_compiler_gnu
6101
6102depcc="$CC"   am_compiler_list=
6103
6104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6105$as_echo_n "checking dependency style of $depcc... " >&6; }
6106if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
6107  $as_echo_n "(cached) " >&6
6108else
6109  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6110  # We make a subdir and do the tests there.  Otherwise we can end up
6111  # making bogus files that we don't know about and never remove.  For
6112  # instance it was reported that on HP-UX the gcc test will end up
6113  # making a dummy file named `D' -- because `-MD' means `put the output
6114  # in D'.
6115  mkdir conftest.dir
6116  # Copy depcomp to subdir because otherwise we won't find it if we're
6117  # using a relative directory.
6118  cp "$am_depcomp" conftest.dir
6119  cd conftest.dir
6120  # We will build objects and dependencies in a subdirectory because
6121  # it helps to detect inapplicable dependency modes.  For instance
6122  # both Tru64's cc and ICC support -MD to output dependencies as a
6123  # side effect of compilation, but ICC will put the dependencies in
6124  # the current directory while Tru64 will put them in the object
6125  # directory.
6126  mkdir sub
6127
6128  am_cv_CC_dependencies_compiler_type=none
6129  if test "$am_compiler_list" = ""; then
6130     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6131  fi
6132  am__universal=false
6133  case " $depcc " in #(
6134     *\ -arch\ *\ -arch\ *) am__universal=true ;;
6135     esac
6136
6137  for depmode in $am_compiler_list; do
6138    # Setup a source with many dependencies, because some compilers
6139    # like to wrap large dependency lists on column 80 (with \), and
6140    # we should not choose a depcomp mode which is confused by this.
6141    #
6142    # We need to recreate these files for each test, as the compiler may
6143    # overwrite some of them when testing with obscure command lines.
6144    # This happens at least with the AIX C compiler.
6145    : > sub/conftest.c
6146    for i in 1 2 3 4 5 6; do
6147      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6148      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6149      # Solaris 8's {/usr,}/bin/sh.
6150      touch sub/conftst$i.h
6151    done
6152    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6153
6154    # We check with `-c' and `-o' for the sake of the "dashmstdout"
6155    # mode.  It turns out that the SunPro C++ compiler does not properly
6156    # handle `-M -o', and we need to detect this.  Also, some Intel
6157    # versions had trouble with output in subdirs
6158    am__obj=sub/conftest.${OBJEXT-o}
6159    am__minus_obj="-o $am__obj"
6160    case $depmode in
6161    gcc)
6162      # This depmode causes a compiler race in universal mode.
6163      test "$am__universal" = false || continue
6164      ;;
6165    nosideeffect)
6166      # after this tag, mechanisms are not by side-effect, so they'll
6167      # only be used when explicitly requested
6168      if test "x$enable_dependency_tracking" = xyes; then
6169	continue
6170      else
6171	break
6172      fi
6173      ;;
6174    msvisualcpp | msvcmsys)
6175      # This compiler won't grok `-c -o', but also, the minuso test has
6176      # not run yet.  These depmodes are late enough in the game, and
6177      # so weak that their functioning should not be impacted.
6178      am__obj=conftest.${OBJEXT-o}
6179      am__minus_obj=
6180      ;;
6181    none) break ;;
6182    esac
6183    if depmode=$depmode \
6184       source=sub/conftest.c object=$am__obj \
6185       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6186       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6187         >/dev/null 2>conftest.err &&
6188       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6189       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6190       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6191       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6192      # icc doesn't choke on unknown options, it will just issue warnings
6193      # or remarks (even with -Werror).  So we grep stderr for any message
6194      # that says an option was ignored or not supported.
6195      # When given -MP, icc 7.0 and 7.1 complain thusly:
6196      #   icc: Command line warning: ignoring option '-M'; no argument required
6197      # The diagnosis changed in icc 8.0:
6198      #   icc: Command line remark: option '-MP' not supported
6199      if (grep 'ignoring option' conftest.err ||
6200          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6201        am_cv_CC_dependencies_compiler_type=$depmode
6202        break
6203      fi
6204    fi
6205  done
6206
6207  cd ..
6208  rm -rf conftest.dir
6209else
6210  am_cv_CC_dependencies_compiler_type=none
6211fi
6212
6213fi
6214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6215$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6216CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6217
6218 if
6219  test "x$enable_dependency_tracking" != xno \
6220  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6221  am__fastdepCC_TRUE=
6222  am__fastdepCC_FALSE='#'
6223else
6224  am__fastdepCC_TRUE='#'
6225  am__fastdepCC_FALSE=
6226fi
6227
6228
6229# Check whether --enable-static was given.
6230if test "${enable_static+set}" = set; then :
6231  enableval=$enable_static; p=${PACKAGE-default}
6232    case $enableval in
6233    yes) enable_static=yes ;;
6234    no) enable_static=no ;;
6235    *)
6236     enable_static=no
6237      # Look at the argument we got.  We use all the common list separators.
6238      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6239      for pkg in $enableval; do
6240	IFS="$lt_save_ifs"
6241	if test "X$pkg" = "X$p"; then
6242	  enable_static=yes
6243	fi
6244      done
6245      IFS="$lt_save_ifs"
6246      ;;
6247    esac
6248else
6249  enable_static=no
6250fi
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260enable_dlopen=yes
6261
6262
6263
6264case `pwd` in
6265  *\ * | *\	*)
6266    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6267$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6268esac
6269
6270
6271
6272macro_version='2.2.6b'
6273macro_revision='1.3017'
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287ltmain="$ac_aux_dir/ltmain.sh"
6288
6289# Make sure we can run config.sub.
6290$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6291  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6292
6293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6294$as_echo_n "checking build system type... " >&6; }
6295if test "${ac_cv_build+set}" = set; then :
6296  $as_echo_n "(cached) " >&6
6297else
6298  ac_build_alias=$build_alias
6299test "x$ac_build_alias" = x &&
6300  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6301test "x$ac_build_alias" = x &&
6302  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6303ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6304  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6305
6306fi
6307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6308$as_echo "$ac_cv_build" >&6; }
6309case $ac_cv_build in
6310*-*-*) ;;
6311*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
6312esac
6313build=$ac_cv_build
6314ac_save_IFS=$IFS; IFS='-'
6315set x $ac_cv_build
6316shift
6317build_cpu=$1
6318build_vendor=$2
6319shift; shift
6320# Remember, the first character of IFS is used to create $*,
6321# except with old shells:
6322build_os=$*
6323IFS=$ac_save_IFS
6324case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6325
6326
6327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6328$as_echo_n "checking host system type... " >&6; }
6329if test "${ac_cv_host+set}" = set; then :
6330  $as_echo_n "(cached) " >&6
6331else
6332  if test "x$host_alias" = x; then
6333  ac_cv_host=$ac_cv_build
6334else
6335  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6336    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6337fi
6338
6339fi
6340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6341$as_echo "$ac_cv_host" >&6; }
6342case $ac_cv_host in
6343*-*-*) ;;
6344*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
6345esac
6346host=$ac_cv_host
6347ac_save_IFS=$IFS; IFS='-'
6348set x $ac_cv_host
6349shift
6350host_cpu=$1
6351host_vendor=$2
6352shift; shift
6353# Remember, the first character of IFS is used to create $*,
6354# except with old shells:
6355host_os=$*
6356IFS=$ac_save_IFS
6357case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6358
6359
6360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6361$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6362if test "${ac_cv_path_SED+set}" = set; then :
6363  $as_echo_n "(cached) " >&6
6364else
6365            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6366     for ac_i in 1 2 3 4 5 6 7; do
6367       ac_script="$ac_script$as_nl$ac_script"
6368     done
6369     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6370     { ac_script=; unset ac_script;}
6371     if test -z "$SED"; then
6372  ac_path_SED_found=false
6373  # Loop through the user's path and test for each of PROGNAME-LIST
6374  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6375for as_dir in $PATH
6376do
6377  IFS=$as_save_IFS
6378  test -z "$as_dir" && as_dir=.
6379    for ac_prog in sed gsed; do
6380    for ac_exec_ext in '' $ac_executable_extensions; do
6381      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6382      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6383# Check for GNU ac_path_SED and select it if it is found.
6384  # Check for GNU $ac_path_SED
6385case `"$ac_path_SED" --version 2>&1` in
6386*GNU*)
6387  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6388*)
6389  ac_count=0
6390  $as_echo_n 0123456789 >"conftest.in"
6391  while :
6392  do
6393    cat "conftest.in" "conftest.in" >"conftest.tmp"
6394    mv "conftest.tmp" "conftest.in"
6395    cp "conftest.in" "conftest.nl"
6396    $as_echo '' >> "conftest.nl"
6397    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6398    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6399    as_fn_arith $ac_count + 1 && ac_count=$as_val
6400    if test $ac_count -gt ${ac_path_SED_max-0}; then
6401      # Best one so far, save it but keep looking for a better one
6402      ac_cv_path_SED="$ac_path_SED"
6403      ac_path_SED_max=$ac_count
6404    fi
6405    # 10*(2^10) chars as input seems more than enough
6406    test $ac_count -gt 10 && break
6407  done
6408  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6409esac
6410
6411      $ac_path_SED_found && break 3
6412    done
6413  done
6414  done
6415IFS=$as_save_IFS
6416  if test -z "$ac_cv_path_SED"; then
6417    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6418  fi
6419else
6420  ac_cv_path_SED=$SED
6421fi
6422
6423fi
6424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6425$as_echo "$ac_cv_path_SED" >&6; }
6426 SED="$ac_cv_path_SED"
6427  rm -f conftest.sed
6428
6429test -z "$SED" && SED=sed
6430Xsed="$SED -e 1s/^X//"
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6443$as_echo_n "checking for fgrep... " >&6; }
6444if test "${ac_cv_path_FGREP+set}" = set; then :
6445  $as_echo_n "(cached) " >&6
6446else
6447  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6448   then ac_cv_path_FGREP="$GREP -F"
6449   else
6450     if test -z "$FGREP"; then
6451  ac_path_FGREP_found=false
6452  # Loop through the user's path and test for each of PROGNAME-LIST
6453  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6455do
6456  IFS=$as_save_IFS
6457  test -z "$as_dir" && as_dir=.
6458    for ac_prog in fgrep; do
6459    for ac_exec_ext in '' $ac_executable_extensions; do
6460      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6461      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6462# Check for GNU ac_path_FGREP and select it if it is found.
6463  # Check for GNU $ac_path_FGREP
6464case `"$ac_path_FGREP" --version 2>&1` in
6465*GNU*)
6466  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6467*)
6468  ac_count=0
6469  $as_echo_n 0123456789 >"conftest.in"
6470  while :
6471  do
6472    cat "conftest.in" "conftest.in" >"conftest.tmp"
6473    mv "conftest.tmp" "conftest.in"
6474    cp "conftest.in" "conftest.nl"
6475    $as_echo 'FGREP' >> "conftest.nl"
6476    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6477    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6478    as_fn_arith $ac_count + 1 && ac_count=$as_val
6479    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6480      # Best one so far, save it but keep looking for a better one
6481      ac_cv_path_FGREP="$ac_path_FGREP"
6482      ac_path_FGREP_max=$ac_count
6483    fi
6484    # 10*(2^10) chars as input seems more than enough
6485    test $ac_count -gt 10 && break
6486  done
6487  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6488esac
6489
6490      $ac_path_FGREP_found && break 3
6491    done
6492  done
6493  done
6494IFS=$as_save_IFS
6495  if test -z "$ac_cv_path_FGREP"; then
6496    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6497  fi
6498else
6499  ac_cv_path_FGREP=$FGREP
6500fi
6501
6502   fi
6503fi
6504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6505$as_echo "$ac_cv_path_FGREP" >&6; }
6506 FGREP="$ac_cv_path_FGREP"
6507
6508
6509test -z "$GREP" && GREP=grep
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529# Check whether --with-gnu-ld was given.
6530if test "${with_gnu_ld+set}" = set; then :
6531  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6532else
6533  with_gnu_ld=no
6534fi
6535
6536ac_prog=ld
6537if test "$GCC" = yes; then
6538  # Check if gcc -print-prog-name=ld gives a path.
6539  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6540$as_echo_n "checking for ld used by $CC... " >&6; }
6541  case $host in
6542  *-*-mingw*)
6543    # gcc leaves a trailing carriage return which upsets mingw
6544    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6545  *)
6546    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6547  esac
6548  case $ac_prog in
6549    # Accept absolute paths.
6550    [\\/]* | ?:[\\/]*)
6551      re_direlt='/[^/][^/]*/\.\./'
6552      # Canonicalize the pathname of ld
6553      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6554      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6555	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6556      done
6557      test -z "$LD" && LD="$ac_prog"
6558      ;;
6559  "")
6560    # If it fails, then pretend we aren't using GCC.
6561    ac_prog=ld
6562    ;;
6563  *)
6564    # If it is relative, then search for the first ld in PATH.
6565    with_gnu_ld=unknown
6566    ;;
6567  esac
6568elif test "$with_gnu_ld" = yes; then
6569  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6570$as_echo_n "checking for GNU ld... " >&6; }
6571else
6572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6573$as_echo_n "checking for non-GNU ld... " >&6; }
6574fi
6575if test "${lt_cv_path_LD+set}" = set; then :
6576  $as_echo_n "(cached) " >&6
6577else
6578  if test -z "$LD"; then
6579  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6580  for ac_dir in $PATH; do
6581    IFS="$lt_save_ifs"
6582    test -z "$ac_dir" && ac_dir=.
6583    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6584      lt_cv_path_LD="$ac_dir/$ac_prog"
6585      # Check to see if the program is GNU ld.  I'd rather use --version,
6586      # but apparently some variants of GNU ld only accept -v.
6587      # Break only if it was the GNU/non-GNU ld that we prefer.
6588      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6589      *GNU* | *'with BFD'*)
6590	test "$with_gnu_ld" != no && break
6591	;;
6592      *)
6593	test "$with_gnu_ld" != yes && break
6594	;;
6595      esac
6596    fi
6597  done
6598  IFS="$lt_save_ifs"
6599else
6600  lt_cv_path_LD="$LD" # Let the user override the test with a path.
6601fi
6602fi
6603
6604LD="$lt_cv_path_LD"
6605if test -n "$LD"; then
6606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6607$as_echo "$LD" >&6; }
6608else
6609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610$as_echo "no" >&6; }
6611fi
6612test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6614$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6615if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6616  $as_echo_n "(cached) " >&6
6617else
6618  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6619case `$LD -v 2>&1 </dev/null` in
6620*GNU* | *'with BFD'*)
6621  lt_cv_prog_gnu_ld=yes
6622  ;;
6623*)
6624  lt_cv_prog_gnu_ld=no
6625  ;;
6626esac
6627fi
6628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6629$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6630with_gnu_ld=$lt_cv_prog_gnu_ld
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6641$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6642if test "${lt_cv_path_NM+set}" = set; then :
6643  $as_echo_n "(cached) " >&6
6644else
6645  if test -n "$NM"; then
6646  # Let the user override the test.
6647  lt_cv_path_NM="$NM"
6648else
6649  lt_nm_to_check="${ac_tool_prefix}nm"
6650  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6651    lt_nm_to_check="$lt_nm_to_check nm"
6652  fi
6653  for lt_tmp_nm in $lt_nm_to_check; do
6654    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6655    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6656      IFS="$lt_save_ifs"
6657      test -z "$ac_dir" && ac_dir=.
6658      tmp_nm="$ac_dir/$lt_tmp_nm"
6659      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6660	# Check to see if the nm accepts a BSD-compat flag.
6661	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6662	#   nm: unknown option "B" ignored
6663	# Tru64's nm complains that /dev/null is an invalid object file
6664	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6665	*/dev/null* | *'Invalid file or object type'*)
6666	  lt_cv_path_NM="$tmp_nm -B"
6667	  break
6668	  ;;
6669	*)
6670	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6671	  */dev/null*)
6672	    lt_cv_path_NM="$tmp_nm -p"
6673	    break
6674	    ;;
6675	  *)
6676	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6677	    continue # so that we can try to find one that supports BSD flags
6678	    ;;
6679	  esac
6680	  ;;
6681	esac
6682      fi
6683    done
6684    IFS="$lt_save_ifs"
6685  done
6686  : ${lt_cv_path_NM=no}
6687fi
6688fi
6689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6690$as_echo "$lt_cv_path_NM" >&6; }
6691if test "$lt_cv_path_NM" != "no"; then
6692  NM="$lt_cv_path_NM"
6693else
6694  # Didn't find any BSD compatible name lister, look for dumpbin.
6695  if test -n "$ac_tool_prefix"; then
6696  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6697  do
6698    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6699set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6701$as_echo_n "checking for $ac_word... " >&6; }
6702if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6703  $as_echo_n "(cached) " >&6
6704else
6705  if test -n "$DUMPBIN"; then
6706  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6707else
6708as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6709for as_dir in $PATH
6710do
6711  IFS=$as_save_IFS
6712  test -z "$as_dir" && as_dir=.
6713    for ac_exec_ext in '' $ac_executable_extensions; do
6714  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6715    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6716    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6717    break 2
6718  fi
6719done
6720  done
6721IFS=$as_save_IFS
6722
6723fi
6724fi
6725DUMPBIN=$ac_cv_prog_DUMPBIN
6726if test -n "$DUMPBIN"; then
6727  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6728$as_echo "$DUMPBIN" >&6; }
6729else
6730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6731$as_echo "no" >&6; }
6732fi
6733
6734
6735    test -n "$DUMPBIN" && break
6736  done
6737fi
6738if test -z "$DUMPBIN"; then
6739  ac_ct_DUMPBIN=$DUMPBIN
6740  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6741do
6742  # Extract the first word of "$ac_prog", so it can be a program name with args.
6743set dummy $ac_prog; ac_word=$2
6744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6745$as_echo_n "checking for $ac_word... " >&6; }
6746if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6747  $as_echo_n "(cached) " >&6
6748else
6749  if test -n "$ac_ct_DUMPBIN"; then
6750  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6751else
6752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6753for as_dir in $PATH
6754do
6755  IFS=$as_save_IFS
6756  test -z "$as_dir" && as_dir=.
6757    for ac_exec_ext in '' $ac_executable_extensions; do
6758  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6759    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6760    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6761    break 2
6762  fi
6763done
6764  done
6765IFS=$as_save_IFS
6766
6767fi
6768fi
6769ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6770if test -n "$ac_ct_DUMPBIN"; then
6771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6772$as_echo "$ac_ct_DUMPBIN" >&6; }
6773else
6774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6775$as_echo "no" >&6; }
6776fi
6777
6778
6779  test -n "$ac_ct_DUMPBIN" && break
6780done
6781
6782  if test "x$ac_ct_DUMPBIN" = x; then
6783    DUMPBIN=":"
6784  else
6785    case $cross_compiling:$ac_tool_warned in
6786yes:)
6787{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6788$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6789ac_tool_warned=yes ;;
6790esac
6791    DUMPBIN=$ac_ct_DUMPBIN
6792  fi
6793fi
6794
6795
6796  if test "$DUMPBIN" != ":"; then
6797    NM="$DUMPBIN"
6798  fi
6799fi
6800test -z "$NM" && NM=nm
6801
6802
6803
6804
6805
6806
6807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6808$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6809if test "${lt_cv_nm_interface+set}" = set; then :
6810  $as_echo_n "(cached) " >&6
6811else
6812  lt_cv_nm_interface="BSD nm"
6813  echo "int some_variable = 0;" > conftest.$ac_ext
6814  (eval echo "\"\$as_me:6814: $ac_compile\"" >&5)
6815  (eval "$ac_compile" 2>conftest.err)
6816  cat conftest.err >&5
6817  (eval echo "\"\$as_me:6817: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6818  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6819  cat conftest.err >&5
6820  (eval echo "\"\$as_me:6820: output\"" >&5)
6821  cat conftest.out >&5
6822  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6823    lt_cv_nm_interface="MS dumpbin"
6824  fi
6825  rm -f conftest*
6826fi
6827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6828$as_echo "$lt_cv_nm_interface" >&6; }
6829
6830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6831$as_echo_n "checking whether ln -s works... " >&6; }
6832LN_S=$as_ln_s
6833if test "$LN_S" = "ln -s"; then
6834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6835$as_echo "yes" >&6; }
6836else
6837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6838$as_echo "no, using $LN_S" >&6; }
6839fi
6840
6841# find the maximum length of command line arguments
6842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6843$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6844if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6845  $as_echo_n "(cached) " >&6
6846else
6847    i=0
6848  teststring="ABCD"
6849
6850  case $build_os in
6851  msdosdjgpp*)
6852    # On DJGPP, this test can blow up pretty badly due to problems in libc
6853    # (any single argument exceeding 2000 bytes causes a buffer overrun
6854    # during glob expansion).  Even if it were fixed, the result of this
6855    # check would be larger than it should be.
6856    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6857    ;;
6858
6859  gnu*)
6860    # Under GNU Hurd, this test is not required because there is
6861    # no limit to the length of command line arguments.
6862    # Libtool will interpret -1 as no limit whatsoever
6863    lt_cv_sys_max_cmd_len=-1;
6864    ;;
6865
6866  cygwin* | mingw* | cegcc*)
6867    # On Win9x/ME, this test blows up -- it succeeds, but takes
6868    # about 5 minutes as the teststring grows exponentially.
6869    # Worse, since 9x/ME are not pre-emptively multitasking,
6870    # you end up with a "frozen" computer, even though with patience
6871    # the test eventually succeeds (with a max line length of 256k).
6872    # Instead, let's just punt: use the minimum linelength reported by
6873    # all of the supported platforms: 8192 (on NT/2K/XP).
6874    lt_cv_sys_max_cmd_len=8192;
6875    ;;
6876
6877  amigaos*)
6878    # On AmigaOS with pdksh, this test takes hours, literally.
6879    # So we just punt and use a minimum line length of 8192.
6880    lt_cv_sys_max_cmd_len=8192;
6881    ;;
6882
6883  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6884    # This has been around since 386BSD, at least.  Likely further.
6885    if test -x /sbin/sysctl; then
6886      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6887    elif test -x /usr/sbin/sysctl; then
6888      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6889    else
6890      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6891    fi
6892    # And add a safety zone
6893    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6894    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6895    ;;
6896
6897  interix*)
6898    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6899    lt_cv_sys_max_cmd_len=196608
6900    ;;
6901
6902  osf*)
6903    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6904    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6905    # nice to cause kernel panics so lets avoid the loop below.
6906    # First set a reasonable default.
6907    lt_cv_sys_max_cmd_len=16384
6908    #
6909    if test -x /sbin/sysconfig; then
6910      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6911        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6912      esac
6913    fi
6914    ;;
6915  sco3.2v5*)
6916    lt_cv_sys_max_cmd_len=102400
6917    ;;
6918  sysv5* | sco5v6* | sysv4.2uw2*)
6919    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6920    if test -n "$kargmax"; then
6921      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6922    else
6923      lt_cv_sys_max_cmd_len=32768
6924    fi
6925    ;;
6926  *)
6927    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6928    if test -n "$lt_cv_sys_max_cmd_len"; then
6929      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6930      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6931    else
6932      # Make teststring a little bigger before we do anything with it.
6933      # a 1K string should be a reasonable start.
6934      for i in 1 2 3 4 5 6 7 8 ; do
6935        teststring=$teststring$teststring
6936      done
6937      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6938      # If test is not a shell built-in, we'll probably end up computing a
6939      # maximum length that is only half of the actual maximum length, but
6940      # we can't tell.
6941      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6942	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6943	      test $i != 17 # 1/2 MB should be enough
6944      do
6945        i=`expr $i + 1`
6946        teststring=$teststring$teststring
6947      done
6948      # Only check the string length outside the loop.
6949      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6950      teststring=
6951      # Add a significant safety factor because C++ compilers can tack on
6952      # massive amounts of additional arguments before passing them to the
6953      # linker.  It appears as though 1/2 is a usable value.
6954      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6955    fi
6956    ;;
6957  esac
6958
6959fi
6960
6961if test -n $lt_cv_sys_max_cmd_len ; then
6962  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6963$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6964else
6965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6966$as_echo "none" >&6; }
6967fi
6968max_cmd_len=$lt_cv_sys_max_cmd_len
6969
6970
6971
6972
6973
6974
6975: ${CP="cp -f"}
6976: ${MV="mv -f"}
6977: ${RM="rm -f"}
6978
6979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6980$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6981# Try some XSI features
6982xsi_shell=no
6983( _lt_dummy="a/b/c"
6984  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6985      = c,a/b,, \
6986    && eval 'test $(( 1 + 1 )) -eq 2 \
6987    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6988  && xsi_shell=yes
6989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6990$as_echo "$xsi_shell" >&6; }
6991
6992
6993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6994$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6995lt_shell_append=no
6996( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6997    >/dev/null 2>&1 \
6998  && lt_shell_append=yes
6999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7000$as_echo "$lt_shell_append" >&6; }
7001
7002
7003if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7004  lt_unset=unset
7005else
7006  lt_unset=false
7007fi
7008
7009
7010
7011
7012
7013# test EBCDIC or ASCII
7014case `echo X|tr X '\101'` in
7015 A) # ASCII based system
7016    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7017  lt_SP2NL='tr \040 \012'
7018  lt_NL2SP='tr \015\012 \040\040'
7019  ;;
7020 *) # EBCDIC based system
7021  lt_SP2NL='tr \100 \n'
7022  lt_NL2SP='tr \r\n \100\100'
7023  ;;
7024esac
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7035$as_echo_n "checking for $LD option to reload object files... " >&6; }
7036if test "${lt_cv_ld_reload_flag+set}" = set; then :
7037  $as_echo_n "(cached) " >&6
7038else
7039  lt_cv_ld_reload_flag='-r'
7040fi
7041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7042$as_echo "$lt_cv_ld_reload_flag" >&6; }
7043reload_flag=$lt_cv_ld_reload_flag
7044case $reload_flag in
7045"" | " "*) ;;
7046*) reload_flag=" $reload_flag" ;;
7047esac
7048reload_cmds='$LD$reload_flag -o $output$reload_objs'
7049case $host_os in
7050  darwin*)
7051    if test "$GCC" = yes; then
7052      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7053    else
7054      reload_cmds='$LD$reload_flag -o $output$reload_objs'
7055    fi
7056    ;;
7057esac
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067if test -n "$ac_tool_prefix"; then
7068  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7069set dummy ${ac_tool_prefix}objdump; ac_word=$2
7070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7071$as_echo_n "checking for $ac_word... " >&6; }
7072if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7073  $as_echo_n "(cached) " >&6
7074else
7075  if test -n "$OBJDUMP"; then
7076  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7077else
7078as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7079for as_dir in $PATH
7080do
7081  IFS=$as_save_IFS
7082  test -z "$as_dir" && as_dir=.
7083    for ac_exec_ext in '' $ac_executable_extensions; do
7084  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7085    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7086    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7087    break 2
7088  fi
7089done
7090  done
7091IFS=$as_save_IFS
7092
7093fi
7094fi
7095OBJDUMP=$ac_cv_prog_OBJDUMP
7096if test -n "$OBJDUMP"; then
7097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7098$as_echo "$OBJDUMP" >&6; }
7099else
7100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7101$as_echo "no" >&6; }
7102fi
7103
7104
7105fi
7106if test -z "$ac_cv_prog_OBJDUMP"; then
7107  ac_ct_OBJDUMP=$OBJDUMP
7108  # Extract the first word of "objdump", so it can be a program name with args.
7109set dummy objdump; ac_word=$2
7110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7111$as_echo_n "checking for $ac_word... " >&6; }
7112if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7113  $as_echo_n "(cached) " >&6
7114else
7115  if test -n "$ac_ct_OBJDUMP"; then
7116  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7117else
7118as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7119for as_dir in $PATH
7120do
7121  IFS=$as_save_IFS
7122  test -z "$as_dir" && as_dir=.
7123    for ac_exec_ext in '' $ac_executable_extensions; do
7124  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7125    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7126    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7127    break 2
7128  fi
7129done
7130  done
7131IFS=$as_save_IFS
7132
7133fi
7134fi
7135ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7136if test -n "$ac_ct_OBJDUMP"; then
7137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7138$as_echo "$ac_ct_OBJDUMP" >&6; }
7139else
7140  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7141$as_echo "no" >&6; }
7142fi
7143
7144  if test "x$ac_ct_OBJDUMP" = x; then
7145    OBJDUMP="false"
7146  else
7147    case $cross_compiling:$ac_tool_warned in
7148yes:)
7149{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7150$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7151ac_tool_warned=yes ;;
7152esac
7153    OBJDUMP=$ac_ct_OBJDUMP
7154  fi
7155else
7156  OBJDUMP="$ac_cv_prog_OBJDUMP"
7157fi
7158
7159test -z "$OBJDUMP" && OBJDUMP=objdump
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7170$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7171if test "${lt_cv_deplibs_check_method+set}" = set; then :
7172  $as_echo_n "(cached) " >&6
7173else
7174  lt_cv_file_magic_cmd='$MAGIC_CMD'
7175lt_cv_file_magic_test_file=
7176lt_cv_deplibs_check_method='unknown'
7177# Need to set the preceding variable on all platforms that support
7178# interlibrary dependencies.
7179# 'none' -- dependencies not supported.
7180# `unknown' -- same as none, but documents that we really don't know.
7181# 'pass_all' -- all dependencies passed with no checks.
7182# 'test_compile' -- check by making test program.
7183# 'file_magic [[regex]]' -- check by looking for files in library path
7184# which responds to the $file_magic_cmd with a given extended regex.
7185# If you have `file' or equivalent on your system and you're not sure
7186# whether `pass_all' will *always* work, you probably want this one.
7187
7188case $host_os in
7189aix[4-9]*)
7190  lt_cv_deplibs_check_method=pass_all
7191  ;;
7192
7193beos*)
7194  lt_cv_deplibs_check_method=pass_all
7195  ;;
7196
7197bsdi[45]*)
7198  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7199  lt_cv_file_magic_cmd='/usr/bin/file -L'
7200  lt_cv_file_magic_test_file=/shlib/libc.so
7201  ;;
7202
7203cygwin*)
7204  # func_win32_libid is a shell function defined in ltmain.sh
7205  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7206  lt_cv_file_magic_cmd='func_win32_libid'
7207  ;;
7208
7209mingw* | pw32*)
7210  # Base MSYS/MinGW do not provide the 'file' command needed by
7211  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7212  # unless we find 'file', for example because we are cross-compiling.
7213  if ( file / ) >/dev/null 2>&1; then
7214    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7215    lt_cv_file_magic_cmd='func_win32_libid'
7216  else
7217    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7218    lt_cv_file_magic_cmd='$OBJDUMP -f'
7219  fi
7220  ;;
7221
7222cegcc)
7223  # use the weaker test based on 'objdump'. See mingw*.
7224  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7225  lt_cv_file_magic_cmd='$OBJDUMP -f'
7226  ;;
7227
7228darwin* | rhapsody*)
7229  lt_cv_deplibs_check_method=pass_all
7230  ;;
7231
7232freebsd* | dragonfly*)
7233  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7234    case $host_cpu in
7235    i*86 )
7236      # Not sure whether the presence of OpenBSD here was a mistake.
7237      # Let's accept both of them until this is cleared up.
7238      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7239      lt_cv_file_magic_cmd=/usr/bin/file
7240      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7241      ;;
7242    esac
7243  else
7244    lt_cv_deplibs_check_method=pass_all
7245  fi
7246  ;;
7247
7248gnu*)
7249  lt_cv_deplibs_check_method=pass_all
7250  ;;
7251
7252hpux10.20* | hpux11*)
7253  lt_cv_file_magic_cmd=/usr/bin/file
7254  case $host_cpu in
7255  ia64*)
7256    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7257    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7258    ;;
7259  hppa*64*)
7260    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]'
7261    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7262    ;;
7263  *)
7264    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7265    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7266    ;;
7267  esac
7268  ;;
7269
7270interix[3-9]*)
7271  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7272  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7273  ;;
7274
7275irix5* | irix6* | nonstopux*)
7276  case $LD in
7277  *-32|*"-32 ") libmagic=32-bit;;
7278  *-n32|*"-n32 ") libmagic=N32;;
7279  *-64|*"-64 ") libmagic=64-bit;;
7280  *) libmagic=never-match;;
7281  esac
7282  lt_cv_deplibs_check_method=pass_all
7283  ;;
7284
7285# This must be Linux ELF.
7286linux* | k*bsd*-gnu | kopensolaris*-gnu)
7287  lt_cv_deplibs_check_method=pass_all
7288  ;;
7289
7290netbsd* | netbsdelf*-gnu)
7291  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7292    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7293  else
7294    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7295  fi
7296  ;;
7297
7298newos6*)
7299  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7300  lt_cv_file_magic_cmd=/usr/bin/file
7301  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7302  ;;
7303
7304*nto* | *qnx*)
7305  lt_cv_deplibs_check_method=pass_all
7306  ;;
7307
7308openbsd*)
7309  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7310    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7311  else
7312    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7313  fi
7314  ;;
7315
7316osf3* | osf4* | osf5*)
7317  lt_cv_deplibs_check_method=pass_all
7318  ;;
7319
7320rdos*)
7321  lt_cv_deplibs_check_method=pass_all
7322  ;;
7323
7324solaris*)
7325  lt_cv_deplibs_check_method=pass_all
7326  ;;
7327
7328sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7329  lt_cv_deplibs_check_method=pass_all
7330  ;;
7331
7332sysv4 | sysv4.3*)
7333  case $host_vendor in
7334  motorola)
7335    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]'
7336    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7337    ;;
7338  ncr)
7339    lt_cv_deplibs_check_method=pass_all
7340    ;;
7341  sequent)
7342    lt_cv_file_magic_cmd='/bin/file'
7343    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7344    ;;
7345  sni)
7346    lt_cv_file_magic_cmd='/bin/file'
7347    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7348    lt_cv_file_magic_test_file=/lib/libc.so
7349    ;;
7350  siemens)
7351    lt_cv_deplibs_check_method=pass_all
7352    ;;
7353  pc)
7354    lt_cv_deplibs_check_method=pass_all
7355    ;;
7356  esac
7357  ;;
7358
7359tpf*)
7360  lt_cv_deplibs_check_method=pass_all
7361  ;;
7362esac
7363
7364fi
7365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7366$as_echo "$lt_cv_deplibs_check_method" >&6; }
7367file_magic_cmd=$lt_cv_file_magic_cmd
7368deplibs_check_method=$lt_cv_deplibs_check_method
7369test -z "$deplibs_check_method" && deplibs_check_method=unknown
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382if test -n "$ac_tool_prefix"; then
7383  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7384set dummy ${ac_tool_prefix}ar; ac_word=$2
7385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7386$as_echo_n "checking for $ac_word... " >&6; }
7387if test "${ac_cv_prog_AR+set}" = set; then :
7388  $as_echo_n "(cached) " >&6
7389else
7390  if test -n "$AR"; then
7391  ac_cv_prog_AR="$AR" # Let the user override the test.
7392else
7393as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7394for as_dir in $PATH
7395do
7396  IFS=$as_save_IFS
7397  test -z "$as_dir" && as_dir=.
7398    for ac_exec_ext in '' $ac_executable_extensions; do
7399  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7400    ac_cv_prog_AR="${ac_tool_prefix}ar"
7401    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7402    break 2
7403  fi
7404done
7405  done
7406IFS=$as_save_IFS
7407
7408fi
7409fi
7410AR=$ac_cv_prog_AR
7411if test -n "$AR"; then
7412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7413$as_echo "$AR" >&6; }
7414else
7415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7416$as_echo "no" >&6; }
7417fi
7418
7419
7420fi
7421if test -z "$ac_cv_prog_AR"; then
7422  ac_ct_AR=$AR
7423  # Extract the first word of "ar", so it can be a program name with args.
7424set dummy ar; ac_word=$2
7425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7426$as_echo_n "checking for $ac_word... " >&6; }
7427if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7428  $as_echo_n "(cached) " >&6
7429else
7430  if test -n "$ac_ct_AR"; then
7431  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7432else
7433as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7434for as_dir in $PATH
7435do
7436  IFS=$as_save_IFS
7437  test -z "$as_dir" && as_dir=.
7438    for ac_exec_ext in '' $ac_executable_extensions; do
7439  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7440    ac_cv_prog_ac_ct_AR="ar"
7441    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7442    break 2
7443  fi
7444done
7445  done
7446IFS=$as_save_IFS
7447
7448fi
7449fi
7450ac_ct_AR=$ac_cv_prog_ac_ct_AR
7451if test -n "$ac_ct_AR"; then
7452  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7453$as_echo "$ac_ct_AR" >&6; }
7454else
7455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456$as_echo "no" >&6; }
7457fi
7458
7459  if test "x$ac_ct_AR" = x; then
7460    AR="false"
7461  else
7462    case $cross_compiling:$ac_tool_warned in
7463yes:)
7464{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7465$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7466ac_tool_warned=yes ;;
7467esac
7468    AR=$ac_ct_AR
7469  fi
7470else
7471  AR="$ac_cv_prog_AR"
7472fi
7473
7474test -z "$AR" && AR=ar
7475test -z "$AR_FLAGS" && AR_FLAGS=cru
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487if test -n "$ac_tool_prefix"; then
7488  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7489set dummy ${ac_tool_prefix}strip; ac_word=$2
7490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7491$as_echo_n "checking for $ac_word... " >&6; }
7492if test "${ac_cv_prog_STRIP+set}" = set; then :
7493  $as_echo_n "(cached) " >&6
7494else
7495  if test -n "$STRIP"; then
7496  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7497else
7498as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7499for as_dir in $PATH
7500do
7501  IFS=$as_save_IFS
7502  test -z "$as_dir" && as_dir=.
7503    for ac_exec_ext in '' $ac_executable_extensions; do
7504  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7505    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7506    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7507    break 2
7508  fi
7509done
7510  done
7511IFS=$as_save_IFS
7512
7513fi
7514fi
7515STRIP=$ac_cv_prog_STRIP
7516if test -n "$STRIP"; then
7517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7518$as_echo "$STRIP" >&6; }
7519else
7520  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7521$as_echo "no" >&6; }
7522fi
7523
7524
7525fi
7526if test -z "$ac_cv_prog_STRIP"; then
7527  ac_ct_STRIP=$STRIP
7528  # Extract the first word of "strip", so it can be a program name with args.
7529set dummy strip; ac_word=$2
7530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7531$as_echo_n "checking for $ac_word... " >&6; }
7532if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7533  $as_echo_n "(cached) " >&6
7534else
7535  if test -n "$ac_ct_STRIP"; then
7536  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7537else
7538as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7539for as_dir in $PATH
7540do
7541  IFS=$as_save_IFS
7542  test -z "$as_dir" && as_dir=.
7543    for ac_exec_ext in '' $ac_executable_extensions; do
7544  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7545    ac_cv_prog_ac_ct_STRIP="strip"
7546    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7547    break 2
7548  fi
7549done
7550  done
7551IFS=$as_save_IFS
7552
7553fi
7554fi
7555ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7556if test -n "$ac_ct_STRIP"; then
7557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7558$as_echo "$ac_ct_STRIP" >&6; }
7559else
7560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7561$as_echo "no" >&6; }
7562fi
7563
7564  if test "x$ac_ct_STRIP" = x; then
7565    STRIP=":"
7566  else
7567    case $cross_compiling:$ac_tool_warned in
7568yes:)
7569{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7570$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7571ac_tool_warned=yes ;;
7572esac
7573    STRIP=$ac_ct_STRIP
7574  fi
7575else
7576  STRIP="$ac_cv_prog_STRIP"
7577fi
7578
7579test -z "$STRIP" && STRIP=:
7580
7581
7582
7583
7584
7585
7586if test -n "$ac_tool_prefix"; then
7587  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7588set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7590$as_echo_n "checking for $ac_word... " >&6; }
7591if test "${ac_cv_prog_RANLIB+set}" = set; then :
7592  $as_echo_n "(cached) " >&6
7593else
7594  if test -n "$RANLIB"; then
7595  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7596else
7597as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7598for as_dir in $PATH
7599do
7600  IFS=$as_save_IFS
7601  test -z "$as_dir" && as_dir=.
7602    for ac_exec_ext in '' $ac_executable_extensions; do
7603  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7604    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7605    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7606    break 2
7607  fi
7608done
7609  done
7610IFS=$as_save_IFS
7611
7612fi
7613fi
7614RANLIB=$ac_cv_prog_RANLIB
7615if test -n "$RANLIB"; then
7616  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7617$as_echo "$RANLIB" >&6; }
7618else
7619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7620$as_echo "no" >&6; }
7621fi
7622
7623
7624fi
7625if test -z "$ac_cv_prog_RANLIB"; then
7626  ac_ct_RANLIB=$RANLIB
7627  # Extract the first word of "ranlib", so it can be a program name with args.
7628set dummy ranlib; ac_word=$2
7629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7630$as_echo_n "checking for $ac_word... " >&6; }
7631if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7632  $as_echo_n "(cached) " >&6
7633else
7634  if test -n "$ac_ct_RANLIB"; then
7635  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7636else
7637as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7638for as_dir in $PATH
7639do
7640  IFS=$as_save_IFS
7641  test -z "$as_dir" && as_dir=.
7642    for ac_exec_ext in '' $ac_executable_extensions; do
7643  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7644    ac_cv_prog_ac_ct_RANLIB="ranlib"
7645    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7646    break 2
7647  fi
7648done
7649  done
7650IFS=$as_save_IFS
7651
7652fi
7653fi
7654ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7655if test -n "$ac_ct_RANLIB"; then
7656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7657$as_echo "$ac_ct_RANLIB" >&6; }
7658else
7659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7660$as_echo "no" >&6; }
7661fi
7662
7663  if test "x$ac_ct_RANLIB" = x; then
7664    RANLIB=":"
7665  else
7666    case $cross_compiling:$ac_tool_warned in
7667yes:)
7668{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7669$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7670ac_tool_warned=yes ;;
7671esac
7672    RANLIB=$ac_ct_RANLIB
7673  fi
7674else
7675  RANLIB="$ac_cv_prog_RANLIB"
7676fi
7677
7678test -z "$RANLIB" && RANLIB=:
7679
7680
7681
7682
7683
7684
7685# Determine commands to create old-style static archives.
7686old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7687old_postinstall_cmds='chmod 644 $oldlib'
7688old_postuninstall_cmds=
7689
7690if test -n "$RANLIB"; then
7691  case $host_os in
7692  openbsd*)
7693    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7694    ;;
7695  *)
7696    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7697    ;;
7698  esac
7699  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7700fi
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735# If no C compiler was specified, use CC.
7736LTCC=${LTCC-"$CC"}
7737
7738# If no C compiler flags were specified, use CFLAGS.
7739LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7740
7741# Allow CC to be a program name with arguments.
7742compiler=$CC
7743
7744
7745# Check for command to grab the raw symbol name followed by C symbol from nm.
7746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7747$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7748if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7749  $as_echo_n "(cached) " >&6
7750else
7751
7752# These are sane defaults that work on at least a few old systems.
7753# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7754
7755# Character class describing NM global symbol codes.
7756symcode='[BCDEGRST]'
7757
7758# Regexp to match symbols that can be accessed directly from C.
7759sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7760
7761# Define system-specific variables.
7762case $host_os in
7763aix*)
7764  symcode='[BCDT]'
7765  ;;
7766cygwin* | mingw* | pw32* | cegcc*)
7767  symcode='[ABCDGISTW]'
7768  ;;
7769hpux*)
7770  if test "$host_cpu" = ia64; then
7771    symcode='[ABCDEGRST]'
7772  fi
7773  ;;
7774irix* | nonstopux*)
7775  symcode='[BCDEGRST]'
7776  ;;
7777osf*)
7778  symcode='[BCDEGQRST]'
7779  ;;
7780solaris*)
7781  symcode='[BDRT]'
7782  ;;
7783sco3.2v5*)
7784  symcode='[DT]'
7785  ;;
7786sysv4.2uw2*)
7787  symcode='[DT]'
7788  ;;
7789sysv5* | sco5v6* | unixware* | OpenUNIX*)
7790  symcode='[ABDT]'
7791  ;;
7792sysv4)
7793  symcode='[DFNSTU]'
7794  ;;
7795esac
7796
7797# If we're using GNU nm, then use its standard symbol codes.
7798case `$NM -V 2>&1` in
7799*GNU* | *'with BFD'*)
7800  symcode='[ABCDGIRSTW]' ;;
7801esac
7802
7803# Transform an extracted symbol line into a proper C declaration.
7804# Some systems (esp. on ia64) link data and code symbols differently,
7805# so use this general approach.
7806lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7807
7808# Transform an extracted symbol line into symbol name and symbol address
7809lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7810lt_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'"
7811
7812# Handle CRLF in mingw tool chain
7813opt_cr=
7814case $build_os in
7815mingw*)
7816  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7817  ;;
7818esac
7819
7820# Try without a prefix underscore, then with it.
7821for ac_symprfx in "" "_"; do
7822
7823  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7824  symxfrm="\\1 $ac_symprfx\\2 \\2"
7825
7826  # Write the raw and C identifiers.
7827  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7828    # Fake it for dumpbin and say T for any non-static function
7829    # and D for any global variable.
7830    # Also find C++ and __fastcall symbols from MSVC++,
7831    # which start with @ or ?.
7832    lt_cv_sys_global_symbol_pipe="$AWK '"\
7833"     {last_section=section; section=\$ 3};"\
7834"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7835"     \$ 0!~/External *\|/{next};"\
7836"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7837"     {if(hide[section]) next};"\
7838"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7839"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7840"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7841"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7842"     ' prfx=^$ac_symprfx"
7843  else
7844    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7845  fi
7846
7847  # Check to see that the pipe works correctly.
7848  pipe_works=no
7849
7850  rm -f conftest*
7851  cat > conftest.$ac_ext <<_LT_EOF
7852#ifdef __cplusplus
7853extern "C" {
7854#endif
7855char nm_test_var;
7856void nm_test_func(void);
7857void nm_test_func(void){}
7858#ifdef __cplusplus
7859}
7860#endif
7861int main(){nm_test_var='a';nm_test_func();return(0);}
7862_LT_EOF
7863
7864  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7865  (eval $ac_compile) 2>&5
7866  ac_status=$?
7867  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7868  test $ac_status = 0; }; then
7869    # Now try to grab the symbols.
7870    nlist=conftest.nm
7871    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7872  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7873  ac_status=$?
7874  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7875  test $ac_status = 0; } && test -s "$nlist"; then
7876      # Try sorting and uniquifying the output.
7877      if sort "$nlist" | uniq > "$nlist"T; then
7878	mv -f "$nlist"T "$nlist"
7879      else
7880	rm -f "$nlist"T
7881      fi
7882
7883      # Make sure that we snagged all the symbols we need.
7884      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7885	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7886	  cat <<_LT_EOF > conftest.$ac_ext
7887#ifdef __cplusplus
7888extern "C" {
7889#endif
7890
7891_LT_EOF
7892	  # Now generate the symbol file.
7893	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7894
7895	  cat <<_LT_EOF >> conftest.$ac_ext
7896
7897/* The mapping between symbol names and symbols.  */
7898const struct {
7899  const char *name;
7900  void       *address;
7901}
7902lt__PROGRAM__LTX_preloaded_symbols[] =
7903{
7904  { "@PROGRAM@", (void *) 0 },
7905_LT_EOF
7906	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7907	  cat <<\_LT_EOF >> conftest.$ac_ext
7908  {0, (void *) 0}
7909};
7910
7911/* This works around a problem in FreeBSD linker */
7912#ifdef FREEBSD_WORKAROUND
7913static const void *lt_preloaded_setup() {
7914  return lt__PROGRAM__LTX_preloaded_symbols;
7915}
7916#endif
7917
7918#ifdef __cplusplus
7919}
7920#endif
7921_LT_EOF
7922	  # Now try linking the two files.
7923	  mv conftest.$ac_objext conftstm.$ac_objext
7924	  lt_save_LIBS="$LIBS"
7925	  lt_save_CFLAGS="$CFLAGS"
7926	  LIBS="conftstm.$ac_objext"
7927	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7928	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7929  (eval $ac_link) 2>&5
7930  ac_status=$?
7931  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7932  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7933	    pipe_works=yes
7934	  fi
7935	  LIBS="$lt_save_LIBS"
7936	  CFLAGS="$lt_save_CFLAGS"
7937	else
7938	  echo "cannot find nm_test_func in $nlist" >&5
7939	fi
7940      else
7941	echo "cannot find nm_test_var in $nlist" >&5
7942      fi
7943    else
7944      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7945    fi
7946  else
7947    echo "$progname: failed program was:" >&5
7948    cat conftest.$ac_ext >&5
7949  fi
7950  rm -rf conftest* conftst*
7951
7952  # Do not use the global_symbol_pipe unless it works.
7953  if test "$pipe_works" = yes; then
7954    break
7955  else
7956    lt_cv_sys_global_symbol_pipe=
7957  fi
7958done
7959
7960fi
7961
7962if test -z "$lt_cv_sys_global_symbol_pipe"; then
7963  lt_cv_sys_global_symbol_to_cdecl=
7964fi
7965if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7967$as_echo "failed" >&6; }
7968else
7969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7970$as_echo "ok" >&6; }
7971fi
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994# Check whether --enable-libtool-lock was given.
7995if test "${enable_libtool_lock+set}" = set; then :
7996  enableval=$enable_libtool_lock;
7997fi
7998
7999test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8000
8001# Some flags need to be propagated to the compiler or linker for good
8002# libtool support.
8003case $host in
8004ia64-*-hpux*)
8005  # Find out which ABI we are using.
8006  echo 'int i;' > conftest.$ac_ext
8007  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8008  (eval $ac_compile) 2>&5
8009  ac_status=$?
8010  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8011  test $ac_status = 0; }; then
8012    case `/usr/bin/file conftest.$ac_objext` in
8013      *ELF-32*)
8014	HPUX_IA64_MODE="32"
8015	;;
8016      *ELF-64*)
8017	HPUX_IA64_MODE="64"
8018	;;
8019    esac
8020  fi
8021  rm -rf conftest*
8022  ;;
8023*-*-irix6*)
8024  # Find out which ABI we are using.
8025  echo '#line 8025 "configure"' > conftest.$ac_ext
8026  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8027  (eval $ac_compile) 2>&5
8028  ac_status=$?
8029  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8030  test $ac_status = 0; }; then
8031    if test "$lt_cv_prog_gnu_ld" = yes; then
8032      case `/usr/bin/file conftest.$ac_objext` in
8033	*32-bit*)
8034	  LD="${LD-ld} -melf32bsmip"
8035	  ;;
8036	*N32*)
8037	  LD="${LD-ld} -melf32bmipn32"
8038	  ;;
8039	*64-bit*)
8040	  LD="${LD-ld} -melf64bmip"
8041	;;
8042      esac
8043    else
8044      case `/usr/bin/file conftest.$ac_objext` in
8045	*32-bit*)
8046	  LD="${LD-ld} -32"
8047	  ;;
8048	*N32*)
8049	  LD="${LD-ld} -n32"
8050	  ;;
8051	*64-bit*)
8052	  LD="${LD-ld} -64"
8053	  ;;
8054      esac
8055    fi
8056  fi
8057  rm -rf conftest*
8058  ;;
8059
8060x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8061s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8062  # Find out which ABI we are using.
8063  echo 'int i;' > conftest.$ac_ext
8064  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8065  (eval $ac_compile) 2>&5
8066  ac_status=$?
8067  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8068  test $ac_status = 0; }; then
8069    case `/usr/bin/file conftest.o` in
8070      *32-bit*)
8071	case $host in
8072	  x86_64-*kfreebsd*-gnu)
8073	    LD="${LD-ld} -m elf_i386_fbsd"
8074	    ;;
8075	  x86_64-*linux*)
8076	    LD="${LD-ld} -m elf_i386"
8077	    ;;
8078	  ppc64-*linux*|powerpc64-*linux*)
8079	    LD="${LD-ld} -m elf32ppclinux"
8080	    ;;
8081	  s390x-*linux*)
8082	    LD="${LD-ld} -m elf_s390"
8083	    ;;
8084	  sparc64-*linux*)
8085	    LD="${LD-ld} -m elf32_sparc"
8086	    ;;
8087	esac
8088	;;
8089      *64-bit*)
8090	case $host in
8091	  x86_64-*kfreebsd*-gnu)
8092	    LD="${LD-ld} -m elf_x86_64_fbsd"
8093	    ;;
8094	  x86_64-*linux*)
8095	    LD="${LD-ld} -m elf_x86_64"
8096	    ;;
8097	  ppc*-*linux*|powerpc*-*linux*)
8098	    LD="${LD-ld} -m elf64ppc"
8099	    ;;
8100	  s390*-*linux*|s390*-*tpf*)
8101	    LD="${LD-ld} -m elf64_s390"
8102	    ;;
8103	  sparc*-*linux*)
8104	    LD="${LD-ld} -m elf64_sparc"
8105	    ;;
8106	esac
8107	;;
8108    esac
8109  fi
8110  rm -rf conftest*
8111  ;;
8112
8113*-*-sco3.2v5*)
8114  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8115  SAVE_CFLAGS="$CFLAGS"
8116  CFLAGS="$CFLAGS -belf"
8117  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8118$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8119if test "${lt_cv_cc_needs_belf+set}" = set; then :
8120  $as_echo_n "(cached) " >&6
8121else
8122  ac_ext=c
8123ac_cpp='$CPP $CPPFLAGS'
8124ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8125ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8126ac_compiler_gnu=$ac_cv_c_compiler_gnu
8127
8128     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8129/* end confdefs.h.  */
8130
8131int
8132main ()
8133{
8134
8135  ;
8136  return 0;
8137}
8138_ACEOF
8139if ac_fn_c_try_link "$LINENO"; then :
8140  lt_cv_cc_needs_belf=yes
8141else
8142  lt_cv_cc_needs_belf=no
8143fi
8144rm -f core conftest.err conftest.$ac_objext \
8145    conftest$ac_exeext conftest.$ac_ext
8146     ac_ext=c
8147ac_cpp='$CPP $CPPFLAGS'
8148ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8149ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8150ac_compiler_gnu=$ac_cv_c_compiler_gnu
8151
8152fi
8153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8154$as_echo "$lt_cv_cc_needs_belf" >&6; }
8155  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8156    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8157    CFLAGS="$SAVE_CFLAGS"
8158  fi
8159  ;;
8160sparc*-*solaris*)
8161  # Find out which ABI we are using.
8162  echo 'int i;' > conftest.$ac_ext
8163  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8164  (eval $ac_compile) 2>&5
8165  ac_status=$?
8166  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8167  test $ac_status = 0; }; then
8168    case `/usr/bin/file conftest.o` in
8169    *64-bit*)
8170      case $lt_cv_prog_gnu_ld in
8171      yes*) LD="${LD-ld} -m elf64_sparc" ;;
8172      *)
8173	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8174	  LD="${LD-ld} -64"
8175	fi
8176	;;
8177      esac
8178      ;;
8179    esac
8180  fi
8181  rm -rf conftest*
8182  ;;
8183esac
8184
8185need_locks="$enable_libtool_lock"
8186
8187
8188  case $host_os in
8189    rhapsody* | darwin*)
8190    if test -n "$ac_tool_prefix"; then
8191  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8192set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8194$as_echo_n "checking for $ac_word... " >&6; }
8195if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8196  $as_echo_n "(cached) " >&6
8197else
8198  if test -n "$DSYMUTIL"; then
8199  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8200else
8201as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8202for as_dir in $PATH
8203do
8204  IFS=$as_save_IFS
8205  test -z "$as_dir" && as_dir=.
8206    for ac_exec_ext in '' $ac_executable_extensions; do
8207  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8208    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8209    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8210    break 2
8211  fi
8212done
8213  done
8214IFS=$as_save_IFS
8215
8216fi
8217fi
8218DSYMUTIL=$ac_cv_prog_DSYMUTIL
8219if test -n "$DSYMUTIL"; then
8220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8221$as_echo "$DSYMUTIL" >&6; }
8222else
8223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8224$as_echo "no" >&6; }
8225fi
8226
8227
8228fi
8229if test -z "$ac_cv_prog_DSYMUTIL"; then
8230  ac_ct_DSYMUTIL=$DSYMUTIL
8231  # Extract the first word of "dsymutil", so it can be a program name with args.
8232set dummy dsymutil; ac_word=$2
8233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8234$as_echo_n "checking for $ac_word... " >&6; }
8235if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8236  $as_echo_n "(cached) " >&6
8237else
8238  if test -n "$ac_ct_DSYMUTIL"; then
8239  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8240else
8241as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8242for as_dir in $PATH
8243do
8244  IFS=$as_save_IFS
8245  test -z "$as_dir" && as_dir=.
8246    for ac_exec_ext in '' $ac_executable_extensions; do
8247  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8248    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8249    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8250    break 2
8251  fi
8252done
8253  done
8254IFS=$as_save_IFS
8255
8256fi
8257fi
8258ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8259if test -n "$ac_ct_DSYMUTIL"; then
8260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8261$as_echo "$ac_ct_DSYMUTIL" >&6; }
8262else
8263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8264$as_echo "no" >&6; }
8265fi
8266
8267  if test "x$ac_ct_DSYMUTIL" = x; then
8268    DSYMUTIL=":"
8269  else
8270    case $cross_compiling:$ac_tool_warned in
8271yes:)
8272{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8273$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8274ac_tool_warned=yes ;;
8275esac
8276    DSYMUTIL=$ac_ct_DSYMUTIL
8277  fi
8278else
8279  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8280fi
8281
8282    if test -n "$ac_tool_prefix"; then
8283  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8284set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8286$as_echo_n "checking for $ac_word... " >&6; }
8287if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8288  $as_echo_n "(cached) " >&6
8289else
8290  if test -n "$NMEDIT"; then
8291  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8292else
8293as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8294for as_dir in $PATH
8295do
8296  IFS=$as_save_IFS
8297  test -z "$as_dir" && as_dir=.
8298    for ac_exec_ext in '' $ac_executable_extensions; do
8299  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8300    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8301    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8302    break 2
8303  fi
8304done
8305  done
8306IFS=$as_save_IFS
8307
8308fi
8309fi
8310NMEDIT=$ac_cv_prog_NMEDIT
8311if test -n "$NMEDIT"; then
8312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8313$as_echo "$NMEDIT" >&6; }
8314else
8315  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8316$as_echo "no" >&6; }
8317fi
8318
8319
8320fi
8321if test -z "$ac_cv_prog_NMEDIT"; then
8322  ac_ct_NMEDIT=$NMEDIT
8323  # Extract the first word of "nmedit", so it can be a program name with args.
8324set dummy nmedit; ac_word=$2
8325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8326$as_echo_n "checking for $ac_word... " >&6; }
8327if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8328  $as_echo_n "(cached) " >&6
8329else
8330  if test -n "$ac_ct_NMEDIT"; then
8331  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8332else
8333as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8334for as_dir in $PATH
8335do
8336  IFS=$as_save_IFS
8337  test -z "$as_dir" && as_dir=.
8338    for ac_exec_ext in '' $ac_executable_extensions; do
8339  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8340    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8341    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8342    break 2
8343  fi
8344done
8345  done
8346IFS=$as_save_IFS
8347
8348fi
8349fi
8350ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8351if test -n "$ac_ct_NMEDIT"; then
8352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8353$as_echo "$ac_ct_NMEDIT" >&6; }
8354else
8355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8356$as_echo "no" >&6; }
8357fi
8358
8359  if test "x$ac_ct_NMEDIT" = x; then
8360    NMEDIT=":"
8361  else
8362    case $cross_compiling:$ac_tool_warned in
8363yes:)
8364{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8365$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8366ac_tool_warned=yes ;;
8367esac
8368    NMEDIT=$ac_ct_NMEDIT
8369  fi
8370else
8371  NMEDIT="$ac_cv_prog_NMEDIT"
8372fi
8373
8374    if test -n "$ac_tool_prefix"; then
8375  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8376set dummy ${ac_tool_prefix}lipo; ac_word=$2
8377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8378$as_echo_n "checking for $ac_word... " >&6; }
8379if test "${ac_cv_prog_LIPO+set}" = set; then :
8380  $as_echo_n "(cached) " >&6
8381else
8382  if test -n "$LIPO"; then
8383  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8384else
8385as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8386for as_dir in $PATH
8387do
8388  IFS=$as_save_IFS
8389  test -z "$as_dir" && as_dir=.
8390    for ac_exec_ext in '' $ac_executable_extensions; do
8391  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8392    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8393    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8394    break 2
8395  fi
8396done
8397  done
8398IFS=$as_save_IFS
8399
8400fi
8401fi
8402LIPO=$ac_cv_prog_LIPO
8403if test -n "$LIPO"; then
8404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8405$as_echo "$LIPO" >&6; }
8406else
8407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8408$as_echo "no" >&6; }
8409fi
8410
8411
8412fi
8413if test -z "$ac_cv_prog_LIPO"; then
8414  ac_ct_LIPO=$LIPO
8415  # Extract the first word of "lipo", so it can be a program name with args.
8416set dummy lipo; ac_word=$2
8417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8418$as_echo_n "checking for $ac_word... " >&6; }
8419if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8420  $as_echo_n "(cached) " >&6
8421else
8422  if test -n "$ac_ct_LIPO"; then
8423  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8424else
8425as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8426for as_dir in $PATH
8427do
8428  IFS=$as_save_IFS
8429  test -z "$as_dir" && as_dir=.
8430    for ac_exec_ext in '' $ac_executable_extensions; do
8431  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8432    ac_cv_prog_ac_ct_LIPO="lipo"
8433    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8434    break 2
8435  fi
8436done
8437  done
8438IFS=$as_save_IFS
8439
8440fi
8441fi
8442ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8443if test -n "$ac_ct_LIPO"; then
8444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8445$as_echo "$ac_ct_LIPO" >&6; }
8446else
8447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8448$as_echo "no" >&6; }
8449fi
8450
8451  if test "x$ac_ct_LIPO" = x; then
8452    LIPO=":"
8453  else
8454    case $cross_compiling:$ac_tool_warned in
8455yes:)
8456{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8457$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8458ac_tool_warned=yes ;;
8459esac
8460    LIPO=$ac_ct_LIPO
8461  fi
8462else
8463  LIPO="$ac_cv_prog_LIPO"
8464fi
8465
8466    if test -n "$ac_tool_prefix"; then
8467  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8468set dummy ${ac_tool_prefix}otool; ac_word=$2
8469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8470$as_echo_n "checking for $ac_word... " >&6; }
8471if test "${ac_cv_prog_OTOOL+set}" = set; then :
8472  $as_echo_n "(cached) " >&6
8473else
8474  if test -n "$OTOOL"; then
8475  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8476else
8477as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8478for as_dir in $PATH
8479do
8480  IFS=$as_save_IFS
8481  test -z "$as_dir" && as_dir=.
8482    for ac_exec_ext in '' $ac_executable_extensions; do
8483  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8484    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8485    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8486    break 2
8487  fi
8488done
8489  done
8490IFS=$as_save_IFS
8491
8492fi
8493fi
8494OTOOL=$ac_cv_prog_OTOOL
8495if test -n "$OTOOL"; then
8496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8497$as_echo "$OTOOL" >&6; }
8498else
8499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8500$as_echo "no" >&6; }
8501fi
8502
8503
8504fi
8505if test -z "$ac_cv_prog_OTOOL"; then
8506  ac_ct_OTOOL=$OTOOL
8507  # Extract the first word of "otool", so it can be a program name with args.
8508set dummy otool; ac_word=$2
8509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8510$as_echo_n "checking for $ac_word... " >&6; }
8511if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8512  $as_echo_n "(cached) " >&6
8513else
8514  if test -n "$ac_ct_OTOOL"; then
8515  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8516else
8517as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8518for as_dir in $PATH
8519do
8520  IFS=$as_save_IFS
8521  test -z "$as_dir" && as_dir=.
8522    for ac_exec_ext in '' $ac_executable_extensions; do
8523  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8524    ac_cv_prog_ac_ct_OTOOL="otool"
8525    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8526    break 2
8527  fi
8528done
8529  done
8530IFS=$as_save_IFS
8531
8532fi
8533fi
8534ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8535if test -n "$ac_ct_OTOOL"; then
8536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8537$as_echo "$ac_ct_OTOOL" >&6; }
8538else
8539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8540$as_echo "no" >&6; }
8541fi
8542
8543  if test "x$ac_ct_OTOOL" = x; then
8544    OTOOL=":"
8545  else
8546    case $cross_compiling:$ac_tool_warned in
8547yes:)
8548{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8549$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8550ac_tool_warned=yes ;;
8551esac
8552    OTOOL=$ac_ct_OTOOL
8553  fi
8554else
8555  OTOOL="$ac_cv_prog_OTOOL"
8556fi
8557
8558    if test -n "$ac_tool_prefix"; then
8559  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8560set dummy ${ac_tool_prefix}otool64; ac_word=$2
8561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8562$as_echo_n "checking for $ac_word... " >&6; }
8563if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8564  $as_echo_n "(cached) " >&6
8565else
8566  if test -n "$OTOOL64"; then
8567  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8568else
8569as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8570for as_dir in $PATH
8571do
8572  IFS=$as_save_IFS
8573  test -z "$as_dir" && as_dir=.
8574    for ac_exec_ext in '' $ac_executable_extensions; do
8575  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8576    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8577    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8578    break 2
8579  fi
8580done
8581  done
8582IFS=$as_save_IFS
8583
8584fi
8585fi
8586OTOOL64=$ac_cv_prog_OTOOL64
8587if test -n "$OTOOL64"; then
8588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8589$as_echo "$OTOOL64" >&6; }
8590else
8591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8592$as_echo "no" >&6; }
8593fi
8594
8595
8596fi
8597if test -z "$ac_cv_prog_OTOOL64"; then
8598  ac_ct_OTOOL64=$OTOOL64
8599  # Extract the first word of "otool64", so it can be a program name with args.
8600set dummy otool64; ac_word=$2
8601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8602$as_echo_n "checking for $ac_word... " >&6; }
8603if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8604  $as_echo_n "(cached) " >&6
8605else
8606  if test -n "$ac_ct_OTOOL64"; then
8607  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8608else
8609as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8610for as_dir in $PATH
8611do
8612  IFS=$as_save_IFS
8613  test -z "$as_dir" && as_dir=.
8614    for ac_exec_ext in '' $ac_executable_extensions; do
8615  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8616    ac_cv_prog_ac_ct_OTOOL64="otool64"
8617    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8618    break 2
8619  fi
8620done
8621  done
8622IFS=$as_save_IFS
8623
8624fi
8625fi
8626ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8627if test -n "$ac_ct_OTOOL64"; then
8628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8629$as_echo "$ac_ct_OTOOL64" >&6; }
8630else
8631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8632$as_echo "no" >&6; }
8633fi
8634
8635  if test "x$ac_ct_OTOOL64" = x; then
8636    OTOOL64=":"
8637  else
8638    case $cross_compiling:$ac_tool_warned in
8639yes:)
8640{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8641$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8642ac_tool_warned=yes ;;
8643esac
8644    OTOOL64=$ac_ct_OTOOL64
8645  fi
8646else
8647  OTOOL64="$ac_cv_prog_OTOOL64"
8648fi
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8677$as_echo_n "checking for -single_module linker flag... " >&6; }
8678if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8679  $as_echo_n "(cached) " >&6
8680else
8681  lt_cv_apple_cc_single_mod=no
8682      if test -z "${LT_MULTI_MODULE}"; then
8683	# By default we will add the -single_module flag. You can override
8684	# by either setting the environment variable LT_MULTI_MODULE
8685	# non-empty at configure time, or by adding -multi_module to the
8686	# link flags.
8687	rm -rf libconftest.dylib*
8688	echo "int foo(void){return 1;}" > conftest.c
8689	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8690-dynamiclib -Wl,-single_module conftest.c" >&5
8691	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8692	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8693        _lt_result=$?
8694	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8695	  lt_cv_apple_cc_single_mod=yes
8696	else
8697	  cat conftest.err >&5
8698	fi
8699	rm -rf libconftest.dylib*
8700	rm -f conftest.*
8701      fi
8702fi
8703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8704$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8705    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8706$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8707if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8708  $as_echo_n "(cached) " >&6
8709else
8710  lt_cv_ld_exported_symbols_list=no
8711      save_LDFLAGS=$LDFLAGS
8712      echo "_main" > conftest.sym
8713      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8714      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8715/* end confdefs.h.  */
8716
8717int
8718main ()
8719{
8720
8721  ;
8722  return 0;
8723}
8724_ACEOF
8725if ac_fn_c_try_link "$LINENO"; then :
8726  lt_cv_ld_exported_symbols_list=yes
8727else
8728  lt_cv_ld_exported_symbols_list=no
8729fi
8730rm -f core conftest.err conftest.$ac_objext \
8731    conftest$ac_exeext conftest.$ac_ext
8732	LDFLAGS="$save_LDFLAGS"
8733
8734fi
8735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8736$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8737    case $host_os in
8738    rhapsody* | darwin1.[012])
8739      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8740    darwin1.*)
8741      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8742    darwin*) # darwin 5.x on
8743      # if running on 10.5 or later, the deployment target defaults
8744      # to the OS version, if on x86, and 10.4, the deployment
8745      # target defaults to 10.4. Don't you love it?
8746      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8747	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8748	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8749	10.[012]*)
8750	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8751	10.*)
8752	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8753      esac
8754    ;;
8755  esac
8756    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8757      _lt_dar_single_mod='$single_module'
8758    fi
8759    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8760      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8761    else
8762      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8763    fi
8764    if test "$DSYMUTIL" != ":"; then
8765      _lt_dsymutil='~$DSYMUTIL $lib || :'
8766    else
8767      _lt_dsymutil=
8768    fi
8769    ;;
8770  esac
8771
8772for ac_header in dlfcn.h
8773do :
8774  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8775"
8776if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8777  cat >>confdefs.h <<_ACEOF
8778#define HAVE_DLFCN_H 1
8779_ACEOF
8780
8781fi
8782
8783done
8784
8785
8786
8787# Set options
8788
8789
8790
8791
8792  enable_win32_dll=no
8793
8794
8795            # Check whether --enable-shared was given.
8796if test "${enable_shared+set}" = set; then :
8797  enableval=$enable_shared; p=${PACKAGE-default}
8798    case $enableval in
8799    yes) enable_shared=yes ;;
8800    no) enable_shared=no ;;
8801    *)
8802      enable_shared=no
8803      # Look at the argument we got.  We use all the common list separators.
8804      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8805      for pkg in $enableval; do
8806	IFS="$lt_save_ifs"
8807	if test "X$pkg" = "X$p"; then
8808	  enable_shared=yes
8809	fi
8810      done
8811      IFS="$lt_save_ifs"
8812      ;;
8813    esac
8814else
8815  enable_shared=yes
8816fi
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828# Check whether --with-pic was given.
8829if test "${with_pic+set}" = set; then :
8830  withval=$with_pic; pic_mode="$withval"
8831else
8832  pic_mode=default
8833fi
8834
8835
8836test -z "$pic_mode" && pic_mode=default
8837
8838
8839
8840
8841
8842
8843
8844  # Check whether --enable-fast-install was given.
8845if test "${enable_fast_install+set}" = set; then :
8846  enableval=$enable_fast_install; p=${PACKAGE-default}
8847    case $enableval in
8848    yes) enable_fast_install=yes ;;
8849    no) enable_fast_install=no ;;
8850    *)
8851      enable_fast_install=no
8852      # Look at the argument we got.  We use all the common list separators.
8853      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8854      for pkg in $enableval; do
8855	IFS="$lt_save_ifs"
8856	if test "X$pkg" = "X$p"; then
8857	  enable_fast_install=yes
8858	fi
8859      done
8860      IFS="$lt_save_ifs"
8861      ;;
8862    esac
8863else
8864  enable_fast_install=yes
8865fi
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877# This can be used to rebuild libtool when needed
8878LIBTOOL_DEPS="$ltmain"
8879
8880# Always use our own libtool.
8881LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907test -z "$LN_S" && LN_S="ln -s"
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922if test -n "${ZSH_VERSION+set}" ; then
8923   setopt NO_GLOB_SUBST
8924fi
8925
8926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8927$as_echo_n "checking for objdir... " >&6; }
8928if test "${lt_cv_objdir+set}" = set; then :
8929  $as_echo_n "(cached) " >&6
8930else
8931  rm -f .libs 2>/dev/null
8932mkdir .libs 2>/dev/null
8933if test -d .libs; then
8934  lt_cv_objdir=.libs
8935else
8936  # MS-DOS does not allow filenames that begin with a dot.
8937  lt_cv_objdir=_libs
8938fi
8939rmdir .libs 2>/dev/null
8940fi
8941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8942$as_echo "$lt_cv_objdir" >&6; }
8943objdir=$lt_cv_objdir
8944
8945
8946
8947
8948
8949cat >>confdefs.h <<_ACEOF
8950#define LT_OBJDIR "$lt_cv_objdir/"
8951_ACEOF
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969case $host_os in
8970aix3*)
8971  # AIX sometimes has problems with the GCC collect2 program.  For some
8972  # reason, if we set the COLLECT_NAMES environment variable, the problems
8973  # vanish in a puff of smoke.
8974  if test "X${COLLECT_NAMES+set}" != Xset; then
8975    COLLECT_NAMES=
8976    export COLLECT_NAMES
8977  fi
8978  ;;
8979esac
8980
8981# Sed substitution that helps us do robust quoting.  It backslashifies
8982# metacharacters that are still active within double-quoted strings.
8983sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8984
8985# Same as above, but do not quote variable references.
8986double_quote_subst='s/\(["`\\]\)/\\\1/g'
8987
8988# Sed substitution to delay expansion of an escaped shell variable in a
8989# double_quote_subst'ed string.
8990delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8991
8992# Sed substitution to delay expansion of an escaped single quote.
8993delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8994
8995# Sed substitution to avoid accidental globbing in evaled expressions
8996no_glob_subst='s/\*/\\\*/g'
8997
8998# Global variables:
8999ofile=libtool
9000can_build_shared=yes
9001
9002# All known linkers require a `.a' archive for static linking (except MSVC,
9003# which needs '.lib').
9004libext=a
9005
9006with_gnu_ld="$lt_cv_prog_gnu_ld"
9007
9008old_CC="$CC"
9009old_CFLAGS="$CFLAGS"
9010
9011# Set sane defaults for various variables
9012test -z "$CC" && CC=cc
9013test -z "$LTCC" && LTCC=$CC
9014test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9015test -z "$LD" && LD=ld
9016test -z "$ac_objext" && ac_objext=o
9017
9018for cc_temp in $compiler""; do
9019  case $cc_temp in
9020    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9021    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9022    \-*) ;;
9023    *) break;;
9024  esac
9025done
9026cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9027
9028
9029# Only perform the check for file, if the check method requires it
9030test -z "$MAGIC_CMD" && MAGIC_CMD=file
9031case $deplibs_check_method in
9032file_magic*)
9033  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9034    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9035$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9036if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9037  $as_echo_n "(cached) " >&6
9038else
9039  case $MAGIC_CMD in
9040[\\/*] |  ?:[\\/]*)
9041  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9042  ;;
9043*)
9044  lt_save_MAGIC_CMD="$MAGIC_CMD"
9045  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9046  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9047  for ac_dir in $ac_dummy; do
9048    IFS="$lt_save_ifs"
9049    test -z "$ac_dir" && ac_dir=.
9050    if test -f $ac_dir/${ac_tool_prefix}file; then
9051      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9052      if test -n "$file_magic_test_file"; then
9053	case $deplibs_check_method in
9054	"file_magic "*)
9055	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9056	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9057	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9058	    $EGREP "$file_magic_regex" > /dev/null; then
9059	    :
9060	  else
9061	    cat <<_LT_EOF 1>&2
9062
9063*** Warning: the command libtool uses to detect shared libraries,
9064*** $file_magic_cmd, produces output that libtool cannot recognize.
9065*** The result is that libtool may fail to recognize shared libraries
9066*** as such.  This will affect the creation of libtool libraries that
9067*** depend on shared libraries, but programs linked with such libtool
9068*** libraries will work regardless of this problem.  Nevertheless, you
9069*** may want to report the problem to your system manager and/or to
9070*** bug-libtool@gnu.org
9071
9072_LT_EOF
9073	  fi ;;
9074	esac
9075      fi
9076      break
9077    fi
9078  done
9079  IFS="$lt_save_ifs"
9080  MAGIC_CMD="$lt_save_MAGIC_CMD"
9081  ;;
9082esac
9083fi
9084
9085MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9086if test -n "$MAGIC_CMD"; then
9087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9088$as_echo "$MAGIC_CMD" >&6; }
9089else
9090  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9091$as_echo "no" >&6; }
9092fi
9093
9094
9095
9096
9097
9098if test -z "$lt_cv_path_MAGIC_CMD"; then
9099  if test -n "$ac_tool_prefix"; then
9100    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9101$as_echo_n "checking for file... " >&6; }
9102if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9103  $as_echo_n "(cached) " >&6
9104else
9105  case $MAGIC_CMD in
9106[\\/*] |  ?:[\\/]*)
9107  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9108  ;;
9109*)
9110  lt_save_MAGIC_CMD="$MAGIC_CMD"
9111  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9112  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9113  for ac_dir in $ac_dummy; do
9114    IFS="$lt_save_ifs"
9115    test -z "$ac_dir" && ac_dir=.
9116    if test -f $ac_dir/file; then
9117      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9118      if test -n "$file_magic_test_file"; then
9119	case $deplibs_check_method in
9120	"file_magic "*)
9121	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9122	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9123	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9124	    $EGREP "$file_magic_regex" > /dev/null; then
9125	    :
9126	  else
9127	    cat <<_LT_EOF 1>&2
9128
9129*** Warning: the command libtool uses to detect shared libraries,
9130*** $file_magic_cmd, produces output that libtool cannot recognize.
9131*** The result is that libtool may fail to recognize shared libraries
9132*** as such.  This will affect the creation of libtool libraries that
9133*** depend on shared libraries, but programs linked with such libtool
9134*** libraries will work regardless of this problem.  Nevertheless, you
9135*** may want to report the problem to your system manager and/or to
9136*** bug-libtool@gnu.org
9137
9138_LT_EOF
9139	  fi ;;
9140	esac
9141      fi
9142      break
9143    fi
9144  done
9145  IFS="$lt_save_ifs"
9146  MAGIC_CMD="$lt_save_MAGIC_CMD"
9147  ;;
9148esac
9149fi
9150
9151MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9152if test -n "$MAGIC_CMD"; then
9153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9154$as_echo "$MAGIC_CMD" >&6; }
9155else
9156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9157$as_echo "no" >&6; }
9158fi
9159
9160
9161  else
9162    MAGIC_CMD=:
9163  fi
9164fi
9165
9166  fi
9167  ;;
9168esac
9169
9170# Use C for the default configuration in the libtool script
9171
9172lt_save_CC="$CC"
9173ac_ext=c
9174ac_cpp='$CPP $CPPFLAGS'
9175ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9176ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9177ac_compiler_gnu=$ac_cv_c_compiler_gnu
9178
9179
9180# Source file extension for C test sources.
9181ac_ext=c
9182
9183# Object file extension for compiled C test sources.
9184objext=o
9185objext=$objext
9186
9187# Code to be used in simple compile tests
9188lt_simple_compile_test_code="int some_variable = 0;"
9189
9190# Code to be used in simple link tests
9191lt_simple_link_test_code='int main(){return(0);}'
9192
9193
9194
9195
9196
9197
9198
9199# If no C compiler was specified, use CC.
9200LTCC=${LTCC-"$CC"}
9201
9202# If no C compiler flags were specified, use CFLAGS.
9203LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9204
9205# Allow CC to be a program name with arguments.
9206compiler=$CC
9207
9208# Save the default compiler, since it gets overwritten when the other
9209# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9210compiler_DEFAULT=$CC
9211
9212# save warnings/boilerplate of simple test code
9213ac_outfile=conftest.$ac_objext
9214echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9215eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9216_lt_compiler_boilerplate=`cat conftest.err`
9217$RM conftest*
9218
9219ac_outfile=conftest.$ac_objext
9220echo "$lt_simple_link_test_code" >conftest.$ac_ext
9221eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9222_lt_linker_boilerplate=`cat conftest.err`
9223$RM -r conftest*
9224
9225
9226if test -n "$compiler"; then
9227
9228lt_prog_compiler_no_builtin_flag=
9229
9230if test "$GCC" = yes; then
9231  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9232
9233  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9234$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9235if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9236  $as_echo_n "(cached) " >&6
9237else
9238  lt_cv_prog_compiler_rtti_exceptions=no
9239   ac_outfile=conftest.$ac_objext
9240   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9241   lt_compiler_flag="-fno-rtti -fno-exceptions"
9242   # Insert the option either (1) after the last *FLAGS variable, or
9243   # (2) before a word containing "conftest.", or (3) at the end.
9244   # Note that $ac_compile itself does not contain backslashes and begins
9245   # with a dollar sign (not a hyphen), so the echo should work correctly.
9246   # The option is referenced via a variable to avoid confusing sed.
9247   lt_compile=`echo "$ac_compile" | $SED \
9248   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9249   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9250   -e 's:$: $lt_compiler_flag:'`
9251   (eval echo "\"\$as_me:9251: $lt_compile\"" >&5)
9252   (eval "$lt_compile" 2>conftest.err)
9253   ac_status=$?
9254   cat conftest.err >&5
9255   echo "$as_me:9255: \$? = $ac_status" >&5
9256   if (exit $ac_status) && test -s "$ac_outfile"; then
9257     # The compiler can only warn and ignore the option if not recognized
9258     # So say no if there are warnings other than the usual output.
9259     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9260     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9261     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9262       lt_cv_prog_compiler_rtti_exceptions=yes
9263     fi
9264   fi
9265   $RM conftest*
9266
9267fi
9268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9269$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9270
9271if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9272    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9273else
9274    :
9275fi
9276
9277fi
9278
9279
9280
9281
9282
9283
9284  lt_prog_compiler_wl=
9285lt_prog_compiler_pic=
9286lt_prog_compiler_static=
9287
9288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9289$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9290
9291  if test "$GCC" = yes; then
9292    lt_prog_compiler_wl='-Wl,'
9293    lt_prog_compiler_static='-static'
9294
9295    case $host_os in
9296      aix*)
9297      # All AIX code is PIC.
9298      if test "$host_cpu" = ia64; then
9299	# AIX 5 now supports IA64 processor
9300	lt_prog_compiler_static='-Bstatic'
9301      fi
9302      ;;
9303
9304    amigaos*)
9305      case $host_cpu in
9306      powerpc)
9307            # see comment about AmigaOS4 .so support
9308            lt_prog_compiler_pic='-fPIC'
9309        ;;
9310      m68k)
9311            # FIXME: we need at least 68020 code to build shared libraries, but
9312            # adding the `-m68020' flag to GCC prevents building anything better,
9313            # like `-m68040'.
9314            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9315        ;;
9316      esac
9317      ;;
9318
9319    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9320      # PIC is the default for these OSes.
9321      ;;
9322
9323    mingw* | cygwin* | pw32* | os2* | cegcc*)
9324      # This hack is so that the source file can tell whether it is being
9325      # built for inclusion in a dll (and should export symbols for example).
9326      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9327      # (--disable-auto-import) libraries
9328      lt_prog_compiler_pic='-DDLL_EXPORT'
9329      ;;
9330
9331    darwin* | rhapsody*)
9332      # PIC is the default on this platform
9333      # Common symbols not allowed in MH_DYLIB files
9334      lt_prog_compiler_pic='-fno-common'
9335      ;;
9336
9337    hpux*)
9338      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9339      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9340      # sets the default TLS model and affects inlining.
9341      case $host_cpu in
9342      hppa*64*)
9343	# +Z the default
9344	;;
9345      *)
9346	lt_prog_compiler_pic='-fPIC'
9347	;;
9348      esac
9349      ;;
9350
9351    interix[3-9]*)
9352      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9353      # Instead, we relocate shared libraries at runtime.
9354      ;;
9355
9356    msdosdjgpp*)
9357      # Just because we use GCC doesn't mean we suddenly get shared libraries
9358      # on systems that don't support them.
9359      lt_prog_compiler_can_build_shared=no
9360      enable_shared=no
9361      ;;
9362
9363    *nto* | *qnx*)
9364      # QNX uses GNU C++, but need to define -shared option too, otherwise
9365      # it will coredump.
9366      lt_prog_compiler_pic='-fPIC -shared'
9367      ;;
9368
9369    sysv4*MP*)
9370      if test -d /usr/nec; then
9371	lt_prog_compiler_pic=-Kconform_pic
9372      fi
9373      ;;
9374
9375    *)
9376      lt_prog_compiler_pic='-fPIC'
9377      ;;
9378    esac
9379  else
9380    # PORTME Check for flag to pass linker flags through the system compiler.
9381    case $host_os in
9382    aix*)
9383      lt_prog_compiler_wl='-Wl,'
9384      if test "$host_cpu" = ia64; then
9385	# AIX 5 now supports IA64 processor
9386	lt_prog_compiler_static='-Bstatic'
9387      else
9388	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9389      fi
9390      ;;
9391
9392    mingw* | cygwin* | pw32* | os2* | cegcc*)
9393      # This hack is so that the source file can tell whether it is being
9394      # built for inclusion in a dll (and should export symbols for example).
9395      lt_prog_compiler_pic='-DDLL_EXPORT'
9396      ;;
9397
9398    hpux9* | hpux10* | hpux11*)
9399      lt_prog_compiler_wl='-Wl,'
9400      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9401      # not for PA HP-UX.
9402      case $host_cpu in
9403      hppa*64*|ia64*)
9404	# +Z the default
9405	;;
9406      *)
9407	lt_prog_compiler_pic='+Z'
9408	;;
9409      esac
9410      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9411      lt_prog_compiler_static='${wl}-a ${wl}archive'
9412      ;;
9413
9414    irix5* | irix6* | nonstopux*)
9415      lt_prog_compiler_wl='-Wl,'
9416      # PIC (with -KPIC) is the default.
9417      lt_prog_compiler_static='-non_shared'
9418      ;;
9419
9420    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9421      case $cc_basename in
9422      # old Intel for x86_64 which still supported -KPIC.
9423      ecc*)
9424	lt_prog_compiler_wl='-Wl,'
9425	lt_prog_compiler_pic='-KPIC'
9426	lt_prog_compiler_static='-static'
9427        ;;
9428      # icc used to be incompatible with GCC.
9429      # ICC 10 doesn't accept -KPIC any more.
9430      icc* | ifort*)
9431	lt_prog_compiler_wl='-Wl,'
9432	lt_prog_compiler_pic='-fPIC'
9433	lt_prog_compiler_static='-static'
9434        ;;
9435      # Lahey Fortran 8.1.
9436      lf95*)
9437	lt_prog_compiler_wl='-Wl,'
9438	lt_prog_compiler_pic='--shared'
9439	lt_prog_compiler_static='--static'
9440	;;
9441      pgcc* | pgf77* | pgf90* | pgf95*)
9442        # Portland Group compilers (*not* the Pentium gcc compiler,
9443	# which looks to be a dead project)
9444	lt_prog_compiler_wl='-Wl,'
9445	lt_prog_compiler_pic='-fpic'
9446	lt_prog_compiler_static='-Bstatic'
9447        ;;
9448      ccc*)
9449        lt_prog_compiler_wl='-Wl,'
9450        # All Alpha code is PIC.
9451        lt_prog_compiler_static='-non_shared'
9452        ;;
9453      xl*)
9454	# IBM XL C 8.0/Fortran 10.1 on PPC
9455	lt_prog_compiler_wl='-Wl,'
9456	lt_prog_compiler_pic='-qpic'
9457	lt_prog_compiler_static='-qstaticlink'
9458	;;
9459      *)
9460	case `$CC -V 2>&1 | sed 5q` in
9461	*Sun\ C*)
9462	  # Sun C 5.9
9463	  lt_prog_compiler_pic='-KPIC'
9464	  lt_prog_compiler_static='-Bstatic'
9465	  lt_prog_compiler_wl='-Wl,'
9466	  ;;
9467	*Sun\ F*)
9468	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9469	  lt_prog_compiler_pic='-KPIC'
9470	  lt_prog_compiler_static='-Bstatic'
9471	  lt_prog_compiler_wl=''
9472	  ;;
9473	esac
9474	;;
9475      esac
9476      ;;
9477
9478    newsos6)
9479      lt_prog_compiler_pic='-KPIC'
9480      lt_prog_compiler_static='-Bstatic'
9481      ;;
9482
9483    *nto* | *qnx*)
9484      # QNX uses GNU C++, but need to define -shared option too, otherwise
9485      # it will coredump.
9486      lt_prog_compiler_pic='-fPIC -shared'
9487      ;;
9488
9489    osf3* | osf4* | osf5*)
9490      lt_prog_compiler_wl='-Wl,'
9491      # All OSF/1 code is PIC.
9492      lt_prog_compiler_static='-non_shared'
9493      ;;
9494
9495    rdos*)
9496      lt_prog_compiler_static='-non_shared'
9497      ;;
9498
9499    solaris*)
9500      lt_prog_compiler_pic='-KPIC'
9501      lt_prog_compiler_static='-Bstatic'
9502      case $cc_basename in
9503      f77* | f90* | f95*)
9504	lt_prog_compiler_wl='-Qoption ld ';;
9505      *)
9506	lt_prog_compiler_wl='-Wl,';;
9507      esac
9508      ;;
9509
9510    sunos4*)
9511      lt_prog_compiler_wl='-Qoption ld '
9512      lt_prog_compiler_pic='-PIC'
9513      lt_prog_compiler_static='-Bstatic'
9514      ;;
9515
9516    sysv4 | sysv4.2uw2* | sysv4.3*)
9517      lt_prog_compiler_wl='-Wl,'
9518      lt_prog_compiler_pic='-KPIC'
9519      lt_prog_compiler_static='-Bstatic'
9520      ;;
9521
9522    sysv4*MP*)
9523      if test -d /usr/nec ;then
9524	lt_prog_compiler_pic='-Kconform_pic'
9525	lt_prog_compiler_static='-Bstatic'
9526      fi
9527      ;;
9528
9529    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9530      lt_prog_compiler_wl='-Wl,'
9531      lt_prog_compiler_pic='-KPIC'
9532      lt_prog_compiler_static='-Bstatic'
9533      ;;
9534
9535    unicos*)
9536      lt_prog_compiler_wl='-Wl,'
9537      lt_prog_compiler_can_build_shared=no
9538      ;;
9539
9540    uts4*)
9541      lt_prog_compiler_pic='-pic'
9542      lt_prog_compiler_static='-Bstatic'
9543      ;;
9544
9545    *)
9546      lt_prog_compiler_can_build_shared=no
9547      ;;
9548    esac
9549  fi
9550
9551case $host_os in
9552  # For platforms which do not support PIC, -DPIC is meaningless:
9553  *djgpp*)
9554    lt_prog_compiler_pic=
9555    ;;
9556  *)
9557    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9558    ;;
9559esac
9560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9561$as_echo "$lt_prog_compiler_pic" >&6; }
9562
9563
9564
9565
9566
9567
9568#
9569# Check to make sure the PIC flag actually works.
9570#
9571if test -n "$lt_prog_compiler_pic"; then
9572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9573$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9574if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9575  $as_echo_n "(cached) " >&6
9576else
9577  lt_cv_prog_compiler_pic_works=no
9578   ac_outfile=conftest.$ac_objext
9579   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9580   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9581   # Insert the option either (1) after the last *FLAGS variable, or
9582   # (2) before a word containing "conftest.", or (3) at the end.
9583   # Note that $ac_compile itself does not contain backslashes and begins
9584   # with a dollar sign (not a hyphen), so the echo should work correctly.
9585   # The option is referenced via a variable to avoid confusing sed.
9586   lt_compile=`echo "$ac_compile" | $SED \
9587   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9588   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9589   -e 's:$: $lt_compiler_flag:'`
9590   (eval echo "\"\$as_me:9590: $lt_compile\"" >&5)
9591   (eval "$lt_compile" 2>conftest.err)
9592   ac_status=$?
9593   cat conftest.err >&5
9594   echo "$as_me:9594: \$? = $ac_status" >&5
9595   if (exit $ac_status) && test -s "$ac_outfile"; then
9596     # The compiler can only warn and ignore the option if not recognized
9597     # So say no if there are warnings other than the usual output.
9598     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9599     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9600     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9601       lt_cv_prog_compiler_pic_works=yes
9602     fi
9603   fi
9604   $RM conftest*
9605
9606fi
9607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9608$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9609
9610if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9611    case $lt_prog_compiler_pic in
9612     "" | " "*) ;;
9613     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9614     esac
9615else
9616    lt_prog_compiler_pic=
9617     lt_prog_compiler_can_build_shared=no
9618fi
9619
9620fi
9621
9622
9623
9624
9625
9626
9627#
9628# Check to make sure the static flag actually works.
9629#
9630wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9632$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9633if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9634  $as_echo_n "(cached) " >&6
9635else
9636  lt_cv_prog_compiler_static_works=no
9637   save_LDFLAGS="$LDFLAGS"
9638   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9639   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9640   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9641     # The linker can only warn and ignore the option if not recognized
9642     # So say no if there are warnings
9643     if test -s conftest.err; then
9644       # Append any errors to the config.log.
9645       cat conftest.err 1>&5
9646       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9647       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9648       if diff conftest.exp conftest.er2 >/dev/null; then
9649         lt_cv_prog_compiler_static_works=yes
9650       fi
9651     else
9652       lt_cv_prog_compiler_static_works=yes
9653     fi
9654   fi
9655   $RM -r conftest*
9656   LDFLAGS="$save_LDFLAGS"
9657
9658fi
9659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9660$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9661
9662if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9663    :
9664else
9665    lt_prog_compiler_static=
9666fi
9667
9668
9669
9670
9671
9672
9673
9674  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9675$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9676if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9677  $as_echo_n "(cached) " >&6
9678else
9679  lt_cv_prog_compiler_c_o=no
9680   $RM -r conftest 2>/dev/null
9681   mkdir conftest
9682   cd conftest
9683   mkdir out
9684   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9685
9686   lt_compiler_flag="-o out/conftest2.$ac_objext"
9687   # Insert the option either (1) after the last *FLAGS variable, or
9688   # (2) before a word containing "conftest.", or (3) at the end.
9689   # Note that $ac_compile itself does not contain backslashes and begins
9690   # with a dollar sign (not a hyphen), so the echo should work correctly.
9691   lt_compile=`echo "$ac_compile" | $SED \
9692   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9693   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9694   -e 's:$: $lt_compiler_flag:'`
9695   (eval echo "\"\$as_me:9695: $lt_compile\"" >&5)
9696   (eval "$lt_compile" 2>out/conftest.err)
9697   ac_status=$?
9698   cat out/conftest.err >&5
9699   echo "$as_me:9699: \$? = $ac_status" >&5
9700   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9701   then
9702     # The compiler can only warn and ignore the option if not recognized
9703     # So say no if there are warnings
9704     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9705     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9706     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9707       lt_cv_prog_compiler_c_o=yes
9708     fi
9709   fi
9710   chmod u+w . 2>&5
9711   $RM conftest*
9712   # SGI C++ compiler will create directory out/ii_files/ for
9713   # template instantiation
9714   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9715   $RM out/* && rmdir out
9716   cd ..
9717   $RM -r conftest
9718   $RM conftest*
9719
9720fi
9721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9722$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9723
9724
9725
9726
9727
9728
9729  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9730$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9731if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9732  $as_echo_n "(cached) " >&6
9733else
9734  lt_cv_prog_compiler_c_o=no
9735   $RM -r conftest 2>/dev/null
9736   mkdir conftest
9737   cd conftest
9738   mkdir out
9739   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9740
9741   lt_compiler_flag="-o out/conftest2.$ac_objext"
9742   # Insert the option either (1) after the last *FLAGS variable, or
9743   # (2) before a word containing "conftest.", or (3) at the end.
9744   # Note that $ac_compile itself does not contain backslashes and begins
9745   # with a dollar sign (not a hyphen), so the echo should work correctly.
9746   lt_compile=`echo "$ac_compile" | $SED \
9747   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9748   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9749   -e 's:$: $lt_compiler_flag:'`
9750   (eval echo "\"\$as_me:9750: $lt_compile\"" >&5)
9751   (eval "$lt_compile" 2>out/conftest.err)
9752   ac_status=$?
9753   cat out/conftest.err >&5
9754   echo "$as_me:9754: \$? = $ac_status" >&5
9755   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9756   then
9757     # The compiler can only warn and ignore the option if not recognized
9758     # So say no if there are warnings
9759     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9760     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9761     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9762       lt_cv_prog_compiler_c_o=yes
9763     fi
9764   fi
9765   chmod u+w . 2>&5
9766   $RM conftest*
9767   # SGI C++ compiler will create directory out/ii_files/ for
9768   # template instantiation
9769   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9770   $RM out/* && rmdir out
9771   cd ..
9772   $RM -r conftest
9773   $RM conftest*
9774
9775fi
9776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9777$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9778
9779
9780
9781
9782hard_links="nottested"
9783if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9784  # do not overwrite the value of need_locks provided by the user
9785  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9786$as_echo_n "checking if we can lock with hard links... " >&6; }
9787  hard_links=yes
9788  $RM conftest*
9789  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9790  touch conftest.a
9791  ln conftest.a conftest.b 2>&5 || hard_links=no
9792  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9794$as_echo "$hard_links" >&6; }
9795  if test "$hard_links" = no; then
9796    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9797$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9798    need_locks=warn
9799  fi
9800else
9801  need_locks=no
9802fi
9803
9804
9805
9806
9807
9808
9809  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9810$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9811
9812  runpath_var=
9813  allow_undefined_flag=
9814  always_export_symbols=no
9815  archive_cmds=
9816  archive_expsym_cmds=
9817  compiler_needs_object=no
9818  enable_shared_with_static_runtimes=no
9819  export_dynamic_flag_spec=
9820  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9821  hardcode_automatic=no
9822  hardcode_direct=no
9823  hardcode_direct_absolute=no
9824  hardcode_libdir_flag_spec=
9825  hardcode_libdir_flag_spec_ld=
9826  hardcode_libdir_separator=
9827  hardcode_minus_L=no
9828  hardcode_shlibpath_var=unsupported
9829  inherit_rpath=no
9830  link_all_deplibs=unknown
9831  module_cmds=
9832  module_expsym_cmds=
9833  old_archive_from_new_cmds=
9834  old_archive_from_expsyms_cmds=
9835  thread_safe_flag_spec=
9836  whole_archive_flag_spec=
9837  # include_expsyms should be a list of space-separated symbols to be *always*
9838  # included in the symbol list
9839  include_expsyms=
9840  # exclude_expsyms can be an extended regexp of symbols to exclude
9841  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9842  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9843  # as well as any symbol that contains `d'.
9844  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9845  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9846  # platforms (ab)use it in PIC code, but their linkers get confused if
9847  # the symbol is explicitly referenced.  Since portable code cannot
9848  # rely on this symbol name, it's probably fine to never include it in
9849  # preloaded symbol tables.
9850  # Exclude shared library initialization/finalization symbols.
9851  extract_expsyms_cmds=
9852
9853  case $host_os in
9854  cygwin* | mingw* | pw32* | cegcc*)
9855    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9856    # When not using gcc, we currently assume that we are using
9857    # Microsoft Visual C++.
9858    if test "$GCC" != yes; then
9859      with_gnu_ld=no
9860    fi
9861    ;;
9862  interix*)
9863    # we just hope/assume this is gcc and not c89 (= MSVC++)
9864    with_gnu_ld=yes
9865    ;;
9866  openbsd*)
9867    with_gnu_ld=no
9868    ;;
9869  linux* | k*bsd*-gnu)
9870    link_all_deplibs=no
9871    ;;
9872  esac
9873
9874  ld_shlibs=yes
9875  if test "$with_gnu_ld" = yes; then
9876    # If archive_cmds runs LD, not CC, wlarc should be empty
9877    wlarc='${wl}'
9878
9879    # Set some defaults for GNU ld with shared library support. These
9880    # are reset later if shared libraries are not supported. Putting them
9881    # here allows them to be overridden if necessary.
9882    runpath_var=LD_RUN_PATH
9883    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9884    export_dynamic_flag_spec='${wl}--export-dynamic'
9885    # ancient GNU ld didn't support --whole-archive et. al.
9886    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9887      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9888    else
9889      whole_archive_flag_spec=
9890    fi
9891    supports_anon_versioning=no
9892    case `$LD -v 2>&1` in
9893      *GNU\ gold*) supports_anon_versioning=yes ;;
9894      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9895      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9896      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9897      *\ 2.11.*) ;; # other 2.11 versions
9898      *) supports_anon_versioning=yes ;;
9899    esac
9900
9901    # See if GNU ld supports shared libraries.
9902    case $host_os in
9903    aix[3-9]*)
9904      # On AIX/PPC, the GNU linker is very broken
9905      if test "$host_cpu" != ia64; then
9906	ld_shlibs=no
9907	cat <<_LT_EOF 1>&2
9908
9909*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9910*** to be unable to reliably create shared libraries on AIX.
9911*** Therefore, libtool is disabling shared libraries support.  If you
9912*** really care for shared libraries, you may want to modify your PATH
9913*** so that a non-GNU linker is found, and then restart.
9914
9915_LT_EOF
9916      fi
9917      ;;
9918
9919    amigaos*)
9920      case $host_cpu in
9921      powerpc)
9922            # see comment about AmigaOS4 .so support
9923            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9924            archive_expsym_cmds=''
9925        ;;
9926      m68k)
9927            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)'
9928            hardcode_libdir_flag_spec='-L$libdir'
9929            hardcode_minus_L=yes
9930        ;;
9931      esac
9932      ;;
9933
9934    beos*)
9935      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9936	allow_undefined_flag=unsupported
9937	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9938	# support --undefined.  This deserves some investigation.  FIXME
9939	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9940      else
9941	ld_shlibs=no
9942      fi
9943      ;;
9944
9945    cygwin* | mingw* | pw32* | cegcc*)
9946      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9947      # as there is no search path for DLLs.
9948      hardcode_libdir_flag_spec='-L$libdir'
9949      allow_undefined_flag=unsupported
9950      always_export_symbols=no
9951      enable_shared_with_static_runtimes=yes
9952      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9953
9954      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9955        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9956	# If the export-symbols file already is a .def file (1st line
9957	# is EXPORTS), use it as is; otherwise, prepend...
9958	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9959	  cp $export_symbols $output_objdir/$soname.def;
9960	else
9961	  echo EXPORTS > $output_objdir/$soname.def;
9962	  cat $export_symbols >> $output_objdir/$soname.def;
9963	fi~
9964	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9965      else
9966	ld_shlibs=no
9967      fi
9968      ;;
9969
9970    interix[3-9]*)
9971      hardcode_direct=no
9972      hardcode_shlibpath_var=no
9973      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9974      export_dynamic_flag_spec='${wl}-E'
9975      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9976      # Instead, shared libraries are loaded at an image base (0x10000000 by
9977      # default) and relocated if they conflict, which is a slow very memory
9978      # consuming and fragmenting process.  To avoid this, we pick a random,
9979      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9980      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9981      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9982      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'
9983      ;;
9984
9985    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9986      tmp_diet=no
9987      if test "$host_os" = linux-dietlibc; then
9988	case $cc_basename in
9989	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9990	esac
9991      fi
9992      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9993	 && test "$tmp_diet" = no
9994      then
9995	tmp_addflag=
9996	tmp_sharedflag='-shared'
9997	case $cc_basename,$host_cpu in
9998        pgcc*)				# Portland Group C compiler
9999	  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'
10000	  tmp_addflag=' $pic_flag'
10001	  ;;
10002	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
10003	  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'
10004	  tmp_addflag=' $pic_flag -Mnomain' ;;
10005	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10006	  tmp_addflag=' -i_dynamic' ;;
10007	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10008	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10009	ifc* | ifort*)			# Intel Fortran compiler
10010	  tmp_addflag=' -nofor_main' ;;
10011	lf95*)				# Lahey Fortran 8.1
10012	  whole_archive_flag_spec=
10013	  tmp_sharedflag='--shared' ;;
10014	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
10015	  tmp_sharedflag='-qmkshrobj'
10016	  tmp_addflag= ;;
10017	esac
10018	case `$CC -V 2>&1 | sed 5q` in
10019	*Sun\ C*)			# Sun C 5.9
10020	  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'
10021	  compiler_needs_object=yes
10022	  tmp_sharedflag='-G' ;;
10023	*Sun\ F*)			# Sun Fortran 8.3
10024	  tmp_sharedflag='-G' ;;
10025	esac
10026	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10027
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	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10033        fi
10034
10035	case $cc_basename in
10036	xlf*)
10037	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10038	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10039	  hardcode_libdir_flag_spec=
10040	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
10041	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10042	  if test "x$supports_anon_versioning" = xyes; then
10043	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10044	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10045	      echo "local: *; };" >> $output_objdir/$libname.ver~
10046	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10047	  fi
10048	  ;;
10049	esac
10050      else
10051        ld_shlibs=no
10052      fi
10053      ;;
10054
10055    netbsd* | netbsdelf*-gnu)
10056      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10057	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10058	wlarc=
10059      else
10060	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10061	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10062      fi
10063      ;;
10064
10065    solaris*)
10066      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10067	ld_shlibs=no
10068	cat <<_LT_EOF 1>&2
10069
10070*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10071*** create shared libraries on Solaris systems.  Therefore, libtool
10072*** is disabling shared libraries support.  We urge you to upgrade GNU
10073*** binutils to release 2.9.1 or newer.  Another option is to modify
10074*** your PATH or compiler configuration so that the native linker is
10075*** used, and then restart.
10076
10077_LT_EOF
10078      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10079	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10080	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10081      else
10082	ld_shlibs=no
10083      fi
10084      ;;
10085
10086    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10087      case `$LD -v 2>&1` in
10088        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10089	ld_shlibs=no
10090	cat <<_LT_EOF 1>&2
10091
10092*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10093*** reliably create shared libraries on SCO systems.  Therefore, libtool
10094*** is disabling shared libraries support.  We urge you to upgrade GNU
10095*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10096*** your PATH or compiler configuration so that the native linker is
10097*** used, and then restart.
10098
10099_LT_EOF
10100	;;
10101	*)
10102	  # For security reasons, it is highly recommended that you always
10103	  # use absolute paths for naming shared libraries, and exclude the
10104	  # DT_RUNPATH tag from executables and libraries.  But doing so
10105	  # requires that you compile everything twice, which is a pain.
10106	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10107	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10108	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10109	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10110	  else
10111	    ld_shlibs=no
10112	  fi
10113	;;
10114      esac
10115      ;;
10116
10117    sunos4*)
10118      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10119      wlarc=
10120      hardcode_direct=yes
10121      hardcode_shlibpath_var=no
10122      ;;
10123
10124    *)
10125      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10126	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10127	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10128      else
10129	ld_shlibs=no
10130      fi
10131      ;;
10132    esac
10133
10134    if test "$ld_shlibs" = no; then
10135      runpath_var=
10136      hardcode_libdir_flag_spec=
10137      export_dynamic_flag_spec=
10138      whole_archive_flag_spec=
10139    fi
10140  else
10141    # PORTME fill in a description of your system's linker (not GNU ld)
10142    case $host_os in
10143    aix3*)
10144      allow_undefined_flag=unsupported
10145      always_export_symbols=yes
10146      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'
10147      # Note: this linker hardcodes the directories in LIBPATH if there
10148      # are no directories specified by -L.
10149      hardcode_minus_L=yes
10150      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10151	# Neither direct hardcoding nor static linking is supported with a
10152	# broken collect2.
10153	hardcode_direct=unsupported
10154      fi
10155      ;;
10156
10157    aix[4-9]*)
10158      if test "$host_cpu" = ia64; then
10159	# On IA64, the linker does run time linking by default, so we don't
10160	# have to do anything special.
10161	aix_use_runtimelinking=no
10162	exp_sym_flag='-Bexport'
10163	no_entry_flag=""
10164      else
10165	# If we're using GNU nm, then we don't want the "-C" option.
10166	# -C means demangle to AIX nm, but means don't demangle with GNU nm
10167	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10168	  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'
10169	else
10170	  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'
10171	fi
10172	aix_use_runtimelinking=no
10173
10174	# Test if we are trying to use run time linking or normal
10175	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10176	# need to do runtime linking.
10177	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10178	  for ld_flag in $LDFLAGS; do
10179	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10180	    aix_use_runtimelinking=yes
10181	    break
10182	  fi
10183	  done
10184	  ;;
10185	esac
10186
10187	exp_sym_flag='-bexport'
10188	no_entry_flag='-bnoentry'
10189      fi
10190
10191      # When large executables or shared objects are built, AIX ld can
10192      # have problems creating the table of contents.  If linking a library
10193      # or program results in "error TOC overflow" add -mminimal-toc to
10194      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10195      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10196
10197      archive_cmds=''
10198      hardcode_direct=yes
10199      hardcode_direct_absolute=yes
10200      hardcode_libdir_separator=':'
10201      link_all_deplibs=yes
10202      file_list_spec='${wl}-f,'
10203
10204      if test "$GCC" = yes; then
10205	case $host_os in aix4.[012]|aix4.[012].*)
10206	# We only want to do this on AIX 4.2 and lower, the check
10207	# below for broken collect2 doesn't work under 4.3+
10208	  collect2name=`${CC} -print-prog-name=collect2`
10209	  if test -f "$collect2name" &&
10210	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10211	  then
10212	  # We have reworked collect2
10213	  :
10214	  else
10215	  # We have old collect2
10216	  hardcode_direct=unsupported
10217	  # It fails to find uninstalled libraries when the uninstalled
10218	  # path is not listed in the libpath.  Setting hardcode_minus_L
10219	  # to unsupported forces relinking
10220	  hardcode_minus_L=yes
10221	  hardcode_libdir_flag_spec='-L$libdir'
10222	  hardcode_libdir_separator=
10223	  fi
10224	  ;;
10225	esac
10226	shared_flag='-shared'
10227	if test "$aix_use_runtimelinking" = yes; then
10228	  shared_flag="$shared_flag "'${wl}-G'
10229	fi
10230	link_all_deplibs=no
10231      else
10232	# not using gcc
10233	if test "$host_cpu" = ia64; then
10234	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10235	# chokes on -Wl,-G. The following line is correct:
10236	  shared_flag='-G'
10237	else
10238	  if test "$aix_use_runtimelinking" = yes; then
10239	    shared_flag='${wl}-G'
10240	  else
10241	    shared_flag='${wl}-bM:SRE'
10242	  fi
10243	fi
10244      fi
10245
10246      export_dynamic_flag_spec='${wl}-bexpall'
10247      # It seems that -bexpall does not export symbols beginning with
10248      # underscore (_), so it is better to generate a list of symbols to export.
10249      always_export_symbols=yes
10250      if test "$aix_use_runtimelinking" = yes; then
10251	# Warning - without using the other runtime loading flags (-brtl),
10252	# -berok will link without error, but may produce a broken library.
10253	allow_undefined_flag='-berok'
10254        # Determine the default libpath from the value encoded in an
10255        # empty executable.
10256        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257/* end confdefs.h.  */
10258
10259int
10260main ()
10261{
10262
10263  ;
10264  return 0;
10265}
10266_ACEOF
10267if ac_fn_c_try_link "$LINENO"; then :
10268
10269lt_aix_libpath_sed='
10270    /Import File Strings/,/^$/ {
10271	/^0/ {
10272	    s/^0  *\(.*\)$/\1/
10273	    p
10274	}
10275    }'
10276aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10277# Check for a 64-bit object if we didn't find anything.
10278if test -z "$aix_libpath"; then
10279  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10280fi
10281fi
10282rm -f core conftest.err conftest.$ac_objext \
10283    conftest$ac_exeext conftest.$ac_ext
10284if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10285
10286        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10287        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"
10288      else
10289	if test "$host_cpu" = ia64; then
10290	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10291	  allow_undefined_flag="-z nodefs"
10292	  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"
10293	else
10294	 # Determine the default libpath from the value encoded in an
10295	 # empty executable.
10296	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10297/* end confdefs.h.  */
10298
10299int
10300main ()
10301{
10302
10303  ;
10304  return 0;
10305}
10306_ACEOF
10307if ac_fn_c_try_link "$LINENO"; then :
10308
10309lt_aix_libpath_sed='
10310    /Import File Strings/,/^$/ {
10311	/^0/ {
10312	    s/^0  *\(.*\)$/\1/
10313	    p
10314	}
10315    }'
10316aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10317# Check for a 64-bit object if we didn't find anything.
10318if test -z "$aix_libpath"; then
10319  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10320fi
10321fi
10322rm -f core conftest.err conftest.$ac_objext \
10323    conftest$ac_exeext conftest.$ac_ext
10324if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10325
10326	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10327	  # Warning - without using the other run time loading flags,
10328	  # -berok will link without error, but may produce a broken library.
10329	  no_undefined_flag=' ${wl}-bernotok'
10330	  allow_undefined_flag=' ${wl}-berok'
10331	  # Exported symbols can be pulled into shared objects from archives
10332	  whole_archive_flag_spec='$convenience'
10333	  archive_cmds_need_lc=yes
10334	  # This is similar to how AIX traditionally builds its shared libraries.
10335	  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'
10336	fi
10337      fi
10338      ;;
10339
10340    amigaos*)
10341      case $host_cpu in
10342      powerpc)
10343            # see comment about AmigaOS4 .so support
10344            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10345            archive_expsym_cmds=''
10346        ;;
10347      m68k)
10348            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)'
10349            hardcode_libdir_flag_spec='-L$libdir'
10350            hardcode_minus_L=yes
10351        ;;
10352      esac
10353      ;;
10354
10355    bsdi[45]*)
10356      export_dynamic_flag_spec=-rdynamic
10357      ;;
10358
10359    cygwin* | mingw* | pw32* | cegcc*)
10360      # When not using gcc, we currently assume that we are using
10361      # Microsoft Visual C++.
10362      # hardcode_libdir_flag_spec is actually meaningless, as there is
10363      # no search path for DLLs.
10364      hardcode_libdir_flag_spec=' '
10365      allow_undefined_flag=unsupported
10366      # Tell ltmain to make .lib files, not .a files.
10367      libext=lib
10368      # Tell ltmain to make .dll files, not .so files.
10369      shrext_cmds=".dll"
10370      # FIXME: Setting linknames here is a bad hack.
10371      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10372      # The linker will automatically build a .lib file if we build a DLL.
10373      old_archive_from_new_cmds='true'
10374      # FIXME: Should let the user specify the lib program.
10375      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10376      fix_srcfile_path='`cygpath -w "$srcfile"`'
10377      enable_shared_with_static_runtimes=yes
10378      ;;
10379
10380    darwin* | rhapsody*)
10381
10382
10383  archive_cmds_need_lc=no
10384  hardcode_direct=no
10385  hardcode_automatic=yes
10386  hardcode_shlibpath_var=unsupported
10387  whole_archive_flag_spec=''
10388  link_all_deplibs=yes
10389  allow_undefined_flag="$_lt_dar_allow_undefined"
10390  case $cc_basename in
10391     ifort*) _lt_dar_can_shared=yes ;;
10392     *) _lt_dar_can_shared=$GCC ;;
10393  esac
10394  if test "$_lt_dar_can_shared" = "yes"; then
10395    output_verbose_link_cmd=echo
10396    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10397    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10398    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}"
10399    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}"
10400
10401  else
10402  ld_shlibs=no
10403  fi
10404
10405      ;;
10406
10407    dgux*)
10408      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10409      hardcode_libdir_flag_spec='-L$libdir'
10410      hardcode_shlibpath_var=no
10411      ;;
10412
10413    freebsd1*)
10414      ld_shlibs=no
10415      ;;
10416
10417    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10418    # support.  Future versions do this automatically, but an explicit c++rt0.o
10419    # does not break anything, and helps significantly (at the cost of a little
10420    # extra space).
10421    freebsd2.2*)
10422      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10423      hardcode_libdir_flag_spec='-R$libdir'
10424      hardcode_direct=yes
10425      hardcode_shlibpath_var=no
10426      ;;
10427
10428    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10429    freebsd2*)
10430      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10431      hardcode_direct=yes
10432      hardcode_minus_L=yes
10433      hardcode_shlibpath_var=no
10434      ;;
10435
10436    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10437    freebsd* | dragonfly*)
10438      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10439      hardcode_libdir_flag_spec='-R$libdir'
10440      hardcode_direct=yes
10441      hardcode_shlibpath_var=no
10442      ;;
10443
10444    hpux9*)
10445      if test "$GCC" = yes; then
10446	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'
10447      else
10448	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'
10449      fi
10450      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10451      hardcode_libdir_separator=:
10452      hardcode_direct=yes
10453
10454      # hardcode_minus_L: Not really in the search PATH,
10455      # but as the default location of the library.
10456      hardcode_minus_L=yes
10457      export_dynamic_flag_spec='${wl}-E'
10458      ;;
10459
10460    hpux10*)
10461      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10462	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10463      else
10464	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10465      fi
10466      if test "$with_gnu_ld" = no; then
10467	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10468	hardcode_libdir_flag_spec_ld='+b $libdir'
10469	hardcode_libdir_separator=:
10470	hardcode_direct=yes
10471	hardcode_direct_absolute=yes
10472	export_dynamic_flag_spec='${wl}-E'
10473	# hardcode_minus_L: Not really in the search PATH,
10474	# but as the default location of the library.
10475	hardcode_minus_L=yes
10476      fi
10477      ;;
10478
10479    hpux11*)
10480      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10481	case $host_cpu in
10482	hppa*64*)
10483	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10484	  ;;
10485	ia64*)
10486	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10487	  ;;
10488	*)
10489	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10490	  ;;
10491	esac
10492      else
10493	case $host_cpu in
10494	hppa*64*)
10495	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10496	  ;;
10497	ia64*)
10498	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10499	  ;;
10500	*)
10501	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10502	  ;;
10503	esac
10504      fi
10505      if test "$with_gnu_ld" = no; then
10506	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10507	hardcode_libdir_separator=:
10508
10509	case $host_cpu in
10510	hppa*64*|ia64*)
10511	  hardcode_direct=no
10512	  hardcode_shlibpath_var=no
10513	  ;;
10514	*)
10515	  hardcode_direct=yes
10516	  hardcode_direct_absolute=yes
10517	  export_dynamic_flag_spec='${wl}-E'
10518
10519	  # hardcode_minus_L: Not really in the search PATH,
10520	  # but as the default location of the library.
10521	  hardcode_minus_L=yes
10522	  ;;
10523	esac
10524      fi
10525      ;;
10526
10527    irix5* | irix6* | nonstopux*)
10528      if test "$GCC" = yes; then
10529	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'
10530	# Try to use the -exported_symbol ld option, if it does not
10531	# work, assume that -exports_file does not work either and
10532	# implicitly export all symbols.
10533        save_LDFLAGS="$LDFLAGS"
10534        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10535        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10536/* end confdefs.h.  */
10537int foo(void) {}
10538_ACEOF
10539if ac_fn_c_try_link "$LINENO"; then :
10540  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'
10541
10542fi
10543rm -f core conftest.err conftest.$ac_objext \
10544    conftest$ac_exeext conftest.$ac_ext
10545        LDFLAGS="$save_LDFLAGS"
10546      else
10547	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'
10548	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'
10549      fi
10550      archive_cmds_need_lc='no'
10551      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10552      hardcode_libdir_separator=:
10553      inherit_rpath=yes
10554      link_all_deplibs=yes
10555      ;;
10556
10557    netbsd* | netbsdelf*-gnu)
10558      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10559	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10560      else
10561	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10562      fi
10563      hardcode_libdir_flag_spec='-R$libdir'
10564      hardcode_direct=yes
10565      hardcode_shlibpath_var=no
10566      ;;
10567
10568    newsos6)
10569      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10570      hardcode_direct=yes
10571      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10572      hardcode_libdir_separator=:
10573      hardcode_shlibpath_var=no
10574      ;;
10575
10576    *nto* | *qnx*)
10577      ;;
10578
10579    openbsd*)
10580      if test -f /usr/libexec/ld.so; then
10581	hardcode_direct=yes
10582	hardcode_shlibpath_var=no
10583	hardcode_direct_absolute=yes
10584	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10585	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10586	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10587	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10588	  export_dynamic_flag_spec='${wl}-E'
10589	else
10590	  case $host_os in
10591	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10592	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10593	     hardcode_libdir_flag_spec='-R$libdir'
10594	     ;;
10595	   *)
10596	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10597	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10598	     ;;
10599	  esac
10600	fi
10601      else
10602	ld_shlibs=no
10603      fi
10604      ;;
10605
10606    os2*)
10607      hardcode_libdir_flag_spec='-L$libdir'
10608      hardcode_minus_L=yes
10609      allow_undefined_flag=unsupported
10610      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'
10611      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10612      ;;
10613
10614    osf3*)
10615      if test "$GCC" = yes; then
10616	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10617	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'
10618      else
10619	allow_undefined_flag=' -expect_unresolved \*'
10620	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'
10621      fi
10622      archive_cmds_need_lc='no'
10623      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10624      hardcode_libdir_separator=:
10625      ;;
10626
10627    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10628      if test "$GCC" = yes; then
10629	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10630	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'
10631	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10632      else
10633	allow_undefined_flag=' -expect_unresolved \*'
10634	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'
10635	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~
10636	$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'
10637
10638	# Both c and cxx compiler support -rpath directly
10639	hardcode_libdir_flag_spec='-rpath $libdir'
10640      fi
10641      archive_cmds_need_lc='no'
10642      hardcode_libdir_separator=:
10643      ;;
10644
10645    solaris*)
10646      no_undefined_flag=' -z defs'
10647      if test "$GCC" = yes; then
10648	wlarc='${wl}'
10649	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10650	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10651	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10652      else
10653	case `$CC -V 2>&1` in
10654	*"Compilers 5.0"*)
10655	  wlarc=''
10656	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10657	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10658	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10659	  ;;
10660	*)
10661	  wlarc='${wl}'
10662	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10663	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10664	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10665	  ;;
10666	esac
10667      fi
10668      hardcode_libdir_flag_spec='-R$libdir'
10669      hardcode_shlibpath_var=no
10670      case $host_os in
10671      solaris2.[0-5] | solaris2.[0-5].*) ;;
10672      *)
10673	# The compiler driver will combine and reorder linker options,
10674	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10675	# but is careful enough not to reorder.
10676	# Supported since Solaris 2.6 (maybe 2.5.1?)
10677	if test "$GCC" = yes; then
10678	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10679	else
10680	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10681	fi
10682	;;
10683      esac
10684      link_all_deplibs=yes
10685      ;;
10686
10687    sunos4*)
10688      if test "x$host_vendor" = xsequent; then
10689	# Use $CC to link under sequent, because it throws in some extra .o
10690	# files that make .init and .fini sections work.
10691	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10692      else
10693	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10694      fi
10695      hardcode_libdir_flag_spec='-L$libdir'
10696      hardcode_direct=yes
10697      hardcode_minus_L=yes
10698      hardcode_shlibpath_var=no
10699      ;;
10700
10701    sysv4)
10702      case $host_vendor in
10703	sni)
10704	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10705	  hardcode_direct=yes # is this really true???
10706	;;
10707	siemens)
10708	  ## LD is ld it makes a PLAMLIB
10709	  ## CC just makes a GrossModule.
10710	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10711	  reload_cmds='$CC -r -o $output$reload_objs'
10712	  hardcode_direct=no
10713        ;;
10714	motorola)
10715	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10716	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10717	;;
10718      esac
10719      runpath_var='LD_RUN_PATH'
10720      hardcode_shlibpath_var=no
10721      ;;
10722
10723    sysv4.3*)
10724      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10725      hardcode_shlibpath_var=no
10726      export_dynamic_flag_spec='-Bexport'
10727      ;;
10728
10729    sysv4*MP*)
10730      if test -d /usr/nec; then
10731	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10732	hardcode_shlibpath_var=no
10733	runpath_var=LD_RUN_PATH
10734	hardcode_runpath_var=yes
10735	ld_shlibs=yes
10736      fi
10737      ;;
10738
10739    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10740      no_undefined_flag='${wl}-z,text'
10741      archive_cmds_need_lc=no
10742      hardcode_shlibpath_var=no
10743      runpath_var='LD_RUN_PATH'
10744
10745      if test "$GCC" = yes; then
10746	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10747	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10748      else
10749	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10750	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10751      fi
10752      ;;
10753
10754    sysv5* | sco3.2v5* | sco5v6*)
10755      # Note: We can NOT use -z defs as we might desire, because we do not
10756      # link with -lc, and that would cause any symbols used from libc to
10757      # always be unresolved, which means just about no library would
10758      # ever link correctly.  If we're not using GNU ld we use -z text
10759      # though, which does catch some bad symbols but isn't as heavy-handed
10760      # as -z defs.
10761      no_undefined_flag='${wl}-z,text'
10762      allow_undefined_flag='${wl}-z,nodefs'
10763      archive_cmds_need_lc=no
10764      hardcode_shlibpath_var=no
10765      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10766      hardcode_libdir_separator=':'
10767      link_all_deplibs=yes
10768      export_dynamic_flag_spec='${wl}-Bexport'
10769      runpath_var='LD_RUN_PATH'
10770
10771      if test "$GCC" = yes; then
10772	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10773	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10774      else
10775	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10776	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10777      fi
10778      ;;
10779
10780    uts4*)
10781      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10782      hardcode_libdir_flag_spec='-L$libdir'
10783      hardcode_shlibpath_var=no
10784      ;;
10785
10786    *)
10787      ld_shlibs=no
10788      ;;
10789    esac
10790
10791    if test x$host_vendor = xsni; then
10792      case $host in
10793      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10794	export_dynamic_flag_spec='${wl}-Blargedynsym'
10795	;;
10796      esac
10797    fi
10798  fi
10799
10800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10801$as_echo "$ld_shlibs" >&6; }
10802test "$ld_shlibs" = no && can_build_shared=no
10803
10804with_gnu_ld=$with_gnu_ld
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820#
10821# Do we need to explicitly link libc?
10822#
10823case "x$archive_cmds_need_lc" in
10824x|xyes)
10825  # Assume -lc should be added
10826  archive_cmds_need_lc=yes
10827
10828  if test "$enable_shared" = yes && test "$GCC" = yes; then
10829    case $archive_cmds in
10830    *'~'*)
10831      # FIXME: we may have to deal with multi-command sequences.
10832      ;;
10833    '$CC '*)
10834      # Test whether the compiler implicitly links with -lc since on some
10835      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10836      # to ld, don't add -lc before -lgcc.
10837      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10838$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10839      $RM conftest*
10840      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10841
10842      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10843  (eval $ac_compile) 2>&5
10844  ac_status=$?
10845  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10846  test $ac_status = 0; } 2>conftest.err; then
10847        soname=conftest
10848        lib=conftest
10849        libobjs=conftest.$ac_objext
10850        deplibs=
10851        wl=$lt_prog_compiler_wl
10852	pic_flag=$lt_prog_compiler_pic
10853        compiler_flags=-v
10854        linker_flags=-v
10855        verstring=
10856        output_objdir=.
10857        libname=conftest
10858        lt_save_allow_undefined_flag=$allow_undefined_flag
10859        allow_undefined_flag=
10860        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10861  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10862  ac_status=$?
10863  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10864  test $ac_status = 0; }
10865        then
10866	  archive_cmds_need_lc=no
10867        else
10868	  archive_cmds_need_lc=yes
10869        fi
10870        allow_undefined_flag=$lt_save_allow_undefined_flag
10871      else
10872        cat conftest.err 1>&5
10873      fi
10874      $RM conftest*
10875      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10876$as_echo "$archive_cmds_need_lc" >&6; }
10877      ;;
10878    esac
10879  fi
10880  ;;
10881esac
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
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11040$as_echo_n "checking dynamic linker characteristics... " >&6; }
11041
11042if test "$GCC" = yes; then
11043  case $host_os in
11044    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11045    *) lt_awk_arg="/^libraries:/" ;;
11046  esac
11047  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11048  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
11049    # if the path contains ";" then we assume it to be the separator
11050    # otherwise default to the standard path separator (i.e. ":") - it is
11051    # assumed that no part of a normal pathname contains ";" but that should
11052    # okay in the real world where ";" in dirpaths is itself problematic.
11053    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11054  else
11055    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11056  fi
11057  # Ok, now we have the path, separated by spaces, we can step through it
11058  # and add multilib dir if necessary.
11059  lt_tmp_lt_search_path_spec=
11060  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11061  for lt_sys_path in $lt_search_path_spec; do
11062    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11063      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11064    else
11065      test -d "$lt_sys_path" && \
11066	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11067    fi
11068  done
11069  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11070BEGIN {RS=" "; FS="/|\n";} {
11071  lt_foo="";
11072  lt_count=0;
11073  for (lt_i = NF; lt_i > 0; lt_i--) {
11074    if ($lt_i != "" && $lt_i != ".") {
11075      if ($lt_i == "..") {
11076        lt_count++;
11077      } else {
11078        if (lt_count == 0) {
11079          lt_foo="/" $lt_i lt_foo;
11080        } else {
11081          lt_count--;
11082        }
11083      }
11084    }
11085  }
11086  if (lt_foo != "") { lt_freq[lt_foo]++; }
11087  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11088}'`
11089  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
11090else
11091  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11092fi
11093library_names_spec=
11094libname_spec='lib$name'
11095soname_spec=
11096shrext_cmds=".so"
11097postinstall_cmds=
11098postuninstall_cmds=
11099finish_cmds=
11100finish_eval=
11101shlibpath_var=
11102shlibpath_overrides_runpath=unknown
11103version_type=none
11104dynamic_linker="$host_os ld.so"
11105sys_lib_dlsearch_path_spec="/lib /usr/lib"
11106need_lib_prefix=unknown
11107hardcode_into_libs=no
11108
11109# when you set need_version to no, make sure it does not cause -set_version
11110# flags to be left without arguments
11111need_version=unknown
11112
11113case $host_os in
11114aix3*)
11115  version_type=linux
11116  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11117  shlibpath_var=LIBPATH
11118
11119  # AIX 3 has no versioning support, so we append a major version to the name.
11120  soname_spec='${libname}${release}${shared_ext}$major'
11121  ;;
11122
11123aix[4-9]*)
11124  version_type=linux
11125  need_lib_prefix=no
11126  need_version=no
11127  hardcode_into_libs=yes
11128  if test "$host_cpu" = ia64; then
11129    # AIX 5 supports IA64
11130    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11131    shlibpath_var=LD_LIBRARY_PATH
11132  else
11133    # With GCC up to 2.95.x, collect2 would create an import file
11134    # for dependence libraries.  The import file would start with
11135    # the line `#! .'.  This would cause the generated library to
11136    # depend on `.', always an invalid library.  This was fixed in
11137    # development snapshots of GCC prior to 3.0.
11138    case $host_os in
11139      aix4 | aix4.[01] | aix4.[01].*)
11140      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11141	   echo ' yes '
11142	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11143	:
11144      else
11145	can_build_shared=no
11146      fi
11147      ;;
11148    esac
11149    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11150    # soname into executable. Probably we can add versioning support to
11151    # collect2, so additional links can be useful in future.
11152    if test "$aix_use_runtimelinking" = yes; then
11153      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11154      # instead of lib<name>.a to let people know that these are not
11155      # typical AIX shared libraries.
11156      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11157    else
11158      # We preserve .a as extension for shared libraries through AIX4.2
11159      # and later when we are not doing run time linking.
11160      library_names_spec='${libname}${release}.a $libname.a'
11161      soname_spec='${libname}${release}${shared_ext}$major'
11162    fi
11163    shlibpath_var=LIBPATH
11164  fi
11165  ;;
11166
11167amigaos*)
11168  case $host_cpu in
11169  powerpc)
11170    # Since July 2007 AmigaOS4 officially supports .so libraries.
11171    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11172    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11173    ;;
11174  m68k)
11175    library_names_spec='$libname.ixlibrary $libname.a'
11176    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11177    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'
11178    ;;
11179  esac
11180  ;;
11181
11182beos*)
11183  library_names_spec='${libname}${shared_ext}'
11184  dynamic_linker="$host_os ld.so"
11185  shlibpath_var=LIBRARY_PATH
11186  ;;
11187
11188bsdi[45]*)
11189  version_type=linux
11190  need_version=no
11191  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11192  soname_spec='${libname}${release}${shared_ext}$major'
11193  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11194  shlibpath_var=LD_LIBRARY_PATH
11195  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11196  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11197  # the default ld.so.conf also contains /usr/contrib/lib and
11198  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11199  # libtool to hard-code these into programs
11200  ;;
11201
11202cygwin* | mingw* | pw32* | cegcc*)
11203  version_type=windows
11204  shrext_cmds=".dll"
11205  need_version=no
11206  need_lib_prefix=no
11207
11208  case $GCC,$host_os in
11209  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11210    library_names_spec='$libname.dll.a'
11211    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11212    postinstall_cmds='base_file=`basename \${file}`~
11213      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11214      dldir=$destdir/`dirname \$dlpath`~
11215      test -d \$dldir || mkdir -p \$dldir~
11216      $install_prog $dir/$dlname \$dldir/$dlname~
11217      chmod a+x \$dldir/$dlname~
11218      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11219        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11220      fi'
11221    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11222      dlpath=$dir/\$dldll~
11223       $RM \$dlpath'
11224    shlibpath_overrides_runpath=yes
11225
11226    case $host_os in
11227    cygwin*)
11228      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11229      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11230      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11231      ;;
11232    mingw* | cegcc*)
11233      # MinGW DLLs use traditional 'lib' prefix
11234      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11235      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11236      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11237        # It is most probably a Windows format PATH printed by
11238        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11239        # path with ; separators, and with drive letters. We can handle the
11240        # drive letters (cygwin fileutils understands them), so leave them,
11241        # especially as we might pass files found there to a mingw objdump,
11242        # which wouldn't understand a cygwinified path. Ahh.
11243        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11244      else
11245        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11246      fi
11247      ;;
11248    pw32*)
11249      # pw32 DLLs use 'pw' prefix rather than 'lib'
11250      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11251      ;;
11252    esac
11253    ;;
11254
11255  *)
11256    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11257    ;;
11258  esac
11259  dynamic_linker='Win32 ld.exe'
11260  # FIXME: first we should search . and the directory the executable is in
11261  shlibpath_var=PATH
11262  ;;
11263
11264darwin* | rhapsody*)
11265  dynamic_linker="$host_os dyld"
11266  version_type=darwin
11267  need_lib_prefix=no
11268  need_version=no
11269  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11270  soname_spec='${libname}${release}${major}$shared_ext'
11271  shlibpath_overrides_runpath=yes
11272  shlibpath_var=DYLD_LIBRARY_PATH
11273  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11274
11275  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11276  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11277  ;;
11278
11279dgux*)
11280  version_type=linux
11281  need_lib_prefix=no
11282  need_version=no
11283  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11284  soname_spec='${libname}${release}${shared_ext}$major'
11285  shlibpath_var=LD_LIBRARY_PATH
11286  ;;
11287
11288freebsd1*)
11289  dynamic_linker=no
11290  ;;
11291
11292freebsd* | dragonfly*)
11293  # DragonFly does not have aout.  When/if they implement a new
11294  # versioning mechanism, adjust this.
11295  if test -x /usr/bin/objformat; then
11296    objformat=`/usr/bin/objformat`
11297  else
11298    case $host_os in
11299    freebsd[123]*) objformat=aout ;;
11300    *) objformat=elf ;;
11301    esac
11302  fi
11303  version_type=freebsd-$objformat
11304  case $version_type in
11305    freebsd-elf*)
11306      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11307      need_version=no
11308      need_lib_prefix=no
11309      ;;
11310    freebsd-*)
11311      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11312      need_version=yes
11313      ;;
11314  esac
11315  shlibpath_var=LD_LIBRARY_PATH
11316  case $host_os in
11317  freebsd2*)
11318    shlibpath_overrides_runpath=yes
11319    ;;
11320  freebsd3.[01]* | freebsdelf3.[01]*)
11321    shlibpath_overrides_runpath=yes
11322    hardcode_into_libs=yes
11323    ;;
11324  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11325  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11326    shlibpath_overrides_runpath=no
11327    hardcode_into_libs=yes
11328    ;;
11329  *) # from 4.6 on, and DragonFly
11330    shlibpath_overrides_runpath=yes
11331    hardcode_into_libs=yes
11332    ;;
11333  esac
11334  ;;
11335
11336gnu*)
11337  version_type=linux
11338  need_lib_prefix=no
11339  need_version=no
11340  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11341  soname_spec='${libname}${release}${shared_ext}$major'
11342  shlibpath_var=LD_LIBRARY_PATH
11343  hardcode_into_libs=yes
11344  ;;
11345
11346hpux9* | hpux10* | hpux11*)
11347  # Give a soname corresponding to the major version so that dld.sl refuses to
11348  # link against other versions.
11349  version_type=sunos
11350  need_lib_prefix=no
11351  need_version=no
11352  case $host_cpu in
11353  ia64*)
11354    shrext_cmds='.so'
11355    hardcode_into_libs=yes
11356    dynamic_linker="$host_os dld.so"
11357    shlibpath_var=LD_LIBRARY_PATH
11358    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11359    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11360    soname_spec='${libname}${release}${shared_ext}$major'
11361    if test "X$HPUX_IA64_MODE" = X32; then
11362      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11363    else
11364      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11365    fi
11366    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11367    ;;
11368  hppa*64*)
11369    shrext_cmds='.sl'
11370    hardcode_into_libs=yes
11371    dynamic_linker="$host_os dld.sl"
11372    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11373    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11374    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11375    soname_spec='${libname}${release}${shared_ext}$major'
11376    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11377    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11378    ;;
11379  *)
11380    shrext_cmds='.sl'
11381    dynamic_linker="$host_os dld.sl"
11382    shlibpath_var=SHLIB_PATH
11383    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11384    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11385    soname_spec='${libname}${release}${shared_ext}$major'
11386    ;;
11387  esac
11388  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11389  postinstall_cmds='chmod 555 $lib'
11390  ;;
11391
11392interix[3-9]*)
11393  version_type=linux
11394  need_lib_prefix=no
11395  need_version=no
11396  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11397  soname_spec='${libname}${release}${shared_ext}$major'
11398  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11399  shlibpath_var=LD_LIBRARY_PATH
11400  shlibpath_overrides_runpath=no
11401  hardcode_into_libs=yes
11402  ;;
11403
11404irix5* | irix6* | nonstopux*)
11405  case $host_os in
11406    nonstopux*) version_type=nonstopux ;;
11407    *)
11408	if test "$lt_cv_prog_gnu_ld" = yes; then
11409		version_type=linux
11410	else
11411		version_type=irix
11412	fi ;;
11413  esac
11414  need_lib_prefix=no
11415  need_version=no
11416  soname_spec='${libname}${release}${shared_ext}$major'
11417  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11418  case $host_os in
11419  irix5* | nonstopux*)
11420    libsuff= shlibsuff=
11421    ;;
11422  *)
11423    case $LD in # libtool.m4 will add one of these switches to LD
11424    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11425      libsuff= shlibsuff= libmagic=32-bit;;
11426    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11427      libsuff=32 shlibsuff=N32 libmagic=N32;;
11428    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11429      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11430    *) libsuff= shlibsuff= libmagic=never-match;;
11431    esac
11432    ;;
11433  esac
11434  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11435  shlibpath_overrides_runpath=no
11436  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11437  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11438  hardcode_into_libs=yes
11439  ;;
11440
11441# No shared lib support for Linux oldld, aout, or coff.
11442linux*oldld* | linux*aout* | linux*coff*)
11443  dynamic_linker=no
11444  ;;
11445
11446# This must be Linux ELF.
11447linux* | k*bsd*-gnu | kopensolaris*-gnu)
11448  version_type=linux
11449  need_lib_prefix=no
11450  need_version=no
11451  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11452  soname_spec='${libname}${release}${shared_ext}$major'
11453  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11454  shlibpath_var=LD_LIBRARY_PATH
11455  shlibpath_overrides_runpath=no
11456  # Some binutils ld are patched to set DT_RUNPATH
11457  save_LDFLAGS=$LDFLAGS
11458  save_libdir=$libdir
11459  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11460       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11461  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11462/* end confdefs.h.  */
11463
11464int
11465main ()
11466{
11467
11468  ;
11469  return 0;
11470}
11471_ACEOF
11472if ac_fn_c_try_link "$LINENO"; then :
11473  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11474  shlibpath_overrides_runpath=yes
11475fi
11476fi
11477rm -f core conftest.err conftest.$ac_objext \
11478    conftest$ac_exeext conftest.$ac_ext
11479  LDFLAGS=$save_LDFLAGS
11480  libdir=$save_libdir
11481
11482  # This implies no fast_install, which is unacceptable.
11483  # Some rework will be needed to allow for fast_install
11484  # before this can be enabled.
11485  hardcode_into_libs=yes
11486
11487  # Append ld.so.conf contents to the search path
11488  if test -f /etc/ld.so.conf; then
11489    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' ' '`
11490    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11491  fi
11492
11493  # We used to test for /lib/ld.so.1 and disable shared libraries on
11494  # powerpc, because MkLinux only supported shared libraries with the
11495  # GNU dynamic linker.  Since this was broken with cross compilers,
11496  # most powerpc-linux boxes support dynamic linking these days and
11497  # people can always --disable-shared, the test was removed, and we
11498  # assume the GNU/Linux dynamic linker is in use.
11499  dynamic_linker='GNU/Linux ld.so'
11500  ;;
11501
11502netbsdelf*-gnu)
11503  version_type=linux
11504  need_lib_prefix=no
11505  need_version=no
11506  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11507  soname_spec='${libname}${release}${shared_ext}$major'
11508  shlibpath_var=LD_LIBRARY_PATH
11509  shlibpath_overrides_runpath=no
11510  hardcode_into_libs=yes
11511  dynamic_linker='NetBSD ld.elf_so'
11512  ;;
11513
11514netbsd*)
11515  version_type=sunos
11516  need_lib_prefix=no
11517  need_version=no
11518  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11519    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11520    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11521    dynamic_linker='NetBSD (a.out) ld.so'
11522  else
11523    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11524    soname_spec='${libname}${release}${shared_ext}$major'
11525    dynamic_linker='NetBSD ld.elf_so'
11526  fi
11527  shlibpath_var=LD_LIBRARY_PATH
11528  shlibpath_overrides_runpath=yes
11529  hardcode_into_libs=yes
11530  ;;
11531
11532newsos6)
11533  version_type=linux
11534  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11535  shlibpath_var=LD_LIBRARY_PATH
11536  shlibpath_overrides_runpath=yes
11537  ;;
11538
11539*nto* | *qnx*)
11540  version_type=qnx
11541  need_lib_prefix=no
11542  need_version=no
11543  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11544  soname_spec='${libname}${release}${shared_ext}$major'
11545  shlibpath_var=LD_LIBRARY_PATH
11546  shlibpath_overrides_runpath=no
11547  hardcode_into_libs=yes
11548  dynamic_linker='ldqnx.so'
11549  ;;
11550
11551openbsd*)
11552  version_type=sunos
11553  sys_lib_dlsearch_path_spec="/usr/lib"
11554  need_lib_prefix=no
11555  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11556  case $host_os in
11557    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11558    *)				need_version=no  ;;
11559  esac
11560  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11561  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11562  shlibpath_var=LD_LIBRARY_PATH
11563  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11564    case $host_os in
11565      openbsd2.[89] | openbsd2.[89].*)
11566	shlibpath_overrides_runpath=no
11567	;;
11568      *)
11569	shlibpath_overrides_runpath=yes
11570	;;
11571      esac
11572  else
11573    shlibpath_overrides_runpath=yes
11574  fi
11575  ;;
11576
11577os2*)
11578  libname_spec='$name'
11579  shrext_cmds=".dll"
11580  need_lib_prefix=no
11581  library_names_spec='$libname${shared_ext} $libname.a'
11582  dynamic_linker='OS/2 ld.exe'
11583  shlibpath_var=LIBPATH
11584  ;;
11585
11586osf3* | osf4* | osf5*)
11587  version_type=osf
11588  need_lib_prefix=no
11589  need_version=no
11590  soname_spec='${libname}${release}${shared_ext}$major'
11591  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11592  shlibpath_var=LD_LIBRARY_PATH
11593  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11594  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11595  ;;
11596
11597rdos*)
11598  dynamic_linker=no
11599  ;;
11600
11601solaris*)
11602  version_type=linux
11603  need_lib_prefix=no
11604  need_version=no
11605  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11606  soname_spec='${libname}${release}${shared_ext}$major'
11607  shlibpath_var=LD_LIBRARY_PATH
11608  shlibpath_overrides_runpath=yes
11609  hardcode_into_libs=yes
11610  # ldd complains unless libraries are executable
11611  postinstall_cmds='chmod +x $lib'
11612  ;;
11613
11614sunos4*)
11615  version_type=sunos
11616  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11617  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11618  shlibpath_var=LD_LIBRARY_PATH
11619  shlibpath_overrides_runpath=yes
11620  if test "$with_gnu_ld" = yes; then
11621    need_lib_prefix=no
11622  fi
11623  need_version=yes
11624  ;;
11625
11626sysv4 | sysv4.3*)
11627  version_type=linux
11628  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11629  soname_spec='${libname}${release}${shared_ext}$major'
11630  shlibpath_var=LD_LIBRARY_PATH
11631  case $host_vendor in
11632    sni)
11633      shlibpath_overrides_runpath=no
11634      need_lib_prefix=no
11635      runpath_var=LD_RUN_PATH
11636      ;;
11637    siemens)
11638      need_lib_prefix=no
11639      ;;
11640    motorola)
11641      need_lib_prefix=no
11642      need_version=no
11643      shlibpath_overrides_runpath=no
11644      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11645      ;;
11646  esac
11647  ;;
11648
11649sysv4*MP*)
11650  if test -d /usr/nec ;then
11651    version_type=linux
11652    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11653    soname_spec='$libname${shared_ext}.$major'
11654    shlibpath_var=LD_LIBRARY_PATH
11655  fi
11656  ;;
11657
11658sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11659  version_type=freebsd-elf
11660  need_lib_prefix=no
11661  need_version=no
11662  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11663  soname_spec='${libname}${release}${shared_ext}$major'
11664  shlibpath_var=LD_LIBRARY_PATH
11665  shlibpath_overrides_runpath=yes
11666  hardcode_into_libs=yes
11667  if test "$with_gnu_ld" = yes; then
11668    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11669  else
11670    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11671    case $host_os in
11672      sco3.2v5*)
11673        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11674	;;
11675    esac
11676  fi
11677  sys_lib_dlsearch_path_spec='/usr/lib'
11678  ;;
11679
11680tpf*)
11681  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11682  version_type=linux
11683  need_lib_prefix=no
11684  need_version=no
11685  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11686  shlibpath_var=LD_LIBRARY_PATH
11687  shlibpath_overrides_runpath=no
11688  hardcode_into_libs=yes
11689  ;;
11690
11691uts4*)
11692  version_type=linux
11693  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11694  soname_spec='${libname}${release}${shared_ext}$major'
11695  shlibpath_var=LD_LIBRARY_PATH
11696  ;;
11697
11698*)
11699  dynamic_linker=no
11700  ;;
11701esac
11702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11703$as_echo "$dynamic_linker" >&6; }
11704test "$dynamic_linker" = no && can_build_shared=no
11705
11706variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11707if test "$GCC" = yes; then
11708  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11709fi
11710
11711if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11712  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11713fi
11714if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11715  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11716fi
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
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11805$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11806hardcode_action=
11807if test -n "$hardcode_libdir_flag_spec" ||
11808   test -n "$runpath_var" ||
11809   test "X$hardcode_automatic" = "Xyes" ; then
11810
11811  # We can hardcode non-existent directories.
11812  if test "$hardcode_direct" != no &&
11813     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11814     # have to relink, otherwise we might link with an installed library
11815     # when we should be linking with a yet-to-be-installed one
11816     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11817     test "$hardcode_minus_L" != no; then
11818    # Linking always hardcodes the temporary library directory.
11819    hardcode_action=relink
11820  else
11821    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11822    hardcode_action=immediate
11823  fi
11824else
11825  # We cannot hardcode anything, or else we can only hardcode existing
11826  # directories.
11827  hardcode_action=unsupported
11828fi
11829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11830$as_echo "$hardcode_action" >&6; }
11831
11832if test "$hardcode_action" = relink ||
11833   test "$inherit_rpath" = yes; then
11834  # Fast installation is not supported
11835  enable_fast_install=no
11836elif test "$shlibpath_overrides_runpath" = yes ||
11837     test "$enable_shared" = no; then
11838  # Fast installation is not necessary
11839  enable_fast_install=needless
11840fi
11841
11842
11843
11844
11845
11846
11847  if test "x$enable_dlopen" != xyes; then
11848  enable_dlopen=unknown
11849  enable_dlopen_self=unknown
11850  enable_dlopen_self_static=unknown
11851else
11852  lt_cv_dlopen=no
11853  lt_cv_dlopen_libs=
11854
11855  case $host_os in
11856  beos*)
11857    lt_cv_dlopen="load_add_on"
11858    lt_cv_dlopen_libs=
11859    lt_cv_dlopen_self=yes
11860    ;;
11861
11862  mingw* | pw32* | cegcc*)
11863    lt_cv_dlopen="LoadLibrary"
11864    lt_cv_dlopen_libs=
11865    ;;
11866
11867  cygwin*)
11868    lt_cv_dlopen="dlopen"
11869    lt_cv_dlopen_libs=
11870    ;;
11871
11872  darwin*)
11873  # if libdl is installed we need to link against it
11874    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11875$as_echo_n "checking for dlopen in -ldl... " >&6; }
11876if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11877  $as_echo_n "(cached) " >&6
11878else
11879  ac_check_lib_save_LIBS=$LIBS
11880LIBS="-ldl  $LIBS"
11881cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11882/* end confdefs.h.  */
11883
11884/* Override any GCC internal prototype to avoid an error.
11885   Use char because int might match the return type of a GCC
11886   builtin and then its argument prototype would still apply.  */
11887#ifdef __cplusplus
11888extern "C"
11889#endif
11890char dlopen ();
11891int
11892main ()
11893{
11894return dlopen ();
11895  ;
11896  return 0;
11897}
11898_ACEOF
11899if ac_fn_c_try_link "$LINENO"; then :
11900  ac_cv_lib_dl_dlopen=yes
11901else
11902  ac_cv_lib_dl_dlopen=no
11903fi
11904rm -f core conftest.err conftest.$ac_objext \
11905    conftest$ac_exeext conftest.$ac_ext
11906LIBS=$ac_check_lib_save_LIBS
11907fi
11908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11909$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11910if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11911  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11912else
11913
11914    lt_cv_dlopen="dyld"
11915    lt_cv_dlopen_libs=
11916    lt_cv_dlopen_self=yes
11917
11918fi
11919
11920    ;;
11921
11922  *)
11923    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11924if test "x$ac_cv_func_shl_load" = x""yes; then :
11925  lt_cv_dlopen="shl_load"
11926else
11927  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11928$as_echo_n "checking for shl_load in -ldld... " >&6; }
11929if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11930  $as_echo_n "(cached) " >&6
11931else
11932  ac_check_lib_save_LIBS=$LIBS
11933LIBS="-ldld  $LIBS"
11934cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935/* end confdefs.h.  */
11936
11937/* Override any GCC internal prototype to avoid an error.
11938   Use char because int might match the return type of a GCC
11939   builtin and then its argument prototype would still apply.  */
11940#ifdef __cplusplus
11941extern "C"
11942#endif
11943char shl_load ();
11944int
11945main ()
11946{
11947return shl_load ();
11948  ;
11949  return 0;
11950}
11951_ACEOF
11952if ac_fn_c_try_link "$LINENO"; then :
11953  ac_cv_lib_dld_shl_load=yes
11954else
11955  ac_cv_lib_dld_shl_load=no
11956fi
11957rm -f core conftest.err conftest.$ac_objext \
11958    conftest$ac_exeext conftest.$ac_ext
11959LIBS=$ac_check_lib_save_LIBS
11960fi
11961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11962$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11963if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11964  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11965else
11966  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11967if test "x$ac_cv_func_dlopen" = x""yes; then :
11968  lt_cv_dlopen="dlopen"
11969else
11970  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11971$as_echo_n "checking for dlopen in -ldl... " >&6; }
11972if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11973  $as_echo_n "(cached) " >&6
11974else
11975  ac_check_lib_save_LIBS=$LIBS
11976LIBS="-ldl  $LIBS"
11977cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11978/* end confdefs.h.  */
11979
11980/* Override any GCC internal prototype to avoid an error.
11981   Use char because int might match the return type of a GCC
11982   builtin and then its argument prototype would still apply.  */
11983#ifdef __cplusplus
11984extern "C"
11985#endif
11986char dlopen ();
11987int
11988main ()
11989{
11990return dlopen ();
11991  ;
11992  return 0;
11993}
11994_ACEOF
11995if ac_fn_c_try_link "$LINENO"; then :
11996  ac_cv_lib_dl_dlopen=yes
11997else
11998  ac_cv_lib_dl_dlopen=no
11999fi
12000rm -f core conftest.err conftest.$ac_objext \
12001    conftest$ac_exeext conftest.$ac_ext
12002LIBS=$ac_check_lib_save_LIBS
12003fi
12004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12005$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12006if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12007  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12008else
12009  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12010$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12011if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12012  $as_echo_n "(cached) " >&6
12013else
12014  ac_check_lib_save_LIBS=$LIBS
12015LIBS="-lsvld  $LIBS"
12016cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017/* end confdefs.h.  */
12018
12019/* Override any GCC internal prototype to avoid an error.
12020   Use char because int might match the return type of a GCC
12021   builtin and then its argument prototype would still apply.  */
12022#ifdef __cplusplus
12023extern "C"
12024#endif
12025char dlopen ();
12026int
12027main ()
12028{
12029return dlopen ();
12030  ;
12031  return 0;
12032}
12033_ACEOF
12034if ac_fn_c_try_link "$LINENO"; then :
12035  ac_cv_lib_svld_dlopen=yes
12036else
12037  ac_cv_lib_svld_dlopen=no
12038fi
12039rm -f core conftest.err conftest.$ac_objext \
12040    conftest$ac_exeext conftest.$ac_ext
12041LIBS=$ac_check_lib_save_LIBS
12042fi
12043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12044$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12045if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12046  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12047else
12048  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12049$as_echo_n "checking for dld_link in -ldld... " >&6; }
12050if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12051  $as_echo_n "(cached) " >&6
12052else
12053  ac_check_lib_save_LIBS=$LIBS
12054LIBS="-ldld  $LIBS"
12055cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12056/* end confdefs.h.  */
12057
12058/* Override any GCC internal prototype to avoid an error.
12059   Use char because int might match the return type of a GCC
12060   builtin and then its argument prototype would still apply.  */
12061#ifdef __cplusplus
12062extern "C"
12063#endif
12064char dld_link ();
12065int
12066main ()
12067{
12068return dld_link ();
12069  ;
12070  return 0;
12071}
12072_ACEOF
12073if ac_fn_c_try_link "$LINENO"; then :
12074  ac_cv_lib_dld_dld_link=yes
12075else
12076  ac_cv_lib_dld_dld_link=no
12077fi
12078rm -f core conftest.err conftest.$ac_objext \
12079    conftest$ac_exeext conftest.$ac_ext
12080LIBS=$ac_check_lib_save_LIBS
12081fi
12082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12083$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12084if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12085  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12086fi
12087
12088
12089fi
12090
12091
12092fi
12093
12094
12095fi
12096
12097
12098fi
12099
12100
12101fi
12102
12103    ;;
12104  esac
12105
12106  if test "x$lt_cv_dlopen" != xno; then
12107    enable_dlopen=yes
12108  else
12109    enable_dlopen=no
12110  fi
12111
12112  case $lt_cv_dlopen in
12113  dlopen)
12114    save_CPPFLAGS="$CPPFLAGS"
12115    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12116
12117    save_LDFLAGS="$LDFLAGS"
12118    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12119
12120    save_LIBS="$LIBS"
12121    LIBS="$lt_cv_dlopen_libs $LIBS"
12122
12123    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12124$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12125if test "${lt_cv_dlopen_self+set}" = set; then :
12126  $as_echo_n "(cached) " >&6
12127else
12128  	  if test "$cross_compiling" = yes; then :
12129  lt_cv_dlopen_self=cross
12130else
12131  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12132  lt_status=$lt_dlunknown
12133  cat > conftest.$ac_ext <<_LT_EOF
12134#line 12134 "configure"
12135#include "confdefs.h"
12136
12137#if HAVE_DLFCN_H
12138#include <dlfcn.h>
12139#endif
12140
12141#include <stdio.h>
12142
12143#ifdef RTLD_GLOBAL
12144#  define LT_DLGLOBAL		RTLD_GLOBAL
12145#else
12146#  ifdef DL_GLOBAL
12147#    define LT_DLGLOBAL		DL_GLOBAL
12148#  else
12149#    define LT_DLGLOBAL		0
12150#  endif
12151#endif
12152
12153/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12154   find out it does not work in some platform. */
12155#ifndef LT_DLLAZY_OR_NOW
12156#  ifdef RTLD_LAZY
12157#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12158#  else
12159#    ifdef DL_LAZY
12160#      define LT_DLLAZY_OR_NOW		DL_LAZY
12161#    else
12162#      ifdef RTLD_NOW
12163#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12164#      else
12165#        ifdef DL_NOW
12166#          define LT_DLLAZY_OR_NOW	DL_NOW
12167#        else
12168#          define LT_DLLAZY_OR_NOW	0
12169#        endif
12170#      endif
12171#    endif
12172#  endif
12173#endif
12174
12175void fnord() { int i=42;}
12176int main ()
12177{
12178  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12179  int status = $lt_dlunknown;
12180
12181  if (self)
12182    {
12183      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12184      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12185      /* dlclose (self); */
12186    }
12187  else
12188    puts (dlerror ());
12189
12190  return status;
12191}
12192_LT_EOF
12193  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12194  (eval $ac_link) 2>&5
12195  ac_status=$?
12196  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12197  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12198    (./conftest; exit; ) >&5 2>/dev/null
12199    lt_status=$?
12200    case x$lt_status in
12201      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12202      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12203      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12204    esac
12205  else :
12206    # compilation failed
12207    lt_cv_dlopen_self=no
12208  fi
12209fi
12210rm -fr conftest*
12211
12212
12213fi
12214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12215$as_echo "$lt_cv_dlopen_self" >&6; }
12216
12217    if test "x$lt_cv_dlopen_self" = xyes; then
12218      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12219      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12220$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12221if test "${lt_cv_dlopen_self_static+set}" = set; then :
12222  $as_echo_n "(cached) " >&6
12223else
12224  	  if test "$cross_compiling" = yes; then :
12225  lt_cv_dlopen_self_static=cross
12226else
12227  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12228  lt_status=$lt_dlunknown
12229  cat > conftest.$ac_ext <<_LT_EOF
12230#line 12230 "configure"
12231#include "confdefs.h"
12232
12233#if HAVE_DLFCN_H
12234#include <dlfcn.h>
12235#endif
12236
12237#include <stdio.h>
12238
12239#ifdef RTLD_GLOBAL
12240#  define LT_DLGLOBAL		RTLD_GLOBAL
12241#else
12242#  ifdef DL_GLOBAL
12243#    define LT_DLGLOBAL		DL_GLOBAL
12244#  else
12245#    define LT_DLGLOBAL		0
12246#  endif
12247#endif
12248
12249/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12250   find out it does not work in some platform. */
12251#ifndef LT_DLLAZY_OR_NOW
12252#  ifdef RTLD_LAZY
12253#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12254#  else
12255#    ifdef DL_LAZY
12256#      define LT_DLLAZY_OR_NOW		DL_LAZY
12257#    else
12258#      ifdef RTLD_NOW
12259#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12260#      else
12261#        ifdef DL_NOW
12262#          define LT_DLLAZY_OR_NOW	DL_NOW
12263#        else
12264#          define LT_DLLAZY_OR_NOW	0
12265#        endif
12266#      endif
12267#    endif
12268#  endif
12269#endif
12270
12271void fnord() { int i=42;}
12272int main ()
12273{
12274  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12275  int status = $lt_dlunknown;
12276
12277  if (self)
12278    {
12279      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12280      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12281      /* dlclose (self); */
12282    }
12283  else
12284    puts (dlerror ());
12285
12286  return status;
12287}
12288_LT_EOF
12289  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12290  (eval $ac_link) 2>&5
12291  ac_status=$?
12292  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12293  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12294    (./conftest; exit; ) >&5 2>/dev/null
12295    lt_status=$?
12296    case x$lt_status in
12297      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12298      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12299      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12300    esac
12301  else :
12302    # compilation failed
12303    lt_cv_dlopen_self_static=no
12304  fi
12305fi
12306rm -fr conftest*
12307
12308
12309fi
12310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12311$as_echo "$lt_cv_dlopen_self_static" >&6; }
12312    fi
12313
12314    CPPFLAGS="$save_CPPFLAGS"
12315    LDFLAGS="$save_LDFLAGS"
12316    LIBS="$save_LIBS"
12317    ;;
12318  esac
12319
12320  case $lt_cv_dlopen_self in
12321  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12322  *) enable_dlopen_self=unknown ;;
12323  esac
12324
12325  case $lt_cv_dlopen_self_static in
12326  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12327  *) enable_dlopen_self_static=unknown ;;
12328  esac
12329fi
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347striplib=
12348old_striplib=
12349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12350$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12351if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12352  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12353  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12355$as_echo "yes" >&6; }
12356else
12357# FIXME - insert some real tests, host_os isn't really good enough
12358  case $host_os in
12359  darwin*)
12360    if test -n "$STRIP" ; then
12361      striplib="$STRIP -x"
12362      old_striplib="$STRIP -S"
12363      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12364$as_echo "yes" >&6; }
12365    else
12366      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12367$as_echo "no" >&6; }
12368    fi
12369    ;;
12370  *)
12371    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12372$as_echo "no" >&6; }
12373    ;;
12374  esac
12375fi
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388  # Report which library types will actually be built
12389  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12390$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12392$as_echo "$can_build_shared" >&6; }
12393
12394  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12395$as_echo_n "checking whether to build shared libraries... " >&6; }
12396  test "$can_build_shared" = "no" && enable_shared=no
12397
12398  # On AIX, shared libraries and static libraries use the same namespace, and
12399  # are all built from PIC.
12400  case $host_os in
12401  aix3*)
12402    test "$enable_shared" = yes && enable_static=no
12403    if test -n "$RANLIB"; then
12404      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12405      postinstall_cmds='$RANLIB $lib'
12406    fi
12407    ;;
12408
12409  aix[4-9]*)
12410    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12411      test "$enable_shared" = yes && enable_static=no
12412    fi
12413    ;;
12414  esac
12415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12416$as_echo "$enable_shared" >&6; }
12417
12418  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12419$as_echo_n "checking whether to build static libraries... " >&6; }
12420  # Make sure either enable_shared or enable_static is yes.
12421  test "$enable_shared" = yes || enable_static=yes
12422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12423$as_echo "$enable_static" >&6; }
12424
12425
12426
12427
12428fi
12429ac_ext=c
12430ac_cpp='$CPP $CPPFLAGS'
12431ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12432ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12433ac_compiler_gnu=$ac_cv_c_compiler_gnu
12434
12435CC="$lt_save_CC"
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449        ac_config_commands="$ac_config_commands libtool"
12450
12451
12452
12453
12454# Only expand once:
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12465	if test -n "$ac_tool_prefix"; then
12466  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12467set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12469$as_echo_n "checking for $ac_word... " >&6; }
12470if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12471  $as_echo_n "(cached) " >&6
12472else
12473  case $PKG_CONFIG in
12474  [\\/]* | ?:[\\/]*)
12475  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12476  ;;
12477  *)
12478  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12479for as_dir in $PATH
12480do
12481  IFS=$as_save_IFS
12482  test -z "$as_dir" && as_dir=.
12483    for ac_exec_ext in '' $ac_executable_extensions; do
12484  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12485    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12486    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12487    break 2
12488  fi
12489done
12490  done
12491IFS=$as_save_IFS
12492
12493  ;;
12494esac
12495fi
12496PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12497if test -n "$PKG_CONFIG"; then
12498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12499$as_echo "$PKG_CONFIG" >&6; }
12500else
12501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12502$as_echo "no" >&6; }
12503fi
12504
12505
12506fi
12507if test -z "$ac_cv_path_PKG_CONFIG"; then
12508  ac_pt_PKG_CONFIG=$PKG_CONFIG
12509  # Extract the first word of "pkg-config", so it can be a program name with args.
12510set dummy pkg-config; ac_word=$2
12511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12512$as_echo_n "checking for $ac_word... " >&6; }
12513if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12514  $as_echo_n "(cached) " >&6
12515else
12516  case $ac_pt_PKG_CONFIG in
12517  [\\/]* | ?:[\\/]*)
12518  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12519  ;;
12520  *)
12521  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12522for as_dir in $PATH
12523do
12524  IFS=$as_save_IFS
12525  test -z "$as_dir" && as_dir=.
12526    for ac_exec_ext in '' $ac_executable_extensions; do
12527  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12528    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12529    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12530    break 2
12531  fi
12532done
12533  done
12534IFS=$as_save_IFS
12535
12536  ;;
12537esac
12538fi
12539ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12540if test -n "$ac_pt_PKG_CONFIG"; then
12541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12542$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12543else
12544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12545$as_echo "no" >&6; }
12546fi
12547
12548  if test "x$ac_pt_PKG_CONFIG" = x; then
12549    PKG_CONFIG=""
12550  else
12551    case $cross_compiling:$ac_tool_warned in
12552yes:)
12553{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12554$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12555ac_tool_warned=yes ;;
12556esac
12557    PKG_CONFIG=$ac_pt_PKG_CONFIG
12558  fi
12559else
12560  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12561fi
12562
12563fi
12564if test -n "$PKG_CONFIG"; then
12565	_pkg_min_version=0.9.0
12566	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12567$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12568	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12569		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12570$as_echo "yes" >&6; }
12571	else
12572		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12573$as_echo "no" >&6; }
12574		PKG_CONFIG=""
12575	fi
12576fi
12577
12578pkg_failed=no
12579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmpclyrics" >&5
12580$as_echo_n "checking for gmpclyrics... " >&6; }
12581
12582if test -n "$gmpclyrics_CFLAGS"; then
12583    pkg_cv_gmpclyrics_CFLAGS="$gmpclyrics_CFLAGS"
12584 elif test -n "$PKG_CONFIG"; then
12585    if test -n "$PKG_CONFIG" && \
12586    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
12587	glib-2.0 >= 2.10
12588	gobject-2.0 >= 2.4
12589	gtk+-2.0 >= 2.8
12590	gmodule-2.0
12591	libxml-2.0
12592	libmpd >= 0.14.99
12593	gmpc >= 0.15.4.102
12594\""; } >&5
12595  ($PKG_CONFIG --exists --print-errors "
12596	glib-2.0 >= 2.10
12597	gobject-2.0 >= 2.4
12598	gtk+-2.0 >= 2.8
12599	gmodule-2.0
12600	libxml-2.0
12601	libmpd >= 0.14.99
12602	gmpc >= 0.15.4.102
12603") 2>&5
12604  ac_status=$?
12605  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12606  test $ac_status = 0; }; then
12607  pkg_cv_gmpclyrics_CFLAGS=`$PKG_CONFIG --cflags "
12608	glib-2.0 >= 2.10
12609	gobject-2.0 >= 2.4
12610	gtk+-2.0 >= 2.8
12611	gmodule-2.0
12612	libxml-2.0
12613	libmpd >= 0.14.99
12614	gmpc >= 0.15.4.102
12615" 2>/dev/null`
12616else
12617  pkg_failed=yes
12618fi
12619 else
12620    pkg_failed=untried
12621fi
12622if test -n "$gmpclyrics_LIBS"; then
12623    pkg_cv_gmpclyrics_LIBS="$gmpclyrics_LIBS"
12624 elif test -n "$PKG_CONFIG"; then
12625    if test -n "$PKG_CONFIG" && \
12626    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
12627	glib-2.0 >= 2.10
12628	gobject-2.0 >= 2.4
12629	gtk+-2.0 >= 2.8
12630	gmodule-2.0
12631	libxml-2.0
12632	libmpd >= 0.14.99
12633	gmpc >= 0.15.4.102
12634\""; } >&5
12635  ($PKG_CONFIG --exists --print-errors "
12636	glib-2.0 >= 2.10
12637	gobject-2.0 >= 2.4
12638	gtk+-2.0 >= 2.8
12639	gmodule-2.0
12640	libxml-2.0
12641	libmpd >= 0.14.99
12642	gmpc >= 0.15.4.102
12643") 2>&5
12644  ac_status=$?
12645  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12646  test $ac_status = 0; }; then
12647  pkg_cv_gmpclyrics_LIBS=`$PKG_CONFIG --libs "
12648	glib-2.0 >= 2.10
12649	gobject-2.0 >= 2.4
12650	gtk+-2.0 >= 2.8
12651	gmodule-2.0
12652	libxml-2.0
12653	libmpd >= 0.14.99
12654	gmpc >= 0.15.4.102
12655" 2>/dev/null`
12656else
12657  pkg_failed=yes
12658fi
12659 else
12660    pkg_failed=untried
12661fi
12662
12663
12664
12665if test $pkg_failed = yes; then
12666   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12667$as_echo "no" >&6; }
12668
12669if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12670        _pkg_short_errors_supported=yes
12671else
12672        _pkg_short_errors_supported=no
12673fi
12674        if test $_pkg_short_errors_supported = yes; then
12675	        gmpclyrics_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
12676	glib-2.0 >= 2.10
12677	gobject-2.0 >= 2.4
12678	gtk+-2.0 >= 2.8
12679	gmodule-2.0
12680	libxml-2.0
12681	libmpd >= 0.14.99
12682	gmpc >= 0.15.4.102
12683" 2>&1`
12684        else
12685	        gmpclyrics_PKG_ERRORS=`$PKG_CONFIG --print-errors "
12686	glib-2.0 >= 2.10
12687	gobject-2.0 >= 2.4
12688	gtk+-2.0 >= 2.8
12689	gmodule-2.0
12690	libxml-2.0
12691	libmpd >= 0.14.99
12692	gmpc >= 0.15.4.102
12693" 2>&1`
12694        fi
12695	# Put the nasty error message in config.log where it belongs
12696	echo "$gmpclyrics_PKG_ERRORS" >&5
12697
12698	as_fn_error $? "Package requirements (
12699	glib-2.0 >= 2.10
12700	gobject-2.0 >= 2.4
12701	gtk+-2.0 >= 2.8
12702	gmodule-2.0
12703	libxml-2.0
12704	libmpd >= 0.14.99
12705	gmpc >= 0.15.4.102
12706) were not met:
12707
12708$gmpclyrics_PKG_ERRORS
12709
12710Consider adjusting the PKG_CONFIG_PATH environment variable if you
12711installed software in a non-standard prefix.
12712
12713Alternatively, you may set the environment variables gmpclyrics_CFLAGS
12714and gmpclyrics_LIBS to avoid the need to call pkg-config.
12715See the pkg-config man page for more details." "$LINENO" 5
12716elif test $pkg_failed = untried; then
12717     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12718$as_echo "no" >&6; }
12719	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12720$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12721as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12722is in your PATH or set the PKG_CONFIG environment variable to the full
12723path to pkg-config.
12724
12725Alternatively, you may set the environment variables gmpclyrics_CFLAGS
12726and gmpclyrics_LIBS to avoid the need to call pkg-config.
12727See the pkg-config man page for more details.
12728
12729To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12730See \`config.log' for more details" "$LINENO" 5 ; }
12731else
12732	gmpclyrics_CFLAGS=$pkg_cv_gmpclyrics_CFLAGS
12733	gmpclyrics_LIBS=$pkg_cv_gmpclyrics_LIBS
12734        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12735$as_echo "yes" >&6; }
12736
12737fi
12738
12739
12740
12741
12742ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in"
12743
12744cat >confcache <<\_ACEOF
12745# This file is a shell script that caches the results of configure
12746# tests run on this system so they can be shared between configure
12747# scripts and configure runs, see configure's option --config-cache.
12748# It is not useful on other systems.  If it contains results you don't
12749# want to keep, you may remove or edit it.
12750#
12751# config.status only pays attention to the cache file if you give it
12752# the --recheck option to rerun configure.
12753#
12754# `ac_cv_env_foo' variables (set or unset) will be overridden when
12755# loading this file, other *unset* `ac_cv_foo' will be assigned the
12756# following values.
12757
12758_ACEOF
12759
12760# The following way of writing the cache mishandles newlines in values,
12761# but we know of no workaround that is simple, portable, and efficient.
12762# So, we kill variables containing newlines.
12763# Ultrix sh set writes to stderr and can't be redirected directly,
12764# and sets the high bit in the cache file unless we assign to the vars.
12765(
12766  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12767    eval ac_val=\$$ac_var
12768    case $ac_val in #(
12769    *${as_nl}*)
12770      case $ac_var in #(
12771      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12772$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12773      esac
12774      case $ac_var in #(
12775      _ | IFS | as_nl) ;; #(
12776      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12777      *) { eval $ac_var=; unset $ac_var;} ;;
12778      esac ;;
12779    esac
12780  done
12781
12782  (set) 2>&1 |
12783    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12784    *${as_nl}ac_space=\ *)
12785      # `set' does not quote correctly, so add quotes: double-quote
12786      # substitution turns \\\\ into \\, and sed turns \\ into \.
12787      sed -n \
12788	"s/'/'\\\\''/g;
12789	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12790      ;; #(
12791    *)
12792      # `set' quotes correctly as required by POSIX, so do not add quotes.
12793      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12794      ;;
12795    esac |
12796    sort
12797) |
12798  sed '
12799     /^ac_cv_env_/b end
12800     t clear
12801     :clear
12802     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12803     t end
12804     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12805     :end' >>confcache
12806if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12807  if test -w "$cache_file"; then
12808    test "x$cache_file" != "x/dev/null" &&
12809      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12810$as_echo "$as_me: updating cache $cache_file" >&6;}
12811    cat confcache >$cache_file
12812  else
12813    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12814$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12815  fi
12816fi
12817rm -f confcache
12818
12819test "x$prefix" = xNONE && prefix=$ac_default_prefix
12820# Let make expand exec_prefix.
12821test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12822
12823DEFS=-DHAVE_CONFIG_H
12824
12825ac_libobjs=
12826ac_ltlibobjs=
12827U=
12828for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12829  # 1. Remove the extension, and $U if already installed.
12830  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12831  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12832  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12833  #    will be set to the directory where LIBOBJS objects are built.
12834  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12835  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12836done
12837LIBOBJS=$ac_libobjs
12838
12839LTLIBOBJS=$ac_ltlibobjs
12840
12841
12842 if test -n "$EXEEXT"; then
12843  am__EXEEXT_TRUE=
12844  am__EXEEXT_FALSE='#'
12845else
12846  am__EXEEXT_TRUE='#'
12847  am__EXEEXT_FALSE=
12848fi
12849
12850if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12851  as_fn_error $? "conditional \"AMDEP\" was never defined.
12852Usually this means the macro was only invoked conditionally." "$LINENO" 5
12853fi
12854if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12855  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12856Usually this means the macro was only invoked conditionally." "$LINENO" 5
12857fi
12858
12859  ac_config_commands="$ac_config_commands po/stamp-it"
12860
12861
12862if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12863  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12864Usually this means the macro was only invoked conditionally." "$LINENO" 5
12865fi
12866
12867: ${CONFIG_STATUS=./config.status}
12868ac_write_fail=0
12869ac_clean_files_save=$ac_clean_files
12870ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12871{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12872$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12873as_write_fail=0
12874cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12875#! $SHELL
12876# Generated by $as_me.
12877# Run this file to recreate the current configuration.
12878# Compiler output produced by configure, useful for debugging
12879# configure, is in config.log if it exists.
12880
12881debug=false
12882ac_cs_recheck=false
12883ac_cs_silent=false
12884
12885SHELL=\${CONFIG_SHELL-$SHELL}
12886export SHELL
12887_ASEOF
12888cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12889## -------------------- ##
12890## M4sh Initialization. ##
12891## -------------------- ##
12892
12893# Be more Bourne compatible
12894DUALCASE=1; export DUALCASE # for MKS sh
12895if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12896  emulate sh
12897  NULLCMD=:
12898  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12899  # is contrary to our usage.  Disable this feature.
12900  alias -g '${1+"$@"}'='"$@"'
12901  setopt NO_GLOB_SUBST
12902else
12903  case `(set -o) 2>/dev/null` in #(
12904  *posix*) :
12905    set -o posix ;; #(
12906  *) :
12907     ;;
12908esac
12909fi
12910
12911
12912as_nl='
12913'
12914export as_nl
12915# Printing a long string crashes Solaris 7 /usr/bin/printf.
12916as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12917as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12918as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12919# Prefer a ksh shell builtin over an external printf program on Solaris,
12920# but without wasting forks for bash or zsh.
12921if test -z "$BASH_VERSION$ZSH_VERSION" \
12922    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12923  as_echo='print -r --'
12924  as_echo_n='print -rn --'
12925elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12926  as_echo='printf %s\n'
12927  as_echo_n='printf %s'
12928else
12929  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12930    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12931    as_echo_n='/usr/ucb/echo -n'
12932  else
12933    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12934    as_echo_n_body='eval
12935      arg=$1;
12936      case $arg in #(
12937      *"$as_nl"*)
12938	expr "X$arg" : "X\\(.*\\)$as_nl";
12939	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12940      esac;
12941      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12942    '
12943    export as_echo_n_body
12944    as_echo_n='sh -c $as_echo_n_body as_echo'
12945  fi
12946  export as_echo_body
12947  as_echo='sh -c $as_echo_body as_echo'
12948fi
12949
12950# The user is always right.
12951if test "${PATH_SEPARATOR+set}" != set; then
12952  PATH_SEPARATOR=:
12953  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12954    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12955      PATH_SEPARATOR=';'
12956  }
12957fi
12958
12959
12960# IFS
12961# We need space, tab and new line, in precisely that order.  Quoting is
12962# there to prevent editors from complaining about space-tab.
12963# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12964# splitting by setting IFS to empty value.)
12965IFS=" ""	$as_nl"
12966
12967# Find who we are.  Look in the path if we contain no directory separator.
12968case $0 in #((
12969  *[\\/]* ) as_myself=$0 ;;
12970  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12971for as_dir in $PATH
12972do
12973  IFS=$as_save_IFS
12974  test -z "$as_dir" && as_dir=.
12975    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12976  done
12977IFS=$as_save_IFS
12978
12979     ;;
12980esac
12981# We did not find ourselves, most probably we were run as `sh COMMAND'
12982# in which case we are not to be found in the path.
12983if test "x$as_myself" = x; then
12984  as_myself=$0
12985fi
12986if test ! -f "$as_myself"; then
12987  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12988  exit 1
12989fi
12990
12991# Unset variables that we do not need and which cause bugs (e.g. in
12992# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12993# suppresses any "Segmentation fault" message there.  '((' could
12994# trigger a bug in pdksh 5.2.14.
12995for as_var in BASH_ENV ENV MAIL MAILPATH
12996do eval test x\${$as_var+set} = xset \
12997  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12998done
12999PS1='$ '
13000PS2='> '
13001PS4='+ '
13002
13003# NLS nuisances.
13004LC_ALL=C
13005export LC_ALL
13006LANGUAGE=C
13007export LANGUAGE
13008
13009# CDPATH.
13010(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13011
13012
13013# as_fn_error STATUS ERROR [LINENO LOG_FD]
13014# ----------------------------------------
13015# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13016# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13017# script with STATUS, using 1 if that was 0.
13018as_fn_error ()
13019{
13020  as_status=$1; test $as_status -eq 0 && as_status=1
13021  if test "$4"; then
13022    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13023    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13024  fi
13025  $as_echo "$as_me: error: $2" >&2
13026  as_fn_exit $as_status
13027} # as_fn_error
13028
13029
13030# as_fn_set_status STATUS
13031# -----------------------
13032# Set $? to STATUS, without forking.
13033as_fn_set_status ()
13034{
13035  return $1
13036} # as_fn_set_status
13037
13038# as_fn_exit STATUS
13039# -----------------
13040# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13041as_fn_exit ()
13042{
13043  set +e
13044  as_fn_set_status $1
13045  exit $1
13046} # as_fn_exit
13047
13048# as_fn_unset VAR
13049# ---------------
13050# Portably unset VAR.
13051as_fn_unset ()
13052{
13053  { eval $1=; unset $1;}
13054}
13055as_unset=as_fn_unset
13056# as_fn_append VAR VALUE
13057# ----------------------
13058# Append the text in VALUE to the end of the definition contained in VAR. Take
13059# advantage of any shell optimizations that allow amortized linear growth over
13060# repeated appends, instead of the typical quadratic growth present in naive
13061# implementations.
13062if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13063  eval 'as_fn_append ()
13064  {
13065    eval $1+=\$2
13066  }'
13067else
13068  as_fn_append ()
13069  {
13070    eval $1=\$$1\$2
13071  }
13072fi # as_fn_append
13073
13074# as_fn_arith ARG...
13075# ------------------
13076# Perform arithmetic evaluation on the ARGs, and store the result in the
13077# global $as_val. Take advantage of shells that can avoid forks. The arguments
13078# must be portable across $(()) and expr.
13079if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13080  eval 'as_fn_arith ()
13081  {
13082    as_val=$(( $* ))
13083  }'
13084else
13085  as_fn_arith ()
13086  {
13087    as_val=`expr "$@" || test $? -eq 1`
13088  }
13089fi # as_fn_arith
13090
13091
13092if expr a : '\(a\)' >/dev/null 2>&1 &&
13093   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13094  as_expr=expr
13095else
13096  as_expr=false
13097fi
13098
13099if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13100  as_basename=basename
13101else
13102  as_basename=false
13103fi
13104
13105if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13106  as_dirname=dirname
13107else
13108  as_dirname=false
13109fi
13110
13111as_me=`$as_basename -- "$0" ||
13112$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13113	 X"$0" : 'X\(//\)$' \| \
13114	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13115$as_echo X/"$0" |
13116    sed '/^.*\/\([^/][^/]*\)\/*$/{
13117	    s//\1/
13118	    q
13119	  }
13120	  /^X\/\(\/\/\)$/{
13121	    s//\1/
13122	    q
13123	  }
13124	  /^X\/\(\/\).*/{
13125	    s//\1/
13126	    q
13127	  }
13128	  s/.*/./; q'`
13129
13130# Avoid depending upon Character Ranges.
13131as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13132as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13133as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13134as_cr_digits='0123456789'
13135as_cr_alnum=$as_cr_Letters$as_cr_digits
13136
13137ECHO_C= ECHO_N= ECHO_T=
13138case `echo -n x` in #(((((
13139-n*)
13140  case `echo 'xy\c'` in
13141  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13142  xy)  ECHO_C='\c';;
13143  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13144       ECHO_T='	';;
13145  esac;;
13146*)
13147  ECHO_N='-n';;
13148esac
13149
13150rm -f conf$$ conf$$.exe conf$$.file
13151if test -d conf$$.dir; then
13152  rm -f conf$$.dir/conf$$.file
13153else
13154  rm -f conf$$.dir
13155  mkdir conf$$.dir 2>/dev/null
13156fi
13157if (echo >conf$$.file) 2>/dev/null; then
13158  if ln -s conf$$.file conf$$ 2>/dev/null; then
13159    as_ln_s='ln -s'
13160    # ... but there are two gotchas:
13161    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13162    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13163    # In both cases, we have to default to `cp -p'.
13164    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13165      as_ln_s='cp -p'
13166  elif ln conf$$.file conf$$ 2>/dev/null; then
13167    as_ln_s=ln
13168  else
13169    as_ln_s='cp -p'
13170  fi
13171else
13172  as_ln_s='cp -p'
13173fi
13174rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13175rmdir conf$$.dir 2>/dev/null
13176
13177
13178# as_fn_mkdir_p
13179# -------------
13180# Create "$as_dir" as a directory, including parents if necessary.
13181as_fn_mkdir_p ()
13182{
13183
13184  case $as_dir in #(
13185  -*) as_dir=./$as_dir;;
13186  esac
13187  test -d "$as_dir" || eval $as_mkdir_p || {
13188    as_dirs=
13189    while :; do
13190      case $as_dir in #(
13191      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13192      *) as_qdir=$as_dir;;
13193      esac
13194      as_dirs="'$as_qdir' $as_dirs"
13195      as_dir=`$as_dirname -- "$as_dir" ||
13196$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13197	 X"$as_dir" : 'X\(//\)[^/]' \| \
13198	 X"$as_dir" : 'X\(//\)$' \| \
13199	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13200$as_echo X"$as_dir" |
13201    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13202	    s//\1/
13203	    q
13204	  }
13205	  /^X\(\/\/\)[^/].*/{
13206	    s//\1/
13207	    q
13208	  }
13209	  /^X\(\/\/\)$/{
13210	    s//\1/
13211	    q
13212	  }
13213	  /^X\(\/\).*/{
13214	    s//\1/
13215	    q
13216	  }
13217	  s/.*/./; q'`
13218      test -d "$as_dir" && break
13219    done
13220    test -z "$as_dirs" || eval "mkdir $as_dirs"
13221  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13222
13223
13224} # as_fn_mkdir_p
13225if mkdir -p . 2>/dev/null; then
13226  as_mkdir_p='mkdir -p "$as_dir"'
13227else
13228  test -d ./-p && rmdir ./-p
13229  as_mkdir_p=false
13230fi
13231
13232if test -x / >/dev/null 2>&1; then
13233  as_test_x='test -x'
13234else
13235  if ls -dL / >/dev/null 2>&1; then
13236    as_ls_L_option=L
13237  else
13238    as_ls_L_option=
13239  fi
13240  as_test_x='
13241    eval sh -c '\''
13242      if test -d "$1"; then
13243	test -d "$1/.";
13244      else
13245	case $1 in #(
13246	-*)set "./$1";;
13247	esac;
13248	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13249	???[sx]*):;;*)false;;esac;fi
13250    '\'' sh
13251  '
13252fi
13253as_executable_p=$as_test_x
13254
13255# Sed expression to map a string onto a valid CPP name.
13256as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13257
13258# Sed expression to map a string onto a valid variable name.
13259as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13260
13261
13262exec 6>&1
13263## ----------------------------------- ##
13264## Main body of $CONFIG_STATUS script. ##
13265## ----------------------------------- ##
13266_ASEOF
13267test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13268
13269cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13270# Save the log message, to keep $0 and so on meaningful, and to
13271# report actual input values of CONFIG_FILES etc. instead of their
13272# values after options handling.
13273ac_log="
13274This file was extended by gmpc-lyrics $as_me 11.8.16, which was
13275generated by GNU Autoconf 2.67.  Invocation command line was
13276
13277  CONFIG_FILES    = $CONFIG_FILES
13278  CONFIG_HEADERS  = $CONFIG_HEADERS
13279  CONFIG_LINKS    = $CONFIG_LINKS
13280  CONFIG_COMMANDS = $CONFIG_COMMANDS
13281  $ $0 $@
13282
13283on `(hostname || uname -n) 2>/dev/null | sed 1q`
13284"
13285
13286_ACEOF
13287
13288case $ac_config_files in *"
13289"*) set x $ac_config_files; shift; ac_config_files=$*;;
13290esac
13291
13292case $ac_config_headers in *"
13293"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13294esac
13295
13296
13297cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13298# Files that config.status was made for.
13299config_files="$ac_config_files"
13300config_headers="$ac_config_headers"
13301config_commands="$ac_config_commands"
13302
13303_ACEOF
13304
13305cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13306ac_cs_usage="\
13307\`$as_me' instantiates files and other configuration actions
13308from templates according to the current configuration.  Unless the files
13309and actions are specified as TAGs, all are instantiated by default.
13310
13311Usage: $0 [OPTION]... [TAG]...
13312
13313  -h, --help       print this help, then exit
13314  -V, --version    print version number and configuration settings, then exit
13315      --config     print configuration, then exit
13316  -q, --quiet, --silent
13317                   do not print progress messages
13318  -d, --debug      don't remove temporary files
13319      --recheck    update $as_me by reconfiguring in the same conditions
13320      --file=FILE[:TEMPLATE]
13321                   instantiate the configuration file FILE
13322      --header=FILE[:TEMPLATE]
13323                   instantiate the configuration header FILE
13324
13325Configuration files:
13326$config_files
13327
13328Configuration headers:
13329$config_headers
13330
13331Configuration commands:
13332$config_commands
13333
13334Report bugs to <qball@sarine.nl>."
13335
13336_ACEOF
13337cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13338ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13339ac_cs_version="\\
13340gmpc-lyrics config.status 11.8.16
13341configured by $0, generated by GNU Autoconf 2.67,
13342  with options \\"\$ac_cs_config\\"
13343
13344Copyright (C) 2010 Free Software Foundation, Inc.
13345This config.status script is free software; the Free Software Foundation
13346gives unlimited permission to copy, distribute and modify it."
13347
13348ac_pwd='$ac_pwd'
13349srcdir='$srcdir'
13350INSTALL='$INSTALL'
13351MKDIR_P='$MKDIR_P'
13352AWK='$AWK'
13353test -n "\$AWK" || AWK=awk
13354_ACEOF
13355
13356cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13357# The default lists apply if the user does not specify any file.
13358ac_need_defaults=:
13359while test $# != 0
13360do
13361  case $1 in
13362  --*=?*)
13363    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13364    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13365    ac_shift=:
13366    ;;
13367  --*=)
13368    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13369    ac_optarg=
13370    ac_shift=:
13371    ;;
13372  *)
13373    ac_option=$1
13374    ac_optarg=$2
13375    ac_shift=shift
13376    ;;
13377  esac
13378
13379  case $ac_option in
13380  # Handling of the options.
13381  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13382    ac_cs_recheck=: ;;
13383  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13384    $as_echo "$ac_cs_version"; exit ;;
13385  --config | --confi | --conf | --con | --co | --c )
13386    $as_echo "$ac_cs_config"; exit ;;
13387  --debug | --debu | --deb | --de | --d | -d )
13388    debug=: ;;
13389  --file | --fil | --fi | --f )
13390    $ac_shift
13391    case $ac_optarg in
13392    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13393    '') as_fn_error $? "missing file argument" ;;
13394    esac
13395    as_fn_append CONFIG_FILES " '$ac_optarg'"
13396    ac_need_defaults=false;;
13397  --header | --heade | --head | --hea )
13398    $ac_shift
13399    case $ac_optarg in
13400    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13401    esac
13402    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13403    ac_need_defaults=false;;
13404  --he | --h)
13405    # Conflict between --help and --header
13406    as_fn_error $? "ambiguous option: \`$1'
13407Try \`$0 --help' for more information.";;
13408  --help | --hel | -h )
13409    $as_echo "$ac_cs_usage"; exit ;;
13410  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13411  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13412    ac_cs_silent=: ;;
13413
13414  # This is an error.
13415  -*) as_fn_error $? "unrecognized option: \`$1'
13416Try \`$0 --help' for more information." ;;
13417
13418  *) as_fn_append ac_config_targets " $1"
13419     ac_need_defaults=false ;;
13420
13421  esac
13422  shift
13423done
13424
13425ac_configure_extra_args=
13426
13427if $ac_cs_silent; then
13428  exec 6>/dev/null
13429  ac_configure_extra_args="$ac_configure_extra_args --silent"
13430fi
13431
13432_ACEOF
13433cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13434if \$ac_cs_recheck; then
13435  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13436  shift
13437  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13438  CONFIG_SHELL='$SHELL'
13439  export CONFIG_SHELL
13440  exec "\$@"
13441fi
13442
13443_ACEOF
13444cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13445exec 5>>config.log
13446{
13447  echo
13448  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13449## Running $as_me. ##
13450_ASBOX
13451  $as_echo "$ac_log"
13452} >&5
13453
13454_ACEOF
13455cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13456#
13457# INIT-COMMANDS
13458#
13459AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13460
13461
13462
13463# The HP-UX ksh and POSIX shell print the target directory to stdout
13464# if CDPATH is set.
13465(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13466
13467sed_quote_subst='$sed_quote_subst'
13468double_quote_subst='$double_quote_subst'
13469delay_variable_subst='$delay_variable_subst'
13470enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13471macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13472macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13473enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13474pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13475enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13476host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13477host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13478host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13479build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13480build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13481build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13482SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13483Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13484GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13485EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13486FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13487LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13488NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13489LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13490max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13491ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13492exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13493lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13494lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13495lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13496reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13497reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13498OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13499deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13500file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13501AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13502AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13503STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13504RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13505old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13506old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13507old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13508CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13509CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13510compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13511GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13512lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13513lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13514lt_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"`'
13515lt_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"`'
13516objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13517SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13518ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13519MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13520lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13521lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13522lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13523lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13524lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13525need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13526DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13527NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13528LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13529OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13530OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13531libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13532shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13533extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13534archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13535enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13536export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13537whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13538compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13539old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13540old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13541archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13542archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13543module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13544module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13545with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13546allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13547no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13548hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13549hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13550hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13551hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13552hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13553hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13554hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13555hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13556inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13557link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13558fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13559always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13560export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13561exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13562include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13563prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13564file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13565variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13566need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13567need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13568version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13569runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13570shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13571shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13572libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13573library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13574soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13575postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13576postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13577finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13578finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13579hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13580sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13581sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13582hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13583enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13584enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13585enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13586old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13587striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13588
13589LTCC='$LTCC'
13590LTCFLAGS='$LTCFLAGS'
13591compiler='$compiler_DEFAULT'
13592
13593# Quote evaled strings.
13594for var in SED \
13595GREP \
13596EGREP \
13597FGREP \
13598LD \
13599NM \
13600LN_S \
13601lt_SP2NL \
13602lt_NL2SP \
13603reload_flag \
13604OBJDUMP \
13605deplibs_check_method \
13606file_magic_cmd \
13607AR \
13608AR_FLAGS \
13609STRIP \
13610RANLIB \
13611CC \
13612CFLAGS \
13613compiler \
13614lt_cv_sys_global_symbol_pipe \
13615lt_cv_sys_global_symbol_to_cdecl \
13616lt_cv_sys_global_symbol_to_c_name_address \
13617lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13618SHELL \
13619ECHO \
13620lt_prog_compiler_no_builtin_flag \
13621lt_prog_compiler_wl \
13622lt_prog_compiler_pic \
13623lt_prog_compiler_static \
13624lt_cv_prog_compiler_c_o \
13625need_locks \
13626DSYMUTIL \
13627NMEDIT \
13628LIPO \
13629OTOOL \
13630OTOOL64 \
13631shrext_cmds \
13632export_dynamic_flag_spec \
13633whole_archive_flag_spec \
13634compiler_needs_object \
13635with_gnu_ld \
13636allow_undefined_flag \
13637no_undefined_flag \
13638hardcode_libdir_flag_spec \
13639hardcode_libdir_flag_spec_ld \
13640hardcode_libdir_separator \
13641fix_srcfile_path \
13642exclude_expsyms \
13643include_expsyms \
13644file_list_spec \
13645variables_saved_for_relink \
13646libname_spec \
13647library_names_spec \
13648soname_spec \
13649finish_eval \
13650old_striplib \
13651striplib; do
13652    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13653    *[\\\\\\\`\\"\\\$]*)
13654      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13655      ;;
13656    *)
13657      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13658      ;;
13659    esac
13660done
13661
13662# Double-quote double-evaled strings.
13663for var in reload_cmds \
13664old_postinstall_cmds \
13665old_postuninstall_cmds \
13666old_archive_cmds \
13667extract_expsyms_cmds \
13668old_archive_from_new_cmds \
13669old_archive_from_expsyms_cmds \
13670archive_cmds \
13671archive_expsym_cmds \
13672module_cmds \
13673module_expsym_cmds \
13674export_symbols_cmds \
13675prelink_cmds \
13676postinstall_cmds \
13677postuninstall_cmds \
13678finish_cmds \
13679sys_lib_search_path_spec \
13680sys_lib_dlsearch_path_spec; do
13681    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13682    *[\\\\\\\`\\"\\\$]*)
13683      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13684      ;;
13685    *)
13686      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13687      ;;
13688    esac
13689done
13690
13691# Fix-up fallback echo if it was mangled by the above quoting rules.
13692case \$lt_ECHO in
13693*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13694  ;;
13695esac
13696
13697ac_aux_dir='$ac_aux_dir'
13698xsi_shell='$xsi_shell'
13699lt_shell_append='$lt_shell_append'
13700
13701# See if we are running on zsh, and set the options which allow our
13702# commands through without removal of \ escapes INIT.
13703if test -n "\${ZSH_VERSION+set}" ; then
13704   setopt NO_GLOB_SUBST
13705fi
13706
13707
13708    PACKAGE='$PACKAGE'
13709    VERSION='$VERSION'
13710    TIMESTAMP='$TIMESTAMP'
13711    RM='$RM'
13712    ofile='$ofile'
13713
13714
13715
13716
13717_ACEOF
13718
13719cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13720
13721# Handling of arguments.
13722for ac_config_target in $ac_config_targets
13723do
13724  case $ac_config_target in
13725    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13726    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13727    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13728    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13729    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13730    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13731    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
13732    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
13733
13734  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
13735  esac
13736done
13737
13738
13739# If the user did not use the arguments to specify the items to instantiate,
13740# then the envvar interface is used.  Set only those that are not.
13741# We use the long form for the default assignment because of an extremely
13742# bizarre bug on SunOS 4.1.3.
13743if $ac_need_defaults; then
13744  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13745  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13746  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13747fi
13748
13749# Have a temporary directory for convenience.  Make it in the build tree
13750# simply because there is no reason against having it here, and in addition,
13751# creating and moving files from /tmp can sometimes cause problems.
13752# Hook for its removal unless debugging.
13753# Note that there is a small window in which the directory will not be cleaned:
13754# after its creation but before its name has been assigned to `$tmp'.
13755$debug ||
13756{
13757  tmp=
13758  trap 'exit_status=$?
13759  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13760' 0
13761  trap 'as_fn_exit 1' 1 2 13 15
13762}
13763# Create a (secure) tmp directory for tmp files.
13764
13765{
13766  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13767  test -n "$tmp" && test -d "$tmp"
13768}  ||
13769{
13770  tmp=./conf$$-$RANDOM
13771  (umask 077 && mkdir "$tmp")
13772} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13773
13774# Set up the scripts for CONFIG_FILES section.
13775# No need to generate them if there are no CONFIG_FILES.
13776# This happens for instance with `./config.status config.h'.
13777if test -n "$CONFIG_FILES"; then
13778
13779
13780ac_cr=`echo X | tr X '\015'`
13781# On cygwin, bash can eat \r inside `` if the user requested igncr.
13782# But we know of no other shell where ac_cr would be empty at this
13783# point, so we can use a bashism as a fallback.
13784if test "x$ac_cr" = x; then
13785  eval ac_cr=\$\'\\r\'
13786fi
13787ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13788if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13789  ac_cs_awk_cr='\\r'
13790else
13791  ac_cs_awk_cr=$ac_cr
13792fi
13793
13794echo 'BEGIN {' >"$tmp/subs1.awk" &&
13795_ACEOF
13796
13797
13798{
13799  echo "cat >conf$$subs.awk <<_ACEOF" &&
13800  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13801  echo "_ACEOF"
13802} >conf$$subs.sh ||
13803  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13804ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13805ac_delim='%!_!# '
13806for ac_last_try in false false false false false :; do
13807  . ./conf$$subs.sh ||
13808    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13809
13810  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13811  if test $ac_delim_n = $ac_delim_num; then
13812    break
13813  elif $ac_last_try; then
13814    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13815  else
13816    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13817  fi
13818done
13819rm -f conf$$subs.sh
13820
13821cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13822cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13823_ACEOF
13824sed -n '
13825h
13826s/^/S["/; s/!.*/"]=/
13827p
13828g
13829s/^[^!]*!//
13830:repl
13831t repl
13832s/'"$ac_delim"'$//
13833t delim
13834:nl
13835h
13836s/\(.\{148\}\)..*/\1/
13837t more1
13838s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13839p
13840n
13841b repl
13842:more1
13843s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13844p
13845g
13846s/.\{148\}//
13847t nl
13848:delim
13849h
13850s/\(.\{148\}\)..*/\1/
13851t more2
13852s/["\\]/\\&/g; s/^/"/; s/$/"/
13853p
13854b
13855:more2
13856s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13857p
13858g
13859s/.\{148\}//
13860t delim
13861' <conf$$subs.awk | sed '
13862/^[^""]/{
13863  N
13864  s/\n//
13865}
13866' >>$CONFIG_STATUS || ac_write_fail=1
13867rm -f conf$$subs.awk
13868cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13869_ACAWK
13870cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13871  for (key in S) S_is_set[key] = 1
13872  FS = ""
13873
13874}
13875{
13876  line = $ 0
13877  nfields = split(line, field, "@")
13878  substed = 0
13879  len = length(field[1])
13880  for (i = 2; i < nfields; i++) {
13881    key = field[i]
13882    keylen = length(key)
13883    if (S_is_set[key]) {
13884      value = S[key]
13885      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13886      len += length(value) + length(field[++i])
13887      substed = 1
13888    } else
13889      len += 1 + keylen
13890  }
13891
13892  print line
13893}
13894
13895_ACAWK
13896_ACEOF
13897cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13898if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13899  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13900else
13901  cat
13902fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13903  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13904_ACEOF
13905
13906# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13907# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13908# trailing colons and then remove the whole line if VPATH becomes empty
13909# (actually we leave an empty line to preserve line numbers).
13910if test "x$srcdir" = x.; then
13911  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
13912h
13913s///
13914s/^/:/
13915s/[	 ]*$/:/
13916s/:\$(srcdir):/:/g
13917s/:\${srcdir}:/:/g
13918s/:@srcdir@:/:/g
13919s/^:*//
13920s/:*$//
13921x
13922s/\(=[	 ]*\).*/\1/
13923G
13924s/\n//
13925s/^[^=]*=[	 ]*$//
13926}'
13927fi
13928
13929cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13930fi # test -n "$CONFIG_FILES"
13931
13932# Set up the scripts for CONFIG_HEADERS section.
13933# No need to generate them if there are no CONFIG_HEADERS.
13934# This happens for instance with `./config.status Makefile'.
13935if test -n "$CONFIG_HEADERS"; then
13936cat >"$tmp/defines.awk" <<\_ACAWK ||
13937BEGIN {
13938_ACEOF
13939
13940# Transform confdefs.h into an awk script `defines.awk', embedded as
13941# here-document in config.status, that substitutes the proper values into
13942# config.h.in to produce config.h.
13943
13944# Create a delimiter string that does not exist in confdefs.h, to ease
13945# handling of long lines.
13946ac_delim='%!_!# '
13947for ac_last_try in false false :; do
13948  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13949  if test -z "$ac_t"; then
13950    break
13951  elif $ac_last_try; then
13952    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13953  else
13954    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13955  fi
13956done
13957
13958# For the awk script, D is an array of macro values keyed by name,
13959# likewise P contains macro parameters if any.  Preserve backslash
13960# newline sequences.
13961
13962ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13963sed -n '
13964s/.\{148\}/&'"$ac_delim"'/g
13965t rset
13966:rset
13967s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
13968t def
13969d
13970:def
13971s/\\$//
13972t bsnl
13973s/["\\]/\\&/g
13974s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13975D["\1"]=" \3"/p
13976s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
13977d
13978:bsnl
13979s/["\\]/\\&/g
13980s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13981D["\1"]=" \3\\\\\\n"\\/p
13982t cont
13983s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13984t cont
13985d
13986:cont
13987n
13988s/.\{148\}/&'"$ac_delim"'/g
13989t clear
13990:clear
13991s/\\$//
13992t bsnlc
13993s/["\\]/\\&/g; s/^/"/; s/$/"/p
13994d
13995:bsnlc
13996s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13997b cont
13998' <confdefs.h | sed '
13999s/'"$ac_delim"'/"\\\
14000"/g' >>$CONFIG_STATUS || ac_write_fail=1
14001
14002cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14003  for (key in D) D_is_set[key] = 1
14004  FS = ""
14005}
14006/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14007  line = \$ 0
14008  split(line, arg, " ")
14009  if (arg[1] == "#") {
14010    defundef = arg[2]
14011    mac1 = arg[3]
14012  } else {
14013    defundef = substr(arg[1], 2)
14014    mac1 = arg[2]
14015  }
14016  split(mac1, mac2, "(") #)
14017  macro = mac2[1]
14018  prefix = substr(line, 1, index(line, defundef) - 1)
14019  if (D_is_set[macro]) {
14020    # Preserve the white space surrounding the "#".
14021    print prefix "define", macro P[macro] D[macro]
14022    next
14023  } else {
14024    # Replace #undef with comments.  This is necessary, for example,
14025    # in the case of _POSIX_SOURCE, which is predefined and required
14026    # on some systems where configure will not decide to define it.
14027    if (defundef == "undef") {
14028      print "/*", prefix defundef, macro, "*/"
14029      next
14030    }
14031  }
14032}
14033{ print }
14034_ACAWK
14035_ACEOF
14036cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14037  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14038fi # test -n "$CONFIG_HEADERS"
14039
14040
14041eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14042shift
14043for ac_tag
14044do
14045  case $ac_tag in
14046  :[FHLC]) ac_mode=$ac_tag; continue;;
14047  esac
14048  case $ac_mode$ac_tag in
14049  :[FHL]*:*);;
14050  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
14051  :[FH]-) ac_tag=-:-;;
14052  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14053  esac
14054  ac_save_IFS=$IFS
14055  IFS=:
14056  set x $ac_tag
14057  IFS=$ac_save_IFS
14058  shift
14059  ac_file=$1
14060  shift
14061
14062  case $ac_mode in
14063  :L) ac_source=$1;;
14064  :[FH])
14065    ac_file_inputs=
14066    for ac_f
14067    do
14068      case $ac_f in
14069      -) ac_f="$tmp/stdin";;
14070      *) # Look for the file first in the build tree, then in the source tree
14071	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14072	 # because $ac_f cannot contain `:'.
14073	 test -f "$ac_f" ||
14074	   case $ac_f in
14075	   [\\/$]*) false;;
14076	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14077	   esac ||
14078	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
14079      esac
14080      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14081      as_fn_append ac_file_inputs " '$ac_f'"
14082    done
14083
14084    # Let's still pretend it is `configure' which instantiates (i.e., don't
14085    # use $as_me), people would be surprised to read:
14086    #    /* config.h.  Generated by config.status.  */
14087    configure_input='Generated from '`
14088	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14089	`' by configure.'
14090    if test x"$ac_file" != x-; then
14091      configure_input="$ac_file.  $configure_input"
14092      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14093$as_echo "$as_me: creating $ac_file" >&6;}
14094    fi
14095    # Neutralize special characters interpreted by sed in replacement strings.
14096    case $configure_input in #(
14097    *\&* | *\|* | *\\* )
14098       ac_sed_conf_input=`$as_echo "$configure_input" |
14099       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14100    *) ac_sed_conf_input=$configure_input;;
14101    esac
14102
14103    case $ac_tag in
14104    *:-:* | *:-) cat >"$tmp/stdin" \
14105      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
14106    esac
14107    ;;
14108  esac
14109
14110  ac_dir=`$as_dirname -- "$ac_file" ||
14111$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14112	 X"$ac_file" : 'X\(//\)[^/]' \| \
14113	 X"$ac_file" : 'X\(//\)$' \| \
14114	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14115$as_echo X"$ac_file" |
14116    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14117	    s//\1/
14118	    q
14119	  }
14120	  /^X\(\/\/\)[^/].*/{
14121	    s//\1/
14122	    q
14123	  }
14124	  /^X\(\/\/\)$/{
14125	    s//\1/
14126	    q
14127	  }
14128	  /^X\(\/\).*/{
14129	    s//\1/
14130	    q
14131	  }
14132	  s/.*/./; q'`
14133  as_dir="$ac_dir"; as_fn_mkdir_p
14134  ac_builddir=.
14135
14136case "$ac_dir" in
14137.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14138*)
14139  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14140  # A ".." for each directory in $ac_dir_suffix.
14141  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14142  case $ac_top_builddir_sub in
14143  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14144  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14145  esac ;;
14146esac
14147ac_abs_top_builddir=$ac_pwd
14148ac_abs_builddir=$ac_pwd$ac_dir_suffix
14149# for backward compatibility:
14150ac_top_builddir=$ac_top_build_prefix
14151
14152case $srcdir in
14153  .)  # We are building in place.
14154    ac_srcdir=.
14155    ac_top_srcdir=$ac_top_builddir_sub
14156    ac_abs_top_srcdir=$ac_pwd ;;
14157  [\\/]* | ?:[\\/]* )  # Absolute name.
14158    ac_srcdir=$srcdir$ac_dir_suffix;
14159    ac_top_srcdir=$srcdir
14160    ac_abs_top_srcdir=$srcdir ;;
14161  *) # Relative name.
14162    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14163    ac_top_srcdir=$ac_top_build_prefix$srcdir
14164    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14165esac
14166ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14167
14168
14169  case $ac_mode in
14170  :F)
14171  #
14172  # CONFIG_FILE
14173  #
14174
14175  case $INSTALL in
14176  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14177  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14178  esac
14179  ac_MKDIR_P=$MKDIR_P
14180  case $MKDIR_P in
14181  [\\/$]* | ?:[\\/]* ) ;;
14182  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14183  esac
14184_ACEOF
14185
14186cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14187# If the template does not know about datarootdir, expand it.
14188# FIXME: This hack should be removed a few years after 2.60.
14189ac_datarootdir_hack=; ac_datarootdir_seen=
14190ac_sed_dataroot='
14191/datarootdir/ {
14192  p
14193  q
14194}
14195/@datadir@/p
14196/@docdir@/p
14197/@infodir@/p
14198/@localedir@/p
14199/@mandir@/p'
14200case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14201*datarootdir*) ac_datarootdir_seen=yes;;
14202*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14203  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14204$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14205_ACEOF
14206cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14207  ac_datarootdir_hack='
14208  s&@datadir@&$datadir&g
14209  s&@docdir@&$docdir&g
14210  s&@infodir@&$infodir&g
14211  s&@localedir@&$localedir&g
14212  s&@mandir@&$mandir&g
14213  s&\\\${datarootdir}&$datarootdir&g' ;;
14214esac
14215_ACEOF
14216
14217# Neutralize VPATH when `$srcdir' = `.'.
14218# Shell code in configure.ac might set extrasub.
14219# FIXME: do we really want to maintain this feature?
14220cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14221ac_sed_extra="$ac_vpsub
14222$extrasub
14223_ACEOF
14224cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14225:t
14226/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14227s|@configure_input@|$ac_sed_conf_input|;t t
14228s&@top_builddir@&$ac_top_builddir_sub&;t t
14229s&@top_build_prefix@&$ac_top_build_prefix&;t t
14230s&@srcdir@&$ac_srcdir&;t t
14231s&@abs_srcdir@&$ac_abs_srcdir&;t t
14232s&@top_srcdir@&$ac_top_srcdir&;t t
14233s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14234s&@builddir@&$ac_builddir&;t t
14235s&@abs_builddir@&$ac_abs_builddir&;t t
14236s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14237s&@INSTALL@&$ac_INSTALL&;t t
14238s&@MKDIR_P@&$ac_MKDIR_P&;t t
14239$ac_datarootdir_hack
14240"
14241eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14242  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14243
14244test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14245  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14246  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14247  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14248which seems to be undefined.  Please make sure it is defined" >&5
14249$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14250which seems to be undefined.  Please make sure it is defined" >&2;}
14251
14252  rm -f "$tmp/stdin"
14253  case $ac_file in
14254  -) cat "$tmp/out" && rm -f "$tmp/out";;
14255  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14256  esac \
14257  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14258 ;;
14259  :H)
14260  #
14261  # CONFIG_HEADER
14262  #
14263  if test x"$ac_file" != x-; then
14264    {
14265      $as_echo "/* $configure_input  */" \
14266      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14267    } >"$tmp/config.h" \
14268      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14269    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14270      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14271$as_echo "$as_me: $ac_file is unchanged" >&6;}
14272    else
14273      rm -f "$ac_file"
14274      mv "$tmp/config.h" "$ac_file" \
14275	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14276    fi
14277  else
14278    $as_echo "/* $configure_input  */" \
14279      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14280      || as_fn_error $? "could not create -" "$LINENO" 5
14281  fi
14282# Compute "$ac_file"'s index in $config_headers.
14283_am_arg="$ac_file"
14284_am_stamp_count=1
14285for _am_header in $config_headers :; do
14286  case $_am_header in
14287    $_am_arg | $_am_arg:* )
14288      break ;;
14289    * )
14290      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14291  esac
14292done
14293echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14294$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14295	 X"$_am_arg" : 'X\(//\)[^/]' \| \
14296	 X"$_am_arg" : 'X\(//\)$' \| \
14297	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14298$as_echo X"$_am_arg" |
14299    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14300	    s//\1/
14301	    q
14302	  }
14303	  /^X\(\/\/\)[^/].*/{
14304	    s//\1/
14305	    q
14306	  }
14307	  /^X\(\/\/\)$/{
14308	    s//\1/
14309	    q
14310	  }
14311	  /^X\(\/\).*/{
14312	    s//\1/
14313	    q
14314	  }
14315	  s/.*/./; q'`/stamp-h$_am_stamp_count
14316 ;;
14317
14318  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14319$as_echo "$as_me: executing $ac_file commands" >&6;}
14320 ;;
14321  esac
14322
14323
14324  case $ac_file$ac_mode in
14325    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14326  # Autoconf 2.62 quotes --file arguments for eval, but not when files
14327  # are listed without --file.  Let's play safe and only enable the eval
14328  # if we detect the quoting.
14329  case $CONFIG_FILES in
14330  *\'*) eval set x "$CONFIG_FILES" ;;
14331  *)   set x $CONFIG_FILES ;;
14332  esac
14333  shift
14334  for mf
14335  do
14336    # Strip MF so we end up with the name of the file.
14337    mf=`echo "$mf" | sed -e 's/:.*$//'`
14338    # Check whether this is an Automake generated Makefile or not.
14339    # We used to match only the files named `Makefile.in', but
14340    # some people rename them; so instead we look at the file content.
14341    # Grep'ing the first line is not enough: some people post-process
14342    # each Makefile.in and add a new line on top of each file to say so.
14343    # Grep'ing the whole file is not good either: AIX grep has a line
14344    # limit of 2048, but all sed's we know have understand at least 4000.
14345    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14346      dirpart=`$as_dirname -- "$mf" ||
14347$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14348	 X"$mf" : 'X\(//\)[^/]' \| \
14349	 X"$mf" : 'X\(//\)$' \| \
14350	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14351$as_echo X"$mf" |
14352    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14353	    s//\1/
14354	    q
14355	  }
14356	  /^X\(\/\/\)[^/].*/{
14357	    s//\1/
14358	    q
14359	  }
14360	  /^X\(\/\/\)$/{
14361	    s//\1/
14362	    q
14363	  }
14364	  /^X\(\/\).*/{
14365	    s//\1/
14366	    q
14367	  }
14368	  s/.*/./; q'`
14369    else
14370      continue
14371    fi
14372    # Extract the definition of DEPDIR, am__include, and am__quote
14373    # from the Makefile without running `make'.
14374    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14375    test -z "$DEPDIR" && continue
14376    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14377    test -z "am__include" && continue
14378    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14379    # When using ansi2knr, U may be empty or an underscore; expand it
14380    U=`sed -n 's/^U = //p' < "$mf"`
14381    # Find all dependency output files, they are included files with
14382    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14383    # simplest approach to changing $(DEPDIR) to its actual value in the
14384    # expansion.
14385    for file in `sed -n "
14386      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14387	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14388      # Make sure the directory exists.
14389      test -f "$dirpart/$file" && continue
14390      fdir=`$as_dirname -- "$file" ||
14391$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14392	 X"$file" : 'X\(//\)[^/]' \| \
14393	 X"$file" : 'X\(//\)$' \| \
14394	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14395$as_echo X"$file" |
14396    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14397	    s//\1/
14398	    q
14399	  }
14400	  /^X\(\/\/\)[^/].*/{
14401	    s//\1/
14402	    q
14403	  }
14404	  /^X\(\/\/\)$/{
14405	    s//\1/
14406	    q
14407	  }
14408	  /^X\(\/\).*/{
14409	    s//\1/
14410	    q
14411	  }
14412	  s/.*/./; q'`
14413      as_dir=$dirpart/$fdir; as_fn_mkdir_p
14414      # echo "creating $dirpart/$file"
14415      echo '# dummy' > "$dirpart/$file"
14416    done
14417  done
14418}
14419 ;;
14420    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
14421        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
14422      esac ;;
14423    "libtool":C)
14424
14425    # See if we are running on zsh, and set the options which allow our
14426    # commands through without removal of \ escapes.
14427    if test -n "${ZSH_VERSION+set}" ; then
14428      setopt NO_GLOB_SUBST
14429    fi
14430
14431    cfgfile="${ofile}T"
14432    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14433    $RM "$cfgfile"
14434
14435    cat <<_LT_EOF >> "$cfgfile"
14436#! $SHELL
14437
14438# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14439# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14440# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14441# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14442#
14443#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14444#                 2006, 2007, 2008 Free Software Foundation, Inc.
14445#   Written by Gordon Matzigkeit, 1996
14446#
14447#   This file is part of GNU Libtool.
14448#
14449# GNU Libtool is free software; you can redistribute it and/or
14450# modify it under the terms of the GNU General Public License as
14451# published by the Free Software Foundation; either version 2 of
14452# the License, or (at your option) any later version.
14453#
14454# As a special exception to the GNU General Public License,
14455# if you distribute this file as part of a program or library that
14456# is built using GNU Libtool, you may include this file under the
14457# same distribution terms that you use for the rest of that program.
14458#
14459# GNU Libtool is distributed in the hope that it will be useful,
14460# but WITHOUT ANY WARRANTY; without even the implied warranty of
14461# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14462# GNU General Public License for more details.
14463#
14464# You should have received a copy of the GNU General Public License
14465# along with GNU Libtool; see the file COPYING.  If not, a copy
14466# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14467# obtained by writing to the Free Software Foundation, Inc.,
14468# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14469
14470
14471# The names of the tagged configurations supported by this script.
14472available_tags=""
14473
14474# ### BEGIN LIBTOOL CONFIG
14475
14476# Whether or not to build static libraries.
14477build_old_libs=$enable_static
14478
14479# Which release of libtool.m4 was used?
14480macro_version=$macro_version
14481macro_revision=$macro_revision
14482
14483# Whether or not to build shared libraries.
14484build_libtool_libs=$enable_shared
14485
14486# What type of objects to build.
14487pic_mode=$pic_mode
14488
14489# Whether or not to optimize for fast installation.
14490fast_install=$enable_fast_install
14491
14492# The host system.
14493host_alias=$host_alias
14494host=$host
14495host_os=$host_os
14496
14497# The build system.
14498build_alias=$build_alias
14499build=$build
14500build_os=$build_os
14501
14502# A sed program that does not truncate output.
14503SED=$lt_SED
14504
14505# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14506Xsed="\$SED -e 1s/^X//"
14507
14508# A grep program that handles long lines.
14509GREP=$lt_GREP
14510
14511# An ERE matcher.
14512EGREP=$lt_EGREP
14513
14514# A literal string matcher.
14515FGREP=$lt_FGREP
14516
14517# A BSD- or MS-compatible name lister.
14518NM=$lt_NM
14519
14520# Whether we need soft or hard links.
14521LN_S=$lt_LN_S
14522
14523# What is the maximum length of a command?
14524max_cmd_len=$max_cmd_len
14525
14526# Object file suffix (normally "o").
14527objext=$ac_objext
14528
14529# Executable file suffix (normally "").
14530exeext=$exeext
14531
14532# whether the shell understands "unset".
14533lt_unset=$lt_unset
14534
14535# turn spaces into newlines.
14536SP2NL=$lt_lt_SP2NL
14537
14538# turn newlines into spaces.
14539NL2SP=$lt_lt_NL2SP
14540
14541# How to create reloadable object files.
14542reload_flag=$lt_reload_flag
14543reload_cmds=$lt_reload_cmds
14544
14545# An object symbol dumper.
14546OBJDUMP=$lt_OBJDUMP
14547
14548# Method to check whether dependent libraries are shared objects.
14549deplibs_check_method=$lt_deplibs_check_method
14550
14551# Command to use when deplibs_check_method == "file_magic".
14552file_magic_cmd=$lt_file_magic_cmd
14553
14554# The archiver.
14555AR=$lt_AR
14556AR_FLAGS=$lt_AR_FLAGS
14557
14558# A symbol stripping program.
14559STRIP=$lt_STRIP
14560
14561# Commands used to install an old-style archive.
14562RANLIB=$lt_RANLIB
14563old_postinstall_cmds=$lt_old_postinstall_cmds
14564old_postuninstall_cmds=$lt_old_postuninstall_cmds
14565
14566# A C compiler.
14567LTCC=$lt_CC
14568
14569# LTCC compiler flags.
14570LTCFLAGS=$lt_CFLAGS
14571
14572# Take the output of nm and produce a listing of raw symbols and C names.
14573global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14574
14575# Transform the output of nm in a proper C declaration.
14576global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14577
14578# Transform the output of nm in a C name address pair.
14579global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14580
14581# Transform the output of nm in a C name address pair when lib prefix is needed.
14582global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14583
14584# The name of the directory that contains temporary libtool files.
14585objdir=$objdir
14586
14587# Shell to use when invoking shell scripts.
14588SHELL=$lt_SHELL
14589
14590# An echo program that does not interpret backslashes.
14591ECHO=$lt_ECHO
14592
14593# Used to examine libraries when file_magic_cmd begins with "file".
14594MAGIC_CMD=$MAGIC_CMD
14595
14596# Must we lock files when doing compilation?
14597need_locks=$lt_need_locks
14598
14599# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14600DSYMUTIL=$lt_DSYMUTIL
14601
14602# Tool to change global to local symbols on Mac OS X.
14603NMEDIT=$lt_NMEDIT
14604
14605# Tool to manipulate fat objects and archives on Mac OS X.
14606LIPO=$lt_LIPO
14607
14608# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14609OTOOL=$lt_OTOOL
14610
14611# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14612OTOOL64=$lt_OTOOL64
14613
14614# Old archive suffix (normally "a").
14615libext=$libext
14616
14617# Shared library suffix (normally ".so").
14618shrext_cmds=$lt_shrext_cmds
14619
14620# The commands to extract the exported symbol list from a shared archive.
14621extract_expsyms_cmds=$lt_extract_expsyms_cmds
14622
14623# Variables whose values should be saved in libtool wrapper scripts and
14624# restored at link time.
14625variables_saved_for_relink=$lt_variables_saved_for_relink
14626
14627# Do we need the "lib" prefix for modules?
14628need_lib_prefix=$need_lib_prefix
14629
14630# Do we need a version for libraries?
14631need_version=$need_version
14632
14633# Library versioning type.
14634version_type=$version_type
14635
14636# Shared library runtime path variable.
14637runpath_var=$runpath_var
14638
14639# Shared library path variable.
14640shlibpath_var=$shlibpath_var
14641
14642# Is shlibpath searched before the hard-coded library search path?
14643shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14644
14645# Format of library name prefix.
14646libname_spec=$lt_libname_spec
14647
14648# List of archive names.  First name is the real one, the rest are links.
14649# The last name is the one that the linker finds with -lNAME
14650library_names_spec=$lt_library_names_spec
14651
14652# The coded name of the library, if different from the real name.
14653soname_spec=$lt_soname_spec
14654
14655# Command to use after installation of a shared archive.
14656postinstall_cmds=$lt_postinstall_cmds
14657
14658# Command to use after uninstallation of a shared archive.
14659postuninstall_cmds=$lt_postuninstall_cmds
14660
14661# Commands used to finish a libtool library installation in a directory.
14662finish_cmds=$lt_finish_cmds
14663
14664# As "finish_cmds", except a single script fragment to be evaled but
14665# not shown.
14666finish_eval=$lt_finish_eval
14667
14668# Whether we should hardcode library paths into libraries.
14669hardcode_into_libs=$hardcode_into_libs
14670
14671# Compile-time system search path for libraries.
14672sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14673
14674# Run-time system search path for libraries.
14675sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14676
14677# Whether dlopen is supported.
14678dlopen_support=$enable_dlopen
14679
14680# Whether dlopen of programs is supported.
14681dlopen_self=$enable_dlopen_self
14682
14683# Whether dlopen of statically linked programs is supported.
14684dlopen_self_static=$enable_dlopen_self_static
14685
14686# Commands to strip libraries.
14687old_striplib=$lt_old_striplib
14688striplib=$lt_striplib
14689
14690
14691# The linker used to build libraries.
14692LD=$lt_LD
14693
14694# Commands used to build an old-style archive.
14695old_archive_cmds=$lt_old_archive_cmds
14696
14697# A language specific compiler.
14698CC=$lt_compiler
14699
14700# Is the compiler the GNU compiler?
14701with_gcc=$GCC
14702
14703# Compiler flag to turn off builtin functions.
14704no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14705
14706# How to pass a linker flag through the compiler.
14707wl=$lt_lt_prog_compiler_wl
14708
14709# Additional compiler flags for building library objects.
14710pic_flag=$lt_lt_prog_compiler_pic
14711
14712# Compiler flag to prevent dynamic linking.
14713link_static_flag=$lt_lt_prog_compiler_static
14714
14715# Does compiler simultaneously support -c and -o options?
14716compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14717
14718# Whether or not to add -lc for building shared libraries.
14719build_libtool_need_lc=$archive_cmds_need_lc
14720
14721# Whether or not to disallow shared libs when runtime libs are static.
14722allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14723
14724# Compiler flag to allow reflexive dlopens.
14725export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14726
14727# Compiler flag to generate shared objects directly from archives.
14728whole_archive_flag_spec=$lt_whole_archive_flag_spec
14729
14730# Whether the compiler copes with passing no objects directly.
14731compiler_needs_object=$lt_compiler_needs_object
14732
14733# Create an old-style archive from a shared archive.
14734old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14735
14736# Create a temporary old-style archive to link instead of a shared archive.
14737old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14738
14739# Commands used to build a shared archive.
14740archive_cmds=$lt_archive_cmds
14741archive_expsym_cmds=$lt_archive_expsym_cmds
14742
14743# Commands used to build a loadable module if different from building
14744# a shared archive.
14745module_cmds=$lt_module_cmds
14746module_expsym_cmds=$lt_module_expsym_cmds
14747
14748# Whether we are building with GNU ld or not.
14749with_gnu_ld=$lt_with_gnu_ld
14750
14751# Flag that allows shared libraries with undefined symbols to be built.
14752allow_undefined_flag=$lt_allow_undefined_flag
14753
14754# Flag that enforces no undefined symbols.
14755no_undefined_flag=$lt_no_undefined_flag
14756
14757# Flag to hardcode \$libdir into a binary during linking.
14758# This must work even if \$libdir does not exist
14759hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14760
14761# If ld is used when linking, flag to hardcode \$libdir into a binary
14762# during linking.  This must work even if \$libdir does not exist.
14763hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14764
14765# Whether we need a single "-rpath" flag with a separated argument.
14766hardcode_libdir_separator=$lt_hardcode_libdir_separator
14767
14768# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14769# DIR into the resulting binary.
14770hardcode_direct=$hardcode_direct
14771
14772# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14773# DIR into the resulting binary and the resulting library dependency is
14774# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14775# library is relocated.
14776hardcode_direct_absolute=$hardcode_direct_absolute
14777
14778# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14779# into the resulting binary.
14780hardcode_minus_L=$hardcode_minus_L
14781
14782# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14783# into the resulting binary.
14784hardcode_shlibpath_var=$hardcode_shlibpath_var
14785
14786# Set to "yes" if building a shared library automatically hardcodes DIR
14787# into the library and all subsequent libraries and executables linked
14788# against it.
14789hardcode_automatic=$hardcode_automatic
14790
14791# Set to yes if linker adds runtime paths of dependent libraries
14792# to runtime path list.
14793inherit_rpath=$inherit_rpath
14794
14795# Whether libtool must link a program against all its dependency libraries.
14796link_all_deplibs=$link_all_deplibs
14797
14798# Fix the shell variable \$srcfile for the compiler.
14799fix_srcfile_path=$lt_fix_srcfile_path
14800
14801# Set to "yes" if exported symbols are required.
14802always_export_symbols=$always_export_symbols
14803
14804# The commands to list exported symbols.
14805export_symbols_cmds=$lt_export_symbols_cmds
14806
14807# Symbols that should not be listed in the preloaded symbols.
14808exclude_expsyms=$lt_exclude_expsyms
14809
14810# Symbols that must always be exported.
14811include_expsyms=$lt_include_expsyms
14812
14813# Commands necessary for linking programs (against libraries) with templates.
14814prelink_cmds=$lt_prelink_cmds
14815
14816# Specify filename containing input files.
14817file_list_spec=$lt_file_list_spec
14818
14819# How to hardcode a shared library path into an executable.
14820hardcode_action=$hardcode_action
14821
14822# ### END LIBTOOL CONFIG
14823
14824_LT_EOF
14825
14826  case $host_os in
14827  aix3*)
14828    cat <<\_LT_EOF >> "$cfgfile"
14829# AIX sometimes has problems with the GCC collect2 program.  For some
14830# reason, if we set the COLLECT_NAMES environment variable, the problems
14831# vanish in a puff of smoke.
14832if test "X${COLLECT_NAMES+set}" != Xset; then
14833  COLLECT_NAMES=
14834  export COLLECT_NAMES
14835fi
14836_LT_EOF
14837    ;;
14838  esac
14839
14840
14841ltmain="$ac_aux_dir/ltmain.sh"
14842
14843
14844  # We use sed instead of cat because bash on DJGPP gets confused if
14845  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14846  # text mode, it properly converts lines to CR/LF.  This bash problem
14847  # is reportedly fixed, but why not run on old versions too?
14848  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14849    || (rm -f "$cfgfile"; exit 1)
14850
14851  case $xsi_shell in
14852  yes)
14853    cat << \_LT_EOF >> "$cfgfile"
14854
14855# func_dirname file append nondir_replacement
14856# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14857# otherwise set result to NONDIR_REPLACEMENT.
14858func_dirname ()
14859{
14860  case ${1} in
14861    */*) func_dirname_result="${1%/*}${2}" ;;
14862    *  ) func_dirname_result="${3}" ;;
14863  esac
14864}
14865
14866# func_basename file
14867func_basename ()
14868{
14869  func_basename_result="${1##*/}"
14870}
14871
14872# func_dirname_and_basename file append nondir_replacement
14873# perform func_basename and func_dirname in a single function
14874# call:
14875#   dirname:  Compute the dirname of FILE.  If nonempty,
14876#             add APPEND to the result, otherwise set result
14877#             to NONDIR_REPLACEMENT.
14878#             value returned in "$func_dirname_result"
14879#   basename: Compute filename of FILE.
14880#             value retuned in "$func_basename_result"
14881# Implementation must be kept synchronized with func_dirname
14882# and func_basename. For efficiency, we do not delegate to
14883# those functions but instead duplicate the functionality here.
14884func_dirname_and_basename ()
14885{
14886  case ${1} in
14887    */*) func_dirname_result="${1%/*}${2}" ;;
14888    *  ) func_dirname_result="${3}" ;;
14889  esac
14890  func_basename_result="${1##*/}"
14891}
14892
14893# func_stripname prefix suffix name
14894# strip PREFIX and SUFFIX off of NAME.
14895# PREFIX and SUFFIX must not contain globbing or regex special
14896# characters, hashes, percent signs, but SUFFIX may contain a leading
14897# dot (in which case that matches only a dot).
14898func_stripname ()
14899{
14900  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14901  # positional parameters, so assign one to ordinary parameter first.
14902  func_stripname_result=${3}
14903  func_stripname_result=${func_stripname_result#"${1}"}
14904  func_stripname_result=${func_stripname_result%"${2}"}
14905}
14906
14907# func_opt_split
14908func_opt_split ()
14909{
14910  func_opt_split_opt=${1%%=*}
14911  func_opt_split_arg=${1#*=}
14912}
14913
14914# func_lo2o object
14915func_lo2o ()
14916{
14917  case ${1} in
14918    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14919    *)    func_lo2o_result=${1} ;;
14920  esac
14921}
14922
14923# func_xform libobj-or-source
14924func_xform ()
14925{
14926  func_xform_result=${1%.*}.lo
14927}
14928
14929# func_arith arithmetic-term...
14930func_arith ()
14931{
14932  func_arith_result=$(( $* ))
14933}
14934
14935# func_len string
14936# STRING may not start with a hyphen.
14937func_len ()
14938{
14939  func_len_result=${#1}
14940}
14941
14942_LT_EOF
14943    ;;
14944  *) # Bourne compatible functions.
14945    cat << \_LT_EOF >> "$cfgfile"
14946
14947# func_dirname file append nondir_replacement
14948# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14949# otherwise set result to NONDIR_REPLACEMENT.
14950func_dirname ()
14951{
14952  # Extract subdirectory from the argument.
14953  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14954  if test "X$func_dirname_result" = "X${1}"; then
14955    func_dirname_result="${3}"
14956  else
14957    func_dirname_result="$func_dirname_result${2}"
14958  fi
14959}
14960
14961# func_basename file
14962func_basename ()
14963{
14964  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14965}
14966
14967
14968# func_stripname prefix suffix name
14969# strip PREFIX and SUFFIX off of NAME.
14970# PREFIX and SUFFIX must not contain globbing or regex special
14971# characters, hashes, percent signs, but SUFFIX may contain a leading
14972# dot (in which case that matches only a dot).
14973# func_strip_suffix prefix name
14974func_stripname ()
14975{
14976  case ${2} in
14977    .*) func_stripname_result=`$ECHO "X${3}" \
14978           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14979    *)  func_stripname_result=`$ECHO "X${3}" \
14980           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14981  esac
14982}
14983
14984# sed scripts:
14985my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14986my_sed_long_arg='1s/^-[^=]*=//'
14987
14988# func_opt_split
14989func_opt_split ()
14990{
14991  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14992  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14993}
14994
14995# func_lo2o object
14996func_lo2o ()
14997{
14998  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14999}
15000
15001# func_xform libobj-or-source
15002func_xform ()
15003{
15004  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15005}
15006
15007# func_arith arithmetic-term...
15008func_arith ()
15009{
15010  func_arith_result=`expr "$@"`
15011}
15012
15013# func_len string
15014# STRING may not start with a hyphen.
15015func_len ()
15016{
15017  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15018}
15019
15020_LT_EOF
15021esac
15022
15023case $lt_shell_append in
15024  yes)
15025    cat << \_LT_EOF >> "$cfgfile"
15026
15027# func_append var value
15028# Append VALUE to the end of shell variable VAR.
15029func_append ()
15030{
15031  eval "$1+=\$2"
15032}
15033_LT_EOF
15034    ;;
15035  *)
15036    cat << \_LT_EOF >> "$cfgfile"
15037
15038# func_append var value
15039# Append VALUE to the end of shell variable VAR.
15040func_append ()
15041{
15042  eval "$1=\$$1\$2"
15043}
15044
15045_LT_EOF
15046    ;;
15047  esac
15048
15049
15050  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15051    || (rm -f "$cfgfile"; exit 1)
15052
15053  mv -f "$cfgfile" "$ofile" ||
15054    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15055  chmod +x "$ofile"
15056
15057 ;;
15058    "po/stamp-it":C)
15059    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
15060       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
15061    fi
15062    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
15063    >"po/stamp-it.tmp"
15064    sed '/^#/d
15065	 s/^[[].*] *//
15066	 /^[ 	]*$/d
15067	'"s|^|	$ac_top_srcdir/|" \
15068      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
15069
15070    sed '/^POTFILES =/,/[^\\]$/ {
15071		/^POTFILES =/!d
15072		r po/POTFILES
15073	  }
15074	 ' "po/Makefile.in" >"po/Makefile"
15075    rm -f "po/Makefile.tmp"
15076    mv "po/stamp-it.tmp" "po/stamp-it"
15077   ;;
15078
15079  esac
15080done # for ac_tag
15081
15082
15083as_fn_exit 0
15084_ACEOF
15085ac_clean_files=$ac_clean_files_save
15086
15087test $ac_write_fail = 0 ||
15088  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15089
15090
15091# configure is writing to config.log, and then calls config.status.
15092# config.status does its own redirection, appending to config.log.
15093# Unfortunately, on DOS this fails, as config.log is still kept open
15094# by configure, so config.status won't be able to write to it; its
15095# output is simply discarded.  So we exec the FD to /dev/null,
15096# effectively closing config.log, so it can be properly (re)opened and
15097# appended to by config.status.  When coming back to configure, we
15098# need to make the FD available again.
15099if test "$no_create" != yes; then
15100  ac_cs_success=:
15101  ac_config_status_args=
15102  test "$silent" = yes &&
15103    ac_config_status_args="$ac_config_status_args --quiet"
15104  exec 5>/dev/null
15105  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15106  exec 5>>config.log
15107  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15108  # would make configure fail if this is the last instruction.
15109  $ac_cs_success || as_fn_exit 1
15110fi
15111if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15112  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15113$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15114fi
15115
15116