configure revision 55acc8fc
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for libfontenc 1.1.0.
4#
5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
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.
94as_myself=
95case $0 in #((
96  *[\\/]* ) as_myself=$0 ;;
97  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100  IFS=$as_save_IFS
101  test -z "$as_dir" && as_dir=.
102    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103  done
104IFS=$as_save_IFS
105
106     ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111  as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115  exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there.  '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139if test "x$CONFIG_SHELL" = x; then
140  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141  emulate sh
142  NULLCMD=:
143  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144  # is contrary to our usage.  Disable this feature.
145  alias -g '\${1+\"\$@\"}'='\"\$@\"'
146  setopt NO_GLOB_SUBST
147else
148  case \`(set -o) 2>/dev/null\` in #(
149  *posix*) :
150    set -o posix ;; #(
151  *) :
152     ;;
153esac
154fi
155"
156  as_required="as_fn_return () { (exit \$1); }
157as_fn_success () { as_fn_return 0; }
158as_fn_failure () { as_fn_return 1; }
159as_fn_ret_success () { return 0; }
160as_fn_ret_failure () { return 1; }
161
162exitcode=0
163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169else
170  exitcode=1; echo positional parameters were not saved.
171fi
172test x\$exitcode = x0 || exit 1"
173  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177test \$(( 1 + 1 )) = 2 || exit 1
178
179  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183    PATH=/empty FPATH=/empty; export PATH FPATH
184    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186  if (eval "$as_required") 2>/dev/null; then :
187  as_have_required=yes
188else
189  as_have_required=no
190fi
191  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193else
194  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195as_found=false
196for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197do
198  IFS=$as_save_IFS
199  test -z "$as_dir" && as_dir=.
200  as_found=:
201  case $as_dir in #(
202	 /*)
203	   for as_base in sh bash ksh sh5; do
204	     # Try only shells that exist, to save several forks.
205	     as_shell=$as_dir/$as_base
206	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208  CONFIG_SHELL=$as_shell as_have_required=yes
209		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210  break 2
211fi
212fi
213	   done;;
214       esac
215  as_found=false
216done
217$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219  CONFIG_SHELL=$SHELL as_have_required=yes
220fi; }
221IFS=$as_save_IFS
222
223
224      if test "x$CONFIG_SHELL" != x; then :
225  # We cannot yet assume a decent shell, so we have to provide a
226	# neutralization value for shells without unset; and this also
227	# works around shells that cannot unset nonexistent variables.
228	# Preserve -v and -x to the replacement shell.
229	BASH_ENV=/dev/null
230	ENV=/dev/null
231	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232	export CONFIG_SHELL
233	case $- in # ((((
234	  *v*x* | *x*v* ) as_opts=-vx ;;
235	  *v* ) as_opts=-v ;;
236	  *x* ) as_opts=-x ;;
237	  * ) as_opts= ;;
238	esac
239	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240fi
241
242    if test x$as_have_required = xno; then :
243  $as_echo "$0: This script requires a shell more modern than all"
244  $as_echo "$0: the shells that I found on your system."
245  if test x${ZSH_VERSION+set} = xset ; then
246    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248  else
249    $as_echo "$0: Please tell bug-autoconf@gnu.org and
250$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
251$0: about your system, including any error possibly output
252$0: before this message. Then install a modern shell, or
253$0: manually run the script under such a shell if you do
254$0: have one."
255  fi
256  exit 1
257fi
258fi
259fi
260SHELL=${CONFIG_SHELL-/bin/sh}
261export SHELL
262# Unset more variables known to interfere with behavior of common tools.
263CLICOLOR_FORCE= GREP_OPTIONS=
264unset CLICOLOR_FORCE GREP_OPTIONS
265
266## --------------------- ##
267## M4sh Shell Functions. ##
268## --------------------- ##
269# as_fn_unset VAR
270# ---------------
271# Portably unset VAR.
272as_fn_unset ()
273{
274  { eval $1=; unset $1;}
275}
276as_unset=as_fn_unset
277
278# as_fn_set_status STATUS
279# -----------------------
280# Set $? to STATUS, without forking.
281as_fn_set_status ()
282{
283  return $1
284} # as_fn_set_status
285
286# as_fn_exit STATUS
287# -----------------
288# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289as_fn_exit ()
290{
291  set +e
292  as_fn_set_status $1
293  exit $1
294} # as_fn_exit
295
296# as_fn_mkdir_p
297# -------------
298# Create "$as_dir" as a directory, including parents if necessary.
299as_fn_mkdir_p ()
300{
301
302  case $as_dir in #(
303  -*) as_dir=./$as_dir;;
304  esac
305  test -d "$as_dir" || eval $as_mkdir_p || {
306    as_dirs=
307    while :; do
308      case $as_dir in #(
309      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310      *) as_qdir=$as_dir;;
311      esac
312      as_dirs="'$as_qdir' $as_dirs"
313      as_dir=`$as_dirname -- "$as_dir" ||
314$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315	 X"$as_dir" : 'X\(//\)[^/]' \| \
316	 X"$as_dir" : 'X\(//\)$' \| \
317	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318$as_echo X"$as_dir" |
319    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320	    s//\1/
321	    q
322	  }
323	  /^X\(\/\/\)[^/].*/{
324	    s//\1/
325	    q
326	  }
327	  /^X\(\/\/\)$/{
328	    s//\1/
329	    q
330	  }
331	  /^X\(\/\).*/{
332	    s//\1/
333	    q
334	  }
335	  s/.*/./; q'`
336      test -d "$as_dir" && break
337    done
338    test -z "$as_dirs" || eval "mkdir $as_dirs"
339  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
340
341
342} # as_fn_mkdir_p
343# as_fn_append VAR VALUE
344# ----------------------
345# Append the text in VALUE to the end of the definition contained in VAR. Take
346# advantage of any shell optimizations that allow amortized linear growth over
347# repeated appends, instead of the typical quadratic growth present in naive
348# implementations.
349if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350  eval 'as_fn_append ()
351  {
352    eval $1+=\$2
353  }'
354else
355  as_fn_append ()
356  {
357    eval $1=\$$1\$2
358  }
359fi # as_fn_append
360
361# as_fn_arith ARG...
362# ------------------
363# Perform arithmetic evaluation on the ARGs, and store the result in the
364# global $as_val. Take advantage of shells that can avoid forks. The arguments
365# must be portable across $(()) and expr.
366if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
367  eval 'as_fn_arith ()
368  {
369    as_val=$(( $* ))
370  }'
371else
372  as_fn_arith ()
373  {
374    as_val=`expr "$@" || test $? -eq 1`
375  }
376fi # as_fn_arith
377
378
379# as_fn_error STATUS ERROR [LINENO LOG_FD]
380# ----------------------------------------
381# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383# script with STATUS, using 1 if that was 0.
384as_fn_error ()
385{
386  as_status=$1; test $as_status -eq 0 && as_status=1
387  if test "$4"; then
388    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390  fi
391  $as_echo "$as_me: error: $2" >&2
392  as_fn_exit $as_status
393} # as_fn_error
394
395if expr a : '\(a\)' >/dev/null 2>&1 &&
396   test "X`expr 00001 : '.*\(...\)'`" = X001; then
397  as_expr=expr
398else
399  as_expr=false
400fi
401
402if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
403  as_basename=basename
404else
405  as_basename=false
406fi
407
408if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
409  as_dirname=dirname
410else
411  as_dirname=false
412fi
413
414as_me=`$as_basename -- "$0" ||
415$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416	 X"$0" : 'X\(//\)$' \| \
417	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418$as_echo X/"$0" |
419    sed '/^.*\/\([^/][^/]*\)\/*$/{
420	    s//\1/
421	    q
422	  }
423	  /^X\/\(\/\/\)$/{
424	    s//\1/
425	    q
426	  }
427	  /^X\/\(\/\).*/{
428	    s//\1/
429	    q
430	  }
431	  s/.*/./; q'`
432
433# Avoid depending upon Character Ranges.
434as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437as_cr_digits='0123456789'
438as_cr_alnum=$as_cr_Letters$as_cr_digits
439
440
441  as_lineno_1=$LINENO as_lineno_1a=$LINENO
442  as_lineno_2=$LINENO as_lineno_2a=$LINENO
443  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
446  sed -n '
447    p
448    /[$]LINENO/=
449  ' <$as_myself |
450    sed '
451      s/[$]LINENO.*/&-/
452      t lineno
453      b
454      :lineno
455      N
456      :loop
457      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
458      t loop
459      s/-\n.*//
460    ' >$as_me.lineno &&
461  chmod +x "$as_me.lineno" ||
462    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
464  # Don't try to exec as it changes $[0], causing all sort of problems
465  # (the dirname of $[0] is not the place where we might find the
466  # original and so on.  Autoconf is especially sensitive to this).
467  . "./$as_me.lineno"
468  # Exit status is that of the last command.
469  exit
470}
471
472ECHO_C= ECHO_N= ECHO_T=
473case `echo -n x` in #(((((
474-n*)
475  case `echo 'xy\c'` in
476  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
477  xy)  ECHO_C='\c';;
478  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
479       ECHO_T='	';;
480  esac;;
481*)
482  ECHO_N='-n';;
483esac
484
485rm -f conf$$ conf$$.exe conf$$.file
486if test -d conf$$.dir; then
487  rm -f conf$$.dir/conf$$.file
488else
489  rm -f conf$$.dir
490  mkdir conf$$.dir 2>/dev/null
491fi
492if (echo >conf$$.file) 2>/dev/null; then
493  if ln -s conf$$.file conf$$ 2>/dev/null; then
494    as_ln_s='ln -s'
495    # ... but there are two gotchas:
496    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498    # In both cases, we have to default to `cp -p'.
499    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500      as_ln_s='cp -p'
501  elif ln conf$$.file conf$$ 2>/dev/null; then
502    as_ln_s=ln
503  else
504    as_ln_s='cp -p'
505  fi
506else
507  as_ln_s='cp -p'
508fi
509rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510rmdir conf$$.dir 2>/dev/null
511
512if mkdir -p . 2>/dev/null; then
513  as_mkdir_p='mkdir -p "$as_dir"'
514else
515  test -d ./-p && rmdir ./-p
516  as_mkdir_p=false
517fi
518
519if test -x / >/dev/null 2>&1; then
520  as_test_x='test -x'
521else
522  if ls -dL / >/dev/null 2>&1; then
523    as_ls_L_option=L
524  else
525    as_ls_L_option=
526  fi
527  as_test_x='
528    eval sh -c '\''
529      if test -d "$1"; then
530	test -d "$1/.";
531      else
532	case $1 in #(
533	-*)set "./$1";;
534	esac;
535	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536	???[sx]*):;;*)false;;esac;fi
537    '\'' sh
538  '
539fi
540as_executable_p=$as_test_x
541
542# Sed expression to map a string onto a valid CPP name.
543as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
545# Sed expression to map a string onto a valid variable name.
546as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
548SHELL=${CONFIG_SHELL-/bin/sh}
549
550
551test -n "$DJDIR" || exec 7<&0 </dev/null
552exec 6>&1
553
554# Name of the host.
555# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556# so uname gets run too.
557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559#
560# Initializations.
561#
562ac_default_prefix=/usr/local
563ac_clean_files=
564ac_config_libobj_dir=.
565LIBOBJS=
566cross_compiling=no
567subdirs=
568MFLAGS=
569MAKEFLAGS=
570
571# Identity of this package.
572PACKAGE_NAME='libfontenc'
573PACKAGE_TARNAME='libfontenc'
574PACKAGE_VERSION='1.1.0'
575PACKAGE_STRING='libfontenc 1.1.0'
576PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
577PACKAGE_URL=''
578
579# Factoring default headers for most tests.
580ac_includes_default="\
581#include <stdio.h>
582#ifdef HAVE_SYS_TYPES_H
583# include <sys/types.h>
584#endif
585#ifdef HAVE_SYS_STAT_H
586# include <sys/stat.h>
587#endif
588#ifdef STDC_HEADERS
589# include <stdlib.h>
590# include <stddef.h>
591#else
592# ifdef HAVE_STDLIB_H
593#  include <stdlib.h>
594# endif
595#endif
596#ifdef HAVE_STRING_H
597# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598#  include <memory.h>
599# endif
600# include <string.h>
601#endif
602#ifdef HAVE_STRINGS_H
603# include <strings.h>
604#endif
605#ifdef HAVE_INTTYPES_H
606# include <inttypes.h>
607#endif
608#ifdef HAVE_STDINT_H
609# include <stdint.h>
610#endif
611#ifdef HAVE_UNISTD_H
612# include <unistd.h>
613#endif"
614
615ac_subst_vars='am__EXEEXT_FALSE
616am__EXEEXT_TRUE
617LTLIBOBJS
618LIBOBJS
619LINT_FALSE
620LINT_TRUE
621LINT_FLAGS
622LINT
623FONTENC_LIBS
624FONTENC_CFLAGS
625ENCODINGSDIR
626FONTROOTDIR
627OTOOL64
628OTOOL
629LIPO
630NMEDIT
631DSYMUTIL
632RANLIB
633AR
634OBJDUMP
635LN_S
636NM
637ac_ct_DUMPBIN
638DUMPBIN
639LD
640FGREP
641LIBTOOL
642AM_BACKSLASH
643AM_DEFAULT_VERBOSITY
644MAN_SUBSTS
645XORG_MAN_PAGE
646ADMIN_MAN_DIR
647DRIVER_MAN_DIR
648MISC_MAN_DIR
649FILE_MAN_DIR
650LIB_MAN_DIR
651APP_MAN_DIR
652ADMIN_MAN_SUFFIX
653DRIVER_MAN_SUFFIX
654MISC_MAN_SUFFIX
655FILE_MAN_SUFFIX
656LIB_MAN_SUFFIX
657APP_MAN_SUFFIX
658SED
659host_os
660host_vendor
661host_cpu
662host
663build_os
664build_vendor
665build_cpu
666build
667INSTALL_CMD
668PKG_CONFIG
669CHANGELOG_CMD
670CWARNFLAGS
671EGREP
672GREP
673CPP
674am__fastdepCC_FALSE
675am__fastdepCC_TRUE
676CCDEPMODE
677AMDEPBACKSLASH
678AMDEP_FALSE
679AMDEP_TRUE
680am__quote
681am__include
682DEPDIR
683OBJEXT
684EXEEXT
685ac_ct_CC
686CPPFLAGS
687LDFLAGS
688CFLAGS
689CC
690MAINT
691MAINTAINER_MODE_FALSE
692MAINTAINER_MODE_TRUE
693am__untar
694am__tar
695AMTAR
696am__leading_dot
697SET_MAKE
698AWK
699mkdir_p
700MKDIR_P
701INSTALL_STRIP_PROGRAM
702STRIP
703install_sh
704MAKEINFO
705AUTOHEADER
706AUTOMAKE
707AUTOCONF
708ACLOCAL
709VERSION
710PACKAGE
711CYGPATH_W
712am__isrc
713INSTALL_DATA
714INSTALL_SCRIPT
715INSTALL_PROGRAM
716target_alias
717host_alias
718build_alias
719LIBS
720ECHO_T
721ECHO_N
722ECHO_C
723DEFS
724mandir
725localedir
726libdir
727psdir
728pdfdir
729dvidir
730htmldir
731infodir
732docdir
733oldincludedir
734includedir
735localstatedir
736sharedstatedir
737sysconfdir
738datadir
739datarootdir
740libexecdir
741sbindir
742bindir
743program_transform_name
744prefix
745exec_prefix
746PACKAGE_URL
747PACKAGE_BUGREPORT
748PACKAGE_STRING
749PACKAGE_VERSION
750PACKAGE_TARNAME
751PACKAGE_NAME
752PATH_SEPARATOR
753SHELL'
754ac_subst_files=''
755ac_user_opts='
756enable_option_checking
757enable_maintainer_mode
758enable_dependency_tracking
759enable_strict_compilation
760enable_silent_rules
761enable_shared
762enable_static
763with_pic
764enable_fast_install
765with_gnu_ld
766enable_libtool_lock
767with_fontrootdir
768with_encodingsdir
769with_lint
770'
771      ac_precious_vars='build_alias
772host_alias
773target_alias
774CC
775CFLAGS
776LDFLAGS
777LIBS
778CPPFLAGS
779CPP
780PKG_CONFIG
781FONTENC_CFLAGS
782FONTENC_LIBS
783LINT
784LINT_FLAGS'
785
786
787# Initialize some variables set by options.
788ac_init_help=
789ac_init_version=false
790ac_unrecognized_opts=
791ac_unrecognized_sep=
792# The variables have the same names as the options, with
793# dashes changed to underlines.
794cache_file=/dev/null
795exec_prefix=NONE
796no_create=
797no_recursion=
798prefix=NONE
799program_prefix=NONE
800program_suffix=NONE
801program_transform_name=s,x,x,
802silent=
803site=
804srcdir=
805verbose=
806x_includes=NONE
807x_libraries=NONE
808
809# Installation directory options.
810# These are left unexpanded so users can "make install exec_prefix=/foo"
811# and all the variables that are supposed to be based on exec_prefix
812# by default will actually change.
813# Use braces instead of parens because sh, perl, etc. also accept them.
814# (The list follows the same order as the GNU Coding Standards.)
815bindir='${exec_prefix}/bin'
816sbindir='${exec_prefix}/sbin'
817libexecdir='${exec_prefix}/libexec'
818datarootdir='${prefix}/share'
819datadir='${datarootdir}'
820sysconfdir='${prefix}/etc'
821sharedstatedir='${prefix}/com'
822localstatedir='${prefix}/var'
823includedir='${prefix}/include'
824oldincludedir='/usr/include'
825docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
826infodir='${datarootdir}/info'
827htmldir='${docdir}'
828dvidir='${docdir}'
829pdfdir='${docdir}'
830psdir='${docdir}'
831libdir='${exec_prefix}/lib'
832localedir='${datarootdir}/locale'
833mandir='${datarootdir}/man'
834
835ac_prev=
836ac_dashdash=
837for ac_option
838do
839  # If the previous option needs an argument, assign it.
840  if test -n "$ac_prev"; then
841    eval $ac_prev=\$ac_option
842    ac_prev=
843    continue
844  fi
845
846  case $ac_option in
847  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
848  *=)   ac_optarg= ;;
849  *)    ac_optarg=yes ;;
850  esac
851
852  # Accept the important Cygnus configure options, so we can diagnose typos.
853
854  case $ac_dashdash$ac_option in
855  --)
856    ac_dashdash=yes ;;
857
858  -bindir | --bindir | --bindi | --bind | --bin | --bi)
859    ac_prev=bindir ;;
860  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
861    bindir=$ac_optarg ;;
862
863  -build | --build | --buil | --bui | --bu)
864    ac_prev=build_alias ;;
865  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
866    build_alias=$ac_optarg ;;
867
868  -cache-file | --cache-file | --cache-fil | --cache-fi \
869  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
870    ac_prev=cache_file ;;
871  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
872  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
873    cache_file=$ac_optarg ;;
874
875  --config-cache | -C)
876    cache_file=config.cache ;;
877
878  -datadir | --datadir | --datadi | --datad)
879    ac_prev=datadir ;;
880  -datadir=* | --datadir=* | --datadi=* | --datad=*)
881    datadir=$ac_optarg ;;
882
883  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
884  | --dataroo | --dataro | --datar)
885    ac_prev=datarootdir ;;
886  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
887  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
888    datarootdir=$ac_optarg ;;
889
890  -disable-* | --disable-*)
891    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
892    # Reject names that are not valid shell variable names.
893    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
894      as_fn_error $? "invalid feature name: $ac_useropt"
895    ac_useropt_orig=$ac_useropt
896    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
897    case $ac_user_opts in
898      *"
899"enable_$ac_useropt"
900"*) ;;
901      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
902	 ac_unrecognized_sep=', ';;
903    esac
904    eval enable_$ac_useropt=no ;;
905
906  -docdir | --docdir | --docdi | --doc | --do)
907    ac_prev=docdir ;;
908  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
909    docdir=$ac_optarg ;;
910
911  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
912    ac_prev=dvidir ;;
913  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
914    dvidir=$ac_optarg ;;
915
916  -enable-* | --enable-*)
917    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
918    # Reject names that are not valid shell variable names.
919    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
920      as_fn_error $? "invalid feature name: $ac_useropt"
921    ac_useropt_orig=$ac_useropt
922    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
923    case $ac_user_opts in
924      *"
925"enable_$ac_useropt"
926"*) ;;
927      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
928	 ac_unrecognized_sep=', ';;
929    esac
930    eval enable_$ac_useropt=\$ac_optarg ;;
931
932  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
933  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
934  | --exec | --exe | --ex)
935    ac_prev=exec_prefix ;;
936  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
937  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
938  | --exec=* | --exe=* | --ex=*)
939    exec_prefix=$ac_optarg ;;
940
941  -gas | --gas | --ga | --g)
942    # Obsolete; use --with-gas.
943    with_gas=yes ;;
944
945  -help | --help | --hel | --he | -h)
946    ac_init_help=long ;;
947  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
948    ac_init_help=recursive ;;
949  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
950    ac_init_help=short ;;
951
952  -host | --host | --hos | --ho)
953    ac_prev=host_alias ;;
954  -host=* | --host=* | --hos=* | --ho=*)
955    host_alias=$ac_optarg ;;
956
957  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
958    ac_prev=htmldir ;;
959  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
960  | --ht=*)
961    htmldir=$ac_optarg ;;
962
963  -includedir | --includedir | --includedi | --included | --include \
964  | --includ | --inclu | --incl | --inc)
965    ac_prev=includedir ;;
966  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
967  | --includ=* | --inclu=* | --incl=* | --inc=*)
968    includedir=$ac_optarg ;;
969
970  -infodir | --infodir | --infodi | --infod | --info | --inf)
971    ac_prev=infodir ;;
972  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
973    infodir=$ac_optarg ;;
974
975  -libdir | --libdir | --libdi | --libd)
976    ac_prev=libdir ;;
977  -libdir=* | --libdir=* | --libdi=* | --libd=*)
978    libdir=$ac_optarg ;;
979
980  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
981  | --libexe | --libex | --libe)
982    ac_prev=libexecdir ;;
983  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
984  | --libexe=* | --libex=* | --libe=*)
985    libexecdir=$ac_optarg ;;
986
987  -localedir | --localedir | --localedi | --localed | --locale)
988    ac_prev=localedir ;;
989  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
990    localedir=$ac_optarg ;;
991
992  -localstatedir | --localstatedir | --localstatedi | --localstated \
993  | --localstate | --localstat | --localsta | --localst | --locals)
994    ac_prev=localstatedir ;;
995  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
996  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
997    localstatedir=$ac_optarg ;;
998
999  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1000    ac_prev=mandir ;;
1001  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1002    mandir=$ac_optarg ;;
1003
1004  -nfp | --nfp | --nf)
1005    # Obsolete; use --without-fp.
1006    with_fp=no ;;
1007
1008  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1009  | --no-cr | --no-c | -n)
1010    no_create=yes ;;
1011
1012  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1013  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1014    no_recursion=yes ;;
1015
1016  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1017  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1018  | --oldin | --oldi | --old | --ol | --o)
1019    ac_prev=oldincludedir ;;
1020  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1021  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1022  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1023    oldincludedir=$ac_optarg ;;
1024
1025  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1026    ac_prev=prefix ;;
1027  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1028    prefix=$ac_optarg ;;
1029
1030  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1031  | --program-pre | --program-pr | --program-p)
1032    ac_prev=program_prefix ;;
1033  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1034  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1035    program_prefix=$ac_optarg ;;
1036
1037  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1038  | --program-suf | --program-su | --program-s)
1039    ac_prev=program_suffix ;;
1040  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1041  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1042    program_suffix=$ac_optarg ;;
1043
1044  -program-transform-name | --program-transform-name \
1045  | --program-transform-nam | --program-transform-na \
1046  | --program-transform-n | --program-transform- \
1047  | --program-transform | --program-transfor \
1048  | --program-transfo | --program-transf \
1049  | --program-trans | --program-tran \
1050  | --progr-tra | --program-tr | --program-t)
1051    ac_prev=program_transform_name ;;
1052  -program-transform-name=* | --program-transform-name=* \
1053  | --program-transform-nam=* | --program-transform-na=* \
1054  | --program-transform-n=* | --program-transform-=* \
1055  | --program-transform=* | --program-transfor=* \
1056  | --program-transfo=* | --program-transf=* \
1057  | --program-trans=* | --program-tran=* \
1058  | --progr-tra=* | --program-tr=* | --program-t=*)
1059    program_transform_name=$ac_optarg ;;
1060
1061  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1062    ac_prev=pdfdir ;;
1063  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1064    pdfdir=$ac_optarg ;;
1065
1066  -psdir | --psdir | --psdi | --psd | --ps)
1067    ac_prev=psdir ;;
1068  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1069    psdir=$ac_optarg ;;
1070
1071  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1072  | -silent | --silent | --silen | --sile | --sil)
1073    silent=yes ;;
1074
1075  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1076    ac_prev=sbindir ;;
1077  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1078  | --sbi=* | --sb=*)
1079    sbindir=$ac_optarg ;;
1080
1081  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1082  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1083  | --sharedst | --shareds | --shared | --share | --shar \
1084  | --sha | --sh)
1085    ac_prev=sharedstatedir ;;
1086  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1087  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1088  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1089  | --sha=* | --sh=*)
1090    sharedstatedir=$ac_optarg ;;
1091
1092  -site | --site | --sit)
1093    ac_prev=site ;;
1094  -site=* | --site=* | --sit=*)
1095    site=$ac_optarg ;;
1096
1097  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1098    ac_prev=srcdir ;;
1099  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1100    srcdir=$ac_optarg ;;
1101
1102  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1103  | --syscon | --sysco | --sysc | --sys | --sy)
1104    ac_prev=sysconfdir ;;
1105  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1106  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1107    sysconfdir=$ac_optarg ;;
1108
1109  -target | --target | --targe | --targ | --tar | --ta | --t)
1110    ac_prev=target_alias ;;
1111  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1112    target_alias=$ac_optarg ;;
1113
1114  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1115    verbose=yes ;;
1116
1117  -version | --version | --versio | --versi | --vers | -V)
1118    ac_init_version=: ;;
1119
1120  -with-* | --with-*)
1121    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1122    # Reject names that are not valid shell variable names.
1123    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1124      as_fn_error $? "invalid package name: $ac_useropt"
1125    ac_useropt_orig=$ac_useropt
1126    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1127    case $ac_user_opts in
1128      *"
1129"with_$ac_useropt"
1130"*) ;;
1131      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1132	 ac_unrecognized_sep=', ';;
1133    esac
1134    eval with_$ac_useropt=\$ac_optarg ;;
1135
1136  -without-* | --without-*)
1137    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1138    # Reject names that are not valid shell variable names.
1139    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1140      as_fn_error $? "invalid package name: $ac_useropt"
1141    ac_useropt_orig=$ac_useropt
1142    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1143    case $ac_user_opts in
1144      *"
1145"with_$ac_useropt"
1146"*) ;;
1147      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1148	 ac_unrecognized_sep=', ';;
1149    esac
1150    eval with_$ac_useropt=no ;;
1151
1152  --x)
1153    # Obsolete; use --with-x.
1154    with_x=yes ;;
1155
1156  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1157  | --x-incl | --x-inc | --x-in | --x-i)
1158    ac_prev=x_includes ;;
1159  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1160  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1161    x_includes=$ac_optarg ;;
1162
1163  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1164  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1165    ac_prev=x_libraries ;;
1166  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1167  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1168    x_libraries=$ac_optarg ;;
1169
1170  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1171Try \`$0 --help' for more information"
1172    ;;
1173
1174  *=*)
1175    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1176    # Reject names that are not valid shell variable names.
1177    case $ac_envvar in #(
1178      '' | [0-9]* | *[!_$as_cr_alnum]* )
1179      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1180    esac
1181    eval $ac_envvar=\$ac_optarg
1182    export $ac_envvar ;;
1183
1184  *)
1185    # FIXME: should be removed in autoconf 3.0.
1186    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1187    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1188      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1189    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1190    ;;
1191
1192  esac
1193done
1194
1195if test -n "$ac_prev"; then
1196  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1197  as_fn_error $? "missing argument to $ac_option"
1198fi
1199
1200if test -n "$ac_unrecognized_opts"; then
1201  case $enable_option_checking in
1202    no) ;;
1203    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1204    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1205  esac
1206fi
1207
1208# Check all directory arguments for consistency.
1209for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1210		datadir sysconfdir sharedstatedir localstatedir includedir \
1211		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1212		libdir localedir mandir
1213do
1214  eval ac_val=\$$ac_var
1215  # Remove trailing slashes.
1216  case $ac_val in
1217    */ )
1218      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1219      eval $ac_var=\$ac_val;;
1220  esac
1221  # Be sure to have absolute directory names.
1222  case $ac_val in
1223    [\\/$]* | ?:[\\/]* )  continue;;
1224    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1225  esac
1226  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1227done
1228
1229# There might be people who depend on the old broken behavior: `$host'
1230# used to hold the argument of --host etc.
1231# FIXME: To remove some day.
1232build=$build_alias
1233host=$host_alias
1234target=$target_alias
1235
1236# FIXME: To remove some day.
1237if test "x$host_alias" != x; then
1238  if test "x$build_alias" = x; then
1239    cross_compiling=maybe
1240    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1241    If a cross compiler is detected then cross compile mode will be used" >&2
1242  elif test "x$build_alias" != "x$host_alias"; then
1243    cross_compiling=yes
1244  fi
1245fi
1246
1247ac_tool_prefix=
1248test -n "$host_alias" && ac_tool_prefix=$host_alias-
1249
1250test "$silent" = yes && exec 6>/dev/null
1251
1252
1253ac_pwd=`pwd` && test -n "$ac_pwd" &&
1254ac_ls_di=`ls -di .` &&
1255ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1256  as_fn_error $? "working directory cannot be determined"
1257test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1258  as_fn_error $? "pwd does not report name of working directory"
1259
1260
1261# Find the source files, if location was not specified.
1262if test -z "$srcdir"; then
1263  ac_srcdir_defaulted=yes
1264  # Try the directory containing this script, then the parent directory.
1265  ac_confdir=`$as_dirname -- "$as_myself" ||
1266$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1267	 X"$as_myself" : 'X\(//\)[^/]' \| \
1268	 X"$as_myself" : 'X\(//\)$' \| \
1269	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1270$as_echo X"$as_myself" |
1271    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1272	    s//\1/
1273	    q
1274	  }
1275	  /^X\(\/\/\)[^/].*/{
1276	    s//\1/
1277	    q
1278	  }
1279	  /^X\(\/\/\)$/{
1280	    s//\1/
1281	    q
1282	  }
1283	  /^X\(\/\).*/{
1284	    s//\1/
1285	    q
1286	  }
1287	  s/.*/./; q'`
1288  srcdir=$ac_confdir
1289  if test ! -r "$srcdir/$ac_unique_file"; then
1290    srcdir=..
1291  fi
1292else
1293  ac_srcdir_defaulted=no
1294fi
1295if test ! -r "$srcdir/$ac_unique_file"; then
1296  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1297  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1298fi
1299ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1300ac_abs_confdir=`(
1301	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1302	pwd)`
1303# When building in place, set srcdir=.
1304if test "$ac_abs_confdir" = "$ac_pwd"; then
1305  srcdir=.
1306fi
1307# Remove unnecessary trailing slashes from srcdir.
1308# Double slashes in file names in object file debugging info
1309# mess up M-x gdb in Emacs.
1310case $srcdir in
1311*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1312esac
1313for ac_var in $ac_precious_vars; do
1314  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1315  eval ac_env_${ac_var}_value=\$${ac_var}
1316  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1317  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1318done
1319
1320#
1321# Report the --help message.
1322#
1323if test "$ac_init_help" = "long"; then
1324  # Omit some internal or obsolete options to make the list less imposing.
1325  # This message is too long to be a string in the A/UX 3.1 sh.
1326  cat <<_ACEOF
1327\`configure' configures libfontenc 1.1.0 to adapt to many kinds of systems.
1328
1329Usage: $0 [OPTION]... [VAR=VALUE]...
1330
1331To assign environment variables (e.g., CC, CFLAGS...), specify them as
1332VAR=VALUE.  See below for descriptions of some of the useful variables.
1333
1334Defaults for the options are specified in brackets.
1335
1336Configuration:
1337  -h, --help              display this help and exit
1338      --help=short        display options specific to this package
1339      --help=recursive    display the short help of all the included packages
1340  -V, --version           display version information and exit
1341  -q, --quiet, --silent   do not print \`checking ...' messages
1342      --cache-file=FILE   cache test results in FILE [disabled]
1343  -C, --config-cache      alias for \`--cache-file=config.cache'
1344  -n, --no-create         do not create output files
1345      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1346
1347Installation directories:
1348  --prefix=PREFIX         install architecture-independent files in PREFIX
1349                          [$ac_default_prefix]
1350  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1351                          [PREFIX]
1352
1353By default, \`make install' will install all the files in
1354\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1355an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1356for instance \`--prefix=\$HOME'.
1357
1358For better control, use the options below.
1359
1360Fine tuning of the installation directories:
1361  --bindir=DIR            user executables [EPREFIX/bin]
1362  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1363  --libexecdir=DIR        program executables [EPREFIX/libexec]
1364  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1365  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1366  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1367  --libdir=DIR            object code libraries [EPREFIX/lib]
1368  --includedir=DIR        C header files [PREFIX/include]
1369  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1370  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1371  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1372  --infodir=DIR           info documentation [DATAROOTDIR/info]
1373  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1374  --mandir=DIR            man documentation [DATAROOTDIR/man]
1375  --docdir=DIR            documentation root [DATAROOTDIR/doc/libfontenc]
1376  --htmldir=DIR           html documentation [DOCDIR]
1377  --dvidir=DIR            dvi documentation [DOCDIR]
1378  --pdfdir=DIR            pdf documentation [DOCDIR]
1379  --psdir=DIR             ps documentation [DOCDIR]
1380_ACEOF
1381
1382  cat <<\_ACEOF
1383
1384Program names:
1385  --program-prefix=PREFIX            prepend PREFIX to installed program names
1386  --program-suffix=SUFFIX            append SUFFIX to installed program names
1387  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1388
1389System types:
1390  --build=BUILD     configure for building on BUILD [guessed]
1391  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1392_ACEOF
1393fi
1394
1395if test -n "$ac_init_help"; then
1396  case $ac_init_help in
1397     short | recursive ) echo "Configuration of libfontenc 1.1.0:";;
1398   esac
1399  cat <<\_ACEOF
1400
1401Optional Features:
1402  --disable-option-checking  ignore unrecognized --enable/--with options
1403  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1404  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1405  --enable-maintainer-mode  enable make rules and dependencies not useful
1406			  (and sometimes confusing) to the casual installer
1407  --disable-dependency-tracking  speeds up one-time build
1408  --enable-dependency-tracking   do not reject slow dependency extractors
1409  --enable-strict-compilation
1410                          Enable all warnings from compiler and make them
1411                          errors (default: disabled)
1412  --enable-silent-rules          less verbose build output (undo: `make V=1')
1413  --disable-silent-rules         verbose build output (undo: `make V=0')
1414  --enable-shared[=PKGS]  build shared libraries [default=yes]
1415  --enable-static[=PKGS]  build static libraries [default=yes]
1416  --enable-fast-install[=PKGS]
1417                          optimize for fast installation [default=yes]
1418  --disable-libtool-lock  avoid locking (might break parallel builds)
1419
1420Optional Packages:
1421  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1422  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1423  --with-pic              try to use only PIC/non-PIC objects [default=use
1424                          both]
1425  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1426  --with-fontrootdir=DIR  Path to root directory for font files
1427  --with-encodingsdir=DIR Path to encodings files [FONTROOTDIR/encodings]
1428  --with-lint             Use a lint-style source code checker (default:
1429                          disabled)
1430
1431Some influential environment variables:
1432  CC          C compiler command
1433  CFLAGS      C compiler flags
1434  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1435              nonstandard directory <lib dir>
1436  LIBS        libraries to pass to the linker, e.g. -l<library>
1437  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1438              you have headers in a nonstandard directory <include dir>
1439  CPP         C preprocessor
1440  PKG_CONFIG  path to pkg-config utility
1441  FONTENC_CFLAGS
1442              C compiler flags for FONTENC, overriding pkg-config
1443  FONTENC_LIBS
1444              linker flags for FONTENC, overriding pkg-config
1445  LINT        Path to a lint-style command
1446  LINT_FLAGS  Flags for the lint-style command
1447
1448Use these variables to override the choices made by `configure' or to help
1449it to find libraries and programs with nonstandard names/locations.
1450
1451Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1452_ACEOF
1453ac_status=$?
1454fi
1455
1456if test "$ac_init_help" = "recursive"; then
1457  # If there are subdirs, report their specific --help.
1458  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1459    test -d "$ac_dir" ||
1460      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1461      continue
1462    ac_builddir=.
1463
1464case "$ac_dir" in
1465.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1466*)
1467  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1468  # A ".." for each directory in $ac_dir_suffix.
1469  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1470  case $ac_top_builddir_sub in
1471  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1472  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1473  esac ;;
1474esac
1475ac_abs_top_builddir=$ac_pwd
1476ac_abs_builddir=$ac_pwd$ac_dir_suffix
1477# for backward compatibility:
1478ac_top_builddir=$ac_top_build_prefix
1479
1480case $srcdir in
1481  .)  # We are building in place.
1482    ac_srcdir=.
1483    ac_top_srcdir=$ac_top_builddir_sub
1484    ac_abs_top_srcdir=$ac_pwd ;;
1485  [\\/]* | ?:[\\/]* )  # Absolute name.
1486    ac_srcdir=$srcdir$ac_dir_suffix;
1487    ac_top_srcdir=$srcdir
1488    ac_abs_top_srcdir=$srcdir ;;
1489  *) # Relative name.
1490    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1491    ac_top_srcdir=$ac_top_build_prefix$srcdir
1492    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1493esac
1494ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1495
1496    cd "$ac_dir" || { ac_status=$?; continue; }
1497    # Check for guested configure.
1498    if test -f "$ac_srcdir/configure.gnu"; then
1499      echo &&
1500      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1501    elif test -f "$ac_srcdir/configure"; then
1502      echo &&
1503      $SHELL "$ac_srcdir/configure" --help=recursive
1504    else
1505      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1506    fi || ac_status=$?
1507    cd "$ac_pwd" || { ac_status=$?; break; }
1508  done
1509fi
1510
1511test -n "$ac_init_help" && exit $ac_status
1512if $ac_init_version; then
1513  cat <<\_ACEOF
1514libfontenc configure 1.1.0
1515generated by GNU Autoconf 2.68
1516
1517Copyright (C) 2010 Free Software Foundation, Inc.
1518This configure script is free software; the Free Software Foundation
1519gives unlimited permission to copy, distribute and modify it.
1520_ACEOF
1521  exit
1522fi
1523
1524## ------------------------ ##
1525## Autoconf initialization. ##
1526## ------------------------ ##
1527
1528# ac_fn_c_try_compile LINENO
1529# --------------------------
1530# Try to compile conftest.$ac_ext, and return whether this succeeded.
1531ac_fn_c_try_compile ()
1532{
1533  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1534  rm -f conftest.$ac_objext
1535  if { { ac_try="$ac_compile"
1536case "(($ac_try" in
1537  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1538  *) ac_try_echo=$ac_try;;
1539esac
1540eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1541$as_echo "$ac_try_echo"; } >&5
1542  (eval "$ac_compile") 2>conftest.err
1543  ac_status=$?
1544  if test -s conftest.err; then
1545    grep -v '^ *+' conftest.err >conftest.er1
1546    cat conftest.er1 >&5
1547    mv -f conftest.er1 conftest.err
1548  fi
1549  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1550  test $ac_status = 0; } && {
1551	 test -z "$ac_c_werror_flag" ||
1552	 test ! -s conftest.err
1553       } && test -s conftest.$ac_objext; then :
1554  ac_retval=0
1555else
1556  $as_echo "$as_me: failed program was:" >&5
1557sed 's/^/| /' conftest.$ac_ext >&5
1558
1559	ac_retval=1
1560fi
1561  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1562  as_fn_set_status $ac_retval
1563
1564} # ac_fn_c_try_compile
1565
1566# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1567# ---------------------------------------------
1568# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1569# accordingly.
1570ac_fn_c_check_decl ()
1571{
1572  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573  as_decl_name=`echo $2|sed 's/ *(.*//'`
1574  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1575  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1576$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1577if eval \${$3+:} false; then :
1578  $as_echo_n "(cached) " >&6
1579else
1580  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1581/* end confdefs.h.  */
1582$4
1583int
1584main ()
1585{
1586#ifndef $as_decl_name
1587#ifdef __cplusplus
1588  (void) $as_decl_use;
1589#else
1590  (void) $as_decl_name;
1591#endif
1592#endif
1593
1594  ;
1595  return 0;
1596}
1597_ACEOF
1598if ac_fn_c_try_compile "$LINENO"; then :
1599  eval "$3=yes"
1600else
1601  eval "$3=no"
1602fi
1603rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1604fi
1605eval ac_res=\$$3
1606	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1607$as_echo "$ac_res" >&6; }
1608  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1609
1610} # ac_fn_c_check_decl
1611
1612# ac_fn_c_try_cpp LINENO
1613# ----------------------
1614# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1615ac_fn_c_try_cpp ()
1616{
1617  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1618  if { { ac_try="$ac_cpp conftest.$ac_ext"
1619case "(($ac_try" in
1620  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621  *) ac_try_echo=$ac_try;;
1622esac
1623eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624$as_echo "$ac_try_echo"; } >&5
1625  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1626  ac_status=$?
1627  if test -s conftest.err; then
1628    grep -v '^ *+' conftest.err >conftest.er1
1629    cat conftest.er1 >&5
1630    mv -f conftest.er1 conftest.err
1631  fi
1632  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633  test $ac_status = 0; } > conftest.i && {
1634	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1635	 test ! -s conftest.err
1636       }; then :
1637  ac_retval=0
1638else
1639  $as_echo "$as_me: failed program was:" >&5
1640sed 's/^/| /' conftest.$ac_ext >&5
1641
1642    ac_retval=1
1643fi
1644  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645  as_fn_set_status $ac_retval
1646
1647} # ac_fn_c_try_cpp
1648
1649# ac_fn_c_try_run LINENO
1650# ----------------------
1651# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1652# that executables *can* be run.
1653ac_fn_c_try_run ()
1654{
1655  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656  if { { ac_try="$ac_link"
1657case "(($ac_try" in
1658  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1659  *) ac_try_echo=$ac_try;;
1660esac
1661eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662$as_echo "$ac_try_echo"; } >&5
1663  (eval "$ac_link") 2>&5
1664  ac_status=$?
1665  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1666  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1667  { { case "(($ac_try" in
1668  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1669  *) ac_try_echo=$ac_try;;
1670esac
1671eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672$as_echo "$ac_try_echo"; } >&5
1673  (eval "$ac_try") 2>&5
1674  ac_status=$?
1675  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676  test $ac_status = 0; }; }; then :
1677  ac_retval=0
1678else
1679  $as_echo "$as_me: program exited with status $ac_status" >&5
1680       $as_echo "$as_me: failed program was:" >&5
1681sed 's/^/| /' conftest.$ac_ext >&5
1682
1683       ac_retval=$ac_status
1684fi
1685  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1686  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687  as_fn_set_status $ac_retval
1688
1689} # ac_fn_c_try_run
1690
1691# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1692# -------------------------------------------------------
1693# Tests whether HEADER exists and can be compiled using the include files in
1694# INCLUDES, setting the cache variable VAR accordingly.
1695ac_fn_c_check_header_compile ()
1696{
1697  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1699$as_echo_n "checking for $2... " >&6; }
1700if eval \${$3+:} false; then :
1701  $as_echo_n "(cached) " >&6
1702else
1703  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1704/* end confdefs.h.  */
1705$4
1706#include <$2>
1707_ACEOF
1708if ac_fn_c_try_compile "$LINENO"; then :
1709  eval "$3=yes"
1710else
1711  eval "$3=no"
1712fi
1713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1714fi
1715eval ac_res=\$$3
1716	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1717$as_echo "$ac_res" >&6; }
1718  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1719
1720} # ac_fn_c_check_header_compile
1721
1722# ac_fn_c_try_link LINENO
1723# -----------------------
1724# Try to link conftest.$ac_ext, and return whether this succeeded.
1725ac_fn_c_try_link ()
1726{
1727  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728  rm -f conftest.$ac_objext conftest$ac_exeext
1729  if { { ac_try="$ac_link"
1730case "(($ac_try" in
1731  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1732  *) ac_try_echo=$ac_try;;
1733esac
1734eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735$as_echo "$ac_try_echo"; } >&5
1736  (eval "$ac_link") 2>conftest.err
1737  ac_status=$?
1738  if test -s conftest.err; then
1739    grep -v '^ *+' conftest.err >conftest.er1
1740    cat conftest.er1 >&5
1741    mv -f conftest.er1 conftest.err
1742  fi
1743  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744  test $ac_status = 0; } && {
1745	 test -z "$ac_c_werror_flag" ||
1746	 test ! -s conftest.err
1747       } && test -s conftest$ac_exeext && {
1748	 test "$cross_compiling" = yes ||
1749	 $as_test_x conftest$ac_exeext
1750       }; then :
1751  ac_retval=0
1752else
1753  $as_echo "$as_me: failed program was:" >&5
1754sed 's/^/| /' conftest.$ac_ext >&5
1755
1756	ac_retval=1
1757fi
1758  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1759  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1760  # interfere with the next link command; also delete a directory that is
1761  # left behind by Apple's compiler.  We do this before executing the actions.
1762  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1763  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764  as_fn_set_status $ac_retval
1765
1766} # ac_fn_c_try_link
1767
1768# ac_fn_c_check_func LINENO FUNC VAR
1769# ----------------------------------
1770# Tests whether FUNC exists, setting the cache variable VAR accordingly
1771ac_fn_c_check_func ()
1772{
1773  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1775$as_echo_n "checking for $2... " >&6; }
1776if eval \${$3+:} false; then :
1777  $as_echo_n "(cached) " >&6
1778else
1779  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1780/* end confdefs.h.  */
1781/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1782   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1783#define $2 innocuous_$2
1784
1785/* System header to define __stub macros and hopefully few prototypes,
1786    which can conflict with char $2 (); below.
1787    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1788    <limits.h> exists even on freestanding compilers.  */
1789
1790#ifdef __STDC__
1791# include <limits.h>
1792#else
1793# include <assert.h>
1794#endif
1795
1796#undef $2
1797
1798/* Override any GCC internal prototype to avoid an error.
1799   Use char because int might match the return type of a GCC
1800   builtin and then its argument prototype would still apply.  */
1801#ifdef __cplusplus
1802extern "C"
1803#endif
1804char $2 ();
1805/* The GNU C library defines this for functions which it implements
1806    to always fail with ENOSYS.  Some functions are actually named
1807    something starting with __ and the normal name is an alias.  */
1808#if defined __stub_$2 || defined __stub___$2
1809choke me
1810#endif
1811
1812int
1813main ()
1814{
1815return $2 ();
1816  ;
1817  return 0;
1818}
1819_ACEOF
1820if ac_fn_c_try_link "$LINENO"; then :
1821  eval "$3=yes"
1822else
1823  eval "$3=no"
1824fi
1825rm -f core conftest.err conftest.$ac_objext \
1826    conftest$ac_exeext conftest.$ac_ext
1827fi
1828eval ac_res=\$$3
1829	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830$as_echo "$ac_res" >&6; }
1831  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1832
1833} # ac_fn_c_check_func
1834cat >config.log <<_ACEOF
1835This file contains any messages produced by compilers while
1836running configure, to aid debugging if configure makes a mistake.
1837
1838It was created by libfontenc $as_me 1.1.0, which was
1839generated by GNU Autoconf 2.68.  Invocation command line was
1840
1841  $ $0 $@
1842
1843_ACEOF
1844exec 5>>config.log
1845{
1846cat <<_ASUNAME
1847## --------- ##
1848## Platform. ##
1849## --------- ##
1850
1851hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1852uname -m = `(uname -m) 2>/dev/null || echo unknown`
1853uname -r = `(uname -r) 2>/dev/null || echo unknown`
1854uname -s = `(uname -s) 2>/dev/null || echo unknown`
1855uname -v = `(uname -v) 2>/dev/null || echo unknown`
1856
1857/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1858/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1859
1860/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1861/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1862/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1863/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1864/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1865/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1866/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1867
1868_ASUNAME
1869
1870as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1871for as_dir in $PATH
1872do
1873  IFS=$as_save_IFS
1874  test -z "$as_dir" && as_dir=.
1875    $as_echo "PATH: $as_dir"
1876  done
1877IFS=$as_save_IFS
1878
1879} >&5
1880
1881cat >&5 <<_ACEOF
1882
1883
1884## ----------- ##
1885## Core tests. ##
1886## ----------- ##
1887
1888_ACEOF
1889
1890
1891# Keep a trace of the command line.
1892# Strip out --no-create and --no-recursion so they do not pile up.
1893# Strip out --silent because we don't want to record it for future runs.
1894# Also quote any args containing shell meta-characters.
1895# Make two passes to allow for proper duplicate-argument suppression.
1896ac_configure_args=
1897ac_configure_args0=
1898ac_configure_args1=
1899ac_must_keep_next=false
1900for ac_pass in 1 2
1901do
1902  for ac_arg
1903  do
1904    case $ac_arg in
1905    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1906    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1907    | -silent | --silent | --silen | --sile | --sil)
1908      continue ;;
1909    *\'*)
1910      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1911    esac
1912    case $ac_pass in
1913    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1914    2)
1915      as_fn_append ac_configure_args1 " '$ac_arg'"
1916      if test $ac_must_keep_next = true; then
1917	ac_must_keep_next=false # Got value, back to normal.
1918      else
1919	case $ac_arg in
1920	  *=* | --config-cache | -C | -disable-* | --disable-* \
1921	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1922	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1923	  | -with-* | --with-* | -without-* | --without-* | --x)
1924	    case "$ac_configure_args0 " in
1925	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1926	    esac
1927	    ;;
1928	  -* ) ac_must_keep_next=true ;;
1929	esac
1930      fi
1931      as_fn_append ac_configure_args " '$ac_arg'"
1932      ;;
1933    esac
1934  done
1935done
1936{ ac_configure_args0=; unset ac_configure_args0;}
1937{ ac_configure_args1=; unset ac_configure_args1;}
1938
1939# When interrupted or exit'd, cleanup temporary files, and complete
1940# config.log.  We remove comments because anyway the quotes in there
1941# would cause problems or look ugly.
1942# WARNING: Use '\'' to represent an apostrophe within the trap.
1943# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1944trap 'exit_status=$?
1945  # Save into config.log some information that might help in debugging.
1946  {
1947    echo
1948
1949    $as_echo "## ---------------- ##
1950## Cache variables. ##
1951## ---------------- ##"
1952    echo
1953    # The following way of writing the cache mishandles newlines in values,
1954(
1955  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1956    eval ac_val=\$$ac_var
1957    case $ac_val in #(
1958    *${as_nl}*)
1959      case $ac_var in #(
1960      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1961$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1962      esac
1963      case $ac_var in #(
1964      _ | IFS | as_nl) ;; #(
1965      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1966      *) { eval $ac_var=; unset $ac_var;} ;;
1967      esac ;;
1968    esac
1969  done
1970  (set) 2>&1 |
1971    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1972    *${as_nl}ac_space=\ *)
1973      sed -n \
1974	"s/'\''/'\''\\\\'\'''\''/g;
1975	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1976      ;; #(
1977    *)
1978      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1979      ;;
1980    esac |
1981    sort
1982)
1983    echo
1984
1985    $as_echo "## ----------------- ##
1986## Output variables. ##
1987## ----------------- ##"
1988    echo
1989    for ac_var in $ac_subst_vars
1990    do
1991      eval ac_val=\$$ac_var
1992      case $ac_val in
1993      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1994      esac
1995      $as_echo "$ac_var='\''$ac_val'\''"
1996    done | sort
1997    echo
1998
1999    if test -n "$ac_subst_files"; then
2000      $as_echo "## ------------------- ##
2001## File substitutions. ##
2002## ------------------- ##"
2003      echo
2004      for ac_var in $ac_subst_files
2005      do
2006	eval ac_val=\$$ac_var
2007	case $ac_val in
2008	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2009	esac
2010	$as_echo "$ac_var='\''$ac_val'\''"
2011      done | sort
2012      echo
2013    fi
2014
2015    if test -s confdefs.h; then
2016      $as_echo "## ----------- ##
2017## confdefs.h. ##
2018## ----------- ##"
2019      echo
2020      cat confdefs.h
2021      echo
2022    fi
2023    test "$ac_signal" != 0 &&
2024      $as_echo "$as_me: caught signal $ac_signal"
2025    $as_echo "$as_me: exit $exit_status"
2026  } >&5
2027  rm -f core *.core core.conftest.* &&
2028    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2029    exit $exit_status
2030' 0
2031for ac_signal in 1 2 13 15; do
2032  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2033done
2034ac_signal=0
2035
2036# confdefs.h avoids OS command line length limits that DEFS can exceed.
2037rm -f -r conftest* confdefs.h
2038
2039$as_echo "/* confdefs.h */" > confdefs.h
2040
2041# Predefined preprocessor variables.
2042
2043cat >>confdefs.h <<_ACEOF
2044#define PACKAGE_NAME "$PACKAGE_NAME"
2045_ACEOF
2046
2047cat >>confdefs.h <<_ACEOF
2048#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2049_ACEOF
2050
2051cat >>confdefs.h <<_ACEOF
2052#define PACKAGE_VERSION "$PACKAGE_VERSION"
2053_ACEOF
2054
2055cat >>confdefs.h <<_ACEOF
2056#define PACKAGE_STRING "$PACKAGE_STRING"
2057_ACEOF
2058
2059cat >>confdefs.h <<_ACEOF
2060#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2061_ACEOF
2062
2063cat >>confdefs.h <<_ACEOF
2064#define PACKAGE_URL "$PACKAGE_URL"
2065_ACEOF
2066
2067
2068# Let the site file select an alternate cache file if it wants to.
2069# Prefer an explicitly selected file to automatically selected ones.
2070ac_site_file1=NONE
2071ac_site_file2=NONE
2072if test -n "$CONFIG_SITE"; then
2073  # We do not want a PATH search for config.site.
2074  case $CONFIG_SITE in #((
2075    -*)  ac_site_file1=./$CONFIG_SITE;;
2076    */*) ac_site_file1=$CONFIG_SITE;;
2077    *)   ac_site_file1=./$CONFIG_SITE;;
2078  esac
2079elif test "x$prefix" != xNONE; then
2080  ac_site_file1=$prefix/share/config.site
2081  ac_site_file2=$prefix/etc/config.site
2082else
2083  ac_site_file1=$ac_default_prefix/share/config.site
2084  ac_site_file2=$ac_default_prefix/etc/config.site
2085fi
2086for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2087do
2088  test "x$ac_site_file" = xNONE && continue
2089  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2090    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2091$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2092    sed 's/^/| /' "$ac_site_file" >&5
2093    . "$ac_site_file" \
2094      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2095$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2096as_fn_error $? "failed to load site script $ac_site_file
2097See \`config.log' for more details" "$LINENO" 5; }
2098  fi
2099done
2100
2101if test -r "$cache_file"; then
2102  # Some versions of bash will fail to source /dev/null (special files
2103  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2104  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2105    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2106$as_echo "$as_me: loading cache $cache_file" >&6;}
2107    case $cache_file in
2108      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2109      *)                      . "./$cache_file";;
2110    esac
2111  fi
2112else
2113  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2114$as_echo "$as_me: creating cache $cache_file" >&6;}
2115  >$cache_file
2116fi
2117
2118# Check that the precious variables saved in the cache have kept the same
2119# value.
2120ac_cache_corrupted=false
2121for ac_var in $ac_precious_vars; do
2122  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2123  eval ac_new_set=\$ac_env_${ac_var}_set
2124  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2125  eval ac_new_val=\$ac_env_${ac_var}_value
2126  case $ac_old_set,$ac_new_set in
2127    set,)
2128      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2129$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2130      ac_cache_corrupted=: ;;
2131    ,set)
2132      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2133$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2134      ac_cache_corrupted=: ;;
2135    ,);;
2136    *)
2137      if test "x$ac_old_val" != "x$ac_new_val"; then
2138	# differences in whitespace do not lead to failure.
2139	ac_old_val_w=`echo x $ac_old_val`
2140	ac_new_val_w=`echo x $ac_new_val`
2141	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2142	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2143$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2144	  ac_cache_corrupted=:
2145	else
2146	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2147$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2148	  eval $ac_var=\$ac_old_val
2149	fi
2150	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2151$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2152	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2153$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2154      fi;;
2155  esac
2156  # Pass precious variables to config.status.
2157  if test "$ac_new_set" = set; then
2158    case $ac_new_val in
2159    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2160    *) ac_arg=$ac_var=$ac_new_val ;;
2161    esac
2162    case " $ac_configure_args " in
2163      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2164      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2165    esac
2166  fi
2167done
2168if $ac_cache_corrupted; then
2169  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2170$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2171  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2172$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2173  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2174fi
2175## -------------------- ##
2176## Main body of script. ##
2177## -------------------- ##
2178
2179ac_ext=c
2180ac_cpp='$CPP $CPPFLAGS'
2181ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2182ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2183ac_compiler_gnu=$ac_cv_c_compiler_gnu
2184
2185
2186am__api_version='1.11'
2187
2188ac_aux_dir=
2189for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2190  if test -f "$ac_dir/install-sh"; then
2191    ac_aux_dir=$ac_dir
2192    ac_install_sh="$ac_aux_dir/install-sh -c"
2193    break
2194  elif test -f "$ac_dir/install.sh"; then
2195    ac_aux_dir=$ac_dir
2196    ac_install_sh="$ac_aux_dir/install.sh -c"
2197    break
2198  elif test -f "$ac_dir/shtool"; then
2199    ac_aux_dir=$ac_dir
2200    ac_install_sh="$ac_aux_dir/shtool install -c"
2201    break
2202  fi
2203done
2204if test -z "$ac_aux_dir"; then
2205  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2206fi
2207
2208# These three variables are undocumented and unsupported,
2209# and are intended to be withdrawn in a future Autoconf release.
2210# They can cause serious problems if a builder's source tree is in a directory
2211# whose full name contains unusual characters.
2212ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2213ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2214ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2215
2216
2217# Find a good install program.  We prefer a C program (faster),
2218# so one script is as good as another.  But avoid the broken or
2219# incompatible versions:
2220# SysV /etc/install, /usr/sbin/install
2221# SunOS /usr/etc/install
2222# IRIX /sbin/install
2223# AIX /bin/install
2224# AmigaOS /C/install, which installs bootblocks on floppy discs
2225# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2226# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2227# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2228# OS/2's system install, which has a completely different semantic
2229# ./install, which can be erroneously created by make from ./install.sh.
2230# Reject install programs that cannot install multiple files.
2231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2232$as_echo_n "checking for a BSD-compatible install... " >&6; }
2233if test -z "$INSTALL"; then
2234if ${ac_cv_path_install+:} false; then :
2235  $as_echo_n "(cached) " >&6
2236else
2237  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238for as_dir in $PATH
2239do
2240  IFS=$as_save_IFS
2241  test -z "$as_dir" && as_dir=.
2242    # Account for people who put trailing slashes in PATH elements.
2243case $as_dir/ in #((
2244  ./ | .// | /[cC]/* | \
2245  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2246  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2247  /usr/ucb/* ) ;;
2248  *)
2249    # OSF1 and SCO ODT 3.0 have their own names for install.
2250    # Don't use installbsd from OSF since it installs stuff as root
2251    # by default.
2252    for ac_prog in ginstall scoinst install; do
2253      for ac_exec_ext in '' $ac_executable_extensions; do
2254	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2255	  if test $ac_prog = install &&
2256	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2257	    # AIX install.  It has an incompatible calling convention.
2258	    :
2259	  elif test $ac_prog = install &&
2260	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2261	    # program-specific install script used by HP pwplus--don't use.
2262	    :
2263	  else
2264	    rm -rf conftest.one conftest.two conftest.dir
2265	    echo one > conftest.one
2266	    echo two > conftest.two
2267	    mkdir conftest.dir
2268	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2269	      test -s conftest.one && test -s conftest.two &&
2270	      test -s conftest.dir/conftest.one &&
2271	      test -s conftest.dir/conftest.two
2272	    then
2273	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2274	      break 3
2275	    fi
2276	  fi
2277	fi
2278      done
2279    done
2280    ;;
2281esac
2282
2283  done
2284IFS=$as_save_IFS
2285
2286rm -rf conftest.one conftest.two conftest.dir
2287
2288fi
2289  if test "${ac_cv_path_install+set}" = set; then
2290    INSTALL=$ac_cv_path_install
2291  else
2292    # As a last resort, use the slow shell script.  Don't cache a
2293    # value for INSTALL within a source directory, because that will
2294    # break other packages using the cache if that directory is
2295    # removed, or if the value is a relative name.
2296    INSTALL=$ac_install_sh
2297  fi
2298fi
2299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2300$as_echo "$INSTALL" >&6; }
2301
2302# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2303# It thinks the first close brace ends the variable substitution.
2304test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2305
2306test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2307
2308test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2309
2310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2311$as_echo_n "checking whether build environment is sane... " >&6; }
2312# Just in case
2313sleep 1
2314echo timestamp > conftest.file
2315# Reject unsafe characters in $srcdir or the absolute working directory
2316# name.  Accept space and tab only in the latter.
2317am_lf='
2318'
2319case `pwd` in
2320  *[\\\"\#\$\&\'\`$am_lf]*)
2321    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2322esac
2323case $srcdir in
2324  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2325    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2326esac
2327
2328# Do `set' in a subshell so we don't clobber the current shell's
2329# arguments.  Must try -L first in case configure is actually a
2330# symlink; some systems play weird games with the mod time of symlinks
2331# (eg FreeBSD returns the mod time of the symlink's containing
2332# directory).
2333if (
2334   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2335   if test "$*" = "X"; then
2336      # -L didn't work.
2337      set X `ls -t "$srcdir/configure" conftest.file`
2338   fi
2339   rm -f conftest.file
2340   if test "$*" != "X $srcdir/configure conftest.file" \
2341      && test "$*" != "X conftest.file $srcdir/configure"; then
2342
2343      # If neither matched, then we have a broken ls.  This can happen
2344      # if, for instance, CONFIG_SHELL is bash and it inherits a
2345      # broken ls alias from the environment.  This has actually
2346      # happened.  Such a system could not be considered "sane".
2347      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2348alias in your environment" "$LINENO" 5
2349   fi
2350
2351   test "$2" = conftest.file
2352   )
2353then
2354   # Ok.
2355   :
2356else
2357   as_fn_error $? "newly created file is older than distributed files!
2358Check your system clock" "$LINENO" 5
2359fi
2360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2361$as_echo "yes" >&6; }
2362test "$program_prefix" != NONE &&
2363  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2364# Use a double $ so make ignores it.
2365test "$program_suffix" != NONE &&
2366  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2367# Double any \ or $.
2368# By default was `s,x,x', remove it if useless.
2369ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2370program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2371
2372# expand $ac_aux_dir to an absolute path
2373am_aux_dir=`cd $ac_aux_dir && pwd`
2374
2375if test x"${MISSING+set}" != xset; then
2376  case $am_aux_dir in
2377  *\ * | *\	*)
2378    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2379  *)
2380    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2381  esac
2382fi
2383# Use eval to expand $SHELL
2384if eval "$MISSING --run true"; then
2385  am_missing_run="$MISSING --run "
2386else
2387  am_missing_run=
2388  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2389$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2390fi
2391
2392if test x"${install_sh}" != xset; then
2393  case $am_aux_dir in
2394  *\ * | *\	*)
2395    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2396  *)
2397    install_sh="\${SHELL} $am_aux_dir/install-sh"
2398  esac
2399fi
2400
2401# Installed binaries are usually stripped using `strip' when the user
2402# run `make install-strip'.  However `strip' might not be the right
2403# tool to use in cross-compilation environments, therefore Automake
2404# will honor the `STRIP' environment variable to overrule this program.
2405if test "$cross_compiling" != no; then
2406  if test -n "$ac_tool_prefix"; then
2407  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2408set dummy ${ac_tool_prefix}strip; ac_word=$2
2409{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2410$as_echo_n "checking for $ac_word... " >&6; }
2411if ${ac_cv_prog_STRIP+:} false; then :
2412  $as_echo_n "(cached) " >&6
2413else
2414  if test -n "$STRIP"; then
2415  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2416else
2417as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2418for as_dir in $PATH
2419do
2420  IFS=$as_save_IFS
2421  test -z "$as_dir" && as_dir=.
2422    for ac_exec_ext in '' $ac_executable_extensions; do
2423  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2424    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2425    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2426    break 2
2427  fi
2428done
2429  done
2430IFS=$as_save_IFS
2431
2432fi
2433fi
2434STRIP=$ac_cv_prog_STRIP
2435if test -n "$STRIP"; then
2436  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2437$as_echo "$STRIP" >&6; }
2438else
2439  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2440$as_echo "no" >&6; }
2441fi
2442
2443
2444fi
2445if test -z "$ac_cv_prog_STRIP"; then
2446  ac_ct_STRIP=$STRIP
2447  # Extract the first word of "strip", so it can be a program name with args.
2448set dummy strip; ac_word=$2
2449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2450$as_echo_n "checking for $ac_word... " >&6; }
2451if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2452  $as_echo_n "(cached) " >&6
2453else
2454  if test -n "$ac_ct_STRIP"; then
2455  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2456else
2457as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2458for as_dir in $PATH
2459do
2460  IFS=$as_save_IFS
2461  test -z "$as_dir" && as_dir=.
2462    for ac_exec_ext in '' $ac_executable_extensions; do
2463  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2464    ac_cv_prog_ac_ct_STRIP="strip"
2465    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2466    break 2
2467  fi
2468done
2469  done
2470IFS=$as_save_IFS
2471
2472fi
2473fi
2474ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2475if test -n "$ac_ct_STRIP"; then
2476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2477$as_echo "$ac_ct_STRIP" >&6; }
2478else
2479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2480$as_echo "no" >&6; }
2481fi
2482
2483  if test "x$ac_ct_STRIP" = x; then
2484    STRIP=":"
2485  else
2486    case $cross_compiling:$ac_tool_warned in
2487yes:)
2488{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2489$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2490ac_tool_warned=yes ;;
2491esac
2492    STRIP=$ac_ct_STRIP
2493  fi
2494else
2495  STRIP="$ac_cv_prog_STRIP"
2496fi
2497
2498fi
2499INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2500
2501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2502$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2503if test -z "$MKDIR_P"; then
2504  if ${ac_cv_path_mkdir+:} false; then :
2505  $as_echo_n "(cached) " >&6
2506else
2507  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2508for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2509do
2510  IFS=$as_save_IFS
2511  test -z "$as_dir" && as_dir=.
2512    for ac_prog in mkdir gmkdir; do
2513	 for ac_exec_ext in '' $ac_executable_extensions; do
2514	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2515	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2516	     'mkdir (GNU coreutils) '* | \
2517	     'mkdir (coreutils) '* | \
2518	     'mkdir (fileutils) '4.1*)
2519	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2520	       break 3;;
2521	   esac
2522	 done
2523       done
2524  done
2525IFS=$as_save_IFS
2526
2527fi
2528
2529  test -d ./--version && rmdir ./--version
2530  if test "${ac_cv_path_mkdir+set}" = set; then
2531    MKDIR_P="$ac_cv_path_mkdir -p"
2532  else
2533    # As a last resort, use the slow shell script.  Don't cache a
2534    # value for MKDIR_P within a source directory, because that will
2535    # break other packages using the cache if that directory is
2536    # removed, or if the value is a relative name.
2537    MKDIR_P="$ac_install_sh -d"
2538  fi
2539fi
2540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2541$as_echo "$MKDIR_P" >&6; }
2542
2543mkdir_p="$MKDIR_P"
2544case $mkdir_p in
2545  [\\/$]* | ?:[\\/]*) ;;
2546  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2547esac
2548
2549for ac_prog in gawk mawk nawk awk
2550do
2551  # Extract the first word of "$ac_prog", so it can be a program name with args.
2552set dummy $ac_prog; ac_word=$2
2553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2554$as_echo_n "checking for $ac_word... " >&6; }
2555if ${ac_cv_prog_AWK+:} false; then :
2556  $as_echo_n "(cached) " >&6
2557else
2558  if test -n "$AWK"; then
2559  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2560else
2561as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2562for as_dir in $PATH
2563do
2564  IFS=$as_save_IFS
2565  test -z "$as_dir" && as_dir=.
2566    for ac_exec_ext in '' $ac_executable_extensions; do
2567  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2568    ac_cv_prog_AWK="$ac_prog"
2569    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2570    break 2
2571  fi
2572done
2573  done
2574IFS=$as_save_IFS
2575
2576fi
2577fi
2578AWK=$ac_cv_prog_AWK
2579if test -n "$AWK"; then
2580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2581$as_echo "$AWK" >&6; }
2582else
2583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2584$as_echo "no" >&6; }
2585fi
2586
2587
2588  test -n "$AWK" && break
2589done
2590
2591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2592$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2593set x ${MAKE-make}
2594ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2595if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2596  $as_echo_n "(cached) " >&6
2597else
2598  cat >conftest.make <<\_ACEOF
2599SHELL = /bin/sh
2600all:
2601	@echo '@@@%%%=$(MAKE)=@@@%%%'
2602_ACEOF
2603# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2604case `${MAKE-make} -f conftest.make 2>/dev/null` in
2605  *@@@%%%=?*=@@@%%%*)
2606    eval ac_cv_prog_make_${ac_make}_set=yes;;
2607  *)
2608    eval ac_cv_prog_make_${ac_make}_set=no;;
2609esac
2610rm -f conftest.make
2611fi
2612if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2614$as_echo "yes" >&6; }
2615  SET_MAKE=
2616else
2617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2618$as_echo "no" >&6; }
2619  SET_MAKE="MAKE=${MAKE-make}"
2620fi
2621
2622rm -rf .tst 2>/dev/null
2623mkdir .tst 2>/dev/null
2624if test -d .tst; then
2625  am__leading_dot=.
2626else
2627  am__leading_dot=_
2628fi
2629rmdir .tst 2>/dev/null
2630
2631if test "`cd $srcdir && pwd`" != "`pwd`"; then
2632  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2633  # is not polluted with repeated "-I."
2634  am__isrc=' -I$(srcdir)'
2635  # test to see if srcdir already configured
2636  if test -f $srcdir/config.status; then
2637    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2638  fi
2639fi
2640
2641# test whether we have cygpath
2642if test -z "$CYGPATH_W"; then
2643  if (cygpath --version) >/dev/null 2>/dev/null; then
2644    CYGPATH_W='cygpath -w'
2645  else
2646    CYGPATH_W=echo
2647  fi
2648fi
2649
2650
2651# Define the identity of the package.
2652 PACKAGE='libfontenc'
2653 VERSION='1.1.0'
2654
2655
2656cat >>confdefs.h <<_ACEOF
2657#define PACKAGE "$PACKAGE"
2658_ACEOF
2659
2660
2661cat >>confdefs.h <<_ACEOF
2662#define VERSION "$VERSION"
2663_ACEOF
2664
2665# Some tools Automake needs.
2666
2667ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2668
2669
2670AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2671
2672
2673AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2674
2675
2676AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2677
2678
2679MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2680
2681# We need awk for the "check" target.  The system "awk" is bad on
2682# some platforms.
2683# Always define AMTAR for backward compatibility.
2684
2685AMTAR=${AMTAR-"${am_missing_run}tar"}
2686
2687am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2688
2689
2690
2691
2692
2693
2694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2695$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2696    # Check whether --enable-maintainer-mode was given.
2697if test "${enable_maintainer_mode+set}" = set; then :
2698  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2699else
2700  USE_MAINTAINER_MODE=no
2701fi
2702
2703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2704$as_echo "$USE_MAINTAINER_MODE" >&6; }
2705   if test $USE_MAINTAINER_MODE = yes; then
2706  MAINTAINER_MODE_TRUE=
2707  MAINTAINER_MODE_FALSE='#'
2708else
2709  MAINTAINER_MODE_TRUE='#'
2710  MAINTAINER_MODE_FALSE=
2711fi
2712
2713  MAINT=$MAINTAINER_MODE_TRUE
2714
2715
2716
2717# Require xorg-macros: XORG_DEFAULT_OPTIONS
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729DEPDIR="${am__leading_dot}deps"
2730
2731ac_config_commands="$ac_config_commands depfiles"
2732
2733
2734am_make=${MAKE-make}
2735cat > confinc << 'END'
2736am__doit:
2737	@echo this is the am__doit target
2738.PHONY: am__doit
2739END
2740# If we don't find an include directive, just comment out the code.
2741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2742$as_echo_n "checking for style of include used by $am_make... " >&6; }
2743am__include="#"
2744am__quote=
2745_am_result=none
2746# First try GNU make style include.
2747echo "include confinc" > confmf
2748# Ignore all kinds of additional output from `make'.
2749case `$am_make -s -f confmf 2> /dev/null` in #(
2750*the\ am__doit\ target*)
2751  am__include=include
2752  am__quote=
2753  _am_result=GNU
2754  ;;
2755esac
2756# Now try BSD make style include.
2757if test "$am__include" = "#"; then
2758   echo '.include "confinc"' > confmf
2759   case `$am_make -s -f confmf 2> /dev/null` in #(
2760   *the\ am__doit\ target*)
2761     am__include=.include
2762     am__quote="\""
2763     _am_result=BSD
2764     ;;
2765   esac
2766fi
2767
2768
2769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2770$as_echo "$_am_result" >&6; }
2771rm -f confinc confmf
2772
2773# Check whether --enable-dependency-tracking was given.
2774if test "${enable_dependency_tracking+set}" = set; then :
2775  enableval=$enable_dependency_tracking;
2776fi
2777
2778if test "x$enable_dependency_tracking" != xno; then
2779  am_depcomp="$ac_aux_dir/depcomp"
2780  AMDEPBACKSLASH='\'
2781fi
2782 if test "x$enable_dependency_tracking" != xno; then
2783  AMDEP_TRUE=
2784  AMDEP_FALSE='#'
2785else
2786  AMDEP_TRUE='#'
2787  AMDEP_FALSE=
2788fi
2789
2790
2791ac_ext=c
2792ac_cpp='$CPP $CPPFLAGS'
2793ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2794ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2795ac_compiler_gnu=$ac_cv_c_compiler_gnu
2796if test -n "$ac_tool_prefix"; then
2797  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2798set dummy ${ac_tool_prefix}gcc; ac_word=$2
2799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2800$as_echo_n "checking for $ac_word... " >&6; }
2801if ${ac_cv_prog_CC+:} false; then :
2802  $as_echo_n "(cached) " >&6
2803else
2804  if test -n "$CC"; then
2805  ac_cv_prog_CC="$CC" # Let the user override the test.
2806else
2807as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2808for as_dir in $PATH
2809do
2810  IFS=$as_save_IFS
2811  test -z "$as_dir" && as_dir=.
2812    for ac_exec_ext in '' $ac_executable_extensions; do
2813  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2814    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2815    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2816    break 2
2817  fi
2818done
2819  done
2820IFS=$as_save_IFS
2821
2822fi
2823fi
2824CC=$ac_cv_prog_CC
2825if test -n "$CC"; then
2826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2827$as_echo "$CC" >&6; }
2828else
2829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2830$as_echo "no" >&6; }
2831fi
2832
2833
2834fi
2835if test -z "$ac_cv_prog_CC"; then
2836  ac_ct_CC=$CC
2837  # Extract the first word of "gcc", so it can be a program name with args.
2838set dummy gcc; ac_word=$2
2839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2840$as_echo_n "checking for $ac_word... " >&6; }
2841if ${ac_cv_prog_ac_ct_CC+:} false; then :
2842  $as_echo_n "(cached) " >&6
2843else
2844  if test -n "$ac_ct_CC"; then
2845  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2846else
2847as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2848for as_dir in $PATH
2849do
2850  IFS=$as_save_IFS
2851  test -z "$as_dir" && as_dir=.
2852    for ac_exec_ext in '' $ac_executable_extensions; do
2853  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2854    ac_cv_prog_ac_ct_CC="gcc"
2855    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2856    break 2
2857  fi
2858done
2859  done
2860IFS=$as_save_IFS
2861
2862fi
2863fi
2864ac_ct_CC=$ac_cv_prog_ac_ct_CC
2865if test -n "$ac_ct_CC"; then
2866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2867$as_echo "$ac_ct_CC" >&6; }
2868else
2869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870$as_echo "no" >&6; }
2871fi
2872
2873  if test "x$ac_ct_CC" = x; then
2874    CC=""
2875  else
2876    case $cross_compiling:$ac_tool_warned in
2877yes:)
2878{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2879$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2880ac_tool_warned=yes ;;
2881esac
2882    CC=$ac_ct_CC
2883  fi
2884else
2885  CC="$ac_cv_prog_CC"
2886fi
2887
2888if test -z "$CC"; then
2889          if test -n "$ac_tool_prefix"; then
2890    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2891set dummy ${ac_tool_prefix}cc; ac_word=$2
2892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2893$as_echo_n "checking for $ac_word... " >&6; }
2894if ${ac_cv_prog_CC+:} false; then :
2895  $as_echo_n "(cached) " >&6
2896else
2897  if test -n "$CC"; then
2898  ac_cv_prog_CC="$CC" # Let the user override the test.
2899else
2900as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2901for as_dir in $PATH
2902do
2903  IFS=$as_save_IFS
2904  test -z "$as_dir" && as_dir=.
2905    for ac_exec_ext in '' $ac_executable_extensions; do
2906  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2907    ac_cv_prog_CC="${ac_tool_prefix}cc"
2908    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2909    break 2
2910  fi
2911done
2912  done
2913IFS=$as_save_IFS
2914
2915fi
2916fi
2917CC=$ac_cv_prog_CC
2918if test -n "$CC"; then
2919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2920$as_echo "$CC" >&6; }
2921else
2922  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2923$as_echo "no" >&6; }
2924fi
2925
2926
2927  fi
2928fi
2929if test -z "$CC"; then
2930  # Extract the first word of "cc", so it can be a program name with args.
2931set dummy cc; ac_word=$2
2932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2933$as_echo_n "checking for $ac_word... " >&6; }
2934if ${ac_cv_prog_CC+:} false; then :
2935  $as_echo_n "(cached) " >&6
2936else
2937  if test -n "$CC"; then
2938  ac_cv_prog_CC="$CC" # Let the user override the test.
2939else
2940  ac_prog_rejected=no
2941as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2942for as_dir in $PATH
2943do
2944  IFS=$as_save_IFS
2945  test -z "$as_dir" && as_dir=.
2946    for ac_exec_ext in '' $ac_executable_extensions; do
2947  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2948    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2949       ac_prog_rejected=yes
2950       continue
2951     fi
2952    ac_cv_prog_CC="cc"
2953    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2954    break 2
2955  fi
2956done
2957  done
2958IFS=$as_save_IFS
2959
2960if test $ac_prog_rejected = yes; then
2961  # We found a bogon in the path, so make sure we never use it.
2962  set dummy $ac_cv_prog_CC
2963  shift
2964  if test $# != 0; then
2965    # We chose a different compiler from the bogus one.
2966    # However, it has the same basename, so the bogon will be chosen
2967    # first if we set CC to just the basename; use the full file name.
2968    shift
2969    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2970  fi
2971fi
2972fi
2973fi
2974CC=$ac_cv_prog_CC
2975if test -n "$CC"; then
2976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2977$as_echo "$CC" >&6; }
2978else
2979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2980$as_echo "no" >&6; }
2981fi
2982
2983
2984fi
2985if test -z "$CC"; then
2986  if test -n "$ac_tool_prefix"; then
2987  for ac_prog in cl.exe
2988  do
2989    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2990set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2992$as_echo_n "checking for $ac_word... " >&6; }
2993if ${ac_cv_prog_CC+:} false; then :
2994  $as_echo_n "(cached) " >&6
2995else
2996  if test -n "$CC"; then
2997  ac_cv_prog_CC="$CC" # Let the user override the test.
2998else
2999as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3000for as_dir in $PATH
3001do
3002  IFS=$as_save_IFS
3003  test -z "$as_dir" && as_dir=.
3004    for ac_exec_ext in '' $ac_executable_extensions; do
3005  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3006    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3007    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3008    break 2
3009  fi
3010done
3011  done
3012IFS=$as_save_IFS
3013
3014fi
3015fi
3016CC=$ac_cv_prog_CC
3017if test -n "$CC"; then
3018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3019$as_echo "$CC" >&6; }
3020else
3021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3022$as_echo "no" >&6; }
3023fi
3024
3025
3026    test -n "$CC" && break
3027  done
3028fi
3029if test -z "$CC"; then
3030  ac_ct_CC=$CC
3031  for ac_prog in cl.exe
3032do
3033  # Extract the first word of "$ac_prog", so it can be a program name with args.
3034set dummy $ac_prog; ac_word=$2
3035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3036$as_echo_n "checking for $ac_word... " >&6; }
3037if ${ac_cv_prog_ac_ct_CC+:} false; then :
3038  $as_echo_n "(cached) " >&6
3039else
3040  if test -n "$ac_ct_CC"; then
3041  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3042else
3043as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044for as_dir in $PATH
3045do
3046  IFS=$as_save_IFS
3047  test -z "$as_dir" && as_dir=.
3048    for ac_exec_ext in '' $ac_executable_extensions; do
3049  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3050    ac_cv_prog_ac_ct_CC="$ac_prog"
3051    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052    break 2
3053  fi
3054done
3055  done
3056IFS=$as_save_IFS
3057
3058fi
3059fi
3060ac_ct_CC=$ac_cv_prog_ac_ct_CC
3061if test -n "$ac_ct_CC"; then
3062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3063$as_echo "$ac_ct_CC" >&6; }
3064else
3065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3066$as_echo "no" >&6; }
3067fi
3068
3069
3070  test -n "$ac_ct_CC" && break
3071done
3072
3073  if test "x$ac_ct_CC" = x; then
3074    CC=""
3075  else
3076    case $cross_compiling:$ac_tool_warned in
3077yes:)
3078{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3079$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3080ac_tool_warned=yes ;;
3081esac
3082    CC=$ac_ct_CC
3083  fi
3084fi
3085
3086fi
3087
3088
3089test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3090$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3091as_fn_error $? "no acceptable C compiler found in \$PATH
3092See \`config.log' for more details" "$LINENO" 5; }
3093
3094# Provide some information about the compiler.
3095$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3096set X $ac_compile
3097ac_compiler=$2
3098for ac_option in --version -v -V -qversion; do
3099  { { ac_try="$ac_compiler $ac_option >&5"
3100case "(($ac_try" in
3101  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102  *) ac_try_echo=$ac_try;;
3103esac
3104eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3105$as_echo "$ac_try_echo"; } >&5
3106  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3107  ac_status=$?
3108  if test -s conftest.err; then
3109    sed '10a\
3110... rest of stderr output deleted ...
3111         10q' conftest.err >conftest.er1
3112    cat conftest.er1 >&5
3113  fi
3114  rm -f conftest.er1 conftest.err
3115  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3116  test $ac_status = 0; }
3117done
3118
3119cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3120/* end confdefs.h.  */
3121
3122int
3123main ()
3124{
3125
3126  ;
3127  return 0;
3128}
3129_ACEOF
3130ac_clean_files_save=$ac_clean_files
3131ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3132# Try to create an executable without -o first, disregard a.out.
3133# It will help us diagnose broken compilers, and finding out an intuition
3134# of exeext.
3135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3136$as_echo_n "checking whether the C compiler works... " >&6; }
3137ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3138
3139# The possible output files:
3140ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3141
3142ac_rmfiles=
3143for ac_file in $ac_files
3144do
3145  case $ac_file in
3146    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3147    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3148  esac
3149done
3150rm -f $ac_rmfiles
3151
3152if { { ac_try="$ac_link_default"
3153case "(($ac_try" in
3154  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155  *) ac_try_echo=$ac_try;;
3156esac
3157eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3158$as_echo "$ac_try_echo"; } >&5
3159  (eval "$ac_link_default") 2>&5
3160  ac_status=$?
3161  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3162  test $ac_status = 0; }; then :
3163  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3164# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3165# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3166# so that the user can short-circuit this test for compilers unknown to
3167# Autoconf.
3168for ac_file in $ac_files ''
3169do
3170  test -f "$ac_file" || continue
3171  case $ac_file in
3172    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3173	;;
3174    [ab].out )
3175	# We found the default executable, but exeext='' is most
3176	# certainly right.
3177	break;;
3178    *.* )
3179	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3180	then :; else
3181	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3182	fi
3183	# We set ac_cv_exeext here because the later test for it is not
3184	# safe: cross compilers may not add the suffix if given an `-o'
3185	# argument, so we may need to know it at that point already.
3186	# Even if this section looks crufty: it has the advantage of
3187	# actually working.
3188	break;;
3189    * )
3190	break;;
3191  esac
3192done
3193test "$ac_cv_exeext" = no && ac_cv_exeext=
3194
3195else
3196  ac_file=''
3197fi
3198if test -z "$ac_file"; then :
3199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3200$as_echo "no" >&6; }
3201$as_echo "$as_me: failed program was:" >&5
3202sed 's/^/| /' conftest.$ac_ext >&5
3203
3204{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3205$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3206as_fn_error 77 "C compiler cannot create executables
3207See \`config.log' for more details" "$LINENO" 5; }
3208else
3209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3210$as_echo "yes" >&6; }
3211fi
3212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3213$as_echo_n "checking for C compiler default output file name... " >&6; }
3214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3215$as_echo "$ac_file" >&6; }
3216ac_exeext=$ac_cv_exeext
3217
3218rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3219ac_clean_files=$ac_clean_files_save
3220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3221$as_echo_n "checking for suffix of executables... " >&6; }
3222if { { ac_try="$ac_link"
3223case "(($ac_try" in
3224  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225  *) ac_try_echo=$ac_try;;
3226esac
3227eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3228$as_echo "$ac_try_echo"; } >&5
3229  (eval "$ac_link") 2>&5
3230  ac_status=$?
3231  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3232  test $ac_status = 0; }; then :
3233  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3234# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3235# work properly (i.e., refer to `conftest.exe'), while it won't with
3236# `rm'.
3237for ac_file in conftest.exe conftest conftest.*; do
3238  test -f "$ac_file" || continue
3239  case $ac_file in
3240    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3241    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3242	  break;;
3243    * ) break;;
3244  esac
3245done
3246else
3247  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3248$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3249as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3250See \`config.log' for more details" "$LINENO" 5; }
3251fi
3252rm -f conftest conftest$ac_cv_exeext
3253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3254$as_echo "$ac_cv_exeext" >&6; }
3255
3256rm -f conftest.$ac_ext
3257EXEEXT=$ac_cv_exeext
3258ac_exeext=$EXEEXT
3259cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260/* end confdefs.h.  */
3261#include <stdio.h>
3262int
3263main ()
3264{
3265FILE *f = fopen ("conftest.out", "w");
3266 return ferror (f) || fclose (f) != 0;
3267
3268  ;
3269  return 0;
3270}
3271_ACEOF
3272ac_clean_files="$ac_clean_files conftest.out"
3273# Check that the compiler produces executables we can run.  If not, either
3274# the compiler is broken, or we cross compile.
3275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3276$as_echo_n "checking whether we are cross compiling... " >&6; }
3277if test "$cross_compiling" != yes; then
3278  { { ac_try="$ac_link"
3279case "(($ac_try" in
3280  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3281  *) ac_try_echo=$ac_try;;
3282esac
3283eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3284$as_echo "$ac_try_echo"; } >&5
3285  (eval "$ac_link") 2>&5
3286  ac_status=$?
3287  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3288  test $ac_status = 0; }
3289  if { ac_try='./conftest$ac_cv_exeext'
3290  { { case "(($ac_try" in
3291  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3292  *) ac_try_echo=$ac_try;;
3293esac
3294eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3295$as_echo "$ac_try_echo"; } >&5
3296  (eval "$ac_try") 2>&5
3297  ac_status=$?
3298  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3299  test $ac_status = 0; }; }; then
3300    cross_compiling=no
3301  else
3302    if test "$cross_compiling" = maybe; then
3303	cross_compiling=yes
3304    else
3305	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3306$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3307as_fn_error $? "cannot run C compiled programs.
3308If you meant to cross compile, use \`--host'.
3309See \`config.log' for more details" "$LINENO" 5; }
3310    fi
3311  fi
3312fi
3313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3314$as_echo "$cross_compiling" >&6; }
3315
3316rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3317ac_clean_files=$ac_clean_files_save
3318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3319$as_echo_n "checking for suffix of object files... " >&6; }
3320if ${ac_cv_objext+:} false; then :
3321  $as_echo_n "(cached) " >&6
3322else
3323  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324/* end confdefs.h.  */
3325
3326int
3327main ()
3328{
3329
3330  ;
3331  return 0;
3332}
3333_ACEOF
3334rm -f conftest.o conftest.obj
3335if { { ac_try="$ac_compile"
3336case "(($ac_try" in
3337  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338  *) ac_try_echo=$ac_try;;
3339esac
3340eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3341$as_echo "$ac_try_echo"; } >&5
3342  (eval "$ac_compile") 2>&5
3343  ac_status=$?
3344  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3345  test $ac_status = 0; }; then :
3346  for ac_file in conftest.o conftest.obj conftest.*; do
3347  test -f "$ac_file" || continue;
3348  case $ac_file in
3349    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3350    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3351       break;;
3352  esac
3353done
3354else
3355  $as_echo "$as_me: failed program was:" >&5
3356sed 's/^/| /' conftest.$ac_ext >&5
3357
3358{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3359$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3360as_fn_error $? "cannot compute suffix of object files: cannot compile
3361See \`config.log' for more details" "$LINENO" 5; }
3362fi
3363rm -f conftest.$ac_cv_objext conftest.$ac_ext
3364fi
3365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3366$as_echo "$ac_cv_objext" >&6; }
3367OBJEXT=$ac_cv_objext
3368ac_objext=$OBJEXT
3369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3370$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3371if ${ac_cv_c_compiler_gnu+:} false; then :
3372  $as_echo_n "(cached) " >&6
3373else
3374  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375/* end confdefs.h.  */
3376
3377int
3378main ()
3379{
3380#ifndef __GNUC__
3381       choke me
3382#endif
3383
3384  ;
3385  return 0;
3386}
3387_ACEOF
3388if ac_fn_c_try_compile "$LINENO"; then :
3389  ac_compiler_gnu=yes
3390else
3391  ac_compiler_gnu=no
3392fi
3393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3394ac_cv_c_compiler_gnu=$ac_compiler_gnu
3395
3396fi
3397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3398$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3399if test $ac_compiler_gnu = yes; then
3400  GCC=yes
3401else
3402  GCC=
3403fi
3404ac_test_CFLAGS=${CFLAGS+set}
3405ac_save_CFLAGS=$CFLAGS
3406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3407$as_echo_n "checking whether $CC accepts -g... " >&6; }
3408if ${ac_cv_prog_cc_g+:} false; then :
3409  $as_echo_n "(cached) " >&6
3410else
3411  ac_save_c_werror_flag=$ac_c_werror_flag
3412   ac_c_werror_flag=yes
3413   ac_cv_prog_cc_g=no
3414   CFLAGS="-g"
3415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416/* end confdefs.h.  */
3417
3418int
3419main ()
3420{
3421
3422  ;
3423  return 0;
3424}
3425_ACEOF
3426if ac_fn_c_try_compile "$LINENO"; then :
3427  ac_cv_prog_cc_g=yes
3428else
3429  CFLAGS=""
3430      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431/* end confdefs.h.  */
3432
3433int
3434main ()
3435{
3436
3437  ;
3438  return 0;
3439}
3440_ACEOF
3441if ac_fn_c_try_compile "$LINENO"; then :
3442
3443else
3444  ac_c_werror_flag=$ac_save_c_werror_flag
3445	 CFLAGS="-g"
3446	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447/* end confdefs.h.  */
3448
3449int
3450main ()
3451{
3452
3453  ;
3454  return 0;
3455}
3456_ACEOF
3457if ac_fn_c_try_compile "$LINENO"; then :
3458  ac_cv_prog_cc_g=yes
3459fi
3460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3461fi
3462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3463fi
3464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3465   ac_c_werror_flag=$ac_save_c_werror_flag
3466fi
3467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3468$as_echo "$ac_cv_prog_cc_g" >&6; }
3469if test "$ac_test_CFLAGS" = set; then
3470  CFLAGS=$ac_save_CFLAGS
3471elif test $ac_cv_prog_cc_g = yes; then
3472  if test "$GCC" = yes; then
3473    CFLAGS="-g -O2"
3474  else
3475    CFLAGS="-g"
3476  fi
3477else
3478  if test "$GCC" = yes; then
3479    CFLAGS="-O2"
3480  else
3481    CFLAGS=
3482  fi
3483fi
3484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3485$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3486if ${ac_cv_prog_cc_c89+:} false; then :
3487  $as_echo_n "(cached) " >&6
3488else
3489  ac_cv_prog_cc_c89=no
3490ac_save_CC=$CC
3491cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3492/* end confdefs.h.  */
3493#include <stdarg.h>
3494#include <stdio.h>
3495#include <sys/types.h>
3496#include <sys/stat.h>
3497/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3498struct buf { int x; };
3499FILE * (*rcsopen) (struct buf *, struct stat *, int);
3500static char *e (p, i)
3501     char **p;
3502     int i;
3503{
3504  return p[i];
3505}
3506static char *f (char * (*g) (char **, int), char **p, ...)
3507{
3508  char *s;
3509  va_list v;
3510  va_start (v,p);
3511  s = g (p, va_arg (v,int));
3512  va_end (v);
3513  return s;
3514}
3515
3516/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3517   function prototypes and stuff, but not '\xHH' hex character constants.
3518   These don't provoke an error unfortunately, instead are silently treated
3519   as 'x'.  The following induces an error, until -std is added to get
3520   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3521   array size at least.  It's necessary to write '\x00'==0 to get something
3522   that's true only with -std.  */
3523int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3524
3525/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3526   inside strings and character constants.  */
3527#define FOO(x) 'x'
3528int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3529
3530int test (int i, double x);
3531struct s1 {int (*f) (int a);};
3532struct s2 {int (*f) (double a);};
3533int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3534int argc;
3535char **argv;
3536int
3537main ()
3538{
3539return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3540  ;
3541  return 0;
3542}
3543_ACEOF
3544for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3545	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3546do
3547  CC="$ac_save_CC $ac_arg"
3548  if ac_fn_c_try_compile "$LINENO"; then :
3549  ac_cv_prog_cc_c89=$ac_arg
3550fi
3551rm -f core conftest.err conftest.$ac_objext
3552  test "x$ac_cv_prog_cc_c89" != "xno" && break
3553done
3554rm -f conftest.$ac_ext
3555CC=$ac_save_CC
3556
3557fi
3558# AC_CACHE_VAL
3559case "x$ac_cv_prog_cc_c89" in
3560  x)
3561    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3562$as_echo "none needed" >&6; } ;;
3563  xno)
3564    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3565$as_echo "unsupported" >&6; } ;;
3566  *)
3567    CC="$CC $ac_cv_prog_cc_c89"
3568    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3569$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3570esac
3571if test "x$ac_cv_prog_cc_c89" != xno; then :
3572
3573fi
3574
3575ac_ext=c
3576ac_cpp='$CPP $CPPFLAGS'
3577ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3578ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3579ac_compiler_gnu=$ac_cv_c_compiler_gnu
3580
3581depcc="$CC"   am_compiler_list=
3582
3583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3584$as_echo_n "checking dependency style of $depcc... " >&6; }
3585if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3586  $as_echo_n "(cached) " >&6
3587else
3588  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3589  # We make a subdir and do the tests there.  Otherwise we can end up
3590  # making bogus files that we don't know about and never remove.  For
3591  # instance it was reported that on HP-UX the gcc test will end up
3592  # making a dummy file named `D' -- because `-MD' means `put the output
3593  # in D'.
3594  mkdir conftest.dir
3595  # Copy depcomp to subdir because otherwise we won't find it if we're
3596  # using a relative directory.
3597  cp "$am_depcomp" conftest.dir
3598  cd conftest.dir
3599  # We will build objects and dependencies in a subdirectory because
3600  # it helps to detect inapplicable dependency modes.  For instance
3601  # both Tru64's cc and ICC support -MD to output dependencies as a
3602  # side effect of compilation, but ICC will put the dependencies in
3603  # the current directory while Tru64 will put them in the object
3604  # directory.
3605  mkdir sub
3606
3607  am_cv_CC_dependencies_compiler_type=none
3608  if test "$am_compiler_list" = ""; then
3609     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3610  fi
3611  am__universal=false
3612  case " $depcc " in #(
3613     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3614     esac
3615
3616  for depmode in $am_compiler_list; do
3617    # Setup a source with many dependencies, because some compilers
3618    # like to wrap large dependency lists on column 80 (with \), and
3619    # we should not choose a depcomp mode which is confused by this.
3620    #
3621    # We need to recreate these files for each test, as the compiler may
3622    # overwrite some of them when testing with obscure command lines.
3623    # This happens at least with the AIX C compiler.
3624    : > sub/conftest.c
3625    for i in 1 2 3 4 5 6; do
3626      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3627      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3628      # Solaris 8's {/usr,}/bin/sh.
3629      touch sub/conftst$i.h
3630    done
3631    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3632
3633    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3634    # mode.  It turns out that the SunPro C++ compiler does not properly
3635    # handle `-M -o', and we need to detect this.  Also, some Intel
3636    # versions had trouble with output in subdirs
3637    am__obj=sub/conftest.${OBJEXT-o}
3638    am__minus_obj="-o $am__obj"
3639    case $depmode in
3640    gcc)
3641      # This depmode causes a compiler race in universal mode.
3642      test "$am__universal" = false || continue
3643      ;;
3644    nosideeffect)
3645      # after this tag, mechanisms are not by side-effect, so they'll
3646      # only be used when explicitly requested
3647      if test "x$enable_dependency_tracking" = xyes; then
3648	continue
3649      else
3650	break
3651      fi
3652      ;;
3653    msvisualcpp | msvcmsys)
3654      # This compiler won't grok `-c -o', but also, the minuso test has
3655      # not run yet.  These depmodes are late enough in the game, and
3656      # so weak that their functioning should not be impacted.
3657      am__obj=conftest.${OBJEXT-o}
3658      am__minus_obj=
3659      ;;
3660    none) break ;;
3661    esac
3662    if depmode=$depmode \
3663       source=sub/conftest.c object=$am__obj \
3664       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3665       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3666         >/dev/null 2>conftest.err &&
3667       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3668       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3669       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3670       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3671      # icc doesn't choke on unknown options, it will just issue warnings
3672      # or remarks (even with -Werror).  So we grep stderr for any message
3673      # that says an option was ignored or not supported.
3674      # When given -MP, icc 7.0 and 7.1 complain thusly:
3675      #   icc: Command line warning: ignoring option '-M'; no argument required
3676      # The diagnosis changed in icc 8.0:
3677      #   icc: Command line remark: option '-MP' not supported
3678      if (grep 'ignoring option' conftest.err ||
3679          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3680        am_cv_CC_dependencies_compiler_type=$depmode
3681        break
3682      fi
3683    fi
3684  done
3685
3686  cd ..
3687  rm -rf conftest.dir
3688else
3689  am_cv_CC_dependencies_compiler_type=none
3690fi
3691
3692fi
3693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3694$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3695CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3696
3697 if
3698  test "x$enable_dependency_tracking" != xno \
3699  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3700  am__fastdepCC_TRUE=
3701  am__fastdepCC_FALSE='#'
3702else
3703  am__fastdepCC_TRUE='#'
3704  am__fastdepCC_FALSE=
3705fi
3706
3707
3708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3709$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3710if ${ac_cv_prog_cc_c99+:} false; then :
3711  $as_echo_n "(cached) " >&6
3712else
3713  ac_cv_prog_cc_c99=no
3714ac_save_CC=$CC
3715cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3716/* end confdefs.h.  */
3717#include <stdarg.h>
3718#include <stdbool.h>
3719#include <stdlib.h>
3720#include <wchar.h>
3721#include <stdio.h>
3722
3723// Check varargs macros.  These examples are taken from C99 6.10.3.5.
3724#define debug(...) fprintf (stderr, __VA_ARGS__)
3725#define showlist(...) puts (#__VA_ARGS__)
3726#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3727static void
3728test_varargs_macros (void)
3729{
3730  int x = 1234;
3731  int y = 5678;
3732  debug ("Flag");
3733  debug ("X = %d\n", x);
3734  showlist (The first, second, and third items.);
3735  report (x>y, "x is %d but y is %d", x, y);
3736}
3737
3738// Check long long types.
3739#define BIG64 18446744073709551615ull
3740#define BIG32 4294967295ul
3741#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3742#if !BIG_OK
3743  your preprocessor is broken;
3744#endif
3745#if BIG_OK
3746#else
3747  your preprocessor is broken;
3748#endif
3749static long long int bignum = -9223372036854775807LL;
3750static unsigned long long int ubignum = BIG64;
3751
3752struct incomplete_array
3753{
3754  int datasize;
3755  double data[];
3756};
3757
3758struct named_init {
3759  int number;
3760  const wchar_t *name;
3761  double average;
3762};
3763
3764typedef const char *ccp;
3765
3766static inline int
3767test_restrict (ccp restrict text)
3768{
3769  // See if C++-style comments work.
3770  // Iterate through items via the restricted pointer.
3771  // Also check for declarations in for loops.
3772  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3773    continue;
3774  return 0;
3775}
3776
3777// Check varargs and va_copy.
3778static void
3779test_varargs (const char *format, ...)
3780{
3781  va_list args;
3782  va_start (args, format);
3783  va_list args_copy;
3784  va_copy (args_copy, args);
3785
3786  const char *str;
3787  int number;
3788  float fnumber;
3789
3790  while (*format)
3791    {
3792      switch (*format++)
3793	{
3794	case 's': // string
3795	  str = va_arg (args_copy, const char *);
3796	  break;
3797	case 'd': // int
3798	  number = va_arg (args_copy, int);
3799	  break;
3800	case 'f': // float
3801	  fnumber = va_arg (args_copy, double);
3802	  break;
3803	default:
3804	  break;
3805	}
3806    }
3807  va_end (args_copy);
3808  va_end (args);
3809}
3810
3811int
3812main ()
3813{
3814
3815  // Check bool.
3816  _Bool success = false;
3817
3818  // Check restrict.
3819  if (test_restrict ("String literal") == 0)
3820    success = true;
3821  char *restrict newvar = "Another string";
3822
3823  // Check varargs.
3824  test_varargs ("s, d' f .", "string", 65, 34.234);
3825  test_varargs_macros ();
3826
3827  // Check flexible array members.
3828  struct incomplete_array *ia =
3829    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3830  ia->datasize = 10;
3831  for (int i = 0; i < ia->datasize; ++i)
3832    ia->data[i] = i * 1.234;
3833
3834  // Check named initializers.
3835  struct named_init ni = {
3836    .number = 34,
3837    .name = L"Test wide string",
3838    .average = 543.34343,
3839  };
3840
3841  ni.number = 58;
3842
3843  int dynamic_array[ni.number];
3844  dynamic_array[ni.number - 1] = 543;
3845
3846  // work around unused variable warnings
3847  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3848	  || dynamic_array[ni.number - 1] != 543);
3849
3850  ;
3851  return 0;
3852}
3853_ACEOF
3854for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3855do
3856  CC="$ac_save_CC $ac_arg"
3857  if ac_fn_c_try_compile "$LINENO"; then :
3858  ac_cv_prog_cc_c99=$ac_arg
3859fi
3860rm -f core conftest.err conftest.$ac_objext
3861  test "x$ac_cv_prog_cc_c99" != "xno" && break
3862done
3863rm -f conftest.$ac_ext
3864CC=$ac_save_CC
3865
3866fi
3867# AC_CACHE_VAL
3868case "x$ac_cv_prog_cc_c99" in
3869  x)
3870    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3871$as_echo "none needed" >&6; } ;;
3872  xno)
3873    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3874$as_echo "unsupported" >&6; } ;;
3875  *)
3876    CC="$CC $ac_cv_prog_cc_c99"
3877    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3878$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3879esac
3880if test "x$ac_cv_prog_cc_c99" != xno; then :
3881
3882fi
3883
3884
3885
3886ac_ext=c
3887ac_cpp='$CPP $CPPFLAGS'
3888ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3889ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3890ac_compiler_gnu=$ac_cv_c_compiler_gnu
3891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3892$as_echo_n "checking how to run the C preprocessor... " >&6; }
3893# On Suns, sometimes $CPP names a directory.
3894if test -n "$CPP" && test -d "$CPP"; then
3895  CPP=
3896fi
3897if test -z "$CPP"; then
3898  if ${ac_cv_prog_CPP+:} false; then :
3899  $as_echo_n "(cached) " >&6
3900else
3901      # Double quotes because CPP needs to be expanded
3902    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3903    do
3904      ac_preproc_ok=false
3905for ac_c_preproc_warn_flag in '' yes
3906do
3907  # Use a header file that comes with gcc, so configuring glibc
3908  # with a fresh cross-compiler works.
3909  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3910  # <limits.h> exists even on freestanding compilers.
3911  # On the NeXT, cc -E runs the code through the compiler's parser,
3912  # not just through cpp. "Syntax error" is here to catch this case.
3913  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914/* end confdefs.h.  */
3915#ifdef __STDC__
3916# include <limits.h>
3917#else
3918# include <assert.h>
3919#endif
3920		     Syntax error
3921_ACEOF
3922if ac_fn_c_try_cpp "$LINENO"; then :
3923
3924else
3925  # Broken: fails on valid input.
3926continue
3927fi
3928rm -f conftest.err conftest.i conftest.$ac_ext
3929
3930  # OK, works on sane cases.  Now check whether nonexistent headers
3931  # can be detected and how.
3932  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3933/* end confdefs.h.  */
3934#include <ac_nonexistent.h>
3935_ACEOF
3936if ac_fn_c_try_cpp "$LINENO"; then :
3937  # Broken: success on invalid input.
3938continue
3939else
3940  # Passes both tests.
3941ac_preproc_ok=:
3942break
3943fi
3944rm -f conftest.err conftest.i conftest.$ac_ext
3945
3946done
3947# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3948rm -f conftest.i conftest.err conftest.$ac_ext
3949if $ac_preproc_ok; then :
3950  break
3951fi
3952
3953    done
3954    ac_cv_prog_CPP=$CPP
3955
3956fi
3957  CPP=$ac_cv_prog_CPP
3958else
3959  ac_cv_prog_CPP=$CPP
3960fi
3961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3962$as_echo "$CPP" >&6; }
3963ac_preproc_ok=false
3964for ac_c_preproc_warn_flag in '' yes
3965do
3966  # Use a header file that comes with gcc, so configuring glibc
3967  # with a fresh cross-compiler works.
3968  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3969  # <limits.h> exists even on freestanding compilers.
3970  # On the NeXT, cc -E runs the code through the compiler's parser,
3971  # not just through cpp. "Syntax error" is here to catch this case.
3972  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3973/* end confdefs.h.  */
3974#ifdef __STDC__
3975# include <limits.h>
3976#else
3977# include <assert.h>
3978#endif
3979		     Syntax error
3980_ACEOF
3981if ac_fn_c_try_cpp "$LINENO"; then :
3982
3983else
3984  # Broken: fails on valid input.
3985continue
3986fi
3987rm -f conftest.err conftest.i conftest.$ac_ext
3988
3989  # OK, works on sane cases.  Now check whether nonexistent headers
3990  # can be detected and how.
3991  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3992/* end confdefs.h.  */
3993#include <ac_nonexistent.h>
3994_ACEOF
3995if ac_fn_c_try_cpp "$LINENO"; then :
3996  # Broken: success on invalid input.
3997continue
3998else
3999  # Passes both tests.
4000ac_preproc_ok=:
4001break
4002fi
4003rm -f conftest.err conftest.i conftest.$ac_ext
4004
4005done
4006# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4007rm -f conftest.i conftest.err conftest.$ac_ext
4008if $ac_preproc_ok; then :
4009
4010else
4011  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4012$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4013as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4014See \`config.log' for more details" "$LINENO" 5; }
4015fi
4016
4017ac_ext=c
4018ac_cpp='$CPP $CPPFLAGS'
4019ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4020ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4021ac_compiler_gnu=$ac_cv_c_compiler_gnu
4022
4023
4024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4025$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4026if ${ac_cv_path_GREP+:} false; then :
4027  $as_echo_n "(cached) " >&6
4028else
4029  if test -z "$GREP"; then
4030  ac_path_GREP_found=false
4031  # Loop through the user's path and test for each of PROGNAME-LIST
4032  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4033for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4034do
4035  IFS=$as_save_IFS
4036  test -z "$as_dir" && as_dir=.
4037    for ac_prog in grep ggrep; do
4038    for ac_exec_ext in '' $ac_executable_extensions; do
4039      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4040      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4041# Check for GNU ac_path_GREP and select it if it is found.
4042  # Check for GNU $ac_path_GREP
4043case `"$ac_path_GREP" --version 2>&1` in
4044*GNU*)
4045  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4046*)
4047  ac_count=0
4048  $as_echo_n 0123456789 >"conftest.in"
4049  while :
4050  do
4051    cat "conftest.in" "conftest.in" >"conftest.tmp"
4052    mv "conftest.tmp" "conftest.in"
4053    cp "conftest.in" "conftest.nl"
4054    $as_echo 'GREP' >> "conftest.nl"
4055    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4056    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4057    as_fn_arith $ac_count + 1 && ac_count=$as_val
4058    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4059      # Best one so far, save it but keep looking for a better one
4060      ac_cv_path_GREP="$ac_path_GREP"
4061      ac_path_GREP_max=$ac_count
4062    fi
4063    # 10*(2^10) chars as input seems more than enough
4064    test $ac_count -gt 10 && break
4065  done
4066  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4067esac
4068
4069      $ac_path_GREP_found && break 3
4070    done
4071  done
4072  done
4073IFS=$as_save_IFS
4074  if test -z "$ac_cv_path_GREP"; then
4075    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4076  fi
4077else
4078  ac_cv_path_GREP=$GREP
4079fi
4080
4081fi
4082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4083$as_echo "$ac_cv_path_GREP" >&6; }
4084 GREP="$ac_cv_path_GREP"
4085
4086
4087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4088$as_echo_n "checking for egrep... " >&6; }
4089if ${ac_cv_path_EGREP+:} false; then :
4090  $as_echo_n "(cached) " >&6
4091else
4092  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4093   then ac_cv_path_EGREP="$GREP -E"
4094   else
4095     if test -z "$EGREP"; then
4096  ac_path_EGREP_found=false
4097  # Loop through the user's path and test for each of PROGNAME-LIST
4098  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4099for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4100do
4101  IFS=$as_save_IFS
4102  test -z "$as_dir" && as_dir=.
4103    for ac_prog in egrep; do
4104    for ac_exec_ext in '' $ac_executable_extensions; do
4105      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4106      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4107# Check for GNU ac_path_EGREP and select it if it is found.
4108  # Check for GNU $ac_path_EGREP
4109case `"$ac_path_EGREP" --version 2>&1` in
4110*GNU*)
4111  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4112*)
4113  ac_count=0
4114  $as_echo_n 0123456789 >"conftest.in"
4115  while :
4116  do
4117    cat "conftest.in" "conftest.in" >"conftest.tmp"
4118    mv "conftest.tmp" "conftest.in"
4119    cp "conftest.in" "conftest.nl"
4120    $as_echo 'EGREP' >> "conftest.nl"
4121    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4122    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4123    as_fn_arith $ac_count + 1 && ac_count=$as_val
4124    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4125      # Best one so far, save it but keep looking for a better one
4126      ac_cv_path_EGREP="$ac_path_EGREP"
4127      ac_path_EGREP_max=$ac_count
4128    fi
4129    # 10*(2^10) chars as input seems more than enough
4130    test $ac_count -gt 10 && break
4131  done
4132  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4133esac
4134
4135      $ac_path_EGREP_found && break 3
4136    done
4137  done
4138  done
4139IFS=$as_save_IFS
4140  if test -z "$ac_cv_path_EGREP"; then
4141    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4142  fi
4143else
4144  ac_cv_path_EGREP=$EGREP
4145fi
4146
4147   fi
4148fi
4149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4150$as_echo "$ac_cv_path_EGREP" >&6; }
4151 EGREP="$ac_cv_path_EGREP"
4152
4153
4154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4155$as_echo_n "checking for ANSI C header files... " >&6; }
4156if ${ac_cv_header_stdc+:} false; then :
4157  $as_echo_n "(cached) " >&6
4158else
4159  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160/* end confdefs.h.  */
4161#include <stdlib.h>
4162#include <stdarg.h>
4163#include <string.h>
4164#include <float.h>
4165
4166int
4167main ()
4168{
4169
4170  ;
4171  return 0;
4172}
4173_ACEOF
4174if ac_fn_c_try_compile "$LINENO"; then :
4175  ac_cv_header_stdc=yes
4176else
4177  ac_cv_header_stdc=no
4178fi
4179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180
4181if test $ac_cv_header_stdc = yes; then
4182  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4183  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4184/* end confdefs.h.  */
4185#include <string.h>
4186
4187_ACEOF
4188if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4189  $EGREP "memchr" >/dev/null 2>&1; then :
4190
4191else
4192  ac_cv_header_stdc=no
4193fi
4194rm -f conftest*
4195
4196fi
4197
4198if test $ac_cv_header_stdc = yes; then
4199  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4200  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4201/* end confdefs.h.  */
4202#include <stdlib.h>
4203
4204_ACEOF
4205if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4206  $EGREP "free" >/dev/null 2>&1; then :
4207
4208else
4209  ac_cv_header_stdc=no
4210fi
4211rm -f conftest*
4212
4213fi
4214
4215if test $ac_cv_header_stdc = yes; then
4216  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4217  if test "$cross_compiling" = yes; then :
4218  :
4219else
4220  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221/* end confdefs.h.  */
4222#include <ctype.h>
4223#include <stdlib.h>
4224#if ((' ' & 0x0FF) == 0x020)
4225# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4226# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4227#else
4228# define ISLOWER(c) \
4229		   (('a' <= (c) && (c) <= 'i') \
4230		     || ('j' <= (c) && (c) <= 'r') \
4231		     || ('s' <= (c) && (c) <= 'z'))
4232# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4233#endif
4234
4235#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4236int
4237main ()
4238{
4239  int i;
4240  for (i = 0; i < 256; i++)
4241    if (XOR (islower (i), ISLOWER (i))
4242	|| toupper (i) != TOUPPER (i))
4243      return 2;
4244  return 0;
4245}
4246_ACEOF
4247if ac_fn_c_try_run "$LINENO"; then :
4248
4249else
4250  ac_cv_header_stdc=no
4251fi
4252rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4253  conftest.$ac_objext conftest.beam conftest.$ac_ext
4254fi
4255
4256fi
4257fi
4258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4259$as_echo "$ac_cv_header_stdc" >&6; }
4260if test $ac_cv_header_stdc = yes; then
4261
4262$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4263
4264fi
4265
4266# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4267for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4268		  inttypes.h stdint.h unistd.h
4269do :
4270  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4271ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4272"
4273if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4274  cat >>confdefs.h <<_ACEOF
4275#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4276_ACEOF
4277
4278fi
4279
4280done
4281
4282
4283
4284
4285if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4286	if test -n "$ac_tool_prefix"; then
4287  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4288set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4290$as_echo_n "checking for $ac_word... " >&6; }
4291if ${ac_cv_path_PKG_CONFIG+:} false; then :
4292  $as_echo_n "(cached) " >&6
4293else
4294  case $PKG_CONFIG in
4295  [\\/]* | ?:[\\/]*)
4296  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4297  ;;
4298  *)
4299  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4300for as_dir in $PATH
4301do
4302  IFS=$as_save_IFS
4303  test -z "$as_dir" && as_dir=.
4304    for ac_exec_ext in '' $ac_executable_extensions; do
4305  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4306    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4307    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4308    break 2
4309  fi
4310done
4311  done
4312IFS=$as_save_IFS
4313
4314  ;;
4315esac
4316fi
4317PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4318if test -n "$PKG_CONFIG"; then
4319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4320$as_echo "$PKG_CONFIG" >&6; }
4321else
4322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4323$as_echo "no" >&6; }
4324fi
4325
4326
4327fi
4328if test -z "$ac_cv_path_PKG_CONFIG"; then
4329  ac_pt_PKG_CONFIG=$PKG_CONFIG
4330  # Extract the first word of "pkg-config", so it can be a program name with args.
4331set dummy pkg-config; ac_word=$2
4332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4333$as_echo_n "checking for $ac_word... " >&6; }
4334if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4335  $as_echo_n "(cached) " >&6
4336else
4337  case $ac_pt_PKG_CONFIG in
4338  [\\/]* | ?:[\\/]*)
4339  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4340  ;;
4341  *)
4342  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4343for as_dir in $PATH
4344do
4345  IFS=$as_save_IFS
4346  test -z "$as_dir" && as_dir=.
4347    for ac_exec_ext in '' $ac_executable_extensions; do
4348  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4349    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4350    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4351    break 2
4352  fi
4353done
4354  done
4355IFS=$as_save_IFS
4356
4357  ;;
4358esac
4359fi
4360ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4361if test -n "$ac_pt_PKG_CONFIG"; then
4362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4363$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4364else
4365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4366$as_echo "no" >&6; }
4367fi
4368
4369  if test "x$ac_pt_PKG_CONFIG" = x; then
4370    PKG_CONFIG=""
4371  else
4372    case $cross_compiling:$ac_tool_warned in
4373yes:)
4374{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4375$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4376ac_tool_warned=yes ;;
4377esac
4378    PKG_CONFIG=$ac_pt_PKG_CONFIG
4379  fi
4380else
4381  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4382fi
4383
4384fi
4385if test -n "$PKG_CONFIG"; then
4386	_pkg_min_version=0.9.0
4387	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4388$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4389	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4390		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4391$as_echo "yes" >&6; }
4392	else
4393		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4394$as_echo "no" >&6; }
4395		PKG_CONFIG=""
4396	fi
4397
4398fi
4399# Make sure we can run config.sub.
4400$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4401  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4402
4403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4404$as_echo_n "checking build system type... " >&6; }
4405if ${ac_cv_build+:} false; then :
4406  $as_echo_n "(cached) " >&6
4407else
4408  ac_build_alias=$build_alias
4409test "x$ac_build_alias" = x &&
4410  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4411test "x$ac_build_alias" = x &&
4412  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4413ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4414  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4415
4416fi
4417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4418$as_echo "$ac_cv_build" >&6; }
4419case $ac_cv_build in
4420*-*-*) ;;
4421*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4422esac
4423build=$ac_cv_build
4424ac_save_IFS=$IFS; IFS='-'
4425set x $ac_cv_build
4426shift
4427build_cpu=$1
4428build_vendor=$2
4429shift; shift
4430# Remember, the first character of IFS is used to create $*,
4431# except with old shells:
4432build_os=$*
4433IFS=$ac_save_IFS
4434case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4435
4436
4437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4438$as_echo_n "checking host system type... " >&6; }
4439if ${ac_cv_host+:} false; then :
4440  $as_echo_n "(cached) " >&6
4441else
4442  if test "x$host_alias" = x; then
4443  ac_cv_host=$ac_cv_build
4444else
4445  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4446    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4447fi
4448
4449fi
4450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4451$as_echo "$ac_cv_host" >&6; }
4452case $ac_cv_host in
4453*-*-*) ;;
4454*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4455esac
4456host=$ac_cv_host
4457ac_save_IFS=$IFS; IFS='-'
4458set x $ac_cv_host
4459shift
4460host_cpu=$1
4461host_vendor=$2
4462shift; shift
4463# Remember, the first character of IFS is used to create $*,
4464# except with old shells:
4465host_os=$*
4466IFS=$ac_save_IFS
4467case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4468
4469
4470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4471$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4472if ${ac_cv_path_SED+:} false; then :
4473  $as_echo_n "(cached) " >&6
4474else
4475            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4476     for ac_i in 1 2 3 4 5 6 7; do
4477       ac_script="$ac_script$as_nl$ac_script"
4478     done
4479     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4480     { ac_script=; unset ac_script;}
4481     if test -z "$SED"; then
4482  ac_path_SED_found=false
4483  # Loop through the user's path and test for each of PROGNAME-LIST
4484  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4485for as_dir in $PATH
4486do
4487  IFS=$as_save_IFS
4488  test -z "$as_dir" && as_dir=.
4489    for ac_prog in sed gsed; do
4490    for ac_exec_ext in '' $ac_executable_extensions; do
4491      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4492      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4493# Check for GNU ac_path_SED and select it if it is found.
4494  # Check for GNU $ac_path_SED
4495case `"$ac_path_SED" --version 2>&1` in
4496*GNU*)
4497  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4498*)
4499  ac_count=0
4500  $as_echo_n 0123456789 >"conftest.in"
4501  while :
4502  do
4503    cat "conftest.in" "conftest.in" >"conftest.tmp"
4504    mv "conftest.tmp" "conftest.in"
4505    cp "conftest.in" "conftest.nl"
4506    $as_echo '' >> "conftest.nl"
4507    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4508    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4509    as_fn_arith $ac_count + 1 && ac_count=$as_val
4510    if test $ac_count -gt ${ac_path_SED_max-0}; then
4511      # Best one so far, save it but keep looking for a better one
4512      ac_cv_path_SED="$ac_path_SED"
4513      ac_path_SED_max=$ac_count
4514    fi
4515    # 10*(2^10) chars as input seems more than enough
4516    test $ac_count -gt 10 && break
4517  done
4518  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4519esac
4520
4521      $ac_path_SED_found && break 3
4522    done
4523  done
4524  done
4525IFS=$as_save_IFS
4526  if test -z "$ac_cv_path_SED"; then
4527    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4528  fi
4529else
4530  ac_cv_path_SED=$SED
4531fi
4532
4533fi
4534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4535$as_echo "$ac_cv_path_SED" >&6; }
4536 SED="$ac_cv_path_SED"
4537  rm -f conftest.sed
4538
4539
4540
4541
4542
4543if  test "x$GCC" = xyes ; then
4544    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4545-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4546-Wbad-function-cast -Wformat=2"
4547    case `$CC -dumpversion` in
4548    3.4.* | 4.*)
4549	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4550	;;
4551    esac
4552else
4553    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4554if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4555  SUNCC="yes"
4556else
4557  SUNCC="no"
4558fi
4559
4560    if test "x$SUNCC" = "xyes"; then
4561	CWARNFLAGS="-v"
4562    fi
4563fi
4564
4565
4566
4567# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4568
4569
4570
4571# Check whether --enable-strict-compilation was given.
4572if test "${enable_strict_compilation+set}" = set; then :
4573  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4574else
4575  STRICT_COMPILE=no
4576fi
4577
4578if test "x$STRICT_COMPILE" = "xyes"; then
4579	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4580if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4581  SUNCC="yes"
4582else
4583  SUNCC="no"
4584fi
4585
4586	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4587if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4588  INTELCC="yes"
4589else
4590  INTELCC="no"
4591fi
4592
4593	if test "x$GCC" = xyes ; then
4594		STRICT_CFLAGS="-pedantic -Werror"
4595	elif test "x$SUNCC" = "xyes"; then
4596		STRICT_CFLAGS="-errwarn"
4597    elif test "x$INTELCC" = "xyes"; then
4598		STRICT_CFLAGS="-Werror"
4599	fi
4600fi
4601CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4602
4603
4604
4605
4606cat >>confdefs.h <<_ACEOF
4607#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4608_ACEOF
4609
4610	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4611	if test "x$PVM" = "x"; then
4612		PVM="0"
4613	fi
4614
4615cat >>confdefs.h <<_ACEOF
4616#define PACKAGE_VERSION_MINOR $PVM
4617_ACEOF
4618
4619	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4620	if test "x$PVP" = "x"; then
4621		PVP="0"
4622	fi
4623
4624cat >>confdefs.h <<_ACEOF
4625#define PACKAGE_VERSION_PATCHLEVEL $PVP
4626_ACEOF
4627
4628
4629
4630CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
4631mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
4632|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4633echo 'git directory not found: installing possibly empty changelog.' >&2)"
4634
4635
4636
4637
4638macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
4639INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
4640mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
4641|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
4642echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
4643
4644
4645
4646
4647
4648
4649if test x$APP_MAN_SUFFIX = x    ; then
4650    APP_MAN_SUFFIX=1
4651fi
4652if test x$APP_MAN_DIR = x    ; then
4653    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4654fi
4655
4656if test x$LIB_MAN_SUFFIX = x    ; then
4657    LIB_MAN_SUFFIX=3
4658fi
4659if test x$LIB_MAN_DIR = x    ; then
4660    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4661fi
4662
4663if test x$FILE_MAN_SUFFIX = x    ; then
4664    case $host_os in
4665	solaris*)	FILE_MAN_SUFFIX=4  ;;
4666	*)		FILE_MAN_SUFFIX=5  ;;
4667    esac
4668fi
4669if test x$FILE_MAN_DIR = x    ; then
4670    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4671fi
4672
4673if test x$MISC_MAN_SUFFIX = x    ; then
4674    case $host_os in
4675	solaris*)	MISC_MAN_SUFFIX=5  ;;
4676	*)		MISC_MAN_SUFFIX=7  ;;
4677    esac
4678fi
4679if test x$MISC_MAN_DIR = x    ; then
4680    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4681fi
4682
4683if test x$DRIVER_MAN_SUFFIX = x    ; then
4684    case $host_os in
4685	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
4686	*)		DRIVER_MAN_SUFFIX=4  ;;
4687    esac
4688fi
4689if test x$DRIVER_MAN_DIR = x    ; then
4690    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4691fi
4692
4693if test x$ADMIN_MAN_SUFFIX = x    ; then
4694    case $host_os in
4695	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
4696	*)		ADMIN_MAN_SUFFIX=8  ;;
4697    esac
4698fi
4699if test x$ADMIN_MAN_DIR = x    ; then
4700    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4701fi
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717XORG_MAN_PAGE="X Version 11"
4718
4719MAN_SUBSTS="\
4720	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4721	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4722	-e 's|__xservername__|Xorg|g' \
4723	-e 's|__xconfigfile__|xorg.conf|g' \
4724	-e 's|__projectroot__|\$(prefix)|g' \
4725	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
4726	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
4727	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
4728	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
4729	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
4730	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
4731	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
4732
4733
4734
4735# Check whether --enable-silent-rules was given.
4736if test "${enable_silent_rules+set}" = set; then :
4737  enableval=$enable_silent_rules;
4738fi
4739
4740case $enable_silent_rules in
4741yes) AM_DEFAULT_VERBOSITY=0;;
4742no)  AM_DEFAULT_VERBOSITY=1;;
4743*)   AM_DEFAULT_VERBOSITY=0;;
4744esac
4745AM_BACKSLASH='\'
4746
4747
4748ac_config_headers="$ac_config_headers config.h"
4749
4750
4751# Check for progs
4752ac_ext=c
4753ac_cpp='$CPP $CPPFLAGS'
4754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4756ac_compiler_gnu=$ac_cv_c_compiler_gnu
4757if test -n "$ac_tool_prefix"; then
4758  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4759set dummy ${ac_tool_prefix}gcc; ac_word=$2
4760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4761$as_echo_n "checking for $ac_word... " >&6; }
4762if ${ac_cv_prog_CC+:} false; then :
4763  $as_echo_n "(cached) " >&6
4764else
4765  if test -n "$CC"; then
4766  ac_cv_prog_CC="$CC" # Let the user override the test.
4767else
4768as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4769for as_dir in $PATH
4770do
4771  IFS=$as_save_IFS
4772  test -z "$as_dir" && as_dir=.
4773    for ac_exec_ext in '' $ac_executable_extensions; do
4774  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4775    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4776    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4777    break 2
4778  fi
4779done
4780  done
4781IFS=$as_save_IFS
4782
4783fi
4784fi
4785CC=$ac_cv_prog_CC
4786if test -n "$CC"; then
4787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4788$as_echo "$CC" >&6; }
4789else
4790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4791$as_echo "no" >&6; }
4792fi
4793
4794
4795fi
4796if test -z "$ac_cv_prog_CC"; then
4797  ac_ct_CC=$CC
4798  # Extract the first word of "gcc", so it can be a program name with args.
4799set dummy gcc; ac_word=$2
4800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4801$as_echo_n "checking for $ac_word... " >&6; }
4802if ${ac_cv_prog_ac_ct_CC+:} false; then :
4803  $as_echo_n "(cached) " >&6
4804else
4805  if test -n "$ac_ct_CC"; then
4806  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4807else
4808as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4809for as_dir in $PATH
4810do
4811  IFS=$as_save_IFS
4812  test -z "$as_dir" && as_dir=.
4813    for ac_exec_ext in '' $ac_executable_extensions; do
4814  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4815    ac_cv_prog_ac_ct_CC="gcc"
4816    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4817    break 2
4818  fi
4819done
4820  done
4821IFS=$as_save_IFS
4822
4823fi
4824fi
4825ac_ct_CC=$ac_cv_prog_ac_ct_CC
4826if test -n "$ac_ct_CC"; then
4827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4828$as_echo "$ac_ct_CC" >&6; }
4829else
4830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4831$as_echo "no" >&6; }
4832fi
4833
4834  if test "x$ac_ct_CC" = x; then
4835    CC=""
4836  else
4837    case $cross_compiling:$ac_tool_warned in
4838yes:)
4839{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4840$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4841ac_tool_warned=yes ;;
4842esac
4843    CC=$ac_ct_CC
4844  fi
4845else
4846  CC="$ac_cv_prog_CC"
4847fi
4848
4849if test -z "$CC"; then
4850          if test -n "$ac_tool_prefix"; then
4851    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4852set dummy ${ac_tool_prefix}cc; ac_word=$2
4853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4854$as_echo_n "checking for $ac_word... " >&6; }
4855if ${ac_cv_prog_CC+:} false; then :
4856  $as_echo_n "(cached) " >&6
4857else
4858  if test -n "$CC"; then
4859  ac_cv_prog_CC="$CC" # Let the user override the test.
4860else
4861as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4862for as_dir in $PATH
4863do
4864  IFS=$as_save_IFS
4865  test -z "$as_dir" && as_dir=.
4866    for ac_exec_ext in '' $ac_executable_extensions; do
4867  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4868    ac_cv_prog_CC="${ac_tool_prefix}cc"
4869    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4870    break 2
4871  fi
4872done
4873  done
4874IFS=$as_save_IFS
4875
4876fi
4877fi
4878CC=$ac_cv_prog_CC
4879if test -n "$CC"; then
4880  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4881$as_echo "$CC" >&6; }
4882else
4883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884$as_echo "no" >&6; }
4885fi
4886
4887
4888  fi
4889fi
4890if test -z "$CC"; then
4891  # Extract the first word of "cc", so it can be a program name with args.
4892set dummy cc; ac_word=$2
4893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4894$as_echo_n "checking for $ac_word... " >&6; }
4895if ${ac_cv_prog_CC+:} false; then :
4896  $as_echo_n "(cached) " >&6
4897else
4898  if test -n "$CC"; then
4899  ac_cv_prog_CC="$CC" # Let the user override the test.
4900else
4901  ac_prog_rejected=no
4902as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4903for as_dir in $PATH
4904do
4905  IFS=$as_save_IFS
4906  test -z "$as_dir" && as_dir=.
4907    for ac_exec_ext in '' $ac_executable_extensions; do
4908  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4909    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4910       ac_prog_rejected=yes
4911       continue
4912     fi
4913    ac_cv_prog_CC="cc"
4914    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4915    break 2
4916  fi
4917done
4918  done
4919IFS=$as_save_IFS
4920
4921if test $ac_prog_rejected = yes; then
4922  # We found a bogon in the path, so make sure we never use it.
4923  set dummy $ac_cv_prog_CC
4924  shift
4925  if test $# != 0; then
4926    # We chose a different compiler from the bogus one.
4927    # However, it has the same basename, so the bogon will be chosen
4928    # first if we set CC to just the basename; use the full file name.
4929    shift
4930    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4931  fi
4932fi
4933fi
4934fi
4935CC=$ac_cv_prog_CC
4936if test -n "$CC"; then
4937  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4938$as_echo "$CC" >&6; }
4939else
4940  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941$as_echo "no" >&6; }
4942fi
4943
4944
4945fi
4946if test -z "$CC"; then
4947  if test -n "$ac_tool_prefix"; then
4948  for ac_prog in cl.exe
4949  do
4950    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4951set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4953$as_echo_n "checking for $ac_word... " >&6; }
4954if ${ac_cv_prog_CC+:} false; then :
4955  $as_echo_n "(cached) " >&6
4956else
4957  if test -n "$CC"; then
4958  ac_cv_prog_CC="$CC" # Let the user override the test.
4959else
4960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4961for as_dir in $PATH
4962do
4963  IFS=$as_save_IFS
4964  test -z "$as_dir" && as_dir=.
4965    for ac_exec_ext in '' $ac_executable_extensions; do
4966  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4967    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4968    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4969    break 2
4970  fi
4971done
4972  done
4973IFS=$as_save_IFS
4974
4975fi
4976fi
4977CC=$ac_cv_prog_CC
4978if test -n "$CC"; then
4979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4980$as_echo "$CC" >&6; }
4981else
4982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983$as_echo "no" >&6; }
4984fi
4985
4986
4987    test -n "$CC" && break
4988  done
4989fi
4990if test -z "$CC"; then
4991  ac_ct_CC=$CC
4992  for ac_prog in cl.exe
4993do
4994  # Extract the first word of "$ac_prog", so it can be a program name with args.
4995set dummy $ac_prog; ac_word=$2
4996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4997$as_echo_n "checking for $ac_word... " >&6; }
4998if ${ac_cv_prog_ac_ct_CC+:} false; then :
4999  $as_echo_n "(cached) " >&6
5000else
5001  if test -n "$ac_ct_CC"; then
5002  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5003else
5004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5005for as_dir in $PATH
5006do
5007  IFS=$as_save_IFS
5008  test -z "$as_dir" && as_dir=.
5009    for ac_exec_ext in '' $ac_executable_extensions; do
5010  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5011    ac_cv_prog_ac_ct_CC="$ac_prog"
5012    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5013    break 2
5014  fi
5015done
5016  done
5017IFS=$as_save_IFS
5018
5019fi
5020fi
5021ac_ct_CC=$ac_cv_prog_ac_ct_CC
5022if test -n "$ac_ct_CC"; then
5023  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5024$as_echo "$ac_ct_CC" >&6; }
5025else
5026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027$as_echo "no" >&6; }
5028fi
5029
5030
5031  test -n "$ac_ct_CC" && break
5032done
5033
5034  if test "x$ac_ct_CC" = x; then
5035    CC=""
5036  else
5037    case $cross_compiling:$ac_tool_warned in
5038yes:)
5039{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5040$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5041ac_tool_warned=yes ;;
5042esac
5043    CC=$ac_ct_CC
5044  fi
5045fi
5046
5047fi
5048
5049
5050test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5051$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5052as_fn_error $? "no acceptable C compiler found in \$PATH
5053See \`config.log' for more details" "$LINENO" 5; }
5054
5055# Provide some information about the compiler.
5056$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5057set X $ac_compile
5058ac_compiler=$2
5059for ac_option in --version -v -V -qversion; do
5060  { { ac_try="$ac_compiler $ac_option >&5"
5061case "(($ac_try" in
5062  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5063  *) ac_try_echo=$ac_try;;
5064esac
5065eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5066$as_echo "$ac_try_echo"; } >&5
5067  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5068  ac_status=$?
5069  if test -s conftest.err; then
5070    sed '10a\
5071... rest of stderr output deleted ...
5072         10q' conftest.err >conftest.er1
5073    cat conftest.er1 >&5
5074  fi
5075  rm -f conftest.er1 conftest.err
5076  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5077  test $ac_status = 0; }
5078done
5079
5080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5081$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5082if ${ac_cv_c_compiler_gnu+:} false; then :
5083  $as_echo_n "(cached) " >&6
5084else
5085  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5086/* end confdefs.h.  */
5087
5088int
5089main ()
5090{
5091#ifndef __GNUC__
5092       choke me
5093#endif
5094
5095  ;
5096  return 0;
5097}
5098_ACEOF
5099if ac_fn_c_try_compile "$LINENO"; then :
5100  ac_compiler_gnu=yes
5101else
5102  ac_compiler_gnu=no
5103fi
5104rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5105ac_cv_c_compiler_gnu=$ac_compiler_gnu
5106
5107fi
5108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5109$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5110if test $ac_compiler_gnu = yes; then
5111  GCC=yes
5112else
5113  GCC=
5114fi
5115ac_test_CFLAGS=${CFLAGS+set}
5116ac_save_CFLAGS=$CFLAGS
5117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5118$as_echo_n "checking whether $CC accepts -g... " >&6; }
5119if ${ac_cv_prog_cc_g+:} false; then :
5120  $as_echo_n "(cached) " >&6
5121else
5122  ac_save_c_werror_flag=$ac_c_werror_flag
5123   ac_c_werror_flag=yes
5124   ac_cv_prog_cc_g=no
5125   CFLAGS="-g"
5126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5127/* end confdefs.h.  */
5128
5129int
5130main ()
5131{
5132
5133  ;
5134  return 0;
5135}
5136_ACEOF
5137if ac_fn_c_try_compile "$LINENO"; then :
5138  ac_cv_prog_cc_g=yes
5139else
5140  CFLAGS=""
5141      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5142/* end confdefs.h.  */
5143
5144int
5145main ()
5146{
5147
5148  ;
5149  return 0;
5150}
5151_ACEOF
5152if ac_fn_c_try_compile "$LINENO"; then :
5153
5154else
5155  ac_c_werror_flag=$ac_save_c_werror_flag
5156	 CFLAGS="-g"
5157	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5158/* end confdefs.h.  */
5159
5160int
5161main ()
5162{
5163
5164  ;
5165  return 0;
5166}
5167_ACEOF
5168if ac_fn_c_try_compile "$LINENO"; then :
5169  ac_cv_prog_cc_g=yes
5170fi
5171rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5172fi
5173rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5174fi
5175rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5176   ac_c_werror_flag=$ac_save_c_werror_flag
5177fi
5178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5179$as_echo "$ac_cv_prog_cc_g" >&6; }
5180if test "$ac_test_CFLAGS" = set; then
5181  CFLAGS=$ac_save_CFLAGS
5182elif test $ac_cv_prog_cc_g = yes; then
5183  if test "$GCC" = yes; then
5184    CFLAGS="-g -O2"
5185  else
5186    CFLAGS="-g"
5187  fi
5188else
5189  if test "$GCC" = yes; then
5190    CFLAGS="-O2"
5191  else
5192    CFLAGS=
5193  fi
5194fi
5195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5196$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5197if ${ac_cv_prog_cc_c89+:} false; then :
5198  $as_echo_n "(cached) " >&6
5199else
5200  ac_cv_prog_cc_c89=no
5201ac_save_CC=$CC
5202cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5203/* end confdefs.h.  */
5204#include <stdarg.h>
5205#include <stdio.h>
5206#include <sys/types.h>
5207#include <sys/stat.h>
5208/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5209struct buf { int x; };
5210FILE * (*rcsopen) (struct buf *, struct stat *, int);
5211static char *e (p, i)
5212     char **p;
5213     int i;
5214{
5215  return p[i];
5216}
5217static char *f (char * (*g) (char **, int), char **p, ...)
5218{
5219  char *s;
5220  va_list v;
5221  va_start (v,p);
5222  s = g (p, va_arg (v,int));
5223  va_end (v);
5224  return s;
5225}
5226
5227/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5228   function prototypes and stuff, but not '\xHH' hex character constants.
5229   These don't provoke an error unfortunately, instead are silently treated
5230   as 'x'.  The following induces an error, until -std is added to get
5231   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5232   array size at least.  It's necessary to write '\x00'==0 to get something
5233   that's true only with -std.  */
5234int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5235
5236/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5237   inside strings and character constants.  */
5238#define FOO(x) 'x'
5239int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5240
5241int test (int i, double x);
5242struct s1 {int (*f) (int a);};
5243struct s2 {int (*f) (double a);};
5244int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5245int argc;
5246char **argv;
5247int
5248main ()
5249{
5250return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5251  ;
5252  return 0;
5253}
5254_ACEOF
5255for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5256	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5257do
5258  CC="$ac_save_CC $ac_arg"
5259  if ac_fn_c_try_compile "$LINENO"; then :
5260  ac_cv_prog_cc_c89=$ac_arg
5261fi
5262rm -f core conftest.err conftest.$ac_objext
5263  test "x$ac_cv_prog_cc_c89" != "xno" && break
5264done
5265rm -f conftest.$ac_ext
5266CC=$ac_save_CC
5267
5268fi
5269# AC_CACHE_VAL
5270case "x$ac_cv_prog_cc_c89" in
5271  x)
5272    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5273$as_echo "none needed" >&6; } ;;
5274  xno)
5275    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5276$as_echo "unsupported" >&6; } ;;
5277  *)
5278    CC="$CC $ac_cv_prog_cc_c89"
5279    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5280$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5281esac
5282if test "x$ac_cv_prog_cc_c89" != xno; then :
5283
5284fi
5285
5286ac_ext=c
5287ac_cpp='$CPP $CPPFLAGS'
5288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5290ac_compiler_gnu=$ac_cv_c_compiler_gnu
5291
5292depcc="$CC"   am_compiler_list=
5293
5294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5295$as_echo_n "checking dependency style of $depcc... " >&6; }
5296if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5297  $as_echo_n "(cached) " >&6
5298else
5299  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5300  # We make a subdir and do the tests there.  Otherwise we can end up
5301  # making bogus files that we don't know about and never remove.  For
5302  # instance it was reported that on HP-UX the gcc test will end up
5303  # making a dummy file named `D' -- because `-MD' means `put the output
5304  # in D'.
5305  mkdir conftest.dir
5306  # Copy depcomp to subdir because otherwise we won't find it if we're
5307  # using a relative directory.
5308  cp "$am_depcomp" conftest.dir
5309  cd conftest.dir
5310  # We will build objects and dependencies in a subdirectory because
5311  # it helps to detect inapplicable dependency modes.  For instance
5312  # both Tru64's cc and ICC support -MD to output dependencies as a
5313  # side effect of compilation, but ICC will put the dependencies in
5314  # the current directory while Tru64 will put them in the object
5315  # directory.
5316  mkdir sub
5317
5318  am_cv_CC_dependencies_compiler_type=none
5319  if test "$am_compiler_list" = ""; then
5320     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5321  fi
5322  am__universal=false
5323  case " $depcc " in #(
5324     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5325     esac
5326
5327  for depmode in $am_compiler_list; do
5328    # Setup a source with many dependencies, because some compilers
5329    # like to wrap large dependency lists on column 80 (with \), and
5330    # we should not choose a depcomp mode which is confused by this.
5331    #
5332    # We need to recreate these files for each test, as the compiler may
5333    # overwrite some of them when testing with obscure command lines.
5334    # This happens at least with the AIX C compiler.
5335    : > sub/conftest.c
5336    for i in 1 2 3 4 5 6; do
5337      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5338      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5339      # Solaris 8's {/usr,}/bin/sh.
5340      touch sub/conftst$i.h
5341    done
5342    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5343
5344    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5345    # mode.  It turns out that the SunPro C++ compiler does not properly
5346    # handle `-M -o', and we need to detect this.  Also, some Intel
5347    # versions had trouble with output in subdirs
5348    am__obj=sub/conftest.${OBJEXT-o}
5349    am__minus_obj="-o $am__obj"
5350    case $depmode in
5351    gcc)
5352      # This depmode causes a compiler race in universal mode.
5353      test "$am__universal" = false || continue
5354      ;;
5355    nosideeffect)
5356      # after this tag, mechanisms are not by side-effect, so they'll
5357      # only be used when explicitly requested
5358      if test "x$enable_dependency_tracking" = xyes; then
5359	continue
5360      else
5361	break
5362      fi
5363      ;;
5364    msvisualcpp | msvcmsys)
5365      # This compiler won't grok `-c -o', but also, the minuso test has
5366      # not run yet.  These depmodes are late enough in the game, and
5367      # so weak that their functioning should not be impacted.
5368      am__obj=conftest.${OBJEXT-o}
5369      am__minus_obj=
5370      ;;
5371    none) break ;;
5372    esac
5373    if depmode=$depmode \
5374       source=sub/conftest.c object=$am__obj \
5375       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5376       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5377         >/dev/null 2>conftest.err &&
5378       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5379       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5380       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5381       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5382      # icc doesn't choke on unknown options, it will just issue warnings
5383      # or remarks (even with -Werror).  So we grep stderr for any message
5384      # that says an option was ignored or not supported.
5385      # When given -MP, icc 7.0 and 7.1 complain thusly:
5386      #   icc: Command line warning: ignoring option '-M'; no argument required
5387      # The diagnosis changed in icc 8.0:
5388      #   icc: Command line remark: option '-MP' not supported
5389      if (grep 'ignoring option' conftest.err ||
5390          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5391        am_cv_CC_dependencies_compiler_type=$depmode
5392        break
5393      fi
5394    fi
5395  done
5396
5397  cd ..
5398  rm -rf conftest.dir
5399else
5400  am_cv_CC_dependencies_compiler_type=none
5401fi
5402
5403fi
5404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5405$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5406CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5407
5408 if
5409  test "x$enable_dependency_tracking" != xno \
5410  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5411  am__fastdepCC_TRUE=
5412  am__fastdepCC_FALSE='#'
5413else
5414  am__fastdepCC_TRUE='#'
5415  am__fastdepCC_FALSE=
5416fi
5417
5418
5419case `pwd` in
5420  *\ * | *\	*)
5421    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5422$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5423esac
5424
5425
5426
5427macro_version='2.2.10'
5428macro_revision='1.3175'
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442ltmain="$ac_aux_dir/ltmain.sh"
5443
5444# Backslashify metacharacters that are still active within
5445# double-quoted strings.
5446sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5447
5448# Same as above, but do not quote variable references.
5449double_quote_subst='s/\(["`\\]\)/\\\1/g'
5450
5451# Sed substitution to delay expansion of an escaped shell variable in a
5452# double_quote_subst'ed string.
5453delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5454
5455# Sed substitution to delay expansion of an escaped single quote.
5456delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5457
5458# Sed substitution to avoid accidental globbing in evaled expressions
5459no_glob_subst='s/\*/\\\*/g'
5460
5461ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5462ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5463ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5464
5465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5466$as_echo_n "checking how to print strings... " >&6; }
5467# Test print first, because it will be a builtin if present.
5468if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5469   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5470  ECHO='print -r --'
5471elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5472  ECHO='printf %s\n'
5473else
5474  # Use this function as a fallback that always works.
5475  func_fallback_echo ()
5476  {
5477    eval 'cat <<_LTECHO_EOF
5478$1
5479_LTECHO_EOF'
5480  }
5481  ECHO='func_fallback_echo'
5482fi
5483
5484# func_echo_all arg...
5485# Invoke $ECHO with all args, space-separated.
5486func_echo_all ()
5487{
5488    $ECHO ""
5489}
5490
5491case "$ECHO" in
5492  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5493$as_echo "printf" >&6; } ;;
5494  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5495$as_echo "print -r" >&6; } ;;
5496  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5497$as_echo "cat" >&6; } ;;
5498esac
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5514$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5515if ${ac_cv_path_SED+:} false; then :
5516  $as_echo_n "(cached) " >&6
5517else
5518            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5519     for ac_i in 1 2 3 4 5 6 7; do
5520       ac_script="$ac_script$as_nl$ac_script"
5521     done
5522     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5523     { ac_script=; unset ac_script;}
5524     if test -z "$SED"; then
5525  ac_path_SED_found=false
5526  # Loop through the user's path and test for each of PROGNAME-LIST
5527  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528for as_dir in $PATH
5529do
5530  IFS=$as_save_IFS
5531  test -z "$as_dir" && as_dir=.
5532    for ac_prog in sed gsed; do
5533    for ac_exec_ext in '' $ac_executable_extensions; do
5534      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5535      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5536# Check for GNU ac_path_SED and select it if it is found.
5537  # Check for GNU $ac_path_SED
5538case `"$ac_path_SED" --version 2>&1` in
5539*GNU*)
5540  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5541*)
5542  ac_count=0
5543  $as_echo_n 0123456789 >"conftest.in"
5544  while :
5545  do
5546    cat "conftest.in" "conftest.in" >"conftest.tmp"
5547    mv "conftest.tmp" "conftest.in"
5548    cp "conftest.in" "conftest.nl"
5549    $as_echo '' >> "conftest.nl"
5550    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5551    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5552    as_fn_arith $ac_count + 1 && ac_count=$as_val
5553    if test $ac_count -gt ${ac_path_SED_max-0}; then
5554      # Best one so far, save it but keep looking for a better one
5555      ac_cv_path_SED="$ac_path_SED"
5556      ac_path_SED_max=$ac_count
5557    fi
5558    # 10*(2^10) chars as input seems more than enough
5559    test $ac_count -gt 10 && break
5560  done
5561  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5562esac
5563
5564      $ac_path_SED_found && break 3
5565    done
5566  done
5567  done
5568IFS=$as_save_IFS
5569  if test -z "$ac_cv_path_SED"; then
5570    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5571  fi
5572else
5573  ac_cv_path_SED=$SED
5574fi
5575
5576fi
5577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5578$as_echo "$ac_cv_path_SED" >&6; }
5579 SED="$ac_cv_path_SED"
5580  rm -f conftest.sed
5581
5582test -z "$SED" && SED=sed
5583Xsed="$SED -e 1s/^X//"
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5596$as_echo_n "checking for fgrep... " >&6; }
5597if ${ac_cv_path_FGREP+:} false; then :
5598  $as_echo_n "(cached) " >&6
5599else
5600  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5601   then ac_cv_path_FGREP="$GREP -F"
5602   else
5603     if test -z "$FGREP"; then
5604  ac_path_FGREP_found=false
5605  # Loop through the user's path and test for each of PROGNAME-LIST
5606  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5607for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5608do
5609  IFS=$as_save_IFS
5610  test -z "$as_dir" && as_dir=.
5611    for ac_prog in fgrep; do
5612    for ac_exec_ext in '' $ac_executable_extensions; do
5613      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5614      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5615# Check for GNU ac_path_FGREP and select it if it is found.
5616  # Check for GNU $ac_path_FGREP
5617case `"$ac_path_FGREP" --version 2>&1` in
5618*GNU*)
5619  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5620*)
5621  ac_count=0
5622  $as_echo_n 0123456789 >"conftest.in"
5623  while :
5624  do
5625    cat "conftest.in" "conftest.in" >"conftest.tmp"
5626    mv "conftest.tmp" "conftest.in"
5627    cp "conftest.in" "conftest.nl"
5628    $as_echo 'FGREP' >> "conftest.nl"
5629    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5630    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5631    as_fn_arith $ac_count + 1 && ac_count=$as_val
5632    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5633      # Best one so far, save it but keep looking for a better one
5634      ac_cv_path_FGREP="$ac_path_FGREP"
5635      ac_path_FGREP_max=$ac_count
5636    fi
5637    # 10*(2^10) chars as input seems more than enough
5638    test $ac_count -gt 10 && break
5639  done
5640  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5641esac
5642
5643      $ac_path_FGREP_found && break 3
5644    done
5645  done
5646  done
5647IFS=$as_save_IFS
5648  if test -z "$ac_cv_path_FGREP"; then
5649    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5650  fi
5651else
5652  ac_cv_path_FGREP=$FGREP
5653fi
5654
5655   fi
5656fi
5657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5658$as_echo "$ac_cv_path_FGREP" >&6; }
5659 FGREP="$ac_cv_path_FGREP"
5660
5661
5662test -z "$GREP" && GREP=grep
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682# Check whether --with-gnu-ld was given.
5683if test "${with_gnu_ld+set}" = set; then :
5684  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5685else
5686  with_gnu_ld=no
5687fi
5688
5689ac_prog=ld
5690if test "$GCC" = yes; then
5691  # Check if gcc -print-prog-name=ld gives a path.
5692  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5693$as_echo_n "checking for ld used by $CC... " >&6; }
5694  case $host in
5695  *-*-mingw*)
5696    # gcc leaves a trailing carriage return which upsets mingw
5697    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5698  *)
5699    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5700  esac
5701  case $ac_prog in
5702    # Accept absolute paths.
5703    [\\/]* | ?:[\\/]*)
5704      re_direlt='/[^/][^/]*/\.\./'
5705      # Canonicalize the pathname of ld
5706      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5707      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5708	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5709      done
5710      test -z "$LD" && LD="$ac_prog"
5711      ;;
5712  "")
5713    # If it fails, then pretend we aren't using GCC.
5714    ac_prog=ld
5715    ;;
5716  *)
5717    # If it is relative, then search for the first ld in PATH.
5718    with_gnu_ld=unknown
5719    ;;
5720  esac
5721elif test "$with_gnu_ld" = yes; then
5722  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5723$as_echo_n "checking for GNU ld... " >&6; }
5724else
5725  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5726$as_echo_n "checking for non-GNU ld... " >&6; }
5727fi
5728if ${lt_cv_path_LD+:} false; then :
5729  $as_echo_n "(cached) " >&6
5730else
5731  if test -z "$LD"; then
5732  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5733  for ac_dir in $PATH; do
5734    IFS="$lt_save_ifs"
5735    test -z "$ac_dir" && ac_dir=.
5736    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5737      lt_cv_path_LD="$ac_dir/$ac_prog"
5738      # Check to see if the program is GNU ld.  I'd rather use --version,
5739      # but apparently some variants of GNU ld only accept -v.
5740      # Break only if it was the GNU/non-GNU ld that we prefer.
5741      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5742      *GNU* | *'with BFD'*)
5743	test "$with_gnu_ld" != no && break
5744	;;
5745      *)
5746	test "$with_gnu_ld" != yes && break
5747	;;
5748      esac
5749    fi
5750  done
5751  IFS="$lt_save_ifs"
5752else
5753  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5754fi
5755fi
5756
5757LD="$lt_cv_path_LD"
5758if test -n "$LD"; then
5759  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5760$as_echo "$LD" >&6; }
5761else
5762  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5763$as_echo "no" >&6; }
5764fi
5765test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5767$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5768if ${lt_cv_prog_gnu_ld+:} false; then :
5769  $as_echo_n "(cached) " >&6
5770else
5771  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5772case `$LD -v 2>&1 </dev/null` in
5773*GNU* | *'with BFD'*)
5774  lt_cv_prog_gnu_ld=yes
5775  ;;
5776*)
5777  lt_cv_prog_gnu_ld=no
5778  ;;
5779esac
5780fi
5781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5782$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5783with_gnu_ld=$lt_cv_prog_gnu_ld
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5794$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5795if ${lt_cv_path_NM+:} false; then :
5796  $as_echo_n "(cached) " >&6
5797else
5798  if test -n "$NM"; then
5799  # Let the user override the test.
5800  lt_cv_path_NM="$NM"
5801else
5802  lt_nm_to_check="${ac_tool_prefix}nm"
5803  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5804    lt_nm_to_check="$lt_nm_to_check nm"
5805  fi
5806  for lt_tmp_nm in $lt_nm_to_check; do
5807    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5808    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5809      IFS="$lt_save_ifs"
5810      test -z "$ac_dir" && ac_dir=.
5811      tmp_nm="$ac_dir/$lt_tmp_nm"
5812      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5813	# Check to see if the nm accepts a BSD-compat flag.
5814	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5815	#   nm: unknown option "B" ignored
5816	# Tru64's nm complains that /dev/null is an invalid object file
5817	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5818	*/dev/null* | *'Invalid file or object type'*)
5819	  lt_cv_path_NM="$tmp_nm -B"
5820	  break
5821	  ;;
5822	*)
5823	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5824	  */dev/null*)
5825	    lt_cv_path_NM="$tmp_nm -p"
5826	    break
5827	    ;;
5828	  *)
5829	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5830	    continue # so that we can try to find one that supports BSD flags
5831	    ;;
5832	  esac
5833	  ;;
5834	esac
5835      fi
5836    done
5837    IFS="$lt_save_ifs"
5838  done
5839  : ${lt_cv_path_NM=no}
5840fi
5841fi
5842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5843$as_echo "$lt_cv_path_NM" >&6; }
5844if test "$lt_cv_path_NM" != "no"; then
5845  NM="$lt_cv_path_NM"
5846else
5847  # Didn't find any BSD compatible name lister, look for dumpbin.
5848  if test -n "$DUMPBIN"; then :
5849    # Let the user override the test.
5850  else
5851    if test -n "$ac_tool_prefix"; then
5852  for ac_prog in dumpbin "link -dump"
5853  do
5854    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5855set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857$as_echo_n "checking for $ac_word... " >&6; }
5858if ${ac_cv_prog_DUMPBIN+:} false; then :
5859  $as_echo_n "(cached) " >&6
5860else
5861  if test -n "$DUMPBIN"; then
5862  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5863else
5864as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865for as_dir in $PATH
5866do
5867  IFS=$as_save_IFS
5868  test -z "$as_dir" && as_dir=.
5869    for ac_exec_ext in '' $ac_executable_extensions; do
5870  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5871    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5872    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5873    break 2
5874  fi
5875done
5876  done
5877IFS=$as_save_IFS
5878
5879fi
5880fi
5881DUMPBIN=$ac_cv_prog_DUMPBIN
5882if test -n "$DUMPBIN"; then
5883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5884$as_echo "$DUMPBIN" >&6; }
5885else
5886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887$as_echo "no" >&6; }
5888fi
5889
5890
5891    test -n "$DUMPBIN" && break
5892  done
5893fi
5894if test -z "$DUMPBIN"; then
5895  ac_ct_DUMPBIN=$DUMPBIN
5896  for ac_prog in dumpbin "link -dump"
5897do
5898  # Extract the first word of "$ac_prog", so it can be a program name with args.
5899set dummy $ac_prog; ac_word=$2
5900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901$as_echo_n "checking for $ac_word... " >&6; }
5902if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5903  $as_echo_n "(cached) " >&6
5904else
5905  if test -n "$ac_ct_DUMPBIN"; then
5906  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5907else
5908as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909for as_dir in $PATH
5910do
5911  IFS=$as_save_IFS
5912  test -z "$as_dir" && as_dir=.
5913    for ac_exec_ext in '' $ac_executable_extensions; do
5914  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5915    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5916    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5917    break 2
5918  fi
5919done
5920  done
5921IFS=$as_save_IFS
5922
5923fi
5924fi
5925ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5926if test -n "$ac_ct_DUMPBIN"; then
5927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5928$as_echo "$ac_ct_DUMPBIN" >&6; }
5929else
5930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5931$as_echo "no" >&6; }
5932fi
5933
5934
5935  test -n "$ac_ct_DUMPBIN" && break
5936done
5937
5938  if test "x$ac_ct_DUMPBIN" = x; then
5939    DUMPBIN=":"
5940  else
5941    case $cross_compiling:$ac_tool_warned in
5942yes:)
5943{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5944$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5945ac_tool_warned=yes ;;
5946esac
5947    DUMPBIN=$ac_ct_DUMPBIN
5948  fi
5949fi
5950
5951    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5952    *COFF*)
5953      DUMPBIN="$DUMPBIN -symbols"
5954      ;;
5955    *)
5956      DUMPBIN=:
5957      ;;
5958    esac
5959  fi
5960
5961  if test "$DUMPBIN" != ":"; then
5962    NM="$DUMPBIN"
5963  fi
5964fi
5965test -z "$NM" && NM=nm
5966
5967
5968
5969
5970
5971
5972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5973$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5974if ${lt_cv_nm_interface+:} false; then :
5975  $as_echo_n "(cached) " >&6
5976else
5977  lt_cv_nm_interface="BSD nm"
5978  echo "int some_variable = 0;" > conftest.$ac_ext
5979  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5980  (eval "$ac_compile" 2>conftest.err)
5981  cat conftest.err >&5
5982  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5983  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5984  cat conftest.err >&5
5985  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5986  cat conftest.out >&5
5987  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5988    lt_cv_nm_interface="MS dumpbin"
5989  fi
5990  rm -f conftest*
5991fi
5992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5993$as_echo "$lt_cv_nm_interface" >&6; }
5994
5995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5996$as_echo_n "checking whether ln -s works... " >&6; }
5997LN_S=$as_ln_s
5998if test "$LN_S" = "ln -s"; then
5999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6000$as_echo "yes" >&6; }
6001else
6002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6003$as_echo "no, using $LN_S" >&6; }
6004fi
6005
6006# find the maximum length of command line arguments
6007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6008$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6009if ${lt_cv_sys_max_cmd_len+:} false; then :
6010  $as_echo_n "(cached) " >&6
6011else
6012    i=0
6013  teststring="ABCD"
6014
6015  case $build_os in
6016  msdosdjgpp*)
6017    # On DJGPP, this test can blow up pretty badly due to problems in libc
6018    # (any single argument exceeding 2000 bytes causes a buffer overrun
6019    # during glob expansion).  Even if it were fixed, the result of this
6020    # check would be larger than it should be.
6021    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6022    ;;
6023
6024  gnu*)
6025    # Under GNU Hurd, this test is not required because there is
6026    # no limit to the length of command line arguments.
6027    # Libtool will interpret -1 as no limit whatsoever
6028    lt_cv_sys_max_cmd_len=-1;
6029    ;;
6030
6031  cygwin* | mingw* | cegcc*)
6032    # On Win9x/ME, this test blows up -- it succeeds, but takes
6033    # about 5 minutes as the teststring grows exponentially.
6034    # Worse, since 9x/ME are not pre-emptively multitasking,
6035    # you end up with a "frozen" computer, even though with patience
6036    # the test eventually succeeds (with a max line length of 256k).
6037    # Instead, let's just punt: use the minimum linelength reported by
6038    # all of the supported platforms: 8192 (on NT/2K/XP).
6039    lt_cv_sys_max_cmd_len=8192;
6040    ;;
6041
6042  mint*)
6043    # On MiNT this can take a long time and run out of memory.
6044    lt_cv_sys_max_cmd_len=8192;
6045    ;;
6046
6047  amigaos*)
6048    # On AmigaOS with pdksh, this test takes hours, literally.
6049    # So we just punt and use a minimum line length of 8192.
6050    lt_cv_sys_max_cmd_len=8192;
6051    ;;
6052
6053  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6054    # This has been around since 386BSD, at least.  Likely further.
6055    if test -x /sbin/sysctl; then
6056      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6057    elif test -x /usr/sbin/sysctl; then
6058      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6059    else
6060      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6061    fi
6062    # And add a safety zone
6063    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6064    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6065    ;;
6066
6067  interix*)
6068    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6069    lt_cv_sys_max_cmd_len=196608
6070    ;;
6071
6072  osf*)
6073    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6074    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6075    # nice to cause kernel panics so lets avoid the loop below.
6076    # First set a reasonable default.
6077    lt_cv_sys_max_cmd_len=16384
6078    #
6079    if test -x /sbin/sysconfig; then
6080      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6081        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6082      esac
6083    fi
6084    ;;
6085  sco3.2v5*)
6086    lt_cv_sys_max_cmd_len=102400
6087    ;;
6088  sysv5* | sco5v6* | sysv4.2uw2*)
6089    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6090    if test -n "$kargmax"; then
6091      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6092    else
6093      lt_cv_sys_max_cmd_len=32768
6094    fi
6095    ;;
6096  *)
6097    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6098    if test -n "$lt_cv_sys_max_cmd_len"; then
6099      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6100      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6101    else
6102      # Make teststring a little bigger before we do anything with it.
6103      # a 1K string should be a reasonable start.
6104      for i in 1 2 3 4 5 6 7 8 ; do
6105        teststring=$teststring$teststring
6106      done
6107      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6108      # If test is not a shell built-in, we'll probably end up computing a
6109      # maximum length that is only half of the actual maximum length, but
6110      # we can't tell.
6111      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6112	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6113	      test $i != 17 # 1/2 MB should be enough
6114      do
6115        i=`expr $i + 1`
6116        teststring=$teststring$teststring
6117      done
6118      # Only check the string length outside the loop.
6119      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6120      teststring=
6121      # Add a significant safety factor because C++ compilers can tack on
6122      # massive amounts of additional arguments before passing them to the
6123      # linker.  It appears as though 1/2 is a usable value.
6124      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6125    fi
6126    ;;
6127  esac
6128
6129fi
6130
6131if test -n $lt_cv_sys_max_cmd_len ; then
6132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6133$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6134else
6135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6136$as_echo "none" >&6; }
6137fi
6138max_cmd_len=$lt_cv_sys_max_cmd_len
6139
6140
6141
6142
6143
6144
6145: ${CP="cp -f"}
6146: ${MV="mv -f"}
6147: ${RM="rm -f"}
6148
6149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6150$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6151# Try some XSI features
6152xsi_shell=no
6153( _lt_dummy="a/b/c"
6154  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6155      = c,a/b,, \
6156    && eval 'test $(( 1 + 1 )) -eq 2 \
6157    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6158  && xsi_shell=yes
6159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6160$as_echo "$xsi_shell" >&6; }
6161
6162
6163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6164$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6165lt_shell_append=no
6166( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6167    >/dev/null 2>&1 \
6168  && lt_shell_append=yes
6169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6170$as_echo "$lt_shell_append" >&6; }
6171
6172
6173if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6174  lt_unset=unset
6175else
6176  lt_unset=false
6177fi
6178
6179
6180
6181
6182
6183# test EBCDIC or ASCII
6184case `echo X|tr X '\101'` in
6185 A) # ASCII based system
6186    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6187  lt_SP2NL='tr \040 \012'
6188  lt_NL2SP='tr \015\012 \040\040'
6189  ;;
6190 *) # EBCDIC based system
6191  lt_SP2NL='tr \100 \n'
6192  lt_NL2SP='tr \r\n \100\100'
6193  ;;
6194esac
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6205$as_echo_n "checking for $LD option to reload object files... " >&6; }
6206if ${lt_cv_ld_reload_flag+:} false; then :
6207  $as_echo_n "(cached) " >&6
6208else
6209  lt_cv_ld_reload_flag='-r'
6210fi
6211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6212$as_echo "$lt_cv_ld_reload_flag" >&6; }
6213reload_flag=$lt_cv_ld_reload_flag
6214case $reload_flag in
6215"" | " "*) ;;
6216*) reload_flag=" $reload_flag" ;;
6217esac
6218reload_cmds='$LD$reload_flag -o $output$reload_objs'
6219case $host_os in
6220  darwin*)
6221    if test "$GCC" = yes; then
6222      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6223    else
6224      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6225    fi
6226    ;;
6227esac
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237if test -n "$ac_tool_prefix"; then
6238  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6239set dummy ${ac_tool_prefix}objdump; ac_word=$2
6240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6241$as_echo_n "checking for $ac_word... " >&6; }
6242if ${ac_cv_prog_OBJDUMP+:} false; then :
6243  $as_echo_n "(cached) " >&6
6244else
6245  if test -n "$OBJDUMP"; then
6246  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6247else
6248as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249for as_dir in $PATH
6250do
6251  IFS=$as_save_IFS
6252  test -z "$as_dir" && as_dir=.
6253    for ac_exec_ext in '' $ac_executable_extensions; do
6254  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6255    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6256    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6257    break 2
6258  fi
6259done
6260  done
6261IFS=$as_save_IFS
6262
6263fi
6264fi
6265OBJDUMP=$ac_cv_prog_OBJDUMP
6266if test -n "$OBJDUMP"; then
6267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6268$as_echo "$OBJDUMP" >&6; }
6269else
6270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6271$as_echo "no" >&6; }
6272fi
6273
6274
6275fi
6276if test -z "$ac_cv_prog_OBJDUMP"; then
6277  ac_ct_OBJDUMP=$OBJDUMP
6278  # Extract the first word of "objdump", so it can be a program name with args.
6279set dummy objdump; ac_word=$2
6280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6281$as_echo_n "checking for $ac_word... " >&6; }
6282if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6283  $as_echo_n "(cached) " >&6
6284else
6285  if test -n "$ac_ct_OBJDUMP"; then
6286  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6287else
6288as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6289for as_dir in $PATH
6290do
6291  IFS=$as_save_IFS
6292  test -z "$as_dir" && as_dir=.
6293    for ac_exec_ext in '' $ac_executable_extensions; do
6294  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6295    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6296    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297    break 2
6298  fi
6299done
6300  done
6301IFS=$as_save_IFS
6302
6303fi
6304fi
6305ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6306if test -n "$ac_ct_OBJDUMP"; then
6307  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6308$as_echo "$ac_ct_OBJDUMP" >&6; }
6309else
6310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6311$as_echo "no" >&6; }
6312fi
6313
6314  if test "x$ac_ct_OBJDUMP" = x; then
6315    OBJDUMP="false"
6316  else
6317    case $cross_compiling:$ac_tool_warned in
6318yes:)
6319{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6320$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6321ac_tool_warned=yes ;;
6322esac
6323    OBJDUMP=$ac_ct_OBJDUMP
6324  fi
6325else
6326  OBJDUMP="$ac_cv_prog_OBJDUMP"
6327fi
6328
6329test -z "$OBJDUMP" && OBJDUMP=objdump
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6340$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6341if ${lt_cv_deplibs_check_method+:} false; then :
6342  $as_echo_n "(cached) " >&6
6343else
6344  lt_cv_file_magic_cmd='$MAGIC_CMD'
6345lt_cv_file_magic_test_file=
6346lt_cv_deplibs_check_method='unknown'
6347# Need to set the preceding variable on all platforms that support
6348# interlibrary dependencies.
6349# 'none' -- dependencies not supported.
6350# `unknown' -- same as none, but documents that we really don't know.
6351# 'pass_all' -- all dependencies passed with no checks.
6352# 'test_compile' -- check by making test program.
6353# 'file_magic [[regex]]' -- check by looking for files in library path
6354# which responds to the $file_magic_cmd with a given extended regex.
6355# If you have `file' or equivalent on your system and you're not sure
6356# whether `pass_all' will *always* work, you probably want this one.
6357
6358case $host_os in
6359aix[4-9]*)
6360  lt_cv_deplibs_check_method=pass_all
6361  ;;
6362
6363beos*)
6364  lt_cv_deplibs_check_method=pass_all
6365  ;;
6366
6367bsdi[45]*)
6368  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6369  lt_cv_file_magic_cmd='/usr/bin/file -L'
6370  lt_cv_file_magic_test_file=/shlib/libc.so
6371  ;;
6372
6373cygwin*)
6374  # func_win32_libid is a shell function defined in ltmain.sh
6375  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6376  lt_cv_file_magic_cmd='func_win32_libid'
6377  ;;
6378
6379mingw* | pw32*)
6380  # Base MSYS/MinGW do not provide the 'file' command needed by
6381  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6382  # unless we find 'file', for example because we are cross-compiling.
6383  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6384  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6385    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6386    lt_cv_file_magic_cmd='func_win32_libid'
6387  else
6388    # Keep this pattern in sync with the one in func_win32_libid.
6389    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6390    lt_cv_file_magic_cmd='$OBJDUMP -f'
6391  fi
6392  ;;
6393
6394cegcc*)
6395  # use the weaker test based on 'objdump'. See mingw*.
6396  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6397  lt_cv_file_magic_cmd='$OBJDUMP -f'
6398  ;;
6399
6400darwin* | rhapsody*)
6401  lt_cv_deplibs_check_method=pass_all
6402  ;;
6403
6404freebsd* | dragonfly*)
6405  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6406    case $host_cpu in
6407    i*86 )
6408      # Not sure whether the presence of OpenBSD here was a mistake.
6409      # Let's accept both of them until this is cleared up.
6410      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6411      lt_cv_file_magic_cmd=/usr/bin/file
6412      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6413      ;;
6414    esac
6415  else
6416    lt_cv_deplibs_check_method=pass_all
6417  fi
6418  ;;
6419
6420gnu*)
6421  lt_cv_deplibs_check_method=pass_all
6422  ;;
6423
6424haiku*)
6425  lt_cv_deplibs_check_method=pass_all
6426  ;;
6427
6428hpux10.20* | hpux11*)
6429  lt_cv_file_magic_cmd=/usr/bin/file
6430  case $host_cpu in
6431  ia64*)
6432    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6433    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6434    ;;
6435  hppa*64*)
6436    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6437    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6438    ;;
6439  *)
6440    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6441    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6442    ;;
6443  esac
6444  ;;
6445
6446interix[3-9]*)
6447  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6448  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6449  ;;
6450
6451irix5* | irix6* | nonstopux*)
6452  case $LD in
6453  *-32|*"-32 ") libmagic=32-bit;;
6454  *-n32|*"-n32 ") libmagic=N32;;
6455  *-64|*"-64 ") libmagic=64-bit;;
6456  *) libmagic=never-match;;
6457  esac
6458  lt_cv_deplibs_check_method=pass_all
6459  ;;
6460
6461# This must be Linux ELF.
6462linux* | k*bsd*-gnu | kopensolaris*-gnu)
6463  lt_cv_deplibs_check_method=pass_all
6464  ;;
6465
6466netbsd*)
6467  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6468    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6469  else
6470    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6471  fi
6472  ;;
6473
6474newos6*)
6475  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6476  lt_cv_file_magic_cmd=/usr/bin/file
6477  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6478  ;;
6479
6480*nto* | *qnx*)
6481  lt_cv_deplibs_check_method=pass_all
6482  ;;
6483
6484openbsd*)
6485  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6486    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6487  else
6488    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6489  fi
6490  ;;
6491
6492osf3* | osf4* | osf5*)
6493  lt_cv_deplibs_check_method=pass_all
6494  ;;
6495
6496rdos*)
6497  lt_cv_deplibs_check_method=pass_all
6498  ;;
6499
6500solaris*)
6501  lt_cv_deplibs_check_method=pass_all
6502  ;;
6503
6504sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6505  lt_cv_deplibs_check_method=pass_all
6506  ;;
6507
6508sysv4 | sysv4.3*)
6509  case $host_vendor in
6510  motorola)
6511    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]'
6512    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6513    ;;
6514  ncr)
6515    lt_cv_deplibs_check_method=pass_all
6516    ;;
6517  sequent)
6518    lt_cv_file_magic_cmd='/bin/file'
6519    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6520    ;;
6521  sni)
6522    lt_cv_file_magic_cmd='/bin/file'
6523    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6524    lt_cv_file_magic_test_file=/lib/libc.so
6525    ;;
6526  siemens)
6527    lt_cv_deplibs_check_method=pass_all
6528    ;;
6529  pc)
6530    lt_cv_deplibs_check_method=pass_all
6531    ;;
6532  esac
6533  ;;
6534
6535tpf*)
6536  lt_cv_deplibs_check_method=pass_all
6537  ;;
6538esac
6539
6540fi
6541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6542$as_echo "$lt_cv_deplibs_check_method" >&6; }
6543file_magic_cmd=$lt_cv_file_magic_cmd
6544deplibs_check_method=$lt_cv_deplibs_check_method
6545test -z "$deplibs_check_method" && deplibs_check_method=unknown
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558if test -n "$ac_tool_prefix"; then
6559  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6560set dummy ${ac_tool_prefix}ar; ac_word=$2
6561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6562$as_echo_n "checking for $ac_word... " >&6; }
6563if ${ac_cv_prog_AR+:} false; then :
6564  $as_echo_n "(cached) " >&6
6565else
6566  if test -n "$AR"; then
6567  ac_cv_prog_AR="$AR" # Let the user override the test.
6568else
6569as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6570for as_dir in $PATH
6571do
6572  IFS=$as_save_IFS
6573  test -z "$as_dir" && as_dir=.
6574    for ac_exec_ext in '' $ac_executable_extensions; do
6575  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6576    ac_cv_prog_AR="${ac_tool_prefix}ar"
6577    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6578    break 2
6579  fi
6580done
6581  done
6582IFS=$as_save_IFS
6583
6584fi
6585fi
6586AR=$ac_cv_prog_AR
6587if test -n "$AR"; then
6588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6589$as_echo "$AR" >&6; }
6590else
6591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6592$as_echo "no" >&6; }
6593fi
6594
6595
6596fi
6597if test -z "$ac_cv_prog_AR"; then
6598  ac_ct_AR=$AR
6599  # Extract the first word of "ar", so it can be a program name with args.
6600set dummy ar; ac_word=$2
6601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602$as_echo_n "checking for $ac_word... " >&6; }
6603if ${ac_cv_prog_ac_ct_AR+:} false; then :
6604  $as_echo_n "(cached) " >&6
6605else
6606  if test -n "$ac_ct_AR"; then
6607  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6608else
6609as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6610for as_dir in $PATH
6611do
6612  IFS=$as_save_IFS
6613  test -z "$as_dir" && as_dir=.
6614    for ac_exec_ext in '' $ac_executable_extensions; do
6615  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6616    ac_cv_prog_ac_ct_AR="ar"
6617    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6618    break 2
6619  fi
6620done
6621  done
6622IFS=$as_save_IFS
6623
6624fi
6625fi
6626ac_ct_AR=$ac_cv_prog_ac_ct_AR
6627if test -n "$ac_ct_AR"; then
6628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6629$as_echo "$ac_ct_AR" >&6; }
6630else
6631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6632$as_echo "no" >&6; }
6633fi
6634
6635  if test "x$ac_ct_AR" = x; then
6636    AR="false"
6637  else
6638    case $cross_compiling:$ac_tool_warned in
6639yes:)
6640{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6641$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6642ac_tool_warned=yes ;;
6643esac
6644    AR=$ac_ct_AR
6645  fi
6646else
6647  AR="$ac_cv_prog_AR"
6648fi
6649
6650test -z "$AR" && AR=ar
6651test -z "$AR_FLAGS" && AR_FLAGS=cru
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663if test -n "$ac_tool_prefix"; then
6664  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6665set dummy ${ac_tool_prefix}strip; ac_word=$2
6666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6667$as_echo_n "checking for $ac_word... " >&6; }
6668if ${ac_cv_prog_STRIP+:} false; then :
6669  $as_echo_n "(cached) " >&6
6670else
6671  if test -n "$STRIP"; then
6672  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6673else
6674as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6675for as_dir in $PATH
6676do
6677  IFS=$as_save_IFS
6678  test -z "$as_dir" && as_dir=.
6679    for ac_exec_ext in '' $ac_executable_extensions; do
6680  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6681    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6682    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6683    break 2
6684  fi
6685done
6686  done
6687IFS=$as_save_IFS
6688
6689fi
6690fi
6691STRIP=$ac_cv_prog_STRIP
6692if test -n "$STRIP"; then
6693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6694$as_echo "$STRIP" >&6; }
6695else
6696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6697$as_echo "no" >&6; }
6698fi
6699
6700
6701fi
6702if test -z "$ac_cv_prog_STRIP"; then
6703  ac_ct_STRIP=$STRIP
6704  # Extract the first word of "strip", so it can be a program name with args.
6705set dummy strip; ac_word=$2
6706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6707$as_echo_n "checking for $ac_word... " >&6; }
6708if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6709  $as_echo_n "(cached) " >&6
6710else
6711  if test -n "$ac_ct_STRIP"; then
6712  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6713else
6714as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6715for as_dir in $PATH
6716do
6717  IFS=$as_save_IFS
6718  test -z "$as_dir" && as_dir=.
6719    for ac_exec_ext in '' $ac_executable_extensions; do
6720  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6721    ac_cv_prog_ac_ct_STRIP="strip"
6722    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723    break 2
6724  fi
6725done
6726  done
6727IFS=$as_save_IFS
6728
6729fi
6730fi
6731ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6732if test -n "$ac_ct_STRIP"; then
6733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6734$as_echo "$ac_ct_STRIP" >&6; }
6735else
6736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6737$as_echo "no" >&6; }
6738fi
6739
6740  if test "x$ac_ct_STRIP" = x; then
6741    STRIP=":"
6742  else
6743    case $cross_compiling:$ac_tool_warned in
6744yes:)
6745{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6746$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6747ac_tool_warned=yes ;;
6748esac
6749    STRIP=$ac_ct_STRIP
6750  fi
6751else
6752  STRIP="$ac_cv_prog_STRIP"
6753fi
6754
6755test -z "$STRIP" && STRIP=:
6756
6757
6758
6759
6760
6761
6762if test -n "$ac_tool_prefix"; then
6763  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6764set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6766$as_echo_n "checking for $ac_word... " >&6; }
6767if ${ac_cv_prog_RANLIB+:} false; then :
6768  $as_echo_n "(cached) " >&6
6769else
6770  if test -n "$RANLIB"; then
6771  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6772else
6773as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6774for as_dir in $PATH
6775do
6776  IFS=$as_save_IFS
6777  test -z "$as_dir" && as_dir=.
6778    for ac_exec_ext in '' $ac_executable_extensions; do
6779  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6780    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6781    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6782    break 2
6783  fi
6784done
6785  done
6786IFS=$as_save_IFS
6787
6788fi
6789fi
6790RANLIB=$ac_cv_prog_RANLIB
6791if test -n "$RANLIB"; then
6792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6793$as_echo "$RANLIB" >&6; }
6794else
6795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6796$as_echo "no" >&6; }
6797fi
6798
6799
6800fi
6801if test -z "$ac_cv_prog_RANLIB"; then
6802  ac_ct_RANLIB=$RANLIB
6803  # Extract the first word of "ranlib", so it can be a program name with args.
6804set dummy ranlib; ac_word=$2
6805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6806$as_echo_n "checking for $ac_word... " >&6; }
6807if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6808  $as_echo_n "(cached) " >&6
6809else
6810  if test -n "$ac_ct_RANLIB"; then
6811  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6812else
6813as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814for as_dir in $PATH
6815do
6816  IFS=$as_save_IFS
6817  test -z "$as_dir" && as_dir=.
6818    for ac_exec_ext in '' $ac_executable_extensions; do
6819  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6820    ac_cv_prog_ac_ct_RANLIB="ranlib"
6821    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6822    break 2
6823  fi
6824done
6825  done
6826IFS=$as_save_IFS
6827
6828fi
6829fi
6830ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6831if test -n "$ac_ct_RANLIB"; then
6832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6833$as_echo "$ac_ct_RANLIB" >&6; }
6834else
6835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6836$as_echo "no" >&6; }
6837fi
6838
6839  if test "x$ac_ct_RANLIB" = x; then
6840    RANLIB=":"
6841  else
6842    case $cross_compiling:$ac_tool_warned in
6843yes:)
6844{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6845$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6846ac_tool_warned=yes ;;
6847esac
6848    RANLIB=$ac_ct_RANLIB
6849  fi
6850else
6851  RANLIB="$ac_cv_prog_RANLIB"
6852fi
6853
6854test -z "$RANLIB" && RANLIB=:
6855
6856
6857
6858
6859
6860
6861# Determine commands to create old-style static archives.
6862old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6863old_postinstall_cmds='chmod 644 $oldlib'
6864old_postuninstall_cmds=
6865
6866if test -n "$RANLIB"; then
6867  case $host_os in
6868  openbsd*)
6869    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6870    ;;
6871  *)
6872    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6873    ;;
6874  esac
6875  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6876fi
6877
6878case $host_os in
6879  darwin*)
6880    lock_old_archive_extraction=yes ;;
6881  *)
6882    lock_old_archive_extraction=no ;;
6883esac
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923# If no C compiler was specified, use CC.
6924LTCC=${LTCC-"$CC"}
6925
6926# If no C compiler flags were specified, use CFLAGS.
6927LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6928
6929# Allow CC to be a program name with arguments.
6930compiler=$CC
6931
6932
6933# Check for command to grab the raw symbol name followed by C symbol from nm.
6934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6935$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6936if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6937  $as_echo_n "(cached) " >&6
6938else
6939
6940# These are sane defaults that work on at least a few old systems.
6941# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6942
6943# Character class describing NM global symbol codes.
6944symcode='[BCDEGRST]'
6945
6946# Regexp to match symbols that can be accessed directly from C.
6947sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6948
6949# Define system-specific variables.
6950case $host_os in
6951aix*)
6952  symcode='[BCDT]'
6953  ;;
6954cygwin* | mingw* | pw32* | cegcc*)
6955  symcode='[ABCDGISTW]'
6956  ;;
6957hpux*)
6958  if test "$host_cpu" = ia64; then
6959    symcode='[ABCDEGRST]'
6960  fi
6961  ;;
6962irix* | nonstopux*)
6963  symcode='[BCDEGRST]'
6964  ;;
6965osf*)
6966  symcode='[BCDEGQRST]'
6967  ;;
6968solaris*)
6969  symcode='[BDRT]'
6970  ;;
6971sco3.2v5*)
6972  symcode='[DT]'
6973  ;;
6974sysv4.2uw2*)
6975  symcode='[DT]'
6976  ;;
6977sysv5* | sco5v6* | unixware* | OpenUNIX*)
6978  symcode='[ABDT]'
6979  ;;
6980sysv4)
6981  symcode='[DFNSTU]'
6982  ;;
6983esac
6984
6985# If we're using GNU nm, then use its standard symbol codes.
6986case `$NM -V 2>&1` in
6987*GNU* | *'with BFD'*)
6988  symcode='[ABCDGIRSTW]' ;;
6989esac
6990
6991# Transform an extracted symbol line into a proper C declaration.
6992# Some systems (esp. on ia64) link data and code symbols differently,
6993# so use this general approach.
6994lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6995
6996# Transform an extracted symbol line into symbol name and symbol address
6997lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6998lt_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'"
6999
7000# Handle CRLF in mingw tool chain
7001opt_cr=
7002case $build_os in
7003mingw*)
7004  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7005  ;;
7006esac
7007
7008# Try without a prefix underscore, then with it.
7009for ac_symprfx in "" "_"; do
7010
7011  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7012  symxfrm="\\1 $ac_symprfx\\2 \\2"
7013
7014  # Write the raw and C identifiers.
7015  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7016    # Fake it for dumpbin and say T for any non-static function
7017    # and D for any global variable.
7018    # Also find C++ and __fastcall symbols from MSVC++,
7019    # which start with @ or ?.
7020    lt_cv_sys_global_symbol_pipe="$AWK '"\
7021"     {last_section=section; section=\$ 3};"\
7022"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7023"     \$ 0!~/External *\|/{next};"\
7024"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7025"     {if(hide[section]) next};"\
7026"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7027"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7028"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7029"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7030"     ' prfx=^$ac_symprfx"
7031  else
7032    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7033  fi
7034
7035  # Check to see that the pipe works correctly.
7036  pipe_works=no
7037
7038  rm -f conftest*
7039  cat > conftest.$ac_ext <<_LT_EOF
7040#ifdef __cplusplus
7041extern "C" {
7042#endif
7043char nm_test_var;
7044void nm_test_func(void);
7045void nm_test_func(void){}
7046#ifdef __cplusplus
7047}
7048#endif
7049int main(){nm_test_var='a';nm_test_func();return(0);}
7050_LT_EOF
7051
7052  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7053  (eval $ac_compile) 2>&5
7054  ac_status=$?
7055  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7056  test $ac_status = 0; }; then
7057    # Now try to grab the symbols.
7058    nlist=conftest.nm
7059    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7060  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7061  ac_status=$?
7062  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7063  test $ac_status = 0; } && test -s "$nlist"; then
7064      # Try sorting and uniquifying the output.
7065      if sort "$nlist" | uniq > "$nlist"T; then
7066	mv -f "$nlist"T "$nlist"
7067      else
7068	rm -f "$nlist"T
7069      fi
7070
7071      # Make sure that we snagged all the symbols we need.
7072      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7073	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7074	  cat <<_LT_EOF > conftest.$ac_ext
7075#ifdef __cplusplus
7076extern "C" {
7077#endif
7078
7079_LT_EOF
7080	  # Now generate the symbol file.
7081	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7082
7083	  cat <<_LT_EOF >> conftest.$ac_ext
7084
7085/* The mapping between symbol names and symbols.  */
7086const struct {
7087  const char *name;
7088  void       *address;
7089}
7090lt__PROGRAM__LTX_preloaded_symbols[] =
7091{
7092  { "@PROGRAM@", (void *) 0 },
7093_LT_EOF
7094	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7095	  cat <<\_LT_EOF >> conftest.$ac_ext
7096  {0, (void *) 0}
7097};
7098
7099/* This works around a problem in FreeBSD linker */
7100#ifdef FREEBSD_WORKAROUND
7101static const void *lt_preloaded_setup() {
7102  return lt__PROGRAM__LTX_preloaded_symbols;
7103}
7104#endif
7105
7106#ifdef __cplusplus
7107}
7108#endif
7109_LT_EOF
7110	  # Now try linking the two files.
7111	  mv conftest.$ac_objext conftstm.$ac_objext
7112	  lt_save_LIBS="$LIBS"
7113	  lt_save_CFLAGS="$CFLAGS"
7114	  LIBS="conftstm.$ac_objext"
7115	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7116	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7117  (eval $ac_link) 2>&5
7118  ac_status=$?
7119  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7120  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7121	    pipe_works=yes
7122	  fi
7123	  LIBS="$lt_save_LIBS"
7124	  CFLAGS="$lt_save_CFLAGS"
7125	else
7126	  echo "cannot find nm_test_func in $nlist" >&5
7127	fi
7128      else
7129	echo "cannot find nm_test_var in $nlist" >&5
7130      fi
7131    else
7132      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7133    fi
7134  else
7135    echo "$progname: failed program was:" >&5
7136    cat conftest.$ac_ext >&5
7137  fi
7138  rm -rf conftest* conftst*
7139
7140  # Do not use the global_symbol_pipe unless it works.
7141  if test "$pipe_works" = yes; then
7142    break
7143  else
7144    lt_cv_sys_global_symbol_pipe=
7145  fi
7146done
7147
7148fi
7149
7150if test -z "$lt_cv_sys_global_symbol_pipe"; then
7151  lt_cv_sys_global_symbol_to_cdecl=
7152fi
7153if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7155$as_echo "failed" >&6; }
7156else
7157  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7158$as_echo "ok" >&6; }
7159fi
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182# Check whether --enable-libtool-lock was given.
7183if test "${enable_libtool_lock+set}" = set; then :
7184  enableval=$enable_libtool_lock;
7185fi
7186
7187test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7188
7189# Some flags need to be propagated to the compiler or linker for good
7190# libtool support.
7191case $host in
7192ia64-*-hpux*)
7193  # Find out which ABI we are using.
7194  echo 'int i;' > conftest.$ac_ext
7195  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7196  (eval $ac_compile) 2>&5
7197  ac_status=$?
7198  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7199  test $ac_status = 0; }; then
7200    case `/usr/bin/file conftest.$ac_objext` in
7201      *ELF-32*)
7202	HPUX_IA64_MODE="32"
7203	;;
7204      *ELF-64*)
7205	HPUX_IA64_MODE="64"
7206	;;
7207    esac
7208  fi
7209  rm -rf conftest*
7210  ;;
7211*-*-irix6*)
7212  # Find out which ABI we are using.
7213  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7214  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7215  (eval $ac_compile) 2>&5
7216  ac_status=$?
7217  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7218  test $ac_status = 0; }; then
7219    if test "$lt_cv_prog_gnu_ld" = yes; then
7220      case `/usr/bin/file conftest.$ac_objext` in
7221	*32-bit*)
7222	  LD="${LD-ld} -melf32bsmip"
7223	  ;;
7224	*N32*)
7225	  LD="${LD-ld} -melf32bmipn32"
7226	  ;;
7227	*64-bit*)
7228	  LD="${LD-ld} -melf64bmip"
7229	;;
7230      esac
7231    else
7232      case `/usr/bin/file conftest.$ac_objext` in
7233	*32-bit*)
7234	  LD="${LD-ld} -32"
7235	  ;;
7236	*N32*)
7237	  LD="${LD-ld} -n32"
7238	  ;;
7239	*64-bit*)
7240	  LD="${LD-ld} -64"
7241	  ;;
7242      esac
7243    fi
7244  fi
7245  rm -rf conftest*
7246  ;;
7247
7248x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7249s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7250  # Find out which ABI we are using.
7251  echo 'int i;' > conftest.$ac_ext
7252  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7253  (eval $ac_compile) 2>&5
7254  ac_status=$?
7255  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7256  test $ac_status = 0; }; then
7257    case `/usr/bin/file conftest.o` in
7258      *32-bit*)
7259	case $host in
7260	  x86_64-*kfreebsd*-gnu)
7261	    LD="${LD-ld} -m elf_i386_fbsd"
7262	    ;;
7263	  x86_64-*linux*)
7264	    LD="${LD-ld} -m elf_i386"
7265	    ;;
7266	  ppc64-*linux*|powerpc64-*linux*)
7267	    LD="${LD-ld} -m elf32ppclinux"
7268	    ;;
7269	  s390x-*linux*)
7270	    LD="${LD-ld} -m elf_s390"
7271	    ;;
7272	  sparc64-*linux*)
7273	    LD="${LD-ld} -m elf32_sparc"
7274	    ;;
7275	esac
7276	;;
7277      *64-bit*)
7278	case $host in
7279	  x86_64-*kfreebsd*-gnu)
7280	    LD="${LD-ld} -m elf_x86_64_fbsd"
7281	    ;;
7282	  x86_64-*linux*)
7283	    LD="${LD-ld} -m elf_x86_64"
7284	    ;;
7285	  ppc*-*linux*|powerpc*-*linux*)
7286	    LD="${LD-ld} -m elf64ppc"
7287	    ;;
7288	  s390*-*linux*|s390*-*tpf*)
7289	    LD="${LD-ld} -m elf64_s390"
7290	    ;;
7291	  sparc*-*linux*)
7292	    LD="${LD-ld} -m elf64_sparc"
7293	    ;;
7294	esac
7295	;;
7296    esac
7297  fi
7298  rm -rf conftest*
7299  ;;
7300
7301*-*-sco3.2v5*)
7302  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7303  SAVE_CFLAGS="$CFLAGS"
7304  CFLAGS="$CFLAGS -belf"
7305  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7306$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7307if ${lt_cv_cc_needs_belf+:} false; then :
7308  $as_echo_n "(cached) " >&6
7309else
7310  ac_ext=c
7311ac_cpp='$CPP $CPPFLAGS'
7312ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7313ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7314ac_compiler_gnu=$ac_cv_c_compiler_gnu
7315
7316     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7317/* end confdefs.h.  */
7318
7319int
7320main ()
7321{
7322
7323  ;
7324  return 0;
7325}
7326_ACEOF
7327if ac_fn_c_try_link "$LINENO"; then :
7328  lt_cv_cc_needs_belf=yes
7329else
7330  lt_cv_cc_needs_belf=no
7331fi
7332rm -f core conftest.err conftest.$ac_objext \
7333    conftest$ac_exeext conftest.$ac_ext
7334     ac_ext=c
7335ac_cpp='$CPP $CPPFLAGS'
7336ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7337ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7338ac_compiler_gnu=$ac_cv_c_compiler_gnu
7339
7340fi
7341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7342$as_echo "$lt_cv_cc_needs_belf" >&6; }
7343  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7344    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7345    CFLAGS="$SAVE_CFLAGS"
7346  fi
7347  ;;
7348sparc*-*solaris*)
7349  # Find out which ABI we are using.
7350  echo 'int i;' > conftest.$ac_ext
7351  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7352  (eval $ac_compile) 2>&5
7353  ac_status=$?
7354  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7355  test $ac_status = 0; }; then
7356    case `/usr/bin/file conftest.o` in
7357    *64-bit*)
7358      case $lt_cv_prog_gnu_ld in
7359      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7360      *)
7361	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7362	  LD="${LD-ld} -64"
7363	fi
7364	;;
7365      esac
7366      ;;
7367    esac
7368  fi
7369  rm -rf conftest*
7370  ;;
7371esac
7372
7373need_locks="$enable_libtool_lock"
7374
7375
7376  case $host_os in
7377    rhapsody* | darwin*)
7378    if test -n "$ac_tool_prefix"; then
7379  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7380set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382$as_echo_n "checking for $ac_word... " >&6; }
7383if ${ac_cv_prog_DSYMUTIL+:} false; then :
7384  $as_echo_n "(cached) " >&6
7385else
7386  if test -n "$DSYMUTIL"; then
7387  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7388else
7389as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7390for as_dir in $PATH
7391do
7392  IFS=$as_save_IFS
7393  test -z "$as_dir" && as_dir=.
7394    for ac_exec_ext in '' $ac_executable_extensions; do
7395  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7396    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7397    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398    break 2
7399  fi
7400done
7401  done
7402IFS=$as_save_IFS
7403
7404fi
7405fi
7406DSYMUTIL=$ac_cv_prog_DSYMUTIL
7407if test -n "$DSYMUTIL"; then
7408  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7409$as_echo "$DSYMUTIL" >&6; }
7410else
7411  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412$as_echo "no" >&6; }
7413fi
7414
7415
7416fi
7417if test -z "$ac_cv_prog_DSYMUTIL"; then
7418  ac_ct_DSYMUTIL=$DSYMUTIL
7419  # Extract the first word of "dsymutil", so it can be a program name with args.
7420set dummy dsymutil; ac_word=$2
7421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7422$as_echo_n "checking for $ac_word... " >&6; }
7423if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7424  $as_echo_n "(cached) " >&6
7425else
7426  if test -n "$ac_ct_DSYMUTIL"; then
7427  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7428else
7429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7430for as_dir in $PATH
7431do
7432  IFS=$as_save_IFS
7433  test -z "$as_dir" && as_dir=.
7434    for ac_exec_ext in '' $ac_executable_extensions; do
7435  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7436    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7437    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7438    break 2
7439  fi
7440done
7441  done
7442IFS=$as_save_IFS
7443
7444fi
7445fi
7446ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7447if test -n "$ac_ct_DSYMUTIL"; then
7448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7449$as_echo "$ac_ct_DSYMUTIL" >&6; }
7450else
7451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452$as_echo "no" >&6; }
7453fi
7454
7455  if test "x$ac_ct_DSYMUTIL" = x; then
7456    DSYMUTIL=":"
7457  else
7458    case $cross_compiling:$ac_tool_warned in
7459yes:)
7460{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7461$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7462ac_tool_warned=yes ;;
7463esac
7464    DSYMUTIL=$ac_ct_DSYMUTIL
7465  fi
7466else
7467  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7468fi
7469
7470    if test -n "$ac_tool_prefix"; then
7471  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7472set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7474$as_echo_n "checking for $ac_word... " >&6; }
7475if ${ac_cv_prog_NMEDIT+:} false; then :
7476  $as_echo_n "(cached) " >&6
7477else
7478  if test -n "$NMEDIT"; then
7479  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7480else
7481as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482for as_dir in $PATH
7483do
7484  IFS=$as_save_IFS
7485  test -z "$as_dir" && as_dir=.
7486    for ac_exec_ext in '' $ac_executable_extensions; do
7487  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7488    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7489    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490    break 2
7491  fi
7492done
7493  done
7494IFS=$as_save_IFS
7495
7496fi
7497fi
7498NMEDIT=$ac_cv_prog_NMEDIT
7499if test -n "$NMEDIT"; then
7500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7501$as_echo "$NMEDIT" >&6; }
7502else
7503  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504$as_echo "no" >&6; }
7505fi
7506
7507
7508fi
7509if test -z "$ac_cv_prog_NMEDIT"; then
7510  ac_ct_NMEDIT=$NMEDIT
7511  # Extract the first word of "nmedit", so it can be a program name with args.
7512set dummy nmedit; ac_word=$2
7513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7514$as_echo_n "checking for $ac_word... " >&6; }
7515if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7516  $as_echo_n "(cached) " >&6
7517else
7518  if test -n "$ac_ct_NMEDIT"; then
7519  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7520else
7521as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7522for as_dir in $PATH
7523do
7524  IFS=$as_save_IFS
7525  test -z "$as_dir" && as_dir=.
7526    for ac_exec_ext in '' $ac_executable_extensions; do
7527  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7528    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7529    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7530    break 2
7531  fi
7532done
7533  done
7534IFS=$as_save_IFS
7535
7536fi
7537fi
7538ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7539if test -n "$ac_ct_NMEDIT"; then
7540  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7541$as_echo "$ac_ct_NMEDIT" >&6; }
7542else
7543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7544$as_echo "no" >&6; }
7545fi
7546
7547  if test "x$ac_ct_NMEDIT" = x; then
7548    NMEDIT=":"
7549  else
7550    case $cross_compiling:$ac_tool_warned in
7551yes:)
7552{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7553$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7554ac_tool_warned=yes ;;
7555esac
7556    NMEDIT=$ac_ct_NMEDIT
7557  fi
7558else
7559  NMEDIT="$ac_cv_prog_NMEDIT"
7560fi
7561
7562    if test -n "$ac_tool_prefix"; then
7563  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7564set dummy ${ac_tool_prefix}lipo; ac_word=$2
7565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7566$as_echo_n "checking for $ac_word... " >&6; }
7567if ${ac_cv_prog_LIPO+:} false; then :
7568  $as_echo_n "(cached) " >&6
7569else
7570  if test -n "$LIPO"; then
7571  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7572else
7573as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7574for as_dir in $PATH
7575do
7576  IFS=$as_save_IFS
7577  test -z "$as_dir" && as_dir=.
7578    for ac_exec_ext in '' $ac_executable_extensions; do
7579  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7580    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7581    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582    break 2
7583  fi
7584done
7585  done
7586IFS=$as_save_IFS
7587
7588fi
7589fi
7590LIPO=$ac_cv_prog_LIPO
7591if test -n "$LIPO"; then
7592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7593$as_echo "$LIPO" >&6; }
7594else
7595  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7596$as_echo "no" >&6; }
7597fi
7598
7599
7600fi
7601if test -z "$ac_cv_prog_LIPO"; then
7602  ac_ct_LIPO=$LIPO
7603  # Extract the first word of "lipo", so it can be a program name with args.
7604set dummy lipo; ac_word=$2
7605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7606$as_echo_n "checking for $ac_word... " >&6; }
7607if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7608  $as_echo_n "(cached) " >&6
7609else
7610  if test -n "$ac_ct_LIPO"; then
7611  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7612else
7613as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7614for as_dir in $PATH
7615do
7616  IFS=$as_save_IFS
7617  test -z "$as_dir" && as_dir=.
7618    for ac_exec_ext in '' $ac_executable_extensions; do
7619  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7620    ac_cv_prog_ac_ct_LIPO="lipo"
7621    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7622    break 2
7623  fi
7624done
7625  done
7626IFS=$as_save_IFS
7627
7628fi
7629fi
7630ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7631if test -n "$ac_ct_LIPO"; then
7632  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7633$as_echo "$ac_ct_LIPO" >&6; }
7634else
7635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7636$as_echo "no" >&6; }
7637fi
7638
7639  if test "x$ac_ct_LIPO" = x; then
7640    LIPO=":"
7641  else
7642    case $cross_compiling:$ac_tool_warned in
7643yes:)
7644{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7645$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7646ac_tool_warned=yes ;;
7647esac
7648    LIPO=$ac_ct_LIPO
7649  fi
7650else
7651  LIPO="$ac_cv_prog_LIPO"
7652fi
7653
7654    if test -n "$ac_tool_prefix"; then
7655  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7656set dummy ${ac_tool_prefix}otool; ac_word=$2
7657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7658$as_echo_n "checking for $ac_word... " >&6; }
7659if ${ac_cv_prog_OTOOL+:} false; then :
7660  $as_echo_n "(cached) " >&6
7661else
7662  if test -n "$OTOOL"; then
7663  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7664else
7665as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7666for as_dir in $PATH
7667do
7668  IFS=$as_save_IFS
7669  test -z "$as_dir" && as_dir=.
7670    for ac_exec_ext in '' $ac_executable_extensions; do
7671  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7672    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7673    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7674    break 2
7675  fi
7676done
7677  done
7678IFS=$as_save_IFS
7679
7680fi
7681fi
7682OTOOL=$ac_cv_prog_OTOOL
7683if test -n "$OTOOL"; then
7684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7685$as_echo "$OTOOL" >&6; }
7686else
7687  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7688$as_echo "no" >&6; }
7689fi
7690
7691
7692fi
7693if test -z "$ac_cv_prog_OTOOL"; then
7694  ac_ct_OTOOL=$OTOOL
7695  # Extract the first word of "otool", so it can be a program name with args.
7696set dummy otool; ac_word=$2
7697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7698$as_echo_n "checking for $ac_word... " >&6; }
7699if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7700  $as_echo_n "(cached) " >&6
7701else
7702  if test -n "$ac_ct_OTOOL"; then
7703  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7704else
7705as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7706for as_dir in $PATH
7707do
7708  IFS=$as_save_IFS
7709  test -z "$as_dir" && as_dir=.
7710    for ac_exec_ext in '' $ac_executable_extensions; do
7711  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7712    ac_cv_prog_ac_ct_OTOOL="otool"
7713    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7714    break 2
7715  fi
7716done
7717  done
7718IFS=$as_save_IFS
7719
7720fi
7721fi
7722ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7723if test -n "$ac_ct_OTOOL"; then
7724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7725$as_echo "$ac_ct_OTOOL" >&6; }
7726else
7727  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7728$as_echo "no" >&6; }
7729fi
7730
7731  if test "x$ac_ct_OTOOL" = x; then
7732    OTOOL=":"
7733  else
7734    case $cross_compiling:$ac_tool_warned in
7735yes:)
7736{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7737$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7738ac_tool_warned=yes ;;
7739esac
7740    OTOOL=$ac_ct_OTOOL
7741  fi
7742else
7743  OTOOL="$ac_cv_prog_OTOOL"
7744fi
7745
7746    if test -n "$ac_tool_prefix"; then
7747  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7748set dummy ${ac_tool_prefix}otool64; ac_word=$2
7749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7750$as_echo_n "checking for $ac_word... " >&6; }
7751if ${ac_cv_prog_OTOOL64+:} false; then :
7752  $as_echo_n "(cached) " >&6
7753else
7754  if test -n "$OTOOL64"; then
7755  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7756else
7757as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7758for as_dir in $PATH
7759do
7760  IFS=$as_save_IFS
7761  test -z "$as_dir" && as_dir=.
7762    for ac_exec_ext in '' $ac_executable_extensions; do
7763  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7764    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7765    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7766    break 2
7767  fi
7768done
7769  done
7770IFS=$as_save_IFS
7771
7772fi
7773fi
7774OTOOL64=$ac_cv_prog_OTOOL64
7775if test -n "$OTOOL64"; then
7776  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7777$as_echo "$OTOOL64" >&6; }
7778else
7779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7780$as_echo "no" >&6; }
7781fi
7782
7783
7784fi
7785if test -z "$ac_cv_prog_OTOOL64"; then
7786  ac_ct_OTOOL64=$OTOOL64
7787  # Extract the first word of "otool64", so it can be a program name with args.
7788set dummy otool64; ac_word=$2
7789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7790$as_echo_n "checking for $ac_word... " >&6; }
7791if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7792  $as_echo_n "(cached) " >&6
7793else
7794  if test -n "$ac_ct_OTOOL64"; then
7795  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7796else
7797as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7798for as_dir in $PATH
7799do
7800  IFS=$as_save_IFS
7801  test -z "$as_dir" && as_dir=.
7802    for ac_exec_ext in '' $ac_executable_extensions; do
7803  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7804    ac_cv_prog_ac_ct_OTOOL64="otool64"
7805    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7806    break 2
7807  fi
7808done
7809  done
7810IFS=$as_save_IFS
7811
7812fi
7813fi
7814ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7815if test -n "$ac_ct_OTOOL64"; then
7816  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7817$as_echo "$ac_ct_OTOOL64" >&6; }
7818else
7819  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7820$as_echo "no" >&6; }
7821fi
7822
7823  if test "x$ac_ct_OTOOL64" = x; then
7824    OTOOL64=":"
7825  else
7826    case $cross_compiling:$ac_tool_warned in
7827yes:)
7828{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7829$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7830ac_tool_warned=yes ;;
7831esac
7832    OTOOL64=$ac_ct_OTOOL64
7833  fi
7834else
7835  OTOOL64="$ac_cv_prog_OTOOL64"
7836fi
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7865$as_echo_n "checking for -single_module linker flag... " >&6; }
7866if ${lt_cv_apple_cc_single_mod+:} false; then :
7867  $as_echo_n "(cached) " >&6
7868else
7869  lt_cv_apple_cc_single_mod=no
7870      if test -z "${LT_MULTI_MODULE}"; then
7871	# By default we will add the -single_module flag. You can override
7872	# by either setting the environment variable LT_MULTI_MODULE
7873	# non-empty at configure time, or by adding -multi_module to the
7874	# link flags.
7875	rm -rf libconftest.dylib*
7876	echo "int foo(void){return 1;}" > conftest.c
7877	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7878-dynamiclib -Wl,-single_module conftest.c" >&5
7879	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7880	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7881        _lt_result=$?
7882	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7883	  lt_cv_apple_cc_single_mod=yes
7884	else
7885	  cat conftest.err >&5
7886	fi
7887	rm -rf libconftest.dylib*
7888	rm -f conftest.*
7889      fi
7890fi
7891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7892$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7893    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7894$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7895if ${lt_cv_ld_exported_symbols_list+:} false; then :
7896  $as_echo_n "(cached) " >&6
7897else
7898  lt_cv_ld_exported_symbols_list=no
7899      save_LDFLAGS=$LDFLAGS
7900      echo "_main" > conftest.sym
7901      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7902      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7903/* end confdefs.h.  */
7904
7905int
7906main ()
7907{
7908
7909  ;
7910  return 0;
7911}
7912_ACEOF
7913if ac_fn_c_try_link "$LINENO"; then :
7914  lt_cv_ld_exported_symbols_list=yes
7915else
7916  lt_cv_ld_exported_symbols_list=no
7917fi
7918rm -f core conftest.err conftest.$ac_objext \
7919    conftest$ac_exeext conftest.$ac_ext
7920	LDFLAGS="$save_LDFLAGS"
7921
7922fi
7923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7924$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7925    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7926$as_echo_n "checking for -force_load linker flag... " >&6; }
7927if ${lt_cv_ld_force_load+:} false; then :
7928  $as_echo_n "(cached) " >&6
7929else
7930  lt_cv_ld_force_load=no
7931      cat > conftest.c << _LT_EOF
7932int forced_loaded() { return 2;}
7933_LT_EOF
7934      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7935      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7936      echo "$AR cru libconftest.a conftest.o" >&5
7937      $AR cru libconftest.a conftest.o 2>&5
7938      echo "$RANLIB libconftest.a" >&5
7939      $RANLIB libconftest.a 2>&5
7940      cat > conftest.c << _LT_EOF
7941int main() { return 0;}
7942_LT_EOF
7943      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7944      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7945      _lt_result=$?
7946      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7947	lt_cv_ld_force_load=yes
7948      else
7949	cat conftest.err >&5
7950      fi
7951        rm -f conftest.err libconftest.a conftest conftest.c
7952        rm -rf conftest.dSYM
7953
7954fi
7955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7956$as_echo "$lt_cv_ld_force_load" >&6; }
7957    case $host_os in
7958    rhapsody* | darwin1.[012])
7959      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7960    darwin1.*)
7961      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7962    darwin*) # darwin 5.x on
7963      # if running on 10.5 or later, the deployment target defaults
7964      # to the OS version, if on x86, and 10.4, the deployment
7965      # target defaults to 10.4. Don't you love it?
7966      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7967	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7968	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7969	10.[012]*)
7970	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7971	10.*)
7972	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7973      esac
7974    ;;
7975  esac
7976    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7977      _lt_dar_single_mod='$single_module'
7978    fi
7979    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7980      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7981    else
7982      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7983    fi
7984    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7985      _lt_dsymutil='~$DSYMUTIL $lib || :'
7986    else
7987      _lt_dsymutil=
7988    fi
7989    ;;
7990  esac
7991
7992for ac_header in dlfcn.h
7993do :
7994  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7995"
7996if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7997  cat >>confdefs.h <<_ACEOF
7998#define HAVE_DLFCN_H 1
7999_ACEOF
8000
8001fi
8002
8003done
8004
8005
8006
8007
8008
8009# Set options
8010
8011
8012
8013        enable_dlopen=no
8014
8015
8016  enable_win32_dll=no
8017
8018
8019            # Check whether --enable-shared was given.
8020if test "${enable_shared+set}" = set; then :
8021  enableval=$enable_shared; p=${PACKAGE-default}
8022    case $enableval in
8023    yes) enable_shared=yes ;;
8024    no) enable_shared=no ;;
8025    *)
8026      enable_shared=no
8027      # Look at the argument we got.  We use all the common list separators.
8028      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8029      for pkg in $enableval; do
8030	IFS="$lt_save_ifs"
8031	if test "X$pkg" = "X$p"; then
8032	  enable_shared=yes
8033	fi
8034      done
8035      IFS="$lt_save_ifs"
8036      ;;
8037    esac
8038else
8039  enable_shared=yes
8040fi
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050  # Check whether --enable-static was given.
8051if test "${enable_static+set}" = set; then :
8052  enableval=$enable_static; p=${PACKAGE-default}
8053    case $enableval in
8054    yes) enable_static=yes ;;
8055    no) enable_static=no ;;
8056    *)
8057     enable_static=no
8058      # Look at the argument we got.  We use all the common list separators.
8059      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8060      for pkg in $enableval; do
8061	IFS="$lt_save_ifs"
8062	if test "X$pkg" = "X$p"; then
8063	  enable_static=yes
8064	fi
8065      done
8066      IFS="$lt_save_ifs"
8067      ;;
8068    esac
8069else
8070  enable_static=yes
8071fi
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082# Check whether --with-pic was given.
8083if test "${with_pic+set}" = set; then :
8084  withval=$with_pic; pic_mode="$withval"
8085else
8086  pic_mode=default
8087fi
8088
8089
8090test -z "$pic_mode" && pic_mode=default
8091
8092
8093
8094
8095
8096
8097
8098  # Check whether --enable-fast-install was given.
8099if test "${enable_fast_install+set}" = set; then :
8100  enableval=$enable_fast_install; p=${PACKAGE-default}
8101    case $enableval in
8102    yes) enable_fast_install=yes ;;
8103    no) enable_fast_install=no ;;
8104    *)
8105      enable_fast_install=no
8106      # Look at the argument we got.  We use all the common list separators.
8107      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8108      for pkg in $enableval; do
8109	IFS="$lt_save_ifs"
8110	if test "X$pkg" = "X$p"; then
8111	  enable_fast_install=yes
8112	fi
8113      done
8114      IFS="$lt_save_ifs"
8115      ;;
8116    esac
8117else
8118  enable_fast_install=yes
8119fi
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131# This can be used to rebuild libtool when needed
8132LIBTOOL_DEPS="$ltmain"
8133
8134# Always use our own libtool.
8135LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162test -z "$LN_S" && LN_S="ln -s"
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177if test -n "${ZSH_VERSION+set}" ; then
8178   setopt NO_GLOB_SUBST
8179fi
8180
8181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8182$as_echo_n "checking for objdir... " >&6; }
8183if ${lt_cv_objdir+:} false; then :
8184  $as_echo_n "(cached) " >&6
8185else
8186  rm -f .libs 2>/dev/null
8187mkdir .libs 2>/dev/null
8188if test -d .libs; then
8189  lt_cv_objdir=.libs
8190else
8191  # MS-DOS does not allow filenames that begin with a dot.
8192  lt_cv_objdir=_libs
8193fi
8194rmdir .libs 2>/dev/null
8195fi
8196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8197$as_echo "$lt_cv_objdir" >&6; }
8198objdir=$lt_cv_objdir
8199
8200
8201
8202
8203
8204cat >>confdefs.h <<_ACEOF
8205#define LT_OBJDIR "$lt_cv_objdir/"
8206_ACEOF
8207
8208
8209
8210
8211case $host_os in
8212aix3*)
8213  # AIX sometimes has problems with the GCC collect2 program.  For some
8214  # reason, if we set the COLLECT_NAMES environment variable, the problems
8215  # vanish in a puff of smoke.
8216  if test "X${COLLECT_NAMES+set}" != Xset; then
8217    COLLECT_NAMES=
8218    export COLLECT_NAMES
8219  fi
8220  ;;
8221esac
8222
8223# Global variables:
8224ofile=libtool
8225can_build_shared=yes
8226
8227# All known linkers require a `.a' archive for static linking (except MSVC,
8228# which needs '.lib').
8229libext=a
8230
8231with_gnu_ld="$lt_cv_prog_gnu_ld"
8232
8233old_CC="$CC"
8234old_CFLAGS="$CFLAGS"
8235
8236# Set sane defaults for various variables
8237test -z "$CC" && CC=cc
8238test -z "$LTCC" && LTCC=$CC
8239test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8240test -z "$LD" && LD=ld
8241test -z "$ac_objext" && ac_objext=o
8242
8243for cc_temp in $compiler""; do
8244  case $cc_temp in
8245    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8246    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8247    \-*) ;;
8248    *) break;;
8249  esac
8250done
8251cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8252
8253
8254# Only perform the check for file, if the check method requires it
8255test -z "$MAGIC_CMD" && MAGIC_CMD=file
8256case $deplibs_check_method in
8257file_magic*)
8258  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8259    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8260$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8261if ${lt_cv_path_MAGIC_CMD+:} false; then :
8262  $as_echo_n "(cached) " >&6
8263else
8264  case $MAGIC_CMD in
8265[\\/*] |  ?:[\\/]*)
8266  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8267  ;;
8268*)
8269  lt_save_MAGIC_CMD="$MAGIC_CMD"
8270  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8271  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8272  for ac_dir in $ac_dummy; do
8273    IFS="$lt_save_ifs"
8274    test -z "$ac_dir" && ac_dir=.
8275    if test -f $ac_dir/${ac_tool_prefix}file; then
8276      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8277      if test -n "$file_magic_test_file"; then
8278	case $deplibs_check_method in
8279	"file_magic "*)
8280	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8281	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8282	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8283	    $EGREP "$file_magic_regex" > /dev/null; then
8284	    :
8285	  else
8286	    cat <<_LT_EOF 1>&2
8287
8288*** Warning: the command libtool uses to detect shared libraries,
8289*** $file_magic_cmd, produces output that libtool cannot recognize.
8290*** The result is that libtool may fail to recognize shared libraries
8291*** as such.  This will affect the creation of libtool libraries that
8292*** depend on shared libraries, but programs linked with such libtool
8293*** libraries will work regardless of this problem.  Nevertheless, you
8294*** may want to report the problem to your system manager and/or to
8295*** bug-libtool@gnu.org
8296
8297_LT_EOF
8298	  fi ;;
8299	esac
8300      fi
8301      break
8302    fi
8303  done
8304  IFS="$lt_save_ifs"
8305  MAGIC_CMD="$lt_save_MAGIC_CMD"
8306  ;;
8307esac
8308fi
8309
8310MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8311if test -n "$MAGIC_CMD"; then
8312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8313$as_echo "$MAGIC_CMD" >&6; }
8314else
8315  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8316$as_echo "no" >&6; }
8317fi
8318
8319
8320
8321
8322
8323if test -z "$lt_cv_path_MAGIC_CMD"; then
8324  if test -n "$ac_tool_prefix"; then
8325    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8326$as_echo_n "checking for file... " >&6; }
8327if ${lt_cv_path_MAGIC_CMD+:} false; then :
8328  $as_echo_n "(cached) " >&6
8329else
8330  case $MAGIC_CMD in
8331[\\/*] |  ?:[\\/]*)
8332  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8333  ;;
8334*)
8335  lt_save_MAGIC_CMD="$MAGIC_CMD"
8336  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8337  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8338  for ac_dir in $ac_dummy; do
8339    IFS="$lt_save_ifs"
8340    test -z "$ac_dir" && ac_dir=.
8341    if test -f $ac_dir/file; then
8342      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8343      if test -n "$file_magic_test_file"; then
8344	case $deplibs_check_method in
8345	"file_magic "*)
8346	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8347	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8348	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8349	    $EGREP "$file_magic_regex" > /dev/null; then
8350	    :
8351	  else
8352	    cat <<_LT_EOF 1>&2
8353
8354*** Warning: the command libtool uses to detect shared libraries,
8355*** $file_magic_cmd, produces output that libtool cannot recognize.
8356*** The result is that libtool may fail to recognize shared libraries
8357*** as such.  This will affect the creation of libtool libraries that
8358*** depend on shared libraries, but programs linked with such libtool
8359*** libraries will work regardless of this problem.  Nevertheless, you
8360*** may want to report the problem to your system manager and/or to
8361*** bug-libtool@gnu.org
8362
8363_LT_EOF
8364	  fi ;;
8365	esac
8366      fi
8367      break
8368    fi
8369  done
8370  IFS="$lt_save_ifs"
8371  MAGIC_CMD="$lt_save_MAGIC_CMD"
8372  ;;
8373esac
8374fi
8375
8376MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8377if test -n "$MAGIC_CMD"; then
8378  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8379$as_echo "$MAGIC_CMD" >&6; }
8380else
8381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8382$as_echo "no" >&6; }
8383fi
8384
8385
8386  else
8387    MAGIC_CMD=:
8388  fi
8389fi
8390
8391  fi
8392  ;;
8393esac
8394
8395# Use C for the default configuration in the libtool script
8396
8397lt_save_CC="$CC"
8398ac_ext=c
8399ac_cpp='$CPP $CPPFLAGS'
8400ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8401ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8402ac_compiler_gnu=$ac_cv_c_compiler_gnu
8403
8404
8405# Source file extension for C test sources.
8406ac_ext=c
8407
8408# Object file extension for compiled C test sources.
8409objext=o
8410objext=$objext
8411
8412# Code to be used in simple compile tests
8413lt_simple_compile_test_code="int some_variable = 0;"
8414
8415# Code to be used in simple link tests
8416lt_simple_link_test_code='int main(){return(0);}'
8417
8418
8419
8420
8421
8422
8423
8424# If no C compiler was specified, use CC.
8425LTCC=${LTCC-"$CC"}
8426
8427# If no C compiler flags were specified, use CFLAGS.
8428LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8429
8430# Allow CC to be a program name with arguments.
8431compiler=$CC
8432
8433# Save the default compiler, since it gets overwritten when the other
8434# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8435compiler_DEFAULT=$CC
8436
8437# save warnings/boilerplate of simple test code
8438ac_outfile=conftest.$ac_objext
8439echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8440eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8441_lt_compiler_boilerplate=`cat conftest.err`
8442$RM conftest*
8443
8444ac_outfile=conftest.$ac_objext
8445echo "$lt_simple_link_test_code" >conftest.$ac_ext
8446eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8447_lt_linker_boilerplate=`cat conftest.err`
8448$RM -r conftest*
8449
8450
8451if test -n "$compiler"; then
8452
8453lt_prog_compiler_no_builtin_flag=
8454
8455if test "$GCC" = yes; then
8456  case $cc_basename in
8457  nvcc*)
8458    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8459  *)
8460    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8461  esac
8462
8463  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8464$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8465if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8466  $as_echo_n "(cached) " >&6
8467else
8468  lt_cv_prog_compiler_rtti_exceptions=no
8469   ac_outfile=conftest.$ac_objext
8470   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8471   lt_compiler_flag="-fno-rtti -fno-exceptions"
8472   # Insert the option either (1) after the last *FLAGS variable, or
8473   # (2) before a word containing "conftest.", or (3) at the end.
8474   # Note that $ac_compile itself does not contain backslashes and begins
8475   # with a dollar sign (not a hyphen), so the echo should work correctly.
8476   # The option is referenced via a variable to avoid confusing sed.
8477   lt_compile=`echo "$ac_compile" | $SED \
8478   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8479   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8480   -e 's:$: $lt_compiler_flag:'`
8481   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8482   (eval "$lt_compile" 2>conftest.err)
8483   ac_status=$?
8484   cat conftest.err >&5
8485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486   if (exit $ac_status) && test -s "$ac_outfile"; then
8487     # The compiler can only warn and ignore the option if not recognized
8488     # So say no if there are warnings other than the usual output.
8489     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8490     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8491     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8492       lt_cv_prog_compiler_rtti_exceptions=yes
8493     fi
8494   fi
8495   $RM conftest*
8496
8497fi
8498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8499$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8500
8501if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8502    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8503else
8504    :
8505fi
8506
8507fi
8508
8509
8510
8511
8512
8513
8514  lt_prog_compiler_wl=
8515lt_prog_compiler_pic=
8516lt_prog_compiler_static=
8517
8518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8519$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8520
8521  if test "$GCC" = yes; then
8522    lt_prog_compiler_wl='-Wl,'
8523    lt_prog_compiler_static='-static'
8524
8525    case $host_os in
8526      aix*)
8527      # All AIX code is PIC.
8528      if test "$host_cpu" = ia64; then
8529	# AIX 5 now supports IA64 processor
8530	lt_prog_compiler_static='-Bstatic'
8531      fi
8532      ;;
8533
8534    amigaos*)
8535      case $host_cpu in
8536      powerpc)
8537            # see comment about AmigaOS4 .so support
8538            lt_prog_compiler_pic='-fPIC'
8539        ;;
8540      m68k)
8541            # FIXME: we need at least 68020 code to build shared libraries, but
8542            # adding the `-m68020' flag to GCC prevents building anything better,
8543            # like `-m68040'.
8544            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8545        ;;
8546      esac
8547      ;;
8548
8549    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8550      # PIC is the default for these OSes.
8551      ;;
8552
8553    mingw* | cygwin* | pw32* | os2* | cegcc*)
8554      # This hack is so that the source file can tell whether it is being
8555      # built for inclusion in a dll (and should export symbols for example).
8556      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8557      # (--disable-auto-import) libraries
8558      lt_prog_compiler_pic='-DDLL_EXPORT'
8559      ;;
8560
8561    darwin* | rhapsody*)
8562      # PIC is the default on this platform
8563      # Common symbols not allowed in MH_DYLIB files
8564      lt_prog_compiler_pic='-fno-common'
8565      ;;
8566
8567    haiku*)
8568      # PIC is the default for Haiku.
8569      # The "-static" flag exists, but is broken.
8570      lt_prog_compiler_static=
8571      ;;
8572
8573    hpux*)
8574      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8575      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8576      # sets the default TLS model and affects inlining.
8577      case $host_cpu in
8578      hppa*64*)
8579	# +Z the default
8580	;;
8581      *)
8582	lt_prog_compiler_pic='-fPIC'
8583	;;
8584      esac
8585      ;;
8586
8587    interix[3-9]*)
8588      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8589      # Instead, we relocate shared libraries at runtime.
8590      ;;
8591
8592    msdosdjgpp*)
8593      # Just because we use GCC doesn't mean we suddenly get shared libraries
8594      # on systems that don't support them.
8595      lt_prog_compiler_can_build_shared=no
8596      enable_shared=no
8597      ;;
8598
8599    *nto* | *qnx*)
8600      # QNX uses GNU C++, but need to define -shared option too, otherwise
8601      # it will coredump.
8602      lt_prog_compiler_pic='-fPIC -shared'
8603      ;;
8604
8605    sysv4*MP*)
8606      if test -d /usr/nec; then
8607	lt_prog_compiler_pic=-Kconform_pic
8608      fi
8609      ;;
8610
8611    *)
8612      lt_prog_compiler_pic='-fPIC'
8613      ;;
8614    esac
8615
8616    case $cc_basename in
8617    nvcc*) # Cuda Compiler Driver 2.2
8618      lt_prog_compiler_wl='-Xlinker '
8619      lt_prog_compiler_pic='-Xcompiler -fPIC'
8620      ;;
8621    esac
8622  else
8623    # PORTME Check for flag to pass linker flags through the system compiler.
8624    case $host_os in
8625    aix*)
8626      lt_prog_compiler_wl='-Wl,'
8627      if test "$host_cpu" = ia64; then
8628	# AIX 5 now supports IA64 processor
8629	lt_prog_compiler_static='-Bstatic'
8630      else
8631	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8632      fi
8633      ;;
8634
8635    mingw* | cygwin* | pw32* | os2* | cegcc*)
8636      # This hack is so that the source file can tell whether it is being
8637      # built for inclusion in a dll (and should export symbols for example).
8638      lt_prog_compiler_pic='-DDLL_EXPORT'
8639      ;;
8640
8641    hpux9* | hpux10* | hpux11*)
8642      lt_prog_compiler_wl='-Wl,'
8643      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8644      # not for PA HP-UX.
8645      case $host_cpu in
8646      hppa*64*|ia64*)
8647	# +Z the default
8648	;;
8649      *)
8650	lt_prog_compiler_pic='+Z'
8651	;;
8652      esac
8653      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8654      lt_prog_compiler_static='${wl}-a ${wl}archive'
8655      ;;
8656
8657    irix5* | irix6* | nonstopux*)
8658      lt_prog_compiler_wl='-Wl,'
8659      # PIC (with -KPIC) is the default.
8660      lt_prog_compiler_static='-non_shared'
8661      ;;
8662
8663    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8664      case $cc_basename in
8665      # old Intel for x86_64 which still supported -KPIC.
8666      ecc*)
8667	lt_prog_compiler_wl='-Wl,'
8668	lt_prog_compiler_pic='-KPIC'
8669	lt_prog_compiler_static='-static'
8670        ;;
8671      # icc used to be incompatible with GCC.
8672      # ICC 10 doesn't accept -KPIC any more.
8673      icc* | ifort*)
8674	lt_prog_compiler_wl='-Wl,'
8675	lt_prog_compiler_pic='-fPIC'
8676	lt_prog_compiler_static='-static'
8677        ;;
8678      # Lahey Fortran 8.1.
8679      lf95*)
8680	lt_prog_compiler_wl='-Wl,'
8681	lt_prog_compiler_pic='--shared'
8682	lt_prog_compiler_static='--static'
8683	;;
8684      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8685        # Portland Group compilers (*not* the Pentium gcc compiler,
8686	# which looks to be a dead project)
8687	lt_prog_compiler_wl='-Wl,'
8688	lt_prog_compiler_pic='-fpic'
8689	lt_prog_compiler_static='-Bstatic'
8690        ;;
8691      ccc*)
8692        lt_prog_compiler_wl='-Wl,'
8693        # All Alpha code is PIC.
8694        lt_prog_compiler_static='-non_shared'
8695        ;;
8696      xl* | bgxl* | bgf* | mpixl*)
8697	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8698	lt_prog_compiler_wl='-Wl,'
8699	lt_prog_compiler_pic='-qpic'
8700	lt_prog_compiler_static='-qstaticlink'
8701	;;
8702      *)
8703	case `$CC -V 2>&1 | sed 5q` in
8704	*Sun\ F* | *Sun*Fortran*)
8705	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8706	  lt_prog_compiler_pic='-KPIC'
8707	  lt_prog_compiler_static='-Bstatic'
8708	  lt_prog_compiler_wl=''
8709	  ;;
8710	*Sun\ C*)
8711	  # Sun C 5.9
8712	  lt_prog_compiler_pic='-KPIC'
8713	  lt_prog_compiler_static='-Bstatic'
8714	  lt_prog_compiler_wl='-Wl,'
8715	  ;;
8716	esac
8717	;;
8718      esac
8719      ;;
8720
8721    newsos6)
8722      lt_prog_compiler_pic='-KPIC'
8723      lt_prog_compiler_static='-Bstatic'
8724      ;;
8725
8726    *nto* | *qnx*)
8727      # QNX uses GNU C++, but need to define -shared option too, otherwise
8728      # it will coredump.
8729      lt_prog_compiler_pic='-fPIC -shared'
8730      ;;
8731
8732    osf3* | osf4* | osf5*)
8733      lt_prog_compiler_wl='-Wl,'
8734      # All OSF/1 code is PIC.
8735      lt_prog_compiler_static='-non_shared'
8736      ;;
8737
8738    rdos*)
8739      lt_prog_compiler_static='-non_shared'
8740      ;;
8741
8742    solaris*)
8743      lt_prog_compiler_pic='-KPIC'
8744      lt_prog_compiler_static='-Bstatic'
8745      case $cc_basename in
8746      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8747	lt_prog_compiler_wl='-Qoption ld ';;
8748      *)
8749	lt_prog_compiler_wl='-Wl,';;
8750      esac
8751      ;;
8752
8753    sunos4*)
8754      lt_prog_compiler_wl='-Qoption ld '
8755      lt_prog_compiler_pic='-PIC'
8756      lt_prog_compiler_static='-Bstatic'
8757      ;;
8758
8759    sysv4 | sysv4.2uw2* | sysv4.3*)
8760      lt_prog_compiler_wl='-Wl,'
8761      lt_prog_compiler_pic='-KPIC'
8762      lt_prog_compiler_static='-Bstatic'
8763      ;;
8764
8765    sysv4*MP*)
8766      if test -d /usr/nec ;then
8767	lt_prog_compiler_pic='-Kconform_pic'
8768	lt_prog_compiler_static='-Bstatic'
8769      fi
8770      ;;
8771
8772    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8773      lt_prog_compiler_wl='-Wl,'
8774      lt_prog_compiler_pic='-KPIC'
8775      lt_prog_compiler_static='-Bstatic'
8776      ;;
8777
8778    unicos*)
8779      lt_prog_compiler_wl='-Wl,'
8780      lt_prog_compiler_can_build_shared=no
8781      ;;
8782
8783    uts4*)
8784      lt_prog_compiler_pic='-pic'
8785      lt_prog_compiler_static='-Bstatic'
8786      ;;
8787
8788    *)
8789      lt_prog_compiler_can_build_shared=no
8790      ;;
8791    esac
8792  fi
8793
8794case $host_os in
8795  # For platforms which do not support PIC, -DPIC is meaningless:
8796  *djgpp*)
8797    lt_prog_compiler_pic=
8798    ;;
8799  *)
8800    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8801    ;;
8802esac
8803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8804$as_echo "$lt_prog_compiler_pic" >&6; }
8805
8806
8807
8808
8809
8810
8811#
8812# Check to make sure the PIC flag actually works.
8813#
8814if test -n "$lt_prog_compiler_pic"; then
8815  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8816$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8817if ${lt_cv_prog_compiler_pic_works+:} false; then :
8818  $as_echo_n "(cached) " >&6
8819else
8820  lt_cv_prog_compiler_pic_works=no
8821   ac_outfile=conftest.$ac_objext
8822   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8823   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8824   # Insert the option either (1) after the last *FLAGS variable, or
8825   # (2) before a word containing "conftest.", or (3) at the end.
8826   # Note that $ac_compile itself does not contain backslashes and begins
8827   # with a dollar sign (not a hyphen), so the echo should work correctly.
8828   # The option is referenced via a variable to avoid confusing sed.
8829   lt_compile=`echo "$ac_compile" | $SED \
8830   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8831   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8832   -e 's:$: $lt_compiler_flag:'`
8833   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8834   (eval "$lt_compile" 2>conftest.err)
8835   ac_status=$?
8836   cat conftest.err >&5
8837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838   if (exit $ac_status) && test -s "$ac_outfile"; then
8839     # The compiler can only warn and ignore the option if not recognized
8840     # So say no if there are warnings other than the usual output.
8841     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8842     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8843     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8844       lt_cv_prog_compiler_pic_works=yes
8845     fi
8846   fi
8847   $RM conftest*
8848
8849fi
8850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8851$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8852
8853if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8854    case $lt_prog_compiler_pic in
8855     "" | " "*) ;;
8856     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8857     esac
8858else
8859    lt_prog_compiler_pic=
8860     lt_prog_compiler_can_build_shared=no
8861fi
8862
8863fi
8864
8865
8866
8867
8868
8869
8870#
8871# Check to make sure the static flag actually works.
8872#
8873wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8875$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8876if ${lt_cv_prog_compiler_static_works+:} false; then :
8877  $as_echo_n "(cached) " >&6
8878else
8879  lt_cv_prog_compiler_static_works=no
8880   save_LDFLAGS="$LDFLAGS"
8881   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8882   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8883   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8884     # The linker can only warn and ignore the option if not recognized
8885     # So say no if there are warnings
8886     if test -s conftest.err; then
8887       # Append any errors to the config.log.
8888       cat conftest.err 1>&5
8889       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8890       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8891       if diff conftest.exp conftest.er2 >/dev/null; then
8892         lt_cv_prog_compiler_static_works=yes
8893       fi
8894     else
8895       lt_cv_prog_compiler_static_works=yes
8896     fi
8897   fi
8898   $RM -r conftest*
8899   LDFLAGS="$save_LDFLAGS"
8900
8901fi
8902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8903$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8904
8905if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8906    :
8907else
8908    lt_prog_compiler_static=
8909fi
8910
8911
8912
8913
8914
8915
8916
8917  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8918$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8919if ${lt_cv_prog_compiler_c_o+:} false; then :
8920  $as_echo_n "(cached) " >&6
8921else
8922  lt_cv_prog_compiler_c_o=no
8923   $RM -r conftest 2>/dev/null
8924   mkdir conftest
8925   cd conftest
8926   mkdir out
8927   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8928
8929   lt_compiler_flag="-o out/conftest2.$ac_objext"
8930   # Insert the option either (1) after the last *FLAGS variable, or
8931   # (2) before a word containing "conftest.", or (3) at the end.
8932   # Note that $ac_compile itself does not contain backslashes and begins
8933   # with a dollar sign (not a hyphen), so the echo should work correctly.
8934   lt_compile=`echo "$ac_compile" | $SED \
8935   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8936   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8937   -e 's:$: $lt_compiler_flag:'`
8938   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8939   (eval "$lt_compile" 2>out/conftest.err)
8940   ac_status=$?
8941   cat out/conftest.err >&5
8942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8943   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8944   then
8945     # The compiler can only warn and ignore the option if not recognized
8946     # So say no if there are warnings
8947     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8948     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8949     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8950       lt_cv_prog_compiler_c_o=yes
8951     fi
8952   fi
8953   chmod u+w . 2>&5
8954   $RM conftest*
8955   # SGI C++ compiler will create directory out/ii_files/ for
8956   # template instantiation
8957   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8958   $RM out/* && rmdir out
8959   cd ..
8960   $RM -r conftest
8961   $RM conftest*
8962
8963fi
8964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8965$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8966
8967
8968
8969
8970
8971
8972  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8973$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8974if ${lt_cv_prog_compiler_c_o+:} false; then :
8975  $as_echo_n "(cached) " >&6
8976else
8977  lt_cv_prog_compiler_c_o=no
8978   $RM -r conftest 2>/dev/null
8979   mkdir conftest
8980   cd conftest
8981   mkdir out
8982   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8983
8984   lt_compiler_flag="-o out/conftest2.$ac_objext"
8985   # Insert the option either (1) after the last *FLAGS variable, or
8986   # (2) before a word containing "conftest.", or (3) at the end.
8987   # Note that $ac_compile itself does not contain backslashes and begins
8988   # with a dollar sign (not a hyphen), so the echo should work correctly.
8989   lt_compile=`echo "$ac_compile" | $SED \
8990   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8991   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8992   -e 's:$: $lt_compiler_flag:'`
8993   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8994   (eval "$lt_compile" 2>out/conftest.err)
8995   ac_status=$?
8996   cat out/conftest.err >&5
8997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8998   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8999   then
9000     # The compiler can only warn and ignore the option if not recognized
9001     # So say no if there are warnings
9002     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9003     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9004     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9005       lt_cv_prog_compiler_c_o=yes
9006     fi
9007   fi
9008   chmod u+w . 2>&5
9009   $RM conftest*
9010   # SGI C++ compiler will create directory out/ii_files/ for
9011   # template instantiation
9012   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9013   $RM out/* && rmdir out
9014   cd ..
9015   $RM -r conftest
9016   $RM conftest*
9017
9018fi
9019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9020$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9021
9022
9023
9024
9025hard_links="nottested"
9026if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9027  # do not overwrite the value of need_locks provided by the user
9028  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9029$as_echo_n "checking if we can lock with hard links... " >&6; }
9030  hard_links=yes
9031  $RM conftest*
9032  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9033  touch conftest.a
9034  ln conftest.a conftest.b 2>&5 || hard_links=no
9035  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9037$as_echo "$hard_links" >&6; }
9038  if test "$hard_links" = no; then
9039    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9040$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9041    need_locks=warn
9042  fi
9043else
9044  need_locks=no
9045fi
9046
9047
9048
9049
9050
9051
9052  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9053$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9054
9055  runpath_var=
9056  allow_undefined_flag=
9057  always_export_symbols=no
9058  archive_cmds=
9059  archive_expsym_cmds=
9060  compiler_needs_object=no
9061  enable_shared_with_static_runtimes=no
9062  export_dynamic_flag_spec=
9063  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9064  hardcode_automatic=no
9065  hardcode_direct=no
9066  hardcode_direct_absolute=no
9067  hardcode_libdir_flag_spec=
9068  hardcode_libdir_flag_spec_ld=
9069  hardcode_libdir_separator=
9070  hardcode_minus_L=no
9071  hardcode_shlibpath_var=unsupported
9072  inherit_rpath=no
9073  link_all_deplibs=unknown
9074  module_cmds=
9075  module_expsym_cmds=
9076  old_archive_from_new_cmds=
9077  old_archive_from_expsyms_cmds=
9078  thread_safe_flag_spec=
9079  whole_archive_flag_spec=
9080  # include_expsyms should be a list of space-separated symbols to be *always*
9081  # included in the symbol list
9082  include_expsyms=
9083  # exclude_expsyms can be an extended regexp of symbols to exclude
9084  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9085  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9086  # as well as any symbol that contains `d'.
9087  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9088  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9089  # platforms (ab)use it in PIC code, but their linkers get confused if
9090  # the symbol is explicitly referenced.  Since portable code cannot
9091  # rely on this symbol name, it's probably fine to never include it in
9092  # preloaded symbol tables.
9093  # Exclude shared library initialization/finalization symbols.
9094  extract_expsyms_cmds=
9095
9096  case $host_os in
9097  cygwin* | mingw* | pw32* | cegcc*)
9098    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9099    # When not using gcc, we currently assume that we are using
9100    # Microsoft Visual C++.
9101    if test "$GCC" != yes; then
9102      with_gnu_ld=no
9103    fi
9104    ;;
9105  interix*)
9106    # we just hope/assume this is gcc and not c89 (= MSVC++)
9107    with_gnu_ld=yes
9108    ;;
9109  openbsd*)
9110    with_gnu_ld=no
9111    ;;
9112  esac
9113
9114  ld_shlibs=yes
9115
9116  # On some targets, GNU ld is compatible enough with the native linker
9117  # that we're better off using the native interface for both.
9118  lt_use_gnu_ld_interface=no
9119  if test "$with_gnu_ld" = yes; then
9120    case $host_os in
9121      aix*)
9122	# The AIX port of GNU ld has always aspired to compatibility
9123	# with the native linker.  However, as the warning in the GNU ld
9124	# block says, versions before 2.19.5* couldn't really create working
9125	# shared libraries, regardless of the interface used.
9126	case `$LD -v 2>&1` in
9127	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9128	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9129	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9130	  *)
9131	    lt_use_gnu_ld_interface=yes
9132	    ;;
9133	esac
9134	;;
9135      *)
9136	lt_use_gnu_ld_interface=yes
9137	;;
9138    esac
9139  fi
9140
9141  if test "$lt_use_gnu_ld_interface" = yes; then
9142    # If archive_cmds runs LD, not CC, wlarc should be empty
9143    wlarc='${wl}'
9144
9145    # Set some defaults for GNU ld with shared library support. These
9146    # are reset later if shared libraries are not supported. Putting them
9147    # here allows them to be overridden if necessary.
9148    runpath_var=LD_RUN_PATH
9149    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9150    export_dynamic_flag_spec='${wl}--export-dynamic'
9151    # ancient GNU ld didn't support --whole-archive et. al.
9152    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9153      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9154    else
9155      whole_archive_flag_spec=
9156    fi
9157    supports_anon_versioning=no
9158    case `$LD -v 2>&1` in
9159      *GNU\ gold*) supports_anon_versioning=yes ;;
9160      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9161      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9162      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9163      *\ 2.11.*) ;; # other 2.11 versions
9164      *) supports_anon_versioning=yes ;;
9165    esac
9166
9167    # See if GNU ld supports shared libraries.
9168    case $host_os in
9169    aix[3-9]*)
9170      # On AIX/PPC, the GNU linker is very broken
9171      if test "$host_cpu" != ia64; then
9172	ld_shlibs=no
9173	cat <<_LT_EOF 1>&2
9174
9175*** Warning: the GNU linker, at least up to release 2.19, is reported
9176*** to be unable to reliably create shared libraries on AIX.
9177*** Therefore, libtool is disabling shared libraries support.  If you
9178*** really care for shared libraries, you may want to install binutils
9179*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9180*** You will then need to restart the configuration process.
9181
9182_LT_EOF
9183      fi
9184      ;;
9185
9186    amigaos*)
9187      case $host_cpu in
9188      powerpc)
9189            # see comment about AmigaOS4 .so support
9190            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9191            archive_expsym_cmds=''
9192        ;;
9193      m68k)
9194            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)'
9195            hardcode_libdir_flag_spec='-L$libdir'
9196            hardcode_minus_L=yes
9197        ;;
9198      esac
9199      ;;
9200
9201    beos*)
9202      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9203	allow_undefined_flag=unsupported
9204	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9205	# support --undefined.  This deserves some investigation.  FIXME
9206	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9207      else
9208	ld_shlibs=no
9209      fi
9210      ;;
9211
9212    cygwin* | mingw* | pw32* | cegcc*)
9213      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9214      # as there is no search path for DLLs.
9215      hardcode_libdir_flag_spec='-L$libdir'
9216      export_dynamic_flag_spec='${wl}--export-all-symbols'
9217      allow_undefined_flag=unsupported
9218      always_export_symbols=no
9219      enable_shared_with_static_runtimes=yes
9220      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9221
9222      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9223        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9224	# If the export-symbols file already is a .def file (1st line
9225	# is EXPORTS), use it as is; otherwise, prepend...
9226	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9227	  cp $export_symbols $output_objdir/$soname.def;
9228	else
9229	  echo EXPORTS > $output_objdir/$soname.def;
9230	  cat $export_symbols >> $output_objdir/$soname.def;
9231	fi~
9232	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9233      else
9234	ld_shlibs=no
9235      fi
9236      ;;
9237
9238    haiku*)
9239      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9240      link_all_deplibs=yes
9241      ;;
9242
9243    interix[3-9]*)
9244      hardcode_direct=no
9245      hardcode_shlibpath_var=no
9246      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9247      export_dynamic_flag_spec='${wl}-E'
9248      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9249      # Instead, shared libraries are loaded at an image base (0x10000000 by
9250      # default) and relocated if they conflict, which is a slow very memory
9251      # consuming and fragmenting process.  To avoid this, we pick a random,
9252      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9253      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9254      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9255      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'
9256      ;;
9257
9258    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9259      tmp_diet=no
9260      if test "$host_os" = linux-dietlibc; then
9261	case $cc_basename in
9262	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9263	esac
9264      fi
9265      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9266	 && test "$tmp_diet" = no
9267      then
9268	tmp_addflag=
9269	tmp_sharedflag='-shared'
9270	case $cc_basename,$host_cpu in
9271        pgcc*)				# Portland Group C compiler
9272	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9273	  tmp_addflag=' $pic_flag'
9274	  ;;
9275	pgf77* | pgf90* | pgf95* | pgfortran*)
9276					# Portland Group f77 and f90 compilers
9277	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9278	  tmp_addflag=' $pic_flag -Mnomain' ;;
9279	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9280	  tmp_addflag=' -i_dynamic' ;;
9281	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9282	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9283	ifc* | ifort*)			# Intel Fortran compiler
9284	  tmp_addflag=' -nofor_main' ;;
9285	lf95*)				# Lahey Fortran 8.1
9286	  whole_archive_flag_spec=
9287	  tmp_sharedflag='--shared' ;;
9288	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9289	  tmp_sharedflag='-qmkshrobj'
9290	  tmp_addflag= ;;
9291	nvcc*)	# Cuda Compiler Driver 2.2
9292	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9293	  compiler_needs_object=yes
9294	  ;;
9295	esac
9296	case `$CC -V 2>&1 | sed 5q` in
9297	*Sun\ C*)			# Sun C 5.9
9298	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9299	  compiler_needs_object=yes
9300	  tmp_sharedflag='-G' ;;
9301	*Sun\ F*)			# Sun Fortran 8.3
9302	  tmp_sharedflag='-G' ;;
9303	esac
9304	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9305
9306        if test "x$supports_anon_versioning" = xyes; then
9307          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9308	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9309	    echo "local: *; };" >> $output_objdir/$libname.ver~
9310	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9311        fi
9312
9313	case $cc_basename in
9314	xlf* | bgf* | bgxlf* | mpixlf*)
9315	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9316	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9317	  hardcode_libdir_flag_spec=
9318	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
9319	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9320	  if test "x$supports_anon_versioning" = xyes; then
9321	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9322	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9323	      echo "local: *; };" >> $output_objdir/$libname.ver~
9324	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9325	  fi
9326	  ;;
9327	esac
9328      else
9329        ld_shlibs=no
9330      fi
9331      ;;
9332
9333    netbsd*)
9334      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9335	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9336	wlarc=
9337      else
9338	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9339	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9340      fi
9341      ;;
9342
9343    solaris*)
9344      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9345	ld_shlibs=no
9346	cat <<_LT_EOF 1>&2
9347
9348*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9349*** create shared libraries on Solaris systems.  Therefore, libtool
9350*** is disabling shared libraries support.  We urge you to upgrade GNU
9351*** binutils to release 2.9.1 or newer.  Another option is to modify
9352*** your PATH or compiler configuration so that the native linker is
9353*** used, and then restart.
9354
9355_LT_EOF
9356      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9357	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9358	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9359      else
9360	ld_shlibs=no
9361      fi
9362      ;;
9363
9364    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9365      case `$LD -v 2>&1` in
9366        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9367	ld_shlibs=no
9368	cat <<_LT_EOF 1>&2
9369
9370*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9371*** reliably create shared libraries on SCO systems.  Therefore, libtool
9372*** is disabling shared libraries support.  We urge you to upgrade GNU
9373*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9374*** your PATH or compiler configuration so that the native linker is
9375*** used, and then restart.
9376
9377_LT_EOF
9378	;;
9379	*)
9380	  # For security reasons, it is highly recommended that you always
9381	  # use absolute paths for naming shared libraries, and exclude the
9382	  # DT_RUNPATH tag from executables and libraries.  But doing so
9383	  # requires that you compile everything twice, which is a pain.
9384	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9385	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9386	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9387	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9388	  else
9389	    ld_shlibs=no
9390	  fi
9391	;;
9392      esac
9393      ;;
9394
9395    sunos4*)
9396      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9397      wlarc=
9398      hardcode_direct=yes
9399      hardcode_shlibpath_var=no
9400      ;;
9401
9402    *)
9403      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9404	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9405	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9406      else
9407	ld_shlibs=no
9408      fi
9409      ;;
9410    esac
9411
9412    if test "$ld_shlibs" = no; then
9413      runpath_var=
9414      hardcode_libdir_flag_spec=
9415      export_dynamic_flag_spec=
9416      whole_archive_flag_spec=
9417    fi
9418  else
9419    # PORTME fill in a description of your system's linker (not GNU ld)
9420    case $host_os in
9421    aix3*)
9422      allow_undefined_flag=unsupported
9423      always_export_symbols=yes
9424      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'
9425      # Note: this linker hardcodes the directories in LIBPATH if there
9426      # are no directories specified by -L.
9427      hardcode_minus_L=yes
9428      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9429	# Neither direct hardcoding nor static linking is supported with a
9430	# broken collect2.
9431	hardcode_direct=unsupported
9432      fi
9433      ;;
9434
9435    aix[4-9]*)
9436      if test "$host_cpu" = ia64; then
9437	# On IA64, the linker does run time linking by default, so we don't
9438	# have to do anything special.
9439	aix_use_runtimelinking=no
9440	exp_sym_flag='-Bexport'
9441	no_entry_flag=""
9442      else
9443	# If we're using GNU nm, then we don't want the "-C" option.
9444	# -C means demangle to AIX nm, but means don't demangle with GNU nm
9445	# Also, AIX nm treats weak defined symbols like other global
9446	# defined symbols, whereas GNU nm marks them as "W".
9447	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9448	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9449	else
9450	  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'
9451	fi
9452	aix_use_runtimelinking=no
9453
9454	# Test if we are trying to use run time linking or normal
9455	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9456	# need to do runtime linking.
9457	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9458	  for ld_flag in $LDFLAGS; do
9459	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9460	    aix_use_runtimelinking=yes
9461	    break
9462	  fi
9463	  done
9464	  ;;
9465	esac
9466
9467	exp_sym_flag='-bexport'
9468	no_entry_flag='-bnoentry'
9469      fi
9470
9471      # When large executables or shared objects are built, AIX ld can
9472      # have problems creating the table of contents.  If linking a library
9473      # or program results in "error TOC overflow" add -mminimal-toc to
9474      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9475      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9476
9477      archive_cmds=''
9478      hardcode_direct=yes
9479      hardcode_direct_absolute=yes
9480      hardcode_libdir_separator=':'
9481      link_all_deplibs=yes
9482      file_list_spec='${wl}-f,'
9483
9484      if test "$GCC" = yes; then
9485	case $host_os in aix4.[012]|aix4.[012].*)
9486	# We only want to do this on AIX 4.2 and lower, the check
9487	# below for broken collect2 doesn't work under 4.3+
9488	  collect2name=`${CC} -print-prog-name=collect2`
9489	  if test -f "$collect2name" &&
9490	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9491	  then
9492	  # We have reworked collect2
9493	  :
9494	  else
9495	  # We have old collect2
9496	  hardcode_direct=unsupported
9497	  # It fails to find uninstalled libraries when the uninstalled
9498	  # path is not listed in the libpath.  Setting hardcode_minus_L
9499	  # to unsupported forces relinking
9500	  hardcode_minus_L=yes
9501	  hardcode_libdir_flag_spec='-L$libdir'
9502	  hardcode_libdir_separator=
9503	  fi
9504	  ;;
9505	esac
9506	shared_flag='-shared'
9507	if test "$aix_use_runtimelinking" = yes; then
9508	  shared_flag="$shared_flag "'${wl}-G'
9509	fi
9510      else
9511	# not using gcc
9512	if test "$host_cpu" = ia64; then
9513	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9514	# chokes on -Wl,-G. The following line is correct:
9515	  shared_flag='-G'
9516	else
9517	  if test "$aix_use_runtimelinking" = yes; then
9518	    shared_flag='${wl}-G'
9519	  else
9520	    shared_flag='${wl}-bM:SRE'
9521	  fi
9522	fi
9523      fi
9524
9525      export_dynamic_flag_spec='${wl}-bexpall'
9526      # It seems that -bexpall does not export symbols beginning with
9527      # underscore (_), so it is better to generate a list of symbols to export.
9528      always_export_symbols=yes
9529      if test "$aix_use_runtimelinking" = yes; then
9530	# Warning - without using the other runtime loading flags (-brtl),
9531	# -berok will link without error, but may produce a broken library.
9532	allow_undefined_flag='-berok'
9533        # Determine the default libpath from the value encoded in an
9534        # empty executable.
9535        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9536/* end confdefs.h.  */
9537
9538int
9539main ()
9540{
9541
9542  ;
9543  return 0;
9544}
9545_ACEOF
9546if ac_fn_c_try_link "$LINENO"; then :
9547
9548lt_aix_libpath_sed='
9549    /Import File Strings/,/^$/ {
9550	/^0/ {
9551	    s/^0  *\(.*\)$/\1/
9552	    p
9553	}
9554    }'
9555aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9556# Check for a 64-bit object if we didn't find anything.
9557if test -z "$aix_libpath"; then
9558  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9559fi
9560fi
9561rm -f core conftest.err conftest.$ac_objext \
9562    conftest$ac_exeext conftest.$ac_ext
9563if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9564
9565        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9566        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9567      else
9568	if test "$host_cpu" = ia64; then
9569	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9570	  allow_undefined_flag="-z nodefs"
9571	  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"
9572	else
9573	 # Determine the default libpath from the value encoded in an
9574	 # empty executable.
9575	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9576/* end confdefs.h.  */
9577
9578int
9579main ()
9580{
9581
9582  ;
9583  return 0;
9584}
9585_ACEOF
9586if ac_fn_c_try_link "$LINENO"; then :
9587
9588lt_aix_libpath_sed='
9589    /Import File Strings/,/^$/ {
9590	/^0/ {
9591	    s/^0  *\(.*\)$/\1/
9592	    p
9593	}
9594    }'
9595aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9596# Check for a 64-bit object if we didn't find anything.
9597if test -z "$aix_libpath"; then
9598  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9599fi
9600fi
9601rm -f core conftest.err conftest.$ac_objext \
9602    conftest$ac_exeext conftest.$ac_ext
9603if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9604
9605	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9606	  # Warning - without using the other run time loading flags,
9607	  # -berok will link without error, but may produce a broken library.
9608	  no_undefined_flag=' ${wl}-bernotok'
9609	  allow_undefined_flag=' ${wl}-berok'
9610	  if test "$with_gnu_ld" = yes; then
9611	    # We only use this code for GNU lds that support --whole-archive.
9612	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9613	  else
9614	    # Exported symbols can be pulled into shared objects from archives
9615	    whole_archive_flag_spec='$convenience'
9616	  fi
9617	  archive_cmds_need_lc=yes
9618	  # This is similar to how AIX traditionally builds its shared libraries.
9619	  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'
9620	fi
9621      fi
9622      ;;
9623
9624    amigaos*)
9625      case $host_cpu in
9626      powerpc)
9627            # see comment about AmigaOS4 .so support
9628            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9629            archive_expsym_cmds=''
9630        ;;
9631      m68k)
9632            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)'
9633            hardcode_libdir_flag_spec='-L$libdir'
9634            hardcode_minus_L=yes
9635        ;;
9636      esac
9637      ;;
9638
9639    bsdi[45]*)
9640      export_dynamic_flag_spec=-rdynamic
9641      ;;
9642
9643    cygwin* | mingw* | pw32* | cegcc*)
9644      # When not using gcc, we currently assume that we are using
9645      # Microsoft Visual C++.
9646      # hardcode_libdir_flag_spec is actually meaningless, as there is
9647      # no search path for DLLs.
9648      hardcode_libdir_flag_spec=' '
9649      allow_undefined_flag=unsupported
9650      # Tell ltmain to make .lib files, not .a files.
9651      libext=lib
9652      # Tell ltmain to make .dll files, not .so files.
9653      shrext_cmds=".dll"
9654      # FIXME: Setting linknames here is a bad hack.
9655      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9656      # The linker will automatically build a .lib file if we build a DLL.
9657      old_archive_from_new_cmds='true'
9658      # FIXME: Should let the user specify the lib program.
9659      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9660      fix_srcfile_path='`cygpath -w "$srcfile"`'
9661      enable_shared_with_static_runtimes=yes
9662      ;;
9663
9664    darwin* | rhapsody*)
9665
9666
9667  archive_cmds_need_lc=no
9668  hardcode_direct=no
9669  hardcode_automatic=yes
9670  hardcode_shlibpath_var=unsupported
9671  if test "$lt_cv_ld_force_load" = "yes"; then
9672    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9673  else
9674    whole_archive_flag_spec=''
9675  fi
9676  link_all_deplibs=yes
9677  allow_undefined_flag="$_lt_dar_allow_undefined"
9678  case $cc_basename in
9679     ifort*) _lt_dar_can_shared=yes ;;
9680     *) _lt_dar_can_shared=$GCC ;;
9681  esac
9682  if test "$_lt_dar_can_shared" = "yes"; then
9683    output_verbose_link_cmd=func_echo_all
9684    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9685    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9686    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}"
9687    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}"
9688
9689  else
9690  ld_shlibs=no
9691  fi
9692
9693      ;;
9694
9695    dgux*)
9696      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9697      hardcode_libdir_flag_spec='-L$libdir'
9698      hardcode_shlibpath_var=no
9699      ;;
9700
9701    freebsd1*)
9702      ld_shlibs=no
9703      ;;
9704
9705    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9706    # support.  Future versions do this automatically, but an explicit c++rt0.o
9707    # does not break anything, and helps significantly (at the cost of a little
9708    # extra space).
9709    freebsd2.2*)
9710      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9711      hardcode_libdir_flag_spec='-R$libdir'
9712      hardcode_direct=yes
9713      hardcode_shlibpath_var=no
9714      ;;
9715
9716    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9717    freebsd2*)
9718      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9719      hardcode_direct=yes
9720      hardcode_minus_L=yes
9721      hardcode_shlibpath_var=no
9722      ;;
9723
9724    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9725    freebsd* | dragonfly*)
9726      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9727      hardcode_libdir_flag_spec='-R$libdir'
9728      hardcode_direct=yes
9729      hardcode_shlibpath_var=no
9730      ;;
9731
9732    hpux9*)
9733      if test "$GCC" = yes; then
9734	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'
9735      else
9736	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'
9737      fi
9738      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9739      hardcode_libdir_separator=:
9740      hardcode_direct=yes
9741
9742      # hardcode_minus_L: Not really in the search PATH,
9743      # but as the default location of the library.
9744      hardcode_minus_L=yes
9745      export_dynamic_flag_spec='${wl}-E'
9746      ;;
9747
9748    hpux10*)
9749      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9750	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9751      else
9752	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9753      fi
9754      if test "$with_gnu_ld" = no; then
9755	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9756	hardcode_libdir_flag_spec_ld='+b $libdir'
9757	hardcode_libdir_separator=:
9758	hardcode_direct=yes
9759	hardcode_direct_absolute=yes
9760	export_dynamic_flag_spec='${wl}-E'
9761	# hardcode_minus_L: Not really in the search PATH,
9762	# but as the default location of the library.
9763	hardcode_minus_L=yes
9764      fi
9765      ;;
9766
9767    hpux11*)
9768      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9769	case $host_cpu in
9770	hppa*64*)
9771	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9772	  ;;
9773	ia64*)
9774	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9775	  ;;
9776	*)
9777	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9778	  ;;
9779	esac
9780      else
9781	case $host_cpu in
9782	hppa*64*)
9783	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9784	  ;;
9785	ia64*)
9786	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9787	  ;;
9788	*)
9789
9790	  # Older versions of the 11.00 compiler do not understand -b yet
9791	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9792	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9793$as_echo_n "checking if $CC understands -b... " >&6; }
9794if ${lt_cv_prog_compiler__b+:} false; then :
9795  $as_echo_n "(cached) " >&6
9796else
9797  lt_cv_prog_compiler__b=no
9798   save_LDFLAGS="$LDFLAGS"
9799   LDFLAGS="$LDFLAGS -b"
9800   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9801   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9802     # The linker can only warn and ignore the option if not recognized
9803     # So say no if there are warnings
9804     if test -s conftest.err; then
9805       # Append any errors to the config.log.
9806       cat conftest.err 1>&5
9807       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9808       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9809       if diff conftest.exp conftest.er2 >/dev/null; then
9810         lt_cv_prog_compiler__b=yes
9811       fi
9812     else
9813       lt_cv_prog_compiler__b=yes
9814     fi
9815   fi
9816   $RM -r conftest*
9817   LDFLAGS="$save_LDFLAGS"
9818
9819fi
9820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9821$as_echo "$lt_cv_prog_compiler__b" >&6; }
9822
9823if test x"$lt_cv_prog_compiler__b" = xyes; then
9824    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9825else
9826    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9827fi
9828
9829	  ;;
9830	esac
9831      fi
9832      if test "$with_gnu_ld" = no; then
9833	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9834	hardcode_libdir_separator=:
9835
9836	case $host_cpu in
9837	hppa*64*|ia64*)
9838	  hardcode_direct=no
9839	  hardcode_shlibpath_var=no
9840	  ;;
9841	*)
9842	  hardcode_direct=yes
9843	  hardcode_direct_absolute=yes
9844	  export_dynamic_flag_spec='${wl}-E'
9845
9846	  # hardcode_minus_L: Not really in the search PATH,
9847	  # but as the default location of the library.
9848	  hardcode_minus_L=yes
9849	  ;;
9850	esac
9851      fi
9852      ;;
9853
9854    irix5* | irix6* | nonstopux*)
9855      if test "$GCC" = yes; then
9856	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9857	# Try to use the -exported_symbol ld option, if it does not
9858	# work, assume that -exports_file does not work either and
9859	# implicitly export all symbols.
9860        save_LDFLAGS="$LDFLAGS"
9861        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9862        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9863/* end confdefs.h.  */
9864int foo(void) {}
9865_ACEOF
9866if ac_fn_c_try_link "$LINENO"; then :
9867  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9868
9869fi
9870rm -f core conftest.err conftest.$ac_objext \
9871    conftest$ac_exeext conftest.$ac_ext
9872        LDFLAGS="$save_LDFLAGS"
9873      else
9874	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9875	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9876      fi
9877      archive_cmds_need_lc='no'
9878      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9879      hardcode_libdir_separator=:
9880      inherit_rpath=yes
9881      link_all_deplibs=yes
9882      ;;
9883
9884    netbsd*)
9885      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9886	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9887      else
9888	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9889      fi
9890      hardcode_libdir_flag_spec='-R$libdir'
9891      hardcode_direct=yes
9892      hardcode_shlibpath_var=no
9893      ;;
9894
9895    newsos6)
9896      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9897      hardcode_direct=yes
9898      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9899      hardcode_libdir_separator=:
9900      hardcode_shlibpath_var=no
9901      ;;
9902
9903    *nto* | *qnx*)
9904      ;;
9905
9906    openbsd*)
9907      if test -f /usr/libexec/ld.so; then
9908	hardcode_direct=yes
9909	hardcode_shlibpath_var=no
9910	hardcode_direct_absolute=yes
9911	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9912	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9913	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9914	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9915	  export_dynamic_flag_spec='${wl}-E'
9916	else
9917	  case $host_os in
9918	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9919	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9920	     hardcode_libdir_flag_spec='-R$libdir'
9921	     ;;
9922	   *)
9923	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9924	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9925	     ;;
9926	  esac
9927	fi
9928      else
9929	ld_shlibs=no
9930      fi
9931      ;;
9932
9933    os2*)
9934      hardcode_libdir_flag_spec='-L$libdir'
9935      hardcode_minus_L=yes
9936      allow_undefined_flag=unsupported
9937      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'
9938      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9939      ;;
9940
9941    osf3*)
9942      if test "$GCC" = yes; then
9943	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9944	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9945      else
9946	allow_undefined_flag=' -expect_unresolved \*'
9947	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9948      fi
9949      archive_cmds_need_lc='no'
9950      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9951      hardcode_libdir_separator=:
9952      ;;
9953
9954    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9955      if test "$GCC" = yes; then
9956	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9957	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9958	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9959      else
9960	allow_undefined_flag=' -expect_unresolved \*'
9961	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9962	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~
9963	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9964
9965	# Both c and cxx compiler support -rpath directly
9966	hardcode_libdir_flag_spec='-rpath $libdir'
9967      fi
9968      archive_cmds_need_lc='no'
9969      hardcode_libdir_separator=:
9970      ;;
9971
9972    solaris*)
9973      no_undefined_flag=' -z defs'
9974      if test "$GCC" = yes; then
9975	wlarc='${wl}'
9976	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9977	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9978	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9979      else
9980	case `$CC -V 2>&1` in
9981	*"Compilers 5.0"*)
9982	  wlarc=''
9983	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9984	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9985	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9986	  ;;
9987	*)
9988	  wlarc='${wl}'
9989	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9990	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9991	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9992	  ;;
9993	esac
9994      fi
9995      hardcode_libdir_flag_spec='-R$libdir'
9996      hardcode_shlibpath_var=no
9997      case $host_os in
9998      solaris2.[0-5] | solaris2.[0-5].*) ;;
9999      *)
10000	# The compiler driver will combine and reorder linker options,
10001	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10002	# but is careful enough not to reorder.
10003	# Supported since Solaris 2.6 (maybe 2.5.1?)
10004	if test "$GCC" = yes; then
10005	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10006	else
10007	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10008	fi
10009	;;
10010      esac
10011      link_all_deplibs=yes
10012      ;;
10013
10014    sunos4*)
10015      if test "x$host_vendor" = xsequent; then
10016	# Use $CC to link under sequent, because it throws in some extra .o
10017	# files that make .init and .fini sections work.
10018	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10019      else
10020	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10021      fi
10022      hardcode_libdir_flag_spec='-L$libdir'
10023      hardcode_direct=yes
10024      hardcode_minus_L=yes
10025      hardcode_shlibpath_var=no
10026      ;;
10027
10028    sysv4)
10029      case $host_vendor in
10030	sni)
10031	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10032	  hardcode_direct=yes # is this really true???
10033	;;
10034	siemens)
10035	  ## LD is ld it makes a PLAMLIB
10036	  ## CC just makes a GrossModule.
10037	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10038	  reload_cmds='$CC -r -o $output$reload_objs'
10039	  hardcode_direct=no
10040        ;;
10041	motorola)
10042	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10043	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10044	;;
10045      esac
10046      runpath_var='LD_RUN_PATH'
10047      hardcode_shlibpath_var=no
10048      ;;
10049
10050    sysv4.3*)
10051      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10052      hardcode_shlibpath_var=no
10053      export_dynamic_flag_spec='-Bexport'
10054      ;;
10055
10056    sysv4*MP*)
10057      if test -d /usr/nec; then
10058	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059	hardcode_shlibpath_var=no
10060	runpath_var=LD_RUN_PATH
10061	hardcode_runpath_var=yes
10062	ld_shlibs=yes
10063      fi
10064      ;;
10065
10066    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10067      no_undefined_flag='${wl}-z,text'
10068      archive_cmds_need_lc=no
10069      hardcode_shlibpath_var=no
10070      runpath_var='LD_RUN_PATH'
10071
10072      if test "$GCC" = yes; then
10073	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10074	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10075      else
10076	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10077	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10078      fi
10079      ;;
10080
10081    sysv5* | sco3.2v5* | sco5v6*)
10082      # Note: We can NOT use -z defs as we might desire, because we do not
10083      # link with -lc, and that would cause any symbols used from libc to
10084      # always be unresolved, which means just about no library would
10085      # ever link correctly.  If we're not using GNU ld we use -z text
10086      # though, which does catch some bad symbols but isn't as heavy-handed
10087      # as -z defs.
10088      no_undefined_flag='${wl}-z,text'
10089      allow_undefined_flag='${wl}-z,nodefs'
10090      archive_cmds_need_lc=no
10091      hardcode_shlibpath_var=no
10092      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10093      hardcode_libdir_separator=':'
10094      link_all_deplibs=yes
10095      export_dynamic_flag_spec='${wl}-Bexport'
10096      runpath_var='LD_RUN_PATH'
10097
10098      if test "$GCC" = yes; then
10099	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10100	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10101      else
10102	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104      fi
10105      ;;
10106
10107    uts4*)
10108      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10109      hardcode_libdir_flag_spec='-L$libdir'
10110      hardcode_shlibpath_var=no
10111      ;;
10112
10113    *)
10114      ld_shlibs=no
10115      ;;
10116    esac
10117
10118    if test x$host_vendor = xsni; then
10119      case $host in
10120      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10121	export_dynamic_flag_spec='${wl}-Blargedynsym'
10122	;;
10123      esac
10124    fi
10125  fi
10126
10127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10128$as_echo "$ld_shlibs" >&6; }
10129test "$ld_shlibs" = no && can_build_shared=no
10130
10131with_gnu_ld=$with_gnu_ld
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147#
10148# Do we need to explicitly link libc?
10149#
10150case "x$archive_cmds_need_lc" in
10151x|xyes)
10152  # Assume -lc should be added
10153  archive_cmds_need_lc=yes
10154
10155  if test "$enable_shared" = yes && test "$GCC" = yes; then
10156    case $archive_cmds in
10157    *'~'*)
10158      # FIXME: we may have to deal with multi-command sequences.
10159      ;;
10160    '$CC '*)
10161      # Test whether the compiler implicitly links with -lc since on some
10162      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10163      # to ld, don't add -lc before -lgcc.
10164      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10165$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10166if ${lt_cv_archive_cmds_need_lc+:} false; then :
10167  $as_echo_n "(cached) " >&6
10168else
10169  $RM conftest*
10170	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10171
10172	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10173  (eval $ac_compile) 2>&5
10174  ac_status=$?
10175  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10176  test $ac_status = 0; } 2>conftest.err; then
10177	  soname=conftest
10178	  lib=conftest
10179	  libobjs=conftest.$ac_objext
10180	  deplibs=
10181	  wl=$lt_prog_compiler_wl
10182	  pic_flag=$lt_prog_compiler_pic
10183	  compiler_flags=-v
10184	  linker_flags=-v
10185	  verstring=
10186	  output_objdir=.
10187	  libname=conftest
10188	  lt_save_allow_undefined_flag=$allow_undefined_flag
10189	  allow_undefined_flag=
10190	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10191  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10192  ac_status=$?
10193  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10194  test $ac_status = 0; }
10195	  then
10196	    lt_cv_archive_cmds_need_lc=no
10197	  else
10198	    lt_cv_archive_cmds_need_lc=yes
10199	  fi
10200	  allow_undefined_flag=$lt_save_allow_undefined_flag
10201	else
10202	  cat conftest.err 1>&5
10203	fi
10204	$RM conftest*
10205
10206fi
10207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10208$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10209      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10210      ;;
10211    esac
10212  fi
10213  ;;
10214esac
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10373$as_echo_n "checking dynamic linker characteristics... " >&6; }
10374
10375if test "$GCC" = yes; then
10376  case $host_os in
10377    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10378    *) lt_awk_arg="/^libraries:/" ;;
10379  esac
10380  case $host_os in
10381    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10382    *) lt_sed_strip_eq="s,=/,/,g" ;;
10383  esac
10384  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10385  case $lt_search_path_spec in
10386  *\;*)
10387    # if the path contains ";" then we assume it to be the separator
10388    # otherwise default to the standard path separator (i.e. ":") - it is
10389    # assumed that no part of a normal pathname contains ";" but that should
10390    # okay in the real world where ";" in dirpaths is itself problematic.
10391    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10392    ;;
10393  *)
10394    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10395    ;;
10396  esac
10397  # Ok, now we have the path, separated by spaces, we can step through it
10398  # and add multilib dir if necessary.
10399  lt_tmp_lt_search_path_spec=
10400  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10401  for lt_sys_path in $lt_search_path_spec; do
10402    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10403      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10404    else
10405      test -d "$lt_sys_path" && \
10406	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10407    fi
10408  done
10409  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10410BEGIN {RS=" "; FS="/|\n";} {
10411  lt_foo="";
10412  lt_count=0;
10413  for (lt_i = NF; lt_i > 0; lt_i--) {
10414    if ($lt_i != "" && $lt_i != ".") {
10415      if ($lt_i == "..") {
10416        lt_count++;
10417      } else {
10418        if (lt_count == 0) {
10419          lt_foo="/" $lt_i lt_foo;
10420        } else {
10421          lt_count--;
10422        }
10423      }
10424    }
10425  }
10426  if (lt_foo != "") { lt_freq[lt_foo]++; }
10427  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10428}'`
10429  # AWK program above erroneously prepends '/' to C:/dos/paths
10430  # for these hosts.
10431  case $host_os in
10432    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10433      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10434  esac
10435  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10436else
10437  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10438fi
10439library_names_spec=
10440libname_spec='lib$name'
10441soname_spec=
10442shrext_cmds=".so"
10443postinstall_cmds=
10444postuninstall_cmds=
10445finish_cmds=
10446finish_eval=
10447shlibpath_var=
10448shlibpath_overrides_runpath=unknown
10449version_type=none
10450dynamic_linker="$host_os ld.so"
10451sys_lib_dlsearch_path_spec="/lib /usr/lib"
10452need_lib_prefix=unknown
10453hardcode_into_libs=no
10454
10455# when you set need_version to no, make sure it does not cause -set_version
10456# flags to be left without arguments
10457need_version=unknown
10458
10459case $host_os in
10460aix3*)
10461  version_type=linux
10462  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10463  shlibpath_var=LIBPATH
10464
10465  # AIX 3 has no versioning support, so we append a major version to the name.
10466  soname_spec='${libname}${release}${shared_ext}$major'
10467  ;;
10468
10469aix[4-9]*)
10470  version_type=linux
10471  need_lib_prefix=no
10472  need_version=no
10473  hardcode_into_libs=yes
10474  if test "$host_cpu" = ia64; then
10475    # AIX 5 supports IA64
10476    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10477    shlibpath_var=LD_LIBRARY_PATH
10478  else
10479    # With GCC up to 2.95.x, collect2 would create an import file
10480    # for dependence libraries.  The import file would start with
10481    # the line `#! .'.  This would cause the generated library to
10482    # depend on `.', always an invalid library.  This was fixed in
10483    # development snapshots of GCC prior to 3.0.
10484    case $host_os in
10485      aix4 | aix4.[01] | aix4.[01].*)
10486      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10487	   echo ' yes '
10488	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10489	:
10490      else
10491	can_build_shared=no
10492      fi
10493      ;;
10494    esac
10495    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10496    # soname into executable. Probably we can add versioning support to
10497    # collect2, so additional links can be useful in future.
10498    if test "$aix_use_runtimelinking" = yes; then
10499      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10500      # instead of lib<name>.a to let people know that these are not
10501      # typical AIX shared libraries.
10502      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10503    else
10504      # We preserve .a as extension for shared libraries through AIX4.2
10505      # and later when we are not doing run time linking.
10506      library_names_spec='${libname}${release}.a $libname.a'
10507      soname_spec='${libname}${release}${shared_ext}$major'
10508    fi
10509    shlibpath_var=LIBPATH
10510  fi
10511  ;;
10512
10513amigaos*)
10514  case $host_cpu in
10515  powerpc)
10516    # Since July 2007 AmigaOS4 officially supports .so libraries.
10517    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10518    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519    ;;
10520  m68k)
10521    library_names_spec='$libname.ixlibrary $libname.a'
10522    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10523    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10524    ;;
10525  esac
10526  ;;
10527
10528beos*)
10529  library_names_spec='${libname}${shared_ext}'
10530  dynamic_linker="$host_os ld.so"
10531  shlibpath_var=LIBRARY_PATH
10532  ;;
10533
10534bsdi[45]*)
10535  version_type=linux
10536  need_version=no
10537  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10538  soname_spec='${libname}${release}${shared_ext}$major'
10539  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10540  shlibpath_var=LD_LIBRARY_PATH
10541  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10542  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10543  # the default ld.so.conf also contains /usr/contrib/lib and
10544  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10545  # libtool to hard-code these into programs
10546  ;;
10547
10548cygwin* | mingw* | pw32* | cegcc*)
10549  version_type=windows
10550  shrext_cmds=".dll"
10551  need_version=no
10552  need_lib_prefix=no
10553
10554  case $GCC,$host_os in
10555  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10556    library_names_spec='$libname.dll.a'
10557    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10558    postinstall_cmds='base_file=`basename \${file}`~
10559      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10560      dldir=$destdir/`dirname \$dlpath`~
10561      test -d \$dldir || mkdir -p \$dldir~
10562      $install_prog $dir/$dlname \$dldir/$dlname~
10563      chmod a+x \$dldir/$dlname~
10564      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10565        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10566      fi'
10567    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10568      dlpath=$dir/\$dldll~
10569       $RM \$dlpath'
10570    shlibpath_overrides_runpath=yes
10571
10572    case $host_os in
10573    cygwin*)
10574      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10575      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10576
10577      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10578      ;;
10579    mingw* | cegcc*)
10580      # MinGW DLLs use traditional 'lib' prefix
10581      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10582      ;;
10583    pw32*)
10584      # pw32 DLLs use 'pw' prefix rather than 'lib'
10585      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10586      ;;
10587    esac
10588    ;;
10589
10590  *)
10591    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10592    ;;
10593  esac
10594  dynamic_linker='Win32 ld.exe'
10595  # FIXME: first we should search . and the directory the executable is in
10596  shlibpath_var=PATH
10597  ;;
10598
10599darwin* | rhapsody*)
10600  dynamic_linker="$host_os dyld"
10601  version_type=darwin
10602  need_lib_prefix=no
10603  need_version=no
10604  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10605  soname_spec='${libname}${release}${major}$shared_ext'
10606  shlibpath_overrides_runpath=yes
10607  shlibpath_var=DYLD_LIBRARY_PATH
10608  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10609
10610  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10611  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10612  ;;
10613
10614dgux*)
10615  version_type=linux
10616  need_lib_prefix=no
10617  need_version=no
10618  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10619  soname_spec='${libname}${release}${shared_ext}$major'
10620  shlibpath_var=LD_LIBRARY_PATH
10621  ;;
10622
10623freebsd1*)
10624  dynamic_linker=no
10625  ;;
10626
10627freebsd* | dragonfly*)
10628  # DragonFly does not have aout.  When/if they implement a new
10629  # versioning mechanism, adjust this.
10630  if test -x /usr/bin/objformat; then
10631    objformat=`/usr/bin/objformat`
10632  else
10633    case $host_os in
10634    freebsd[123]*) objformat=aout ;;
10635    *) objformat=elf ;;
10636    esac
10637  fi
10638  version_type=freebsd-$objformat
10639  case $version_type in
10640    freebsd-elf*)
10641      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10642      need_version=no
10643      need_lib_prefix=no
10644      ;;
10645    freebsd-*)
10646      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10647      need_version=yes
10648      ;;
10649  esac
10650  shlibpath_var=LD_LIBRARY_PATH
10651  case $host_os in
10652  freebsd2*)
10653    shlibpath_overrides_runpath=yes
10654    ;;
10655  freebsd3.[01]* | freebsdelf3.[01]*)
10656    shlibpath_overrides_runpath=yes
10657    hardcode_into_libs=yes
10658    ;;
10659  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10660  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10661    shlibpath_overrides_runpath=no
10662    hardcode_into_libs=yes
10663    ;;
10664  *) # from 4.6 on, and DragonFly
10665    shlibpath_overrides_runpath=yes
10666    hardcode_into_libs=yes
10667    ;;
10668  esac
10669  ;;
10670
10671gnu*)
10672  version_type=linux
10673  need_lib_prefix=no
10674  need_version=no
10675  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10676  soname_spec='${libname}${release}${shared_ext}$major'
10677  shlibpath_var=LD_LIBRARY_PATH
10678  hardcode_into_libs=yes
10679  ;;
10680
10681haiku*)
10682  version_type=linux
10683  need_lib_prefix=no
10684  need_version=no
10685  dynamic_linker="$host_os runtime_loader"
10686  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10687  soname_spec='${libname}${release}${shared_ext}$major'
10688  shlibpath_var=LIBRARY_PATH
10689  shlibpath_overrides_runpath=yes
10690  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10691  hardcode_into_libs=yes
10692  ;;
10693
10694hpux9* | hpux10* | hpux11*)
10695  # Give a soname corresponding to the major version so that dld.sl refuses to
10696  # link against other versions.
10697  version_type=sunos
10698  need_lib_prefix=no
10699  need_version=no
10700  case $host_cpu in
10701  ia64*)
10702    shrext_cmds='.so'
10703    hardcode_into_libs=yes
10704    dynamic_linker="$host_os dld.so"
10705    shlibpath_var=LD_LIBRARY_PATH
10706    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10707    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10708    soname_spec='${libname}${release}${shared_ext}$major'
10709    if test "X$HPUX_IA64_MODE" = X32; then
10710      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10711    else
10712      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10713    fi
10714    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10715    ;;
10716  hppa*64*)
10717    shrext_cmds='.sl'
10718    hardcode_into_libs=yes
10719    dynamic_linker="$host_os dld.sl"
10720    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10721    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10722    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10723    soname_spec='${libname}${release}${shared_ext}$major'
10724    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10725    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10726    ;;
10727  *)
10728    shrext_cmds='.sl'
10729    dynamic_linker="$host_os dld.sl"
10730    shlibpath_var=SHLIB_PATH
10731    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10732    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10733    soname_spec='${libname}${release}${shared_ext}$major'
10734    ;;
10735  esac
10736  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10737  postinstall_cmds='chmod 555 $lib'
10738  # or fails outright, so override atomically:
10739  install_override_mode=555
10740  ;;
10741
10742interix[3-9]*)
10743  version_type=linux
10744  need_lib_prefix=no
10745  need_version=no
10746  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10747  soname_spec='${libname}${release}${shared_ext}$major'
10748  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10749  shlibpath_var=LD_LIBRARY_PATH
10750  shlibpath_overrides_runpath=no
10751  hardcode_into_libs=yes
10752  ;;
10753
10754irix5* | irix6* | nonstopux*)
10755  case $host_os in
10756    nonstopux*) version_type=nonstopux ;;
10757    *)
10758	if test "$lt_cv_prog_gnu_ld" = yes; then
10759		version_type=linux
10760	else
10761		version_type=irix
10762	fi ;;
10763  esac
10764  need_lib_prefix=no
10765  need_version=no
10766  soname_spec='${libname}${release}${shared_ext}$major'
10767  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10768  case $host_os in
10769  irix5* | nonstopux*)
10770    libsuff= shlibsuff=
10771    ;;
10772  *)
10773    case $LD in # libtool.m4 will add one of these switches to LD
10774    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10775      libsuff= shlibsuff= libmagic=32-bit;;
10776    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10777      libsuff=32 shlibsuff=N32 libmagic=N32;;
10778    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10779      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10780    *) libsuff= shlibsuff= libmagic=never-match;;
10781    esac
10782    ;;
10783  esac
10784  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10785  shlibpath_overrides_runpath=no
10786  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10787  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10788  hardcode_into_libs=yes
10789  ;;
10790
10791# No shared lib support for Linux oldld, aout, or coff.
10792linux*oldld* | linux*aout* | linux*coff*)
10793  dynamic_linker=no
10794  ;;
10795
10796# This must be Linux ELF.
10797linux* | k*bsd*-gnu | kopensolaris*-gnu)
10798  version_type=linux
10799  need_lib_prefix=no
10800  need_version=no
10801  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10802  soname_spec='${libname}${release}${shared_ext}$major'
10803  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10804  shlibpath_var=LD_LIBRARY_PATH
10805  shlibpath_overrides_runpath=no
10806
10807  # Some binutils ld are patched to set DT_RUNPATH
10808  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10809  $as_echo_n "(cached) " >&6
10810else
10811  lt_cv_shlibpath_overrides_runpath=no
10812    save_LDFLAGS=$LDFLAGS
10813    save_libdir=$libdir
10814    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10815	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10816    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10817/* end confdefs.h.  */
10818
10819int
10820main ()
10821{
10822
10823  ;
10824  return 0;
10825}
10826_ACEOF
10827if ac_fn_c_try_link "$LINENO"; then :
10828  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10829  lt_cv_shlibpath_overrides_runpath=yes
10830fi
10831fi
10832rm -f core conftest.err conftest.$ac_objext \
10833    conftest$ac_exeext conftest.$ac_ext
10834    LDFLAGS=$save_LDFLAGS
10835    libdir=$save_libdir
10836
10837fi
10838
10839  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10840
10841  # This implies no fast_install, which is unacceptable.
10842  # Some rework will be needed to allow for fast_install
10843  # before this can be enabled.
10844  hardcode_into_libs=yes
10845
10846  # Append ld.so.conf contents to the search path
10847  if test -f /etc/ld.so.conf; then
10848    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10849    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10850  fi
10851
10852  # We used to test for /lib/ld.so.1 and disable shared libraries on
10853  # powerpc, because MkLinux only supported shared libraries with the
10854  # GNU dynamic linker.  Since this was broken with cross compilers,
10855  # most powerpc-linux boxes support dynamic linking these days and
10856  # people can always --disable-shared, the test was removed, and we
10857  # assume the GNU/Linux dynamic linker is in use.
10858  dynamic_linker='GNU/Linux ld.so'
10859  ;;
10860
10861netbsd*)
10862  version_type=sunos
10863  need_lib_prefix=no
10864  need_version=no
10865  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10866    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10867    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10868    dynamic_linker='NetBSD (a.out) ld.so'
10869  else
10870    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10871    soname_spec='${libname}${release}${shared_ext}$major'
10872    dynamic_linker='NetBSD ld.elf_so'
10873  fi
10874  shlibpath_var=LD_LIBRARY_PATH
10875  shlibpath_overrides_runpath=yes
10876  hardcode_into_libs=yes
10877  ;;
10878
10879newsos6)
10880  version_type=linux
10881  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10882  shlibpath_var=LD_LIBRARY_PATH
10883  shlibpath_overrides_runpath=yes
10884  ;;
10885
10886*nto* | *qnx*)
10887  version_type=qnx
10888  need_lib_prefix=no
10889  need_version=no
10890  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10891  soname_spec='${libname}${release}${shared_ext}$major'
10892  shlibpath_var=LD_LIBRARY_PATH
10893  shlibpath_overrides_runpath=no
10894  hardcode_into_libs=yes
10895  dynamic_linker='ldqnx.so'
10896  ;;
10897
10898openbsd*)
10899  version_type=sunos
10900  sys_lib_dlsearch_path_spec="/usr/lib"
10901  need_lib_prefix=no
10902  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10903  case $host_os in
10904    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
10905    *)				need_version=no  ;;
10906  esac
10907  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10908  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10909  shlibpath_var=LD_LIBRARY_PATH
10910  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10911    case $host_os in
10912      openbsd2.[89] | openbsd2.[89].*)
10913	shlibpath_overrides_runpath=no
10914	;;
10915      *)
10916	shlibpath_overrides_runpath=yes
10917	;;
10918      esac
10919  else
10920    shlibpath_overrides_runpath=yes
10921  fi
10922  ;;
10923
10924os2*)
10925  libname_spec='$name'
10926  shrext_cmds=".dll"
10927  need_lib_prefix=no
10928  library_names_spec='$libname${shared_ext} $libname.a'
10929  dynamic_linker='OS/2 ld.exe'
10930  shlibpath_var=LIBPATH
10931  ;;
10932
10933osf3* | osf4* | osf5*)
10934  version_type=osf
10935  need_lib_prefix=no
10936  need_version=no
10937  soname_spec='${libname}${release}${shared_ext}$major'
10938  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10939  shlibpath_var=LD_LIBRARY_PATH
10940  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10941  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10942  ;;
10943
10944rdos*)
10945  dynamic_linker=no
10946  ;;
10947
10948solaris*)
10949  version_type=linux
10950  need_lib_prefix=no
10951  need_version=no
10952  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10953  soname_spec='${libname}${release}${shared_ext}$major'
10954  shlibpath_var=LD_LIBRARY_PATH
10955  shlibpath_overrides_runpath=yes
10956  hardcode_into_libs=yes
10957  # ldd complains unless libraries are executable
10958  postinstall_cmds='chmod +x $lib'
10959  ;;
10960
10961sunos4*)
10962  version_type=sunos
10963  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10964  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10965  shlibpath_var=LD_LIBRARY_PATH
10966  shlibpath_overrides_runpath=yes
10967  if test "$with_gnu_ld" = yes; then
10968    need_lib_prefix=no
10969  fi
10970  need_version=yes
10971  ;;
10972
10973sysv4 | sysv4.3*)
10974  version_type=linux
10975  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10976  soname_spec='${libname}${release}${shared_ext}$major'
10977  shlibpath_var=LD_LIBRARY_PATH
10978  case $host_vendor in
10979    sni)
10980      shlibpath_overrides_runpath=no
10981      need_lib_prefix=no
10982      runpath_var=LD_RUN_PATH
10983      ;;
10984    siemens)
10985      need_lib_prefix=no
10986      ;;
10987    motorola)
10988      need_lib_prefix=no
10989      need_version=no
10990      shlibpath_overrides_runpath=no
10991      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10992      ;;
10993  esac
10994  ;;
10995
10996sysv4*MP*)
10997  if test -d /usr/nec ;then
10998    version_type=linux
10999    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11000    soname_spec='$libname${shared_ext}.$major'
11001    shlibpath_var=LD_LIBRARY_PATH
11002  fi
11003  ;;
11004
11005sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11006  version_type=freebsd-elf
11007  need_lib_prefix=no
11008  need_version=no
11009  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11010  soname_spec='${libname}${release}${shared_ext}$major'
11011  shlibpath_var=LD_LIBRARY_PATH
11012  shlibpath_overrides_runpath=yes
11013  hardcode_into_libs=yes
11014  if test "$with_gnu_ld" = yes; then
11015    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11016  else
11017    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11018    case $host_os in
11019      sco3.2v5*)
11020        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11021	;;
11022    esac
11023  fi
11024  sys_lib_dlsearch_path_spec='/usr/lib'
11025  ;;
11026
11027tpf*)
11028  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11029  version_type=linux
11030  need_lib_prefix=no
11031  need_version=no
11032  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11033  shlibpath_var=LD_LIBRARY_PATH
11034  shlibpath_overrides_runpath=no
11035  hardcode_into_libs=yes
11036  ;;
11037
11038uts4*)
11039  version_type=linux
11040  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11041  soname_spec='${libname}${release}${shared_ext}$major'
11042  shlibpath_var=LD_LIBRARY_PATH
11043  ;;
11044
11045*)
11046  dynamic_linker=no
11047  ;;
11048esac
11049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11050$as_echo "$dynamic_linker" >&6; }
11051test "$dynamic_linker" = no && can_build_shared=no
11052
11053variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11054if test "$GCC" = yes; then
11055  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11056fi
11057
11058if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11059  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11060fi
11061if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11062  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11063fi
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11157$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11158hardcode_action=
11159if test -n "$hardcode_libdir_flag_spec" ||
11160   test -n "$runpath_var" ||
11161   test "X$hardcode_automatic" = "Xyes" ; then
11162
11163  # We can hardcode non-existent directories.
11164  if test "$hardcode_direct" != no &&
11165     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11166     # have to relink, otherwise we might link with an installed library
11167     # when we should be linking with a yet-to-be-installed one
11168     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11169     test "$hardcode_minus_L" != no; then
11170    # Linking always hardcodes the temporary library directory.
11171    hardcode_action=relink
11172  else
11173    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11174    hardcode_action=immediate
11175  fi
11176else
11177  # We cannot hardcode anything, or else we can only hardcode existing
11178  # directories.
11179  hardcode_action=unsupported
11180fi
11181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11182$as_echo "$hardcode_action" >&6; }
11183
11184if test "$hardcode_action" = relink ||
11185   test "$inherit_rpath" = yes; then
11186  # Fast installation is not supported
11187  enable_fast_install=no
11188elif test "$shlibpath_overrides_runpath" = yes ||
11189     test "$enable_shared" = no; then
11190  # Fast installation is not necessary
11191  enable_fast_install=needless
11192fi
11193
11194
11195
11196
11197
11198
11199  if test "x$enable_dlopen" != xyes; then
11200  enable_dlopen=unknown
11201  enable_dlopen_self=unknown
11202  enable_dlopen_self_static=unknown
11203else
11204  lt_cv_dlopen=no
11205  lt_cv_dlopen_libs=
11206
11207  case $host_os in
11208  beos*)
11209    lt_cv_dlopen="load_add_on"
11210    lt_cv_dlopen_libs=
11211    lt_cv_dlopen_self=yes
11212    ;;
11213
11214  mingw* | pw32* | cegcc*)
11215    lt_cv_dlopen="LoadLibrary"
11216    lt_cv_dlopen_libs=
11217    ;;
11218
11219  cygwin*)
11220    lt_cv_dlopen="dlopen"
11221    lt_cv_dlopen_libs=
11222    ;;
11223
11224  darwin*)
11225  # if libdl is installed we need to link against it
11226    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11227$as_echo_n "checking for dlopen in -ldl... " >&6; }
11228if ${ac_cv_lib_dl_dlopen+:} false; then :
11229  $as_echo_n "(cached) " >&6
11230else
11231  ac_check_lib_save_LIBS=$LIBS
11232LIBS="-ldl  $LIBS"
11233cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11234/* end confdefs.h.  */
11235
11236/* Override any GCC internal prototype to avoid an error.
11237   Use char because int might match the return type of a GCC
11238   builtin and then its argument prototype would still apply.  */
11239#ifdef __cplusplus
11240extern "C"
11241#endif
11242char dlopen ();
11243int
11244main ()
11245{
11246return dlopen ();
11247  ;
11248  return 0;
11249}
11250_ACEOF
11251if ac_fn_c_try_link "$LINENO"; then :
11252  ac_cv_lib_dl_dlopen=yes
11253else
11254  ac_cv_lib_dl_dlopen=no
11255fi
11256rm -f core conftest.err conftest.$ac_objext \
11257    conftest$ac_exeext conftest.$ac_ext
11258LIBS=$ac_check_lib_save_LIBS
11259fi
11260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11261$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11262if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11263  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11264else
11265
11266    lt_cv_dlopen="dyld"
11267    lt_cv_dlopen_libs=
11268    lt_cv_dlopen_self=yes
11269
11270fi
11271
11272    ;;
11273
11274  *)
11275    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11276if test "x$ac_cv_func_shl_load" = xyes; then :
11277  lt_cv_dlopen="shl_load"
11278else
11279  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11280$as_echo_n "checking for shl_load in -ldld... " >&6; }
11281if ${ac_cv_lib_dld_shl_load+:} false; then :
11282  $as_echo_n "(cached) " >&6
11283else
11284  ac_check_lib_save_LIBS=$LIBS
11285LIBS="-ldld  $LIBS"
11286cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11287/* end confdefs.h.  */
11288
11289/* Override any GCC internal prototype to avoid an error.
11290   Use char because int might match the return type of a GCC
11291   builtin and then its argument prototype would still apply.  */
11292#ifdef __cplusplus
11293extern "C"
11294#endif
11295char shl_load ();
11296int
11297main ()
11298{
11299return shl_load ();
11300  ;
11301  return 0;
11302}
11303_ACEOF
11304if ac_fn_c_try_link "$LINENO"; then :
11305  ac_cv_lib_dld_shl_load=yes
11306else
11307  ac_cv_lib_dld_shl_load=no
11308fi
11309rm -f core conftest.err conftest.$ac_objext \
11310    conftest$ac_exeext conftest.$ac_ext
11311LIBS=$ac_check_lib_save_LIBS
11312fi
11313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11314$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11315if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11316  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11317else
11318  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11319if test "x$ac_cv_func_dlopen" = xyes; then :
11320  lt_cv_dlopen="dlopen"
11321else
11322  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11323$as_echo_n "checking for dlopen in -ldl... " >&6; }
11324if ${ac_cv_lib_dl_dlopen+:} false; then :
11325  $as_echo_n "(cached) " >&6
11326else
11327  ac_check_lib_save_LIBS=$LIBS
11328LIBS="-ldl  $LIBS"
11329cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11330/* end confdefs.h.  */
11331
11332/* Override any GCC internal prototype to avoid an error.
11333   Use char because int might match the return type of a GCC
11334   builtin and then its argument prototype would still apply.  */
11335#ifdef __cplusplus
11336extern "C"
11337#endif
11338char dlopen ();
11339int
11340main ()
11341{
11342return dlopen ();
11343  ;
11344  return 0;
11345}
11346_ACEOF
11347if ac_fn_c_try_link "$LINENO"; then :
11348  ac_cv_lib_dl_dlopen=yes
11349else
11350  ac_cv_lib_dl_dlopen=no
11351fi
11352rm -f core conftest.err conftest.$ac_objext \
11353    conftest$ac_exeext conftest.$ac_ext
11354LIBS=$ac_check_lib_save_LIBS
11355fi
11356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11357$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11358if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11359  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11360else
11361  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11362$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11363if ${ac_cv_lib_svld_dlopen+:} false; then :
11364  $as_echo_n "(cached) " >&6
11365else
11366  ac_check_lib_save_LIBS=$LIBS
11367LIBS="-lsvld  $LIBS"
11368cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11369/* end confdefs.h.  */
11370
11371/* Override any GCC internal prototype to avoid an error.
11372   Use char because int might match the return type of a GCC
11373   builtin and then its argument prototype would still apply.  */
11374#ifdef __cplusplus
11375extern "C"
11376#endif
11377char dlopen ();
11378int
11379main ()
11380{
11381return dlopen ();
11382  ;
11383  return 0;
11384}
11385_ACEOF
11386if ac_fn_c_try_link "$LINENO"; then :
11387  ac_cv_lib_svld_dlopen=yes
11388else
11389  ac_cv_lib_svld_dlopen=no
11390fi
11391rm -f core conftest.err conftest.$ac_objext \
11392    conftest$ac_exeext conftest.$ac_ext
11393LIBS=$ac_check_lib_save_LIBS
11394fi
11395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11396$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11397if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11398  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11399else
11400  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11401$as_echo_n "checking for dld_link in -ldld... " >&6; }
11402if ${ac_cv_lib_dld_dld_link+:} false; then :
11403  $as_echo_n "(cached) " >&6
11404else
11405  ac_check_lib_save_LIBS=$LIBS
11406LIBS="-ldld  $LIBS"
11407cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11408/* end confdefs.h.  */
11409
11410/* Override any GCC internal prototype to avoid an error.
11411   Use char because int might match the return type of a GCC
11412   builtin and then its argument prototype would still apply.  */
11413#ifdef __cplusplus
11414extern "C"
11415#endif
11416char dld_link ();
11417int
11418main ()
11419{
11420return dld_link ();
11421  ;
11422  return 0;
11423}
11424_ACEOF
11425if ac_fn_c_try_link "$LINENO"; then :
11426  ac_cv_lib_dld_dld_link=yes
11427else
11428  ac_cv_lib_dld_dld_link=no
11429fi
11430rm -f core conftest.err conftest.$ac_objext \
11431    conftest$ac_exeext conftest.$ac_ext
11432LIBS=$ac_check_lib_save_LIBS
11433fi
11434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11435$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11436if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11437  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11438fi
11439
11440
11441fi
11442
11443
11444fi
11445
11446
11447fi
11448
11449
11450fi
11451
11452
11453fi
11454
11455    ;;
11456  esac
11457
11458  if test "x$lt_cv_dlopen" != xno; then
11459    enable_dlopen=yes
11460  else
11461    enable_dlopen=no
11462  fi
11463
11464  case $lt_cv_dlopen in
11465  dlopen)
11466    save_CPPFLAGS="$CPPFLAGS"
11467    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11468
11469    save_LDFLAGS="$LDFLAGS"
11470    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11471
11472    save_LIBS="$LIBS"
11473    LIBS="$lt_cv_dlopen_libs $LIBS"
11474
11475    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11476$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11477if ${lt_cv_dlopen_self+:} false; then :
11478  $as_echo_n "(cached) " >&6
11479else
11480  	  if test "$cross_compiling" = yes; then :
11481  lt_cv_dlopen_self=cross
11482else
11483  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11484  lt_status=$lt_dlunknown
11485  cat > conftest.$ac_ext <<_LT_EOF
11486#line $LINENO "configure"
11487#include "confdefs.h"
11488
11489#if HAVE_DLFCN_H
11490#include <dlfcn.h>
11491#endif
11492
11493#include <stdio.h>
11494
11495#ifdef RTLD_GLOBAL
11496#  define LT_DLGLOBAL		RTLD_GLOBAL
11497#else
11498#  ifdef DL_GLOBAL
11499#    define LT_DLGLOBAL		DL_GLOBAL
11500#  else
11501#    define LT_DLGLOBAL		0
11502#  endif
11503#endif
11504
11505/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11506   find out it does not work in some platform. */
11507#ifndef LT_DLLAZY_OR_NOW
11508#  ifdef RTLD_LAZY
11509#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11510#  else
11511#    ifdef DL_LAZY
11512#      define LT_DLLAZY_OR_NOW		DL_LAZY
11513#    else
11514#      ifdef RTLD_NOW
11515#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11516#      else
11517#        ifdef DL_NOW
11518#          define LT_DLLAZY_OR_NOW	DL_NOW
11519#        else
11520#          define LT_DLLAZY_OR_NOW	0
11521#        endif
11522#      endif
11523#    endif
11524#  endif
11525#endif
11526
11527/* When -fvisbility=hidden is used, assume the code has been annotated
11528   correspondingly for the symbols needed.  */
11529#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11530void fnord () __attribute__((visibility("default")));
11531#endif
11532
11533void fnord () { int i=42; }
11534int main ()
11535{
11536  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11537  int status = $lt_dlunknown;
11538
11539  if (self)
11540    {
11541      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11542      else
11543        {
11544	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11545          else puts (dlerror ());
11546	}
11547      /* dlclose (self); */
11548    }
11549  else
11550    puts (dlerror ());
11551
11552  return status;
11553}
11554_LT_EOF
11555  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11556  (eval $ac_link) 2>&5
11557  ac_status=$?
11558  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11559  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11560    (./conftest; exit; ) >&5 2>/dev/null
11561    lt_status=$?
11562    case x$lt_status in
11563      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11564      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11565      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11566    esac
11567  else :
11568    # compilation failed
11569    lt_cv_dlopen_self=no
11570  fi
11571fi
11572rm -fr conftest*
11573
11574
11575fi
11576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11577$as_echo "$lt_cv_dlopen_self" >&6; }
11578
11579    if test "x$lt_cv_dlopen_self" = xyes; then
11580      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11581      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11582$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11583if ${lt_cv_dlopen_self_static+:} false; then :
11584  $as_echo_n "(cached) " >&6
11585else
11586  	  if test "$cross_compiling" = yes; then :
11587  lt_cv_dlopen_self_static=cross
11588else
11589  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11590  lt_status=$lt_dlunknown
11591  cat > conftest.$ac_ext <<_LT_EOF
11592#line $LINENO "configure"
11593#include "confdefs.h"
11594
11595#if HAVE_DLFCN_H
11596#include <dlfcn.h>
11597#endif
11598
11599#include <stdio.h>
11600
11601#ifdef RTLD_GLOBAL
11602#  define LT_DLGLOBAL		RTLD_GLOBAL
11603#else
11604#  ifdef DL_GLOBAL
11605#    define LT_DLGLOBAL		DL_GLOBAL
11606#  else
11607#    define LT_DLGLOBAL		0
11608#  endif
11609#endif
11610
11611/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11612   find out it does not work in some platform. */
11613#ifndef LT_DLLAZY_OR_NOW
11614#  ifdef RTLD_LAZY
11615#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11616#  else
11617#    ifdef DL_LAZY
11618#      define LT_DLLAZY_OR_NOW		DL_LAZY
11619#    else
11620#      ifdef RTLD_NOW
11621#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11622#      else
11623#        ifdef DL_NOW
11624#          define LT_DLLAZY_OR_NOW	DL_NOW
11625#        else
11626#          define LT_DLLAZY_OR_NOW	0
11627#        endif
11628#      endif
11629#    endif
11630#  endif
11631#endif
11632
11633/* When -fvisbility=hidden is used, assume the code has been annotated
11634   correspondingly for the symbols needed.  */
11635#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11636void fnord () __attribute__((visibility("default")));
11637#endif
11638
11639void fnord () { int i=42; }
11640int main ()
11641{
11642  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11643  int status = $lt_dlunknown;
11644
11645  if (self)
11646    {
11647      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11648      else
11649        {
11650	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11651          else puts (dlerror ());
11652	}
11653      /* dlclose (self); */
11654    }
11655  else
11656    puts (dlerror ());
11657
11658  return status;
11659}
11660_LT_EOF
11661  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11662  (eval $ac_link) 2>&5
11663  ac_status=$?
11664  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11665  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11666    (./conftest; exit; ) >&5 2>/dev/null
11667    lt_status=$?
11668    case x$lt_status in
11669      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11670      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11671      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11672    esac
11673  else :
11674    # compilation failed
11675    lt_cv_dlopen_self_static=no
11676  fi
11677fi
11678rm -fr conftest*
11679
11680
11681fi
11682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11683$as_echo "$lt_cv_dlopen_self_static" >&6; }
11684    fi
11685
11686    CPPFLAGS="$save_CPPFLAGS"
11687    LDFLAGS="$save_LDFLAGS"
11688    LIBS="$save_LIBS"
11689    ;;
11690  esac
11691
11692  case $lt_cv_dlopen_self in
11693  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11694  *) enable_dlopen_self=unknown ;;
11695  esac
11696
11697  case $lt_cv_dlopen_self_static in
11698  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11699  *) enable_dlopen_self_static=unknown ;;
11700  esac
11701fi
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719striplib=
11720old_striplib=
11721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11722$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11723if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11724  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11725  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11727$as_echo "yes" >&6; }
11728else
11729# FIXME - insert some real tests, host_os isn't really good enough
11730  case $host_os in
11731  darwin*)
11732    if test -n "$STRIP" ; then
11733      striplib="$STRIP -x"
11734      old_striplib="$STRIP -S"
11735      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11736$as_echo "yes" >&6; }
11737    else
11738      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11739$as_echo "no" >&6; }
11740    fi
11741    ;;
11742  *)
11743    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11744$as_echo "no" >&6; }
11745    ;;
11746  esac
11747fi
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760  # Report which library types will actually be built
11761  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11762$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11764$as_echo "$can_build_shared" >&6; }
11765
11766  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11767$as_echo_n "checking whether to build shared libraries... " >&6; }
11768  test "$can_build_shared" = "no" && enable_shared=no
11769
11770  # On AIX, shared libraries and static libraries use the same namespace, and
11771  # are all built from PIC.
11772  case $host_os in
11773  aix3*)
11774    test "$enable_shared" = yes && enable_static=no
11775    if test -n "$RANLIB"; then
11776      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11777      postinstall_cmds='$RANLIB $lib'
11778    fi
11779    ;;
11780
11781  aix[4-9]*)
11782    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11783      test "$enable_shared" = yes && enable_static=no
11784    fi
11785    ;;
11786  esac
11787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11788$as_echo "$enable_shared" >&6; }
11789
11790  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11791$as_echo_n "checking whether to build static libraries... " >&6; }
11792  # Make sure either enable_shared or enable_static is yes.
11793  test "$enable_shared" = yes || enable_static=yes
11794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11795$as_echo "$enable_static" >&6; }
11796
11797
11798
11799
11800fi
11801ac_ext=c
11802ac_cpp='$CPP $CPPFLAGS'
11803ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11804ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11805ac_compiler_gnu=$ac_cv_c_compiler_gnu
11806
11807CC="$lt_save_CC"
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821        ac_config_commands="$ac_config_commands libtool"
11822
11823
11824
11825
11826# Only expand once:
11827
11828
11829
11830# Require X.Org's font util macros 1.1 or later for XORG_FONTROOTDIR
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
11847$as_echo_n "checking for root directory for font files... " >&6; }
11848
11849# Check whether --with-fontrootdir was given.
11850if test "${with_fontrootdir+set}" = set; then :
11851  withval=$with_fontrootdir; FONTROOTDIR="$withval"
11852fi
11853
11854	# if --with-fontrootdir not specified...
11855	if test "x${FONTROOTDIR}" = "x"; then
11856		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
11857	fi
11858	# ...and if pkg-config didn't find fontdir in fontutil.pc...
11859	if test "x${FONTROOTDIR}" = "x"; then
11860		FONTROOTDIR="${datadir}/fonts/X11"
11861	fi
11862
11863	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
11864$as_echo "${FONTROOTDIR}" >&6; }
11865
11866
11867
11868
11869	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for encodings files" >&5
11870$as_echo_n "checking for directory for encodings files... " >&6; }
11871
11872# Check whether --with-encodingsdir was given.
11873if test "${with_encodingsdir+set}" = set; then :
11874  withval=$with_encodingsdir; ENCODINGSDIR="${withval}"
11875else
11876  ENCODINGSDIR='${FONTROOTDIR}/encodings'
11877fi
11878
11879
11880	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ENCODINGSDIR}" >&5
11881$as_echo "${ENCODINGSDIR}" >&6; }
11882
11883
11884# zlib
11885
11886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzclose in -lz" >&5
11887$as_echo_n "checking for gzclose in -lz... " >&6; }
11888if ${ac_cv_lib_z_gzclose+:} false; then :
11889  $as_echo_n "(cached) " >&6
11890else
11891  ac_check_lib_save_LIBS=$LIBS
11892LIBS="-lz  $LIBS"
11893cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11894/* end confdefs.h.  */
11895
11896/* Override any GCC internal prototype to avoid an error.
11897   Use char because int might match the return type of a GCC
11898   builtin and then its argument prototype would still apply.  */
11899#ifdef __cplusplus
11900extern "C"
11901#endif
11902char gzclose ();
11903int
11904main ()
11905{
11906return gzclose ();
11907  ;
11908  return 0;
11909}
11910_ACEOF
11911if ac_fn_c_try_link "$LINENO"; then :
11912  ac_cv_lib_z_gzclose=yes
11913else
11914  ac_cv_lib_z_gzclose=no
11915fi
11916rm -f core conftest.err conftest.$ac_objext \
11917    conftest$ac_exeext conftest.$ac_ext
11918LIBS=$ac_check_lib_save_LIBS
11919fi
11920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzclose" >&5
11921$as_echo "$ac_cv_lib_z_gzclose" >&6; }
11922if test "x$ac_cv_lib_z_gzclose" = xyes; then :
11923  cat >>confdefs.h <<_ACEOF
11924#define HAVE_LIBZ 1
11925_ACEOF
11926
11927  LIBS="-lz $LIBS"
11928
11929fi
11930
11931
11932# Check for dependencies
11933
11934pkg_failed=no
11935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTENC" >&5
11936$as_echo_n "checking for FONTENC... " >&6; }
11937
11938if test -n "$FONTENC_CFLAGS"; then
11939    pkg_cv_FONTENC_CFLAGS="$FONTENC_CFLAGS"
11940 elif test -n "$PKG_CONFIG"; then
11941    if test -n "$PKG_CONFIG" && \
11942    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
11943  ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
11944  ac_status=$?
11945  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11946  test $ac_status = 0; }; then
11947  pkg_cv_FONTENC_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
11948else
11949  pkg_failed=yes
11950fi
11951 else
11952    pkg_failed=untried
11953fi
11954if test -n "$FONTENC_LIBS"; then
11955    pkg_cv_FONTENC_LIBS="$FONTENC_LIBS"
11956 elif test -n "$PKG_CONFIG"; then
11957    if test -n "$PKG_CONFIG" && \
11958    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
11959  ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
11960  ac_status=$?
11961  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11962  test $ac_status = 0; }; then
11963  pkg_cv_FONTENC_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
11964else
11965  pkg_failed=yes
11966fi
11967 else
11968    pkg_failed=untried
11969fi
11970
11971
11972
11973if test $pkg_failed = yes; then
11974
11975if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11976        _pkg_short_errors_supported=yes
11977else
11978        _pkg_short_errors_supported=no
11979fi
11980        if test $_pkg_short_errors_supported = yes; then
11981	        FONTENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto" 2>&1`
11982        else
11983	        FONTENC_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto" 2>&1`
11984        fi
11985	# Put the nasty error message in config.log where it belongs
11986	echo "$FONTENC_PKG_ERRORS" >&5
11987
11988	as_fn_error $? "Package requirements (xproto) were not met:
11989
11990$FONTENC_PKG_ERRORS
11991
11992Consider adjusting the PKG_CONFIG_PATH environment variable if you
11993installed software in a non-standard prefix.
11994
11995Alternatively, you may set the environment variables FONTENC_CFLAGS
11996and FONTENC_LIBS to avoid the need to call pkg-config.
11997See the pkg-config man page for more details.
11998" "$LINENO" 5
11999elif test $pkg_failed = untried; then
12000	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12001$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12002as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12003is in your PATH or set the PKG_CONFIG environment variable to the full
12004path to pkg-config.
12005
12006Alternatively, you may set the environment variables FONTENC_CFLAGS
12007and FONTENC_LIBS to avoid the need to call pkg-config.
12008See the pkg-config man page for more details.
12009
12010To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12011See \`config.log' for more details" "$LINENO" 5; }
12012else
12013	FONTENC_CFLAGS=$pkg_cv_FONTENC_CFLAGS
12014	FONTENC_LIBS=$pkg_cv_FONTENC_LIBS
12015        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12016$as_echo "yes" >&6; }
12017	:
12018fi
12019
12020
12021
12022
12023
12024
12025# Check whether --with-lint was given.
12026if test "${with_lint+set}" = set; then :
12027  withval=$with_lint; use_lint=$withval
12028else
12029  use_lint=no
12030fi
12031
12032
12033# Obtain platform specific info like program name and options
12034# The lint program on FreeBSD and NetBSD is different from the one on Solaris
12035case $host_os in
12036  *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
12037	lint_name=splint
12038	lint_options="-badflag"
12039	;;
12040  *freebsd* | *netbsd*)
12041	lint_name=lint
12042	lint_options="-u -b"
12043	;;
12044  *solaris*)
12045	lint_name=lint
12046	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
12047	;;
12048esac
12049
12050# Test for the presence of the program (either guessed by the code or spelled out by the user)
12051if test "x$use_lint" = x"yes" ; then
12052   # Extract the first word of "$lint_name", so it can be a program name with args.
12053set dummy $lint_name; ac_word=$2
12054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12055$as_echo_n "checking for $ac_word... " >&6; }
12056if ${ac_cv_path_LINT+:} false; then :
12057  $as_echo_n "(cached) " >&6
12058else
12059  case $LINT in
12060  [\\/]* | ?:[\\/]*)
12061  ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
12062  ;;
12063  *)
12064  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12065for as_dir in $PATH
12066do
12067  IFS=$as_save_IFS
12068  test -z "$as_dir" && as_dir=.
12069    for ac_exec_ext in '' $ac_executable_extensions; do
12070  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12071    ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
12072    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12073    break 2
12074  fi
12075done
12076  done
12077IFS=$as_save_IFS
12078
12079  ;;
12080esac
12081fi
12082LINT=$ac_cv_path_LINT
12083if test -n "$LINT"; then
12084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
12085$as_echo "$LINT" >&6; }
12086else
12087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12088$as_echo "no" >&6; }
12089fi
12090
12091
12092   if test "x$LINT" = "x"; then
12093        as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
12094   fi
12095elif test "x$use_lint" = x"no" ; then
12096   if test "x$LINT" != "x"; then
12097      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
12098$as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
12099   fi
12100else
12101   as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
12102fi
12103
12104# User supplied flags override default flags
12105if test "x$LINT_FLAGS" != "x"; then
12106   lint_options=$LINT_FLAGS
12107fi
12108
12109LINT_FLAGS=$lint_options
12110
12111 if test "x$LINT" != x; then
12112  LINT_TRUE=
12113  LINT_FALSE='#'
12114else
12115  LINT_TRUE='#'
12116  LINT_FALSE=
12117fi
12118
12119
12120
12121LINT_FLAGS="${LINT_FLAGS} ${FONTENC_CFLAGS}"
12122
12123
12124ac_config_files="$ac_config_files Makefile src/Makefile fontenc.pc"
12125
12126cat >confcache <<\_ACEOF
12127# This file is a shell script that caches the results of configure
12128# tests run on this system so they can be shared between configure
12129# scripts and configure runs, see configure's option --config-cache.
12130# It is not useful on other systems.  If it contains results you don't
12131# want to keep, you may remove or edit it.
12132#
12133# config.status only pays attention to the cache file if you give it
12134# the --recheck option to rerun configure.
12135#
12136# `ac_cv_env_foo' variables (set or unset) will be overridden when
12137# loading this file, other *unset* `ac_cv_foo' will be assigned the
12138# following values.
12139
12140_ACEOF
12141
12142# The following way of writing the cache mishandles newlines in values,
12143# but we know of no workaround that is simple, portable, and efficient.
12144# So, we kill variables containing newlines.
12145# Ultrix sh set writes to stderr and can't be redirected directly,
12146# and sets the high bit in the cache file unless we assign to the vars.
12147(
12148  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12149    eval ac_val=\$$ac_var
12150    case $ac_val in #(
12151    *${as_nl}*)
12152      case $ac_var in #(
12153      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12154$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12155      esac
12156      case $ac_var in #(
12157      _ | IFS | as_nl) ;; #(
12158      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12159      *) { eval $ac_var=; unset $ac_var;} ;;
12160      esac ;;
12161    esac
12162  done
12163
12164  (set) 2>&1 |
12165    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12166    *${as_nl}ac_space=\ *)
12167      # `set' does not quote correctly, so add quotes: double-quote
12168      # substitution turns \\\\ into \\, and sed turns \\ into \.
12169      sed -n \
12170	"s/'/'\\\\''/g;
12171	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12172      ;; #(
12173    *)
12174      # `set' quotes correctly as required by POSIX, so do not add quotes.
12175      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12176      ;;
12177    esac |
12178    sort
12179) |
12180  sed '
12181     /^ac_cv_env_/b end
12182     t clear
12183     :clear
12184     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12185     t end
12186     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12187     :end' >>confcache
12188if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12189  if test -w "$cache_file"; then
12190    if test "x$cache_file" != "x/dev/null"; then
12191      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12192$as_echo "$as_me: updating cache $cache_file" >&6;}
12193      if test ! -f "$cache_file" || test -h "$cache_file"; then
12194	cat confcache >"$cache_file"
12195      else
12196        case $cache_file in #(
12197        */* | ?:*)
12198	  mv -f confcache "$cache_file"$$ &&
12199	  mv -f "$cache_file"$$ "$cache_file" ;; #(
12200        *)
12201	  mv -f confcache "$cache_file" ;;
12202	esac
12203      fi
12204    fi
12205  else
12206    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12207$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12208  fi
12209fi
12210rm -f confcache
12211
12212test "x$prefix" = xNONE && prefix=$ac_default_prefix
12213# Let make expand exec_prefix.
12214test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12215
12216DEFS=-DHAVE_CONFIG_H
12217
12218ac_libobjs=
12219ac_ltlibobjs=
12220U=
12221for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12222  # 1. Remove the extension, and $U if already installed.
12223  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12224  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12225  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12226  #    will be set to the directory where LIBOBJS objects are built.
12227  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12228  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12229done
12230LIBOBJS=$ac_libobjs
12231
12232LTLIBOBJS=$ac_ltlibobjs
12233
12234
12235 if test -n "$EXEEXT"; then
12236  am__EXEEXT_TRUE=
12237  am__EXEEXT_FALSE='#'
12238else
12239  am__EXEEXT_TRUE='#'
12240  am__EXEEXT_FALSE=
12241fi
12242
12243if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12244  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12245Usually this means the macro was only invoked conditionally." "$LINENO" 5
12246fi
12247if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12248  as_fn_error $? "conditional \"AMDEP\" was never defined.
12249Usually this means the macro was only invoked conditionally." "$LINENO" 5
12250fi
12251if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12252  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12253Usually this means the macro was only invoked conditionally." "$LINENO" 5
12254fi
12255if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12256  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12257Usually this means the macro was only invoked conditionally." "$LINENO" 5
12258fi
12259if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
12260  as_fn_error $? "conditional \"LINT\" was never defined.
12261Usually this means the macro was only invoked conditionally." "$LINENO" 5
12262fi
12263
12264: "${CONFIG_STATUS=./config.status}"
12265ac_write_fail=0
12266ac_clean_files_save=$ac_clean_files
12267ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12268{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12269$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12270as_write_fail=0
12271cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12272#! $SHELL
12273# Generated by $as_me.
12274# Run this file to recreate the current configuration.
12275# Compiler output produced by configure, useful for debugging
12276# configure, is in config.log if it exists.
12277
12278debug=false
12279ac_cs_recheck=false
12280ac_cs_silent=false
12281
12282SHELL=\${CONFIG_SHELL-$SHELL}
12283export SHELL
12284_ASEOF
12285cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12286## -------------------- ##
12287## M4sh Initialization. ##
12288## -------------------- ##
12289
12290# Be more Bourne compatible
12291DUALCASE=1; export DUALCASE # for MKS sh
12292if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12293  emulate sh
12294  NULLCMD=:
12295  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12296  # is contrary to our usage.  Disable this feature.
12297  alias -g '${1+"$@"}'='"$@"'
12298  setopt NO_GLOB_SUBST
12299else
12300  case `(set -o) 2>/dev/null` in #(
12301  *posix*) :
12302    set -o posix ;; #(
12303  *) :
12304     ;;
12305esac
12306fi
12307
12308
12309as_nl='
12310'
12311export as_nl
12312# Printing a long string crashes Solaris 7 /usr/bin/printf.
12313as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12314as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12315as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12316# Prefer a ksh shell builtin over an external printf program on Solaris,
12317# but without wasting forks for bash or zsh.
12318if test -z "$BASH_VERSION$ZSH_VERSION" \
12319    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12320  as_echo='print -r --'
12321  as_echo_n='print -rn --'
12322elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12323  as_echo='printf %s\n'
12324  as_echo_n='printf %s'
12325else
12326  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12327    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12328    as_echo_n='/usr/ucb/echo -n'
12329  else
12330    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12331    as_echo_n_body='eval
12332      arg=$1;
12333      case $arg in #(
12334      *"$as_nl"*)
12335	expr "X$arg" : "X\\(.*\\)$as_nl";
12336	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12337      esac;
12338      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12339    '
12340    export as_echo_n_body
12341    as_echo_n='sh -c $as_echo_n_body as_echo'
12342  fi
12343  export as_echo_body
12344  as_echo='sh -c $as_echo_body as_echo'
12345fi
12346
12347# The user is always right.
12348if test "${PATH_SEPARATOR+set}" != set; then
12349  PATH_SEPARATOR=:
12350  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12351    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12352      PATH_SEPARATOR=';'
12353  }
12354fi
12355
12356
12357# IFS
12358# We need space, tab and new line, in precisely that order.  Quoting is
12359# there to prevent editors from complaining about space-tab.
12360# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12361# splitting by setting IFS to empty value.)
12362IFS=" ""	$as_nl"
12363
12364# Find who we are.  Look in the path if we contain no directory separator.
12365as_myself=
12366case $0 in #((
12367  *[\\/]* ) as_myself=$0 ;;
12368  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12369for as_dir in $PATH
12370do
12371  IFS=$as_save_IFS
12372  test -z "$as_dir" && as_dir=.
12373    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12374  done
12375IFS=$as_save_IFS
12376
12377     ;;
12378esac
12379# We did not find ourselves, most probably we were run as `sh COMMAND'
12380# in which case we are not to be found in the path.
12381if test "x$as_myself" = x; then
12382  as_myself=$0
12383fi
12384if test ! -f "$as_myself"; then
12385  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12386  exit 1
12387fi
12388
12389# Unset variables that we do not need and which cause bugs (e.g. in
12390# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12391# suppresses any "Segmentation fault" message there.  '((' could
12392# trigger a bug in pdksh 5.2.14.
12393for as_var in BASH_ENV ENV MAIL MAILPATH
12394do eval test x\${$as_var+set} = xset \
12395  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12396done
12397PS1='$ '
12398PS2='> '
12399PS4='+ '
12400
12401# NLS nuisances.
12402LC_ALL=C
12403export LC_ALL
12404LANGUAGE=C
12405export LANGUAGE
12406
12407# CDPATH.
12408(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12409
12410
12411# as_fn_error STATUS ERROR [LINENO LOG_FD]
12412# ----------------------------------------
12413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12415# script with STATUS, using 1 if that was 0.
12416as_fn_error ()
12417{
12418  as_status=$1; test $as_status -eq 0 && as_status=1
12419  if test "$4"; then
12420    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12421    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12422  fi
12423  $as_echo "$as_me: error: $2" >&2
12424  as_fn_exit $as_status
12425} # as_fn_error
12426
12427
12428# as_fn_set_status STATUS
12429# -----------------------
12430# Set $? to STATUS, without forking.
12431as_fn_set_status ()
12432{
12433  return $1
12434} # as_fn_set_status
12435
12436# as_fn_exit STATUS
12437# -----------------
12438# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12439as_fn_exit ()
12440{
12441  set +e
12442  as_fn_set_status $1
12443  exit $1
12444} # as_fn_exit
12445
12446# as_fn_unset VAR
12447# ---------------
12448# Portably unset VAR.
12449as_fn_unset ()
12450{
12451  { eval $1=; unset $1;}
12452}
12453as_unset=as_fn_unset
12454# as_fn_append VAR VALUE
12455# ----------------------
12456# Append the text in VALUE to the end of the definition contained in VAR. Take
12457# advantage of any shell optimizations that allow amortized linear growth over
12458# repeated appends, instead of the typical quadratic growth present in naive
12459# implementations.
12460if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12461  eval 'as_fn_append ()
12462  {
12463    eval $1+=\$2
12464  }'
12465else
12466  as_fn_append ()
12467  {
12468    eval $1=\$$1\$2
12469  }
12470fi # as_fn_append
12471
12472# as_fn_arith ARG...
12473# ------------------
12474# Perform arithmetic evaluation on the ARGs, and store the result in the
12475# global $as_val. Take advantage of shells that can avoid forks. The arguments
12476# must be portable across $(()) and expr.
12477if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12478  eval 'as_fn_arith ()
12479  {
12480    as_val=$(( $* ))
12481  }'
12482else
12483  as_fn_arith ()
12484  {
12485    as_val=`expr "$@" || test $? -eq 1`
12486  }
12487fi # as_fn_arith
12488
12489
12490if expr a : '\(a\)' >/dev/null 2>&1 &&
12491   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12492  as_expr=expr
12493else
12494  as_expr=false
12495fi
12496
12497if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12498  as_basename=basename
12499else
12500  as_basename=false
12501fi
12502
12503if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12504  as_dirname=dirname
12505else
12506  as_dirname=false
12507fi
12508
12509as_me=`$as_basename -- "$0" ||
12510$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12511	 X"$0" : 'X\(//\)$' \| \
12512	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12513$as_echo X/"$0" |
12514    sed '/^.*\/\([^/][^/]*\)\/*$/{
12515	    s//\1/
12516	    q
12517	  }
12518	  /^X\/\(\/\/\)$/{
12519	    s//\1/
12520	    q
12521	  }
12522	  /^X\/\(\/\).*/{
12523	    s//\1/
12524	    q
12525	  }
12526	  s/.*/./; q'`
12527
12528# Avoid depending upon Character Ranges.
12529as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12530as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12531as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12532as_cr_digits='0123456789'
12533as_cr_alnum=$as_cr_Letters$as_cr_digits
12534
12535ECHO_C= ECHO_N= ECHO_T=
12536case `echo -n x` in #(((((
12537-n*)
12538  case `echo 'xy\c'` in
12539  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
12540  xy)  ECHO_C='\c';;
12541  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12542       ECHO_T='	';;
12543  esac;;
12544*)
12545  ECHO_N='-n';;
12546esac
12547
12548rm -f conf$$ conf$$.exe conf$$.file
12549if test -d conf$$.dir; then
12550  rm -f conf$$.dir/conf$$.file
12551else
12552  rm -f conf$$.dir
12553  mkdir conf$$.dir 2>/dev/null
12554fi
12555if (echo >conf$$.file) 2>/dev/null; then
12556  if ln -s conf$$.file conf$$ 2>/dev/null; then
12557    as_ln_s='ln -s'
12558    # ... but there are two gotchas:
12559    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12560    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12561    # In both cases, we have to default to `cp -p'.
12562    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12563      as_ln_s='cp -p'
12564  elif ln conf$$.file conf$$ 2>/dev/null; then
12565    as_ln_s=ln
12566  else
12567    as_ln_s='cp -p'
12568  fi
12569else
12570  as_ln_s='cp -p'
12571fi
12572rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12573rmdir conf$$.dir 2>/dev/null
12574
12575
12576# as_fn_mkdir_p
12577# -------------
12578# Create "$as_dir" as a directory, including parents if necessary.
12579as_fn_mkdir_p ()
12580{
12581
12582  case $as_dir in #(
12583  -*) as_dir=./$as_dir;;
12584  esac
12585  test -d "$as_dir" || eval $as_mkdir_p || {
12586    as_dirs=
12587    while :; do
12588      case $as_dir in #(
12589      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12590      *) as_qdir=$as_dir;;
12591      esac
12592      as_dirs="'$as_qdir' $as_dirs"
12593      as_dir=`$as_dirname -- "$as_dir" ||
12594$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12595	 X"$as_dir" : 'X\(//\)[^/]' \| \
12596	 X"$as_dir" : 'X\(//\)$' \| \
12597	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12598$as_echo X"$as_dir" |
12599    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12600	    s//\1/
12601	    q
12602	  }
12603	  /^X\(\/\/\)[^/].*/{
12604	    s//\1/
12605	    q
12606	  }
12607	  /^X\(\/\/\)$/{
12608	    s//\1/
12609	    q
12610	  }
12611	  /^X\(\/\).*/{
12612	    s//\1/
12613	    q
12614	  }
12615	  s/.*/./; q'`
12616      test -d "$as_dir" && break
12617    done
12618    test -z "$as_dirs" || eval "mkdir $as_dirs"
12619  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12620
12621
12622} # as_fn_mkdir_p
12623if mkdir -p . 2>/dev/null; then
12624  as_mkdir_p='mkdir -p "$as_dir"'
12625else
12626  test -d ./-p && rmdir ./-p
12627  as_mkdir_p=false
12628fi
12629
12630if test -x / >/dev/null 2>&1; then
12631  as_test_x='test -x'
12632else
12633  if ls -dL / >/dev/null 2>&1; then
12634    as_ls_L_option=L
12635  else
12636    as_ls_L_option=
12637  fi
12638  as_test_x='
12639    eval sh -c '\''
12640      if test -d "$1"; then
12641	test -d "$1/.";
12642      else
12643	case $1 in #(
12644	-*)set "./$1";;
12645	esac;
12646	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12647	???[sx]*):;;*)false;;esac;fi
12648    '\'' sh
12649  '
12650fi
12651as_executable_p=$as_test_x
12652
12653# Sed expression to map a string onto a valid CPP name.
12654as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12655
12656# Sed expression to map a string onto a valid variable name.
12657as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12658
12659
12660exec 6>&1
12661## ----------------------------------- ##
12662## Main body of $CONFIG_STATUS script. ##
12663## ----------------------------------- ##
12664_ASEOF
12665test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12666
12667cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12668# Save the log message, to keep $0 and so on meaningful, and to
12669# report actual input values of CONFIG_FILES etc. instead of their
12670# values after options handling.
12671ac_log="
12672This file was extended by libfontenc $as_me 1.1.0, which was
12673generated by GNU Autoconf 2.68.  Invocation command line was
12674
12675  CONFIG_FILES    = $CONFIG_FILES
12676  CONFIG_HEADERS  = $CONFIG_HEADERS
12677  CONFIG_LINKS    = $CONFIG_LINKS
12678  CONFIG_COMMANDS = $CONFIG_COMMANDS
12679  $ $0 $@
12680
12681on `(hostname || uname -n) 2>/dev/null | sed 1q`
12682"
12683
12684_ACEOF
12685
12686case $ac_config_files in *"
12687"*) set x $ac_config_files; shift; ac_config_files=$*;;
12688esac
12689
12690case $ac_config_headers in *"
12691"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12692esac
12693
12694
12695cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12696# Files that config.status was made for.
12697config_files="$ac_config_files"
12698config_headers="$ac_config_headers"
12699config_commands="$ac_config_commands"
12700
12701_ACEOF
12702
12703cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12704ac_cs_usage="\
12705\`$as_me' instantiates files and other configuration actions
12706from templates according to the current configuration.  Unless the files
12707and actions are specified as TAGs, all are instantiated by default.
12708
12709Usage: $0 [OPTION]... [TAG]...
12710
12711  -h, --help       print this help, then exit
12712  -V, --version    print version number and configuration settings, then exit
12713      --config     print configuration, then exit
12714  -q, --quiet, --silent
12715                   do not print progress messages
12716  -d, --debug      don't remove temporary files
12717      --recheck    update $as_me by reconfiguring in the same conditions
12718      --file=FILE[:TEMPLATE]
12719                   instantiate the configuration file FILE
12720      --header=FILE[:TEMPLATE]
12721                   instantiate the configuration header FILE
12722
12723Configuration files:
12724$config_files
12725
12726Configuration headers:
12727$config_headers
12728
12729Configuration commands:
12730$config_commands
12731
12732Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
12733
12734_ACEOF
12735cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12736ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12737ac_cs_version="\\
12738libfontenc config.status 1.1.0
12739configured by $0, generated by GNU Autoconf 2.68,
12740  with options \\"\$ac_cs_config\\"
12741
12742Copyright (C) 2010 Free Software Foundation, Inc.
12743This config.status script is free software; the Free Software Foundation
12744gives unlimited permission to copy, distribute and modify it."
12745
12746ac_pwd='$ac_pwd'
12747srcdir='$srcdir'
12748INSTALL='$INSTALL'
12749MKDIR_P='$MKDIR_P'
12750AWK='$AWK'
12751test -n "\$AWK" || AWK=awk
12752_ACEOF
12753
12754cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12755# The default lists apply if the user does not specify any file.
12756ac_need_defaults=:
12757while test $# != 0
12758do
12759  case $1 in
12760  --*=?*)
12761    ac_option=`expr "X$1" : 'X\([^=]*\)='`
12762    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12763    ac_shift=:
12764    ;;
12765  --*=)
12766    ac_option=`expr "X$1" : 'X\([^=]*\)='`
12767    ac_optarg=
12768    ac_shift=:
12769    ;;
12770  *)
12771    ac_option=$1
12772    ac_optarg=$2
12773    ac_shift=shift
12774    ;;
12775  esac
12776
12777  case $ac_option in
12778  # Handling of the options.
12779  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12780    ac_cs_recheck=: ;;
12781  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12782    $as_echo "$ac_cs_version"; exit ;;
12783  --config | --confi | --conf | --con | --co | --c )
12784    $as_echo "$ac_cs_config"; exit ;;
12785  --debug | --debu | --deb | --de | --d | -d )
12786    debug=: ;;
12787  --file | --fil | --fi | --f )
12788    $ac_shift
12789    case $ac_optarg in
12790    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12791    '') as_fn_error $? "missing file argument" ;;
12792    esac
12793    as_fn_append CONFIG_FILES " '$ac_optarg'"
12794    ac_need_defaults=false;;
12795  --header | --heade | --head | --hea )
12796    $ac_shift
12797    case $ac_optarg in
12798    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12799    esac
12800    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12801    ac_need_defaults=false;;
12802  --he | --h)
12803    # Conflict between --help and --header
12804    as_fn_error $? "ambiguous option: \`$1'
12805Try \`$0 --help' for more information.";;
12806  --help | --hel | -h )
12807    $as_echo "$ac_cs_usage"; exit ;;
12808  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12809  | -silent | --silent | --silen | --sile | --sil | --si | --s)
12810    ac_cs_silent=: ;;
12811
12812  # This is an error.
12813  -*) as_fn_error $? "unrecognized option: \`$1'
12814Try \`$0 --help' for more information." ;;
12815
12816  *) as_fn_append ac_config_targets " $1"
12817     ac_need_defaults=false ;;
12818
12819  esac
12820  shift
12821done
12822
12823ac_configure_extra_args=
12824
12825if $ac_cs_silent; then
12826  exec 6>/dev/null
12827  ac_configure_extra_args="$ac_configure_extra_args --silent"
12828fi
12829
12830_ACEOF
12831cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12832if \$ac_cs_recheck; then
12833  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12834  shift
12835  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12836  CONFIG_SHELL='$SHELL'
12837  export CONFIG_SHELL
12838  exec "\$@"
12839fi
12840
12841_ACEOF
12842cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12843exec 5>>config.log
12844{
12845  echo
12846  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12847## Running $as_me. ##
12848_ASBOX
12849  $as_echo "$ac_log"
12850} >&5
12851
12852_ACEOF
12853cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12854#
12855# INIT-COMMANDS
12856#
12857AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12858
12859
12860# The HP-UX ksh and POSIX shell print the target directory to stdout
12861# if CDPATH is set.
12862(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12863
12864sed_quote_subst='$sed_quote_subst'
12865double_quote_subst='$double_quote_subst'
12866delay_variable_subst='$delay_variable_subst'
12867macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12868macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12869enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12870enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12871pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12872enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12873SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12874ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12875host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12876host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12877host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12878build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12879build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12880build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12881SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12882Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12883GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12884EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12885FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12886LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12887NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12888LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12889max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12890ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12891exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12892lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12893lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12894lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12895reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12896reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12897OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12898deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12899file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12900AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12901AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12902STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12903RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12904old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12905old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12906old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12907lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12908CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12909CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12910compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12911GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12912lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12913lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12914lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12915lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
12916objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12917MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12918lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12919lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12920lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12921lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12922lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12923need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12924DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12925NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12926LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12927OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12928OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12929libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12930shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12931extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12932archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12933enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12934export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12935whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12936compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12937old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12938old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12939archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12940archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12941module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12942module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12943with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12944allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12945no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12946hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12947hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12948hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12949hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12950hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12951hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12952hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12953hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12954inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12955link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12956fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
12957always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12958export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12959exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12960include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12961prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12962file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12963variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12964need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12965need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12966version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12967runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12968shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12969shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12970libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12971library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12972soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12973install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12974postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12975postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12976finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12977finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12978hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12979sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12980sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12981hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12982enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12983enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12984enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12985old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12986striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12987
12988LTCC='$LTCC'
12989LTCFLAGS='$LTCFLAGS'
12990compiler='$compiler_DEFAULT'
12991
12992# A function that is used when there is no print builtin or printf.
12993func_fallback_echo ()
12994{
12995  eval 'cat <<_LTECHO_EOF
12996\$1
12997_LTECHO_EOF'
12998}
12999
13000# Quote evaled strings.
13001for var in SHELL \
13002ECHO \
13003SED \
13004GREP \
13005EGREP \
13006FGREP \
13007LD \
13008NM \
13009LN_S \
13010lt_SP2NL \
13011lt_NL2SP \
13012reload_flag \
13013OBJDUMP \
13014deplibs_check_method \
13015file_magic_cmd \
13016AR \
13017AR_FLAGS \
13018STRIP \
13019RANLIB \
13020CC \
13021CFLAGS \
13022compiler \
13023lt_cv_sys_global_symbol_pipe \
13024lt_cv_sys_global_symbol_to_cdecl \
13025lt_cv_sys_global_symbol_to_c_name_address \
13026lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13027lt_prog_compiler_no_builtin_flag \
13028lt_prog_compiler_wl \
13029lt_prog_compiler_pic \
13030lt_prog_compiler_static \
13031lt_cv_prog_compiler_c_o \
13032need_locks \
13033DSYMUTIL \
13034NMEDIT \
13035LIPO \
13036OTOOL \
13037OTOOL64 \
13038shrext_cmds \
13039export_dynamic_flag_spec \
13040whole_archive_flag_spec \
13041compiler_needs_object \
13042with_gnu_ld \
13043allow_undefined_flag \
13044no_undefined_flag \
13045hardcode_libdir_flag_spec \
13046hardcode_libdir_flag_spec_ld \
13047hardcode_libdir_separator \
13048fix_srcfile_path \
13049exclude_expsyms \
13050include_expsyms \
13051file_list_spec \
13052variables_saved_for_relink \
13053libname_spec \
13054library_names_spec \
13055soname_spec \
13056install_override_mode \
13057finish_eval \
13058old_striplib \
13059striplib; do
13060    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13061    *[\\\\\\\`\\"\\\$]*)
13062      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13063      ;;
13064    *)
13065      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13066      ;;
13067    esac
13068done
13069
13070# Double-quote double-evaled strings.
13071for var in reload_cmds \
13072old_postinstall_cmds \
13073old_postuninstall_cmds \
13074old_archive_cmds \
13075extract_expsyms_cmds \
13076old_archive_from_new_cmds \
13077old_archive_from_expsyms_cmds \
13078archive_cmds \
13079archive_expsym_cmds \
13080module_cmds \
13081module_expsym_cmds \
13082export_symbols_cmds \
13083prelink_cmds \
13084postinstall_cmds \
13085postuninstall_cmds \
13086finish_cmds \
13087sys_lib_search_path_spec \
13088sys_lib_dlsearch_path_spec; do
13089    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13090    *[\\\\\\\`\\"\\\$]*)
13091      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13092      ;;
13093    *)
13094      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13095      ;;
13096    esac
13097done
13098
13099ac_aux_dir='$ac_aux_dir'
13100xsi_shell='$xsi_shell'
13101lt_shell_append='$lt_shell_append'
13102
13103# See if we are running on zsh, and set the options which allow our
13104# commands through without removal of \ escapes INIT.
13105if test -n "\${ZSH_VERSION+set}" ; then
13106   setopt NO_GLOB_SUBST
13107fi
13108
13109
13110    PACKAGE='$PACKAGE'
13111    VERSION='$VERSION'
13112    TIMESTAMP='$TIMESTAMP'
13113    RM='$RM'
13114    ofile='$ofile'
13115
13116
13117
13118
13119_ACEOF
13120
13121cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13122
13123# Handling of arguments.
13124for ac_config_target in $ac_config_targets
13125do
13126  case $ac_config_target in
13127    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13128    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13129    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13130    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13131    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13132    "fontenc.pc") CONFIG_FILES="$CONFIG_FILES fontenc.pc" ;;
13133
13134  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13135  esac
13136done
13137
13138
13139# If the user did not use the arguments to specify the items to instantiate,
13140# then the envvar interface is used.  Set only those that are not.
13141# We use the long form for the default assignment because of an extremely
13142# bizarre bug on SunOS 4.1.3.
13143if $ac_need_defaults; then
13144  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13145  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13146  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13147fi
13148
13149# Have a temporary directory for convenience.  Make it in the build tree
13150# simply because there is no reason against having it here, and in addition,
13151# creating and moving files from /tmp can sometimes cause problems.
13152# Hook for its removal unless debugging.
13153# Note that there is a small window in which the directory will not be cleaned:
13154# after its creation but before its name has been assigned to `$tmp'.
13155$debug ||
13156{
13157  tmp= ac_tmp=
13158  trap 'exit_status=$?
13159  : "${ac_tmp:=$tmp}"
13160  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13161' 0
13162  trap 'as_fn_exit 1' 1 2 13 15
13163}
13164# Create a (secure) tmp directory for tmp files.
13165
13166{
13167  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13168  test -d "$tmp"
13169}  ||
13170{
13171  tmp=./conf$$-$RANDOM
13172  (umask 077 && mkdir "$tmp")
13173} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13174ac_tmp=$tmp
13175
13176# Set up the scripts for CONFIG_FILES section.
13177# No need to generate them if there are no CONFIG_FILES.
13178# This happens for instance with `./config.status config.h'.
13179if test -n "$CONFIG_FILES"; then
13180
13181
13182ac_cr=`echo X | tr X '\015'`
13183# On cygwin, bash can eat \r inside `` if the user requested igncr.
13184# But we know of no other shell where ac_cr would be empty at this
13185# point, so we can use a bashism as a fallback.
13186if test "x$ac_cr" = x; then
13187  eval ac_cr=\$\'\\r\'
13188fi
13189ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13190if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13191  ac_cs_awk_cr='\\r'
13192else
13193  ac_cs_awk_cr=$ac_cr
13194fi
13195
13196echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13197_ACEOF
13198
13199
13200{
13201  echo "cat >conf$$subs.awk <<_ACEOF" &&
13202  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13203  echo "_ACEOF"
13204} >conf$$subs.sh ||
13205  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13206ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13207ac_delim='%!_!# '
13208for ac_last_try in false false false false false :; do
13209  . ./conf$$subs.sh ||
13210    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13211
13212  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13213  if test $ac_delim_n = $ac_delim_num; then
13214    break
13215  elif $ac_last_try; then
13216    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13217  else
13218    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13219  fi
13220done
13221rm -f conf$$subs.sh
13222
13223cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13224cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13225_ACEOF
13226sed -n '
13227h
13228s/^/S["/; s/!.*/"]=/
13229p
13230g
13231s/^[^!]*!//
13232:repl
13233t repl
13234s/'"$ac_delim"'$//
13235t delim
13236:nl
13237h
13238s/\(.\{148\}\)..*/\1/
13239t more1
13240s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13241p
13242n
13243b repl
13244:more1
13245s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13246p
13247g
13248s/.\{148\}//
13249t nl
13250:delim
13251h
13252s/\(.\{148\}\)..*/\1/
13253t more2
13254s/["\\]/\\&/g; s/^/"/; s/$/"/
13255p
13256b
13257:more2
13258s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13259p
13260g
13261s/.\{148\}//
13262t delim
13263' <conf$$subs.awk | sed '
13264/^[^""]/{
13265  N
13266  s/\n//
13267}
13268' >>$CONFIG_STATUS || ac_write_fail=1
13269rm -f conf$$subs.awk
13270cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13271_ACAWK
13272cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13273  for (key in S) S_is_set[key] = 1
13274  FS = ""
13275
13276}
13277{
13278  line = $ 0
13279  nfields = split(line, field, "@")
13280  substed = 0
13281  len = length(field[1])
13282  for (i = 2; i < nfields; i++) {
13283    key = field[i]
13284    keylen = length(key)
13285    if (S_is_set[key]) {
13286      value = S[key]
13287      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13288      len += length(value) + length(field[++i])
13289      substed = 1
13290    } else
13291      len += 1 + keylen
13292  }
13293
13294  print line
13295}
13296
13297_ACAWK
13298_ACEOF
13299cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13300if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13301  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13302else
13303  cat
13304fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13305  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13306_ACEOF
13307
13308# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13309# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13310# trailing colons and then remove the whole line if VPATH becomes empty
13311# (actually we leave an empty line to preserve line numbers).
13312if test "x$srcdir" = x.; then
13313  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
13314h
13315s///
13316s/^/:/
13317s/[	 ]*$/:/
13318s/:\$(srcdir):/:/g
13319s/:\${srcdir}:/:/g
13320s/:@srcdir@:/:/g
13321s/^:*//
13322s/:*$//
13323x
13324s/\(=[	 ]*\).*/\1/
13325G
13326s/\n//
13327s/^[^=]*=[	 ]*$//
13328}'
13329fi
13330
13331cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13332fi # test -n "$CONFIG_FILES"
13333
13334# Set up the scripts for CONFIG_HEADERS section.
13335# No need to generate them if there are no CONFIG_HEADERS.
13336# This happens for instance with `./config.status Makefile'.
13337if test -n "$CONFIG_HEADERS"; then
13338cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13339BEGIN {
13340_ACEOF
13341
13342# Transform confdefs.h into an awk script `defines.awk', embedded as
13343# here-document in config.status, that substitutes the proper values into
13344# config.h.in to produce config.h.
13345
13346# Create a delimiter string that does not exist in confdefs.h, to ease
13347# handling of long lines.
13348ac_delim='%!_!# '
13349for ac_last_try in false false :; do
13350  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13351  if test -z "$ac_tt"; then
13352    break
13353  elif $ac_last_try; then
13354    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13355  else
13356    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13357  fi
13358done
13359
13360# For the awk script, D is an array of macro values keyed by name,
13361# likewise P contains macro parameters if any.  Preserve backslash
13362# newline sequences.
13363
13364ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13365sed -n '
13366s/.\{148\}/&'"$ac_delim"'/g
13367t rset
13368:rset
13369s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
13370t def
13371d
13372:def
13373s/\\$//
13374t bsnl
13375s/["\\]/\\&/g
13376s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13377D["\1"]=" \3"/p
13378s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
13379d
13380:bsnl
13381s/["\\]/\\&/g
13382s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13383D["\1"]=" \3\\\\\\n"\\/p
13384t cont
13385s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13386t cont
13387d
13388:cont
13389n
13390s/.\{148\}/&'"$ac_delim"'/g
13391t clear
13392:clear
13393s/\\$//
13394t bsnlc
13395s/["\\]/\\&/g; s/^/"/; s/$/"/p
13396d
13397:bsnlc
13398s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13399b cont
13400' <confdefs.h | sed '
13401s/'"$ac_delim"'/"\\\
13402"/g' >>$CONFIG_STATUS || ac_write_fail=1
13403
13404cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13405  for (key in D) D_is_set[key] = 1
13406  FS = ""
13407}
13408/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13409  line = \$ 0
13410  split(line, arg, " ")
13411  if (arg[1] == "#") {
13412    defundef = arg[2]
13413    mac1 = arg[3]
13414  } else {
13415    defundef = substr(arg[1], 2)
13416    mac1 = arg[2]
13417  }
13418  split(mac1, mac2, "(") #)
13419  macro = mac2[1]
13420  prefix = substr(line, 1, index(line, defundef) - 1)
13421  if (D_is_set[macro]) {
13422    # Preserve the white space surrounding the "#".
13423    print prefix "define", macro P[macro] D[macro]
13424    next
13425  } else {
13426    # Replace #undef with comments.  This is necessary, for example,
13427    # in the case of _POSIX_SOURCE, which is predefined and required
13428    # on some systems where configure will not decide to define it.
13429    if (defundef == "undef") {
13430      print "/*", prefix defundef, macro, "*/"
13431      next
13432    }
13433  }
13434}
13435{ print }
13436_ACAWK
13437_ACEOF
13438cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13439  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13440fi # test -n "$CONFIG_HEADERS"
13441
13442
13443eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13444shift
13445for ac_tag
13446do
13447  case $ac_tag in
13448  :[FHLC]) ac_mode=$ac_tag; continue;;
13449  esac
13450  case $ac_mode$ac_tag in
13451  :[FHL]*:*);;
13452  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13453  :[FH]-) ac_tag=-:-;;
13454  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13455  esac
13456  ac_save_IFS=$IFS
13457  IFS=:
13458  set x $ac_tag
13459  IFS=$ac_save_IFS
13460  shift
13461  ac_file=$1
13462  shift
13463
13464  case $ac_mode in
13465  :L) ac_source=$1;;
13466  :[FH])
13467    ac_file_inputs=
13468    for ac_f
13469    do
13470      case $ac_f in
13471      -) ac_f="$ac_tmp/stdin";;
13472      *) # Look for the file first in the build tree, then in the source tree
13473	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
13474	 # because $ac_f cannot contain `:'.
13475	 test -f "$ac_f" ||
13476	   case $ac_f in
13477	   [\\/$]*) false;;
13478	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13479	   esac ||
13480	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13481      esac
13482      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13483      as_fn_append ac_file_inputs " '$ac_f'"
13484    done
13485
13486    # Let's still pretend it is `configure' which instantiates (i.e., don't
13487    # use $as_me), people would be surprised to read:
13488    #    /* config.h.  Generated by config.status.  */
13489    configure_input='Generated from '`
13490	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13491	`' by configure.'
13492    if test x"$ac_file" != x-; then
13493      configure_input="$ac_file.  $configure_input"
13494      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13495$as_echo "$as_me: creating $ac_file" >&6;}
13496    fi
13497    # Neutralize special characters interpreted by sed in replacement strings.
13498    case $configure_input in #(
13499    *\&* | *\|* | *\\* )
13500       ac_sed_conf_input=`$as_echo "$configure_input" |
13501       sed 's/[\\\\&|]/\\\\&/g'`;; #(
13502    *) ac_sed_conf_input=$configure_input;;
13503    esac
13504
13505    case $ac_tag in
13506    *:-:* | *:-) cat >"$ac_tmp/stdin" \
13507      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13508    esac
13509    ;;
13510  esac
13511
13512  ac_dir=`$as_dirname -- "$ac_file" ||
13513$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13514	 X"$ac_file" : 'X\(//\)[^/]' \| \
13515	 X"$ac_file" : 'X\(//\)$' \| \
13516	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13517$as_echo X"$ac_file" |
13518    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13519	    s//\1/
13520	    q
13521	  }
13522	  /^X\(\/\/\)[^/].*/{
13523	    s//\1/
13524	    q
13525	  }
13526	  /^X\(\/\/\)$/{
13527	    s//\1/
13528	    q
13529	  }
13530	  /^X\(\/\).*/{
13531	    s//\1/
13532	    q
13533	  }
13534	  s/.*/./; q'`
13535  as_dir="$ac_dir"; as_fn_mkdir_p
13536  ac_builddir=.
13537
13538case "$ac_dir" in
13539.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13540*)
13541  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13542  # A ".." for each directory in $ac_dir_suffix.
13543  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13544  case $ac_top_builddir_sub in
13545  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13546  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13547  esac ;;
13548esac
13549ac_abs_top_builddir=$ac_pwd
13550ac_abs_builddir=$ac_pwd$ac_dir_suffix
13551# for backward compatibility:
13552ac_top_builddir=$ac_top_build_prefix
13553
13554case $srcdir in
13555  .)  # We are building in place.
13556    ac_srcdir=.
13557    ac_top_srcdir=$ac_top_builddir_sub
13558    ac_abs_top_srcdir=$ac_pwd ;;
13559  [\\/]* | ?:[\\/]* )  # Absolute name.
13560    ac_srcdir=$srcdir$ac_dir_suffix;
13561    ac_top_srcdir=$srcdir
13562    ac_abs_top_srcdir=$srcdir ;;
13563  *) # Relative name.
13564    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13565    ac_top_srcdir=$ac_top_build_prefix$srcdir
13566    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13567esac
13568ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13569
13570
13571  case $ac_mode in
13572  :F)
13573  #
13574  # CONFIG_FILE
13575  #
13576
13577  case $INSTALL in
13578  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13579  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13580  esac
13581  ac_MKDIR_P=$MKDIR_P
13582  case $MKDIR_P in
13583  [\\/$]* | ?:[\\/]* ) ;;
13584  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13585  esac
13586_ACEOF
13587
13588cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13589# If the template does not know about datarootdir, expand it.
13590# FIXME: This hack should be removed a few years after 2.60.
13591ac_datarootdir_hack=; ac_datarootdir_seen=
13592ac_sed_dataroot='
13593/datarootdir/ {
13594  p
13595  q
13596}
13597/@datadir@/p
13598/@docdir@/p
13599/@infodir@/p
13600/@localedir@/p
13601/@mandir@/p'
13602case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13603*datarootdir*) ac_datarootdir_seen=yes;;
13604*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13605  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13606$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13607_ACEOF
13608cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13609  ac_datarootdir_hack='
13610  s&@datadir@&$datadir&g
13611  s&@docdir@&$docdir&g
13612  s&@infodir@&$infodir&g
13613  s&@localedir@&$localedir&g
13614  s&@mandir@&$mandir&g
13615  s&\\\${datarootdir}&$datarootdir&g' ;;
13616esac
13617_ACEOF
13618
13619# Neutralize VPATH when `$srcdir' = `.'.
13620# Shell code in configure.ac might set extrasub.
13621# FIXME: do we really want to maintain this feature?
13622cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13623ac_sed_extra="$ac_vpsub
13624$extrasub
13625_ACEOF
13626cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13627:t
13628/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13629s|@configure_input@|$ac_sed_conf_input|;t t
13630s&@top_builddir@&$ac_top_builddir_sub&;t t
13631s&@top_build_prefix@&$ac_top_build_prefix&;t t
13632s&@srcdir@&$ac_srcdir&;t t
13633s&@abs_srcdir@&$ac_abs_srcdir&;t t
13634s&@top_srcdir@&$ac_top_srcdir&;t t
13635s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13636s&@builddir@&$ac_builddir&;t t
13637s&@abs_builddir@&$ac_abs_builddir&;t t
13638s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13639s&@INSTALL@&$ac_INSTALL&;t t
13640s&@MKDIR_P@&$ac_MKDIR_P&;t t
13641$ac_datarootdir_hack
13642"
13643eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13644  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13645
13646test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13647  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13648  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
13649      "$ac_tmp/out"`; test -z "$ac_out"; } &&
13650  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13651which seems to be undefined.  Please make sure it is defined" >&5
13652$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13653which seems to be undefined.  Please make sure it is defined" >&2;}
13654
13655  rm -f "$ac_tmp/stdin"
13656  case $ac_file in
13657  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13658  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13659  esac \
13660  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13661 ;;
13662  :H)
13663  #
13664  # CONFIG_HEADER
13665  #
13666  if test x"$ac_file" != x-; then
13667    {
13668      $as_echo "/* $configure_input  */" \
13669      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13670    } >"$ac_tmp/config.h" \
13671      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13672    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13673      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13674$as_echo "$as_me: $ac_file is unchanged" >&6;}
13675    else
13676      rm -f "$ac_file"
13677      mv "$ac_tmp/config.h" "$ac_file" \
13678	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
13679    fi
13680  else
13681    $as_echo "/* $configure_input  */" \
13682      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13683      || as_fn_error $? "could not create -" "$LINENO" 5
13684  fi
13685# Compute "$ac_file"'s index in $config_headers.
13686_am_arg="$ac_file"
13687_am_stamp_count=1
13688for _am_header in $config_headers :; do
13689  case $_am_header in
13690    $_am_arg | $_am_arg:* )
13691      break ;;
13692    * )
13693      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13694  esac
13695done
13696echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13697$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13698	 X"$_am_arg" : 'X\(//\)[^/]' \| \
13699	 X"$_am_arg" : 'X\(//\)$' \| \
13700	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13701$as_echo X"$_am_arg" |
13702    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13703	    s//\1/
13704	    q
13705	  }
13706	  /^X\(\/\/\)[^/].*/{
13707	    s//\1/
13708	    q
13709	  }
13710	  /^X\(\/\/\)$/{
13711	    s//\1/
13712	    q
13713	  }
13714	  /^X\(\/\).*/{
13715	    s//\1/
13716	    q
13717	  }
13718	  s/.*/./; q'`/stamp-h$_am_stamp_count
13719 ;;
13720
13721  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13722$as_echo "$as_me: executing $ac_file commands" >&6;}
13723 ;;
13724  esac
13725
13726
13727  case $ac_file$ac_mode in
13728    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13729  # Autoconf 2.62 quotes --file arguments for eval, but not when files
13730  # are listed without --file.  Let's play safe and only enable the eval
13731  # if we detect the quoting.
13732  case $CONFIG_FILES in
13733  *\'*) eval set x "$CONFIG_FILES" ;;
13734  *)   set x $CONFIG_FILES ;;
13735  esac
13736  shift
13737  for mf
13738  do
13739    # Strip MF so we end up with the name of the file.
13740    mf=`echo "$mf" | sed -e 's/:.*$//'`
13741    # Check whether this is an Automake generated Makefile or not.
13742    # We used to match only the files named `Makefile.in', but
13743    # some people rename them; so instead we look at the file content.
13744    # Grep'ing the first line is not enough: some people post-process
13745    # each Makefile.in and add a new line on top of each file to say so.
13746    # Grep'ing the whole file is not good either: AIX grep has a line
13747    # limit of 2048, but all sed's we know have understand at least 4000.
13748    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13749      dirpart=`$as_dirname -- "$mf" ||
13750$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13751	 X"$mf" : 'X\(//\)[^/]' \| \
13752	 X"$mf" : 'X\(//\)$' \| \
13753	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13754$as_echo X"$mf" |
13755    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13756	    s//\1/
13757	    q
13758	  }
13759	  /^X\(\/\/\)[^/].*/{
13760	    s//\1/
13761	    q
13762	  }
13763	  /^X\(\/\/\)$/{
13764	    s//\1/
13765	    q
13766	  }
13767	  /^X\(\/\).*/{
13768	    s//\1/
13769	    q
13770	  }
13771	  s/.*/./; q'`
13772    else
13773      continue
13774    fi
13775    # Extract the definition of DEPDIR, am__include, and am__quote
13776    # from the Makefile without running `make'.
13777    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13778    test -z "$DEPDIR" && continue
13779    am__include=`sed -n 's/^am__include = //p' < "$mf"`
13780    test -z "am__include" && continue
13781    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13782    # When using ansi2knr, U may be empty or an underscore; expand it
13783    U=`sed -n 's/^U = //p' < "$mf"`
13784    # Find all dependency output files, they are included files with
13785    # $(DEPDIR) in their names.  We invoke sed twice because it is the
13786    # simplest approach to changing $(DEPDIR) to its actual value in the
13787    # expansion.
13788    for file in `sed -n "
13789      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13790	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13791      # Make sure the directory exists.
13792      test -f "$dirpart/$file" && continue
13793      fdir=`$as_dirname -- "$file" ||
13794$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13795	 X"$file" : 'X\(//\)[^/]' \| \
13796	 X"$file" : 'X\(//\)$' \| \
13797	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13798$as_echo X"$file" |
13799    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13800	    s//\1/
13801	    q
13802	  }
13803	  /^X\(\/\/\)[^/].*/{
13804	    s//\1/
13805	    q
13806	  }
13807	  /^X\(\/\/\)$/{
13808	    s//\1/
13809	    q
13810	  }
13811	  /^X\(\/\).*/{
13812	    s//\1/
13813	    q
13814	  }
13815	  s/.*/./; q'`
13816      as_dir=$dirpart/$fdir; as_fn_mkdir_p
13817      # echo "creating $dirpart/$file"
13818      echo '# dummy' > "$dirpart/$file"
13819    done
13820  done
13821}
13822 ;;
13823    "libtool":C)
13824
13825    # See if we are running on zsh, and set the options which allow our
13826    # commands through without removal of \ escapes.
13827    if test -n "${ZSH_VERSION+set}" ; then
13828      setopt NO_GLOB_SUBST
13829    fi
13830
13831    cfgfile="${ofile}T"
13832    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13833    $RM "$cfgfile"
13834
13835    cat <<_LT_EOF >> "$cfgfile"
13836#! $SHELL
13837
13838# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13839# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13840# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13841# NOTE: Changes made to this file will be lost: look at ltmain.sh.
13842#
13843#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13844#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
13845#                 Inc.
13846#   Written by Gordon Matzigkeit, 1996
13847#
13848#   This file is part of GNU Libtool.
13849#
13850# GNU Libtool is free software; you can redistribute it and/or
13851# modify it under the terms of the GNU General Public License as
13852# published by the Free Software Foundation; either version 2 of
13853# the License, or (at your option) any later version.
13854#
13855# As a special exception to the GNU General Public License,
13856# if you distribute this file as part of a program or library that
13857# is built using GNU Libtool, you may include this file under the
13858# same distribution terms that you use for the rest of that program.
13859#
13860# GNU Libtool is distributed in the hope that it will be useful,
13861# but WITHOUT ANY WARRANTY; without even the implied warranty of
13862# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13863# GNU General Public License for more details.
13864#
13865# You should have received a copy of the GNU General Public License
13866# along with GNU Libtool; see the file COPYING.  If not, a copy
13867# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13868# obtained by writing to the Free Software Foundation, Inc.,
13869# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13870
13871
13872# The names of the tagged configurations supported by this script.
13873available_tags=""
13874
13875# ### BEGIN LIBTOOL CONFIG
13876
13877# Which release of libtool.m4 was used?
13878macro_version=$macro_version
13879macro_revision=$macro_revision
13880
13881# Whether or not to build shared libraries.
13882build_libtool_libs=$enable_shared
13883
13884# Whether or not to build static libraries.
13885build_old_libs=$enable_static
13886
13887# What type of objects to build.
13888pic_mode=$pic_mode
13889
13890# Whether or not to optimize for fast installation.
13891fast_install=$enable_fast_install
13892
13893# Shell to use when invoking shell scripts.
13894SHELL=$lt_SHELL
13895
13896# An echo program that protects backslashes.
13897ECHO=$lt_ECHO
13898
13899# The host system.
13900host_alias=$host_alias
13901host=$host
13902host_os=$host_os
13903
13904# The build system.
13905build_alias=$build_alias
13906build=$build
13907build_os=$build_os
13908
13909# A sed program that does not truncate output.
13910SED=$lt_SED
13911
13912# Sed that helps us avoid accidentally triggering echo(1) options like -n.
13913Xsed="\$SED -e 1s/^X//"
13914
13915# A grep program that handles long lines.
13916GREP=$lt_GREP
13917
13918# An ERE matcher.
13919EGREP=$lt_EGREP
13920
13921# A literal string matcher.
13922FGREP=$lt_FGREP
13923
13924# A BSD- or MS-compatible name lister.
13925NM=$lt_NM
13926
13927# Whether we need soft or hard links.
13928LN_S=$lt_LN_S
13929
13930# What is the maximum length of a command?
13931max_cmd_len=$max_cmd_len
13932
13933# Object file suffix (normally "o").
13934objext=$ac_objext
13935
13936# Executable file suffix (normally "").
13937exeext=$exeext
13938
13939# whether the shell understands "unset".
13940lt_unset=$lt_unset
13941
13942# turn spaces into newlines.
13943SP2NL=$lt_lt_SP2NL
13944
13945# turn newlines into spaces.
13946NL2SP=$lt_lt_NL2SP
13947
13948# An object symbol dumper.
13949OBJDUMP=$lt_OBJDUMP
13950
13951# Method to check whether dependent libraries are shared objects.
13952deplibs_check_method=$lt_deplibs_check_method
13953
13954# Command to use when deplibs_check_method == "file_magic".
13955file_magic_cmd=$lt_file_magic_cmd
13956
13957# The archiver.
13958AR=$lt_AR
13959AR_FLAGS=$lt_AR_FLAGS
13960
13961# A symbol stripping program.
13962STRIP=$lt_STRIP
13963
13964# Commands used to install an old-style archive.
13965RANLIB=$lt_RANLIB
13966old_postinstall_cmds=$lt_old_postinstall_cmds
13967old_postuninstall_cmds=$lt_old_postuninstall_cmds
13968
13969# Whether to use a lock for old archive extraction.
13970lock_old_archive_extraction=$lock_old_archive_extraction
13971
13972# A C compiler.
13973LTCC=$lt_CC
13974
13975# LTCC compiler flags.
13976LTCFLAGS=$lt_CFLAGS
13977
13978# Take the output of nm and produce a listing of raw symbols and C names.
13979global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13980
13981# Transform the output of nm in a proper C declaration.
13982global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13983
13984# Transform the output of nm in a C name address pair.
13985global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13986
13987# Transform the output of nm in a C name address pair when lib prefix is needed.
13988global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13989
13990# The name of the directory that contains temporary libtool files.
13991objdir=$objdir
13992
13993# Used to examine libraries when file_magic_cmd begins with "file".
13994MAGIC_CMD=$MAGIC_CMD
13995
13996# Must we lock files when doing compilation?
13997need_locks=$lt_need_locks
13998
13999# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14000DSYMUTIL=$lt_DSYMUTIL
14001
14002# Tool to change global to local symbols on Mac OS X.
14003NMEDIT=$lt_NMEDIT
14004
14005# Tool to manipulate fat objects and archives on Mac OS X.
14006LIPO=$lt_LIPO
14007
14008# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14009OTOOL=$lt_OTOOL
14010
14011# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14012OTOOL64=$lt_OTOOL64
14013
14014# Old archive suffix (normally "a").
14015libext=$libext
14016
14017# Shared library suffix (normally ".so").
14018shrext_cmds=$lt_shrext_cmds
14019
14020# The commands to extract the exported symbol list from a shared archive.
14021extract_expsyms_cmds=$lt_extract_expsyms_cmds
14022
14023# Variables whose values should be saved in libtool wrapper scripts and
14024# restored at link time.
14025variables_saved_for_relink=$lt_variables_saved_for_relink
14026
14027# Do we need the "lib" prefix for modules?
14028need_lib_prefix=$need_lib_prefix
14029
14030# Do we need a version for libraries?
14031need_version=$need_version
14032
14033# Library versioning type.
14034version_type=$version_type
14035
14036# Shared library runtime path variable.
14037runpath_var=$runpath_var
14038
14039# Shared library path variable.
14040shlibpath_var=$shlibpath_var
14041
14042# Is shlibpath searched before the hard-coded library search path?
14043shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14044
14045# Format of library name prefix.
14046libname_spec=$lt_libname_spec
14047
14048# List of archive names.  First name is the real one, the rest are links.
14049# The last name is the one that the linker finds with -lNAME
14050library_names_spec=$lt_library_names_spec
14051
14052# The coded name of the library, if different from the real name.
14053soname_spec=$lt_soname_spec
14054
14055# Permission mode override for installation of shared libraries.
14056install_override_mode=$lt_install_override_mode
14057
14058# Command to use after installation of a shared archive.
14059postinstall_cmds=$lt_postinstall_cmds
14060
14061# Command to use after uninstallation of a shared archive.
14062postuninstall_cmds=$lt_postuninstall_cmds
14063
14064# Commands used to finish a libtool library installation in a directory.
14065finish_cmds=$lt_finish_cmds
14066
14067# As "finish_cmds", except a single script fragment to be evaled but
14068# not shown.
14069finish_eval=$lt_finish_eval
14070
14071# Whether we should hardcode library paths into libraries.
14072hardcode_into_libs=$hardcode_into_libs
14073
14074# Compile-time system search path for libraries.
14075sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14076
14077# Run-time system search path for libraries.
14078sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14079
14080# Whether dlopen is supported.
14081dlopen_support=$enable_dlopen
14082
14083# Whether dlopen of programs is supported.
14084dlopen_self=$enable_dlopen_self
14085
14086# Whether dlopen of statically linked programs is supported.
14087dlopen_self_static=$enable_dlopen_self_static
14088
14089# Commands to strip libraries.
14090old_striplib=$lt_old_striplib
14091striplib=$lt_striplib
14092
14093
14094# The linker used to build libraries.
14095LD=$lt_LD
14096
14097# How to create reloadable object files.
14098reload_flag=$lt_reload_flag
14099reload_cmds=$lt_reload_cmds
14100
14101# Commands used to build an old-style archive.
14102old_archive_cmds=$lt_old_archive_cmds
14103
14104# A language specific compiler.
14105CC=$lt_compiler
14106
14107# Is the compiler the GNU compiler?
14108with_gcc=$GCC
14109
14110# Compiler flag to turn off builtin functions.
14111no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14112
14113# How to pass a linker flag through the compiler.
14114wl=$lt_lt_prog_compiler_wl
14115
14116# Additional compiler flags for building library objects.
14117pic_flag=$lt_lt_prog_compiler_pic
14118
14119# Compiler flag to prevent dynamic linking.
14120link_static_flag=$lt_lt_prog_compiler_static
14121
14122# Does compiler simultaneously support -c and -o options?
14123compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14124
14125# Whether or not to add -lc for building shared libraries.
14126build_libtool_need_lc=$archive_cmds_need_lc
14127
14128# Whether or not to disallow shared libs when runtime libs are static.
14129allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14130
14131# Compiler flag to allow reflexive dlopens.
14132export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14133
14134# Compiler flag to generate shared objects directly from archives.
14135whole_archive_flag_spec=$lt_whole_archive_flag_spec
14136
14137# Whether the compiler copes with passing no objects directly.
14138compiler_needs_object=$lt_compiler_needs_object
14139
14140# Create an old-style archive from a shared archive.
14141old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14142
14143# Create a temporary old-style archive to link instead of a shared archive.
14144old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14145
14146# Commands used to build a shared archive.
14147archive_cmds=$lt_archive_cmds
14148archive_expsym_cmds=$lt_archive_expsym_cmds
14149
14150# Commands used to build a loadable module if different from building
14151# a shared archive.
14152module_cmds=$lt_module_cmds
14153module_expsym_cmds=$lt_module_expsym_cmds
14154
14155# Whether we are building with GNU ld or not.
14156with_gnu_ld=$lt_with_gnu_ld
14157
14158# Flag that allows shared libraries with undefined symbols to be built.
14159allow_undefined_flag=$lt_allow_undefined_flag
14160
14161# Flag that enforces no undefined symbols.
14162no_undefined_flag=$lt_no_undefined_flag
14163
14164# Flag to hardcode \$libdir into a binary during linking.
14165# This must work even if \$libdir does not exist
14166hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14167
14168# If ld is used when linking, flag to hardcode \$libdir into a binary
14169# during linking.  This must work even if \$libdir does not exist.
14170hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14171
14172# Whether we need a single "-rpath" flag with a separated argument.
14173hardcode_libdir_separator=$lt_hardcode_libdir_separator
14174
14175# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14176# DIR into the resulting binary.
14177hardcode_direct=$hardcode_direct
14178
14179# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14180# DIR into the resulting binary and the resulting library dependency is
14181# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14182# library is relocated.
14183hardcode_direct_absolute=$hardcode_direct_absolute
14184
14185# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14186# into the resulting binary.
14187hardcode_minus_L=$hardcode_minus_L
14188
14189# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14190# into the resulting binary.
14191hardcode_shlibpath_var=$hardcode_shlibpath_var
14192
14193# Set to "yes" if building a shared library automatically hardcodes DIR
14194# into the library and all subsequent libraries and executables linked
14195# against it.
14196hardcode_automatic=$hardcode_automatic
14197
14198# Set to yes if linker adds runtime paths of dependent libraries
14199# to runtime path list.
14200inherit_rpath=$inherit_rpath
14201
14202# Whether libtool must link a program against all its dependency libraries.
14203link_all_deplibs=$link_all_deplibs
14204
14205# Fix the shell variable \$srcfile for the compiler.
14206fix_srcfile_path=$lt_fix_srcfile_path
14207
14208# Set to "yes" if exported symbols are required.
14209always_export_symbols=$always_export_symbols
14210
14211# The commands to list exported symbols.
14212export_symbols_cmds=$lt_export_symbols_cmds
14213
14214# Symbols that should not be listed in the preloaded symbols.
14215exclude_expsyms=$lt_exclude_expsyms
14216
14217# Symbols that must always be exported.
14218include_expsyms=$lt_include_expsyms
14219
14220# Commands necessary for linking programs (against libraries) with templates.
14221prelink_cmds=$lt_prelink_cmds
14222
14223# Specify filename containing input files.
14224file_list_spec=$lt_file_list_spec
14225
14226# How to hardcode a shared library path into an executable.
14227hardcode_action=$hardcode_action
14228
14229# ### END LIBTOOL CONFIG
14230
14231_LT_EOF
14232
14233  case $host_os in
14234  aix3*)
14235    cat <<\_LT_EOF >> "$cfgfile"
14236# AIX sometimes has problems with the GCC collect2 program.  For some
14237# reason, if we set the COLLECT_NAMES environment variable, the problems
14238# vanish in a puff of smoke.
14239if test "X${COLLECT_NAMES+set}" != Xset; then
14240  COLLECT_NAMES=
14241  export COLLECT_NAMES
14242fi
14243_LT_EOF
14244    ;;
14245  esac
14246
14247
14248ltmain="$ac_aux_dir/ltmain.sh"
14249
14250
14251  # We use sed instead of cat because bash on DJGPP gets confused if
14252  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14253  # text mode, it properly converts lines to CR/LF.  This bash problem
14254  # is reportedly fixed, but why not run on old versions too?
14255  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14256    || (rm -f "$cfgfile"; exit 1)
14257
14258  case $xsi_shell in
14259  yes)
14260    cat << \_LT_EOF >> "$cfgfile"
14261
14262# func_dirname file append nondir_replacement
14263# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14264# otherwise set result to NONDIR_REPLACEMENT.
14265func_dirname ()
14266{
14267  case ${1} in
14268    */*) func_dirname_result="${1%/*}${2}" ;;
14269    *  ) func_dirname_result="${3}" ;;
14270  esac
14271}
14272
14273# func_basename file
14274func_basename ()
14275{
14276  func_basename_result="${1##*/}"
14277}
14278
14279# func_dirname_and_basename file append nondir_replacement
14280# perform func_basename and func_dirname in a single function
14281# call:
14282#   dirname:  Compute the dirname of FILE.  If nonempty,
14283#             add APPEND to the result, otherwise set result
14284#             to NONDIR_REPLACEMENT.
14285#             value returned in "$func_dirname_result"
14286#   basename: Compute filename of FILE.
14287#             value retuned in "$func_basename_result"
14288# Implementation must be kept synchronized with func_dirname
14289# and func_basename. For efficiency, we do not delegate to
14290# those functions but instead duplicate the functionality here.
14291func_dirname_and_basename ()
14292{
14293  case ${1} in
14294    */*) func_dirname_result="${1%/*}${2}" ;;
14295    *  ) func_dirname_result="${3}" ;;
14296  esac
14297  func_basename_result="${1##*/}"
14298}
14299
14300# func_stripname prefix suffix name
14301# strip PREFIX and SUFFIX off of NAME.
14302# PREFIX and SUFFIX must not contain globbing or regex special
14303# characters, hashes, percent signs, but SUFFIX may contain a leading
14304# dot (in which case that matches only a dot).
14305func_stripname ()
14306{
14307  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14308  # positional parameters, so assign one to ordinary parameter first.
14309  func_stripname_result=${3}
14310  func_stripname_result=${func_stripname_result#"${1}"}
14311  func_stripname_result=${func_stripname_result%"${2}"}
14312}
14313
14314# func_opt_split
14315func_opt_split ()
14316{
14317  func_opt_split_opt=${1%%=*}
14318  func_opt_split_arg=${1#*=}
14319}
14320
14321# func_lo2o object
14322func_lo2o ()
14323{
14324  case ${1} in
14325    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14326    *)    func_lo2o_result=${1} ;;
14327  esac
14328}
14329
14330# func_xform libobj-or-source
14331func_xform ()
14332{
14333  func_xform_result=${1%.*}.lo
14334}
14335
14336# func_arith arithmetic-term...
14337func_arith ()
14338{
14339  func_arith_result=$(( $* ))
14340}
14341
14342# func_len string
14343# STRING may not start with a hyphen.
14344func_len ()
14345{
14346  func_len_result=${#1}
14347}
14348
14349_LT_EOF
14350    ;;
14351  *) # Bourne compatible functions.
14352    cat << \_LT_EOF >> "$cfgfile"
14353
14354# func_dirname file append nondir_replacement
14355# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14356# otherwise set result to NONDIR_REPLACEMENT.
14357func_dirname ()
14358{
14359  # Extract subdirectory from the argument.
14360  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
14361  if test "X$func_dirname_result" = "X${1}"; then
14362    func_dirname_result="${3}"
14363  else
14364    func_dirname_result="$func_dirname_result${2}"
14365  fi
14366}
14367
14368# func_basename file
14369func_basename ()
14370{
14371  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
14372}
14373
14374
14375# func_stripname prefix suffix name
14376# strip PREFIX and SUFFIX off of NAME.
14377# PREFIX and SUFFIX must not contain globbing or regex special
14378# characters, hashes, percent signs, but SUFFIX may contain a leading
14379# dot (in which case that matches only a dot).
14380# func_strip_suffix prefix name
14381func_stripname ()
14382{
14383  case ${2} in
14384    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14385    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14386  esac
14387}
14388
14389# sed scripts:
14390my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14391my_sed_long_arg='1s/^-[^=]*=//'
14392
14393# func_opt_split
14394func_opt_split ()
14395{
14396  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14397  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14398}
14399
14400# func_lo2o object
14401func_lo2o ()
14402{
14403  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
14404}
14405
14406# func_xform libobj-or-source
14407func_xform ()
14408{
14409  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14410}
14411
14412# func_arith arithmetic-term...
14413func_arith ()
14414{
14415  func_arith_result=`expr "$@"`
14416}
14417
14418# func_len string
14419# STRING may not start with a hyphen.
14420func_len ()
14421{
14422  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14423}
14424
14425_LT_EOF
14426esac
14427
14428case $lt_shell_append in
14429  yes)
14430    cat << \_LT_EOF >> "$cfgfile"
14431
14432# func_append var value
14433# Append VALUE to the end of shell variable VAR.
14434func_append ()
14435{
14436  eval "$1+=\$2"
14437}
14438_LT_EOF
14439    ;;
14440  *)
14441    cat << \_LT_EOF >> "$cfgfile"
14442
14443# func_append var value
14444# Append VALUE to the end of shell variable VAR.
14445func_append ()
14446{
14447  eval "$1=\$$1\$2"
14448}
14449
14450_LT_EOF
14451    ;;
14452  esac
14453
14454
14455  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14456    || (rm -f "$cfgfile"; exit 1)
14457
14458  mv -f "$cfgfile" "$ofile" ||
14459    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14460  chmod +x "$ofile"
14461
14462 ;;
14463
14464  esac
14465done # for ac_tag
14466
14467
14468as_fn_exit 0
14469_ACEOF
14470ac_clean_files=$ac_clean_files_save
14471
14472test $ac_write_fail = 0 ||
14473  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14474
14475
14476# configure is writing to config.log, and then calls config.status.
14477# config.status does its own redirection, appending to config.log.
14478# Unfortunately, on DOS this fails, as config.log is still kept open
14479# by configure, so config.status won't be able to write to it; its
14480# output is simply discarded.  So we exec the FD to /dev/null,
14481# effectively closing config.log, so it can be properly (re)opened and
14482# appended to by config.status.  When coming back to configure, we
14483# need to make the FD available again.
14484if test "$no_create" != yes; then
14485  ac_cs_success=:
14486  ac_config_status_args=
14487  test "$silent" = yes &&
14488    ac_config_status_args="$ac_config_status_args --quiet"
14489  exec 5>/dev/null
14490  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14491  exec 5>>config.log
14492  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14493  # would make configure fail if this is the last instruction.
14494  $ac_cs_success || as_fn_exit 1
14495fi
14496if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14497  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14498$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14499fi
14500
14501